/* =============================================
   ПЕРЕМЕННЫЕ — скандинавская палитра
   ============================================= */
:root {
  --bg:           #FAFAF7;
  --bg-linen:     #F0EBE0;
  --dark:         #1E1B17;
  --dark-2:       #2C2822;
  --accent:       #9B7A55;
  --accent-hover: #7D6244;
  --accent-light: #E8DDD0;
  --white:        #FFFFFF;
  --text:         #1E1B17;
  --text-muted:   #8A8278;
  --border:       #DDD8CF;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.05);
  --shadow-md:    0 4px 18px rgba(0,0,0,0.08);
  --shadow-lg:    0 10px 36px rgba(0,0,0,0.10);
  --radius:       4px;
  --radius-lg:    8px;
  --transition:   0.3s ease;
  --max-w:        1220px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
#map { padding: 0; height: 400px; overflow: hidden; display: block; }
.section-linen { background: var(--bg-linen); }
.section-cream { background: var(--bg-linen); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-title { font-size: clamp(30px, 4vw, 46px); color: var(--dark); margin-bottom: 16px; font-weight: 500; }
.section-desc { font-size: 15px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.75; }
.accent { color: var(--accent); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.3px; transition: var(--transition);
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(155,122,85,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-muted); border: none; padding: 10px 16px; font-size: 13px; }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 12px; letter-spacing: 0.5px; }
.btn-full { width: 100%; }

/* =============================================
   FORMS
   ============================================= */
.form { display: flex; flex-direction: column; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; transition: var(--transition);
  background: var(--white); color: var(--text); outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form-note { font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.6; }
.form-error { font-size: 13px; color: #c0392b; text-align: center; padding: 10px; background: #fdf0ef; border-radius: var(--radius); }

/* =============================================
   АНИМАЦИИ
   ============================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(30,27,23,0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; flex-direction: column; }
.logo-main { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; color: var(--white); letter-spacing: 0.5px; }
.logo-sub { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 1px; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { font-size: 13px; font-weight: 400; letter-spacing: 0.3px; color: rgba(255,255,255,0.65); transition: var(--transition); }
.nav a:hover { color: rgba(255,255,255,0.95); }
.nav-link-kitchen {
  color: var(--accent) !important;
  border: 1px solid rgba(155,122,85,0.35);
  border-radius: var(--radius);
  padding: 5px 12px;
}
.nav-link-kitchen:hover { background: rgba(155,122,85,0.15); color: var(--accent) !important; }
.header-contacts { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.header-cta { font-size: 12px !important; padding: 9px 18px !important; letter-spacing: 0.5px; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,0.8); transition: var(--transition); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* =============================================
   HERO
   ============================================= */
#hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 100px 0 80px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,17,13,0.88) 0%, rgba(30,27,23,0.65) 60%, rgba(30,27,23,0.3) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; }
.hero-label {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.hero-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); }
.hero-title { font-size: clamp(38px, 5.5vw, 68px); color: var(--white); margin-bottom: 20px; font-weight: 400; line-height: 1.1; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 1.75; max-width: 480px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-badges { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); }
.badge { display: flex; flex-direction: column; gap: 2px; }
.badge-num { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--white); line-height: 1; }
.badge-text { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }
.badge-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Hero Form */
.hero-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-lg);
}
.hero-form-header { margin-bottom: 24px; }
.hero-form-gift {
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light); border-radius: var(--radius);
  padding: 8px 12px; margin-bottom: 14px; display: inline-block;
}
.hero-form-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; color: var(--dark); line-height: 1.25; }

/* =============================================
   OFFER BANNER
   ============================================= */
#offer { background: var(--dark-2); padding: 44px 0; }
.offer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.offer-text { display: flex; align-items: center; gap: 24px; }
.offer-fire { font-size: 40px; }
.offer-caption { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.offer-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(18px, 2.5vw, 26px); color: var(--white); font-weight: 400; line-height: 1.3; }
.offer-title em { color: var(--accent); font-style: normal; }
.offer-timer { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.timer-caption { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.timer { display: flex; align-items: center; gap: 6px; }
.timer-block { display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 10px 18px; min-width: 66px; }
.timer-block span { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; color: var(--white); line-height: 1; }
.timer-block small { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 3px; letter-spacing: 1px; }
.timer-colon { font-size: 22px; font-weight: 300; color: rgba(255,255,255,0.3); margin-bottom: 14px; }

/* =============================================
   STATS
   ============================================= */
#stats { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 500; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { display: block; font-size: 14px; font-weight: 500; color: var(--dark); margin-bottom: 4px; }
.stat-desc { display: block; font-size: 12px; color: var(--text-muted); }

/* =============================================
   CATALOG
   ============================================= */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.catalog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.catalog-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-img { height: 210px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.catalog-card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.card-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.55; }
.catalog-cta { text-align: center; padding: 40px 32px; background: var(--white); border-radius: var(--radius-lg); border: 1px dashed var(--border); }
.catalog-cta p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }

/* =============================================
   ADVANTAGES
   ============================================= */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.adv-card { padding: 40px 32px; background: var(--white); transition: var(--transition); }
.adv-card:hover { background: var(--bg-linen); }
.adv-icon { font-size: 28px; margin-bottom: 18px; opacity: 0.85; }
.adv-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 500; margin-bottom: 10px; color: var(--dark); }
.adv-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps { display: flex; align-items: stretch; gap: 0; margin-bottom: 48px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.step { flex: 1; padding: 48px 36px; background: var(--white); border-right: 1px solid var(--border); }
.step:last-child { border-right: none; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 20px; opacity: 0.6; }
.step-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.step-body a { color: var(--accent); }
.step-arrow { display: none; }
.steps-cta { text-align: center; }

/* =============================================
   PORTFOLIO — единый размер
   ============================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
  background: var(--bg-linen);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(30,27,23,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  color: var(--white); font-size: 12px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.6); padding-bottom: 3px;
}

/* =============================================
   CALCULATOR
   ============================================= */
.calc-wrap { max-width: 680px; margin: 0 auto; }
.calc-steps-nav {
  display: flex; gap: 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; margin-bottom: 28px;
}
.calc-step-nav {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border-radius: 4px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); transition: var(--transition); cursor: default;
}
.calc-step-nav span {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-linen); display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.calc-step-nav.active { background: var(--dark); color: var(--white); }
.calc-step-nav.active span { background: rgba(255,255,255,0.15); }
.calc-step-nav.done { color: var(--accent); }
.calc-step-nav.done span { background: var(--accent-light); color: var(--accent); }
.calc-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.calc-step { display: none; }
.calc-step.active { display: block; }
.calc-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; color: var(--dark); margin-bottom: 28px; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.type-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: var(--transition);
}
.type-card:hover { border-color: var(--accent); background: var(--accent-light); }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card.selected { border-color: var(--accent); background: var(--accent-light); }
.type-icon { font-size: 26px; }
.type-card span:last-child { font-size: 13px; font-weight: 500; color: var(--text); text-align: center; }
.calc-nav-btns { display: flex; justify-content: space-between; align-items: center; }
.calc-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.calc-fields input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; outline: none; transition: var(--transition);
  background: var(--bg); color: var(--text);
}
.calc-fields input:focus { border-color: var(--accent); }
.calc-gift-note {
  background: var(--accent-light); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 13px 16px;
  font-size: 13px; font-weight: 500; color: var(--accent);
}

/* =============================================
   REVIEWS — 4 колонки, статичная сетка
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 24px; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  transition: var(--transition);
}
.review-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.review-stars { font-size: 14px; color: var(--accent); letter-spacing: 3px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.75; flex: 1; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: var(--accent); flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
}
.review-author div { display: flex; flex-direction: column; gap: 1px; }
.review-author strong { font-size: 14px; font-weight: 600; color: var(--dark); }
.review-author span { font-size: 12px; color: var(--text-muted); }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--white); }
.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: var(--bg); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px; font-size: 15px; font-weight: 500; color: var(--dark);
  text-align: left; transition: var(--transition); background: transparent;
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-icon { font-size: 18px; font-weight: 300; transition: transform var(--transition); flex-shrink: 0; color: var(--text-muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 28px 22px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* =============================================
   CONTACT
   ============================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info h2 { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 400; color: var(--dark); line-height: 1.15; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { font-size: 20px; opacity: 0.7; }
.contact-item p { font-size: 12px; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; }
.contact-link { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; color: var(--dark); transition: var(--transition); }
.contact-link:hover { color: var(--accent); }
.contact-item strong { font-size: 16px; font-weight: 500; color: var(--dark); }
.contact-advantages { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.contact-adv { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.contact-adv::before { content: ''; display: block; width: 18px; height: 1px; background: var(--accent); flex-shrink: 0; }
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.contact-form-wrap h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; color: var(--dark); margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

/* =============================================
   FOOTER
   ============================================= */
#footer { background: var(--dark); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 14px; line-height: 1.75; max-width: 260px; }
.footer-nav, .footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-nav h4, .footer-contacts h4 { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 6px; }
.footer-nav a, .footer-contacts a { font-size: 13px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--white); }
.footer-contacts p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); text-align: center; }

/* =============================================
   FLOATING MESSENGERS
   ============================================= */
.messengers-wrap {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.msg-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
  transition: var(--transition);
}
.msg-btn svg { width: 26px; height: 26px; }
.msg-wa  { background: #25D366; box-shadow: 0 4px 14px rgba(37,211,102,0.45); }
.msg-wa:hover  { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }
.msg-tg  { background: #2AABEE; box-shadow: 0 4px 14px rgba(42,171,238,0.45); }
.msg-tg:hover  { transform: scale(1.08); box-shadow: 0 6px 24px rgba(42,171,238,0.6); }
.msg-max { background: #0077FF; box-shadow: 0 4px 14px rgba(0,119,255,0.45); }
.msg-max:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,119,255,0.6); }
/* scroll-top над стопкой (2×52 + 1×10 + 28 = 142px) */
.scroll-top {
  position: fixed; bottom: 150px; right: 28px; z-index: 900;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(30,27,23,0.88); color: rgba(255,255,255,0.8);
  font-size: 16px; border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); transition: var(--transition);
  opacity: 0; pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20,17,13,0.8); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); padding: 52px 44px;
  max-width: 460px; width: 100%; text-align: center; position: relative;
  transform: scale(0.94); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 18px; color: var(--text-muted); padding: 4px 8px; border-radius: 4px; }
.modal-close:hover { color: var(--text); }
.modal-icon { font-size: 48px; margin-bottom: 20px; }
.modal-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; margin-bottom: 12px; }
.modal-box p { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.6; }
.modal-gift { color: var(--accent) !important; font-weight: 600; font-size: 13px !important; margin-bottom: 28px !important; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(15,13,10,0.96);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox-img { max-height: 86vh; max-width: 88vw; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: rgba(255,255,255,0.7); font-size: 24px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); transition: var(--transition); }
.lightbox-close:hover { background: var(--accent); color: var(--white); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.7); font-size: 24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.08); transition: var(--transition); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); color: var(--white); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .hero-inner { grid-template-columns: 1fr 360px; gap: 40px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 20px 24px; gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 15px; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form { display: none; }
  .hero-content { text-align: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .steps { flex-direction: column; border: none; gap: 2px; }
  .step { border-right: none; border-bottom: 1px solid var(--border); border-radius: 0; }
  .step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .step:last-child { border-bottom: none; border-radius: 0 0 var(--radius) var(--radius); }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  #map { padding: 0; height: 400px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-inner { flex-direction: column; text-align: center; }
  .offer-text { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Убираем декоративную линию — некрасива при центровании */
  .hero-label::before { display: none; }
  .hero-label { justify-content: center; }
  /* Скрываем <br> в hero-sub */
  .hero-sub br { display: none; }
  /* Сепараторы между бейджами ломают перенос */
  .badge-sep { display: none; }
  .hero-badges { gap: 20px 24px; }
  /* Длинные кнопки на всю ширину с переносом */
  .steps-cta .btn,
  .catalog-cta .btn { width: 100%; justify-content: center; white-space: normal; line-height: 1.4; }
  /* Таймер: уменьшаем блоки чтобы влезло в 320px */
  .timer { gap: 3px; }
  .timer-block { min-width: 0; padding: 8px 10px; }
  .timer-block span { font-size: 22px; }
  .timer-block small { font-size: 9px; letter-spacing: 0; }
  .timer-colon { font-size: 18px; }
  .calc-form { padding: 24px 20px; }
  .contact-form-wrap { padding: 28px 24px; }
  /* Заголовок контактов */
  .contact-info h2 { font-size: 28px; }
  /* Уменьшаем верхний отступ hero на мобильном */
  #hero { padding: 88px 0 56px; }
  /* Плавающие кнопки ближе к краю */
  .messengers-wrap { bottom: 16px; right: 16px; gap: 8px; }
  .msg-btn { width: 46px; height: 46px; }
  .msg-btn svg { width: 22px; height: 22px; }
  /* 2×46 + 1×8 + 16 = 116px → scroll-top выше */
  .scroll-top { bottom: 124px; right: 16px; width: 38px; height: 38px; }
}

/* =============================================
   ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (<400px)
   ============================================= */
@media (max-width: 479px) {
  /* Убираем CTA-кнопку из шапки — Logo + btn + burger не влезают в 360–479px */
  .header-cta { display: none; }
  /* Чуть меньше заголовок hero */
  .hero-title { font-size: 34px; }
  /* Каталог и калькулятор — плотнее */
  .catalog-grid { gap: 12px; }
  .card-img { height: 170px; }
  .calc-steps-nav { font-size: 12px; gap: 2px; }
  .calc-step-nav { padding: 9px 6px; font-size: 12px; gap: 6px; }
  .calc-step-nav span { width: 20px; height: 20px; font-size: 11px; }
  .type-grid { gap: 8px; }
  .type-card { padding: 14px 8px; }
  .type-icon { font-size: 22px; }
  /* FAQ */
  .faq-q { padding: 16px 20px; font-size: 14px; }
  .faq-a p { padding: 0 20px 18px; }
  /* Footer */
  .logo-main { font-size: 18px; }
}
