/* ============================================================
   CLINIC.CSS — NovaClinic
   Identidad oficial: Turquesa #19B3AA + Aqua #A8DDE0 + Blanco
   Tipografías: Montserrat (display) + Poppins (cuerpo)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* Paleta suavizada */
  --turquoise:       #5BB8B3;
  --turquoise-dark:  #4AA09B;
  --turquoise-deep:  #3A8682;
  --aqua-light:      #C5E4E6;
  --aqua-soft:       #E4F2F3;
  --gray-light:      #BDBDBD;
  --gray-dark:       #5F6B6D;
  --gray-darker:     #424B4D;
  --white-soft:      #F8FAFA;
  --white-pure:      #FFFFFF;

  /* Auxiliares funcionales */
  --emergency-red:   #E25555;
  --emergency-dark:  #C94545;
  --border-soft:     #EAEDED;
  --text-muted:      #8B9698;

  /* Tipografía */
  --font-display:    'Montserrat', system-ui, sans-serif;
  --font-body:       'Poppins', system-ui, sans-serif;

  /* Espaciado */
  --section-y:       clamp(4rem, 9vw, 7rem);

  /* Animación */
  --ease:            cubic-bezier(0.65, 0, 0.35, 1);

  /* Sombras suaves */
  --shadow-sm:       0 2px 4px rgba(95,107,109,0.06);
  --shadow-md:       0 8px 20px -8px rgba(25,179,170,0.15);
  --shadow-lg:       0 20px 50px -20px rgba(25,179,170,0.25);
}

/* ─── Reset suave ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white-pure);
  color: var(--gray-darker);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

/* ─── Utilidades ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.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;
}

:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
}

/* ─── Tipografía base ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-darker);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--turquoise);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-darker);
}
.section-title strong {
  color: var(--turquoise);
  font-weight: 600;
}

.section-intro {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--gray-dark);
  max-width: 640px;
  line-height: 1.75;
}

/* ─── Botones ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  text-transform: uppercase;
}
.btn--primary {
  background: var(--turquoise);
  color: white;
}
.btn--primary:hover {
  background: var(--turquoise-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  border-color: var(--turquoise);
  color: var(--turquoise);
}
.btn--outline:hover {
  background: var(--turquoise);
  color: white;
}
.btn--emergency {
  background: var(--emergency-red);
  color: white;
  animation: pulseRed 2.5s ease-in-out infinite;
}
.btn--emergency:hover {
  background: var(--emergency-dark);
  transform: translateY(-2px);
  animation: none;
}
.btn--emergency::before {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
.btn--ghost {
  border-color: var(--border-soft);
  background: white;
  color: var(--gray-dark);
}
.btn--ghost:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg { transform: translateX(3px); }

@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.is-scrolled {
  padding: 0.6rem 0;
  border-bottom-color: var(--border-soft);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}
.header-logo:hover { opacity: 0.85; }
.header-logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gray-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--turquoise); }
.nav a:hover::after { transform: scaleX(1); }

.header-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--emergency-red);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s var(--ease);
  animation: pulseRed 3s ease-in-out infinite;
}
.header-emergency::before {
  content: '';
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
.header-emergency:hover {
  background: var(--emergency-dark);
  animation: none;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  .nav { gap: 1.25rem; }
  .nav a { font-size: 0.78rem; }
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 4rem;
  background: linear-gradient(135deg, var(--white-pure) 0%, var(--white-soft) 60%, var(--aqua-soft) 100%);
  overflow: hidden;
}

/* Patrón decorativo de cruces como fondo */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%; height: 100%;
  background-image: url('../img/clinic/pattern-crosses.svg');
  background-repeat: repeat;
  background-size: 180px;
  opacity: 0.45;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(to top, rgba(168,221,224,0.15), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

.hero__content { max-width: 620px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  background: rgba(25, 179, 170, 0.1);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--turquoise-deep);
  margin-bottom: 1.75rem;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--turquoise);
  border-radius: 50%;
  animation: blink 2s infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--gray-darker);
  margin-bottom: 1.5rem;
}
.hero__title strong {
  color: var(--turquoise);
  font-weight: 700;
  display: inline;
}

.hero__lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}
.hero-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--turquoise);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat__label {
  font-size: 0.78rem;
  color: var(--gray-dark);
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Visual del hero */
.hero__visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--aqua-soft) 0%, var(--white-soft) 100%);
  border: 1px solid var(--aqua-light);
  box-shadow: var(--shadow-lg);
}
.hero__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}
.hero__visual-icon {
  width: 100px; height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--turquoise);
}
.hero__visual-icon svg { width: 50px; height: 50px; }
.hero__visual-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--gray-dark);
  text-transform: uppercase;
  text-align: center;
}

/* Badges flotantes sobre el visual */
.hero__visual-badge {
  position: absolute;
  background: white;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
}
.hero__visual-badge--tl { top: 20px; left: -20px; }
.hero__visual-badge--br { bottom: 30px; right: -20px; }
.hero__visual-badge-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__visual-badge-icon svg { width: 18px; height: 18px; }
.hero__visual-badge--tl .hero__visual-badge-icon {
  background: var(--emergency-red);
  color: white;
}
.hero__visual-badge--br .hero__visual-badge-icon {
  background: var(--turquoise);
  color: white;
}
.hero__visual-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hero__visual-badge-text strong {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-darker);
}
.hero__visual-badge-text span {
  font-size: 0.7rem;
  color: var(--gray-dark);
}

/* ════════════════════════════════════════════
   PILARES — banner turquesa
   ════════════════════════════════════════════ */
.pillars-band {
  background: var(--turquoise);
  padding: 2.5rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.pillars-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/clinic/pattern-crosses.svg');
  background-size: 200px;
  opacity: 0.06;
  pointer-events: none;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
}
.pillar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.pillar-item__icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.pillar-item__icon svg { width: 32px; height: 32px; }
.pillar-item__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════
   SECCIONES BASE
   ════════════════════════════════════════════ */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--soft {
  background: var(--white-soft);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header .section-intro {
  margin: 0 auto;
}

/* ════════════════════════════════════════════
   SOBRE NOVACLINIC
   ════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-darker);
}
.about__title strong { color: var(--turquoise); font-weight: 700; }

.about__text {
  color: var(--gray-dark);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about-feature__icon {
  width: 36px; height: 36px;
  background: var(--aqua-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  flex-shrink: 0;
}
.about-feature__icon svg { width: 18px; height: 18px; }
.about-feature__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray-darker);
}

.about__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aqua-soft), var(--white-soft));
  border: 1px solid var(--aqua-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}
.about__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about__visual:has(.about__visual-img)::before {
  display: none;
}
.about__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/clinic/pattern-crosses.svg');
  background-size: 200px;
  opacity: 0.4;
}
.about__visual-content {
  position: relative;
  z-index: 1;
  width: 120px; height: 120px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--turquoise);
}
.about__visual-content svg { width: 60px; height: 60px; }
.about__visual-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--gray-dark);
  text-transform: uppercase;
}

/* Misión y Visión */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--white-soft);
  border-left: 3px solid var(--turquoise);
  border-radius: 6px;
}
.mv-item__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.mv-item p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin: 0;
}

/* Botón Cómo llegar */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  background: var(--aqua-soft);
  border: 1px solid var(--aqua-light);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  transition: all 0.3s var(--ease);
  font-weight: 500;
}
.map-link svg { width: 14px; height: 14px; }
.map-link:hover {
  background: var(--turquoise);
  color: white;
  border-color: var(--turquoise);
}

/* ════════════════════════════════════════════
   SERVICIOS Y ESPECIALIDADES
   ════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--turquoise);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover .service-card__icon {
  background: var(--turquoise);
  color: white;
}

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--aqua-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  transition: all 0.4s var(--ease);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gray-darker);
  line-height: 1.3;
}
.service-card__desc {
  font-size: 0.88rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* Card destacada de emergencias */
.service-card--emergency {
  background: linear-gradient(135deg, var(--emergency-red) 0%, var(--emergency-dark) 100%);
  color: white;
  border-color: var(--emergency-red);
}
.service-card--emergency .service-card__icon {
  background: rgba(255,255,255,0.2);
  color: white;
}
.service-card--emergency .service-card__name {
  color: white;
}
.service-card--emergency .service-card__desc {
  color: rgba(255,255,255,0.9);
}
.service-card--emergency:hover {
  border-color: var(--emergency-red);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(220,38,38,0.4);
}
.service-card--emergency:hover .service-card__icon {
  background: white;
  color: var(--emergency-red);
}
.service-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  background: white;
  color: var(--emergency-red);
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  animation: blink 1.5s infinite;
}

/* ════════════════════════════════════════════
   CIRUGÍAS
   ════════════════════════════════════════════ */
.surgeries {
  background: var(--white-soft);
  position: relative;
  overflow: hidden;
}
.surgeries::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  background-image: url('../img/clinic/pattern-crosses.svg');
  background-size: 180px;
  opacity: 0.25;
  pointer-events: none;
}

.surgeries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}

.surgery-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.surgery-item:hover {
  border-color: var(--turquoise);
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.surgery-item__icon {
  width: 40px; height: 40px;
  background: var(--aqua-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.surgery-item__icon svg { width: 20px; height: 20px; }
.surgery-item:hover .surgery-item__icon {
  background: var(--turquoise);
  color: white;
}
.surgery-item__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--gray-darker);
}

.surgeries__note {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: white;
  border-left: 4px solid var(--turquoise);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.surgeries__note-icon {
  width: 40px; height: 40px;
  background: var(--aqua-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  flex-shrink: 0;
}
.surgeries__note-icon svg { width: 20px; height: 20px; }
.surgeries__note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-dark);
}
.surgeries__note p strong {
  color: var(--gray-darker);
  font-weight: 600;
}

/* ════════════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════════════ */
.why {
  background: white;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-item {
  text-align: center;
  padding: 0 0.5rem;
}
.why-item__icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
}
.why-item__icon svg { width: 32px; height: 32px; }
.why-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gray-darker);
  margin-bottom: 0.75rem;
}
.why-item__desc {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.65;
}

/* ════════════════════════════════════════════
   CTA AGENDA
   ════════════════════════════════════════════ */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--turquoise-dark) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
  color: white;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/clinic/pattern-crosses.svg');
  background-size: 200px;
  opacity: 0.08;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.25rem;
  color: white;
  line-height: 1.15;
}
.cta-band__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band .btn--primary {
  background: white;
  color: var(--turquoise);
}
.cta-band .btn--primary:hover {
  background: var(--gray-darker);
  color: white;
}
.cta-band .btn--outline {
  border-color: white;
  color: white;
}
.cta-band .btn--outline:hover {
  background: white;
  color: var(--turquoise);
}

/* ════════════════════════════════════════════
   CONTACTO
   ════════════════════════════════════════════ */
.contact {
  background: var(--white-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: flex-start;
}

.contact-info__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-darker);
}
.contact-info__title strong { color: var(--turquoise); }
.contact-info__text {
  color: var(--gray-dark);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-list__icon {
  width: 44px; height: 44px;
  background: var(--aqua-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--turquoise);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list__icon--emergency {
  background: rgba(220, 38, 38, 0.1);
  color: var(--emergency-red);
}
.contact-list__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gray-dark);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}
.contact-list__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--gray-darker);
  line-height: 1.5;
}
.contact-list__value a:hover { color: var(--turquoise); }
.contact-list__value.pending {
  font-style: italic;
  color: var(--turquoise);
  font-weight: 400;
  opacity: 0.75;
}

/* Form */
.contact-form {
  padding: clamp(2rem, 4vw, 3rem);
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}
.contact-form__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gray-darker);
  margin-bottom: 0.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--gray-dark);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white-soft);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--gray-darker);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  background: white;
  box-shadow: 0 0 0 3px rgba(25,179,170,0.1);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319B3AA' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
}

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

.form-submit {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.25rem;
}

.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  border: 1px solid;
}
.form-message.is-visible { display: block; }
.form-message--success {
  border-color: var(--turquoise);
  background: rgba(25,179,170,0.08);
  color: var(--turquoise-deep);
}
.form-message--error {
  border-color: var(--emergency-red);
  background: rgba(220,38,38,0.08);
  color: var(--emergency-dark);
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.site-footer {
  background: var(--gray-darker);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/clinic/pattern-crosses.svg');
  background-size: 200px;
  opacity: 0.05;
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand .header-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  height: 64px;
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 1.25rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  color: var(--aqua-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--aqua-light); }

.footer-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--emergency-red);
  color: white;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1px;
  margin-top: 1rem;
}

.socials {
  display: flex;
  gap: 0.625rem;
}
.socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--turquoise);
  color: white;
}
.socials svg { width: 16px; height: 16px; }

.footer-bottom {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a:hover { color: var(--aqua-light); }

/* ════════════════════════════════════════════
   WHATSAPP FLOTANTE
   ════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 99;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--turquoise-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px -10px rgba(91,184,179,0.6);
  transition: transform 0.3s var(--ease);
  animation: floatY 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px -10px rgba(91,184,179,0.8);
}
.whatsapp-float svg { width: 28px; height: 28px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ════════════════════════════════════════════
   REVEAL
   ════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float, .btn--emergency, .header-emergency { animation: none; }
}

@keyframes fadeInMenu {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .surgeries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    animation: fadeInMenu 0.3s var(--ease);
  }
  .nav.is-open a { font-size: 1.1rem; }
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 101;
  }
  .menu-toggle[aria-expanded="true"] svg line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    transform-origin: center;
  }
  .menu-toggle[aria-expanded="true"] svg line:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] svg line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: center;
  }
  .menu-toggle svg line {
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .header-emergency { padding: 0.5rem 0.7rem; font-size: 0.65rem; }
  .header-emergency span { display: none; }
  .header-emergency::after { content: '24H'; }

  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__visual {
    max-width: 360px;
    margin: 0 auto;
  }
  .hero__visual-badge--tl { left: 10px; }
  .hero__visual-badge--br { right: 10px; }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .pillar-item:not(:last-child)::after { display: none; }
  .pillar-item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .about__grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about__visual {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 4/5;
  }
  .about__visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mission-vision { grid-template-columns: 1fr; gap: 1.25rem; }

  .services-grid,
  .surgeries-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { justify-content: center; }
}

/* ─── CTA Agenda Clinic ─── */
.cta-agenda-clinic {
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--turquoise-dark) 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}
.cta-agenda-clinic__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.cta-agenda-clinic__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}
.cta-agenda-clinic__title strong { font-weight: 700; }
.cta-agenda-clinic__text {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
}
.cta-agenda-clinic .btn--primary {
  background: #fff;
  color: var(--turquoise-dark);
}
.cta-agenda-clinic .btn--primary:hover {
  background: rgba(255,255,255,0.9);
}

/* ─── Info Contacto Clinic — barra ancho completo ─── */
.info-contacto-clinic {
  background: var(--aqua-soft);
  border-top: 1px solid var(--aqua-light);
  border-bottom: 1px solid var(--aqua-light);
  padding: 3rem 0;
}
.info-contacto-clinic__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  gap: 2rem;
}
.info-contacto-clinic__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-contacto-clinic__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turquoise);
  box-shadow: var(--shadow-sm);
}
.info-contacto-clinic__icon svg { width: 20px; height: 20px; }
.info-contacto-clinic__item--emergency .info-contacto-clinic__icon {
  background: var(--coral);
  color: #fff;
}
.info-contacto-clinic__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--turquoise-dark);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.info-contacto-clinic__value {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.info-contacto-clinic__value a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.info-contacto-clinic__value a:hover { color: var(--turquoise); }

@media (max-width: 1024px) {
  .info-contacto-clinic__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .info-contacto-clinic__grid { grid-template-columns: 1fr; }
}

/* ─── contact-grid solo ─── */
.contact-grid--solo {
  grid-template-columns: 1fr !important;
  max-width: 680px;
  margin: 0 auto;
}

/* ─── Foto de instalaciones — ancho completo ─── */
.clinic-photo {
  width: 100%;
  background: var(--white-soft);
  padding: 0;
  overflow: hidden;
}
.clinic-photo__img {
  width: 100%;
  height: auto;
  display: block;
}
