/* palette: bg=#F4F0E6 fg=#17294C accent=#C8102E */
/* fonts: display="Bodoni Moda" body="Archivo" mono="Space Mono" */

:root {
  --bg: #F4F0E6;        /* cream background */
  --bg-alt: #EBE3D2;    /* deeper cream, alternating sections */
  --fg: #17294C;        /* navy — primary text */
  --fg-soft: #2B3D62;   /* softer navy */
  --muted: #6E6A5C;     /* warm muted secondary text */
  --accent: #C8102E;    /* Italian red accent */
  --accent-deep: #9D0B23; /* darker red for hover */
  --ink: #121F3B;       /* darkest navy — inverted bands */
  --cream-on-dark: #F4F0E6;
  --border: rgba(23, 41, 76, 0.16);
  --border-strong: rgba(23, 41, 76, 0.32);
  --serif: 'Bodoni Moda', ui-serif, Georgia, serif;
  --sans: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

/* ───────── Layout helpers ───────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: var(--cream-on-dark); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section--ink .eyebrow { color: #E7897E; }
.section--ink .eyebrow::before { background: #E7897E; }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 26px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
}
.section--ink .section-head p { color: rgba(244, 240, 230, 0.68); }

em { font-style: italic; color: var(--accent); }
.section--ink em { color: #F0A79D; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1.5px solid transparent;
  line-height: 1;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(157, 11, 35, 0.6); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--ink { background: var(--fg); color: var(--bg); }
.btn--ink:hover { background: var(--ink); transform: translateY(-2px); }
.section--ink .btn--ghost { color: var(--cream-on-dark); border-color: rgba(244,240,230,0.32); }
.section--ink .btn--ghost:hover { border-color: var(--cream-on-dark); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  transition: gap 0.3s var(--ease);
}
.arrow-link .ar { transition: transform 0.3s var(--ease); }
.arrow-link:hover { gap: 16px; }
.arrow-link:hover .ar { transform: translateX(4px); }

/* ───────── Header ───────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 230, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -24px rgba(23, 41, 76, 0.35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__mark .dot { color: var(--accent); }
.brand__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav { display: none; gap: 38px; align-items: center; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  color: var(--fg-soft);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--fg); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.header__actions { display: none; align-items: center; gap: 18px; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px var(--pad) 56px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a.m-link {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a.m-link .num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.mobile-menu .btn { margin-top: 28px; justify-content: center; }
.mobile-menu__meta { margin-top: auto; padding-top: 32px; font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.9; }

/* ───────── Hero ───────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  position: relative;
}
.hero__content {
  padding: clamp(48px, 9vw, 120px) var(--pad) clamp(48px, 7vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero__title {
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 32px;
}
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 500px;
  margin: 0 0 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__visual {
  position: relative;
  min-height: 46vh;
  overflow: hidden;
  background: var(--ink);
}
.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(18,31,59,0.12), rgba(200,16,46,0.22));
  mix-blend-mode: multiply;
}
.hero__badge {
  position: absolute;
  left: 24px; bottom: 24px;
  z-index: 2;
  background: rgba(18, 31, 59, 0.78);
  backdrop-filter: blur(8px);
  color: var(--cream-on-dark);
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
}
.hero__badge strong { color: #fff; font-size: 22px; font-family: var(--serif); display: block; letter-spacing: 0; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.hero__meta .mcell { padding: 22px 0 0; border-right: 1px solid var(--border); padding-right: 18px; }
.hero__meta .mcell:last-child { border-right: 0; }
.hero__meta .mnum { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.hero__meta .mlabel { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ───────── Trust strip / marquee ───────── */
.trust {
  background: var(--ink);
  color: var(--cream-on-dark);
  padding: 22px 0;
  overflow: hidden;
  border-top: 2px solid var(--accent);
}
.trust__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.trust__item {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,240,230,0.82);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.trust__item::after { content: "✦"; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ───────── Feature cards ───────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--bg);
  padding: 40px 34px 44px;
  position: relative;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.section--alt .feature-card { background: var(--bg-alt); }
.feature-card:hover { background: var(--fg); color: var(--bg); }
.feature-card:hover .feature-card__num,
.feature-card:hover .feature-card__title { color: var(--bg); }
.feature-card:hover .feature-card__text { color: rgba(244,240,230,0.78); }
.feature-card:hover .feature-card__icon { border-color: var(--accent); background: var(--accent); color: #fff; }
.feature-card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin: 20px 0 24px;
  transition: all 0.4s var(--ease);
  border-radius: 2px;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__title { font-size: 1.55rem; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 14px; }
.feature-card__text { font-size: 1rem; line-height: 1.68; color: var(--muted); margin: 0; }

/* ───────── Manifesto ───────── */
.manifesto { text-align: center; }
.manifesto .quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  height: 0.5em;
}
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  max-width: 960px;
  margin: 0 auto;
  font-weight: 400;
}
.manifesto__attr {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,240,230,0.6);
  margin-top: 44px;
}

/* ───────── Promo / split banner ───────── */
.promo {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
  color: var(--cream-on-dark);
  overflow: hidden;
  border-radius: 3px;
}
.promo__media { position: relative; min-height: 320px; overflow: hidden; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.promo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(18,31,59,0.65), rgba(18,31,59,0.1)); }
.promo__body { padding: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.promo__body h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 22px; }
.promo__body p { color: rgba(244,240,230,0.72); font-size: 1.08rem; line-height: 1.7; max-width: 460px; margin: 0 0 34px; }

/* ───────── Logos / clients ───────── */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px 60px; }
.logos__item {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
  opacity: 0.42;
  transition: opacity 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logos__item .mono-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.logos__item:hover { opacity: 0.9; }

/* ───────── Steps / process ───────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
.step {
  background: var(--bg);
  padding: 40px 30px;
  display: grid;
  gap: 16px;
}
.section--alt .step { background: var(--bg-alt); }
.step__num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--accent); }
.step h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.66; }

/* ───────── Stats band ───────── */
.statband { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.statband .scell {
  padding: 40px 24px;
  border-top: 1px solid rgba(244,240,230,0.18);
  border-right: 1px solid rgba(244,240,230,0.18);
}
.statband .scell:nth-child(2n) { border-right: 0; }
.statband .snum { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.statband .snum em { color: #F0A79D; }
.statband .slabel { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,240,230,0.6); margin-top: 14px; max-width: 220px; }

/* ───────── FAQ ───────── */
.faq-list { border-top: 1px solid var(--border); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 4px;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.22;
  color: var(--fg);
}
.faq-q .ficon { flex: 0 0 auto; width: 26px; height: 26px; position: relative; margin-top: 6px; }
.faq-q .ficon::before, .faq-q .ficon::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.4s var(--ease); }
.faq-q .ficon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .ficon::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item[data-open="true"] .ficon::after { transform: translateX(-50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a__inner { padding: 0 52px 32px 4px; color: var(--muted); font-size: 1.05rem; line-height: 1.72; max-width: 760px; }

/* ───────── Testimonials ───────── */
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.quote-card { background: var(--bg); padding: 40px 34px; display: flex; flex-direction: column; gap: 26px; }
.section--alt .quote-card { background: var(--bg-alt); }
.quote-card__text { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; letter-spacing: -0.01em; }
.quote-card__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #fff;
  flex: 0 0 auto;
  letter-spacing: 0.02em;
}
.quote-card__meta .nm { font-weight: 600; font-size: 0.95rem; }
.quote-card__meta .rl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.ph-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); opacity: 0.6; }

/* ───────── Big CTA ───────── */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.98; letter-spacing: -0.025em; max-width: 920px; margin: 0 auto 32px; }
.cta-final p { color: rgba(244,240,230,0.7); font-size: 1.15rem; max-width: 520px; margin: 0 auto 42px; }
.cta-final .hero__actions { justify-content: center; }

/* ───────── Form ───────── */
.form-wrap { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--border); }
.form-aside { background: var(--ink); color: var(--cream-on-dark); padding: clamp(36px, 5vw, 56px); }
.form-aside h3 { font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 20px; }
.form-aside p { color: rgba(244,240,230,0.7); font-size: 1rem; line-height: 1.7; }
.form-aside .contact-line { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; line-height: 1.6; }
.form-aside .contact-line .k { color: #E7897E; min-width: 54px; text-transform: uppercase; font-size: 10px; letter-spacing: 0.14em; padding-top: 3px; }
.form-main { background: var(--bg); padding: clamp(36px, 5vw, 56px); }
.field { margin-bottom: 24px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--border-strong);
  padding: 12px 2px;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.form-main .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-consent { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 18px; }
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ───────── Course / catalog cards (skeleton C flavor) ───────── */
.course-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.course-card {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(23,41,76,0.08);
}
.section--alt .course-card { background: var(--bg); }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px -8px rgba(23,41,76,0.16); }
.course-card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.course-card:hover .course-card__media img { transform: scale(1.05); }
.course-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px;
}
.course-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.course-card__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.course-card__body h3 { font-size: 1.55rem; line-height: 1.14; letter-spacing: -0.01em; }
.course-card__body p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.64; }
.course-card__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.course-card__spec { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-soft); }

/* ───────── Feature split (about) ───────── */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__media { position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 4/5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 5/4; }
.split h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 24px; }
.split p { color: var(--fg-soft); font-size: 1.08rem; line-height: 1.74; margin: 0 0 18px; }
.value-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 2px; }
.value-list li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--border); align-items: flex-start; }
.value-list li:last-child { border-bottom: 1px solid var(--border); }
.value-list .vk { font-family: var(--mono); font-size: 12px; color: var(--accent); min-width: 32px; padding-top: 4px; }
.value-list .vt strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.value-list .vt span { color: var(--muted); font-size: 0.98rem; }

/* ───────── Page hero (interior) ───────── */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(60px, 8vw, 100px); border-bottom: 1px solid var(--border); position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.98; letter-spacing: -0.03em; max-width: 960px; }
.page-hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--fg-soft); max-width: 560px; margin: 28px 0 0; line-height: 1.6; }
.page-hero .crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; display: flex; gap: 10px; }
.page-hero .crumbs a:hover { color: var(--accent); }

/* ───────── Legal prose ───────── */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; margin: 48px 0 16px; }
.prose h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.78; }
.prose ul { padding-left: 22px; margin: 14px 0; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .meta-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ───────── Thanks ───────── */
.thanks { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px var(--pad); }
.thanks__inner { max-width: 620px; }
.thanks__mark { font-family: var(--serif); font-size: clamp(5rem, 16vw, 11rem); line-height: 0.9; color: var(--accent); letter-spacing: -0.04em; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.02em; margin: 16px 0 20px; }
.thanks p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; }

/* ───────── Footer ───────── */
.footer { background: var(--ink); color: var(--cream-on-dark); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(244,240,230,0.16); }
.footer__brand .brand__mark { font-size: 2rem; color: var(--cream-on-dark); }
.footer__brand p { color: rgba(244,240,230,0.66); font-size: 1rem; line-height: 1.7; max-width: 340px; margin: 22px 0 0; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #E7897E; margin-bottom: 20px; font-weight: 400; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a, .footer__col li { font-size: 14px; color: rgba(244,240,230,0.72); transition: color 0.3s var(--ease); line-height: 1.5; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-direction: column; gap: 18px; padding-top: 32px; }
.footer__bottom p { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(244,240,230,0.5); margin: 0; line-height: 1.7; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: rgba(244,240,230,0.6); }
.footer__legal a:hover { color: #fff; }

/* ───────── Cookie popup ───────── */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end;
  padding: 24px;
  background: rgba(18,31,59,0.5);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 34px 36px;
  max-width: 480px;
  border-radius: 3px;
  border-top: 3px solid var(--accent);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.5rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.cookie-popup__card p { font-size: 14px; line-height: 1.64; color: var(--muted); margin: 0; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1.5px solid var(--border-strong);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  flex: 1;
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ───────── Reveal ───────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__visual img, .trust__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ───────── Divider ───────── */
.rule { height: 1px; background: var(--border); border: 0; margin: 0; }
.rule--accent { height: 2px; background: var(--accent); width: 60px; border: 0; }

/* ───────── Responsive ───────── */
@media (min-width: 768px) {
  :root { --pad: 40px; }
  .hero { grid-template-columns: 1.05fr 0.95fr; }
  .hero__content { max-width: none; margin: 0; padding-left: clamp(40px, 6vw, 96px); padding-right: 48px; }
  .hero__visual { min-height: 100vh; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(4, 1fr); }
  .statband .scell:nth-child(2n) { border-right: 1px solid rgba(244,240,230,0.18); }
  .statband .scell:nth-child(4n) { border-right: 0; }
  .promo { grid-template-columns: 1fr 1fr; }
  .promo__media { min-height: 100%; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .form-wrap { grid-template-columns: 0.9fr 1.1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .footer__top { grid-template-columns: 1.4fr 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-popup { align-items: flex-end; justify-content: flex-start; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__actions { display: flex; }
  .menu-toggle { display: none; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .course-grid { grid-template-columns: repeat(3, 1fr); }
}
