/* ============================================================
   Millán Aguado — Fisioterapia y entrenamiento (Boadilla del Monte)
   Estilo editorial de alto contraste. Sofia Sans (titulares) + Inter (lectura).
   ============================================================ */

:root {
  --bg: #FAF7F2;
  --ink: #17150F;
  --muted: #6E6A60;
  --line: #E5DFD3;
  --accent: #D24B26;
  --accent-dark: #B23C1C;
  --accent-soft: rgba(210, 75, 38, 0.09);
  --maxw: 680px;
  --maxw-wide: 1120px;
  --display: 'Sofia Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Cabecera / navegación ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Submenú "Servicios" (nativo, sin JS) */
.nav-drop { position: relative; }
.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::marker { content: ""; }
.nav-drop > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}
.nav-drop[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.nav-drop > summary:hover,
.nav-drop[open] > summary,
.nav-drop.is-active > summary { color: var(--ink); }
.nav-drop.is-active > summary { font-weight: 600; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  min-width: 236px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 48px -28px rgba(23, 21, 15, 0.4);
  padding: 8px;
  z-index: 40;
}
.nav-drop-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-drop-menu a:hover { background: var(--bg); color: var(--ink); }
.nav-drop-menu a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Cuerpo del artículo ---------- */
main { padding: 76px 0 40px; }

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 20px;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 8.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 40px;
  text-wrap: balance;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 68px 0 22px;
  text-wrap: balance;
}

p { margin: 0 0 30px; }
.lead {
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
}
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; }
a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sistema de énfasis (estilo Pibox) ---------- */
/* Palabra clave resaltada en color de marca */
.hl { color: var(--accent); font-weight: 700; }
/* Palabra o frase inline con tamaño aumentado */
.big { font-size: 1.28em; font-weight: 700; letter-spacing: -0.01em; }
/* Línea rotunda que se saca del párrafo: grande y contundente */
.shout {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(27px, 5vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 34px 0;
  text-wrap: balance;
}
.shout .hl { color: var(--accent); }

/* Separación mayor entre bloques temáticos (ritmo de la carta) */
.sep-lg { margin-top: 34px; }
.sep-xl { margin-top: 60px; }

/* ---------- Páginas legales (aviso legal / privacidad) ---------- */
.legal { font-size: 18px; }
.legal p { margin: 0 0 16px; line-height: 1.7; }
.legal h2 { font-size: clamp(21px, 2.6vw, 25px); margin: 44px 0 14px; }
.legal-updated { margin-top: 30px; color: var(--muted); font-size: 16px; }

/* Lista de teasers */
.bullets { margin: 6px 0 30px; padding: 0; list-style: none; }
.bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Captura de email (lista / email marketing) ---------- */
.capture { margin: 48px 0 8px; }
.capture-kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 12px;
}
.field-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.subscribe {
  margin: 0;
  padding: 30px 28px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 48px -32px rgba(23, 21, 15, 0.35);
}
.subscribe .field { margin-bottom: 18px; }
.subscribe-note { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.subscribe .check { margin-bottom: 18px; }
.subscribe .submit { margin-top: 4px; }
.subscribe-alt { margin-top: 18px; font-size: 15px; color: var(--muted); }
.subscribe-alt a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta-block { margin: 56px 0 8px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  padding: 20px 38px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px -12px rgba(210, 75, 38, 0.7);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(210, 75, 38, 0.75);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cta-note { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* ---------- Precio destacado (páginas de servicio) ---------- */
.price {
  margin: 40px 0 8px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 48px -32px rgba(23, 21, 15, 0.3);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.price-row:first-child { padding-top: 0; }
.price-row:last-child { padding-bottom: 0; border-bottom: none; }
.price-amount {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  flex-shrink: 0;
}
.price-amount-unit {
  display: block;
  font-family: var(--sans);
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1;
}
.price-detail { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.price-note { margin: 16px 0 0; font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ---------- Placeholder (Sobre mí) ---------- */
.placeholder {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  color: var(--muted);
  font-size: 18px;
  background: #fff;
}

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 84px; }
.site-footer .container { padding-top: 40px; padding-bottom: 48px; }

/* Firma del autor: único toque humano (foto B/N). Placeholder hasta tener imagen real. */
.footer-author { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.footer-photo {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #EFE9DE;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #A8A296;
  filter: grayscale(1);
}
.footer-author-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav a { font-size: 16px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.footer-meta strong { color: var(--ink); font-weight: 600; }
.footer-legal { margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--ink); }

/* ---------- Formulario (mismo payload → Make) ---------- */
.form { margin-top: 8px; }
.field { margin-bottom: 26px; }
.field > label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.opt { font-weight: 400; color: var(--muted); }
.req { color: var(--accent); }

.input, .textarea, .select {
  width: 100%;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  line-height: 1.5;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.input::placeholder, .textarea::placeholder { color: #A8A296; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { resize: vertical; min-height: 118px; }

/* Desplegables: mismo lienzo que .input, con flecha propia para que no
   dependa del render nativo de cada navegador. */
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  /* Los <select> ignoran line-height, así que se quedaban más bajos que los
     .input. Se fija la misma altura: 1.5em de línea + 26px de padding + 2 de
     borde (box-sizing: border-box). */
  height: calc(1.5em + 28px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E6A60' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}
/* Mientras no se elige nada, se lee como un placeholder */
.select:invalid { color: #A8A296; }

.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #C0392B; }
.error-msg { margin: 7px 0 0; font-size: 15px; color: #C0392B; }
.hidden { display: none; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--accent);
}
.check span { font-size: 16px; color: var(--muted); line-height: 1.55; }
.check span a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.check span a:hover { color: var(--accent-dark); }

.submit {
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 19px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 24px -12px rgba(210, 75, 38, 0.7);
  transition: background 0.18s ease, transform 0.18s ease;
}
.submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.submit:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.status-ok, .status-err { border-radius: 10px; padding: 16px 18px; margin-top: 16px; font-size: 17px; }
.status-ok { background: var(--accent-soft); border: 1px solid rgba(210, 75, 38, 0.25); color: var(--ink); }
.status-ok strong { color: var(--accent); }
.status-err { background: #FBEAE7; border: 1px solid #F1C4BB; color: #8A2A1A; }

/* ============================================================
   HOME — secciones visuales (héroe, bandas, stats, tarjetas, testimonios)
   ============================================================ */
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }

/* La home gestiona su propio espaciado por secciones */
main.home { padding: 0; }
.section { padding: 76px 0; }
.section-tight { padding: 58px 0; }

/* ---------- Héroe editorial (sin foto) ---------- */
.hero { background: var(--bg); padding: 88px 0 96px; }
.hero-inner { max-width: 960px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px, 10vw, 104px); margin: 0 0 32px; }
.hero-statement {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 42px;
  max-width: 20ch;
  text-wrap: balance;
}
.hero-statement .hl { color: var(--accent); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Botón secundario "fantasma" */
.btn-ghost {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 26px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Banda de palabras (marquee) ---------- */
.marquee {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
  padding: 15px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.marquee-group span { margin: 0 8px; }
.marquee-group .dot { opacity: 0.55; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Divisor tipográfico grande (transición a la newsletter) ---------- */
.newsletter-lead-in {
  padding: clamp(64px, 10vw, 128px) 0 clamp(20px, 3vw, 40px);
  overflow: hidden;
}
.newsletter-lead-in .inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.newsletter-lead-in .kicker {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.mega-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  font-size: clamp(40px, 8vw, 96px);
  color: var(--ink);
}
.mega-title .hl { color: var(--accent); }
/* La sección de la newsletter va pegada al divisor gigante (sin doble aire).
   Doble clase → gana también dentro de las media queries responsive. */
.section.section--flush-top { padding-top: clamp(6px, 1.5vw, 18px); }

/* ---------- Bandas de contraste ---------- */
.band { padding: 84px 0; }
.band-ink { background: var(--ink); color: #fff; }
.band-ink .shout { color: #fff; margin: 0; }
.band-ink .shout .hl { color: #F2906B; }

/* ---------- Números / resultados ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 52px;
}
.stat { border-top: 2px solid rgba(255, 255, 255, 0.18); padding-top: 20px; }
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(46px, 7vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #F2906B;
}
.stat-label {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
/* Nota de fuente sobre fondo claro, antes de retomar la carta */
.source-note {
  margin: 0 0 40px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Tarjetas de servicio ---------- */
.section-head { max-width: 30ch; margin-bottom: 8px; }
.section-head h2 { margin-top: 12px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 30px 60px -42px rgba(23, 21, 15, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 44px 74px -42px rgba(23, 21, 15, 0.5); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card-body h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.card-body p { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 0 0 16px; }
.card-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0 0 18px;
}
.card-link {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card-link::after { content: "\2192"; transition: transform 0.18s ease; }
.card:hover .card-link { color: var(--accent); }
.card:hover .card-link::after { transform: translateX(4px); }

/* ---------- Testimonios ---------- */
.band-soft { background: #F3EADD; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; }
.tst {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px 24px;
  box-shadow: 0 24px 48px -38px rgba(23, 21, 15, 0.35);
}
.tst::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 20px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
}
.tst-quote { position: relative; font-size: 17px; line-height: 1.6; margin: 12px 0 22px; color: var(--ink); }
.tst-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.tst-name { font-weight: 700; font-size: 15px; margin: 0; color: var(--ink); }
.tst-role { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Banda CTA final ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin: 0 0 26px; }
.cta-band .shout { margin: 0 0 30px; }

/* Retrato del autor en el pie (imagen real, sustituye al placeholder) */
img.footer-photo { object-fit: cover; }

/* ============================================================
   Animaciones de scroll (reveal + contadores)
   Estado oculto activado por .anim-ready (clase puesta en <html>
   antes del primer pintado → sin parpadeo). Selectores en sync
   con assets/reveal.js.
   ============================================================ */
.anim-ready main .hero-inner > *,
.anim-ready main .container > *,
.anim-ready main .container-wide > .section-head,
.anim-ready main .container-wide > .shout,
.anim-ready main .stats .stat,
.anim-ready main .container-wide > .cards > .card,
.anim-ready main .newsletter-lead-in > .inner > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.anim-ready .is-visible { opacity: 1 !important; transform: none !important; }

/* Failsafe: si el JS no arranca, se muestra todo */
.reveal-all main .hero-inner > *,
.reveal-all main .container > *,
.reveal-all main .container-wide > .section-head,
.reveal-all main .container-wide > .shout,
.reveal-all main .stats .stat,
.reveal-all main .container-wide > .cards > .card,
.reveal-all main .newsletter-lead-in > .inner > * {
  opacity: 1 !important;
  transform: none !important;
}

/* Cabecera fija con sombra sutil al hacer scroll */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.is-scrolled .site-header {
  box-shadow: 0 10px 30px -22px rgba(23, 21, 15, 0.55);
  border-bottom-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .anim-ready main .hero-inner > *,
  .anim-ready main .container > *,
  .anim-ready main .container-wide > .section-head,
  .anim-ready main .container-wide > .shout,
  .anim-ready main .stats .stat,
  .anim-ready main .container-wide > .cards > .card,
  .anim-ready main .newsletter-lead-in > .inner > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-header { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  main { padding: 48px 0 32px; }
  h1 { margin-bottom: 28px; }
  h2 { margin-top: 52px; }
  .shout { margin: 26px 0; }
  .btn { display: block; text-align: center; width: 100%; }
  .subscribe { padding: 24px 20px 22px; }
  .section { padding: 52px 0; }
  .band { padding: 56px 0; }
  .hero { padding: 40px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner::after { opacity: 0.08; right: 50%; transform: translateY(-50%) translateX(50%); }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn-ghost { display: block; text-align: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .card, .card-media img { transition: none; }
}

@media (max-width: 440px) {
  .site-header .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav { gap: 20px; flex-wrap: wrap; }
  .nav-drop-menu { right: auto; left: 0; min-width: 210px; }
}
