/* =========================================================
   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;
  --navbar-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-primary:active { transform: scale(0.97); box-shadow: none; transition-duration: 80ms; }


.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: 68px 0; }
.section-alt { background: var(--gray-bg); }
.section-dark { background: var(--blue-dark); }

.section-header { text-align: center; margin-bottom: 44px; }
.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);
  position: relative; transition: color .22s ease;
}
.nav-menu ul a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--blue); border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-menu ul a:hover { color: var(--blue); }
.nav-menu ul a:hover::after { transform: scaleX(1); }
.nav-menu ul a.is-active { color: var(--blue); }
.nav-menu ul a.is-active::after { transform: scaleX(1); }
.nav-actions { display: contents; }
.nav-fb {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color .22s ease;
}
.nav-fb::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--blue); border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-fb:hover { color: var(--blue); }
.nav-fb:hover::after { transform: scaleX(1); }
.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(160deg, #eef6fc 0%, #f5fafd 50%, #fbfdff 100%);
}

.hero-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 48px 0 0 52px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left column — texto a la izquierda */
.hero-left { flex: 1; min-width: 0; position: relative; z-index: 2; order: 1; padding-left: 4px; padding-right: 12px; padding-bottom: 40px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,95,168,.06);
  border: 1px solid rgba(26,95,168,.12);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11.5px; font-weight: 500; color: var(--blue);
  margin-bottom: 14px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

.hero h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.09;
  letter-spacing: -1.2px;
  margin-bottom: 0;
  max-width: 500px;
}
.h1-accent { color: var(--blue); }

.h1-rule {
  width: 44px; height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 10px 0 14px;
}

.hero-sub {
  font-size: 15.5px; color: var(--text-mid);
  line-height: 1.6; margin-bottom: 16px;
  max-width: 490px;
}

/* CTA row */
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.btn-outline-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  color: var(--blue);
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.btn-outline-call:hover { background: var(--blue-light); }
.btn-outline-call:active { transform: scale(0.97); transition-duration: 80ms; }

/* Trust icons row */
.hero-trust-row {
  display: flex; gap: 22px; flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 14px;
}
.hero-trust-item {
  display: flex; align-items: flex-start; gap: 10px;
}
.trust-icon-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--blue);
}
.hero-trust-item span {
  font-size: 12px; font-weight: 500; color: var(--text-mid);
  line-height: 1.45; padding-top: 3px;
}

/* Hero review carousel */
.hero-reviews-track {
  position: relative;
  min-height: clamp(7rem, 5.5rem + 3.5vw, 8.5rem);
}
.hero-review-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,.30);
  border-left: 2px solid rgba(26,95,168,.22);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 380ms cubic-bezier(0.23,1,0.32,1),
              transform 380ms cubic-bezier(0.23,1,0.32,1);
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-review-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}
.review-q {
  font-size: 38px; line-height: 0.9;
  color: rgba(26,95,168,.22);
  flex-shrink: 0; margin-top: 0;
  font-family: Georgia, serif;
}
.review-stars {
  color: #FBBF24; font-size: 12px; letter-spacing: 1px;
  margin-bottom: 5px;
}
.review-text {
  font-size: 12.5px; color: var(--text-mid);
  line-height: 1.5; margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-author { font-size: 11.5px; font-weight: 600; color: var(--blue); }
.hero-reviews-nav {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
}
.hero-reviews-dots { display: flex; gap: 7px; align-items: center; }
.hero-review-dot {
  height: 6px; width: 6px; min-width: 6px; border-radius: 4px;
  background: rgba(26,95,168,.22); border: none; cursor: pointer; padding: 0;
  transition: background var(--transition), width .28s cubic-bezier(0.23,1,0.32,1);
}
.hero-review-dot:hover { background: rgba(26,95,168,.45); }
.hero-review-dot.active { background: var(--blue); width: 20px; }

/* Photo column */
.hero-right {
  flex: 0 0 54%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  order: 2;
}

/* Left-to-right fade: dissolves photo into gradient background */
.hero-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: auto;
  width: 36%;
  background: linear-gradient(to right,
    rgba(237,245,252,.98) 0%,
    rgba(237,245,252,.55) 45%,
    rgba(237,245,252,.15) 80%,
    transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-doc-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 6%;
}

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

.sintomas-cta {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  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 max(64px, calc((100% - 1100px) / 2 + 24px));
  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: 40px; }
.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-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; }
.trat-imgs-track { display: contents; }
.trat-imgs-dots { display: none; }
.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: 2rem; }
.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. TRATAMIENTO SLIDER DOTS ───────────────────────── */
.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); }

/* ─── SEGURO MÉDICO ─────────────────────────────────────── */
#seguro { padding: 68px 0; background: var(--white); }
#seguro h2 {
  font-size: 34px; font-weight: 800; color: var(--text-dark);
  line-height: 1.18; letter-spacing: -.4px; margin-bottom: 0;
}
.seguro-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
}
.seguro-icon {
  width: 80px; height: 80px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.seguro-text {
  color: var(--text-muted); line-height: 1.75; max-width: 520px;
}
#seguro .section-tag { margin-bottom: 0; }
#seguro .btn-wa { margin-top: 4px; }

/* ─── 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: '';
  width: 20px; height: 20px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231A5FA8' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.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); }
.footer-cofepris { font-size: 11px; color: rgba(255,255,255,.35); text-align: center; padding: 12px 24px 0; }

/* ─── 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: 48px 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-back { display: inline-block; font-size: 13px; font-weight: 500; color: var(--text-muted); text-decoration: none; margin-bottom: 24px; transition: color var(--transition); }
.privacidad-page .priv-back:hover { color: var(--blue); }
.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; }

/* ─── Screen-reader utility ─────────────────────────────── */
.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;
}

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

/* Hero entry — staggered, CSS only, zero JS */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-slide-right {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-badge      { animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1)   0ms both; }
.hero h1         { animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1)  65ms both; }
.h1-rule         { animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1) 100ms both; }
.hero-sub        { animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1) 130ms both; }
.hero-btns       { animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1) 190ms both; }
.hero-trust-row  { animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1) 250ms both; }
.hero-reviews    { animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1) 310ms both; }
.hero-right      { animation: hero-slide-right 560ms cubic-bezier(0.23,1,0.32,1) 160ms both; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-badge, .hero h1, .h1-rule, .hero-sub, .hero-btns,
  .hero-trust-row, .hero-reviews, .hero-right { animation: none; }
  .hero-review-slide { transition: none; }
}

/* ─── Hero height: fills viewport on desktop ────────────── */
@media (min-width: 1025px) {
  .hero {
    height: calc(100vh - var(--navbar-h));
    height: calc(100svh - var(--navbar-h));
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .hero-inner { height: 100%; min-height: 0; max-width: none; margin: 0; padding-left: max(52px, calc((100vw - 1400px) / 2 + 52px)); }
  .hero-left  { max-width: 580px; }
  .hero-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    flex: none;
    z-index: 0;
    overflow: hidden;
    background: #EDF5FC;
  }
  .hero-right::before {
    width: 65%;
    background: linear-gradient(to right,
      rgba(237,245,252,.97) 0%,
      rgba(237,245,252,.88) 20%,
      rgba(237,245,252,.70) 40%,
      rgba(237,245,252,.35) 60%,
      rgba(237,245,252,.10) 80%,
      transparent 100%);
  }
  .hero-doc-img { width: 100%; height: calc(100% + 20px); object-fit: cover; object-position: 72% top; transform: translateX(100px) translateY(-20px); }
}

/* Compact on screens ≤ 900 px tall (e.g. 1440×900) */
@media (min-width: 1025px) and (max-height: 900px) {
  .hero-inner { padding-top: 40px; }
  .hero-left  { padding-bottom: 32px; }
}

/* Compact on screens ≤ 780 px tall (e.g. 1366×768, 1280×720) */
@media (min-width: 1025px) and (max-height: 780px) {
  .hero-inner     { padding-top: 32px; }
  .hero-left      { padding-bottom: 22px; }
  .hero-badge     { margin-bottom: 10px; }
  .h1-rule        { margin: 8px 0 10px; }
  .hero-sub       { margin-bottom: 12px; }
  .hero-btns      { margin-bottom: 12px; }
  .hero-trust-row { margin-bottom: 10px; }
  .hero-reviews-track { min-height: clamp(6rem, 4.5rem + 2.5vw, 7rem); }
  .hero-reviews-nav   { margin-top: 8px; }
}

/* ─── 17. RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; gap: 0; padding: 36px 28px 0; }
  .hero-left { padding-left: 0; padding-right: 0; order: 1; }
  .hero-right { order: 2; flex: none; width: calc(100% + 56px); max-width: none; margin: 24px -28px 0; overflow: hidden; }
  .hero-right::before { display: none; }
  .hero-doc-img { height: 340px; }
  .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: 0; padding: 8px 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cookie-banner-text { line-height: 1.35; }
  .cookie-banner-actions { width: 100%; justify-content: space-between; }
  .cookie-accept { justify-content: center; padding: 7px 24px; }

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

  .nav-menu {
    /* in-flow dropdown — navbar stays sticky */
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 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;
    width: 100%;
    border-bottom: 0.5px solid var(--gray-border);
    margin-bottom: 20px;
  }
  .nav-menu ul li a {
    display: flex; align-items: center;
    padding: 12px 20px; min-height: 48px;
    font-size: 16px; font-weight: 600;
    border-bottom: 0.5px solid var(--gray-border);
  }
  .nav-menu ul li:last-child a { border-bottom: none; }
  .nav-menu ul li a::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--blue);
    border-radius: 0 2px 2px 0;
    opacity: 0;
  }
  .nav-menu ul li a:active { background: var(--blue-light); color: var(--blue); }
  .nav-menu ul li a:active::before { opacity: 1; }
  .nav-menu ul li a.is-active { background: var(--blue-light); color: var(--blue); }
  .nav-menu ul li a.is-active::before { opacity: 1; }
  .nav-actions { display: flex; gap: 10px; margin: 0 20px; }
  .btn-nav { margin: 0; flex: 1; justify-content: center; }
  .nav-fb {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex-shrink: 0;
    color: var(--text-mid);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
  }
  .nav-fb:active { background: var(--blue-light); color: var(--blue); }

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

  /* ── Hero mobile ── */
  .hero-inner { flex-direction: column; gap: 0; padding: 10px 20px 24px; }

  /* display:contents disuelve hero-left en el flex column de hero-inner,
     permitiendo reordenar foto y reseñas con order sin tocar HTML ni desktop */
  .hero-left { display: contents; }
  .hero-right  { order: 7; }
  .hero-reviews { order: 8; margin-top: 5px; }

  .hero-badge { display: none; }
  .hero h1 { font-size: clamp(28px, 6vw, 36px); letter-spacing: -1px; }
  .h1-rule { margin: 4px 0 6px; }
  .hero-sub { font-size: 15px; margin-bottom: 0; max-width: 100%; }
  .hero-btns { display: none; }
  .hero-trust-row { display: none; }
  .hero-right { width: calc(100% + 40px); margin: 8px -20px 0; animation: hero-in 420ms cubic-bezier(0.23,1,0.32,1) 160ms both; }
  .hero-right::before { display: none; }
  .hero-doc-img { height: 215px; object-position: 70% 5%; }

  /* ── Reviews — comprimidas, ahora debajo de la foto ── */
  .hero-reviews-track { min-height: 5.5rem; }
  .hero-review-slide { padding: 8px 12px; }
  .review-q { font-size: 26px; }
  .review-text { -webkit-line-clamp: 2; }


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

  /* ── Grids mobile ── */
  .servicios-grid { grid-template-columns: 1fr; }
  .tratamiento { grid-template-columns: 1fr; padding: 28px 20px; gap: 20px; }
  .tratamiento-imgs { display: block; overflow: hidden; }
  .trat-imgs-track { display: flex; width: 100%; transition: transform .4s cubic-bezier(.4,0,.2,1); will-change: transform; }
  .tratamiento-imgs img { height: 310px; flex: 0 0 100%; }
  .trat-imgs-dots { display: flex; margin-top: 16px; margin-bottom: 6px; }
  .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; }

  /* ── 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: 480px) {
  .sintomas-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 26px; }
  .hero h1 { font-size: 29px; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .nav-logo-img { width: 40px; height: 40px; }
}

@media (max-width: 360px) {
  .hero-badge { font-size: 11px; padding: 6px 14px; }
}

/* ─── 18. BARRA DE ANUNCIO ──────────────────────────────── */
.ann-bar-gone .ann-bar { display: none; }

.ann-bar {
  background: var(--blue-light);
  border-bottom: 1px solid rgba(46,204,143,.22);
  position: relative;
  z-index: 1001;
}
.ann-bar-inner {
  position: relative;
  max-width: 1100px; margin: 0 auto; padding: 0 52px;
  display: flex; justify-content: center; align-items: center;
  min-height: 46px;
}
.ann-bar-group {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; justify-content: center;
}
.ann-bar-eyebrow { display: contents; }
.ann-bar-icon { font-size: 14px; flex-shrink: 0; line-height: 1; }
.ann-bar-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-dark); white-space: nowrap; flex-shrink: 0;
  background: rgba(46,204,143,.10); padding: 3px 9px 3px 6px; border-radius: 20px;
  animation: ann-label-bg 4.0s ease-in-out infinite;
}
.ann-bar-text {
  font-size: 13px; font-weight: 500; color: var(--blue-dark);
}
.ann-bar-link {
  font-size: 13px; font-weight: 600; color: var(--blue);
  white-space: nowrap; flex-shrink: 0;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.ann-bar-link:hover { color: var(--blue-dark); text-decoration: underline; }
.ann-bar-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.ann-bar-close:hover  { background: rgba(26,95,168,.1); color: var(--blue); }
.ann-bar-close:active { transform: translateY(-50%) scale(.88); transition-duration: 80ms; }

@keyframes ann-label-bg {
  0%, 100% { background: rgba(46,204,143,.10); box-shadow: 0 0 0   rgba(15,158,103,0);   }
  50%       { background: rgba(46,204,143,.32); box-shadow: 0 0 8px rgba(15,158,103,.18); }
}

@keyframes ann-dot-pulse {
  0%, 100% { transform: scale(.84); opacity: .60; }
  50%       { transform: scale(1.16); opacity: 1;  }
}

.ann-bar-label::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-dark);
  vertical-align: middle; margin-right: 5px;
  position: relative; top: -0.5px;
  animation: ann-dot-pulse 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ann-bar-label,
  .ann-bar-label::before { animation: none; }
}

/* ─── 19. NUEVO CONSULTORIO PAGE ────────────────────────── */
.priv-back {
  display: inline-block; font-size: 13px; font-weight: 500;
  color: var(--text-muted); text-decoration: none; margin-bottom: 24px;
  transition: color var(--transition);
}
.priv-back:hover { color: var(--blue); }

.nc-page {
  padding: 48px 0 96px; max-width: 760px; margin: 0 auto;
}
.nc-page > .section-tag { display: block; text-align: center; margin-bottom: 14px; }
.nc-page h1 {
  font-size: 32px; font-weight: 800; color: var(--text-dark);
  margin-bottom: 8px; letter-spacing: -.4px; line-height: 1.18;
  text-align: center;
}
.nc-subtitle {
  font-size: 18px; font-weight: 700; color: var(--blue-dark);
  margin: 0 0 16px; letter-spacing: -.2px; line-height: 1.3;
  text-align: center;
}
.nc-desc {
  font-size: 15px; color: var(--text-mid); line-height: 1.8;
  max-width: 680px; margin: 0 auto 12px; text-align: center;
}
.nc-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--blue-light); border: 0.5px solid var(--gray-border);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  max-width: 660px; margin: 0 auto 40px;
}
.nc-img-wrap img { display: block; width: 100%; height: auto; object-fit: contain; }
.nc-info-card {
  background: var(--gray-bg); border: 0.5px solid var(--gray-border);
  border-radius: var(--radius-md); padding: 22px 32px; margin-bottom: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.nc-location-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.nc-location-label svg { stroke: var(--blue); flex-shrink: 0; }
.nc-address {
  font-style: normal; font-size: 14px; font-weight: 600;
  color: var(--text-dark); line-height: 1.9;
}
.nc-benefits-title {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.nc-benefits { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.nc-benefits li {
  font-size: 14px; color: var(--text-mid);
  padding-left: 22px; position: relative; line-height: 1.55;
}
.nc-benefits li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green-dark); font-weight: 700; font-size: 13px;
}
.nc-cta-wrap { text-align: center; padding: 8px 0 0; }
.nc-cta-sub {
  font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.55;
}

@media (max-width: 768px) {
  .ann-bar { background: linear-gradient(to bottom, #EAF4FF, #f0f7ff); border-top: 2px solid var(--green-dark); }
  .ann-bar-inner { padding: 12px 52px 14px 16px; min-height: 44px; }
  .ann-bar-group {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "eyebrow eyebrow" "text cta";
    gap: 0;
    width: 100%;
  }
  .ann-bar-eyebrow { grid-area: eyebrow; display: flex; align-items: center; gap: 6px; padding: 12px 0 10px; border-bottom: 1px solid rgba(13,60,110,.07); }
  .ann-bar-icon    { font-size: 12px; line-height: 1; }
  .ann-bar-label   { background: none; padding: 0; border-radius: 0; animation: none; font-size: 11px; letter-spacing: .22em; color: var(--text-muted); }
  .ann-bar-text  { grid-area: text; font-size: 13px; font-weight: 400; color: var(--text-mid); line-height: 1.25; text-align: left; padding-top: 8px; }
  .ann-bar-place { display: block; font-size: 22px; font-weight: 800; color: var(--blue-dark); letter-spacing: -.3px; line-height: 1.1; margin-top: 2px; }
  .ann-bar-link  {
    grid-area: cta; display: flex; align-items: center; align-self: end;
    padding: 0 0 5px 12px; font-size: 12px; font-weight: 600; color: var(--blue);
    letter-spacing: .01em; white-space: nowrap;
    text-decoration: underline; text-underline-offset: 3px;
    text-decoration-color: rgba(26,95,168,.3);
    transition: text-decoration-color var(--transition), color var(--transition);
  }
  .ann-bar-link:hover { color: var(--blue-dark); text-decoration-color: var(--blue-dark); }
  .ann-bar-close { width: 44px; height: 44px; right: 4px; top: 3px; transform: none; color: rgba(107,114,128,.4); }
  .ann-bar-close:hover  { background: rgba(107,114,128,.08); color: var(--text-muted); }
  .ann-bar-close:active { transform: scale(.88); transition-duration: 80ms; }

  .privacidad-page,
  .nc-page { padding-top: 32px; }
  .nc-page { padding-bottom: 80px; }
  .nc-page h1 { font-size: 26px; }
  .nc-info-card { grid-template-columns: 1fr; gap: 24px; padding: 22px 20px; }
}

@media (max-width: 480px) {
  .ann-bar-place { font-size: 21px; }
}

@media (max-width: 360px) {
  .ann-bar-place { font-size: 17px; }
  .ann-bar-link  { font-size: 12px; }
}
