/* ==========================================================================
   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-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; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .97rem; }
.check-list svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }

/* -------------------- 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(5, 1fr);
  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: 240px; }

/* -------------------- 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; }
.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); }

/* -------------------- 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; }

/* -------------------- 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 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: 52px; height: 52px; bottom: 18px; right: 16px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}

/* -------------------- 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; gap: 10px; }
.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; }
  .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: 1fr; }
  .highlight-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
  .form-panel { padding: 24px; }
}

@media (max-width: 480px) {
  .brand-text span { display: none; }
}

/* ---------- 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;
  }
}
