/* «Ясность» — лендинг. Тепло. Характер. Ясность. */
:root {
  --light: #FAF8F4;
  --cream: #F3EADC;
  --cream-2: #F0E5D4;
  --wine: #5A1525;
  --wine-2: #6E2434;
  --red: #B80F2E;
  --rose: #9E5A66;
  --rose-2: #C9A8A0;
  --gold: #B3945B;
  --ink: #302529;
  --muted: #6B5D60;
  --line: #E6D9C6;
  --serif: "Playfair Display", "Cambria", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--light); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--wine); color: var(--light); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- типографика ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--light { color: var(--rose-2); }
.h2 {
  font: 500 clamp(36px, 4.6vw, 64px)/1.06 var(--serif); letter-spacing: -.015em; color: var(--ink);
  text-wrap: balance;
}
.h2 em, .hero__title em, .final__title em { color: var(--wine); font-weight: 500; }
.sec__sub { color: var(--muted); margin-top: 18px; max-width: 520px; }
.link { color: var(--wine); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--wine); --fg: var(--light);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 16px/1.2 var(--sans); letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 10px 30px -14px rgba(90, 21, 37, .7);
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) 120%, rgba(255,255,255,.22), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--red); box-shadow: 0 16px 34px -14px rgba(184, 15, 46, .75); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { min-height: 62px; padding: 0 36px; font-size: 17px; }
.btn--ghost { --bg: transparent; --fg: var(--wine); box-shadow: inset 0 0 0 1.5px var(--wine); }
.btn--ghost:hover { --fg: var(--light); background: var(--wine); box-shadow: none; }
.btn--light { --bg: var(--light); --fg: var(--wine); box-shadow: 0 14px 34px -16px rgba(0,0,0,.5); }
.btn--light:hover { background: #fff; color: var(--red); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wine); }
.logo__mark { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.logo__mark circle:first-child { fill: currentColor; stroke: none; }
.logo__word { font: 600 25px/1 var(--serif); letter-spacing: -.01em; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font: 500 15px/1 var(--sans); color: var(--muted); text-decoration: none; position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--wine); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- графика: рябь, нить, арки ---------- */
.ripples { position: absolute; pointer-events: none; fill: none; stroke: var(--gold); stroke-width: 1; opacity: .5; }
.ripples--light { stroke: var(--rose-2); opacity: .28; }
.thread { position: absolute; pointer-events: none; fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; overflow: visible; }
.thread path { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); transition: stroke-dashoffset 3.2s var(--ease); }
.thread.is-drawn path { stroke-dashoffset: 0; }
.arch { overflow: hidden; border-radius: 999px 999px 18px 18px; background: var(--cream-2); }
.arch img, .circle img { width: 100%; height: 100%; object-fit: cover; }
.circle { overflow: hidden; border-radius: 50%; background: var(--cream-2); }

/* ---------- телефон ---------- */
.phone {
  position: relative; aspect-ratio: 1 / 2; border-radius: 13% / 6.5%;
  padding: 3.2%; background: linear-gradient(145deg, #f7efe2, #e6d6bd 40%, #f4ebdc 60%, #d9c4a2);
  box-shadow: 0 0 0 1px rgba(179, 148, 91, .55), 0 40px 70px -30px rgba(90, 21, 37, .45), 0 18px 30px -18px rgba(48, 37, 41, .3);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 10.5% / 5.25%; }

/* ---------- 01 первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(80px, 9vw, 130px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 2; }
.hero__title { font: 500 clamp(50px, 7.2vw, 108px)/.98 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.hero__title em { display: inline-block; color: var(--wine); }
.hero__slogan { margin-top: 28px; font: italic 500 clamp(21px, 2vw, 27px)/1.35 var(--serif); color: var(--red); }
.hero__lead { margin-top: 18px; max-width: 520px; color: var(--muted); font-size: 18px; }
.hero__cta { margin-top: 38px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 14px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero__art { position: relative; aspect-ratio: 5 / 6; max-width: 540px; width: 100%; justify-self: end; }
.hero__art .ripples { width: 120%; left: -10%; top: -6%; }
.arch--hero { position: absolute; left: 4%; top: 2%; width: 50%; height: 88%; box-shadow: 0 30px 60px -36px rgba(90,21,37,.5); }
.circle--flower { position: absolute; right: 0; top: 0; width: 30%; aspect-ratio: 1; box-shadow: 0 0 0 8px var(--light), 0 0 0 9px var(--line); }
.phone--hero { position: absolute; right: 7%; bottom: 0; width: 46%; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 253, 249, .94); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 18px; padding: 13px 18px 13px 13px;
  font: 500 14px/1.35 var(--sans); color: var(--ink); box-shadow: 0 20px 40px -24px rgba(90,21,37,.45);
}
.chip b { color: var(--wine); font-weight: 700; }
.chip__ico { width: 36px; height: 36px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; flex: none; }
.chip__ico svg { width: 18px; height: 18px; fill: none; stroke: var(--wine); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.chip--a { left: -10%; top: 46%; animation: float 7s ease-in-out infinite; }
.chip--b { right: -4%; bottom: 10%; animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.thread--hero { left: 0; bottom: 10px; width: 100%; height: 200px; z-index: 1; opacity: .8; }

/* ---------- общие секции ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.sec--cream { background: var(--cream); }
.sec--wine { background: var(--wine); color: var(--light); }
.sec--wine .h2 { color: var(--light); }
.sec--wine .h2 em { color: var(--rose-2); }
.sec__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------- 02 знакомо ---------- */
.know__head { max-width: 700px; margin-bottom: 56px; }
.know__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; grid-auto-rows: 1fr; gap: 22px; align-items: start; }
.know__photo { grid-column: 1 / span 4; grid-row: 1 / span 2; align-self: stretch; position: relative; min-height: 380px; }
.know__photo img { position: absolute; inset: 0; }  /* фото подстраивается под высоту карточек, а не наоборот */
.quote {
  position: relative; grid-column: span 4;
  font: italic 500 20px/1.45 var(--serif); color: var(--ink);
  padding: 30px 30px 30px 30px; background: var(--light); border-radius: 22px; border: 1px solid var(--line);
}
.quote::before { content: "“"; display: block; font: 600 54px/.6 var(--serif); color: var(--gold); margin-bottom: 14px; }
.quote--big { grid-column: 5 / span 8; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.25; background: transparent; border: 0; padding: 18px 0 30px; }
.quote--big::before { font-size: 90px; }
.quote:not(.quote--big) { align-self: stretch; }  /* карточки цитат — одной высоты */
.know__end { margin-top: 64px; text-align: center; font: 500 clamp(28px, 3.4vw, 46px)/1.2 var(--serif); }
.know__end em { color: var(--red); }

/* ---------- 03 о сервисе + пример ---------- */
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__text > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); max-width: 520px; }
.about__text .h2 { margin-bottom: 8px; }
.about__accent { font: italic 500 21px/1.4 var(--serif); color: var(--wine) !important; }
.about__text .btn { margin-top: 34px; }
.chat {
  background: #FFFDF9; border-radius: 30px; border: 1px solid var(--line);
  box-shadow: 0 50px 90px -50px rgba(90,21,37,.45); overflow: hidden; position: relative;
}
.chat__top { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--light); }
.chat__top b { display: block; font: 600 18px/1.1 var(--serif); color: var(--wine); }
.chat__top small { font-size: 12px; color: var(--muted); }
.chat__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; }
.chat__ava svg { width: 30px; height: 30px; fill: none; stroke: var(--light); stroke-width: 1.3; }
.chat__body { padding: 26px 24px 10px; display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.msg {
  max-width: 84%; padding: 13px 17px; border-radius: 20px 20px 20px 6px; background: var(--cream);
  font-size: 15.5px; line-height: 1.5;
}
.msg--me { align-self: flex-end; background: var(--wine); color: var(--light); border-radius: 20px 20px 6px 20px; }
.msg--typing { align-self: flex-start; display: inline-flex; gap: 5px; width: auto; padding: 16px 18px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: dot 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__note { padding: 12px 24px 20px; font-size: 12.5px; color: var(--muted); }
.js .chat .msg { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .chat.is-in .msg { opacity: 1; transform: none; }
.js .chat.is-in .msg:nth-child(2) { transition-delay: .9s; }
.js .chat.is-in .msg:nth-child(3) { transition-delay: 2s; }
.js .chat.is-in .msg:nth-child(4) { transition-delay: 2.9s; }
.js .chat.is-in .msg:nth-child(5) { transition-delay: 3.8s; }

/* ---------- 04 шаги ---------- */
.how { overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.step { background: var(--light); border-radius: 24px; padding: 34px 28px 36px; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(90,21,37,.45); }
.step__n { display: block; font: italic 500 52px/1 var(--serif); color: var(--gold); margin-bottom: 26px; }
.step h3 { font: 600 22px/1.25 var(--serif); color: var(--wine); margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15.5px; }
.thread--steps { left: 0; top: 50%; width: 100%; height: 80px; opacity: .55; z-index: 1; }

/* ---------- 05 что внутри ---------- */
.inside__head { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; margin-bottom: clamp(56px, 7vw, 90px); }
.feats { display: grid; gap: 0; }
.feat { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.feat:last-child { border-bottom: 1px solid var(--line); }
.feat h3 { font: 600 21px/1.3 var(--serif); color: var(--wine); margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: 15.5px; }
.ico { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--wine); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: end; }
.screen:nth-child(even) { transform: translateY(-40px); }
.screen figcaption { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }
.screen figcaption b { font: italic 500 16px var(--serif); color: var(--gold); margin-right: 6px; }

/* ---------- 06 сравнение ---------- */
.cmp { background: var(--light); border-radius: 28px; border: 1px solid var(--line); overflow: hidden; }
.cmp__row { display: grid; grid-template-columns: 1fr 1.15fr; border-top: 1px solid var(--line); }
.cmp__row > span { padding: 22px 32px; }
.cmp__row > span:first-child { color: var(--muted); font-size: 15.5px; position: relative; }
.cmp__row > span:last-child { font: 500 19px/1.4 var(--serif); color: var(--wine); background: rgba(240,229,212,.35); border-left: 1px solid var(--line); }
.cmp__row--head { border-top: 0; }
.cmp__row--head > span { font: 600 12px/1.4 var(--sans) !important; letter-spacing: .2em; text-transform: uppercase; padding-top: 20px; padding-bottom: 20px; }
.cmp__row--head > span:last-child { background: var(--wine); color: var(--light); }

/* ---------- 07 автор ---------- */
.author { overflow: hidden; }
.author__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.author__photo { position: relative; }
.author__photo .ripples { width: 130%; left: -15%; top: -12%; }
.arch--author { position: relative; aspect-ratio: 550 / 735; max-width: 440px; margin: 0 auto; box-shadow: 0 0 0 10px rgba(250,248,244,.06), 0 50px 80px -40px rgba(0,0,0,.6); }
.author__sign { position: relative; margin-top: 26px; text-align: center; font: italic 500 30px/1.2 var(--serif); }
.author__sign small { display: block; margin-top: 6px; font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--rose-2); }
.author__quote { margin: 30px 0 40px; padding-left: 26px; border-left: 1px solid var(--gold); font: italic 500 clamp(21px, 2vw, 26px)/1.45 var(--serif); color: #F3E3D6; }
.author__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.author__facts dt { font: 600 20px/1.3 var(--serif); color: var(--light); margin-bottom: 6px; }
.author__facts dt::before { content: ""; display: block; width: 22px; height: 1px; background: var(--gold); margin-bottom: 14px; }
.author__facts dd { color: rgba(250,248,244,.72); font-size: 15.5px; }
.author__note { margin-top: 40px; font-size: 14px; color: rgba(250,248,244,.6); max-width: 560px; }

/* ---------- 08 отзывы (черновик) ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { padding: 34px 30px; border-radius: 24px; background: var(--cream); }
.review blockquote { font: italic 500 20px/1.45 var(--serif); }
.review figcaption { margin-top: 24px; font-size: 14px; color: var(--muted); }
.review--draft { background: transparent; border: 1.5px dashed var(--rose-2); color: var(--muted); }
.review--draft blockquote { color: var(--rose); }

/* ---------- 09 приватность ---------- */
.safe__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); }
.safe__photo { width: 56%; aspect-ratio: 9 / 15; margin-top: 44px; }
.safe__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-self: center; }
.safe__title { font: 600 13px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rose); padding-bottom: 18px; border-bottom: 1px solid var(--wine); }
.safe__list li { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.safe__list b { display: block; font: 600 20px/1.3 var(--serif); color: var(--wine); margin-bottom: 4px; }

/* ---------- 10 польза ---------- */
.change__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.change__photo { width: 62%; aspect-ratio: 1; margin-top: 48px; box-shadow: 0 0 0 10px var(--light), 0 0 0 11px var(--line); }
.pairs { counter-reset: p; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pair:first-child { border-top: 1px solid var(--line); }
.pair s { text-decoration: line-through; text-decoration-color: rgba(184,15,46,.5); text-decoration-thickness: 1px; color: var(--muted); font-size: 15.5px; }
.pair::after { content: "→"; grid-column: 2; grid-row: 1; color: var(--gold); font-size: 20px; }
.pair span { grid-column: 3; font: italic 500 21px/1.35 var(--serif); color: var(--wine); }

/* ---------- 11 цена ---------- */
.price__in { display: flex; justify-content: center; }
.price__card {
  position: relative; overflow: hidden; width: 100%; max-width: 760px; text-align: center;
  background: var(--wine); color: var(--light); border-radius: 36px; padding: clamp(48px, 6vw, 76px) clamp(24px, 6vw, 80px);
  box-shadow: 0 60px 100px -50px rgba(90,21,37,.7);
}
.price__card .ripples { width: 700px; right: -260px; top: -280px; }
.price__card .eyebrow { justify-content: center; }
.price__card .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.price__free { font: italic 500 clamp(26px, 3vw, 36px)/1.2 var(--serif); }
.price__free em { color: #F1C9A9; }
.price__sum { margin-top: 26px; font: 500 18px var(--sans); color: rgba(250,248,244,.7); }
.price__sum span { font: 500 clamp(56px, 7vw, 86px)/1 var(--serif); color: var(--light); letter-spacing: -.02em; margin-right: 6px; }
.price__after { margin-top: 10px; color: rgba(250,248,244,.7); font-size: 15px; }
.price__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; text-align: left; max-width: 560px; margin: 36px auto 40px; }
.price__list li { position: relative; padding-left: 26px; font-size: 15.5px; }
.price__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.price__fine { margin: 26px auto 0; max-width: 470px; font-size: 13.5px; color: rgba(250,248,244,.65); }

/* ---------- 12 FAQ ---------- */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font: 500 clamp(19px, 1.7vw, 23px)/1.35 var(--serif); color: var(--ink); transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rose-2);
  background: linear-gradient(var(--wine), var(--wine)) center / 12px 1.5px no-repeat, linear-gradient(var(--wine), var(--wine)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--cream-2); }
.qa summary:hover { color: var(--wine); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 60px 28px 0; color: var(--muted); }

/* ---------- 13 финал ---------- */
.final { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 180px) 0; text-align: center; }
.ripples--final { width: min(1100px, 160vw); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .22; }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__title { font: 500 clamp(48px, 7vw, 100px)/1 var(--serif); letter-spacing: -.02em; }
.final__title em { color: var(--rose-2) !important; }
.final__sub { margin: 26px 0 44px; font: italic 500 clamp(19px, 1.8vw, 24px)/1.4 var(--serif); color: rgba(250,248,244,.82); }
.final__fine { margin-top: 20px; font-size: 13.5px; color: rgba(250,248,244,.6); letter-spacing: .04em; }

/* ---------- 14 подвал ---------- */
.foot { background: var(--cream); padding: 64px 0 36px; font-size: 14.5px; color: var(--muted); }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot__brand p { margin-top: 16px; max-width: 340px; }
.foot__links { display: flex; flex-direction: column; gap: 10px; }
.foot__links a { text-decoration: none; transition: color .25s; }
.foot__links a:hover { color: var(--wine); }
.foot__legal { padding-top: 28px; font-size: 13px; line-height: 1.6; max-width: 900px; }
.foot__meta { display: block; margin-top: 8px; opacity: .8; }

/* ---------- плавающая кнопка (телефон) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(250,248,244,0), rgba(250,248,244,.96) 35%);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.dock .btn { width: 100%; }
.dock.is-on { transform: none; }

/* ---------- появление ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .thread--steps { display: none; }
  .quote { grid-column: span 6; }
  .know__photo { grid-column: 1 / span 6; grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .quote--big { grid-column: 7 / span 6; }
  .know__grid { grid-template-rows: auto; }
  .quote:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__in, .about__in, .author__in, .safe__in, .change__in, .faq__in, .inside__head { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; max-width: 460px; margin-top: 10px; }
  .faq__head { position: static; }
  .safe__photo, .change__photo { display: none; }
  .screens {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px;
    margin: 0 calc(var(--gut) * -1); padding: 50px var(--gut) 10px; scrollbar-width: none;
  }
  .screens::-webkit-scrollbar { display: none; }
  .screen { flex: 0 0 58%; scroll-snap-align: center; }
  .reviews__grid { grid-template-columns: 1fr; }
  .author__photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .dock { display: block; }
  .foot { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__in { height: 62px; }
  .logo__word { font-size: 22px; }
  .logo__mark { width: 30px; height: 30px; }
  .nav .btn--sm { padding: 0 16px; font-size: 13px; min-height: 38px; }
  .nav .btn--sm { font-size: 0; }
  .nav .btn--sm::before { content: "Попробовать"; font-size: 13px; }
  .hero { padding-top: 28px; }
  .hero__title { font-size: clamp(44px, 12.4vw, 60px); }
  .hero__cta .btn { width: 100%; }
  .btn--lg { padding: 0 22px; font-size: 16px; min-height: 58px; }
  .chip { font-size: 12.5px; padding: 9px 13px 9px 9px; border-radius: 14px; }
  .chip__ico { width: 30px; height: 30px; }
  .chip--a { left: -2%; top: 40%; }
  .chip--b { right: -2%; }
  .know__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .know__photo, .quote, .quote--big { grid-column: auto; }
  .quote--big { order: -1; padding-top: 0; }
  .quote { padding: 24px; font-size: 18px; }
  .quote::before { font-size: 44px; margin-bottom: 8px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 26px 24px; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; }
  .step__n { grid-row: span 2; font-size: 40px; margin: 0; }
  .screen { flex-basis: 72%; }
  .screen:nth-child(even) { transform: none; }
  .cmp__row { grid-template-columns: 1fr; }
  .cmp__row--head { display: none; }
  .cmp__row > span { padding: 18px 22px; }
  .cmp__row > span:first-child { padding-bottom: 6px; font-size: 14px; text-decoration: line-through; text-decoration-color: rgba(184,15,46,.4); }
  .cmp__row > span:last-child { border-left: 0; background: none; padding-top: 0; font-size: 18px; }
  .author__facts { grid-template-columns: 1fr; gap: 22px; }
  .safe__cols { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .pair::after { display: none; }
  .pair span { grid-column: 1; }
  .price__list { grid-template-columns: 1fr; max-width: 300px; }
  .qa__a p { padding-right: 0; }
  .foot__top { grid-template-columns: 1fr; gap: 26px; }
  .chat__body { min-height: 0; }
}

.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .chat .msg { opacity: 1; transform: none; }
  .thread path { stroke-dashoffset: 0; }
}
