/* ============================================================
   Programa MED·IA — Branding CésarAguilar.Coach
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #0C0E12;
  --bg-elev: #12151B;
  --bg-deep: #0A0C10;
  --bg-nav: #0E1015;
  --bg-light: #F4EDE6;        /* Card light contrast */
  --bg-warm: #1B0F0C;         /* Coral-tinted dark for hero badges/sections */

  /* Borders */
  --border: #24272C;
  --border-strong: #32363D;
  --border-soft: #1F2227;
  --border-warm: #2E1A14;

  /* Text */
  --text: #F4EDE6;            /* Cream-ish off-white (matches captures) */
  --text-pure: #FFFFFF;
  --text-dim: #A89A8E;         /* Warm muted */
  --text-muted: #6F665D;
  --text-dark: #1A1A1A;

  /* Brand */
  --coral: #FF533D;
  --coral-deep: #E23512;
  --coral-soft: rgba(255, 83, 61, 0.10);
  --coral-soft-2: rgba(255, 83, 61, 0.18);
  --coral-line: rgba(255, 83, 61, 0.32);
  --coral-glow: 0 0 0 1px rgba(255, 83, 61, 0.2), 0 18px 48px -16px rgba(255, 83, 61, 0.45);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1280px;

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: var(--coral); text-decoration: none; }
a:hover { color: #ff7a66; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}
p  { margin: 0; color: var(--text-dim); }
strong { color: var(--text); font-weight: 800; }
.coral { color: var(--coral); }
.muted { color: var(--text-dim); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mt-48 { margin-top: 48px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 8px 12px;
  background: var(--coral); color: #fff; font-weight: 700; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 16, 21, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text);
}
.brand__square {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.brand__text {
  display: flex; flex-direction: column; gap: 3px; line-height: 1;
}
.brand__name {
  font-weight: 800; font-size: 16px;
  color: var(--text); letter-spacing: -0.01em;
}
.brand__name strong { color: var(--coral); font-weight: 900; }
.brand__name .ia,
.brand-inline .ia,
.faq-grid__head .ia,
span.ia,
.ia { color: var(--coral); font-weight: 900; }
.brand-inline { font-weight: 900; color: var(--text); letter-spacing: -0.01em; }

.nav__right { display: inline-flex; align-items: center; gap: 18px; }
.nav__cta { height: 40px; padding: 0 18px; font-size: 13.5px; box-shadow: 0 10px 26px -10px rgba(255,83,61,0.45); }
@media (max-width: 880px) {
  .nav__cta { display: none; }
}
.brand__tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--text-dim); text-transform: uppercase;
}

.brand--right { gap: 0; }
.brand__wordmark {
  height: 38px; width: auto;
  display: block;
  /* Logo PNG already transparent — it sits cleanly over the dark nav */
}

@media (max-width: 600px) {
  .brand__tag { display: none; }
  .brand__wordmark { height: 32px; }
  .brand__name { font-size: 14px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 50px; padding: 0 24px;
  font-family: var(--font);
  font-weight: 800; font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn--primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 14px 36px -10px rgba(255, 83, 61, 0.55);
}
.btn--primary:hover {
  background: #ff6a55;
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 18px 44px -10px rgba(255, 83, 61, 0.75);
}
.btn--lg  { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--xl  { height: 64px; padding: 0 36px; font-size: 17px; }
.btn--sm  { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(244, 237, 230, 0.22);
}
.btn--ghost:hover {
  background: rgba(244, 237, 230, 0.06);
  border-color: rgba(244, 237, 230, 0.42);
  color: var(--text);
  transform: translateY(-1px);
}

/* ============================================================
   BADGES
   Pill with coral dot, coral-tinted warm dark background
   (matches the screenshots exactly)
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 18px;
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  color: var(--coral);
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral); flex-shrink: 0;
}

/* Wide pill variant for sections (like screenshots) */
.section .badge { width: 100%; max-width: 100%; justify-content: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 56px 0 96px; }
.hero__grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.3fr 1fr; gap: 56px; }
}

.hero .badge { width: auto; height: 36px; }

.hero__title {
  margin: 22px 0 26px;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero__title .strike {
  position: relative; color: var(--text);
}
.hero__title .strike::after {
  content: ""; position: absolute; left: -1%; right: -1%;
  top: 56%; height: 5px;
  background: var(--coral);
  transform: rotate(-1.5deg);
  border-radius: 3px;
  opacity: 0.95;
}
.hero__title .coral { color: var(--coral); }

.lead {
  font-size: 16.5px; line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 14px;
  max-width: 60ch;
}
.lead strong { color: var(--text); font-weight: 700; }

.hero__cta {
  margin: 30px 0 36px;
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  align-items: center;
}
.hero__note {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 13.5px; max-width: 48ch;
}
.clock { color: var(--coral); font-size: 8px; }

.hero__offer {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,83,61,0.16), rgba(255,83,61,0.06));
  border: 1px solid rgba(255,83,61,0.42);
  display: flex; flex-direction: column; gap: 6px;
  position: relative; overflow: hidden;
  box-shadow: 0 14px 40px -22px rgba(255,83,61,0.55);
}
.hero__offer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,83,61,0.22), transparent 60%);
  pointer-events: none;
}
.hero__offer-flag {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font);
  font-weight: 900; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral);
}
.hero__offer-flag::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255,83,61,0.55);
  animation: heroPulse 1.6s ease-out infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,83,61,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255,83,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,83,61,0); }
}
.hero__offer-text {
  position: relative;
  margin: 0;
  font-size: 14.5px; line-height: 1.5;
  color: var(--text);
}
.hero__offer-text strong { color: var(--text); font-weight: 800; }
@media (prefers-reduced-motion: reduce) {
  .hero__offer-flag::before { animation: none; }
}

.hero__props {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; gap: 14px;
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
}
.hero__props li {
  display: grid; grid-template-columns: 22px 1fr; align-items: start;
  gap: 12px;
  font-size: 15px; line-height: 1.5;
  color: var(--text-dim);
}
.hero__props li strong { color: var(--text); font-weight: 800; }
.hero__props-mark {
  color: var(--coral); font-weight: 900; font-size: 16px;
  line-height: 1.5; display: inline-block;
}

.hero__stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
}
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hero__stats strong {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 900; font-style: italic;
  color: var(--text); letter-spacing: -0.02em;
  line-height: 1;
}
.hero__stats span {
  font-size: 10.5px; font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ============================================================
   FORM
   ============================================================ */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s, transform .2s;
}
.card--form { padding: 30px; position: relative; }
@media (min-width: 980px) {
  .card--form { position: sticky; top: 90px; }
}
.form-title { font-size: 22px; margin-bottom: 6px; font-weight: 900; }
.form-sub  { font-size: 14px; color: var(--text-dim); margin-bottom: 22px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field__label {
  font-size: 10.5px; font-weight: 800;
  color: var(--text-dim); letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form input,
.form select,
.form textarea {
  appearance: none;
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form input:not([type="checkbox"]):not([type="radio"]), .form select { height: 46px; }
.form textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.form input::placeholder,
.form textarea::placeholder { color: var(--text-muted); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 83, 61, 0.15);
}

.check {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  align-items: start;
  font-size: 12.5px; color: var(--text-dim); line-height: 1.55;
  cursor: pointer;
  padding: 6px 0;
}
.check input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--coral);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.check span { cursor: pointer; }
.check.is-error { color: var(--coral); }
.check.is-error input[type="checkbox"] { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 3px; }
.check a { color: var(--coral); text-decoration: underline; }

.form__legal { margin: 6px 0 0; font-size: 12px; color: var(--text-muted); text-align: center; }
.form__err {
  margin: 6px 0 0; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.5;
  color: #fff;
  background: var(--coral-deep);
  border-radius: 10px;
  border: 1px solid var(--coral);
}
.form__ok {
  margin: 0; padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--coral-soft-2);
  border: 1px solid var(--coral-line);
  color: var(--coral);
  font-size: 13px; font-weight: 800; text-align: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(80px, 10vw, 132px) 0;
  border-top: 1px solid var(--border-soft);
}

.section__title--two {
  max-width: 18ch;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .section__title--two { max-width: none; }
  .section__title--two br { display: none; }
}

.section__title {
  margin-top: 24px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.section__title .muted { color: var(--text); opacity: 0.78; display: inline; }
.section__lead {
  margin-top: 22px;
  font-size: 17px; line-height: 1.65;
  color: var(--text-dim);
  max-width: 64ch;
}

/* Coral block highlight (used in MED·IA inline) */
.coral-block {
  color: var(--coral);
  font-weight: 900;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2, .grid-3, .grid-4 {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}

/* ============================================================
   DUO (light + dark)
   ============================================================ */
.duo {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .duo { grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
}
.duo__title {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 22ch;
}
.duo__title + p { color: inherit; opacity: 0.85; font-size: 15.5px; line-height: 1.65; max-width: 56ch; }

.card--light {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.card--light h2 { color: var(--text-dark); }
.card--light p  { color: #4A4642; opacity: 1; }

.card--dark {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.card--dark .badge { margin-bottom: 18px; }
.card--dark p { color: var(--text-dim); }

/* ============================================================
   PROCESO — 4 steps
   ============================================================ */
.step-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  transition: border-color .25s, transform .25s, background .25s;
}
.step-card:hover {
  border-color: var(--coral-line);
  transform: translateY(-2px);
}
.step-card__num {
  font-size: 14px; font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.14em;
}
.step-card h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.step-card p { font-size: 14.5px; line-height: 1.6; }
.step-card--accent {
  background: linear-gradient(180deg, rgba(255,83,61,0.10) 0%, rgba(255,83,61,0.02) 60%) , var(--bg-elev);
  border-color: var(--coral-line);
}

/* ============================================================
   DIFERENCIAL — two-col-asym
   ============================================================ */
.two-col-asym {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 880px) {
  .two-col-asym { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.card--lg {
  padding: 40px;
  border-radius: var(--radius-lg);
}
.card--lg .badge { margin-bottom: 20px; }
.card--lg p { font-size: 15.5px; line-height: 1.65; max-width: 50ch; }

.stack { display: grid; gap: 18px; }
.card--row {
  padding: 26px 28px;
  border-radius: var(--radius-md);
}
.card--row h3 {
  font-size: 18px; font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}
.card--row p { font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   MODULES (M0..M5)
   ============================================================ */
.module {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: border-color .2s, transform .2s;
}
.module:hover {
  border-color: var(--coral-line);
  transform: translateY(-2px);
}
.module__id {
  display: inline-block;
  font-size: 13px; font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.module h3 {
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.module p { font-size: 15px; line-height: 1.6; }

/* ============================================================
   MEANING (MED · IA · A)
   ============================================================ */
.meaning {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.meaning::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(255, 83, 61, 0.10), transparent 70%);
  pointer-events: none;
}
.meaning__title {
  position: relative;
  margin: 24px 0 36px;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}
.meaning__grid {
  position: relative;
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 920px; margin: 0 auto;
}
@media (min-width: 880px) {
  .meaning__grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px;
  }
}
.meaning__grid > div { text-align: left; }
@media (min-width: 880px) {
  .meaning__grid > div { text-align: center; }
}
.meaning__label {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.32em;
  margin-bottom: 14px;
}
.meaning__grid strong {
  display: block;
  font-size: 20px; font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.meaning__grid p { font-size: 14.5px; line-height: 1.55; max-width: 28ch; margin: 0 auto; }
.meaning__sep {
  font-size: 36px; color: var(--coral);
  font-weight: 900;
  align-self: center; line-height: 1;
  display: none;
}
@media (min-width: 880px) { .meaning__sep { display: block; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
}
.faq-grid__head .section__title { margin-top: 24px; max-width: 16ch; }
.faq-grid__head .section__lead { margin-top: 24px; font-size: 15.5px; }

.faq__list { display: grid; gap: 12px; }
.faq__item {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--coral-line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  padding-right: 56px;
  font-size: 16.5px; font-weight: 800;
  color: var(--text);
  position: relative;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 26px; top: 50%;
  transform: translateY(-50%);
  color: var(--coral);
  font-size: 22px; font-weight: 900;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body {
  padding: 0 26px 24px;
  color: var(--text-dim);
  font-size: 15px; line-height: 1.65;
}
.faq__body p + p { margin-top: 10px; }
.faq__body strong { color: var(--text); }

/* ============================================================
   CTA — Siguiente paso
   ============================================================ */
.section--cta { padding-bottom: clamp(96px, 12vw, 144px); }
.cta-card {
  position: relative;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(255, 83, 61, 0.20), transparent 65%),
    var(--bg-elev);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(255, 83, 61, 0.30);
}
.cta-card__title {
  margin: 24px 0 22px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.cta-card__lead {
  font-size: 16.5px; line-height: 1.65;
  color: var(--text-dim);
  max-width: 68ch;
  margin-bottom: 32px;
}
.cta-card__row {
  display: flex; flex-wrap: wrap; gap: 14px 18px;
  align-items: center;
  margin-bottom: 18px;
}
.cta-card__note {
  font-size: 14px; color: var(--text-dim);
  max-width: 42ch; line-height: 1.55;
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 64px 0 0;
  background: var(--bg-nav);
  border-top: 1px solid var(--border-soft);
}
.footer__top {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }

.footer__brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
  max-width: 320px;
}
.footer__col h4 {
  font-size: 11px; font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__col a { color: var(--text-dim); font-size: 14px; }
.footer__col a:hover { color: var(--coral); }

.footer__bottom {
  margin-top: 56px; padding: 22px 0;
  border-top: 1px solid var(--border-soft);
}
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  font-size: 12.5px; color: var(--text-dim);
}
.footer__bottom-inner .muted { color: var(--text-muted); }

/* ============================================================
   ACCESSIBILITY + MOTION
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--coral); color: #fff; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
