/* ============================================================
   Dra. Sofía Sánchez · Neumóloga e Internista
   Hoja de estilos centralizada — mobile-first
   Paleta: #031D3D · #7FADD4 · #FDF6E1
   Tipografía: Playfair Display (titulares) + Poppins (cuerpo)
   ============================================================ */

:root {
  --navy: #031D3D;
  --navy-soft: #0a2c52;
  --blue: #7FADD4;
  --blue-mid: #4a89b8;
  --blue-dark: #1c4d80;
  --cream: #FDF6E1;
  --warm-white: #fffdf5;
  --gray: #5d6b7a;
  --gray-soft: #8a96a3;
  --light-gray: #e6e1d0;
  --accent: #c8a96e;
  --whatsapp: #25D366;
  --whatsapp-dark: #1da955;
  --bg: var(--warm-white);
  --fg: var(--navy);
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ============================================================
   ICONOS SVG
   ============================================================ */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}
.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 22px; height: 22px; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 36px; height: 36px; }
.icon-fill { fill: currentColor; stroke: none; }

/* ============================================================
   NAV (mobile-first)
   ============================================================ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,253,245,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light-gray);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1;
}
.nav-logo span { color: var(--blue-mid); font-style: italic; }

.nav-links { display: none; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--blue-mid); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue-mid);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy);
  color: white !important;
  padding: 0.55rem 1.2rem;
  border-radius: 4px;
  transition: background 0.25s, transform 0.25s !important;
  letter-spacing: 0.04em;
  font-size: 0.76rem !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger { display: flex; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); display: block; transition: 0.3s; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--light-gray);
  padding: 1.25rem 5% 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.mobile-menu .btn-primary {
  color: white !important;
  text-align: center;
  justify-content: center;
  border-bottom: none;
  margin-top: 0.5rem;
}

/* ============================================================
   HERO (mobile-first)
   ============================================================ */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
}

.hero-left {
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 6% 3rem;
  position: relative; overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute; top: -100px; left: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(127,173,212,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(127,173,212,0.15);
  border: 1px solid rgba(127,173,212,0.3);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.hero-tag::before { content: '●'; font-size: 0.45rem; color: var(--blue); }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  font-weight: 500;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.98rem;
  max-width: 460px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.2s ease both;
  font-weight: 300;
  line-height: 1.7;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex; flex-direction: column; gap: 0.75rem; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* ============================================================
   BOTONES (alto contraste, mobile-first)
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--blue-mid);
  color: white;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.25s;
  border: none; cursor: pointer;
  letter-spacing: 0.02em;
  text-align: center;
}
.btn-primary:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(3,29,61,0.25);
}
.btn-primary .icon { width: 18px; height: 18px; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  font-size: 0.88rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  transition: all 0.25s;
  font-weight: 400;
}
.btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(127,173,212,0.1);
  color: white;
}

.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--whatsapp);
  color: white;
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.25s;
  font-size: 0.92rem;
  border: 2px solid transparent;
  line-height: 1.3;
}
.whatsapp-btn:hover {
  background: var(--whatsapp-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37,211,102,0.35);
}
.whatsapp-btn .icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ============================================================
   HERO RIGHT
   ============================================================ */
.hero-right {
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 5%;
  gap: 1rem;
}

.info-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(3,29,61,0.06);
  box-shadow: 0 1px 3px rgba(3,29,61,0.04);
  animation: fadeUp 0.6s ease both;
}
.info-card + .info-card { animation-delay: 0.15s; }

.info-card-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}

.icon-circle {
  width: 40px; height: 40px;
  background: rgba(74,137,184,0.12);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
  flex-shrink: 0;
}
.icon-circle .icon { width: 18px; height: 18px; }

.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.hours-grid { display: grid; gap: 0.4rem; }
.hours-row {
  display: flex; justify-content: space-between;
  font-size: 0.86rem;
  color: var(--gray);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 500; color: var(--navy); }
.hours-open { color: var(--blue-mid); font-weight: 500; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 4rem 5%; }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.85rem;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.section-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--blue-mid);
}

/* ============================================================
   SOBRE MÍ
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
  box-shadow: 0 18px 50px rgba(3,29,61,0.18);
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.floating-stat {
  position: absolute;
  background: white;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 12px 36px rgba(3,29,61,0.18);
  border: 1px solid rgba(3,29,61,0.06);
  z-index: 2;
}
.floating-stat.stat-1 { bottom: 8px; right: -8px; }
.floating-stat.stat-2 { top: 24px; left: -8px; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--blue-mid);
  line-height: 1;
}
.stat-label { font-size: 0.7rem; color: var(--gray); margin-top: 0.25rem; }

.about-content p {
  color: var(--gray);
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.75;
}

.credentials {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.credential-item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--cream);
  border-radius: 8px;
  border-left: 3px solid var(--blue-mid);
}

.cred-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: white;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 1px;
}
.cred-icon .icon { width: 17px; height: 17px; }

.cred-title {
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.cred-sub { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

/* ============================================================
   SERVICIOS
   ============================================================ */
#servicios { background: var(--navy); color: white; }
#servicios .section-label { color: var(--blue); }
#servicios .section-title { color: white; }
#servicios .section-title em { color: var(--blue); }

.services-intro { max-width: 1200px; margin: 0 auto; }

.services-intro > p {
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.65rem 1.5rem;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s;
}
.service-card:hover {
  background: rgba(127,173,212,0.07);
  border-color: rgba(127,173,212,0.3);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(127,173,212,0.12);
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-icon .icon { width: 22px; height: 22px; }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.service-card p { font-size: 0.86rem; color: rgba(255,255,255,0.6); font-weight: 300; line-height: 1.65; }

/* ============================================================
   GALERÍA DE FOTOGRAFÍAS
   ============================================================ */
#galeria { background: var(--warm-white); }

.gallery-wrap { max-width: 1200px; margin: 0 auto; }
.gallery-wrap > div { text-align: center; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(3,29,61,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(3,29,61,0.18);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(to top, rgba(3,29,61,0.65), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 1rem; left: 1.1rem; right: 1.1rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 400;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-grid--blog {
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
.gallery-grid--blog .gallery-item { aspect-ratio: 16/10; }

/* ============================================================
   PROCESO
   ============================================================ */
#proceso { background: var(--warm-white); }
.process-wrap { max-width: 1200px; margin: 0 auto; }
.process-wrap > div { text-align: center; }

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.process-step {
  background: white;
  border: 1px solid rgba(3,29,61,0.08);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.25s;
  text-align: left;
}
.process-step:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(3,29,61,0.08);
}

.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--blue-mid);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.process-step p { font-size: 0.88rem; color: var(--gray); font-weight: 300; line-height: 1.65; }

/* ============================================================
   POR QUÉ ELEGIR
   ============================================================ */
#por-que { background: var(--cream); }
#por-que > div:first-child { text-align: center; }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}

.trust-card {
  background: white;
  padding: 1.65rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(3,29,61,0.06);
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: all 0.25s;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(3,29,61,0.08);
  border-color: var(--blue);
}

.trust-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-mid), var(--navy));
  color: white;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.trust-icon .icon { width: 22px; height: 22px; }

.trust-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.3;
}

.trust-card p { font-size: 0.9rem; color: var(--gray); font-weight: 300; line-height: 1.7; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
#testimonios { background: var(--warm-white); }
#testimonios > div > div:first-child { text-align: center; }

.testimonials-wrap { max-width: 1200px; margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: white;
  border: 1px solid rgba(3,29,61,0.06);
  border-radius: 10px;
  padding: 1.65rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: all 0.25s;
}
.testimonial-card:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 36px rgba(3,29,61,0.08);
}

.testimonial-stars {
  display: inline-flex; gap: 2px;
  color: var(--accent);
}
.testimonial-stars .icon { width: 15px; height: 15px; }

.testimonial-card p {
  color: var(--navy);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--light-gray);
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 500;
  font-size: 0.88rem;
  font-family: 'Playfair Display', serif;
}

.testimonial-name { font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.testimonial-meta { font-size: 0.76rem; color: var(--gray); }

/* ============================================================
   UBICACIÓN
   ============================================================ */
#ubicacion { background: var(--cream); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(3,29,61,0.12);
  height: 300px;
  order: -1;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

.location-details { display: flex; flex-direction: column; gap: 0.85rem; }

.detail-item {
  display: flex; gap: 0.85rem;
  padding: 1.1rem;
  background: white;
  border-radius: 10px;
  border: 1px solid rgba(3,29,61,0.06);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.detail-item:hover { border-color: var(--blue); transform: translateY(-1px); }

.detail-icon {
  width: 40px; height: 40px;
  background: rgba(74,137,184,0.12);
  color: var(--blue-mid);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.detail-icon .icon { width: 18px; height: 18px; }

.detail-text h4 { font-weight: 500; font-size: 0.92rem; color: var(--navy); margin-bottom: 0.25rem; font-family: 'Playfair Display', serif; }
.detail-text p { font-size: 0.85rem; color: var(--gray); line-height: 1.55; }

.detail-item--cta {
  background: var(--navy);
  color: white;
  border-color: transparent;
}
.detail-item--cta .detail-icon { background: rgba(127,173,212,0.2); color: var(--blue); }
.detail-item--cta .detail-text h4 { color: white; }
.detail-item--cta .detail-text p { color: rgba(255,255,255,0.75); }
.detail-item--cta:hover { background: var(--blue-mid); }

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--warm-white); }
#faq > div > div:first-child { text-align: center; }

.faq-wrap { max-width: 860px; margin: 0 auto; }

.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.65rem; }

.faq-item {
  background: white;
  border: 1px solid rgba(3,29,61,0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(3,29,61,0.06);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue-mid);
  flex-shrink: 0;
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }

.faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}
.faq-answer strong { color: var(--navy); font-weight: 600; }

/* ============================================================
   BLOG (cards)
   ============================================================ */
#blog { max-width: 100%; background: var(--cream); }

.blog-intro {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 1rem;
}

.blog-link {
  font-size: 0.85rem;
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap 0.2s;
}
.blog-link:hover { gap: 0.7rem; }
.blog-link .icon { width: 15px; height: 15px; }

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(3,29,61,0.06);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(3,29,61,0.12);
  border-color: var(--blue);
}

.blog-img {
  height: 170px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.blog-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(127,173,212,0.25), transparent 60%);
}
.blog-img .icon { width: 52px; height: 52px; position: relative; z-index: 1; }

.blog-content { padding: 1.35rem; }

.blog-tag {
  display: inline-block;
  background: rgba(74,137,184,0.12);
  color: var(--blue-mid);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.blog-card p { font-size: 0.86rem; color: var(--gray); font-weight: 300; line-height: 1.6; }

.blog-meta {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--light-gray);
  font-size: 0.76rem;
  color: var(--gray-soft);
}

/* ============================================================
   POST (página individual)
   ============================================================ */
.post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: white;
  padding: 6rem 5% 3rem;
  position: relative;
  overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(127,173,212,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.post-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative; z-index: 2;
}

.breadcrumbs {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
}
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { opacity: 0.5; }

.post-tag {
  display: inline-block;
  background: rgba(127,173,212,0.2);
  border: 1px solid rgba(127,173,212,0.35);
  color: var(--blue);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 5.5vw, 3.4rem);
  color: white;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.post-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--blue);
  font-weight: 500;
}

.post-lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
  font-weight: 300;
  margin-bottom: 1.75rem;
  max-width: 720px;
  line-height: 1.7;
}

.post-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  align-items: center;
}
.post-meta .author {
  display: flex; gap: 0.55rem; align-items: center;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.post-meta .dot { opacity: 0.4; }
.author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.78rem;
  font-family: 'Playfair Display', serif;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 5%;
  font-size: 1rem;
  line-height: 1.8;
  color: #2a3441;
}

.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  color: var(--navy);
  margin: 2.2rem 0 0.85rem;
  line-height: 1.25;
}
.post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.75rem 0 0.65rem;
}
.post-body p { margin-bottom: 1.1rem; font-weight: 300; }
.post-body strong { color: var(--navy); font-weight: 600; }
.post-body em { color: var(--blue-mid); font-style: italic; }
.post-body ul, .post-body ol { margin: 0 0 1.35rem 1.35rem; font-weight: 300; }
.post-body li { margin-bottom: 0.45rem; }
.post-body ul li::marker { color: var(--blue-mid); }
.post-body ol li::marker { color: var(--blue-mid); font-weight: 600; }
.post-body a {
  color: var(--blue-mid);
  text-decoration: underline;
  text-decoration-color: rgba(74,137,184,0.4);
  text-underline-offset: 3px;
}
.post-body a:hover { text-decoration-color: var(--blue-mid); }

.post-callout {
  background: var(--cream);
  border-left: 4px solid var(--blue-mid);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 4px;
  font-weight: 300;
}
.post-callout strong { display: block; color: var(--navy); margin-bottom: 0.5rem; font-size: 0.98rem; }
.post-callout p { font-size: 0.93rem; margin-bottom: 0; color: var(--gray); }

.post-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: white;
  padding: 2.2rem 1.5rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(127,173,212,0.22), transparent 70%);
  pointer-events: none;
}
.post-cta > * { position: relative; z-index: 1; }

.post-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.post-cta p { color: rgba(255,255,255,0.78); margin-bottom: 1.4rem; font-weight: 300; font-size: 0.95rem; }
.post-cta .whatsapp-btn {
  background: var(--whatsapp);
  color: white;
  padding: 0.95rem 1.6rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.post-cta .whatsapp-btn:hover {
  background: white;
  color: var(--whatsapp-dark);
  box-shadow: 0 10px 30px rgba(255,255,255,0.25);
}
.post-cta .whatsapp-btn:hover .icon { color: var(--whatsapp-dark); }

.related-posts {
  background: var(--cream);
  padding: 4rem 5%;
}
.related-posts-inner { max-width: 1200px; margin: 0 auto; }
.related-posts h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

/* ============================================================
   PÁGINAS DE CONDICIÓN (landing por enfermedad)
   ============================================================ */
.condition-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: white;
  padding: 6rem 5% 4rem;
  position: relative;
  overflow: hidden;
}
.condition-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(127,173,212,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.condition-hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.condition-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 500;
  color: white;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.condition-hero h1 em {
  font-style: italic;
  color: var(--blue);
}
.condition-hero .post-lead { font-size: 1.05rem; }

.condition-quick-facts {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.condition-fact {
  display: flex; gap: 0.85rem; align-items: flex-start;
}
.condition-fact .icon {
  width: 22px; height: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.condition-fact strong { display: block; color: white; font-size: 0.92rem; margin-bottom: 0.15rem; }
.condition-fact span { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.5; }

.condition-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 5%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.condition-content { font-size: 1rem; line-height: 1.8; color: #2a3441; }
.condition-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  color: var(--navy);
  margin: 2rem 0 0.85rem;
  line-height: 1.25;
}
.condition-content h2:first-child { margin-top: 0; }
.condition-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.5rem 0 0.55rem;
}
.condition-content p { margin-bottom: 1rem; font-weight: 300; }
.condition-content strong { color: var(--navy); font-weight: 600; }
.condition-content em { color: var(--blue-mid); font-style: italic; }
.condition-content ul, .condition-content ol { margin: 0 0 1.25rem 1.35rem; font-weight: 300; }
.condition-content li { margin-bottom: 0.45rem; }
.condition-content ul li::marker { color: var(--blue-mid); }
.condition-content ol li::marker { color: var(--blue-mid); font-weight: 600; }

.condition-sidebar { position: relative; }
.sidebar-card {
  background: white;
  border: 1px solid rgba(3,29,61,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(3,29,61,0.04);
}
.sidebar-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.sidebar-card p { color: var(--gray); font-size: 0.9rem; font-weight: 300; margin-bottom: 1rem; line-height: 1.65; }

.symptoms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.symptom-pill {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-radius: 8px;
  border-left: 3px solid var(--blue-mid);
}
.symptom-pill .icon {
  width: 18px; height: 18px;
  color: var(--blue-mid);
  flex-shrink: 0;
  margin-top: 2px;
}
.symptom-pill span { font-size: 0.9rem; color: var(--navy); line-height: 1.5; font-weight: 400; }

.condition-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}
.condition-stat {
  background: white;
  border: 1px solid rgba(3,29,61,0.08);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.condition-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.condition-stat .lbl { font-size: 0.78rem; color: var(--gray); line-height: 1.4; }

/* ============================================================
   FLOATING WHATSAPP (visible también en mobile)
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 200;
  display: flex; align-items: center; gap: 0.55rem;
}

.floating-cta-pill {
  background: white;
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 8px 26px rgba(3,29,61,0.18);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid rgba(3,29,61,0.06);
  animation: slideInFromRight 0.5s 1.2s ease both;
  transition: all 0.25s;
}
.floating-cta-pill:hover { background: var(--navy); color: white; transform: translateX(-2px); }
.floating-cta-pill .dot {
  width: 8px; height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.floating-whatsapp {
  background: var(--whatsapp);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  transition: all 0.25s;
  position: relative;
  animation: bounceIn 0.6s 0.8s ease both;
}
.floating-whatsapp:hover { background: var(--whatsapp-dark); transform: scale(1.08); }
.floating-whatsapp .icon { width: 28px; height: 28px; color: white; fill: white; }

.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 2px solid var(--whatsapp);
  border-radius: 50%;
  opacity: 0.5;
  animation: ringPulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--navy) 100%);
  padding: 3.5rem 5%;
  text-align: center;
  color: white;
}
.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 4.5vw, 2.6rem);
  font-weight: 500;
  color: white;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.cta-strip p { color: rgba(255,255,255,0.8); margin-bottom: 1.75rem; font-weight: 300; font-size: 0.95rem; }
.cta-strip .btn-primary {
  background: white;
  color: var(--navy);
  font-size: 0.95rem;
}
.cta-strip .btn-primary:hover {
  background: var(--cream);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(255,255,255,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 3rem 5% 1.5rem; }

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}
.footer-col p, .footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.86rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-weight: 300;
  transition: color 0.2s;
  line-height: 1.55;
}
.footer-col a:hover { color: var(--blue); }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: white;
  font-weight: 500;
  margin-bottom: 0.6rem;
  display: block;
}
.footer-logo span { color: var(--blue); font-style: italic; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.85rem;
  font-size: 0.78rem;
  text-align: center;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — tablet (≥ 700px)
   ============================================================ */
@media (min-width: 700px) {
  .hero-cta-group { flex-direction: row; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid--blog { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .condition-quick-facts { grid-template-columns: 1fr 1fr; }
  section { padding: 5rem 5%; }
  .post-hero { padding: 7rem 5% 4rem; }
}

/* ============================================================
   RESPONSIVE — desktop (≥ 950px)
   ============================================================ */
@media (min-width: 950px) {
  nav { padding: 0 5%; height: 70px; }
  .mobile-menu { top: 70px; }
  .hamburger { display: none; }
  .nav-links { display: flex; gap: 2rem; }
  .nav-cta { font-size: 0.82rem !important; padding: 0.6rem 1.35rem; }

  .hero { display: grid; grid-template-columns: 1fr 1fr; padding-top: 70px; min-height: 100vh; }
  .hero-left { padding: 6rem 6% 4rem; }
  .hero-right { padding: 4rem 5%; gap: 1.5rem; }

  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
  .about-visual { max-width: none; margin: 0; }
  .floating-stat { padding: 1rem 1.25rem; }
  .floating-stat.stat-1 { bottom: -20px; right: -30px; }
  .floating-stat.stat-2 { top: 40px; left: -30px; }

  .services-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .gallery-grid--blog { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
  .footer-bottom { text-align: left; }

  .location-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .map-container { height: 460px; order: 0; }
  section { padding: 6rem 5%; }

  .floating-cta { bottom: 24px; right: 24px; gap: 0.65rem; }
  .floating-cta-pill { padding: 0.7rem 1.05rem; font-size: 0.85rem; }
  .floating-whatsapp { width: 62px; height: 62px; }
  .floating-whatsapp .icon { width: 30px; height: 30px; }

  .condition-hero { padding: 8rem 5% 5rem; }
  .condition-hero-inner { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
  .condition-body { grid-template-columns: 2fr 1fr; gap: 3rem; padding: 5rem 5%; }
  .sidebar-card { position: sticky; top: 90px; }
  .symptoms-grid { grid-template-columns: 1fr 1fr; }
  .condition-stats { grid-template-columns: 1fr 1fr; }
}
