/* ==========================================================
   «Тёплый дом» — светлый романтичный лендинг
   public/css/landing.css
   ========================================================== */
:root {
    --cream: #fffaf5;
    --ivory: #fff4f1;
    --blush: #fde9ea;
    --blush-2: #f8d3d9;
    --rose: #d7788c;
    --rose-500: #c9627a;
    --rose-600: #b04e67;
    --gold: #c8a165;
    --sage: #f1f6ef;
    --sage-2: #a9c1ad;
    --sage-600: #5f8068;
    --ink: #4a3840;
    --muted: #7a666d;
    --white: #fff;
    --line: rgba(201, 98, 122, .16);
    --shadow: 0 14px 44px rgba(176, 78, 103, .10);
    --shadow-lg: 0 24px 70px rgba(176, 78, 103, .18);
    --radius: 24px;
    --header-h: 76px;
    --font-head: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--rose-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-500); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(201, 98, 122, .55); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 300; }
.skip-link:focus { left: 8px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.text-center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 2px solid transparent; border-radius: 999px;
    padding: 14px 30px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--rose-500), var(--rose-600)); box-shadow: 0 10px 26px rgba(176, 78, 103, .32); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 34px rgba(176, 78, 103, .42); }
.btn--ghost { color: var(--rose-600); background: rgba(255, 255, 255, .6); border-color: var(--rose-500); }
.btn--ghost:hover { background: var(--white); color: var(--rose-600); }
.btn--light { color: var(--rose-600); background: #fff; }
.btn--light:hover { color: var(--rose-600); }
.btn--sm { padding: 10px 22px; font-size: 15px; }
.btn--lg { padding: 17px 38px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--pulse { animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(176, 78, 103, .32), 0 0 0 0 rgba(201, 98, 122, .35); }
    50%      { box-shadow: 0 10px 26px rgba(176, 78, 103, .32), 0 0 0 14px rgba(201, 98, 122, 0); }
}
.link-btn { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--rose-600); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255, 250, 245, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.header.is-scrolled { background: rgba(255, 250, 245, .96); border-color: var(--line); box-shadow: 0 6px 30px rgba(176, 78, 103, .08); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav--left { justify-content: flex-start; }
.nav__link { position: relative; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--rose-500); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav__link:hover, .nav__link.is-active { color: var(--rose-600); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link--cabinet { color: var(--muted); }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--ink); }
.logo__sub { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu { display: none; padding: 8px 20px 24px; background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(176, 78, 103, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu__nav { display: flex; flex-direction: column; margin-bottom: 16px; }
.mobile-menu__link { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 80px; background:
    radial-gradient(900px 500px at 85% 10%, rgba(248, 211, 217, .75), transparent 60%),
    radial-gradient(700px 480px at 0% 90%, rgba(169, 193, 173, .35), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--cream)); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-600); }
.hero__title { font-size: clamp(2.7rem, 6vw, 4.9rem); letter-spacing: -.01em; margin-bottom: .35em; }
.hero__title em { font-style: italic; color: var(--rose-500); font-weight: 500; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero__actions--center { justify-content: center; margin-bottom: 0; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts li { background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 18px; padding: 12px 22px; display: flex; flex-direction: column; min-width: 110px; }
.hero__facts strong { font-family: var(--font-head); font-size: 1.7rem; line-height: 1.1; color: var(--rose-600); }
.hero__facts span { font-size: 13px; color: var(--muted); }
.hero__art { display: flex; justify-content: center; }
.hero__svg { width: min(440px, 100%); height: auto; filter: drop-shadow(0 26px 40px rgba(176, 78, 103, .18)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -30px; width: 14px; height: 14px; background: linear-gradient(135deg, #f7c6cf, #e58aa0); border-radius: 150% 0 150% 0; opacity: .55; animation: fall linear infinite; }
@keyframes fall {
    0%   { transform: translate3d(0, -30px, 0) rotate(0deg); }
    50%  { transform: translate3d(40px, 45vh, 0) rotate(180deg); }
    100% { transform: translate3d(-20px, 105vh, 0) rotate(360deg); }
}

/* ---------- секции ---------- */
.section { padding: 100px 0; position: relative; }
.section--blush { background: linear-gradient(180deg, #fff3f0, var(--blush)); }
.section--sage { background: linear-gradient(180deg, #f6faf4, var(--sage)); }
.section--intro { background: var(--cream); }
.section__head { max-width: 760px; margin: 0 auto 52px; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section__title::after { content: ''; display: block; width: 70px; height: 10px; margin: 18px auto 0; background:
    radial-gradient(circle at 5px 5px, var(--rose-500) 4px, transparent 5px) 0 0 / 14px 10px repeat-x; opacity: .7; }
.text-center .section__title::after { margin-inline: auto; }
.section__title:not(.text-center *)::after { margin-left: 0; }
.section__lead, .lead { font-size: 1.15rem; color: var(--muted); }
.note { margin: 40px auto 28px; max-width: 640px; color: var(--muted); }

.quote { margin: 40px auto 0; padding: 34px 38px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); font-family: var(--font-head); font-size: 1.55rem; font-style: italic; line-height: 1.35; position: relative; }
.quote::before { content: '“'; position: absolute; left: 22px; top: -8px; font-size: 90px; color: var(--blush-2); font-family: var(--font-head); line-height: 1; }
.quote cite { display: block; margin-top: 14px; font-size: 1rem; font-style: normal; font-family: var(--font-body); color: var(--muted); }

/* ---------- карточки ---------- */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card--center { text-align: center; }
.card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--blush), #fff1dc); font-size: 28px; }
.card__title { font-size: 1.5rem; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }

/* ---------- эксперт ---------- */
.expert { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.expert__frame { border-radius: 220px 220px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; background: var(--blush); max-width: 440px; margin-inline: auto; }
.expert__frame img, .expert__frame svg { width: 100%; height: auto; }
.expert__role { color: var(--rose-600); font-weight: 700; margin-bottom: 18px; }
.expert__sub { font-size: 1.6rem; margin-top: 24px; }
.check-list { list-style: none; margin: 18px 0 28px; }
.check-list li { position: relative; padding: 6px 0 6px 34px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--rose-500); box-shadow: inset 0 0 0 5px #fff, 0 0 0 2px var(--rose-500); }
.check-list--center { display: inline-block; text-align: left; margin: 10px 0 26px; }

/* ---------- модули ---------- */
.modules { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 70px; }
.module { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid rgba(95, 128, 104, .22); box-shadow: 0 10px 34px rgba(95, 128, 104, .10); transition: transform .3s; }
.module:hover { transform: translateY(-6px); }
.module__num { display: block; font-family: var(--font-head); font-size: 2.8rem; line-height: 1; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.module__title { font-size: 1.35rem; }
.module p { color: var(--muted); font-size: 15.5px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: #fff; border-radius: 32px; padding: 48px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.split__title { font-size: 2rem; }
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__n { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--rose-500); color: #fff; font-weight: 700; }

.outcomes { list-style: none; display: grid; gap: 14px; margin-bottom: 40px; }
.outcomes li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px 20px 64px; box-shadow: var(--shadow); font-size: 1.05rem; }
.outcomes li::before { content: '♥'; position: absolute; left: 24px; top: 50%; transform: translateY(-50%); color: var(--rose-500); font-size: 22px; }

/* ---------- пробный урок ---------- */
.section--trial { padding: 40px 0; }
.trial { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; border-radius: 36px; background: linear-gradient(135deg, #fde3e7, #fff0dc); border: 1px solid var(--line); box-shadow: var(--shadow); }
.trial .section__title { margin-bottom: .3em; }
.trial .section__title::after { margin-left: 0; }
.trial p:last-child { margin: 0; color: var(--muted); max-width: 520px; }

/* ---------- цена ---------- */
.price-card { text-align: center; background: #fff; border-radius: 36px; padding: 52px 40px; border: 2px solid rgba(201, 98, 122, .28); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--rose-500), var(--gold), var(--sage-2)); }
.price-card__name { font-weight: 700; color: var(--rose-600); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.price-card__price { font-family: var(--font-head); font-size: clamp(3.4rem, 8vw, 5rem); font-weight: 700; line-height: 1; margin-bottom: 6px; color: var(--ink); }
.price-card__access { color: var(--muted); margin-bottom: 18px; }
.price-card__pay { font-size: 14px; color: var(--muted); margin: 16px 0 6px; }
.price-card__guarantee { margin: 14px 0 0; padding: 12px 18px; border-radius: 16px; background: var(--sage); color: #3f5c48; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 6px 22px rgba(176, 78, 103, .06); overflow: hidden; }
.faq__q { margin: 0; font-family: var(--font-body); font-size: 1rem; }
.faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq__btn i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blush); transition: transform .3s, background .3s; }
.faq__btn i::before, .faq__btn i::after { content: ''; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; background: var(--rose-600); transition: transform .3s; }
.faq__btn i::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] i { background: var(--rose-500); }
.faq__btn[aria-expanded="true"] i::before, .faq__btn[aria-expanded="true"] i::after { background: #fff; }
.faq__btn[aria-expanded="true"] i::after { transform: rotate(0); }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------- финал ---------- */
.final { padding: 96px 0; text-align: center; color: #fff; background:
    radial-gradient(600px 300px at 15% 20%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(135deg, #cf6f86, #b04e67); }
.final__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.final p { font-size: 1.15rem; opacity: .95; }
.final .hero__actions { margin-top: 28px; }

/* ---------- подвал ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer__brand p { color: var(--muted); margin-top: 14px; max-width: 320px; }
.footer__h { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-600); margin-bottom: 14px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { color: var(--ink); text-decoration: none; }
.footer__col a:hover { color: var(--rose-600); text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: var(--rose-600); transition: transform .2s, background .2s, color .2s; }
.socials a:hover { background: var(--rose-500); color: #fff; transform: translateY(-3px); text-decoration: none; }
.socials svg { width: 22px; height: 22px; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.footer__bottom p { margin: 0; }
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 80; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--rose-600); text-decoration: none; font-size: 22px; font-weight: 700; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- липкая кнопка / cookie ---------- */
.sticky-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(176, 78, 103, .28); border: 1px solid var(--line); transform: translateY(140%); transition: transform .4s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta strong { display: block; line-height: 1.2; }
.sticky-cta span { font-size: 12px; color: var(--muted); }

.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 460px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 13.5px; }
.cookie p { margin: 0; color: var(--muted); }

/* ---------- модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(74, 56, 64, .45); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(600px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--cream); border-radius: 32px; padding: 40px 40px 34px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.98); transition: transform .35s ease; }
.modal__box--sm { width: min(480px, 100%); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blush); color: var(--rose-600); font-size: 26px; line-height: 1; }
.modal__title { font-size: 2.2rem; margin-bottom: .2em; padding-right: 40px; }
.modal__lead { color: var(--muted); margin-bottom: 20px; }

.form { display: grid; gap: 14px; }
.notice { padding: 14px 16px; border-radius: 16px; background: #fff6e6; border: 1px solid #f0dcb4; font-size: 14px; line-height: 1.5; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #ecd5d9; background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--rose-500); box-shadow: 0 0 0 4px rgba(201, 98, 122, .15); }
.field.has-error input[type="text"], .field.has-error input[type="email"], .field.has-error input[type="tel"] { border-color: #d64545; }
.field__error { margin: 6px 0 0; font-size: 13px; color: #c13232; min-height: 0; }
.field__error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.field--check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rose-500); }
.pay { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.pay label { flex: 1; min-width: 150px; cursor: pointer; }
.pay input { position: absolute; opacity: 0; }
.pay span { display: block; padding: 12px 14px; text-align: center; border-radius: 14px; border: 1.5px solid #ecd5d9; background: #fff; font-weight: 600; font-size: 14.5px; transition: .2s; }
.pay input:checked + span { border-color: var(--rose-500); background: var(--blush); color: var(--rose-600); }
.pay input:focus-visible + span { outline: 3px solid rgba(201, 98, 122, .55); outline-offset: 2px; }
.form__status { margin: 0; text-align: center; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--sage-600); }
.form__status.is-err { color: #c13232; }
.form__hint { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.form.is-loading button[type="submit"] { opacity: .65; pointer-events: none; }
.form.is-done .field, .form.is-done .notice, .form.is-done .pay, .form.is-done button[type="submit"], .form.is-done .form__hint { display: none; }

/* ---------- появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1240px) {
    .nav { gap: 20px; }
    .header__right { gap: 16px; }
}
@media (max-width: 1140px) {
    .nav { display: none; }
    .header__inner { grid-template-columns: 1fr auto; }
    .logo { order: -1; }
    .burger { display: block; }
    .mobile-menu:not([hidden]) { display: block; }
    .header__cta { display: none; }
}
@media (max-width: 1000px) {
    .grid--4, .modules { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .hero__grid, .expert, .split { grid-template-columns: 1fr; }
    .hero__art { order: -1; }
    .hero__svg { width: min(300px, 70%); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .trial { flex-direction: column; text-align: center; padding: 40px 28px; }
    .trial .section__title::after { margin-inline: auto; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .section { padding: 68px 0; }
    .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 56px; }
    .grid--4, .grid--3, .modules, .footer__grid, .field-row { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
    .hero__facts li { flex: 1; min-width: 96px; padding: 10px 14px; }
    .split, .price-card { padding: 32px 22px; }
    .modal__box { padding: 32px 22px 26px; border-radius: 26px; }
    .cookie { left: 12px; right: 12px; bottom: 82px; flex-direction: column; align-items: stretch; }
    .sticky-cta { display: flex; }
    .to-top { bottom: 84px; right: 14px; width: 42px; height: 42px; }
    .footer { padding-bottom: 90px; }
    .logo__name { font-size: 24px; }
    .logo__mark { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
