/* ============================================================================
   Odontoviña — Hoja de estilos principal (compartida)
   Versión: 1.0 — extraída del HTML monolítico a archivo cacheable.
   Cambios vs. versión inline:
     - Soporte `prefers-reduced-motion: reduce` para accesibilidad.
     - Variables con scope semántico (--brand-* cuando se usen a futuro).
   ============================================================================ */

:root {
  --navy:       #0B1F3B;
  --navy-mid:   #16355e;
  --navy-light: #e8edf5;
  --teal:       #00B894;
  /* --teal-dark oscurecido de #009d7e a #007a5c: el original daba 3.43:1
     como texto sobre blanco/crema y como fondo con texto blanco (botones),
     ambos por debajo del 4.5:1 que exige WCAG 2.1 AA (1.4.3). El nuevo
     valor da 5.33:1 en ambos usos, dentro de la misma familia de color. */
  --teal-dark:  #007a5c;
  --teal-light: #e0f7f3;
  --white:      #ffffff;
  --cream:      #f8fafd;
  --text:       #0f172a;
  --text-mid:   #334155;
  --text-muted: #64748b;
  --border:     rgba(11,31,59,0.10);
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 4px 20px rgba(11,31,59,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 48px rgba(11,31,59,0.12), 0 4px 12px rgba(0,0,0,0.05);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', system-ui, sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 68px; display: flex; align-items: center;
  padding: 0 5%; gap: 32px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: 8px; flex: 1; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--text-muted);
  padding: 6px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); background: var(--navy-light); }
.nav-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Nunito', sans-serif; font-weight: 700; border-radius: 50px; text-decoration: none; transition: all .18s; white-space: nowrap; }
.btn-primary { background: var(--navy); color: #fff; padding: 11px 24px; font-size: 14px; box-shadow: 0 4px 14px rgba(11,31,59,0.25); }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(11,31,59,0.32); }
.btn-primary-lg { padding: 15px 32px; font-size: 16px; }
/* Fondo por defecto en --teal-dark (no --teal): #00B894 con texto blanco
   encima solo da 2.54:1, muy por debajo del 4.5:1 de WCAG AA 1.4.3. Es el
   botón de conversión principal del sitio ("Agendar Evaluación"), por eso
   se corrige aquí primero. */
.btn-teal { background: var(--teal-dark); color: #fff; padding: 11px 24px; font-size: 14px; box-shadow: 0 4px 14px rgba(0,184,148,0.28); }
.btn-teal:hover { background: #00593f; transform: translateY(-1px); }
.btn-teal-lg { padding: 15px 32px; font-size: 16px; }
/* #25D366 (verde WhatsApp claro) con texto blanco da solo 1.98:1. Se usa
   #075E54, el verde oscuro oficial de la marca WhatsApp (el de su propio
   header), que da 7.67:1 y sigue siendo reconocible como "WhatsApp". */
.btn-wa { background: #075E54; color: #fff; padding: 15px 28px; font-size: 15px; box-shadow: 0 4px 16px rgba(7,94,84,0.35); }
.btn-wa:hover { background: #054840; transform: translateY(-1px); }
.btn-ghost { color: var(--text-muted); padding: 11px 20px; font-size: 14px; border: 1.5px solid var(--border); background: var(--white); }
.btn-ghost:hover { color: var(--navy); border-color: var(--navy-light); background: var(--navy-light); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 68px;
  background:
    linear-gradient(to right,
      rgba(11,31,59,0.92) 0%,
      rgba(11,31,59,0.80) 45%,
      rgba(11,31,59,0.35) 75%,
      rgba(11,31,59,0.20) 100%
    ),
    url('/assets/img/clinica.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  padding-left: 8%; padding-right: 8%;
  color: #fff;
  position: relative;
}
.hero-content { max-width: 580px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 28px; color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.82);
  font-weight: 300; line-height: 1.7;
  max-width: 460px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 40px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.16); flex-wrap: wrap; }
.hero-stat-n { font-family: 'Nunito', sans-serif; font-size: 2rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 4px; }
.hero-stat-l { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.04em; }

/* ── TRUST BAR ──────────────────────────────────────────── */
.trust-bar { background: var(--navy); padding: 18px 8%; display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.82); font-size: 13.5px; font-weight: 400; }
.trust-icon { width: 30px; height: 30px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding: 88px 8%; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: #fff; }
.section-teal-light { background: var(--teal-light); }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 14px;
}
.section-dark .section-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.section-header h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--text);
}
.section-dark .section-header h2 { color: #fff; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); font-weight: 300; max-width: 540px; margin-top: 12px; }
.section-header.center p { margin: 12px auto 0; }

/* ── MISIÓN / VISIÓN ────────────────────────────────────── */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.mv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
}
.mv-card h3 { font-family: 'Nunito', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.mv-card p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; font-weight: 300; }

/* ── ESPECIALIDADES ─────────────────────────────────────── */
.esp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.esp-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.esp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.esp-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.esp-icon svg { width: 28px; height: 28px; stroke: var(--teal-dark); fill: none; stroke-width: 1.5; }
.esp-card h3 { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.esp-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.esp-card a {
  font-size: 13px; font-weight: 700; color: var(--teal-dark);
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1.5px solid var(--teal-light); padding-bottom: 1px;
  transition: border-color .15s, color .15s;
}
.esp-card a:hover { color: var(--navy); border-color: var(--navy-light); }

/* ── REVIEWS ────────────────────────────────────────────── */
.reviews-section h2 { font-family: 'Nunito', sans-serif; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; margin-bottom: 8px; }
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonio-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testimonio-stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonio-texto { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; font-weight: 300; flex: 1; margin-bottom: 14px; }
.testimonio-autor { font-size: 0.85rem; font-weight: 700; color: var(--navy); }

/* ── EQUIPO ─────────────────────────────────────────────── */
.equipo-photo { width: 100%; max-width: 700px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin: 0 auto 56px; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.staff-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.staff-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--teal-light); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.staff-card h3 { font-family: 'Nunito', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.staff-card p { font-size: 0.78rem; color: var(--teal-dark); font-weight: 600; }

/* ── EXPERIENCIA ────────────────────────────────────────── */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.exp-text .section-tag { margin-bottom: 14px; }
.exp-text h2 { font-family: 'Nunito', sans-serif; font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; color: var(--text); margin-bottom: 18px; }
.exp-text p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; font-weight: 300; margin-bottom: 28px; }
.exp-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

/* ── PAGOS ──────────────────────────────────────────────── */
.pagos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pagos-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.pago-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.85); font-weight: 400; }
.pago-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(0,184,148,0.2); border: 1.5px solid var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pagos-logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.pagos-logos a { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: 12px 20px; transition: box-shadow .2s, transform .2s; }
.pagos-logos a:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.25); transform: translateY(-2px); }
.pagos-logos img { height: 60px; width: auto; object-fit: contain; display: block; }

/* ── UBICACIÓN ──────────────────────────────────────────── */
.ubicacion-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.ubicacion-info { display: flex; flex-direction: column; gap: 24px; }
.info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--teal-dark); margin-bottom: 6px; }
.info-text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }
.horario-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.horario-grid dt { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.horario-grid dd { font-size: 0.88rem; color: var(--text-mid); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); width: 100%; height: 380px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a4a6e 100%);
  padding: 88px 8%; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(0,184,148,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-family: 'Nunito', sans-serif; font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 480px; margin: 0 auto 36px; font-weight: 300; position: relative; }
.cta-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: #060f1e; color: rgba(255,255,255,0.5); padding: 48px 8% 28px; }
.footer-inner { display: flex; gap: 48px; margin-bottom: 40px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 40px; }
.footer-brand { flex: 0 0 220px; }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.62); /* antes 0.4 = 3.80:1, bajo el 4.5:1 de WCAG AA */ line-height: 1.6; }
.footer-cols { flex: 1; display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 130px; }
.footer-col strong { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.62); /* antes 0.4 = 3.80:1, bajo el 4.5:1 de WCAG AA */ transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 12px; }

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 500;
  background: #25D366; color: #fff;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: transform .2s, box-shadow .2s;
  font-size: 22px;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ── ANIMATIONS (respeta prefers-reduced-motion) ─────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp .6s ease both; }
.hero-badge { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero-sub { animation-delay: .25s; }
.hero-actions { animation-delay: .35s; }
.hero-stats { animation-delay: .45s; }

/* ── FOCUS VISIBLE (accesibilidad teclado) ──────────────── */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── SCREEN READERS ONLY ────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 6%; }
  .mv-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; gap: 36px; }
  .pagos-grid { grid-template-columns: 1fr; }
  .ubicacion-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 24px; }
  .hero-page { padding: 116px 6% 48px; }
  .breadcrumb { padding: 76px 6% 0; }
  .especialista-card { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .hero { padding-left: 6%; padding-right: 6%; }
  .hero h1 { font-size: 2.1rem; }
  .trust-bar { gap: 20px; padding: 18px 6%; }
  .hero-stats { gap: 24px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── HERO DE PÁGINA DE SERVICIO (más bajo que el hero del home) ── */
.hero-page { min-height: auto; padding: 132px 8% 64px; }
.hero-page .hero-content { max-width: 640px; }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb { padding: 84px 8% 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.82rem; color: var(--text-muted); list-style: none; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb a { color: var(--text-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--teal-dark); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }
.breadcrumb span[aria-hidden] { margin: 0 6px; color: var(--border); }
.hero-page + .breadcrumb, .breadcrumb + .hero-page { padding-top: 0; }

/* ── INFO CARDS (qué es / para quién / cuánto demora) ───── */
.info-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* ── PROCESO (pasos numerados) ──────────────────────────── */
.proceso-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 24px; }
.proceso-step { position: relative; padding-left: 52px; }
.proceso-step-n {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.95rem;
}
.proceso-step h3 { font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.proceso-step p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; font-weight: 300; }

/* ── FAQ (acordeón sin JS) ───────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 24px; }
.faq-item summary {
  padding: 18px 0; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.98rem;
  color: var(--text); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--teal-dark); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding-bottom: 20px; font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; font-weight: 300; }

/* ── TABLA COMPARATIVA ───────────────────────────────────── */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-width: 480px; }
.comparison-table th, .comparison-table td { padding: 14px 18px; text-align: left; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.comparison-table th { background: var(--navy-light); font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--navy); }
.comparison-table td:first-child { font-weight: 600; color: var(--text); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* ── BENEFICIOS (checklist) ──────────────────────────────── */
.beneficios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.beneficio-item { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.beneficio-check { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-light); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: 0.85rem; }
.beneficio-item p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; font-weight: 400; }

/* ── TIERS DE CONVENIO (bono PAD) ────────────────────────── */
.tier-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.tier-card h3 { font-family: 'Nunito', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.tier-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; font-weight: 300; margin-bottom: 12px; }
.tier-card a { font-size: 0.85rem; font-weight: 700; color: var(--teal-dark); border-bottom: 1.5px solid var(--teal-light); padding-bottom: 1px; }
.disclaimer-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; max-width: 640px; margin: 32px auto 0; font-style: italic; }

/* ── CENTRO DE AYUDA ─────────────────────────────────────── */
.faq-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.faq-related-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; font-size: 0.9rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.faq-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--teal-dark); }
.categoria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.categoria-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.categoria-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.categoria-card h3 { font-family: 'Nunito', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.categoria-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.categoria-card .categoria-count { font-size: 0.78rem; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.faq-list-simple { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-list-simple a { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; font-size: 0.94rem; font-weight: 600; color: var(--text); transition: color .15s, border-color .15s; }
.faq-list-simple a:hover { color: var(--teal-dark); border-color: var(--teal-light); }
.ayuda-search { max-width: 560px; margin: 0 auto 48px; position: relative; }
.ayuda-search input { width: 100%; padding: 16px 20px; font-size: 1rem; border: 1.5px solid var(--border); border-radius: 50px; font-family: 'Nunito Sans', sans-serif; }
.ayuda-search input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.ayuda-search-results { max-width: 560px; margin: 12px auto 0; display: flex; flex-direction: column; gap: 8px; }
.ayuda-search-results a { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; font-size: 0.9rem; color: var(--text); }
.ayuda-search-results a:hover { border-color: var(--teal-light); color: var(--teal-dark); }
.ayuda-search-empty { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-top: 12px; }

/* ── CONTACTO ─────────────────────────────────────────────── */
.contacto-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; max-width: 960px; margin: 0 auto; align-items: start; }
.contacto-form { display: flex; flex-direction: column; gap: 6px; }
.contacto-form label { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-top: 14px; }
.contacto-form input, .contacto-form select, .contacto-form textarea {
  font-family: 'Nunito Sans', sans-serif; font-size: 0.95rem; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text);
}
.contacto-form input:focus-visible, .contacto-form select:focus-visible, .contacto-form textarea:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 1px;
}
.contacto-form button { margin-top: 20px; align-self: flex-start; }
.contacto-info { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 960px) {
  .contacto-grid { grid-template-columns: 1fr; }
}

/* ── BLOG (contenido markdown) ───────────────────────────── */
.blog-content { max-width: 720px; margin: 0 auto; font-size: 1.02rem; line-height: 1.8; color: var(--text-mid); font-weight: 300; }
.blog-content h2 { font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 40px 0 16px; }
.blog-content h3 { font-family: 'Nunito', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 28px 0 12px; }
.blog-content p { margin-bottom: 18px; }
.blog-content ul, .blog-content ol { margin: 0 0 18px 1.4em; }
.blog-content li { margin-bottom: 8px; }
.blog-content strong { color: var(--text); font-weight: 700; }
.blog-content a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.blog-content blockquote { border-left: 3px solid var(--teal); padding: 4px 20px; margin: 24px 0; color: var(--text-mid); font-style: italic; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.blog-content th, .blog-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.92rem; }
.blog-content th { background: var(--navy-light); font-weight: 700; color: var(--navy); }

/* ── BLOG (índice) ───────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.blog-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 160px; object-fit: cover; }
.blog-card-body { padding: 22px; }
.blog-card-body h3 { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.blog-card-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── GLOSARIO ────────────────────────────────────────────── */
.glosario-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.glosario-item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.glosario-item dt { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.glosario-item dd { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; font-weight: 300; }

/* ── CARD DE ESPECIALISTA (en página de servicio) ───────── */
.especialista-card { display: flex; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.especialista-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--teal-light); }
.especialista-card h3 { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.especialista-card .especialidad { font-size: 0.82rem; color: var(--teal-dark); font-weight: 700; margin-bottom: 6px; }
.especialista-card .bio { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; font-weight: 300; }
.especialistas-grid { display: grid; gap: 20px; }

/* ── ACCESIBILIDAD: usuarios con vestibular disorders ────── */
@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;
  }
  .hero-content > * { animation: none; }
}
