/* ===== Brand tokens (navy · gold · rose · cream) ===== */
:root {
  --bg: #f8f3ea;
  --bg-alt: #f2e7e1;
  --navy: #1f2a44;
  --navy-dark: #16203a;
  --gold: #b8924f;
  --gold-soft: #cda76a;
  --rose: #d8a79f;
  --ink: #232a3a;
  --muted: #6c6f7c;
  --line: #e6d8cd;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --photo-fallback: linear-gradient(150deg, #e9d4cc 0%, #dcb4ab 45%, #c9a08f 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.5; font-weight: 300; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--gold); }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 0.95rem 2rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: all 0.25s ease; border: 1px solid var(--gold); background: var(--gold); color: var(--navy-dark); font-weight: 500; text-align: center; }
.btn--primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--block { display: block; width: 100%; }
.btn--lg { padding: 1.15rem 2.6rem; font-size: 0.92rem; }

/* ===== Top bar ===== */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0.85rem clamp(1.2rem, 5vw, 3rem); background: rgba(31, 42, 68, 0.97); color: var(--bg); }
.topbar__brand { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.topbar__brand em { color: var(--gold-soft); font-style: normal; }
.topbar__cta { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-dark); background: var(--gold); padding: 0.55rem 1.2rem; border-radius: 2px; font-weight: 500; }

/* ===== Hero ===== */
.hero { background:
    radial-gradient(ellipse at 50% -10%, rgba(216,167,159,0.35), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  padding: clamp(1.2rem, 2.5vw, 1.8rem) clamp(1.2rem, 5vw, 3rem) clamp(1.4rem, 3vw, 2.2rem); }
.hero__inner { display: flex; align-items: center; gap: clamp(2rem, 4vw, 4rem); max-width: 1200px; margin: 0 auto; text-align: left; }
.hero__content { flex: 1 1 56%; min-width: 0; }
.hero__photo { flex: 0 0 38%; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.78rem; color: var(--gold); margin-bottom: 1.1rem; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.05; color: var(--navy); }
.hero__lead { color: var(--muted); font-size: 1.18rem; margin: 1rem auto 1.5rem; max-width: 38rem; }
.hero__lead strong { color: var(--navy); font-weight: 500; }
.hero__photo { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; margin: 0; align-self: center; border-radius: 10px; border: 1px solid var(--line); background: var(--photo-fallback); background-image: url("images/hero.jpg"), var(--photo-fallback); background-size: cover; background-position: center 15%; box-shadow: 0 30px 60px -30px rgba(31,42,68,0.5); }

.hero__meta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.8rem 2.5rem; margin-bottom: 1.4rem; padding: 0.9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__meta-item span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.hero__meta-item strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); }

/* ===== Signup form ===== */
.signup { display: flex; gap: 0.7rem; max-width: 34rem; margin: 0 auto; flex-wrap: wrap; }
.signup input { flex: 1 1 9rem; font-family: var(--sans); font-size: 1rem; padding: 0.95rem 1rem; border: 1px solid var(--line); border-radius: 3px; background: var(--white); color: var(--ink); }
.signup input:focus { outline: none; border-color: var(--gold); }
.signup .btn { flex: 1 1 100%; }
.signup--stack { flex-direction: column; }
.signup--stack input { flex: 1 1 auto; }
.signup__note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }
.signup__note--center { text-align: center; }

/* ===== Sections ===== */
.section { padding: clamp(1.3rem, 3vw, 2.2rem) clamp(1.2rem, 5vw, 3rem); max-width: var(--max); margin: 0 auto; }
.section--alt { max-width: none; background: var(--bg-alt); }
.section--alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; color: var(--gold); margin-bottom: 0.8rem; }
.section__eyebrow--center { text-align: center; }
.section__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; color: var(--navy); margin-bottom: 0.8rem; }
.section__title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 22ch; }
.lead { color: var(--muted); font-size: 1.1rem; }
.lead--center { text-align: center; max-width: 44rem; margin: 0 auto; }

/* ===== Pains ===== */
.pains { max-width: 720px; margin: 0 auto; }
.pains__list { list-style: none; }
.pains__list li { position: relative; padding: 0.5rem 0 0.5rem 2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.02rem; }
.pains__list li::before { content: "✕"; position: absolute; left: 0; top: 0.8rem; color: var(--rose); font-size: 0.9rem; }
.pains__close { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--navy); }

/* ===== Takeaways ===== */
.takeaways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.takeaway { background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 1.8rem; }
.takeaway__num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: 0.4rem; }
.takeaway h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.takeaway p { color: var(--muted); font-size: 0.98rem; }

/* ===== Learn (программа) ===== */
.learn { max-width: 1000px; margin: 0 auto; }
.learn__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.6rem; }
.learn__list li { position: relative; padding: 0.5rem 0 0.5rem 2.2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.04rem; }
.learn__list li::before { content: "✦"; position: absolute; left: 0; top: 0.95rem; color: var(--gold); font-size: 0.95rem; }
.learn__list li strong { color: var(--navy); font-weight: 500; }

/* ===== Case box ===== */
.casebox { background: var(--navy); color: var(--bg); border-radius: 8px; padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.casebox__eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; color: var(--gold-soft); margin-bottom: 0.8rem; }
.casebox__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1rem; line-height: 1.2; }
.casebox__text { color: #d6d3cc; max-width: 44rem; margin: 0 auto; }

/* ===== Reviews ===== */
.reviews { columns: 2; column-gap: 1.4rem; max-width: 920px; margin: 0 auto; }
.review { break-inside: avoid; display: inline-block; width: 100%; background: var(--bg-alt); border-left: 3px solid var(--gold); border-radius: 5px; padding: 1.6rem 1.7rem; margin: 0 0 1.4rem; }
.review p { font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.45; color: var(--ink); margin-bottom: 0.9rem; }
.review cite { font-style: normal; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.review--feature { background: var(--navy); border-left-color: var(--gold-soft); }
.review--feature p { color: var(--bg); }
.review--feature cite { color: var(--gold-soft); }

/* ===== Reviews carousel (скриншоты) ===== */
.reviews-note { text-align: center; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--muted); margin: -1.5rem auto 2.2rem; font-style: italic; }
.carousel { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 0.5rem; }
.carousel__track { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.3rem 1.2rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.carousel__track::-webkit-scrollbar { height: 6px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.rev-card { flex: 0 0 290px; height: 350px; scroll-snap-align: start; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 14px 34px -22px rgba(31,42,68,0.5); transition: transform 0.25s ease; }
.rev-card:hover { transform: translateY(-4px); }
.rev-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.carousel__nav { position: absolute; top: 42%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 24px -10px rgba(31,42,68,0.4); transition: background 0.2s, color 0.2s; }
.carousel__nav:hover { background: var(--navy); color: var(--bg); }
.carousel__nav--prev { left: -10px; }
.carousel__nav--next { right: -10px; }

/* ===== Popup «Занять место» ===== */
.popup { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.popup.is-open { display: flex; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(22, 30, 52, 0.6); backdrop-filter: blur(3px); }
.popup__box { position: relative; z-index: 1; background: var(--bg); border-radius: 12px; max-width: 440px; width: 100%; padding: 2.4rem 2rem 2rem; text-align: center; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.5); border-top: 4px solid var(--gold); animation: popup-in 0.35s ease; }
@keyframes popup-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.popup__close { position: absolute; top: 0.6rem; right: 0.9rem; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.popup__close:hover { color: var(--navy); }
.popup__eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; color: var(--gold); margin-bottom: 0.7rem; }
.popup__title { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.15; color: var(--navy); margin-bottom: 0.8rem; }
.popup__text { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.4rem; }
.popup__note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }

/* ===== Final CTA meta ===== */
.finalcta__meta { text-align: center; font-size: 0.92rem; letter-spacing: 0.04em; color: var(--gold); margin-bottom: 1.4rem; font-weight: 400; }

/* ===== About ===== */
.section--split { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(2rem, 6vw, 4rem); }
.about__media { aspect-ratio: 4 / 5; border-radius: 5px; border: 1px solid var(--line); background: var(--photo-fallback); background-image: url("images/about.jpg"), var(--photo-fallback); background-size: cover; background-position: center 18%; box-shadow: 0 26px 50px -30px rgba(31,42,68,0.45); }
.about__text p { color: var(--muted); margin-bottom: 0.6rem; }
.about__text strong { color: var(--ink); font-weight: 500; }
.about__pull { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--navy); border-left: 3px solid var(--gold); padding-left: 1.1rem; margin-top: 1.4rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 1.6rem); }
.step { text-align: center; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.9rem; }
.step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.step p { color: var(--muted); }

/* ===== Bonus ===== */
.bonus { background: var(--navy); color: var(--bg); border-radius: 8px; padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.bonus__eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; color: var(--gold-soft); margin-bottom: 0.8rem; }
.bonus__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.bonus__text { color: #d6d3cc; max-width: 40rem; margin: 0 auto; }

/* ===== Final CTA ===== */
.section--cta { background: var(--bg-alt); max-width: none; }
.section--cta > * { max-width: var(--max); margin: 0 auto; }
.finalcta { max-width: 640px; margin: 0 auto; }
.finalcta__push { text-align: center; margin-bottom: 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.finalcta__big { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; color: var(--navy); margin-bottom: 0.9rem; }
.finalcta__push p { color: var(--ink); }
.finalcta .lead { margin-bottom: 1.8rem; }

/* ===== Footer ===== */
.footer { text-align: center; padding: 2.6rem 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; background: var(--bg); }
.footer__brand { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: 0.3rem; }

/* ===== Badges ===== */
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-start; margin-bottom: 1.4rem; }
/* Левое выравнивание элементов в левой колонке hero */
.hero__content .countdown { justify-content: flex-start; }
.hero__content .countdown__label { text-align: left; }
.badge { font-size: 0.74rem; letter-spacing: 0.06em; padding: 0.4rem 0.9rem; border-radius: 100px; font-weight: 500; }
.badge--free { background: var(--gold); color: var(--navy-dark); text-transform: uppercase; letter-spacing: 0.12em; }
.badge--trust { background: rgba(31,42,68,0.07); color: var(--navy); border: 1px solid var(--line); }

/* ===== Countdown ===== */
.countdown__label { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--gold); margin-bottom: 0.7rem; text-align: center; }
.countdown { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.cd__unit { background: var(--navy); color: var(--bg); border-radius: 6px; padding: 0.8rem 0.4rem; min-width: 74px; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.cd__num { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.cd__lbl { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.cd__live { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); }

/* ===== Pains hook ===== */
.pains__hook { text-align: center; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--gold); margin-top: 1.3rem; }

/* ===== Repeated centered CTA ===== */
.cta-center { text-align: center; margin-top: 1.5rem; }

/* ===== Exclusive line ===== */
.exclusive { background: rgba(184,146,79,0.12); border: 1px solid var(--gold); border-radius: 6px; padding: 1rem 1.2rem; color: var(--ink); font-size: 0.98rem; margin-bottom: 1.2rem; }
.exclusive strong { color: var(--navy); }

/* ===== Stats ===== */
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat__lbl { font-size: 0.85rem; color: var(--muted); }

/* ===== Sticky bottom bar ===== */
body { padding-bottom: 0; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem clamp(1rem, 5vw, 3rem); background: rgba(31,42,68,0.98); color: var(--bg); box-shadow: 0 -8px 30px -12px rgba(0,0,0,0.4); transform: translateY(110%); transition: transform 0.35s ease; }
.stickybar.is-visible { transform: translateY(0); }
.stickybar__info { display: flex; align-items: center; gap: 1.2rem; min-width: 0; }
.stickybar__title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.countdown--mini { margin: 0; gap: 0.35rem; }
.countdown--mini .cd__unit { background: rgba(255,255,255,0.1); padding: 0.3rem 0.45rem; min-width: 44px; border-radius: 4px; }
.countdown--mini .cd__num { font-size: 1.1rem; }
.countdown--mini .cd__lbl { font-size: 0.5rem; }
.stickybar .btn { white-space: nowrap; padding: 0.7rem 1.4rem; font-size: 0.74rem; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .hero__inner { flex-direction: column; text-align: center; }
  .hero__content { flex: 1 1 auto; }
  .hero__photo { order: -1; flex: none; max-width: 300px; margin: 0 auto 1.4rem; }
  .hero__badges, .hero__meta { justify-content: center; }
  .hero__content .countdown { justify-content: center; }
  .hero__content .countdown__label { text-align: center; }
  .learn__list { grid-template-columns: 1fr; }
  .carousel__nav { top: auto; bottom: -8px; transform: none; width: 40px; height: 40px; font-size: 1.3rem; }
  .carousel__nav--prev { left: 30%; }
  .carousel__nav--next { right: 30%; }
  .carousel { padding-bottom: 2.5rem; }
  .takeaways { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section--split { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; margin: 0 auto; order: -1; }
}
@media (max-width: 600px) {
  .rev-card { flex-basis: 78vw; max-width: 320px; }
  .cd__unit { min-width: 62px; padding: 0.6rem 0.3rem; }
  .cd__num { font-size: 1.6rem; }
  .stickybar__title { display: none; }
  .countdown--mini { display: none; }
  .stickybar { justify-content: stretch; }
  .stickybar .btn { flex: 1; }
}
