/* Fuentes alojadas en el propio dominio (Inter variable + Poppins), subconjuntos latin y latin-ext. Licencia OFL. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin-ext-749a30.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin-1ab1ad.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-ext-aba1f5.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-f8670f.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-ext-41bcef.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-2b0817.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-ext-9d552f.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-4cd3c7.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Audición Plena — hoja de estilos principal
   ========================================================================== */

:root {
  --navy: #123B4A;
  --navy-2: #0D2C38;
  --teal: #0EA5A8;
  --teal-dark: #0C8286;
  --teal-light: #5FCFC9;
  --mint-bg: #EAF6F6;
  --mint-bg-2: #F5FBFA;
  --text: #26343B;
  --text-light: #5B6B72;
  --white: #FFFFFF;
  --border: #DCEAEA;
  --shadow: 0 12px 32px -16px rgba(18, 59, 74, 0.22);
  --shadow-sm: 0 4px 14px -6px rgba(18, 59, 74, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text); }
p.lead { font-size: 1.1rem; color: var(--text-light); }

a { color: var(--teal-dark); }

/* Foco visible para navegación por teclado (accesibilidad) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--mint-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.bg-mint { background: var(--mint-bg-2); }
.bg-navy { background: var(--navy); color: #D6E7EA; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #B9D3D8; }

/* -------------------- Botones -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  /* --teal-dark (no --teal) para que el texto blanco cumpla el contraste
     mínimo WCAG AA (4.5:1) — --teal solo daba 3.01:1. Ver PROTOCOLO-QA. */
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-dark);
}
.btn-outline:hover { background: var(--mint-bg); }
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--mint-bg); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { height: 46px; width: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.08rem; color: var(--navy); font-weight: 700; }
.brand-text span { font-size: .68rem; color: var(--teal-dark); font-weight: 600; letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-head);
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal-dark); background: var(--mint-bg); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--mint-bg-2) 0%, var(--mint-bg) 55%, #DCF1F0 100%);
  padding: 56px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  font-size: .92rem;
  color: var(--text-light);
  font-weight: 500;
}
.hero-copy .meta-row span { display: inline-flex; align-items: center; gap: 7px; }
.hero-copy .meta-row svg { width: 17px; height: 17px; color: var(--teal-dark); flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-call { margin: 18px 0 0; font-size: 1rem; line-height: 1.9; color: var(--text); }
.hero-call a { font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
/* Home: el formulario rápido va justo después del hero; el CTA principal enlaza aquí */
.hero-grid-home { margin-bottom: 44px; }
#solicitar { scroll-margin-top: 96px; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(14,165,168,.28), rgba(14,165,168,0) 70%);
  width: 560px; height: 560px;
  top: -120px; right: -140px;
  z-index: 0;
}

/* -------------------- Highlight strip -------------------- */
.highlight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.highlight-item .icon-badge { flex-shrink: 0; }
.highlight-item strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.highlight-item span { font-size: .95rem; color: var(--text-light); }

/* -------------------- Icon badges -------------------- */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mint-bg);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge img { width: 68%; height: 68%; object-fit: contain; }
.icon-badge.lg { width: 58px; height: 58px; border-radius: 16px; }
.icon-badge.lg svg { width: 30px; height: 30px; }
.icon-badge.photo-icon { background: transparent; }
.icon-badge.photo-icon img { width: 100%; height: 100%; }
.icon-badge.on-navy { background: rgba(255,255,255,.12); color: var(--teal-light); }

/* -------------------- Section headers -------------------- */
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -------------------- Cards / grids -------------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-light); margin-bottom: 14px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--teal-dark);
  text-decoration: none;
}
.card-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card-link:hover svg { transform: translateX(3px); }

.check-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
/* La marca va posicionada y el texto fluye como un bloque: así el contenido mixto (negrita, enlaces, texto) se ajusta bien y no desborda en móvil. */
.check-list li { position: relative; padding-left: 30px; font-size: .97rem; text-align: left; }
.check-list svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--teal); }
/* Listas y párrafos que cuelgan de una cabecera de sección centrada: se centran como bloque (el texto sigue alineado a la izquierda para leerse bien) */
.section-head.center ~ .check-list { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.section-head.center ~ p { max-width: 760px; margin-left: auto; margin-right: auto; }

/* -------------------- Split section (texto + foto) -------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
/* .reverse pone la foto a la derecha en escritorio aunque vaya primero en
   el HTML (para que en móvil se lea foto -> texto, de arriba a abajo). */
.split.reverse .photo-frame { order: 2; }

/* -------------------- Fotografía -------------------- */
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.photo-frame img { width: 100%; height: auto; display: block; }

.hero-art .photo-frame { position: relative; z-index: 1; }

/* -------------------- Pasos / cómo funciona -------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); /* 4 o 5 pasos ocupan siempre todo el ancho, sin hueco a la derecha */
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 18px 18px;
  text-align: left;
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  /* --teal-dark, no --teal: mismo motivo que .btn-primary (contraste WCAG AA) */
  background: var(--teal-dark);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .96rem; color: var(--text-light); margin: 0; }

/* -------------------- Tablas -------------------- */
.table-wrap { overflow-x: auto; margin: 24px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 480px; }
.table-wrap th, .table-wrap td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  font-size: .95rem;
}
.table-wrap th {
  background: var(--mint-bg);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
}
.table-wrap td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.table-note { font-size: .88rem; color: var(--text-light); margin-top: -8px; }

/* -------------------- Servicio destino map -------------------- */
.zone-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.zone-card {
  background: var(--mint-bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.zone-card .icon-badge { margin-bottom: 14px; }

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; background: var(--teal-dark);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q .plus::before { width: 14px; height: 2.5px; }
.faq-q .plus::after { width: 2.5px; height: 14px; transition: transform .2s ease; }
.faq-item.open .plus::after { transform: translate(-50%,-50%) rotate(90deg) scale(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a p { padding: 0 22px 20px; color: var(--text-light); margin: 0; }
.faq-item.open .faq-a { max-height: 720px; }

/* -------------------- Agenda rápida (home) -------------------- */
.agenda-quick {
  max-width: 440px;
  margin: 0 auto 44px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--teal);
  padding: 34px 30px 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.agenda-quick .agenda-logo { width: 76px; height: 76px; margin: 0 auto 14px; }
.agenda-quick h2 { font-size: 1.5rem; margin-bottom: 6px; }
.agenda-quick .lead-sm { color: var(--text-light); font-size: .92rem; margin-bottom: 22px; }
.agenda-quick form { text-align: left; }
.agenda-quick .form-success { text-align: center; }

/* -------------------- Formulario -------------------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--text);
  background: var(--mint-bg-2);
  transition: border-color .15s ease, background .15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
  background: var(--white);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-items: end; }
.radio-group { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 1rem; color: var(--text); font-family: var(--font-body); }
.radio-group input { accent-color: var(--teal); width: 20px; height: 20px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 16px; }
.checkbox-row input { margin-top: 2px; accent-color: var(--teal); width: 20px; height: 20px; flex-shrink: 0; }
.checkbox-row label { font-size: .96rem; color: var(--text); line-height: 1.5; }
.form-note { font-size: .9rem; color: var(--text-light); margin-top: 14px; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.form-success.show { display: block; }
.form-success .icon-badge { margin: 0 auto 16px; }
.form-fields.hide { display: none; }

/* -------------------- Testimonial-free quote block -------------------- */
.quote-block {
  border-left: 4px solid var(--teal);
  padding-left: 22px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 500;
  margin: 26px 0;
}

/* -------------------- CTA band -------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C9E4E4; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--navy-2);
  color: #A9C4C9;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; width: 40px; }
.footer-brand strong { font-family: var(--font-head); color: var(--white); font-size: 1.05rem; }
.footer-col h4 { color: var(--white); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #A9C4C9; text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--teal-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: .82rem;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #90AEB4; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-affiliation { margin: 10px 0 0; font-size: .78rem; letter-spacing: .02em; color: #8CA9AF; }

/* -------------------- Cookie banner -------------------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  z-index: 200;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .95rem; color: var(--text-light); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 20px; font-size: .92rem; min-height: 44px; }

/* -------------------- Breadcrumb / page hero (páginas interiores) -------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--mint-bg-2), var(--mint-bg));
  padding: 46px 0 56px;
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero p.lead { max-width: 640px; }
.page-hero h2.hero-statement { font-size: clamp(1.25rem, 2.8vw, 1.65rem); font-weight: 600; color: var(--navy); max-width: 640px; margin: 16px 0 0; }
.page-hero .hero-note { margin: 14px 0 0; max-width: 520px; }
.cta-band .cta-alt { margin: 22px auto 0; font-size: .95rem; color: #C9E4E4; }
.cta-band .cta-alt a { color: var(--white); font-weight: 600; text-decoration: underline; }

/* -------------------- WhatsApp flotante (activo, número real 604 424 678) -------------------- */
.whatsapp-float {
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 150;
  transition: transform .15s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: scale(1.06); }
.whatsapp-float { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transition: transform .15s ease, opacity .2s ease, visibility .2s; }
/* main.js lo aparta mientras un botón o un formulario pasa por la franja inferior de la pantalla */
.whatsapp-float.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }
/* Mientras el aviso de cookies está visible, se oculta el botón de WhatsApp para que nunca queden solapados. */
.cookie-banner.show ~ .whatsapp-float { display: none; }
@media (max-width: 480px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 14px; }
  .whatsapp-float svg { width: 25px; height: 25px; }

  /* Aviso de cookies compacto: texto legible, ambos botones a la vista y con la misma presencia */
  .cookie-banner { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; }
  .cookie-banner p { font-size: .9rem; line-height: 1.45; margin-bottom: 10px; }
  .cookie-actions { gap: 8px; flex-wrap: nowrap; }
  .cookie-actions .btn { flex: 1 1 0; justify-content: center; padding: 8px 10px; font-size: .88rem; line-height: 1.2; }
}

/* -------------------- Utilidades -------------------- */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.visually-hidden:focus {
  position: fixed;
  left: 16px; top: 16px;
  width: auto; height: auto;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 10px;
  z-index: 999;
  box-shadow: var(--shadow);
}
.btn-label-short { display: none; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-note { font-size: .9rem; color: var(--text-light); }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.page-hero .pill-list { justify-content: flex-start; } /* en las cabeceras de página (texto a la izquierda) las etiquetas siguen a la izquierda */
.pill { background: var(--mint-bg); color: var(--teal-dark); border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-weight: 600; font-family: var(--font-head); }
.divider { height: 1px; background: var(--border); margin: 48px 0; border: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* El menú completo solo cabe con holgura a partir de ~1140px (logo +
   etiqueta + 7 enlaces + botón). Por debajo, usar siempre el menú
   hamburguesa para evitar que el botón "Solicita tu prueba" se corte. */
@media (max-width: 1140px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn .btn-label-full { display: none; }
  .header-actions .btn .btn-label-short { display: inline; }
  .header-actions .btn { padding: 12px 18px; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 20px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .site-header.nav-open .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-grid-home .hero-art { order: 0; } /* en la home, primero qué hacemos y para quién */
  .highlight-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .photo-frame { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .zone-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 52px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .highlight-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .site-footer { padding-bottom: 92px; } /* deja libre el final para el botón flotante de WhatsApp */
  .cta-band { padding: 34px 22px; }
  .form-panel { padding: 24px; }
}

@media (max-width: 480px) {
  .brand-text span { display: none; }
  /* Cabecera compacta (va aquí, tras el bloque de 1140px, para prevalecer sobre él) */
  .header-inner { padding: 8px 0; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 40px; width: 40px; }
  .brand-text strong { font-size: 1rem; }
  .header-actions { gap: 4px; }
  .header-actions .btn { padding: 8px 16px; min-height: 44px; font-size: .92rem; }
  .nav-toggle { padding: 10px; margin-right: -10px; }
}

/* ---------- Fase 9B: honeypot antispam + widget Turnstile + estados de envío ----------
   .hp-field: oculto visualmente de forma accesible (no display:none, para que
   siga "existiendo" para un bot que rellena todos los inputs sin ejecutar CSS/JS),
   pero fuera del flujo de tabulación y del árbol de accesibilidad para una persona real. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cf-turnstile { margin: 4px 0 6px; }

.form-error-banner {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fdecec;
  border: 1px solid #f3b4b4;
  color: #7a1f1f;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.form-error-banner.show { display: block; }
.form-error-banner a { color: #7a1f1f; font-weight: 600; }

.form-field-error {
  color: #b02a2a;
  font-size: 0.85rem;
  margin: -8px 0 10px;
  display: none;
}
.form-field-error.show { display: block; }

form[data-lead-form][data-state="submitting"] button[type="submit"] {
  opacity: 0.7;
  cursor: wait;
}
form[data-lead-form][data-state="submitting"] .form-fields {
  pointer-events: none;
}

/* ---------- Accesibilidad: respeta la preferencia del sistema operativo de
   reducir animaciones (mareos/molestias vestibulares) — Fase 9B.1 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- Centros auditivos adheridos -------------------- */
.centros-grid { max-width: 820px; margin: 0 auto; }
.centro-card { text-align: left; }
.centro-card .centro-ciudad { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 6px; }
.centro-card .centro-nombre { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); margin: 0 0 6px; }
.centro-card address { font-style: normal; color: var(--text); line-height: 1.5; margin: 0; }
.adheridos-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: .92rem; color: var(--text-light); }
.footer-affiliation + .footer-affiliation { margin-top: 4px; }

/* Migas de pan */
.breadcrumb { margin: 0 0 14px; font-size: .84rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; color: var(--text-light); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { display: inline-block; padding: 7px 0; color: var(--text-light); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* Zonas táctiles cómodas en móvil (formulario y enlaces de tarjeta) */
.radio-group label { min-height: 44px; }
.card-link { padding-block: 8px; }
