/* ============================================================
   Dreams Active · pure HTML/CSS
   Single warm-wellness theme (cream + sage-olive + beige).
   All colour routed through semantic CSS variables.
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Theme tokens — warm wellness (cream + sage-olive + beige) ── */
:root {
  --bg: #efe9dc;
  --bg-header: rgba(239, 233, 220, 0.82);
  --bg-header-solid: rgba(239, 233, 220, 0.97);

  --fg: #3e3b2c;
  --fg-muted: #5c5849;
  --fg-quiet: #8a8472;

  --surface-card: #fbf8f1;
  --surface-soft: #e8e0d0;
  --surface-tint: #e3d9c7;
  --glass: #f6f1e6;

  --panel: #87886b;
  --panel-border: rgba(62, 59, 44, 0.18);
  --panel-fg: #f4efe4;
  --panel-fg-muted: #e4decf;
  --panel-dot: #f4efe4;

  --line: rgba(62, 59, 44, 0.14);
  --line-soft: rgba(62, 59, 44, 0.1);
  --line-strong: rgba(62, 59, 44, 0.55);
  --line-strong-quiet: rgba(62, 59, 44, 0.22);

  --accent: #6e7150;
  --accent-hover: #5c5f40;
  --accent-fg: #f4efe4;
  --dot: #7c7e5c;
  --eyebrow: #8a8472;

  --outline-hover-bg: #3e3b2c;
  --outline-hover-fg: #efe9dc;

  --orb-glow: radial-gradient(circle, rgba(135, 136, 107, 0.22), transparent 65%);
  --orb-shadow: 0 0 70px rgba(135, 136, 107, 0.3);

  --closing-overlay: linear-gradient(
    to top,
    rgba(239, 233, 220, 0.94) 0%,
    rgba(239, 233, 220, 0.5) 45%,
    rgba(239, 233, 220, 0.1) 100%
  );
  --closing-fg: #3e3b2c;
  --closing-fg-muted: #5c5849;

  --selection-bg: #87886b;
  --selection-fg: #f4efe4;

  --shadow-card: 0 8px 32px rgba(62, 59, 44, 0.1);

  /* Radii */
  --r-md: 16px;
  --r-pill: 50px;
  --r-pebble: 119.5px;

  /* Motion */
  --dur: 220ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-fg);
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 400;
  color: var(--eyebrow);
  margin-bottom: 20px;
}

.section-title {
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  max-width: 22ch;
  color: var(--fg);
}

.lead {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--dot);
  margin-top: 0.55em;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--r-pill);
  padding: 16px 28px;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn--outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--outline:hover {
  background: var(--outline-hover-bg);
  color: var(--outline-hover-fg);
}

.pebble {
  border-radius: var(--r-pebble);
  background: var(--glass);
  border: 1px solid var(--line-strong-quiet);
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.site-header.scrolled {
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}
/* Small pearl mark in the header (top-left) */
.brand-pearl {
  display: block;
  height: 30px;
  width: 30px;
  object-fit: contain;
  filter: drop-shadow(var(--orb-shadow));
}
/* Brand lockup centred in the hero: pearl mark + wordmark */
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 auto 26px;
}
.hero-pearl {
  display: block;
  height: 56px;
  width: 56px;
  object-fit: contain;
  filter: drop-shadow(var(--orb-shadow));
}
.hero-wordmark {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--fg);
}
/* Footer brand wordmark beside the pearl */
.footer-wordmark {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}
.brand-tagline {
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--fg-muted);
  white-space: nowrap;
}
.brand-tagline-sep {
  color: var(--line-strong-quiet);
  margin: 0 2px;
}
@media (max-width: 420px) {
  .brand-tagline {
    font-size: 11px;
  }
}
.nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color var(--dur) var(--ease);
}
.nav a:hover {
  color: var(--fg);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta {
  display: none;
}

/* Round icon buttons (theme toggle + hamburger) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--line-strong-quiet);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.icon-btn:hover {
  color: var(--fg);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.menu-toggle {
  display: inline-flex;
}
.menu-toggle span {
  position: relative;
  width: 16px;
  height: 12px;
}
.menu-toggle span i {
  position: absolute;
  left: 0;
  height: 1px;
  width: 16px;
  background: currentColor;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease),
    top var(--dur) var(--ease);
}
.menu-toggle span i:nth-child(1) {
  top: 0;
}
.menu-toggle span i:nth-child(2) {
  top: 5.5px;
}
.menu-toggle span i:nth-child(3) {
  top: 11px;
}
.site-header.menu-open .menu-toggle span i:nth-child(1) {
  top: 5.5px;
  transform: rotate(45deg);
}
.site-header.menu-open .menu-toggle span i:nth-child(2) {
  opacity: 0;
}
.site-header.menu-open .menu-toggle span i:nth-child(3) {
  top: 5.5px;
  transform: rotate(-45deg);
}

.mobile-sheet {
  overflow: hidden;
  max-height: 0;
  background: var(--bg-header-solid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid transparent;
  transition: max-height var(--dur) var(--ease);
}
.site-header.menu-open .mobile-sheet {
  max-height: 340px;
  border-top-color: var(--line);
}
.mobile-sheet nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 20px;
}
.mobile-sheet nav a {
  font-size: 16px;
  color: var(--fg-muted);
  padding: 12px 8px;
  border-radius: 12px;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.mobile-sheet nav a:hover {
  background: var(--surface-card);
  color: var(--fg);
}
.mobile-sheet .btn {
  width: 100%;
  margin-top: 8px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 128px;
  padding-bottom: 96px;
}
.orb-glow {
  position: absolute;
  left: 50%;
  top: 96px;
  width: 520px;
  height: 520px;
  max-width: 90vw;
  transform: translateX(-50%);
  background: var(--orb-glow);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}
.pearl {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 22px;
  filter: drop-shadow(var(--orb-shadow));
  display: none; /* shown in the desktop collage; on mobile the stage is the visual */
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* ── Hero photo collage ───────────────────────────────────────
   Mobile-first: a swipeable two-slide carousel above the text —
   slide 1 = the two mothers, slide 2 = the four real-photo
   polaroids. Desktop (≥1200) re-lays it out around the text. */
.hero-stage {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 480px;
  height: 350px;
  margin: 0 auto 14px;
  scrollbar-width: none;
}
.hero-stage::-webkit-scrollbar {
  display: none;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}
.hero-lady {
  position: absolute;
  bottom: 0;
  height: 264px;
  width: auto;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.hero-lady--left {
  left: 3%;
}
.hero-lady--right {
  right: 3%;
}
.hero-polaroids {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.polaroid {
  position: absolute;
  display: block;
  padding: 6px 6px 8px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.polaroid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1px;
}
.polaroid--1 {
  width: 118px;
  top: 14px;
  left: 6%;
  transform: rotate(-6deg);
}
.polaroid--1 img {
  aspect-ratio: 3 / 4;
}
.polaroid--2 {
  width: 150px;
  top: 26px;
  right: 5%;
  transform: rotate(5deg);
}
.polaroid--2 img {
  aspect-ratio: 16 / 10;
}
.polaroid--3 {
  width: 118px;
  bottom: 14px;
  left: 8%;
  transform: rotate(4deg);
}
.polaroid--3 img {
  aspect-ratio: 3 / 4;
}
.polaroid--4 {
  width: 150px;
  bottom: 24px;
  right: 6%;
  transform: rotate(-5deg);
}
.polaroid--4 img {
  aspect-ratio: 16 / 10;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
}
.hero-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong-quiet);
  transition: background var(--dur) var(--ease);
}
.hero-dots span.on {
  background: var(--fg-quiet);
}
.hero-title {
  font-weight: 400;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin: 0 auto;
  color: var(--fg);
}
.hero-sub {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 44ch;
  margin: 28px auto 0;
}
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 48px;
  list-style: none;
  font-size: 14px;
  color: var(--fg-quiet);
}
.meta-row .sep {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--line-strong-quiet);
}
.meta-row--col {
  flex-direction: column;
  gap: 10px;
}

/* ── Problem ──────────────────────────────────────────────── */
.problem-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface-soft);
  padding: 32px;
}
.problem-num {
  font-size: 14px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.problem-item p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ── Bullet list (problem / generic) ──────────────────────── */
.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: var(--fg-muted);
}

/* ── Topic tags / chips ───────────────────────────────────── */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tag {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  border: 1px solid var(--line-strong-quiet);
  border-radius: 9999px;
  padding: 8px 16px;
}

/* ── Centered statement ───────────────────────────────────── */
.statement {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.statement .section-title {
  margin: 0 auto;
}
.statement .lead {
  margin: 24px auto 0;
  max-width: 52ch;
}

/* ── Split (solution) ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.split .lead {
  margin-top: 28px;
  max-width: 48ch;
}
.note-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 36px;
  font-size: 14px;
  color: var(--fg-quiet);
}
.media-pebble {
  overflow: hidden;
  border-radius: 88px;
  border: 1px solid var(--line);
}
.media-pebble img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ── Program pillars ──────────────────────────────────────── */
.pillars {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.pillar-card .head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.pillar-card .num {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-quiet);
}
.pillar-card h3 {
  font-weight: 300;
  font-size: 24px;
  color: var(--fg);
}
.pillar-card p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin-top: 16px;
}
.program-foot {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-quiet);
}

/* ── Outcomes (через 4 / 8 недель) ────────────────────────── */
.outcomes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) {
  .outcomes {
    grid-template-columns: 1fr;
  }
}
.outcome-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 30px 30px;
}
.outcome-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.outcome-pill {
  display: inline-block;
  background: #b18a93;
  color: #fdf6f4;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.outcome-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.outcome-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--fg-muted);
}
.outcome-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 18px;
  font-weight: 500;
  color: #b18a93;
}

/* ── Timeline ─────────────────────────────────────────────── */
.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.timeline-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.timeline-card--feature {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 64px;
  color: var(--panel-fg);
}
.timeline-card .eyebrow {
  margin-bottom: 24px;
}
.timeline-card--feature .eyebrow {
  color: var(--panel-fg-muted);
}
.timeline-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.timeline-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.3;
  color: var(--fg-muted);
}
.timeline-card--feature li {
  color: var(--panel-fg);
}
.timeline-card--feature .dot {
  background: var(--panel-dot);
}

/* ── Team ─────────────────────────────────────────────────── */
.team-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
/* Team section sits on its own tinted (sage) band */
.team-section {
  background: rgba(135, 136, 107, 0.15);
}
.team-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
/* Author portrait (cutout photo) at the top of each card */
.team-portrait {
  aspect-ratio: 4 / 3;
  margin: 0 0 22px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-soft);
}
.team-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-card .head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid var(--line-strong-quiet);
  font-size: 16px;
  color: var(--fg-muted);
}
.team-card .avatar-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--dot);
}
.team-card h3 {
  font-weight: 300;
  font-size: 20px;
  color: var(--fg);
}
.team-card .role {
  margin-top: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-quiet);
}
.team-card p {
  margin-top: 20px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-wrap {
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-pebble {
  border-radius: 72px;
  padding: 56px 32px;
  background: var(--glass);
  border: 1px solid var(--line-strong-quiet);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 32px;
}
.price .amount {
  font-weight: 300;
  font-size: 48px;
  color: var(--fg);
}
.price .unit {
  font-size: 14px;
  color: var(--fg-quiet);
}
.pricing-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 300;
  font-size: 18px;
  color: var(--fg-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.includes li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.pay-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-quiet);
  max-width: 44ch;
}

/* ── Closing ──────────────────────────────────────────────── */
.closing-card {
  position: relative;
  overflow: hidden;
  border-radius: 64px;
}
.closing-card img {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  object-fit: cover;
}
.closing-card .overlay {
  position: absolute;
  inset: 0;
  background: var(--closing-overlay);
}
.closing-card .closing-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
  text-align: center;
}
.closing-card h2 {
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
  max-width: 20ch;
  margin: 0 auto;
  color: var(--closing-fg);
}
.closing-card .closing-sub {
  font-weight: 300;
  font-size: 18px;
  color: var(--closing-fg-muted);
  max-width: 42ch;
  margin: 20px auto 0;
}
.closing-card .closing-cta {
  margin-top: 36px;
}

/* ── Before / After carousel ──────────────────────────────── */
.section--tint {
  background: var(--surface-tint);
}
.ba-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .ba-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ba-video {
  max-width: 860px;
  margin: 0 auto;
}
.ba-video video {
  display: block;
  width: 100%;
  border-radius: var(--r-md);
  background: var(--surface-soft);
}
.ba-photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-soft);
}
.ba-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.ba-photo figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 13px;
  border-radius: 999px;
}
.ba-note {
  text-align: center;
  font-size: 12px;
  color: var(--fg-quiet);
  margin-top: 16px;
}

/* ── Fullscreen closing photo + text ──────────────────────── */
.fullscreen-photo {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
}
.fullscreen-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fullscreen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.22) 38%,
    rgba(0, 0, 0, 0) 68%
  );
}
.fullscreen-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0 24px clamp(48px, 9vh, 110px);
  text-align: center;
  color: #fff;
}
.fullscreen-text h2 {
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
  max-width: 20ch;
  margin: 0 auto;
  color: #fff;
}
.fullscreen-text p {
  font-weight: 300;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 42ch;
  margin: 18px auto 0;
}
.fullscreen-text .btn {
  margin-top: 32px;
}
.fullscreen-text .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}
.fullscreen-text .bullets {
  align-items: center;
  margin-top: 26px;
}
.fullscreen-text .bullets li {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2.2vw, 20px);
}

/* Centered variant — text in the vertical middle, slightly stronger veil */
.fullscreen-photo--center .fullscreen-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.32) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
}
.fullscreen-photo--center .fullscreen-text {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
}
.fullscreen-photo--center .fullscreen-text h2 {
  max-width: 24ch;
}

/* Top variant — text in the upper part of the photo */
.fullscreen-photo--top .fullscreen-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.28) 32%,
    rgba(0, 0, 0, 0) 62%
  );
}
.fullscreen-photo--top .fullscreen-text {
  inset: 0 0 auto 0;
  padding: clamp(96px, 17vh, 168px) 24px 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 64px 0;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer .brand-logo {
  height: 48px;
}
.footer-tagline {
  margin-top: 20px;
  max-width: 34ch;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-quiet);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-nav a {
  transition: color var(--dur) var(--ease);
}
.footer-nav a:hover {
  color: var(--fg);
}
.legal-disclaimer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  max-width: 90ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-quiet);
}
.footer-legal {
  margin-top: 24px;
  font-size: 12px;
  color: var(--fg-quiet);
}

/* ── Diplomas gallery ─────────────────────────────────────── */
.diploma-group {
  margin-top: 48px;
}
.diploma-person {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-quiet);
  margin-bottom: 20px;
}
.diploma-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-quiet);
}
.diploma-note--foot {
  margin-top: 24px;
}
.diploma-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}
.diploma-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.diploma-thumb {
  width: 100%;
  aspect-ratio: 1 / 1.414; /* A4 portrait */
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-card);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
/* Landscape documents (certificate, sport ID) */
.diploma-card--wide {
  grid-column: span 2;
}
.diploma-card--wide .diploma-thumb {
  aspect-ratio: 3 / 2;
  object-position: center;
}
.diploma-card:hover .diploma-thumb {
  transform: translateY(-2px);
  border-color: var(--line-strong-quiet);
}
.diploma-cap {
  font-size: 13px;
  line-height: 1.4;
  color: var(--fg-muted);
}

/* Lightbox */
.lightbox[hidden] {
  display: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 13, 5, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox-img {
  position: relative;
  max-width: 100%;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  color: #fff;
  border-color: rgba(221, 221, 221, 0.4);
  background: rgba(2, 13, 5, 0.4);
}

@media (min-width: 768px) {
  .diploma-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .diploma-card--wide {
    grid-column: span 2; /* landscape: 2 of 4 → two per row */
  }
}

/* ── Pre-payment disclaimer modal ─────────────────────────── */
body.modal-open {
  overflow: hidden;
}
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 13, 5, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: 40px 28px 28px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--line-strong-quiet);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.modal-close:hover {
  color: var(--fg);
}
.modal-card h3 {
  font-weight: 300;
  font-size: 26px;
  line-height: 1.1;
  color: var(--fg);
  margin-top: 6px;
  max-width: 18ch;
}
.modal-doctor {
  margin-top: 22px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-soft);
}
.modal-doctor p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-muted);
}
.modal-doctor p + p {
  margin-top: 12px;
}
.modal-sign {
  margin-top: 14px;
  font-size: 13px;
  color: var(--fg-quiet);
}
.modal-points {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
}
.modal-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--accent);
}
.modal-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg);
}
.modal-consent input {
  margin-top: 1px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--accent);
  cursor: pointer;
}
.modal-proceed {
  width: 100%;
  margin-top: 24px;
}
.modal-proceed[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* ── Reveal animation ─────────────────────────────────────── */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Visible by default; only hidden once JS is active. */
.js .reveal {
  opacity: 0;
}
.js .reveal.in {
  animation: riseIn 0.7s var(--ease) forwards;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (min-width: 640px) {
  .brand-tagline {
    display: inline;
  }
  .cta-row {
    flex-direction: row;
    justify-content: center;
  }
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .section {
    padding-top: 128px;
    padding-bottom: 128px;
  }
  .header-inner {
    height: 80px;
  }
  .brand-logo {
    height: 40px;
  }
  .nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero {
    padding-top: 168px;
    padding-bottom: 120px;
  }
  .pearl {
    width: 150px;
    height: 150px;
  }
  .hero-sub,
  .lead {
    font-size: 20px;
  }
  .split,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillars,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillar-card,
  .team-card {
    padding: 48px;
  }
  .media-pebble {
    border-radius: var(--r-pebble);
  }
  .timeline-card {
    padding: 40px;
  }
  .timeline-card--feature {
    border-radius: var(--r-pebble);
  }
  .pricing-pebble {
    border-radius: var(--r-pebble);
    padding: 80px 64px;
  }
  .price .amount {
    font-size: 60px;
  }
  .closing-card {
    border-radius: var(--r-pebble);
  }
  .closing-card .closing-text {
    padding: 64px;
  }
  .footer-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

/* Hero side figures (the two authors with babies) — desktop only */
.hero-side {
  display: none;
}
@media (min-width: 1200px) {
  .hero {
    min-height: 860px;
    display: flex;
    align-items: center;
  }
  .hero .hero-logo {
    margin-bottom: 20px;
  }
  .hero .hero-pearl {
    height: 62px;
    width: 62px;
  }
  .hero-content {
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-content .hero-title {
    font-size: clamp(40px, 4.2vw, 58px);
  }
  /* Anchored by the inner edge to the centre → constant 24px gap from the
     text at any width; the outer side bleeds off-screen on narrow desktops. */
  .hero-side {
    display: block;
    position: absolute;
    bottom: 0;
    width: 560px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }
  .hero-side--left {
    left: auto;
    right: calc(50% + 264px);
  }
  .hero-side--right {
    left: calc(50% + 264px);
    right: auto;
  }
}

/* ── Scattered polaroids across the page ──────────────────── */
.section {
  position: relative;
}
.section > .container {
  position: relative;
  z-index: 1;
}
.scatter {
  display: none;
}
@media (min-width: 1100px) {
  .scatter {
    display: block;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    padding: 7px 7px 9px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  }
  .scatter img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1px;
  }
  .scatter img {
    aspect-ratio: 3 / 4;
  }
  .scatter--a {
    width: 300px;
    top: -78px;
    right: 5%;
    transform: rotate(5deg);
  }
  .scatter--b {
    width: 290px;
    bottom: -72px;
    left: 5%;
    transform: rotate(-6deg);
  }
  .scatter--c {
    width: 150px;
    top: -150px;
    left: 2%;
    transform: rotate(-5deg);
  }
  .scatter--d {
    width: 296px;
    bottom: -70px;
    right: 5%;
    transform: rotate(6deg);
  }
  .scatter--e {
    width: 286px;
    bottom: -70px;
    right: 6%;
    transform: rotate(4deg);
  }
  .scatter--f {
    width: 320px;
    bottom: -150px;
    right: 6%;
    transform: rotate(-5deg);
  }
  .scatter--f img {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    animation: none;
  }
}

/* ── Language switcher (.com — EN/ES) ─────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lang-switch a {
  color: var(--fg-quiet);
  padding: 2px 4px;
  border-radius: 8px;
  transition: color var(--dur) var(--ease);
}
.lang-switch a:hover {
  color: var(--fg);
}
.lang-switch a[aria-current="true"] {
  color: var(--fg);
  font-weight: 600;
}
.lang-switch .sep {
  color: var(--line-strong-quiet);
}
/* In the mobile sheet, render the switch as a roomier row. */
.mobile-sheet .lang-switch {
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  padding: 12px 8px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
