/* Вид — по макету Codex 24.11 (results/T43-codex/mockup-mobile.png), черновой вариант.
   Кнопки — фирменный градиент сайта (Button/style.tsx, PRIMARY_GRADIENT_BACKGROUND). Шрифт — Golos Text, как на сайте. */
@font-face { font-family: "Golos Text"; src: url("fonts/GolosText-Regular.woff2") format("woff2"), url("fonts/GolosText-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("fonts/GolosText-SemiBold.woff2") format("woff2"), url("fonts/GolosText-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("fonts/GolosText-Bold.woff2") format("woff2"), url("fonts/GolosText-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
/* Акцентная антиква кампании «Огненная Коза» — только в шапке (T47). Playfair Display, лицензия OFL. */
@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-700-cyr.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; src: url("fonts/PlayfairDisplay-700-lat.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
/* Подпись под заголовком шапки — Jost, лицензия OFL. */
@font-face { font-family: "Jost"; src: url("fonts/Jost-600-cyr.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; src: url("fonts/Jost-600-lat.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #faf7f4; --card: #fff; --ink: #2b1f2e; --muted: #75697a; --line: #ece4dd;
  --soft: #f4ede7; --plum: #3a1e3d; --coral: #fe8272;
  --cta: linear-gradient(135deg, #F6735F 0%, #EA5E83 100%);
  --ok: #2f8a4f; --later: #9a6b2a;
  --shadow: 0 1px 2px rgba(58, 30, 61, .05), 0 6px 18px rgba(58, 30, 61, .06);
  --r: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { background: var(--bg); overflow-x: hidden; }
body {
  margin: 0; color: var(--ink);
  font: 16px/1.45 "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body.is-locked { overflow: hidden; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, p { margin: 0; }

/* шапка — розовая плашка, цвет взят с рисунка козы */
.hero { position: relative; background: #fdcdd4; overflow: hidden; }
.hero__toys { display: none; }
@media (min-width: 1360px) {
  .hero__toys { display: block; position: absolute; inset: 0; pointer-events: none; }
  .toy { position: absolute; top: 0; height: auto; transform-origin: 50% 0; animation: toy-sway 6s ease-in-out infinite; }
  .toy--1 { left: max(24px, calc(50% - 670px)); width: 70px; }
  .toy--3 { left: calc(50% + 0px); width: 80px; animation-delay: -2s; }
  .toy--2 { right: max(96px, calc(50% - 600px)); width: 76px; animation-delay: -4s; }
  .toy--4 { right: max(28px, calc(50% - 680px)); width: 34px; animation-delay: -1s; }
}
@keyframes toy-sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.hero__in { position: relative; max-width: 560px; margin: 0 auto; padding: 0 16px 20px; }
.hero__goat { position: absolute; top: -8px; right: -12px; width: 175px; pointer-events: none; }
.hero__goat > img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
/* Мерцание звёзд вокруг козы: по одной, редко, едва заметно */
.hero__goat .twinkle { position: absolute; height: auto; animation: twinkle 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 0%, 70%, 100% { transform: scale(1); filter: none; } 80% { transform: scale(1.14) rotate(8deg); filter: brightness(1.18) drop-shadow(0 0 4px rgba(255,255,255,.85)); } }
.top { position: relative; padding: max(16px, env(safe-area-inset-top)) 0 6px; }
.top__logo { display: block; height: 28px; width: auto; }
.hero .badge { padding: 0; border-radius: 0; background: none; color: var(--plum); font-size: 11px; font-weight: 400; letter-spacing: .18em; }
.hero .badge::after { content: ""; display: block; width: 36px; height: 1px; margin-top: 8px; background: currentColor; opacity: .5; }
/* Заголовок шапки как на открытке: крупные прописные антиквой, тонкая линия, мелкая подпись прописными (T47, 30.11) */
.hero h1 { margin-top: 12px; }
.h1-main { display: block; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 22px; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; color: var(--plum); }
.h1-accent { display: block; font-family: "Jost", "Golos Text", sans-serif; font-weight: 600; font-size: 13px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #d9282f; }
.h1-accent::before { content: ""; display: block; width: 40px; height: 1px; margin: 12px 0; background: currentColor; opacity: .6; }
/* вариант «вся страница в один тон» — для сравнения */
.hero--cream { background: #faf5f2; }
.hero h1 { max-width: 62%; }
.hero .lead { margin-top: 14px; color: #5e3f52; }

.page { max-width: 560px; margin: 0 auto; padding: 0 16px 48px; }
.sec { padding: 18px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec--hero { padding-top: 10px; position: relative; }
/* блок «Ваш подарок» — светло-розовая подложка во всю ширину: праздник продолжается после шапки */
#giftsSec { background: #fdeef1; box-shadow: 0 0 0 100vmax #fdeef1; clip-path: inset(0 -100vmax); }
#giftsSec + .sec { border-top: 0; }
#giftsSec { position: relative; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
h1 { margin: 10px 0 6px; font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--plum); letter-spacing: -.01em; }
h2 { margin-bottom: 12px; font-size: 20px; line-height: 1.2; font-weight: 700; color: var(--plum); }
.lead { color: var(--muted); font-size: 15px; }
.lead--small { font-size: 14px; margin: -6px 0 12px; }
.muted { color: var(--muted); font-size: 14px; }

/* подарки */
.gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gift { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 6px 6px 10px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--card); text-align: left; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.gift__pic { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #f7eee8, #efe3db); margin-bottom: 6px; }
.gift__pic { position: relative; }
.gift__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Анимация выбранного подарка: слои вырезаны из той же картинки */
.gift__pic .fx { position: absolute; inset: 0; }
.gift[aria-checked="true"] .fx--star { animation: starGlow 2.6s ease-in-out infinite; }
@keyframes starGlow { 0%, 100% { filter: drop-shadow(0 0 1px rgba(255,236,170,.6)); } 50% { filter: brightness(1.12) drop-shadow(0 0 4px rgba(255,244,200,1)) drop-shadow(0 0 12px rgba(255,214,110,.95)); } }
.gift.is-play .fx--coins { animation: coinsHop .7s cubic-bezier(.3,.7,.4,1) 1; }
@keyframes coinsHop { 0% { transform: translateY(0); } 35% { transform: translateY(-9%); } 60% { transform: translateY(0); } 78% { transform: translateY(-3%); } 100% { transform: translateY(0); } }
.fx--move { transform-origin: 49.53% 57.09%; transition: transform .5s cubic-bezier(.34,1.8,.5,1); }
.gift[aria-checked="true"] .fx--move { transform: rotate(5deg); }
.gift__title { padding: 0 4px; font-size: 14px; line-height: 1.2; font-weight: 700; color: var(--plum); }
.gift__hint { padding: 0 4px; color: var(--muted); font-size: 12px; line-height: 1.25; }
.gift__hint { margin-bottom: 8px; }
.gift__radio { align-self: center; flex-shrink: 0; width: 22px; height: 22px; margin-top: auto; border: 1.5px solid #cfc4ba; border-radius: 50%; background: #fff; transition: border-color .15s; }
.gift[aria-checked="true"] { border-color: var(--plum); }
.gift[aria-checked="true"] .gift__radio { border-color: var(--plum); background: radial-gradient(circle, var(--plum) 0 5px, #fff 5.5px); }
.gift:focus-visible, .btn:focus-visible, .link:focus-visible { outline: 3px solid #e9b3a8; outline-offset: 2px; }

.teaser, .ready { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; margin-top: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.teaser__card { position: relative; height: 92px; border-radius: 12px; overflow: hidden; background: #f3e6df; }
.teaser__card img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(4px) saturate(1.1); transform: scale(1.12); }
.teaser__lock { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--plum); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.teaser__title, .ready__title { font-weight: 700; color: var(--plum); line-height: 1.3; }
.teaser__note, .ready__note { margin-top: 4px; color: var(--muted); font-size: 14px; }
.ready__card { height: 92px; border-radius: 12px; display: grid; place-items: center; background: var(--plum); color: #fff; font-size: 28px; }

/* эксперты — как карточка каталога сайта (widgets/adviser-card, замер 26.11 на 390 px) */
.experts { display: grid; gap: 16px; }
.expert { position: relative; display: grid; border: 1px solid #e4dcd4; border-radius: 20px; background: #fff; overflow: hidden; color: #1a1715; }
.expert__media { position: relative; display: block; height: 380px; background: #1c1c1d; color: #fff; text-decoration: none; }
.expert__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.expert__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.expert__status { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px 6px 30px; border: 1px solid #fff; border-radius: 999px; background: rgba(255,255,255,.65); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); color: #1a1715; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.expert__status > i { position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #00a166; box-shadow: 0 0 0 4px rgba(0,161,102,.28); }
.expert__status.is-later > i { background: #b98a3e; box-shadow: 0 0 0 4px rgba(185,138,62,.25); }
.expert__head { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: grid; gap: 6px; }
.expert__name { font-size: 21px; font-weight: 600; line-height: 1.3; }
.expert__specs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.2; }
.expert__specs b { font-weight: 600; }
.dot-sep { display: inline-block; flex-shrink: 0; width: 4px; height: 4px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.expert__content { display: grid; gap: 8px; padding: 16px; }
.expert__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; color: #6e655d; font-size: 14px; font-weight: 500; line-height: 1.2; }
.expert__stats em { font-style: normal; font-weight: 600; color: #e472ad; }
.expert__style { color: #6e655d; font-size: 14px; font-weight: 500; line-height: 1.2; }
.expert__style ul { margin: 0; padding-left: 18px; }
.expert__style p { margin: 0 0 4px; }
.expert__review { margin-top: 4px; padding: 8px 12px; border-radius: 12px; background: rgba(253,244,248,.6); }
.expert__review p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #1a1715; font-size: 14px; font-weight: 500; line-height: 1.2; }
.expert__review b { color: #6e655d; font-weight: 600; }
.expert__review small { display: block; margin-top: 6px; color: #6e655d; font-size: 12px; line-height: 1.2; }
.expert__divider { height: 1px; margin: 4px 0; background: #e4dcd4; }
.expert__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.expert__free { padding: 8px 10px; border-radius: 999px; background: #e4f3ed; color: #007a51; font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.expert__chip { font-weight: 600; }
.expert__btn { width: 100%; height: 50px; margin-top: 4px; border: 1px solid #181819; border-radius: 999px; background: #181819; color: #fff; font-size: 15px; font-weight: 500; }
.empty { display: grid; gap: 6px; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--card); }

.used { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.used h2 { margin-bottom: 6px; }

/* кнопки: главные — фирменный градиент сайта */
.btn { display: block; width: 100%; margin-top: 10px; padding: 14px; border: 1px solid #181819; border-radius: 999px; background: #181819; color: #fff; font-weight: 500; text-align: center; text-decoration: none; }
.btn--ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.link { display: block; width: 100%; margin-top: 10px; padding: 8px; border: 0; background: none; color: var(--muted); font-size: 14px; text-align: center; text-decoration: underline; }

/* шторка */
.overlay { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(43, 31, 46, .45); }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; padding: 24px 16px max(20px, env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--card); }
.sheet h2 { padding-right: 44px; font-size: 22px; margin-bottom: 6px; }
.sheet .lead { margin-bottom: 8px; }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); font-size: 24px; line-height: 1; }

/* служебные экраны */
.screen { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); }
.screen__box { width: 100%; max-width: 420px; text-align: center; }
.screen__box h2 { margin-bottom: 8px; }
.screen__box p { margin-bottom: 6px; }
.spinner { width: 36px; height: 36px; margin: 0 auto 14px; border: 3px solid var(--line); border-top-color: var(--coral); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-top-color: var(--line); } .hero__goat .twinkle, .toy, .gift .fx { animation: none !important; transition: none !important; } }

@media (max-width: 380px) {
  .h1-main { font-size: 20px; }
  .hero__goat { width: 160px; right: -14px; }
  .hero h1 { max-width: 64%; }
}

@media (max-width: 719px) {
  .hero .lead { margin-top: 26px; }
}

@media (min-width: 720px) {
  .h1-main { font-size: 30px; }
  .h1-accent { font-size: 15px; }
  h1 { font-size: 34px; }
  .hero__in { max-width: 720px; }
  .hero__in { min-height: 350px; }
  .hero__goat { width: 250px; top: 0; right: 0; }
  .hero h1, .hero .lead { max-width: 62%; }
  .overlay { align-items: center; }
  .sheet { max-width: 420px; border-radius: 22px; }
}

/* компьютер: широкая шапка, подарки и закрытая карта в ряд, эксперты сеткой как в каталоге */
@media (min-width: 1024px) {
  .hero__in, .page { max-width: 1120px; padding-left: 32px; padding-right: 32px; }
  .hero__in { padding-bottom: 48px; min-height: 480px; }
  .hero__goat { width: 360px; top: 0; right: 40px; }
  .top { padding-top: 28px; }
  .sec--hero { padding-top: 36px; }
  .hero h1 { max-width: 620px; font-size: 52px; line-height: 1.08; }
  .h1-main { font-size: 52px; }
  .h1-accent { font-size: 20px; }
  .h1-accent::before { width: 64px; margin: 18px 0; }
  .hero .lead { max-width: 560px; margin-top: 22px; font-size: 18px; }
  .sec { padding: 32px 0; }
  h2 { font-size: 28px; margin-bottom: 18px; }
  #giftsSec > .gifts { gap: 16px; }
  #giftsSec > .teaser, #giftsSec > .ready { margin-top: 16px; grid-template-columns: 196px 1fr; gap: 24px; padding: 14px; }
  #giftsSec > .teaser .teaser__card { height: 160px; }
  .teaser__title { font-size: 20px; }
  .teaser__note { font-size: 16px; }
  .gift { padding: 10px 10px 14px; }
  .gift__title { font-size: 17px; }
  .gift__hint { font-size: 14px; }
  .lead--small { font-size: 16px; margin-top: -10px; }
  .experts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  #moreBtn { max-width: 360px; margin: 20px auto 0; }
}

/* ===== T49: оформление этапов (визуал, 30.11) ===== */
/* строки под заголовком шапки */
.hero__free { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.55); color: var(--plum); font-family: "Jost", "Golos Text", sans-serif; font-weight: 600; font-size: 12px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.hero__free::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; background: #1f8a5b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* короткий заголовок (участник, «акция для новых»): шапка не короче козы */
@media (max-width: 719px) {
  .sec--hero:has(#heroBadge[hidden]) h1 { min-height: 120px; }
}

/* «Ваш подарок» (получен) */
.ready { grid-template-columns: 112px 1fr; align-items: center; }
.ready__card { position: relative; width: 112px; height: 112px; overflow: hidden; background: #f3e6df; }
.ready__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ready__card span { color: var(--plum); }
.ready > div:last-child { min-width: 0; }
.ready__title { font-size: 16px; }
.ready .btn { width: auto; display: inline-block; margin-top: 10px; padding: 10px 22px; }
#myGiftSec .ready { margin-top: 0; }

/* заглушка «Подарок 4» */
.gift__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(58,30,61,.28); font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 40px; background: repeating-linear-gradient(135deg, #f6ece6 0 10px, #f1e5de 10px 20px); }

/* блок «ждёт вас»: подарок выбран / готовится / не состоялась */
.teaser__title { font-size: 16px; }

/* участник после оплаты: под подарком одна кнопка, без пустой карточки */
.used:has(#oldTitle[hidden]):has(#oldLead[hidden]) { padding: 0; border: 0; background: none; box-shadow: none; }
.used:has(#oldTitle[hidden]):has(#oldLead[hidden]) .btn { margin-top: 0; }
#myGiftSec:not([hidden]) + #giftsSec[hidden] + #usedBox { border-top: 0; padding-top: 0; }
/* «акция для новых»: текст и кнопка */
.used .lead { margin-bottom: 4px; }

/* шторка «Запись к эксперту» */
.sheet__expert { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-right: 44px; }
.sheet__expert img { flex-shrink: 0; width: 56px; height: 56px; margin: 0 !important; float: none !important; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fdcdd4; }
.sheet__expert h2 { margin: 0 0 2px; padding: 0; font-size: 20px; line-height: 1.2; }
.sheet__free { color: #1f8a5b; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sheet .btn--ghost { margin-top: 8px; padding: 13px; border-color: #e4dcd4; font-weight: 600; }
.sheet .btn--ghost:hover { border-color: var(--plum); }
.sheet__note { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.4; text-align: center; }
#usedBox { padding-top: 24px; }
@media (min-width: 720px) {
  .used .btn { max-width: 360px; }
  .ready { grid-template-columns: 160px 1fr; gap: 24px; padding: 14px; }
  .ready__card { width: 160px; height: 160px; }
  .ready__title { font-size: 20px; }
  .ready__note { font-size: 16px; }
}

/* ===== Шапки этапов (Оля 01.12): скидка 40% (gift_ready, used) — зелёная; «уже платил» (paid) — сливовая; новички — розовая ===== */
.hero__goat--offer, .hero__goat--paid { display: none; }
:is([data-stage="gift_ready"], [data-stage="used"]) .hero { background: #013624; }
[data-stage="paid"] .hero { background: #420117; }
:is([data-stage="gift_ready"], [data-stage="used"], [data-stage="paid"]) .hero__goat:not(.hero__goat--offer):not(.hero__goat--paid) { display: none; }
:is([data-stage="gift_ready"], [data-stage="used"]) .hero__goat--offer { display: block; }
[data-stage="paid"] .hero__goat--paid { display: block; }
/* тёмные шапки: светлый текст и белый логотип */
:is([data-stage="gift_ready"], [data-stage="used"], [data-stage="paid"]) .top a { display: inline-block; background: url("aura7-logo-horizontal-light.svg") left center / auto 28px no-repeat; }
:is([data-stage="gift_ready"], [data-stage="used"], [data-stage="paid"]) .top__logo { visibility: hidden; }
:is([data-stage="gift_ready"], [data-stage="used"], [data-stage="paid"]) :is(.hero .badge, .h1-main) { color: #fbeedd; }
:is([data-stage="gift_ready"], [data-stage="used"], [data-stage="paid"]) .h1-accent { color: #f6c9a6; }
:is([data-stage="gift_ready"], [data-stage="used"], [data-stage="paid"]) .hero .lead { color: #f1e2d6; }
/* сливовая коза — крупная голова, внизу уходит за край: прижимаем к низу шапки на телефоне не нужно, ширину чуть больше */
/* −40%: плашка и кнопка на карточках экспертов */
:is([data-stage="gift_ready"], [data-stage="used"]) .expert__free { background: #e1efe8; color: #0d5a3a; }

/* плашка под заголовком (used, paid) */
.hero__plate { position: relative; z-index: 1; margin-top: 16px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
:is([data-stage="used"], [data-stage="paid"]) .hero__plate { background: rgba(255,255,255,.1); color: #f6ebe1; box-shadow: inset 0 0 0 1px rgba(246,201,166,.35); }
.hero__plate b, .hero__plate strong { color: #fff; font-weight: 600; }
@media (max-width: 719px) {
  /* плашка на всю ширину, под козой */
  .hero__plate { clear: both; }
  .sec--hero:has(.hero__plate:not([hidden])) .lead { max-width: 62%; }
}
@media (min-width: 720px) {
  .hero__plate { max-width: 62%; }
}
@media (min-width: 1024px) {
  .hero__plate { max-width: 560px; padding: 14px 18px; font-size: 16px; }
}
/* сливовая коза: шея уходит за край — прижимаем к низу шапки, без растушёвки снизу */
/* сливовая коза — бюст: тело уходит за правый и нижний край экрана, как на открытке, без растушёвки */
.hero__goat--paid > img:first-child { -webkit-mask-image: none; mask-image: none; }
@media (min-width: 1024px) {
  [data-stage="paid"] .hero__goat--paid { top: auto; bottom: 0; right: 40px; }
  [data-stage="paid"] .hero__in { padding-bottom: 32px; }
}

/* телефон/планшет: сливовая коза у правого края, низ уходит под плашку (плашка плотная) */
@media (max-width: 719px) {
  /* низ козы заходит под плотную плашку — среза не видно */
  [data-stage="paid"] .hero__goat--paid { top: auto; bottom: 0; right: -6px; width: 195px; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  [data-stage="paid"] .hero__goat--paid { top: auto; bottom: 0; right: 0; }
}
:is([data-stage="used"], [data-stage="paid"]) .hero__plate { box-shadow: inset 0 0 0 1px rgba(246,201,166,.3); }
[data-stage="used"] .hero__plate { background: #0b4430; }
[data-stage="paid"] .hero__plate { background: #571530; }
@media (max-width: 719px) {
  /* с плашкой заголовку не нужна мин. высота: плашка поднимается и закрывает низ сливовой козы */
  .sec--hero:has(.hero__plate:not([hidden])) h1 { min-height: 0; }
}
/* зелёная коза целиком, с копытами: узкая и высокая — ширина подобрана так, чтобы копыта не уходили под текст и плашку */
.hero__goat--offer { width: 140px; top: 0; right: -4px; }
@media (max-width: 380px) { .hero__goat--offer { width: 130px; } }
@media (min-width: 720px) { .hero__goat--offer { width: 220px; right: 8px; } }
@media (min-width: 1024px) { .hero__goat--offer { width: 315px; top: 4px; right: 60px; } }

/* Вопросы и ответы (02.12): раскрывающиеся строки, одинаковые для всех этапов */
.faq h2 { margin-bottom: 10px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 14px 32px 14px 0; position: relative;
  font-weight: 600; font-size: 16px; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--coral); line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p, .faq__item ul { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.faq__item ul { padding-left: 18px; display: grid; gap: 6px; }

/* Вопросы и ответы по этапу (T54, 02.12). Без data-stage — новичок или не вошёл: видит всё, кроме амулета. */
.faq--ready { display: none; }
html[data-stage="gift_ready"] .faq--ready { display: list-item; }
html[data-stage="gift_ready"] .faq--free,
html[data-stage="used"] .faq--free,
html[data-stage="paid"] .faq--free,
html[data-stage="member"] .faq--free { display: none; }
html[data-stage="paid"] .faq--used,
html[data-stage="member"] .faq--used,
html[data-stage="waiting"] .faq--used,
html[data-stage="preparing"] .faq--used,
html[data-stage="missed"] .faq--used { display: none; }
html[data-stage] .faq--regular { display: none; }
html[data-stage="paid"] .faq--regular,
html[data-stage="new"] .faq--regular { display: block; }

/* Уже платил (03.12): плашки нет, строка под заголовком — на телефоне сужаем её, чтобы не заходила на сливовую козу */
@media (max-width: 719px) {
  [data-stage="paid"] .sec--hero .lead { max-width: 52%; }
}

/* Подписи карточек подарков на компьютере: название шрифтом заголовков, всё по центру (Оля 03.12: «грустненько»). Мобилку не трогаем. */
@media (min-width: 720px) {
  .gift { text-align: center; gap: 4px; padding-bottom: 16px; }
  .gift__pic { margin-bottom: 10px; }
  .gift__title { font-family: "Playfair Display", Georgia, serif; font-size: 19px; line-height: 1.2; }
  .gift__hint { color: var(--ink); opacity: .72; font-size: 14px; margin-bottom: 12px; }
}
@media (min-width: 1024px) {
  .gift__title { font-size: 21px; }
  .gift__hint { font-size: 15px; }
}

/* сливовая шапка (paid) на телефоне: текст-инструкция сразу под «до 31 декабря», без пустого места (Оля 03.12) */
@media (max-width: 719px) {
  [data-stage="paid"] .sec--hero:has(#heroBadge[hidden]) h1 { min-height: 0; }
  [data-stage="paid"] .hero .lead { margin-top: 14px; }
}
