@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f6f4;
  --surface: #ffffff;
  --tint: #e9eeea;
  --ink: #15201b;
  --muted: #56625c;
  --line: rgb(21 32 27 / .1);
  --forest: #1d3a2e;
  --forest-2: #274b3c;
  --accent: #f0a431;
  --accent-hover: #e08f14;
  --accent-ink: #1f1604;
  --wa: #1fae5b;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgb(29 58 46 / .28);
  --shadow-sm: 0 6px 20px -10px rgb(29 58 46 / .25);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar { background: var(--forest); color: rgb(255 255 255 / .85); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__info i { color: var(--accent); font-size: 16px; }
.topbar__social { display: flex; gap: 14px; font-size: 18px; }
.topbar__social a { transition: color .3s var(--ease); }
.topbar__social a:hover { color: var(--accent); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--forest); color: var(--accent);
  font-weight: 800; font-size: 22px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.logo__text small { font-size: 12px; color: var(--muted); }
.logo--light .logo__text small { color: rgb(255 255 255 / .6); }
.logo--light .logo__mark { background: var(--accent); color: var(--forest); }

.nav { display: flex; gap: 22px; margin-right: auto; font-size: 15px; font-weight: 600; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header__contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header__phone { font-weight: 800; font-size: 18px; white-space: nowrap; }
.link-btn { font-size: 13px; color: var(--forest-2); font-weight: 600; border-bottom: 1px dashed currentColor; padding: 0; }
.link-btn:hover { color: var(--accent-hover); }

.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: var(--radius-sm); background: var(--tint); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn i { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px rgb(224 143 20 / .8); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--accent:disabled { background: #e3e6e4; color: #8a948f; box-shadow: none; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn--ghost:disabled { opacity: .4; cursor: not-allowed; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17964d; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--tint); color: var(--forest-2);
  font-size: 13px; font-weight: 700; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hl { color: var(--forest-2); position: relative; white-space: nowrap; }
.hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em;
  background: var(--accent); opacity: .55; z-index: -1; border-radius: 4px;
}
.hero__lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; left: -28px; bottom: 32px;
  display: flex; gap: 12px; align-items: center;
  background: var(--surface); padding: 14px 20px 14px 14px; border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: float 6s var(--ease) infinite;
}
.hero__badge i { font-size: 34px; color: #e3342f; }
.hero__badge b { display: block; font-size: 16px; }
.hero__badge span { font-size: 13px; color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Advantages */
.advantages { padding-bottom: 24px; }
.advantages__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.adv { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.adv + .adv { border-left: 1px solid var(--line); }
.adv i { font-size: 34px; color: var(--forest-2); flex-shrink: 0; }
.adv b { display: block; font-size: 16px; }
.adv span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Catalog */
.catalog {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 250px);
  grid-template-areas:
    "xl xl tall a"
    "xl xl tall b"
    "c d e f";
}
.cat { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--forest); isolation: isolate; }
.cat:nth-child(1) { grid-area: xl; }
.cat:nth-child(2) { grid-area: tall; }
.cat:nth-child(3) { grid-area: a; }
.cat:nth-child(4) { grid-area: b; }
.cat:nth-child(5) { grid-area: c; }
.cat:nth-child(6) { grid-area: d; }
.cat:nth-child(7) { grid-area: e; }
.cat:nth-child(8) { grid-area: f; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 26 21 / 0) 35%, rgb(15 26 21 / .82) 100%); }
.cat:hover img { transform: scale(1.06); }
.cat__body { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.cat__body p { font-size: 14px; opacity: .85; margin-top: 4px; }
.cat--xl h3 { font-size: 1.9rem; }
.cat--xl .cat__body { left: 32px; bottom: 30px; }
.cat__tag { display: inline-block; background: #e3342f; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.cat__price {
  display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px;
  transition: transform .4s var(--ease);
}
.cat__price small { font-weight: 600; opacity: .75; }
.cat:hover .cat__price { transform: translateX(4px); }

/* Promo */
.promo { background: var(--forest); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.promo::before {
  content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgb(240 164 49 / .18), transparent 65%);
  pointer-events: none;
}
.promo__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; position: relative; }
.promo__sale {
  display: inline-block; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--accent); margin-bottom: 14px;
}
.promo h2 { max-width: 16ch; }
.promo__text > p { margin-top: 16px; color: rgb(255 255 255 / .75); font-size: 17px; max-width: 50ch; }
.timer { display: flex; gap: 12px; margin-top: 30px; }
.timer div {
  min-width: 82px; padding: 14px 10px; text-align: center; border-radius: var(--radius-sm);
  background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
}
.timer b { display: block; font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.timer span { font-size: 12px; color: rgb(255 255 255 / .6); }

.promo__form { background: var(--surface); color: var(--ink); padding: 32px; border-radius: 20px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); }
.promo__form h3 { font-size: 1.4rem; margin-bottom: 20px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 14px; font-weight: 600; color: #37433d; }
.field input {
  width: 100%; height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid #c9d1cc; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input::placeholder { color: #75807a; }
.field input:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 4px rgb(39 75 60 / .15); }
.field__error { display: none; color: #c0261f; font-size: 13px; padding-left: 20px; }
.field.is-invalid input { border-color: #c0261f; }
.field.is-invalid .field__error { display: block; }
.form__note { font-size: 12px; color: #6b7570; margin-top: 12px; text-align: center; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Quiz */
.quiz { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.quiz__side { position: relative; min-height: 100%; }
.quiz__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quiz__gift {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; gap: 14px; align-items: center;
  background: var(--surface); padding: 16px 18px; border-radius: var(--radius);
}
.quiz__gift i { font-size: 36px; color: var(--accent-hover); }
.quiz__gift b { display: block; }
.quiz__gift span { font-size: 14px; color: var(--muted); }
.quiz__main { padding: 48px; }
.quiz__lead { color: var(--muted); margin-top: 10px; }
.quiz__progress { height: 6px; background: var(--tint); border-radius: 999px; margin-top: 28px; overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: 999px; transition: width .6s var(--ease); }
.quiz__count { font-size: 14px; color: var(--muted); margin: 10px 0 22px; }
.quiz__step { display: none; border: 0; padding: 0; margin: 0; min-height: 250px; }
.quiz__step.is-active { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quiz__step legend { font-size: 1.35rem; font-weight: 800; margin-bottom: 18px; padding: 0; }
.quiz__final p { color: var(--muted); margin-bottom: 20px; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.options--2 { grid-template-columns: repeat(2, 1fr); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 100%;
  padding: 16px 18px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1.5px solid var(--line); font-weight: 600; font-size: 15px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.opt span i { font-size: 28px; color: var(--forest-2); }
.opt span small { font-weight: 500; color: var(--muted); font-size: 13px; }
.opt:hover span { border-color: var(--forest-2); }
.opt input:checked + span { border-color: var(--accent); background: rgb(240 164 49 / .1); }
.opt input:focus-visible + span { box-shadow: 0 0 0 4px rgb(39 75 60 / .2); }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }

/* Works */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.filters button:hover { box-shadow: inset 0 0 0 1px var(--forest-2); }
.filters button.is-active { background: var(--forest); color: #fff; box-shadow: none; }
.gallery { columns: 4 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #d8dfda; }
.gallery figure.is-hidden { display: none; }
.gallery img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.gallery figure:nth-child(3n) img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
  color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgb(15 26 21 / .75));
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.about__content > p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 36px 0; }
.numbers b { display: block; font-size: 44px; font-weight: 800; color: var(--forest); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.numbers span { font-size: 15px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.checks i { color: var(--wa); font-size: 22px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border-radius: var(--radius); padding: 26px 20px 24px; }
.steps li:not(:last-child)::after {
  content: ''; position: absolute; top: 46px; right: -16px; width: 16px; height: 2px;
  background: var(--accent);
}
.steps__n { position: absolute; top: 18px; right: 20px; font-size: 40px; font-weight: 800; color: var(--tint); line-height: 1; }
.steps i { font-size: 38px; color: var(--forest-2); }
.steps b { display: block; margin-top: 18px; font-size: 17px; }
.steps p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Reviews */
.reviews__head { display: flex; align-items: center; gap: 32px; margin-bottom: 36px; }
.reviews__rating { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-sm); }
.reviews__rating > b { font-size: 30px; font-weight: 800; }
.reviews__rating small { display: block; font-size: 13px; color: var(--muted); }
.stars { color: #f5b301; font-size: 16px; display: inline-flex; gap: 2px; }
.reviews__arrows { margin-left: auto; display: flex; gap: 10px; }
.reviews__arrows button {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.reviews__arrows button:hover { background: var(--forest); color: #fff; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.review__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.review__body p { margin: 12px 0 18px; flex: 1; }
.review__body small { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__intro p { margin: 16px 0 28px; color: var(--muted); font-size: 17px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 20px; color: var(--forest-2); transition: transform .4s var(--ease); flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.contacts__list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contacts__list li { display: flex; gap: 12px; }
.contacts__list i { font-size: 26px; color: var(--forest-2); flex-shrink: 0; margin-top: 2px; }
.contacts__list b { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.contacts__list span, .contacts__list a { font-weight: 700; }
.contacts__form { background: var(--surface); padding: 28px; border-radius: 20px; box-shadow: var(--shadow-sm); }
.contacts__form h3 { margin-bottom: 18px; }
.contacts__map { border-radius: 24px; overflow: hidden; min-height: 460px; background: var(--tint); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* Footer */
.footer { background: #12241c; color: rgb(255 255 255 / .7); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { display: inline-flex; }
.footer .logo__text b { color: #fff; }
.footer__about { margin-top: 18px; max-width: 34ch; font-size: 15px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer__grid > div > a, .footer__grid > div > span { display: block; font-size: 15px; margin-bottom: 10px; transition: color .3s var(--ease); }
.footer__grid > div > a:hover { color: var(--accent); }
.footer__phone { color: #fff; font-size: 20px !important; font-weight: 800; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: rgb(255 255 255 / .08); transition: background-color .3s var(--ease), color .3s var(--ease); }
.footer__social a:hover { background: var(--accent); color: var(--forest); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; font-size: 34px;
  box-shadow: 0 12px 30px -8px rgb(31 174 91 / .6);
  transition: transform .4s var(--ease);
}
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(31 174 91 / .5); animation: pulse 2.4s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(31 174 91 / .45); } 100% { box-shadow: 0 0 0 18px rgb(31 174 91 / 0); } }

.mobile-bar { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgb(12 22 17 / .6); opacity: 0; transition: opacity .4s var(--ease); }
.modal__box {
  position: relative; width: 100%; max-width: 440px; background: var(--surface); border-radius: 24px; padding: 36px 32px 28px;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__box h3 { font-size: 1.6rem; }
.modal__box > p { color: var(--muted); margin: 8px 0 22px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--tint); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 70; background: rgb(10 16 13 / .94);
  display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox__close, .lightbox__nav {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgb(255 255 255 / .1); color: #fff; font-size: 24px; transition: background-color .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgb(255 255 255 / .22); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 80; transform: translate(-50%, 20px);
  background: var(--forest); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
  box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1200px) {
  .nav { gap: 16px; font-size: 14px; }
  .header__contact { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3)::after { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; padding: 20px 24px; margin: 0;
    background: rgb(255 255 255 / .97); font-size: 20px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .hero__grid, .promo__inner, .about__grid, .faq__grid, .contacts { grid-template-columns: 1fr; gap: 40px; }
  .hero__badge { left: 16px; }
  .advantages__grid { grid-template-columns: 1fr 1fr; }
  .adv:nth-child(3) { border-left: 0; }
  .adv:nth-child(n+3) { border-top: 1px solid var(--line); }
  .catalog {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 340px repeat(4, 240px);
    grid-template-areas: "xl xl" "tall a" "tall b" "c d" "e f";
  }
  .quiz { grid-template-columns: 1fr; }
  .quiz__side { min-height: 260px; }
  .reviews { grid-auto-columns: calc((100% - 20px) / 2); }
  .about__media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .topbar { font-size: 12.5px; }
  .hide-sm { display: none !important; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .logo__text small { display: none; }
  .hero { padding: 24px 0 40px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { left: 12px; bottom: 12px; padding: 10px 14px 10px 10px; }
  .hero__badge i { font-size: 28px; }
  .section { padding: 64px 0; }
  .advantages__grid { grid-template-columns: 1fr; }
  .adv + .adv { border-left: 0; border-top: 1px solid var(--line); }
  .adv { padding: 18px 20px; }
  .catalog { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 210px; grid-template-areas: none; gap: 10px; }
  .cat:nth-child(n) { grid-area: auto; }
  .cat.cat--xl { grid-column: span 2; grid-row: span 1; }
  .cat--xl h3 { font-size: 1.5rem; }
  .cat--xl .cat__body { left: 18px; bottom: 16px; }
  .cat__body { left: 12px; right: 12px; bottom: 12px; }
  .cat__body h3 { font-size: 1rem; }
  .cat:not(.cat--xl) .cat__body p { display: none; }
  .cat__price { font-size: 12px; padding: 5px 10px; }
  .promo { padding: 56px 0; }
  .promo__sale { font-size: 48px; }
  .timer { gap: 8px; }
  .timer div { min-width: 0; flex: 1; padding: 12px 4px; }
  .timer b { font-size: 24px; }
  .promo__form { padding: 24px 20px; }
  .quiz__main { padding: 28px 20px; }
  .options, .options--2 { grid-template-columns: 1fr 1fr; }
  .quiz__step { min-height: 0; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .gallery figcaption { opacity: 1; transform: none; font-size: 12px; padding: 24px 10px 8px; }
  .numbers { gap: 20px; }
  .numbers b { font-size: 34px; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px; }
  .steps li i { grid-row: span 2; font-size: 34px; }
  .steps b { margin-top: 0; }
  .reviews__head { flex-wrap: wrap; gap: 16px; }
  .reviews__arrows { display: none; }
  .reviews { grid-auto-columns: 86%; }
  .contacts__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contacts__map, .contacts__map iframe { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .wa-float { bottom: 80px; right: 16px; width: 56px; height: 56px; font-size: 30px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; height: 64px;
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgb(29 58 46 / .35);
  }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 700; }
  .mobile-bar i { font-size: 22px; color: var(--forest-2); }
  .mobile-bar a:nth-child(2) i { color: var(--wa); }
  .toast { bottom: 84px; }
}
