/* MC Landing — Pantone 13-4520 TCX Ocean Current · Pale Lemon #FFEDA8 */

:root {
  --lemon: #FFEDA8;
  --lemon-soft: #FFF6D4;
  --lavender: #A1D5EB;
  --lavender-deep: #6BAECC;
  --ink: #3E2723;
  --ink-soft: #5C4844;
  --cream: #FFFDF8;
  --white: #FFFFFF;
  --radius: 28px;
  --radius-lg: 36px;
  --font: 'Montserrat', system-ui, sans-serif;
  --lh-heading: 1.2;
  --lh-body: 1.6;
  --text-gap: 12px;
  --marquee-h: 40px;
  --sticky-h: 108px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  height: auto;
}

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--cream);
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100%;
  -webkit-overflow-scrolling: touch;
}

p, li, label, input, textarea, select {
  font-family: var(--font);
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── TYPE ───────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: var(--lh-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}

p + p {
  margin-top: var(--text-gap);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3.5vw, 2rem); }
h3, h4 { font-size: 1rem; text-transform: none; letter-spacing: 0; }
h5 { font-size: 0.9rem; }
h6 { font-size: 0.85rem; }

.section-sub {
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--ink-soft);
}

.section-sub::before { content: '[ '; }
.section-sub::after { content: ' ]'; }

.section-head {
  margin-bottom: 32px;
  overflow: visible;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.2rem, 4vw, 1.875rem);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow: visible;
  max-width: 100%;
  white-space: normal;
  hyphens: auto;
}

.br-mobile-only {
  display: none;
}

@media (max-width: 767px) {
  .br-mobile-only {
    display: block;
  }
}

/* ── LAYOUT ─────────────────────────────────────────────── */

.section { padding: 72px 0; }
.section--lavender { background: var(--lavender); }
.section--lemon { background: var(--lemon-soft); }

/* ── TOPBAR ─────────────────────────────────────────────── */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(62, 39, 35, 0.06);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.topbar.visible { transform: translateY(0); }

.topbar-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender-deep);
}

.topbar-date {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-left: 10px;
}

.topbar-btn {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 9px 16px;
  background: var(--lemon);
  color: var(--ink);
  border-radius: 100px;
}

/* ── MARQUEE ────────────────────────────────────────────── */

.marquee-wrap {
  overflow: hidden;
  background: var(--lavender);
  color: var(--ink);
  padding: 10px 0;
}

.marquee {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 14s linear infinite;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── HERO ───────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 88px 20px 96px;
  text-align: center;
  background: var(--cream);
  overflow: hidden;
}

.hero--photo {
  min-height: 540px;
  min-height: 88vh;
  min-height: 88dvh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62, 39, 35, 0.25) 0%, rgba(62, 39, 35, 0.05) 45%, rgba(62, 39, 35, 0.35) 75%, rgba(62, 39, 35, 0.75) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px clamp(28px, 4vh, 44px);
  gap: clamp(10px, 2vh, 18px);
  text-align: center;
}

.hero-copy {
  padding-top: 0;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  flex-shrink: 0;
}

.hero-bottom {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  flex-shrink: 0;
  width: 100%;
}

.hero-cta {
  margin-top: 20px;
}

.hero-eyebrow--top {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  flex-shrink: 0;
  width: 100%;
  z-index: 2;
  text-align: center;
  padding: max(14px, env(safe-area-inset-top, 0px)) 20px 0;
}

.hero--photo .hero-eyebrow--top {
  color: rgba(255, 253, 248, 0.92);
}

.hero--photo .hero-eyebrow,
.hero--photo .hero-lead {
  color: rgba(255, 253, 248, 0.9);
}

.hero--photo h1 {
  color: var(--cream);
  margin-top: 0;
  line-height: var(--lh-heading);
  font-size: clamp(1.45rem, 3.8vw + 0.4rem, 2.65rem);
  text-wrap: balance;
}

.hero--photo .hero-lead {
  margin: 14px auto 0;
}

.hero--photo .hero-lead--capsule {
  color: var(--cream);
  border-color: rgba(255, 253, 248, 0.45);
  background: rgba(62, 39, 35, 0.25);
  font-size: clamp(0.72rem, 1.6vw + 0.2rem, 0.875rem);
  line-height: var(--lh-body);
  max-width: 100%;
  padding: clamp(8px, 1.5vw, 12px) clamp(14px, 3vw, 22px);
  text-wrap: balance;
}

.hero--photo .price-old {
  color: rgba(255, 253, 248, 0.6);
}

.hero--photo .price-new {
  color: var(--cream);
}

.hero--photo .price-badge {
  background: rgba(161, 213, 235, 0.92);
  color: var(--ink);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.hero-eyebrow::before { content: '[ '; }
.hero-eyebrow::after { content: ' ]'; }

.hero-lead {
  margin: 18px auto 28px;
  max-width: 520px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: var(--lh-body);
  text-transform: none;
  letter-spacing: 0;
}

.hero-lead--capsule {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.875rem;
  border: 1.5px solid rgba(62, 39, 35, 0.2);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.price-old {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.price-new {
  font-size: 1.6rem;
  font-weight: 700;
}

.price-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--lavender);
  border-radius: 100px;
}

.cta-note { display: none; }

/* ── BUTTONS ────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--lemon);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-primary svg { width: 20px; height: 20px; }
.btn-primary:hover { transform: translateY(-2px); background: #FFE894; }
.btn-primary--lg { padding: 18px 36px; font-size: 0.95rem; }
.btn-primary--full { width: 100%; padding: 18px; font-size: 0.95rem; }

/* ── CARDS ──────────────────────────────────────────────── */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(62, 39, 35, 0.06);
  box-shadow: 0 12px 40px rgba(62, 39, 35, 0.06);
}

.cards-stack {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-num {
  display: block;
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lavender-deep);
  margin-bottom: 12px;
}

.card h3 { margin-bottom: var(--text-gap); }
.card p { font-size: 0.9rem; color: var(--ink-soft); line-height: var(--lh-body); }

.card-body,
.prog-content {
  min-width: 0;
}

/* Gift */

.card--gift .gift-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.gift-items {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.gift-item {
  padding: 20px;
  background: var(--lemon-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
}

.gift-media {
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  background: var(--white);
}

.gift-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.gift-title { font-weight: 700; margin-bottom: 0; font-size: 0.95rem; }
.gift-desc { font-size: 0.88rem; color: var(--ink-soft); line-height: var(--lh-body); }

.gift-cta {
  display: flex;
  justify-content: center;
}

/* Audience cards with media */

.card--audience {
  display: grid;
  gap: 20px;
}

.card-media,
.prog-media,
.gift-media,
.about-photo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.card-media,
.prog-media {
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: var(--lemon-soft);
  border: 1px dashed rgba(62, 39, 35, 0.15);
}

.card-media-img,
.prog-media-img,
.gift-media-img,
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.card-media-img[data-placeholder="audience-entrepreneur"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.card-media-img:not([src]),
.card-media-img[src=""],
.prog-media-img:not([src]),
.prog-media-img[src=""],
.bonus-telegram-img:not([src]),
.bonus-telegram-img[src=""] {
  display: none;
}

.card-media:has(.card-media-img[src]:not([src=""])) .card-media-placeholder,
.prog-media:has(.prog-media-img[src]:not([src=""])) .prog-media-placeholder {
  display: none;
}

.card-media:has(.card-media-img[src]:not([src=""])),
.prog-media:has(.prog-media-img[src]:not([src=""])) {
  border-style: solid;
  border-color: rgba(62, 39, 35, 0.08);
}

.card-media-placeholder,
.prog-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--lemon-soft) 0%, rgba(161, 213, 235, 0.25) 100%);
}

.card-media-placeholder span,
.prog-media-placeholder span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Program */

.lesson-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  background: var(--lemon);
  border-radius: 100px;
  margin-bottom: 16px;
}

.prog-t {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: var(--lh-heading);
  margin-bottom: var(--text-gap);
}

.card--lesson {
  display: grid;
  gap: 20px;
}

.prog-content {
  min-width: 0;
}

.prog-d {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: var(--lh-body);
  padding-left: 18px;
  position: relative;
}

.prog-d::before {
  content: '/';
  position: absolute;
  left: 0;
  color: rgba(62, 39, 35, 0.25);
}

/* About */

.card--about {
  display: grid;
  gap: 28px;
}

.about-photo-wrap {
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  min-height: 280px;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.about-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: var(--lh-body);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-card {
  padding: 16px 10px;
  text-align: center;
  background: var(--lemon-soft);
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  font-size: clamp(0.82rem, 2.8vw, 1.2rem);
  font-weight: 700;
  color: var(--lavender-deep);
  line-height: var(--lh-heading);
}

.stat-card span {
  font-size: 0.68rem;
  color: var(--ink-soft);
}

/* Bonus + Telegram */

.card--bonus {
  display: grid;
  gap: 16px;
}

.bonus-telegram {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--lemon-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(62, 39, 35, 0.06);
}

.bonus-telegram-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lavender);
  border-radius: 50%;
  color: var(--ink);
  border: 1px dashed rgba(62, 39, 35, 0.15);
}

.bonus-telegram-svg {
  width: 28px;
  height: 28px;
}

.bonus-telegram-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.bonus-telegram-icon:has(.bonus-telegram-img[src]:not([src=""])) {
  border-style: solid;
  overflow: hidden;
  padding: 0;
}

.bonus-telegram-icon:has(.bonus-telegram-img[src]:not([src=""])) .bonus-telegram-svg {
  display: none;
}

.bonus-telegram-lead {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--ink);
}

.bonus-warn {
  margin-top: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ── TARIFF / REG ───────────────────────────────────────── */

.closed-msg {
  display: none;
  text-align: center;
  padding: 12px 20px;
  margin-bottom: 20px;
  background: rgba(161, 213, 235, 0.35);
  border-radius: var(--radius);
  font-weight: 600;
}

.closed-msg.show { display: block; }

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
}

.cd {
  min-width: 56px;
  padding: 12px 8px;
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(62, 39, 35, 0.06);
}

.cd-n {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lavender-deep);
  line-height: 1;
}

.cd-l {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

.cd-sep { font-size: 1.2rem; opacity: 0.35; }

.card--tariff { text-align: left; }

.tariff-title {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  color: var(--ink);
}

.form-fields label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-fields input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(62, 39, 35, 0.1);
  border-radius: 14px;
  outline: none;
}

.form-fields input:focus {
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(161, 213, 235, 0.25);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 0.78rem;
  line-height: var(--lh-body);
  color: var(--ink-soft);
  cursor: pointer;
}

.form-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--lavender-deep);
}

.form-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent--optional {
  opacity: 0.92;
}

.tariff-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 6px;
}

.tariff-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tariff-price-dots {
  flex: 1;
  min-width: 32px;
  border-bottom: 1px dotted rgba(62, 39, 35, 0.35);
  height: 1px;
  align-self: center;
}

.tariff-price .price-new {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
}

.tariff-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.barcode {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  height: 56px;
  margin-top: 24px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 10px;
}

.barcode span {
  flex: 1;
  max-width: 4px;
  background: var(--ink);
  border-radius: 1px;
}

.barcode span:nth-child(odd) { max-width: 2px; }
.barcode span:nth-child(3n) { max-width: 5px; }
.barcode span:nth-child(5n) { max-width: 1px; }

.notify-row {
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ── STICKY + FOOTER ────────────────────────────────────── */

.sticky-bottom {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px max(12px, env(safe-area-inset-bottom, 0px));
  background: var(--lavender);
  color: var(--ink);
}

.sticky-text { font-size: 0.8rem; font-weight: 600; }
.sticky-text small { display: block; font-size: 0.68rem; font-weight: 400; opacity: 0.75; }

.sticky-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--lemon);
  border-radius: 100px;
}

/* Basement (подвал) — как на референсе */

.site-basement {
  background: var(--cream);
  color: var(--ink-soft);
  padding: 36px 0 calc(88px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(62, 39, 35, 0.08);
}

.site-basement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.basement-email {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.basement-email:hover {
  color: var(--lavender-deep);
}

.basement-requisites {
  font-size: 0.68rem;
  line-height: var(--lh-body);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.basement-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 4px;
}

.basement-links a {
  font-size: 0.68rem;
  line-height: var(--lh-body);
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.basement-links a:hover {
  color: var(--ink);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet / MacBook — всё в одну колонку, фото на всю ширину */
@media (min-width: 768px) and (max-width: 1099px) {
  .inner { max-width: 760px; padding: 0 28px; }

  .hero--photo {
    min-height: 520px;
    min-height: 86vh;
    min-height: 86dvh;
  }

  .hero-inner {
    max-width: 680px;
    min-height: 460px;
    min-height: 72vh;
    min-height: 72dvh;
    padding: 0 28px clamp(28px, 4vh, 40px);
  }

  .hero-bg {
    background-position: center 30%;
  }

  .gift-items { grid-template-columns: 1fr; gap: 18px; }

  .card--audience,
  .card--lesson,
  .card--about {
    grid-template-columns: 1fr;
  }

  .card-media,
  .prog-media {
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-height: 360px;
  }

  .about-photo-wrap {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Desktop — боковые колонки только на широких экранах */
@media (min-width: 1100px) {
  .inner { max-width: 820px; padding: 0 28px; }

  .hero--photo {
    min-height: 560px;
    min-height: 86vh;
    min-height: 86dvh;
  }

  .hero-inner {
    max-width: 720px;
    min-height: 500px;
    min-height: 70vh;
    min-height: 70dvh;
    padding-bottom: clamp(32px, 4vh, 48px);
  }

  .hero-bg {
    background-position: center 34%;
  }

  .gift-items { grid-template-columns: 1fr 1fr; }

  .card--audience {
    grid-template-columns: minmax(260px, 300px) 1fr;
    align-items: center;
  }

  .card--audience .card-media {
    aspect-ratio: 4 / 5;
    min-height: 260px;
    max-height: none;
  }

  .card--lesson {
    grid-template-columns: minmax(260px, 300px) 1fr;
    align-items: start;
  }

  .card--lesson .prog-media {
    aspect-ratio: 4 / 5;
    min-height: 260px;
    max-height: none;
  }

  .card--about {
    grid-template-columns: minmax(240px, 280px) 1fr;
    align-items: start;
  }

  .about-photo-wrap { margin: 0; max-width: none; width: 100%; }
}

/* Phone */
@media (max-width: 767px) {
  .section { padding: 56px 0; }

  .hero--photo {
    position: relative;
    display: block;
    min-height: calc(100svh - var(--marquee-h));
    min-height: calc(100dvh - var(--marquee-h));
    overflow: hidden;
    padding-bottom: 0;
  }

  .hero-eyebrow--top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    padding: max(10px, env(safe-area-inset-top, 0px)) 16px 0;
  }

  /* как на референсе: лицо сверху, текст внизу над липкой панелью */
  .hero-inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--sticky-h);
    z-index: 2;
    flex: none;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 16px 8px;
    gap: 8px;
    justify-content: flex-end;
  }

  .hero--photo h1 {
    font-size: clamp(1.55rem, 6vw + 0.4rem, 2.65rem);
    line-height: var(--lh-heading);
  }

  .hero--photo .hero-lead {
    margin-top: 10px;
  }

  .hero-bg-img {
    object-position: center 24%;
  }

  .hero-cta {
    display: block;
    margin-top: 8px;
  }

  .card-media,
  .prog-media,
  .gift-media {
    min-height: 200px;
    max-height: 280px;
  }

  .btn-primary--lg {
    width: 100%;
    justify-content: center;
  }

  .sticky-bottom {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 8px;
  }

  .sticky-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .gift-items { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: 1fr; }
  .stat-card { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 14px 18px; }
  .stat-card strong { margin: 0; }
  .topbar-btn { display: none; }
}
