/* =========================================================
   BIOS SANTE — Hoja de estilos principal
   Paleta: Azul médico · Verde clínico · Blanco
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Onest:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-primary:   #0057B8;
  --blue-dark:      #073A6B;
  --blue-deeper:    #0B1F33;   /* tinta navy — secciones oscuras planas */
  --green-clinical: #00A859;
  --green-dark:     #007A40;
  --cyan-accent:    #00B8D4;
  /* Acento LIMA — el punch comercial de la marca (texto oscuro encima) */
  --lime:           #C8F31D;   /* acento de MARCA (etiquetas, keyword, datos) */
  --lime-dark:      #A9D400;
  --lime-ink:       #26330A;   /* texto legible sobre lima */
  --orange:         #F97316;   /* acento de ACCIÓN (botones) + soporte cálido */
  --orange-dark:    #E8590C;
  --orange-ink:     #2A1500;   /* texto legible sobre naranja */
  --ink:            #0B1F33;   /* navy casi-negro para titulares y bloques */
  --white:          #FFFFFF;
  --off-white:      #F8FAFC;
  --gray-100:       #F1F5F9;
  --gray-200:       #E2E8F0;
  --gray-400:       #94A3B8;
  --gray-500:       #64748B;
  --gray-700:       #475569;
  --text-dark:      #0F172A;
  --text-mid:       #1E293B;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:      0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:      0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:      0 20px 25px rgba(0,0,0,.10), 0 8px 10px rgba(0,0,0,.04);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --transition:     .25s cubic-bezier(.4,0,.2,1);
  --nav-h:          96px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Onest', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* --- Sistema de iconos ---
   Un único set de línea. Se dimensiona con `em`, así hereda el
   font-size del contenedor, y toma el color con currentColor. */
.icon {
  width: 1em;
  height: 1em;
  /* inline-block, no block: así respeta el text-align del contenedor.
     Con block quedaban pegados a la izquierda en las tarjetas centradas. */
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--gray { background: var(--gray-100); }
.section--dark { background: var(--blue-deeper); color: var(--white); }
.section--blue { background: var(--blue-primary); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-clinical);
  margin-bottom: 12px;
}

.section-label--white { color: var(--cyan-accent); }

.section-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-700);
  max-width: 620px;
  margin-bottom: 56px;
}

.section-subtitle--white { color: rgba(255,255,255,.8); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Onest', system-ui, sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,102,178,.35);
}

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green-clinical);
  color: var(--white);
  border-color: var(--green-clinical);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,168,89,.3);
}

.btn svg { flex-shrink: 0; }

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 20px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 74px;
  width: auto;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.navbar__logo-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.1;
  white-space: nowrap;
}

.navbar__logo-tagline {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gray-500);
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.navbar__link {
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  white-space: nowrap;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--blue-primary);
  background: rgba(0,102,178,.07);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.navbar__whatsapp {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 9px 16px;
  background: var(--green-clinical);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.navbar__whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.navbar__toggle span {
  display: block;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 55%, #005a9e 100%);
  padding-top: var(--nav-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,184,212,.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(0,168,89,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Una sola columna: el lado derecho se deja libre a propósito para que
   se vea la foto de fondo del almacén */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 80px 0;
}

.hero__content {
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,168,89,.18);
  border: 1px solid rgba(0,168,89,.4);
  color: #4ade80;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-clinical);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

/* Los topes venían de cuando el hero tenía dos columnas y el texto
   disponía de la mitad del ancho. Al quitar las tarjetas se ampliaron. */
.hero__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2rem, 5.2vw, 4.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--cyan-accent);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 36px;
}

.hero__stat-value {
  display: block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--cyan-accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

/* =============================================
   PILLARS (3 pilares)
   ============================================= */
.pillars {
  background: var(--white);
  padding: 0;
  margin-top: -1px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  position: relative;
  padding: 48px 40px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.pillar:last-child { border-right: none; }

/* Al pasar el cursor se traza una línea sobre el borde inferior, en el
   color del pilar. Sustituye al relleno gris de toda la celda. */
.pillar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.pillar:hover::after { transform: scaleX(1); }

.pillar:nth-child(1)::after { background: var(--blue-primary); }
.pillar:nth-child(2)::after { background: var(--green-clinical); }
.pillar:nth-child(3)::after { background: var(--cyan-accent); }

.pillar__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.pillar:hover .pillar__icon { transform: translateY(-4px); }

.pillar__icon--blue  { background: rgba(0,102,178,.1); color: var(--blue-primary); }
.pillar__icon--green { background: rgba(0,168,89,.1); color: var(--green-dark); }
.pillar__icon--cyan  { background: rgba(0,184,212,.1); color: #0891A8; }

.pillar__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.pillar__text {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* =============================================
   SERVICES OVERVIEW (Home)
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  color: var(--blue-primary);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(0,102,178,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.service-card__text {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* =============================================
   WHY US
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Lista tipográfica, no tarjetas: el contraste con la rejilla de
   Servicios hace que ambas se lean mejor */
.why__features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.why__feature {
  display: flex;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.why__feature-num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--cyan-accent);
  line-height: 1.25;
  flex-shrink: 0;
  width: 36px;
  font-variant-numeric: tabular-nums;
}

.why__feature-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 1.125rem;
}

.why__feature-text {
  font-size: .875rem;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

.why__visual {
  position: relative;
}

.why__big-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}

.why__big-stat-value {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--cyan-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.why__big-stat-label {
  font-size: 1.125rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.why__badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.why__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,168,89,.15);
  border: 1px solid rgba(0,168,89,.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.why__badge-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-clinical);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
  color: var(--white);
}

.why__badge-text {
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}

/* =============================================
   INFRASTRUCTURE STRIP
   ============================================= */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.infra-item {
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
  transition: background var(--transition);
}

.infra-item:hover { background: var(--gray-100); }

.infra-item__icon {
  color: var(--blue-primary);
  font-size: 2rem;
  margin-bottom: 12px;
}

.infra-item__title {
  font-weight: 700;
  color: var(--blue-dark);
  font-size: .9375rem;
  margin-bottom: 6px;
}

.infra-item__text {
  font-size: .8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* =============================================
   CERTIFICATIONS BADGE
   ============================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.cert-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.cert-card__seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,102,178,.35);
}

.cert-card__seal--green {
  background: linear-gradient(135deg, var(--green-clinical), var(--green-dark));
  box-shadow: 0 6px 20px rgba(0,168,89,.3);
}

.cert-card__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.cert-card__text {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* =============================================
   PÚBLICO OBJETIVO (servicios) — sobre fondo oscuro
   Clase propia: antes reutilizaba .cert-card con estilos en línea
   ============================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.audience-card {
  position: relative;
  padding: 34px 30px 32px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition);
}

/* Filete superior que se ilumina al pasar el cursor */
.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-accent), transparent 75%);
  opacity: .45;
  transition: opacity var(--transition);
}

.audience-card:hover {
  background: rgba(255,255,255,.075);
  border-color: rgba(0,184,212,.4);
}

.audience-card:hover::before { opacity: 1; }

/* Ordinal discreto en la esquina, como numeración editorial */
.audience-card__num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,.22);
  font-variant-numeric: tabular-nums;
}

.audience-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0,184,212,.13);
  border: 1px solid rgba(0,184,212,.28);
  color: var(--cyan-accent);
  font-size: 1.375rem;
  margin-bottom: 22px;
}

.audience-card__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.audience-card__text {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info__icon {
  color: var(--blue-primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0,102,178,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-info__value {
  font-weight: 600;
  color: var(--text-dark);
  font-size: .9375rem;
}

.contact-info__sub {
  font-size: .84rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-xl);
}

.form-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-label span { color: var(--blue-primary); }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Onest', system-ui, sans-serif;
  font-size: .9375rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,102,178,.12);
}

.form-input.error,
.form-textarea.error { border-color: #ef4444; }

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 28px;
  letter-spacing: .02em;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,102,178,.35);
}

.form-submit:active { transform: translateY(0); }

.form-notice {
  font-size: .78rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}
.alert.show { display: flex; align-items: center; gap: 10px; }
.alert--success { background: rgba(0,168,89,.1); border: 1px solid rgba(0,168,89,.3); color: var(--green-dark); }
.alert--error   { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.25); color: #b91c1c; }

/* Honeypot */
.hp-field { display: none !important; visibility: hidden; }

/* =============================================
   MAP
   ============================================= */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============================================
   SCHEDULE STRIP
   ============================================= */
.schedule-strip {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  padding: 48px 0;
}

/* Variante oscura: solo en el index, donde esta franja queda pegada
   al CTA final azul. En contacto.html se mantiene la azul porque allí
   el vecino es el footer, que ya es --blue-deeper. */
.schedule-strip--dark {
  background: linear-gradient(135deg, var(--blue-deeper), #00203A);
}

.schedule-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.schedule-item {
  text-align: center;
}

.schedule-item__days {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 4px;
}

.schedule-item__hours {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.schedule-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.2);
}

/* =============================================
   TEAM / NOSOTROS
   ============================================= */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-primary), var(--cyan-accent));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(0,102,178,.12);
}

.timeline-item__year {
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-item__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.timeline-item__text {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card__icon {
  color: var(--blue-primary);
  font-size: 2rem;
  margin-bottom: 14px;
}

.value-card__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card__text {
  font-size: .84rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Mission/Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  padding: 40px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--blue-primary);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.mv-card--vision { border-color: var(--green-clinical); }

.mv-card__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.mv-card--vision .mv-card__label { color: var(--green-clinical); }

.mv-card__text {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.75;
  font-style: italic;
}

/* =============================================
   SERVICES DETAIL PAGE
   ============================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-child { border-bottom: none; }

.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }

.service-detail__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.service-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.service-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-step__title {
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.service-step__text {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.service-visual-box {
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-visual-box__emoji {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 8px;
}

.service-visual-box__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.service-visual-box__text {
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  font-size: .9375rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  background: rgba(0,184,212,.18);
  color: var(--cyan-accent);
  border: 1px solid rgba(0,184,212,.3);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* =============================================
   CERTIFICATIONS PAGE
   ============================================= */
.norm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.norm-table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
}

.norm-table tr:nth-child(even) { background: var(--gray-100); }

.norm-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  vertical-align: top;
}

.norm-table td:first-child {
  font-weight: 700;
  color: var(--blue-dark);
  white-space: nowrap;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  padding: calc(var(--nav-h) + 48px) 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 12px;
}

.page-hero__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--blue-deeper);
  color: rgba(255,255,255,.85);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand img {
  height: 76px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer__brand-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand-text {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--blue-primary);
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--cyan-accent); }

.footer__contact-item {
  margin-bottom: 14px;
}


.footer__contact-text {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
}

.footer__contact-text a:hover { color: var(--cyan-accent); }

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}

.footer__legal a:hover { color: rgba(255,255,255,.8); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-float__tooltip {
  background: var(--white);
  color: var(--text-dark);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
  pointer-events: none;
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-float__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: all var(--transition);
  color: var(--white);
  font-size: 1.75rem;
}

.wa-float__btn:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37,211,102,.55);
}

/* Pulse ring */
.wa-float__btn::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: wa-pulse 2.5s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* =============================================
   PAGE TRANSITIONS / ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp .65s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: .05s; }
.animate-in:nth-child(2) { animation-delay: .15s; }
.animate-in:nth-child(3) { animation-delay: .25s; }
.animate-in:nth-child(4) { animation-delay: .35s; }
.animate-in:nth-child(5) { animation-delay: .45s; }

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero__inner       { gap: 40px; min-height: auto; }
  .why-grid          { grid-template-columns: 1fr; }
  .why__visual       { display: none; }
  .footer__grid      { grid-template-columns: 1fr 1fr; gap: 36px; }
  .service-detail    { grid-template-columns: 1fr; gap: 36px; }
  .service-detail--reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .pillars__grid    { grid-template-columns: 1fr; }
  .pillar           { border-right: none; }
  .contact-grid     { grid-template-columns: 1fr; }
  .form-card        { padding: 32px 24px; }
  .form-row         { grid-template-columns: 1fr; }
  .mv-grid          { grid-template-columns: 1fr; }
  .hero__stats      { gap: 24px; flex-wrap: wrap; }
  .footer__grid     { grid-template-columns: 1fr; }
  .footer__bottom   { flex-direction: column; text-align: center; }
  .schedule-grid    { gap: 32px; }
  .schedule-divider { width: 60px; height: 1px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cert-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   HERO BACKGROUND IMAGE
   ============================================= */
.hero--bg {
  position: relative;
}

.hero--bg .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .18;
  mix-blend-mode: luminosity;
  pointer-events: none;
  will-change: transform;
}

/* =============================================
   FEATURE IMAGE SPLIT
   ============================================= */
.img-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.img-split--reverse { direction: rtl; }
.img-split--reverse > * { direction: ltr; }

.img-split__visual {
  position: relative;
}

.img-split__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: block;
  object-fit: cover;
  height: 420px;
  transition: transform .5s ease, box-shadow .5s ease;
}

.img-split__img:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 48px rgba(0,0,0,.18);
}

/* Floating badge on image */
.img-split__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  z-index: 2;
}

.img-split__badge-icon {
  color: var(--blue-primary);
  font-size: 1.75rem;
  flex-shrink: 0;
}

.img-split__badge-value {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
}

.img-split__badge-label {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* =============================================
   INFRASTRUCTURE GALLERY
   ============================================= */
/* 3 fotos: la principal ocupa la columna ancha en ambas filas,
   las dos secundarias se apilan a su derecha */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-200);
}

.gallery-item--main {
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  will-change: transform;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0,29,61,.8), transparent);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder when image not available */
.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark));
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  text-align: center;
  padding: 20px;
}

.gallery-placeholder__icon { font-size: 2.5rem; opacity: .6; }
.gallery-placeholder__text { font-weight: 500; line-height: 1.5; }

/* =============================================
   NOSOTROS IMAGE SECTION
   ============================================= */
.about-img-wrap {
  position: relative;
}

/* Envoltorio interno: recorta el barrido del efecto reveal.
   No debe llevar el badge dentro, o lo recortaría también. */
.about-img-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: block;
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 480px;
  display: block;
}

.about-img-years {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-img-years__num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.about-img-years__label {
  font-size: .65rem;
  font-weight: 600;
  text-align: center;
  opacity: .9;
  letter-spacing: .04em;
}

/* =============================================
   LIGHTWEIGHT EFFECTS (no performance impact)
   ============================================= */

/* Gradient border animation on feature cards */
@keyframes border-spin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shimmer loading effect for images */
.img-shimmer {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* Subtle float animation for accent elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* Glow pulse for CTA buttons */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,178,0); }
  50%       { box-shadow: 0 0 20px 6px rgba(0,102,178,.25); }
}

.btn-primary:focus-visible,
.btn-primary.glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Typed cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.cursor-blink::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--cyan-accent);
}

/* Image reveal overlay */
.img-reveal-wrap {
  position: relative;
  overflow: hidden;
}

.img-reveal-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-primary);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .8s cubic-bezier(.77,0,.18,1);
  z-index: 1;
}

.img-reveal-wrap.revealed::after {
  transform: scaleX(0);
}

/* Highlight underline on section labels */
.section-label {
  position: relative;
  display: inline-block;
}

/* Stats counter up effect style */
.stat-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-primary);
}

.stat-card__value {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: .875rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-accent), var(--green-clinical));
  width: 0%;
  z-index: 1001;
  transition: width .1s linear;
}

/* =============================================
   RESPONSIVE — IMAGES
   ============================================= */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item--main { grid-row: auto; grid-column: 1 / -1; height: 260px; }
  .img-split { grid-template-columns: 1fr; gap: 40px; }
  .img-split--reverse { direction: ltr; }
  .img-split__img { height: 300px; }
  .img-split__badge { bottom: -14px; right: 14px; }
}

@media (max-width: 768px) {
  .about-img-wrap img { height: 300px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 220px; }
}

/* =============================================
   MOTION — gallery stagger entrance
   ============================================= */
.gallery-item {
  opacity: 0;
  transform: translateY(24px) scale(.97);
  transition: opacity .5s ease, transform .5s ease;
}

.gallery-item--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =============================================
   MOTION — tilt card base
   ============================================= */
.service-card,
.cert-card,
.pillar,
.infra-item {
  transform-style: preserve-3d;
}

/* =============================================
   MOTION — magnetic button smoothing
   ============================================= */
.btn-primary,
.btn-white,
.btn-green {
  transition: transform .2s cubic-bezier(.4,0,.2,1),
              background var(--transition),
              box-shadow var(--transition),
              color var(--transition);
}

/* =============================================
   MOTION — typewriter cursor blink
   ============================================= */
.hero__title em {
  border-right: 2px solid var(--cyan-accent);
  padding-right: 3px;
  animation: blink-cursor .75s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--cyan-accent); }
  50%       { border-color: transparent; }
}

/* =============================================
   MOTION — hero grid background pan
   ============================================= */
@keyframes grid-pan {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero::after {
  animation: grid-pan 8s linear infinite;
}

/* =============================================
   MOTION — page-hero subtle zoom
   ============================================= */
.page-hero {
  overflow: hidden;
}

/* =============================================
   MOTION — hero badge pulse ring
   ============================================= */
@keyframes ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,168,89,.4); }
  70%  { box-shadow: 0 0 0 10px rgba(0,168,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,168,89,0); }
}

.hero__badge-dot {
  animation: pulse-dot 2s ease-in-out infinite, ring-pulse 2.5s ease-out infinite;
}

/* =============================================
   MOTION — navbar link underline slide
   ============================================= */
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px;
}

.navbar__link:hover::after,
.navbar__link.active::after {
  transform: scaleX(1);
}

/* =============================================
   MOTION — why feature slide
   ============================================= */
/* =============================================
   MOTION — cert-card seal rotate on hover
   ============================================= */
.cert-card:hover .cert-card__seal {
  transform: rotate(8deg) scale(1.1);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

/* =============================================
   MOTION — service-card icon bounce
   ============================================= */
.service-card:hover .service-card__icon {
  color: var(--blue-primary);
  animation: icon-bounce .4s cubic-bezier(.34,1.56,.64,1);
}

@keyframes icon-bounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3) rotate(-5deg); }
  100% { transform: scale(1); }
}

/* =============================================
   MOTION — infra-item icon spin on hover
   ============================================= */
.infra-item:hover .infra-item__icon {
  color: var(--blue-primary);
  display: inline-block;
  animation: icon-spin .5s ease;
}

@keyframes icon-spin {
  0%   { transform: rotate(0deg)  scale(1); }
  50%  { transform: rotate(15deg) scale(1.2); }
  100% { transform: rotate(0deg)  scale(1); }
}

/* =============================================
   MOTION — wa-float entrance + pulse
   ============================================= */
.wa-float__btn {
  animation: wa-entrance .6s cubic-bezier(.34,1.56,.64,1) forwards,
             wa-pulse 3s ease-in-out 2s infinite;
}

@keyframes wa-entrance {
  from { transform: scale(0) rotate(-45deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 8px 32px rgba(37,211,102,.7); }
}

/* =============================================
   MOTION — scroll progress gradient animation
   ============================================= */
@keyframes progress-glow {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

.scroll-progress {
  animation: progress-glow 2s ease-in-out infinite;
}

/* =============================================
   REDUCE MOTION — respect user prefs
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-bg-img { transform: none !important; }
}

/* =============================================
   ACREDITACIONES — franja de sellos oficiales
   ============================================= */
/* Fondo gris: separa esta sección del hero oscuro y evita que se funda
   con la sección Pilares, que es blanca */
.accred {
  padding: 72px 0;
  background:
    radial-gradient(900px 320px at 50% -10%, rgba(0,102,178,.06), transparent 70%),
    var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.accred__head {
  text-align: center;
  margin-bottom: 44px;
}

.accred__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.accred__subtitle {
  font-size: 1.0625rem;
  color: var(--gray-700);
  max-width: 660px;
  margin: 0 auto;
}

.accred__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.accred-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 34px 26px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.accred-badge:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.accred-badge__mark {
  width: 144px;
  height: 144px;
  flex-shrink: 0;
}

.accred-badge__mark svg,
.accred-badge__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.accred-badge:hover .accred-badge__mark {
  transform: scale(1.05);
  transition: transform var(--transition);
}

/* El sello ISO no trae el año impreso; se indica aquí en vez de
   retocar el bitmap del sello */
.accred-badge__year {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-clinical);
  margin-bottom: 4px;
}

.accred-badge__name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.accred-badge__text {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Marco normativo — banda ancha, deliberadamente distinta de las
   tarjetas de sello para que no se lea como un cuarto sello */
.accred__framework {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
}

.accred__framework-icon {
  color: var(--blue-primary);
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.accred__framework-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.accred__framework-text {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* Emblema institucional oficial — el isotipo de DIGEMID es blanco,
   requiere fondo oscuro para ser visible */
.accred__official {
  margin-top: 36px;
  padding: 34px 28px 30px;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.accred__official-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 20px;
}

.accred__official img {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto 20px;
}

.accred__official-text {
  font-size: .8125rem;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.accred__official-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
}

.accred__official-link:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
}

.accred__note {
  margin-top: 32px;
  text-align: center;
  font-size: .8125rem;
  color: var(--gray-500);
}

/* =============================================
   RESPONSIVE — navbar y acreditaciones
   El menú desktop necesita ~1000px libres; por debajo de 1024px
   se colapsa en hamburguesa para que nunca desborde.
   ============================================= */

/* Holgura intermedia: el WhatsApp del header es redundante
   (el botón flotante sigue visible) y libera ~135px */
@media (max-width: 1180px) {
  .navbar__whatsapp { display: none; }
  /* Salvaguarda: con el logo más grande, se comprime el menú lo justo
     para que nunca desborde en el rango 1025–1180px */
  .navbar__logo img { height: 66px; }
  .navbar__menu { gap: 0; }
  .navbar__link { padding: 8px 9px; }
}

/* Colapso a menú hamburguesa */
@media (max-width: 1024px) {
  .navbar__menu,
  .navbar__cta { display: none; }

  .navbar__menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 32px;
    box-shadow: var(--shadow-xl);
    gap: 4px;
    border-top: 1px solid var(--gray-200);
  }

  .navbar__cta.open {
    display: flex;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 24px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    z-index: 999;
    gap: 10px;
  }

  /* En modo hamburguesa sobra espacio: el logo puede respirar */
  .navbar__whatsapp { display: flex; }
  .navbar__cta.open .navbar__whatsapp { justify-content: center; }
  .navbar__toggle { display: flex; }
  /* En hamburguesa sobra espacio horizontal: el logo puede crecer */
  .navbar__logo img { height: 76px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 82px; }
  .navbar__logo img { height: 64px; }
  .accred { padding: 56px 0; }
  .accred__grid { grid-template-columns: 1fr; gap: 20px; max-width: 460px; margin: 0 auto; }
  .accred-badge { flex-direction: row; text-align: left; gap: 20px; padding: 24px; }
  .accred-badge__mark { width: 108px; height: 108px; }
  .accred__official { padding: 28px 20px 26px; }
  .accred__official img { max-width: 100%; }
}

@media (max-width: 480px) {
  .navbar__logo-text { display: none; }
  .navbar__logo img { height: 58px; }
  .accred-badge { flex-direction: column; text-align: center; }
}

/* =========================================================
   ✦ BIOS SANTE — SISTEMA PUNCHY 2026
   Dirección: B2B moderno, plano y comercial.
   Display: Space Grotesk · Cuerpo: Onest · Datos: Space Mono
   Color: navy tinta + azul marca + acento LIMA. Sin degradados.
   Firma: etiquetas mono tipo rótulo de inventario de almacén.
   ========================================================= */

/* ---------- Titulares tight y con carácter ---------- */
.hero__title,
.section-title,
.accred__title,
.page-hero__title {
  letter-spacing: -.02em;
  font-weight: 700;
}
.section-title { color: var(--ink); }

/* =========================================================
   ETIQUETAS MONO — la firma: rótulos de inventario
   ========================================================= */
.section-label,
.page-hero__label {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime-ink);
  background: var(--lime);
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.section-label::after { display: none; }
.section-label--white { color: var(--lime-ink); background: var(--lime); }

.navbar__logo-tagline { font-family: 'Space Mono', monospace; letter-spacing: .02em; }

/* Números y datos en mono — aire técnico de logística */
.hero__stat-value,
.why__feature-num,
.why__big-stat-value,
.schedule-item__hours,
.stat-card__value {
  font-family: 'Space Mono', monospace;
}

/* =========================================================
   BOTONES — planos y contundentes. LIMA = conversión
   ========================================================= */
.btn { border-radius: 8px; font-family: 'Onest', system-ui, sans-serif; font-weight: 600; padding: 15px 30px; }

.btn-primary { background: var(--blue-primary); border-color: var(--blue-primary); box-shadow: none; }
.btn-primary:hover {
  background: var(--blue-dark); border-color: var(--blue-dark);
  transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11,31,51,.18);
}

.btn-accent {
  background: var(--lime); color: var(--lime-ink); border-color: var(--lime);
  box-shadow: none; font-weight: 700;
}
.btn-accent:hover {
  background: var(--lime-dark); border-color: var(--lime-dark); color: var(--lime-ink);
  transform: translateY(-2px); box-shadow: 0 10px 22px rgba(169,212,0,.35);
}

/* =========================================================
   HERO — navy plano, titular enorme, keyword en lima
   ========================================================= */
.hero { background: var(--ink); padding-top: var(--nav-h); }
.hero::before { display: none; }
.hero::after { animation: none; opacity: .5; }
.hero-bg-img { opacity: .22; mix-blend-mode: luminosity; }

.hero__title { line-height: 1.05; margin-bottom: 22px; }
.hero__title em {
  color: var(--lime); border-right-color: var(--lime);
  animation: blink-lime .8s step-end infinite;
}
@keyframes blink-lime { 0%,100% { border-color: var(--lime); } 50% { border-color: transparent; } }

.hero__badge {
  font-family: 'Space Mono', monospace;
  background: rgba(200,243,29,.14);
  border: 1px solid rgba(200,243,29,.5);
  color: var(--lime);
  border-radius: 6px;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .72rem;
}
.hero__badge-dot { background: var(--lime); box-shadow: none; animation: pulse-dot 2s ease-in-out infinite; }

.hero__stats { gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero__stat {
  padding: 14px 22px 12px 16px;
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--lime);
  border-radius: 0 8px 8px 0;
}
.hero__stat-value { color: var(--lime); font-size: 1.75rem; }
.hero__stat-label { color: rgba(255,255,255,.6); }

/* Línea de confianza bajo los CTAs (elemento comercial) */
.hero__trust {
  font-family: 'Space Mono', monospace;
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.55);
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__trust b { color: var(--lime); font-weight: 700; }

/* =========================================================
   ACREDITACIONES — plano, tarjetas con filete lima
   ========================================================= */
.accred { background: var(--off-white); border-bottom: 1px solid var(--gray-200); }
.accred__title { color: var(--ink); }
.accred-badge { border-radius: 10px; }
.accred-badge:hover { border-color: var(--lime); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.accred-badge__year { font-family: 'Space Mono', monospace; color: var(--blue-primary); }
.accred-badge__name { color: var(--ink); }
.accred__framework { border-left: 4px solid var(--lime); border-radius: 10px; }
.accred__framework-title { color: var(--ink); }
.accred__official { background: var(--ink); border-radius: 12px; }
.accred__official-label { font-family: 'Space Mono', monospace; color: var(--lime); }

/* =========================================================
   PILARES — planos, número mono, icono navy sólido
   ========================================================= */
.pillars__grid { counter-reset: pil; }
.pillar { counter-increment: pil; }
.pillar::after { height: 3px; }
.pillar:nth-child(1)::after,
.pillar:nth-child(2)::after,
.pillar:nth-child(3)::after { background: var(--lime); }

.pillar__icon { border-radius: 10px; color: var(--white) !important; background: var(--ink); box-shadow: none; }
.pillar:hover .pillar__icon { background: var(--blue-primary); transform: translateY(-3px); }
.pillar__title { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }

.pillar::before {
  content: counter(pil, decimal-leading-zero);
  position: absolute;
  top: 28px; right: 32px;
  font-family: 'Space Mono', monospace;
  font-size: .8rem;
  font-weight: 700;
  color: var(--lime-dark);
  letter-spacing: .05em;
}

/* =========================================================
   SERVICIOS — plano, iconos navy, hover lima
   ========================================================= */
.section--gray { background: var(--off-white); }
.services-grid { gap: 22px; }
.service-card { border-radius: 10px; border-color: var(--gray-200); }
.service-card::before { background: var(--lime); height: 5px; }
.service-card:hover { border-color: var(--gray-200); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-card__icon { border-radius: 10px; background: var(--ink); color: var(--white); }
.service-card:hover .service-card__icon { background: var(--blue-primary); color: var(--white); }
.service-card__title { color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }

/* =========================================================
   POR QUÉ (dark) — navy plano, acentos lima
   ========================================================= */
.section--dark { background: var(--ink); }
.section-title--white { color: var(--white); }
.why__feature-num { color: var(--lime); }
.why__feature-title { color: var(--white); font-weight: 700; }
.why__big-stat { background: rgba(200,243,29,.08); border: 1px solid rgba(200,243,29,.28); border-radius: 12px; box-shadow: none; }
.why__big-stat-value { color: var(--lime); }
.why__badge { background: rgba(200,243,29,.1); border: 1px solid rgba(200,243,29,.28); }
.why__badge-check { background: var(--lime); color: var(--lime-ink); }

/* =========================================================
   INFRAESTRUCTURA — iconos navy, hover lima
   ========================================================= */
.infra-item__icon { color: var(--ink); }
.infra-item:hover { background: var(--off-white); }
.infra-item:hover .infra-item__icon { color: var(--blue-primary); }
.infra-item__title { color: var(--ink); }

/* =========================================================
   HORARIO + CTA FINAL — bloques planos
   ========================================================= */
.schedule-strip, .schedule-strip--dark { background: var(--ink); }
.schedule-item__days { font-family: 'Space Mono', monospace; color: var(--lime); }
.schedule-item__hours { color: var(--white); }

.section--blue { background: var(--blue-primary); }
.section--blue .section-title--white { color: var(--white); }

.scroll-progress { background: var(--lime); animation: none; }

/* =========================================================
   PAGE HERO (internas) + FOOTER + NAVBAR — coherencia navy/lima
   ========================================================= */
.page-hero { background: var(--ink); }
.page-hero::after { opacity: .5; }
.page-hero__title { color: var(--white); }

.footer { background: var(--ink); }
.footer__link:hover, .footer__contact-text a:hover { color: var(--lime); }
.footer__social-link:hover { background: var(--lime); color: var(--lime-ink); }
.footer__col-title { font-weight: 700; }

.navbar__link:hover, .navbar__link.active { color: var(--blue-primary); background: rgba(0,87,184,.07); }
.navbar__link::after { background: var(--lime); height: 3px; }
.navbar__logo-name { color: var(--ink); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .hero__title em { animation: none; border-right-color: var(--lime); }
}

/* =========================================================
   ✦ MÁS COLOR — capa cromática plana (sin degradados)
   Códigos de color sólidos sobre la base navy/lima.
   ========================================================= */

/* Franja de horario → banda LIMA sólida: gran golpe de color
   entre la sección clara y el CTA azul (blanco → lima → azul → navy) */
.schedule-strip, .schedule-strip--dark { background: var(--lime); }
.schedule-item__days  { color: var(--lime-ink); }
.schedule-item__hours { color: var(--ink); }
.schedule-item__hours a { color: var(--ink); }
.schedule-divider { background: rgba(11,31,51,.22); }

/* Pilares: cada icono con un color de marca sólido (glifo blanco) */
.pillar:nth-child(1) .pillar__icon { background: var(--blue-primary); }
.pillar:nth-child(2) .pillar__icon { background: var(--ink); }
.pillar:nth-child(3) .pillar__icon { background: var(--orange); }        /* cian marca */
.pillar:hover .pillar__icon { background: var(--lime); color: var(--lime-ink) !important; transform: translateY(-3px); }
.pillar:nth-child(1)::after { background: var(--blue-primary); }
.pillar:nth-child(2)::after { background: var(--lime); }
.pillar:nth-child(3)::after { background: var(--orange); }

/* Acreditaciones: filete superior de color permanente, uno por sello */
.accred-badge { position: relative; overflow: hidden; }
.accred-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.accred-badge:nth-child(1)::before { background: var(--blue-primary); }
.accred-badge:nth-child(2)::before { background: var(--lime); }
.accred-badge:nth-child(3)::before { background: var(--orange); }

/* Servicios: iconos rotando tonos fríos de marca + pop lima al hover */
.service-card:nth-child(3n+1) .service-card__icon { background: var(--ink); }
.service-card:nth-child(3n+2) .service-card__icon { background: var(--blue-primary); }
.service-card:nth-child(3n+3) .service-card__icon { background: var(--orange); }
.service-card:hover .service-card__icon { background: var(--lime); color: var(--lime-ink); }
.service-card:nth-child(3n+2)::before { background: var(--blue-primary); }
.service-card:nth-child(3n+3)::before { background: var(--orange); }

/* Infraestructura: iconos con el mismo código cromático */
.infra-item:nth-child(4n+1) .infra-item__icon { color: var(--ink); }
.infra-item:nth-child(4n+2) .infra-item__icon { color: var(--blue-primary); }
.infra-item:nth-child(4n+3) .infra-item__icon { color: var(--orange-dark); }
.infra-item:nth-child(4n+4) .infra-item__icon { color: var(--lime-dark); }

/* =========================================================
   ✦ LIMPIEZA — fuera números ordinales (pilares y diferenciadores)
   ========================================================= */
.pillar::before { display: none; }
.why__feature-num { display: none; }
.why__feature { gap: 0; }

/* Botones de conversión en LIMA (acento de marca) */
.btn-accent {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}
.btn-accent:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
  color: var(--lime-ink);
  box-shadow: 0 10px 22px rgba(169,212,0,.35);
}
