/* ============ Карпатський знахар — стиль «гербарій» ============ */
@font-face { font-family: "Caption"; src: url("../fonts/ptserif-caption.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "SerifI"; src: url("../fonts/ptserif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  --paper: #f7f1e3;
  --paper-2: #efe5cf;
  --card: #fffcf4;
  --ink: #26261c;
  --muted: #6b6450;
  --line: #ddd0b3;
  --pine: #1f2b1c;
  --pine-2: #2b3a26;
  --moss: #4b5a3a;
  --gold: #c9a24f;
  --gold-2: #e3c27a;
  --cta: #e8a93a;
  --cta-hover: #f2b94f;
  --cta-ink: #1c2212;
  --spring: #5f8a45;
  --summer: #b8871f;
  --autumn: #a9542c;
  --winter: #3c5a74;
  --viber: #7360f2;
  --telegram: #229ed9;
  --serif: "Caption", Georgia, "Times New Roman", serif;
  --italic: "SerifI", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px -18px rgba(31, 43, 28, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 18px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--moss); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.15rem, 6vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em, .it { font-family: var(--italic); font-style: italic; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[id] { scroll-margin-top: 80px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 60px; padding: 0 30px;
  font: 800 1.1rem/1.2 var(--sans); letter-spacing: .01em;
  color: var(--cta-ink); background: var(--cta);
  border: 0; border-radius: 8px; cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 0 #b98222, 0 14px 28px -12px rgba(232, 169, 58, .8);
  transition: background .15s, transform .15s;
}
.btn::after { content: "→"; font-weight: 400; transition: transform .15s; }
.btn:hover { background: var(--cta-hover); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn span { display: contents; }
.header .btn--sm { white-space: nowrap; }
.btn .sm { display: none; }
@media (max-width: 560px) { .btn .lg { display: none; } .btn .sm { display: contents; } .header__secure .lg { display: none; } }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; box-shadow: 0 2px 0 #b98222; }
.btn--sm::after { display: none; }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: var(--paper-2); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--moss); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--pine); border-bottom: 1px solid rgba(227, 194, 122, .18); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; color: #f3ead6; text-decoration: none; font: 1.12rem/1 var(--serif); white-space: nowrap; }
.header .btn, .header__secure { flex-shrink: 0; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.header__secure { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--gold-2); font-weight: 600; white-space: nowrap; }

/* ---------- HERO ---------- */
.hero { position: relative; background: radial-gradient(120% 80% at 75% 20%, #34452e 0%, var(--pine) 60%); color: #f3ead6; padding: 32px 0 120px; overflow: hidden; }
.hero__fern { position: absolute; left: -60px; top: 40px; width: 360px; opacity: .07; pointer-events: none; color: var(--gold-2); }
.hero__grid { position: relative; display: grid; gap: 26px; align-items: center; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; font: 700 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.hero__kicker span + span::before { content: "·"; margin-right: 14px; opacity: .6; }
.hero h1 { color: #fbf4e2; margin-bottom: 14px; }
.hero h1 em { color: var(--gold-2); }
.hero__lead { font-size: 1.12rem; color: #d9cfb6; max-width: 34em; margin-bottom: 20px; }
.hero__lead b { color: #fbf4e2; font-weight: 600; }

.benefits { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; color: #ece3cc; }
.benefits li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231f2b1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.benefits b { color: #fff; font-weight: 600; }

.buybox { background: rgba(255, 252, 244, .06); border: 1px solid rgba(227, 194, 122, .3); border-radius: 14px; padding: 18px; max-width: 480px; text-align: center; }
.buybox__price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 4px; }
.buybox__label { width: 100%; text-align: center; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.price-old { font-size: 1.15rem; color: #a99e86; text-decoration: line-through; }
.price-new { font: 3rem/1 var(--serif); color: #fff; }
.price-tag { align-self: center; padding: 5px 9px; border-radius: 6px; background: var(--gold); color: var(--pine); font-size: .85rem; font-weight: 800; }
.buybox__note { font-size: .9rem; color: #c9bea4; margin: 6px 0 14px; }
.buybox__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 12px; font-size: .85rem; color: #b8ad93; }

/* Автор + книга */
.hv { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1.08; margin: 0 auto; }
.hv__photo { position: absolute; right: 0; top: 0; width: 74%; margin: 0; border-radius: 999px 999px 16px 16px; overflow: hidden; border: 2px solid rgba(227, 194, 122, .55); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); background: #2b3a26; }
.hv__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px rgba(31,43,28,.35); pointer-events: none; }
.hv__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hv__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px 44%; text-align: right; line-height: 1.15; color: #f3ead6; background: linear-gradient(transparent, rgba(20,28,18,.9)); }
.hv__photo figcaption .it { display: block; color: var(--gold-2); font-size: 1rem; }
.hv__photo figcaption small { font: 600 .68rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.hv__book { position: absolute; left: 0; bottom: 0; width: 46%; transform: rotate(-6deg); z-index: 2; border-radius: 3px; box-shadow: 0 30px 50px -14px rgba(0,0,0,.85); }
.hv__page { position: absolute; left: 17%; bottom: 3%; width: 40%; transform: rotate(5deg); z-index: 1; border-radius: 3px; box-shadow: 0 20px 36px -14px rgba(0,0,0,.7); }
.hv .fan__badge { left: 4%; right: auto; top: 6%; bottom: auto; transform: rotate(-12deg); }

/* Віяло зі справжніх сторінок книги */
.fan { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.02; margin: 0 auto; }
.fan img { position: absolute; width: 58%; height: auto; border-radius: 3px; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .65); }
.fan__l { left: 0; top: 10%; transform: rotate(-9deg); }
.fan__r { right: 0; top: 8%; transform: rotate(8deg); }
.fan .fan__c { left: 21%; top: 0; z-index: 2; box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .8); }
.fan__badge {
  position: absolute; z-index: 3; right: 4%; bottom: 6%; width: 104px; height: 104px; border-radius: 50%;
  background: var(--cta); color: var(--cta-ink); display: grid; place-content: center; text-align: center;
  font: 800 .74rem/1.15 var(--sans); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-10deg);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.55);
}
.fan__badge b { display: block; font: 2.1rem/1 var(--serif); letter-spacing: 0; text-transform: none; }

.mtn { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

/* Цифри під hero */
.stats { position: relative; z-index: 2; margin-top: -54px; }
.stats__in { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 18px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat b { display: block; font: 2.2rem/1 var(--serif); font-weight: 400; color: var(--moss); }
.stat span { font-size: .88rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 6px; }

/* ---------- Секції ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--pine); color: #f3ead6; }
.section--dark .muted, .section--dark .section-head p { color: #c9bea4; }
.eyebrow { display: inline-block; margin-bottom: 12px; font: 700 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.section--dark .eyebrow { color: var(--gold-2); }
.section-head { max-width: 740px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.sprig { display: block; width: 46px; height: 46px; margin: 0 auto 10px; color: var(--moss); }
.section--dark .sprig { color: var(--gold-2); }

/* ---------- Кому ---------- */
.who { display: grid; border-top: 1px solid var(--line); }
.who__item { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.who__n { font: 2.4rem/1 var(--serif); color: var(--gold); }
.who__item h3 { margin-bottom: 6px; }
.who__item p { margin: 0; color: var(--muted); }

/* ---------- Пори року ---------- */
.seasons { display: grid; gap: 14px; }
.season-card { position: relative; overflow: hidden; border-radius: 14px; padding: 26px 22px 20px; color: #fff; background: var(--c); }
.season-card__art { position: absolute; right: -24px; top: -10px; width: 170px; height: 170px; opacity: .22; color: #fff; }
.season-card__top { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.season-card h3 { font-size: 2.3rem; margin: 8px 0 2px; }
.season-card__sub { font-family: var(--italic); font-style: italic; opacity: .9; margin-bottom: 14px; }
.season-card ul { list-style: none; padding: 0; margin: 0; position: relative; }
.season-card li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.25); line-height: 1.35; }
.season-card li b { display: block; font-weight: 600; }
.season-card li i { font-family: var(--italic); opacity: .85; font-size: .95rem; }
.season-card--spring { --c: var(--spring); }
.season-card--summer { --c: var(--summer); }
.season-card--autumn { --c: var(--autumn); }
.season-card--winter { --c: var(--winter); }
.extras { display: grid; gap: 14px; margin-top: 14px; }
.extra { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.extra__ico { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--moss); }
.extra__ico svg { width: 32px; height: 32px; }
.extra h3 { margin-bottom: 4px; }
.extra p { margin: 0; color: var(--muted); font-size: .97rem; }
.extra__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.extra__tags span { font-size: .82rem; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--moss); }

/* ---------- Галерея сторінок ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 22px; margin: 0 -16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: center; }
.gallery img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 18px 34px -16px rgba(31, 43, 28, .55); background: #fff; }
.gallery figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); line-height: 1.35; }
.gallery figcaption b { display: block; color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin-bottom: 2px; }
.swipe-hint { text-align: center; font-size: .85rem; color: var(--muted); margin: -4px 0 0; }
.after-cta { text-align: center; margin-top: 34px; }

/* ---------- Як отримати ---------- */
.steps { display: grid; gap: 14px; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(227,194,122,.22); border-radius: 14px; padding: 24px; }
.step__n { font: 2.6rem/1 var(--serif); color: var(--gold-2); margin-bottom: 10px; }
.step h3 { color: #fff; }
.step p { margin: 0; color: #cfc4aa; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 700; color: #fff; }
.chip svg { width: 18px; height: 18px; }
.chip--viber { background: var(--viber); }
.chip--tg { background: var(--telegram); }
.chip--mail { background: #5c5340; }

/* ---------- Оффер ---------- */
.offer { display: grid; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px; box-shadow: var(--shadow); }
.offer__cover { width: 62%; max-width: 300px; margin: 8px auto; transform: rotate(-3deg); border-radius: 3px; box-shadow: 0 30px 50px -18px rgba(31,43,28,.7); }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; }
.checklist li { position: relative; padding: 11px 0 11px 38px; border-bottom: 1px dashed var(--line); line-height: 1.4; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checklist li b { display: block; font-weight: 700; }
.checklist li span { color: var(--muted); font-size: .95rem; }
.pricebar { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.pricebar .price-old { color: var(--muted); }
.pricebar .price-new { color: var(--ink); font-size: 2.6rem; }
.pricebar .price-tag { background: var(--moss); color: #fff; }
.pricebar small { width: 100%; color: var(--muted); font-size: .9rem; }
.pay-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Автор ---------- */
.author { display: grid; gap: 28px; align-items: center; }
.author__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; width: 100%; max-width: 360px; margin: 0 auto; box-shadow: var(--shadow); background: var(--paper-2); }
.author__photo img { width: 100%; height: 100%; object-fit: cover; }
.author__quote { font: italic 1.15rem/1.5 var(--italic); color: var(--ink); border-left: 3px solid var(--gold); padding-left: 16px; margin: 18px 0; }
.author__sign { font: italic 1.4rem/1 var(--italic); color: var(--moss); margin-top: 6px; }

/* ---------- Відгуки ---------- */
.slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.slider-head .section-head { margin: 0; text-align: left; }
.slider-nav { display: none; gap: 10px; }
.slider-nav button { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.slider-nav button:hover { background: var(--paper-2); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 16px; margin: 0 -16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.review p { flex: 1; font-family: var(--italic); font-style: italic; font-size: 1.08rem; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-weight: 700; color: var(--moss); }
.review__who small { display: block; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 36px; }
.faq__list { display: grid; gap: 10px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
summary { list-style: none; cursor: pointer; padding: 19px 56px 19px 20px; position: relative; font-weight: 700; font-size: 1.04rem; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; color: var(--moss); }
details[open] summary::after { content: "−"; }
details > div { padding: 0 20px 18px; color: var(--muted); }
details > div p:last-child { margin: 0; }

/* ---------- Фінал ---------- */
.final { position: relative; background: var(--pine); color: #f3ead6; text-align: center; padding: 80px 0 130px; overflow: hidden; }
.final h2 { max-width: 760px; margin: 0 auto 14px; color: #fbf4e2; }
.final p { color: #c9bea4; margin-bottom: 26px; }

/* ---------- Футер ---------- */
.footer { background: #141c12; color: #b8ad93; padding: 44px 0 110px; font-size: .95rem; }
.footer a { color: #f3ead6; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .logo { margin-bottom: 10px; }
.footer__grid { display: grid; gap: 26px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: .82rem; }

/* ---------- Липка кнопка (мобільний) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--pine); border-top: 1px solid rgba(227,194,122,.25); transform: translateY(110%); transition: transform .25s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta__price { line-height: 1.1; color: #f3ead6; }
.sticky-cta__price s { color: #a99e86; font-size: .85rem; }
.sticky-cta__price b { display: block; font: 1.5rem/1 var(--serif); font-weight: 400; }
.sticky-cta .btn { flex: 1; min-height: 52px; padding: 0 16px; }

/* ================= ЗАМОВЛЕННЯ ================= */
.checkout { padding: 26px 0 64px; }
.checkout__grid { display: grid; gap: 22px; }
.checkout h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.form-step { margin-top: 20px; }
.form-step__title { display: flex; align-items: center; gap: 10px; font: 1.25rem/1.2 var(--serif); margin: 0 0 14px; }
.form-step__title .n { width: 30px; height: 30px; border-radius: 50%; background: var(--moss); color: #fff; font: 700 .95rem/1 var(--sans); display: grid; place-items: center; flex: none; }
.channel-list { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.channel { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.channel input { position: absolute; opacity: 0; pointer-events: none; }
.channel__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.channel__icon svg { width: 26px; height: 26px; }
.channel--viber .channel__icon { background: var(--viber); }
.channel--tg .channel__icon { background: var(--telegram); }
.channel--mail .channel__icon { background: #5c5340; }
.channel__text { flex: 1; line-height: 1.3; }
.channel__text b { display: block; font-size: 1.08rem; }
.channel__text small { color: var(--muted); font-size: .9rem; }
.channel__tag { font-size: .72rem; font-weight: 800; padding: 4px 8px; border-radius: 6px; background: #f6e7c4; color: #6d4a10; white-space: nowrap; }
.channel::after { content: ""; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.channel:has(input:checked) { border-color: var(--moss); background: #f1f4ea; }
.channel:has(input:checked)::after { border: 7px solid var(--moss); }
.channel:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { margin-top: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.input { width: 100%; height: 60px; padding: 0 18px; font: 600 1.2rem/1 var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 10px; transition: border-color .15s; }
.input:focus { border-color: var(--moss); outline: none; box-shadow: 0 0 0 4px rgba(75, 90, 58, .15); }
.input--phone { letter-spacing: .03em; }
.field__hint { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.field__error { display: none; font-size: .9rem; color: #b42318; font-weight: 600; margin-top: 6px; }
.field.has-error .input { border-color: #b42318; }
.field.has-error .field__error { display: block; }
.phone-wrap { position: relative; }
.phone-wrap::before { content: "🇺🇦"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; }
.phone-wrap .input { padding-left: 52px; }
.explain { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: #f6ecd2; font-size: .95rem; line-height: 1.45; }
.explain__ico { font-size: 1.3rem; line-height: 1; }
.summary__row { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary__cover { width: 72px; flex: none; border-radius: 2px; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); }
.summary__title { font-weight: 700; line-height: 1.3; }
.summary__lines { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; font-size: .97rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 10px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
.summary__total b { font: 2.1rem/1 var(--serif); font-weight: 400; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: .93rem; }
.trust li { display: flex; gap: 10px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.pay-methods span { font-size: .78rem; font-weight: 700; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #fff; }
.help-box { text-align: center; }
.help-box a.big { display: block; font: 1.4rem/1.2 var(--serif); color: var(--ink); text-decoration: none; margin-top: 4px; }
.mini-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin: 14px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; }
.mini-summary > span:last-child { white-space: nowrap; }
.mini-summary b { font: 1.4rem/1 var(--serif); font-weight: 400; white-space: nowrap; }
.mini-summary s { color: var(--muted); font-size: .85rem; margin-right: 6px; }

/* ================= ДЯКУЄМО ================= */
.thanks { padding: 40px 0 72px; }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--moss); color: #fff; display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 18px; }
.thanks .card { margin-top: 18px; }
.demo-banner { background: #fff4d6; border: 1px dashed var(--gold); border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin-bottom: 20px; }
.howto { counter-reset: h; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.howto li { counter-increment: h; position: relative; padding-left: 44px; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); color: var(--moss); font-weight: 700; display: grid; place-items: center; }

/* ================= ЮРИДИЧНІ ================= */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal .placeholder { background: #fff4d6; border: 1px dashed var(--gold); padding: 14px 16px; border-radius: 10px; }

/* ================= АДАПТИВ ================= */
@media (min-width: 640px) {
  .stats__in { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
  .who { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .who__item { border-top: 1px solid var(--line); border-bottom: 0; }
  .seasons, .extras { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-columns: 40%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .track { grid-auto-columns: calc((100% - 14px) / 2); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .section { padding: 100px 0; }
  .hero { padding: 56px 0 150px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 48px; }
  .fan__badge { width: 120px; height: 120px; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; margin: 0; }
  .swipe-hint { display: none; }
  .offer { grid-template-columns: .75fr 1.25fr; padding: 48px; gap: 52px; }
  .offer__cover { width: 80%; }
  .author { grid-template-columns: .7fr 1.3fr; gap: 60px; }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 60px; }
  .track { grid-auto-columns: calc((100% - 28px) / 3); padding: 4px 0 16px; margin: 0; }
  .slider-nav { display: flex; }
  .checkout { padding: 44px 0 80px; }
  .checkout__grid { grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
  .checkout__aside { position: sticky; top: 88px; display: grid; gap: 16px; }
  .card { padding: 30px; }
  .mini-summary, .sticky-cta { display: none; }
  .footer { padding-bottom: 44px; }
}
@media (max-width: 899px) {
  /* мобільний порядок: заголовок → книга → ціна → переваги */
  .hero__text { display: contents; }
  .hero__top { order: 1; }
  .hero__fan-wrap { order: 2; }
  .buybox { order: 3; }
  .benefits { order: 4; margin: 4px auto 0; max-width: 480px; width: 100%; }
  .buybox { margin: 0 auto; width: 100%; }
  .hero__top { text-align: center; }
  .hero__kicker { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hv { width: min(62%, 240px); margin-bottom: 0; }
  .hv__photo figcaption { display: none; }
  .buybox { padding: 14px 16px; }
  .hv .fan__badge { left: -8%; top: 2%; }
  .hero { padding-top: 16px; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); margin-bottom: 10px; }
  .hero__lead { font-size: 1.02rem; margin-bottom: 4px; }
  .hero__kicker { margin-bottom: 10px; }
  .btn { padding: 0 18px; }
  .checkout__aside .trust { display: none; }
}
@media (max-width: 560px) {
  .logo { font-size: 1rem; gap: 8px; }
  .logo__mark { width: 30px; height: 30px; }
  .header .btn--sm { padding: 0 16px; font-size: .9rem; }
}
@media (max-width: 420px) {
  .fan__badge { width: 86px; height: 86px; font-size: .62rem; }
  .fan__badge b { font-size: 1.7rem; }
  .price-new { font-size: 2.6rem; }
  .channel__tag { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 360px) {
  .logo { font-size: .9rem; gap: 6px; }
  .logo__mark { width: 26px; height: 26px; }
  .header .btn--sm { padding: 0 12px; }
}
