/* =========================================================
   DRALERGOLOGOPEDIATRA — style.css  v2
   Orden:
   1.  Reset & Variables
   2.  Base
   3.  Navbar
   4.  Hero
   5.  Trust Strip
   6.  Secciones base
   7.  Síntomas
   8.  CTA Band
   9.  Servicios & Tratamiento
   10. Doctor
   11. Testimonios
   12. Contacto
   13. Footer
   14. WhatsApp flotante
   15. Mobile CTA Bar
   16. Animaciones
   17. Responsive
   ========================================================= */

/* ─── 1. RESET & VARIABLES ──────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-dark:    #0D3C6E;
  --blue:         #1A5FA8;
  --blue-light:   #EAF4FF;
  --green:        #2ECC8F;
  --green-dark:   #0F9E67;
  --green-cta:    #15803D;
  --green-mint:   #7EDFC0;
  --gray-bg:      #F7F9FC;
  --gray-border:  #E5E7EB;
  --text-dark:    #111827;
  --text-mid:     #374151;
  --text-muted:   #6B7280;
  --white:        #FFFFFF;
  --font:         'Plus Jakarta Sans', sans-serif;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 4px rgba(13,60,110,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 20px rgba(13,60,110,.10), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:    0 12px 40px rgba(13,60,110,.12), 0 4px 12px rgba(0,0,0,.06);
  --transition:   .22s ease;
  --mobile-bar-h: 68px;
}

/* ─── 2. BASE ───────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  touch-action: manipulation;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-cta); color: var(--white);
  padding: 14px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  min-height: 48px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: #166534; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(21,128,61,.35); }

.btn-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; min-height: 48px;
  border: 1.5px solid rgba(255,255,255,.5);
  transition: background var(--transition), border-color var(--transition);
}
.btn-phone:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.85); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue);
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; min-height: 44px;
  border: 1.5px solid var(--blue);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--green-dark);
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; border: none; cursor: pointer; min-height: 48px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-white-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 13px 22px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; border: 1.5px solid rgba(255,255,255,.6); min-height: 48px;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-white-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.9); }

.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; margin-top: 20px; min-height: 52px;
  transition: background var(--transition), transform var(--transition);
}
.btn-wa:hover { background: #1EAF55; transform: translateY(-1px); }

.btn-nav {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-cta); color: var(--white);
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; min-height: 40px;
  transition: background var(--transition);
}
.btn-nav:hover { background: #166534; }

/* ─── SECTION COMMONS ───────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-bg); }
.section-dark { background: var(--blue-dark); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: var(--blue-light); color: var(--blue);
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 12px;
}
.section-tag.light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.section-header h2 { font-size: 34px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; line-height: 1.18; letter-spacing: -.4px; }
.section-header h2.light { color: var(--white); }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.75; }
.section-header p.light { color: rgba(255,255,255,.65); }

/* ─── 3. NAVBAR ─────────────────────────────────────────── */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 0.5px solid var(--gray-border);
  backdrop-filter: blur(8px);
}
.nav-container {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.nav-logo {
  font-size: 16px; font-weight: 800; color: var(--blue);
  display: flex; flex-direction: row; align-items: center; gap: 10px; line-height: 1.2;
}
.nav-logo-img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-sub { font-size: 11px; font-weight: 400; color: var(--text-muted); letter-spacing: .03em; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu ul { display: flex; gap: 28px; }
.nav-menu ul a { font-size: 14px; font-weight: 500; color: var(--text-mid); transition: color var(--transition); }
.nav-menu ul a:hover { color: var(--blue); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* ─── 4. HERO ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0D3C6E 0%, #1A5FA8 60%, #1E7FBF 100%);
  padding: 60px 24px 64px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-container {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.15); border: 0.5px solid rgba(255,255,255,.3);
  border-radius: 20px; padding: 6px 16px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
  font-size: 48px; font-weight: 800; color: var(--white);
  line-height: 1.1; margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero h1 em { color: var(--green-mint); font-style: normal; }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.78); line-height: 1.7;
  margin-bottom: 28px; max-width: 500px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Hero Card (doctor) ─── */
.hero-card {
  background: rgba(255,255,255,.1);
  border: 0.5px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero-microcopy {
  flex-basis: 100%; margin: 0;
  font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.5;
}
.hero-social-proof {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 16px;
  padding-top: 16px; border-top: 0.5px solid rgba(255,255,255,.15);
}
.proof-stars { color: #FBBF24; font-size: 13px; flex-shrink: 0; letter-spacing: 1px; }
.proof-quote { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; font-style: italic; }

.hero-doc-photo {
  background: #f8f9fa;
  display: flex; align-items: center; justify-content: center;
  height: 280px; overflow: hidden;
}
.hero-doc-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 40% top;
  display: block;
}
.hero-card-body { padding: 20px 24px 26px; }

.hero-avail {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(46,204,143,.18); border: 0.5px solid rgba(46,204,143,.4);
  border-radius: 20px; padding: 4px 10px;
  font-size: 11px; font-weight: 600; color: var(--green-mint);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em;
}
.avail-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  flex-shrink: 0; animation: pulse 2s infinite;
}
.hero-card-body h3 {
  font-size: 15px; font-weight: 800; color: var(--white);
  margin-bottom: 3px; line-height: 1.3;
}
.hero-card-title { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 14px; }

.hero-creds {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.hero-creds span {
  background: rgba(255,255,255,.12); border: 0.5px solid rgba(255,255,255,.25);
  border-radius: 6px; padding: 3px 9px;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.8);
  letter-spacing: .06em; text-transform: uppercase;
}

.hero-card-rating {
  display: flex; align-items: center; gap: 8px;
  padding-top: 12px; border-top: 0.5px solid rgba(255,255,255,.15);
}
.rating-stars { color: #FBBF24; font-size: 14px; letter-spacing: 1px; }
.rating-label { font-size: 12px; color: rgba(255,255,255,.55); }

/* ─── 5. TRUST STRIP ────────────────────────────────────── */
.trust-strip {
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-bottom: 0.5px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  padding: 0; overflow: hidden;
}
.trust-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 24px 20px; text-align: center;
  transition: background var(--transition);
}
.trust-item:hover { background: var(--gray-bg); }
.trust-num {
  font-size: 32px; font-weight: 800; color: var(--blue);
  line-height: 1; margin-bottom: 5px; letter-spacing: -1px;
}
.trust-star { font-size: 20px; color: #FBBF24; vertical-align: middle; }
.trust-lbl { font-size: 12px; color: var(--text-muted); line-height: 1.4; font-weight: 500; }
.trust-sep {
  width: 0.5px; height: 40px; background: var(--gray-border); flex-shrink: 0;
}

/* ─── 7. SÍNTOMAS ───────────────────────────────────────── */
.sintomas-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.sintomas-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-border);
}
.sintomas-cta__heading {
  font-size: 18px; font-weight: 800; color: var(--text-dark);
  letter-spacing: -.2px; margin-bottom: 6px;
}
.sintomas-cta__sub {
  font-size: 14px; color: var(--text-muted); margin-bottom: 24px;
}
.sintoma-card {
  background: var(--white); border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.sintoma-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sintoma-card img { width: 100%; height: 160px; object-fit: cover; object-position: center; background: #fff; }
.sintoma-body { padding: 18px 20px; }
.sintoma-body h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.sintoma-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── 7b. TIPOS DE ALERGIAS ─────────────────────────────── */
#sintomas { padding-bottom: 40px; }
#tipos    { padding-top:    40px; }

.tipos-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.tipo-card {
  background: var(--white); border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tipo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tipo-card-img {
  width: 100%; height: 200px;
  object-fit: cover; object-position: center;
  display: block;
}
.tipo-card-img[src*="Medicamento"] { object-position: center 55%; }
.tipo-card-img[src*="Alimentos"]   { object-position: center 40%; }
.tipo-card-img[src*="Insecto"]     { object-position: 55% center; }
.tipo-card-body { padding: 20px 22px 24px; }
.tipo-card-body h3 {
  font-size: 16px; font-weight: 800; color: var(--blue-dark);
  letter-spacing: -.2px; margin-bottom: 12px;
}
.tipo-card-list { display: flex; flex-direction: column; gap: 6px; }
.tipo-card-list li {
  font-size: 13px; color: var(--text-mid);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.tipo-card-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700; font-size: 12px;
}

/* ─── 8. CTA BAND ───────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #0D3C6E 0%, #1A5FA8 100%);
  padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-text h2 { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 6px; letter-spacing: -.3px; }
.cta-text p { font-size: 15px; color: rgba(255,255,255,.72); }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── 9. SERVICIOS & TRATAMIENTO ────────────────────────── */
.servicios-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-bottom: 64px; }
.serv-card {
  background: var(--white); border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.serv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.serv-card img { width: 100%; height: 260px; object-fit: cover; object-position: center center; }
.serv-card img[src*="prueba-de-alergias"] { object-position: center 55%; }
.serv-card img[src*="Muestra_de_Sangre"] { object-position: center 40%; }
.serv-card img[src*="Antigenos_Inalables"] { object-position: 70% 50%; }
.serv-body { padding: 22px 24px; }
.serv-icon {
  width: 44px; height: 44px; background: var(--blue-light);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.serv-icon svg { width: 22px; height: 22px; }
.serv-body h3 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.serv-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.tratamiento {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--white); border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm);
}
.tratamiento-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tratamiento-imgs img { border-radius: var(--radius-md); width: 100%; height: 200px; object-fit: cover; }
.tratamiento-content h3 { font-size: 24px; font-weight: 800; color: var(--text-dark); margin: 10px 0 12px; letter-spacing: -.3px; }
.tratamiento-content > p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.trat-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.trat-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-mid); }
.trat-icon-wrap {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--blue-light); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.trat-list li strong { color: var(--text-dark); }

/* ─── 10. DOCTOR ────────────────────────────────────────── */
.doctor-grid { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: start; }
.doctor-photo-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #ffffff; box-shadow: var(--shadow-lg);
  position: sticky; top: 88px;
  padding: 0;
  border: 0.5px solid var(--gray-border);
  border-top: 4px solid var(--blue);
}
.doctor-photo-wrap img {
  width: 100%; display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover; object-position: 40% 15%;
}
.doctor-name { font-size: 30px; font-weight: 800; color: var(--text-dark); margin: 12px 0 8px; letter-spacing: -.5px; }
.doctor-title { font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.doctor-desc { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 28px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.doctor-tags span {
  background: var(--blue-light); color: var(--blue);
  font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 20px;
  border: 0.5px solid rgba(26,95,168,.2);
}
.doctor-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue-dark); margin-bottom: 16px;
  padding-top: 24px; border-top: 1px solid var(--gray-border);
}
.doctor-section-title--spaced { margin-top: 16px; }
.doctor-cta { margin-top: 3rem; }
.dot-list { display: flex; flex-direction: column; gap: 12px; }
.dot-list li { font-size: 14px; color: var(--text-mid); padding-left: 20px; position: relative; line-height: 1.65; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ─── 11. TESTIMONIOS — CARRUSEL ────────────────────────── */
.carousel-wrap {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.carousel-viewport { flex: 1; overflow: hidden; border-radius: var(--radius-md); }
.carousel-track {
  display: flex; gap: 20px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.test-card {
  background: var(--white); border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-md); padding: 32px;
  flex: 0 0 calc(50% - 10px);
  box-sizing: border-box;
  transition: transform var(--transition), box-shadow var(--transition);
}
.test-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.test-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.test-header .test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.test-header > div:nth-child(2) { flex: 1; min-width: 0; }
.test-header .google-icon { flex-shrink: 0; margin-left: auto; }
.test-stars { color: #F59E0B; font-size: 15px; margin-bottom: 10px; }
.test-text { font-size: 15px; color: var(--text-mid); line-height: 1.8; font-style: italic; }
.test-name { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.test-date { font-size: 11px; color: var(--text-muted); }
.test-cta { text-align: center; margin-top: 8px; }

.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gray-border);
  background: var(--white); color: var(--blue);
  font-size: 16px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: scale(1.08); }
.carousel-btn:disabled { opacity: .35; cursor: default; transform: none; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-border); border: none; cursor: pointer; padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active { background: var(--blue); transform: scale(1.25); }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-question {
  list-style: none; cursor: pointer;
  padding: 22px 28px; min-height: 64px;
  font-size: 15px; font-weight: 700; color: var(--text-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 22px; font-weight: 400; color: var(--blue);
  flex-shrink: 0; line-height: 1;
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-item[open] .faq-question { color: var(--blue); border-bottom: 0.5px solid var(--gray-border); }
.faq-answer { padding: 20px 28px; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ─── 12. CONTACTO ──────────────────────────────────────── */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; height: 340px; }
.map-wrap iframe { display: block; }
.contact-info h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 24px; letter-spacing: -.2px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(255,255,255,.1); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item p { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.contact-item strong { font-size: 14px; color: var(--white); line-height: 1.6; }
.contact-item strong a { color: var(--green-mint); }
.contact-item strong a:hover { text-decoration: underline; }

/* ─── 13. FOOTER ────────────────────────────────────────── */
.footer { background: #060F1E; padding: 32px 0; }
.footer-container {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-logo { font-size: 14px; font-weight: 800; color: var(--white); line-height: 1.3; }
.footer-logo span { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.4); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }

/* ─── 14. WHATSAPP FLOTANTE (solo desktop) ───────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

.wa-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.72); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: 6px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .22s ease;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ─── 15. MOBILE CTA BAR ─────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
  height: var(--mobile-bar-h);
  background: var(--white);
  border-top: 0.5px solid var(--gray-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
}
.mobile-cta-wa {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700;
  height: 48px; min-height: 48px;
  transition: background var(--transition);
}
.mobile-cta-wa:hover { background: #1EAF55; }
.mobile-cta-call {
  width: 52px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-light); color: var(--blue);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-cta-call:hover { background: var(--blue); color: var(--white); }
.mobile-cta-call svg { stroke: currentColor; }

/* ─── Post-FAQ CTA ──────────────────────────────────────── */
.faq-cta {
  text-align: center;
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--white);
  border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.faq-cta p {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.65;
}

/* ─── Microcopy WhatsApp contacto ────────────────────────── */
.wa-microcopy {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ─── WhatsApp QR Modal ─────────────────────────────────── */
#wa-modal {
  padding: 0; border: none; border-radius: 20px;
  border-top: 4px solid var(--blue);
  background: var(--white);
  box-shadow:
    0 2px 4px rgba(13,60,110,.05),
    0 8px 24px rgba(13,60,110,.10),
    0 32px 64px rgba(13,60,110,.16),
    0 2px 6px rgba(0,0,0,.04);
  max-width: 420px; width: calc(100% - 32px);
  margin: auto; overflow: hidden;
}
#wa-modal::backdrop {
  background: rgba(13,60,110,.60);
  backdrop-filter: blur(8px);
}
@keyframes modal-in {
  from { opacity:0; transform:scale(.96) translateY(-10px); }
  to   { opacity:1; transform:none; }
}
#wa-modal[open] { animation: modal-in .28s cubic-bezier(.34,1.56,.64,1); }
.wa-modal-inner {
  padding: 32px 32px 28px;
  display: flex; flex-direction: column; align-items: center;
  gap: 0; position: relative;
}
.wa-modal-close {
  position: absolute; top: 18px; right: 18px;
  background: var(--gray-bg); border: 1px solid var(--gray-border);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.wa-modal-close:hover { background: var(--blue-light); border-color: rgba(26,95,168,.3); color: var(--blue); }
.wa-modal-logo-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-bottom: 18px;
  box-shadow: 0 0 0 8px rgba(234,244,255,.65);
}
.wa-modal-logo { width: 52px; height: 52px; object-fit: contain; }
#wa-modal h3 {
  font-size: 19px; font-weight: 800; color: var(--text-dark);
  letter-spacing: -.35px; text-align: center; margin: 0 0 20px; line-height: 1.25;
}
.wa-modal-qr-wrap {
  background: var(--white); border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; align-items: center; justify-content: center;
  width: fit-content; margin-bottom: 20px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.04);
}
.wa-modal-qr-wrap img { display: block; width: 180px; height: 180px; }
.wa-modal-phone-label {
  font-size: 13px; font-weight: 400; color: var(--text-muted);
  margin: 0 0 4px; text-align: center;
}
.wa-modal-phone-number {
  font-size: 22px; font-weight: 800; color: var(--text-dark);
  letter-spacing: -.3px; margin: 0 0 18px; text-align: center;
}
.wa-modal-copy {
  width: 100%; height: 50px; margin-bottom: 14px;
  background: var(--gray-bg); color: var(--text-dark);
  border: 1px solid var(--gray-border); border-radius: 999px;
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--font);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.wa-modal-copy:hover {
  background: var(--blue-light); color: var(--blue); border-color: rgba(26,95,168,.3);
  box-shadow: 0 2px 8px rgba(26,95,168,.12);
}
.wa-modal-text { font-size: 12px; color: var(--text-muted); text-align: center; line-height: 1.65; margin: 0 0 14px; }
#wa-modal .btn-wa { width: 100%; border-radius: 999px; margin-top: 0; justify-content: center; min-height: 52px; }

/* ─── COOKIE BANNER ─────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1200;
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; flex: 1; min-width: 0; }
.cookie-banner-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-link { font-size: 13px; color: var(--green-mint); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.cookie-link:hover { color: var(--green); }
.cookie-accept { padding: 10px 24px; font-size: 14px; white-space: nowrap; }

/* ─── PRIVACIDAD PAGE ────────────────────────────────────── */
.privacidad-page { padding: 64px 0 96px; max-width: 760px; margin: 0 auto; }
.privacidad-page h1 { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; letter-spacing: -.4px; }
.privacidad-page .priv-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-border); }
.privacidad-page h2 { font-size: 17px; font-weight: 700; color: var(--blue-dark); margin: 36px 0 10px; }
.privacidad-page p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.privacidad-page ul { padding-left: 20px; margin: 8px 0 12px; }
.privacidad-page ul li { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.privacidad-page a { color: var(--blue); text-decoration: underline; }
.privacidad-page a:hover { color: var(--blue-dark); }
.privacidad-page .priv-contact-box {
  background: var(--blue-light); border: 0.5px solid rgba(26,95,168,.2);
  border-radius: var(--radius-md); padding: 24px 28px; margin-top: 40px;
}
.privacidad-page .priv-contact-box h2 { margin-top: 0; }

/* ─── Focus visible ────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
*:focus:not(:focus-visible) { outline: none; }

/* ─── 16. ANIMACIONES ───────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .badge-dot, .avail-dot { animation: none; }
}

/* ─── 17. RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .hero h1 { font-size: 38px; }
  .sintomas-grid { grid-template-columns: repeat(2,1fr); }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-photo-wrap { max-width: 380px; position: static; }
}

@media (max-width: 768px) {
  .cookie-banner { bottom: var(--mobile-bar-h); }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cookie-accept { width: 100%; justify-content: center; }

  /* ── Navbar mobile: sticky + in-flow menu ── */
  .nav-toggle { display: flex; }
  .nav-container { padding: 0 20px; }

  .nav-menu {
    /* in-flow dropdown — navbar stays sticky */
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 16px 0 20px;
    gap: 0;
    border-top: 0.5px solid var(--gray-border);
    background: var(--white);
    order: 3;
  }
  .nav-menu.open { display: flex; }
  .nav-menu ul {
    flex-direction: column; gap: 0;
    border-bottom: 0.5px solid var(--gray-border);
    margin-bottom: 16px;
  }
  .nav-menu ul li a {
    display: flex; align-items: center;
    padding: 12px 20px; min-height: 48px;
    font-size: 16px; font-weight: 500;
    border-bottom: 0.5px solid var(--gray-border);
  }
  .nav-menu ul li:last-child a { border-bottom: none; }
  .btn-nav { margin: 0 20px; justify-content: center; }

  /* ── General ── */
  .section { padding: 56px 0; }

  /* ── Hero mobile ── */
  .hero { padding: 40px 20px 48px; }
  .hero h1 { font-size: 32px; letter-spacing: -.5px; }
  .hero-sub { font-size: 15px; margin-bottom: 18px; }
  .hero-badge { margin-bottom: 12px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-phone { justify-content: center; width: 100%; }
  .hero-social-proof { margin-top: 12px; padding-top: 12px; }
  .proof-quote {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Hero card mobile */
  .hero-doc-photo { height: 180px; }
  .hero-card-body h3 { font-size: 14px; }

  /* ── Trust strip mobile ── */
  .trust-strip { flex-wrap: wrap; }
  .trust-item { flex: 0 0 50%; padding: 16px; }
  .trust-sep { display: none; }
  .trust-num { font-size: 24px; }

  /* ── Tipos mobile ── */
  .tipos-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ── Grids mobile ── */
  .servicios-grid { grid-template-columns: 1fr; }
  .tratamiento { grid-template-columns: 1fr; }
  .tratamiento-imgs { grid-template-columns: 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }

  /* ── CTA band mobile ── */
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-band-actions { flex-direction: row; justify-content: center; }

  /* ── Footer mobile ── */
  .footer-container { flex-direction: column; text-align: center; }

  /* ── Carousel mobile ── */
  .test-card { flex: 0 0 100%; }
  .carousel-btn { width: 34px; height: 34px; font-size: 14px; }

  /* ── Mobile CTA bar active ── */
  .mobile-cta-bar { display: flex; }
  .wa-float { display: none; }

  /* Padding so content isn't hidden behind fixed bar */
  body { padding-bottom: var(--mobile-bar-h); }
}

@media (max-width: 360px) {
  .hero-avail { font-size: 9.5px; letter-spacing: .02em; }
}

@media (max-width: 480px) {
  .sintomas-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 26px; }
  .trust-item { flex: 0 0 50%; }
  .hero h1 { font-size: 29px; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .nav-logo-img { width: 36px; height: 36px; }
}
