/* Public Sans (variable, 400-800), alojada en el propio sitio: más rápida y sin pedir nada a Google Fonts. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/public-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* League Spartan (variable, 100-900), solo para títulos, según el manual de marca (20/10/2026).
   Autohospedada igual que Public Sans (SIL OFL, via Fontsource) para no pedir nada a Google Fonts.
   El body sigue en Public Sans: el manual pide "Canva Sans" para texto, que no tiene archivo autohospedable
   disponible — queda anotado como pendiente hasta que Arsema confirme una alternativa con licencia libre. */
@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/league-spartan-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "League Spartan";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/league-spartan-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Arsema — sitio institucional. Paleta tomada del isotipo oficial (teal / violeta / oliva / azul). */
/* Colores de marca confirmados por Arsema (13/10/2026): principal #8b4585, Pacientes #15a4a2, Sponsor/Médicos #2086c4.
   Los nombres de las variables (--teal, --purple, --blue) quedaron del isotipo original y ya no describen el matiz
   literal de cada una (ej.: --teal ahora es el violeta principal) — se mantuvieron para no tocar los ~60 usos en
   este archivo; lo que importa es el rol de cada una (ver --accent más abajo). */
:root {
  --teal: #8b4585;
  --purple: #15a4a2;
  --olive: #b9b311; /* del manual de marca (20/10/2026): color primario "oliva" del isologo, antes aproximado */
  --blue: #2086c4;
  --ink: #232323;
  --ink-soft: #55595c;
  --paper: #ffffff;
  --paper-soft: #f6f7f8;
  --border: #e4e6e8;
  --radius: 10px;
  --maxw: 1180px;
  --shadow: 0 8px 28px rgba(20, 20, 30, 0.08);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-r: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 { font-family: "League Spartan", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6em;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: .95rem;
  transition: translate .2s var(--ease-r), scale .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-outline { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
/* El blur va en un pseudo-elemento: backdrop-filter en el propio header
   convierte al header en contenedor de los hijos fixed (rompía el menú móvil). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}
.site-header { border-bottom-color: rgba(228,230,232,.6); }
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(20,20,30,.06); }
/* Se achica con transform (no con height/padding) para que el alto del header no cambie
   y el contenido de la página no salte al compactarse. */
.logo img { height: 42px; width: auto; transition: transform .25s var(--ease-reveal); transform-origin: left center; }
/* (Sin achicar el logo al scrollear: con el header transparente, el cambio blanco/color ya marca el estado y el salto de tamaño se notaba.) */
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-reveal);
}
nav.main-nav a { transition: color .2s ease; }
nav.main-nav a:hover, nav.main-nav a:focus-visible, nav.main-nav a[aria-current="page"] { color: var(--teal); }
nav.main-nav a:hover::after, nav.main-nav a:focus-visible::after, nav.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1100px) {
  nav.main-nav a::after { display: none; }
}
.logo { position: relative; z-index: 2; }
.nav-toggle { display: none; position: relative; z-index: 2; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  nav.main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    background: #fff; padding: 88px 24px 24px;
    transform: translateY(-100%); transition: transform .25s ease; overflow-y: auto;
  }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav ul { flex-direction: column; gap: 4px; }
  nav.main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background: linear-gradient(180deg, var(--paper-soft), #fff);
  overflow: hidden;
}

.hero figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero p.lead { font-size: 1.15rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5em; }

/* Hero full-section (Home): foto real a pantalla completa con overlay */
.hero-full {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.hero-full-bg {
  position: absolute;
  /* Estuvo en -80px 0 para dar juego al parallax. El parallax se retiro en
     11/2026 y el margen quedo: como .hero-full tiene overflow:hidden, esos
     80px de arriba se recortaban y empujaban la foto hacia abajo, comiendose
     la cabeza de las personas. */
  inset: 0;
  background-size: cover;
  /* Por encima del centro: en estas fotos la gente esta en la mitad superior y
     el hero es mucho mas ancho que alto, asi que centrar recorta las caras.
     Cada pagina puede ajustarlo con "heroFocus" en su front matter. */
  background-position: center 30%;
  z-index: 0;
}
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20,24,28,.82) 0%, rgba(20,24,28,.58) 42%, rgba(20,24,28,.22) 75%, rgba(20,24,28,.1) 100%),
              linear-gradient(0deg, rgba(10,12,14,.55) 0%, rgba(10,12,14,0) 38%);
}
.hero-full .container {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 64px;
  max-width: 760px;
}
.hero-full .eyebrow { color: #bdeeee; }
.hero-full h1, .hero-full p.lead { color: #fff; }
.hero-full p.lead { color: rgba(255,255,255,.88); }
.hero-full .google-rating { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.hero-full .google-rating strong { color: #fff; }

@media (max-width: 640px) {
  .hero-full { min-height: 94vh; }
  .hero-full .container { padding-top: 120px; }
}

/* Logo strip (sponsors) */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 36px;
  margin-top: 32px;
}
.logo-strip img {
  height: 40px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter .2s ease;
}
.logo-strip img:hover { filter: grayscale(0) opacity(1); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats .stat { text-align: center; }
.stats .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats .label { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 28px; } }

/* Odómetro (ver main.js): cada dígito es una tira 0-9 que gira con freno suave. Dígitos de ancho fijo para que
   el número no "baile". Cada dígito mide una línea del texto que lo rodea (1lh; 1em de respaldo), así la línea
   de base coincide en las cifras, en la insignia de Google y dentro de un párrafo. */
.odometer { font-variant-numeric: tabular-nums; white-space: nowrap; }
.odometer-digit { display: inline-block; height: 1em; height: 1lh; line-height: inherit; overflow: hidden; vertical-align: top; }
.odometer-strip { display: block; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.odometer-strip span { display: block; height: 1em; height: 1lh; line-height: inherit; }
@media (prefers-reduced-motion: reduce) {
  .odometer-strip { transition: none; }
}

/* Sections */
section.block { padding: 72px 0; }
section.block.soft { background: var(--paper-soft); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s var(--ease-reveal), box-shadow .25s var(--ease-reveal), border-color .25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
  }
}
.card .dot {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #fff;
}
.card .dot svg, .icon { width: 20px; height: 20px; flex-shrink: 0; }

.card:nth-child(4n+1) .dot { background: var(--teal); }
.card:nth-child(4n+2) .dot { background: var(--purple); }
.card:nth-child(4n+3) .dot { background: var(--olive); }
.card:nth-child(4n+4) .dot { background: var(--blue); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

.founder img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.founder h3 { margin-bottom: 2px; }
.founder-role { color: var(--teal); font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.founder-bio { color: var(--ink-soft); font-size: .9rem; margin-bottom: 10px; }

.team-card-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
}
.team-card h3 { margin-bottom: 2px; font-size: 1.05rem; }
/* Un correo dentro del cargo no tiene dónde cortar y se salía 56px de la tarjeta,
   que además tiene overflow visible, así que pisaba a la vecina. */
.team-card p, .team-card h3 { color: var(--ink-soft); margin: 0; overflow-wrap: anywhere; }
.team-card h3 { color: var(--ink); }
/* Marcador cuando falta la foto: mismo tamaño que el avatar, para que la fila no se desalinee */
.team-card-sin-foto, .founder-sin-foto {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-soft); color: var(--ink-soft);
}
.team-card-sin-foto svg { width: 38px; height: 38px; }
.founder-sin-foto {
  width: 100%; max-width: 280px; aspect-ratio: 3 / 4;
  border-radius: var(--radius); margin-bottom: 16px;
}
.founder-sin-foto svg { width: 72px; height: 72px; }

ul.plain { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }
ul.plain li { margin-bottom: .4em; }

ul.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 560px;
}
ul.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
ul.checklist .icon { color: var(--teal); }

/* Draft banner for Pacientes/Sponsor */
.draft-banner {
  background: #fff6e0;
  border-bottom: 1px solid #f0d98c;
  color: #6b5405;
  padding: 10px 0;
  font-size: .9rem;
  text-align: center;
}
.draft-banner strong { font-weight: 700; }

/* Aviso de cookies */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--ink); color: #fff;
  box-shadow: 0 -8px 28px rgba(20, 20, 30, 0.18);
}
.cookie-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 0;
}
.cookie-banner-inner p { margin: 0; font-size: .88rem; line-height: 1.5; color: #e6e6e7; }
.cookie-banner-inner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 680px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}

/* Calificación de Google */
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: .9rem;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 1.2em;
}
.google-rating .stars { color: #f5a623; letter-spacing: 1px; }
.google-rating strong { color: var(--ink); }

/* FAQ (accordion nativo) */
.faq-list { max-width: 760px; margin: 32px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  flex-shrink: 0;
  display: inline-block;
  transition: transform .3s var(--ease-reveal);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p { margin: 12px 0 0; }
.faq-item[open] p { animation: faqFade .35s var(--ease-reveal); }
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] p { animation: none; }
}

/* Testimonios en marquesina.
   La tira lleva los testimonios dos veces y se corre media tira. Como el gap
   sobra una vez al partir al medio, el desplazamiento es -50% menos medio gap:
   sin eso el ciclo pega un salto en cada vuelta. */
.marquee {
  --marquee-gap: 20px;
  overflow: hidden;
  /* los extremos se desvanecen en vez de cortar en seco */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
}
.marquee-track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: marquee-scroll var(--marquee-dur, 52s) linear infinite;
}
.marquee-track > .testimonial {
  width: min(340px, 78vw);
  flex: none;
  margin: 0;
}
/* Una reseña larga estiraba a TODAS las tarjetas (600 caracteres las llevaba a
   644px, y a 924px en móvil). Se recorta: el texto completo sigue estando en
   Google, que es adonde lleva el enlace de abajo.
   Son 7 líneas y no menos porque las reseñas reales más largas (unos 170
   caracteres) ocupan 5: con 4 se cortaban dos de las tres que hay hoy. El tope
   existe para el caso raro, no para el contenido normal. */
.marquee-track .testimonial-quote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
}
/* Un correo o URL dentro de una reseña no tiene dónde cortar y se salía 120px
   de la tarjeta (210px a 320px de ancho). */
.marquee-track .testimonial-quote,
.marquee-track .testimonial-author { overflow-wrap: anywhere; }
/* Se frena al pasar el mouse o al llegar con el teclado, para poder leer. */
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

/* Se corre exactamente una copia. Como la tira tiene una separación menos que
   tarjetas, el ancho de una copia es (100% + gap) / copias: sin sumar ese gap
   el ciclo pega un salto en cada vuelta. */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc((-100% - var(--marquee-gap)) / var(--marquee-copias, 2))); }
}

/* Sin movimiento: la tira queda quieta y se recorre a mano. La segunda pasada,
   que solo existe para el ciclo, se oculta para no duplicar el contenido. */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track { animation: none; width: auto; }
  .marquee-track > [aria-hidden="true"] { display: none; }
}

/* Testimonios */
.testimonial-quote {
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: .85rem;
}

/* CTA final */
.cta-band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn-primary { background: #fff; color: var(--teal); }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }

/* Mapa */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 20px;
}
.map-embed iframe { display: block; }

/* Contact form */
form.contact-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
form.contact-form label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
}
form.contact-form textarea { min-height: 120px; resize: vertical; }

/* Footer */
footer.site-footer {
  background: #1a1d1f;
  color: #c7c9ca;
  padding: 56px 0 28px;
  margin-top: 48px;
}
footer.site-footer h4 { color: #fff; font-size: 1rem; }
footer.site-footer a { color: #c7c9ca; text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 36px;
  padding-top: 20px;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}
.footer-bottom .footer-credit { margin-left: auto; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 64px;
  height: 64px;
  display: block;
  text-decoration: none;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.28));
  transition: transform .2s ease;
}
.whatsapp-float img { display: block; width: 100%; height: 100%; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float:active { transform: scale(.95); }

@media (prefers-reduced-motion: no-preference) {
  .whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #25D366;
    animation: waPulse 2.4s ease-out 2;
    animation-delay: 1.2s;
    z-index: -1;
  }
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ============================================================
   Scroll reveal — 4 capas (ver main.js). Solo corre si hay JS
   (gated por .js en <html>) y el usuario no pidió menos movimiento.
   ============================================================ */

/* Reveal al entrar en pantalla: un solo efecto (.r), lo arma main.js. */
.js .r {
  opacity: 0;
  transition: opacity .45s var(--ease-reveal), transform .45s var(--ease-reveal);
}
@media (prefers-reduced-motion: no-preference) {
  .js .r { transform: translateY(8px); }
}
.js .r.in {
  opacity: 1;
  transform: none;
}

/* Ícono de la tarjeta: cambia de color al pasar el mouse o con el foco. */
.card .dot { transition: background .25s ease, color .25s ease; }

/* Línea bajo los títulos de sección: se dibuja de izquierda a derecha */
.js section.block > .container > h2.r {
  position: relative;
  padding-bottom: 14px;
}
.js section.block > .container > h2.r::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 48px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-r) .1s;
}
.js section.block > .container > h2.r.in::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .js .r {
    transition-duration: .15s;
    transition-delay: 0s !important;
  }
  .js section.block > .container > h2.r::after { transition: none; transform: scaleX(1); }
}

/* Menú principal (sin desplegables) */
nav.main-nav li { position: relative; }
@media (min-width: 1101px) {
  nav.main-nav > ul > li > a { display: inline-block; padding: 10px 0; }
}
@media (max-width: 1100px) {
  nav.main-nav > ul > li > a { font-weight: 700; }
}

/* Páginas esqueleto */
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.hub-card { display: block; text-decoration: none; color: inherit; }
.hub-card h3 { color: var(--ink); margin-bottom: 0; }

.slot {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; color: #8a8f93; font-size: .9rem;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,.015) 10px, rgba(0,0,0,.015) 20px);
}
.slot-sm { padding: 12px; margin-top: 12px; }
.areas-list { columns: 2; column-gap: 32px; margin-top: 24px; }
.areas-list li { break-inside: avoid; }
@media (max-width: 640px) { .areas-list { columns: 1; } }
form.contact-form { max-width: 560px; display: grid; gap: 16px; }
form.contact-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; background: #fff; }
form.contact-form .check { display: flex; gap: 10px; align-items: flex-start; }
form.contact-form .check input { width: auto; margin-top: 4px; }
form.contact-form .check label { margin: 0; font-weight: 400; }

p.lead:empty { display: none; }

/* Íconos duotone: tile suave con el color de marca; al pasar el mouse se llena */
.icon { fill: currentColor; }
.card .dot {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--tone, var(--teal)) 12%, #fff);
  color: var(--tone, var(--teal));
  transition: background .25s ease, color .25s ease, transform .25s var(--ease-reveal);
}
.card .dot svg { width: 32px; height: 32px; }
.card:nth-child(4n+1) { --tone: var(--teal); }
.card:nth-child(4n+2) { --tone: var(--purple); }
.card:nth-child(4n+3) { --tone: var(--olive); }
.card:nth-child(4n+4) { --tone: var(--blue); }
.card:nth-child(n) .dot { background: color-mix(in srgb, var(--tone, var(--teal)) 12%, #fff); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .dot { background: var(--tone, var(--teal)); color: #fff; transform: rotate(-4deg) scale(1.05); }
}
ul.checklist .icon { color: var(--teal); width: 22px; height: 22px; }

/* Utilidades del esqueleto común (reemplazan estilos inline) */
.hero-compact { padding-bottom: 48px; }
.media { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }

.mt { margin-top: 28px; }
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .stats-2, .stats-4 { grid-template-columns: 1fr; } }
.cta-actions { justify-content: center; }

/* ============================================================
   Tono institucional / clínico (menos "spa": sin pasteles, sin
   píldoras ni sombras difusas; más contraste, bordes rectos y
   color de marca sólido).
   ============================================================ */
:root {
  --radius: 4px;
  --ink-deep: #11303a;
  --shadow: 0 2px 8px rgba(17, 48, 58, .10);
}
h1, h2, h3 { letter-spacing: -.01em; }
h1, h2 { font-weight: 800; color: var(--ink-deep); }

/* Botones y píldoras rectas */
.btn { border-radius: var(--radius); padding: 13px 26px; letter-spacing: .01em; }
.btn-outline { border-color: var(--ink-deep); }
.google-rating { border-radius: var(--radius); }

/* Cabecera de página: bloque oscuro con la franja de los 4 colores del logo */
.hero:not(.hero-full) {
  background: var(--ink-deep);
  color: #fff;
  padding-bottom: 72px;
}
.hero:not(.hero-full)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--teal) 0 25%, var(--purple) 25% 50%, var(--olive) 50% 75%, var(--blue) 75% 100%);
}
.hero-compact { padding: 56px 0 56px; }
.hero:not(.hero-full) h1 { color: #fff; }
.hero:not(.hero-full) .eyebrow, .hero:not(.hero-full) .eyebrow a { color: #7fe0e0; }
.hero:not(.hero-full) .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.hero:not(.hero-full) .google-rating { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.hero:not(.hero-full) .google-rating strong { color: #fff; }
.hero figure { box-shadow: none; border-radius: var(--radius); }

/* Tarjetas: borde recto con acento de color arriba, sin flotar */
.card {
  border: 1px solid var(--border);
  border-top: 4px solid var(--tone, var(--teal));
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: none; box-shadow: var(--shadow); border-color: var(--border); border-top-color: var(--tone, var(--teal)); }
}
.card .dot, .card:nth-child(n) .dot {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--tone, var(--teal)); color: #fff;
}
.card .dot svg { width: 30px; height: 30px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .dot { background: var(--ink-deep); color: #fff; transform: none; }
}
.hub-card h3 { color: var(--ink-deep); }
.slot { border-radius: var(--radius); }

/* Cifras: separadas por líneas verticales, número en azul petróleo */
.stats { border-top: 0; border-bottom: 0; padding: 0; margin: 40px 0 0; border: 1px solid var(--border); }
.stats .stat { padding: 28px 12px; }
.stats .stat + .stat { border-left: 1px solid var(--border); }
.stats .num { color: var(--ink-deep); font-size: 2.6rem; }
.stats .label { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 600; margin-top: 8px; }
@media (max-width: 640px) { .stats .stat + .stat { border-left: 0; border-top: 1px solid var(--border); } }

/* Menú, formularios y detalles */

form.contact-form input, form.contact-form textarea, form.contact-form select { border-radius: var(--radius); border-color: #c9cdd1; }
.founder img { border-radius: var(--radius); }
.faq-item summary { color: var(--ink-deep); }
.cta-band { background: var(--ink-deep); }
.cta-band .btn-primary { background: var(--teal); color: #fff; }
section.block.soft { background: #f1f3f4; }

/* ============================================================
   Páginas de sección (Nosotros / Pacientes / Sponsor):
   índice fijo + bloques con la misma estructura (número, ícono, título, bajada).
   ============================================================ */
:root { --header-h: 70px; --subnav-h: 52px; }
html { scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 16px); }
body { counter-reset: bloque; }

.section-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  height: var(--subnav-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.section-nav .container { display: flex; align-items: center; gap: 16px; height: 100%; }
.section-nav-label {
  flex: none;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft);
}
.section-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
}
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  color: var(--ink); text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.section-nav a svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.section-nav a:hover { background: var(--paper-soft); }
.section-nav a.is-active { background: var(--teal); color: #fff; }
.section-nav a.is-active svg { color: #fff; }
@media (max-width: 720px) {
  .section-nav-label { display: none; }
  .section-nav a { padding: 8px 12px; }
}

section.block.bloque-head { padding: 64px 0 0; }
.bloque-head + .block, .bloque-head + .container { padding-top: 28px; }
.bloque-head-row {
  display: flex; align-items: center; gap: 18px;
  padding-top: 28px; border-top: 2px solid var(--border);
}
.bloque-icon {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal); color: #fff;
}
.bloque-icon svg { width: 26px; height: 26px; }
.bloque-title { margin: 0; }
.bloque-head:not(.bloque-sub) .bloque-title::before {
  counter-increment: bloque;
  content: "0" counter(bloque);
  display: block;
  margin-bottom: 2px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--teal);
}
.bloque-lead { margin: 4px 0 0; font-size: 1.05rem; }
.bloque-sub .bloque-head-row { border-top: 0; padding-top: 0; margin-top: 16px; }
.bloque-sub .bloque-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--purple); }
.bloque-sub .bloque-icon svg { width: 20px; height: 20px; }
.bloque-sub .bloque-title { font-size: 1.35rem; }
section.block.bloque-head.bloque-sub { padding-top: 16px; }

/* Títulos internos de cada bloque (nivel 3): un solo estilo en todo el sitio */
.sub-title { font-size: 1.3rem; color: var(--ink); margin-bottom: .6em; }
.sub-title::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--teal); }
@media (max-width: 720px) {
  .bloque-icon { width: 44px; height: 44px; }
  .bloque-head-row { gap: 14px; }
}

/* Home: cuatro caminos (4 en escritorio, 2x2 en tablet, 1 columna en celular) */
.paths-lead { max-width: 56ch; }
.paths-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .paths-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .paths-cards { grid-template-columns: 1fr; } }
.path-card { display: flex; flex-direction: column; gap: 4px; }
.path-card p { margin: 0 0 12px; }
.path-go { margin-top: auto; font-weight: 700; color: var(--teal); }
.path-go::after { content: " \2192"; }
.path-card:hover .path-go { text-decoration: underline; }

/* Pacientes: cómo participar en pasos */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: paso; }
.step { position: relative; padding: 24px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); counter-increment: paso; }
.step::before { content: counter(paso); position: absolute; top: 16px; right: 18px; font-size: 1.6rem; font-weight: 800; color: var(--border); }
.step-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--teal); color: #fff; }
.step-icon svg { width: 22px; height: 22px; }
.step h4 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.hero-full .container { max-width: var(--maxw); }
.hero-full h1 { max-width: 760px; }

/* Color de acento por sección: Nosotros teal, Pacientes violeta, Sponsor azul */
body { --accent: var(--teal); }
body.aud-pacientes { --accent: var(--purple); }
body.aud-sponsor, body.aud-medicos { --accent: var(--blue); }
.bloque-icon, .step-icon, .section-nav a.is-active { background: var(--accent); }
.bloque-head:not(.bloque-sub) .bloque-title::before { color: var(--accent); }
.section-nav a svg { color: var(--accent); }
.section-nav a.is-active svg { color: #fff; }
.sub-title::after { background: var(--accent); }
.bloque-sub .bloque-icon { background: var(--olive); }
.bloque-head-row { border-top-color: var(--accent); }

/* Celular: mismos botones flotantes que en escritorio, un poco más chicos */
@media (max-width: 720px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  html { scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 8px); }
}

/* Formularios: aviso, estados y confirmación */
.form-note { margin: 4px 0 0; font-size: .85rem; color: var(--ink-soft); }
.form-status { margin: 12px 0 0; font-weight: 600; color: var(--ink-soft); }
.form-status.is-error { color: #b3261e; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.form-success { max-width: 560px; padding: 28px; border: 1px solid var(--border); border-left: 6px solid var(--accent, var(--teal)); border-radius: var(--radius); background: #fff; }
.form-success h3 { margin-bottom: .4em; }
.form-success .btn { margin-top: 8px; }

/* ============================================================
   Mejoras UX (30)
   ============================================================ */

/* 1. Saltar al contenido */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* 28. Texto solo para lectores de pantalla */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 12. Foco visible uniforme */
:focus-visible { outline: 3px solid var(--accent, var(--teal)); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .section-nav a:focus-visible { outline-offset: 2px; }
form.contact-form input:focus-visible, form.contact-form textarea:focus-visible, form.contact-form select:focus-visible {
  outline: 0; border-color: var(--accent, var(--teal)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--teal)) 25%, transparent);
}

/* 3. Progreso de lectura */
.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--accent, var(--teal)); transform: scaleX(0); transform-origin: left; }

/* 4 y 27. Acciones del header: botón contextual y tamaño de texto */
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.nav-cta { display: none; }
@media (min-width: 1101px) { .site-header .bar { gap: 28px; } nav.main-nav { margin-left: auto; } }
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .header-actions { margin-left: auto; margin-right: 8px; position: relative; z-index: 2; }
  .nav-toggle { padding: 10px; }
  .nav-cta { display: block; margin-top: 20px; }
  nav.main-nav .nav-cta a { display: flex; justify-content: center; border-bottom: 0; padding: 14px 24px; color: #fff; }
  nav.main-nav a { padding: 16px 4px; font-size: 1.05rem; }
}
nav.main-nav .nav-cta a::after { display: none; }

/* 17. Botones: área táctil mínima */
.btn { min-height: 44px; justify-content: center; }
.nav-toggle { min-width: 44px; min-height: 44px; }

/* 7. Hero de sección: bajada y altura más compacta */
.hero-lead { margin: 0 0 1.25em; max-width: 52ch; font-size: 1.15rem; color: rgba(255,255,255,.88); }
.hero-compact { padding-top: 40px; padding-bottom: 40px; }

/* 8. Seguí explorando */
.explore { background: var(--paper-soft); }
.explore h2 { margin-bottom: 1em; }
.explore-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .explore-cards { grid-template-columns: 1fr; } }

/* 9. Copiar enlace al bloque + aviso */
.bloque-link {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: 8px;
  vertical-align: middle; border: 0; border-radius: 50%; background: transparent;
  color: var(--ink-soft); cursor: pointer; opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.bloque-link svg { width: 18px; height: 18px; }
.bloque-title:hover .bloque-link, .bloque-link:focus-visible { opacity: 1; }
.bloque-link:hover { background: var(--paper-soft); color: var(--accent, var(--teal)); }
@media (hover: none) { .bloque-link { display: none; } }
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 90; transform: translate(-50%, 12px);
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 10. Al llegar por un enlace, el bloque se resalta un instante */
@keyframes bloqueFlash { 0% { background: color-mix(in srgb, var(--accent, var(--teal)) 14%, transparent); } 100% { background: transparent; } }
.bloque-head:target .bloque-head-row { animation: bloqueFlash 1.6s ease-out; }

/* 2. Volver arriba */
.to-top {
  position: fixed; right: 18px; bottom: 96px; z-index: 55;
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--accent, var(--teal)); }
@media (max-width: 720px) { .to-top { right: 20px; bottom: 82px; } }

/* 11. Espaciado de bloques: más compacto en pantallas chicas */
@media (max-width: 720px) {
  section.block { padding: 48px 0; }
  section.block.bloque-head { padding: 48px 0 0; }
}

/* 13. Tarjetas del mismo alto en cada fila */
.cards { align-items: stretch; }
.cards > .card { height: 100%; }

/* 14. Enlaces dentro del texto: subrayados */
.block p a:not(.btn), .block li a:not(.btn):not(.card), .form-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.block p a:not(.btn):hover { text-decoration-thickness: 2px; }

/* 15. Listas largas como grilla de ítems */
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 1em; }
.feature-list li {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--accent, var(--teal)); border-radius: 8px;
  font-size: .95rem; color: var(--ink);
}
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }

/* 16, 21 y 23. Formularios consistentes: campos, errores y asterisco */
form.contact-form input:not([type="checkbox"]), form.contact-form textarea, form.contact-form select { min-height: 48px; font-size: 1rem; }
form.contact-form .check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--accent, var(--teal)); }
.req { color: #b3261e; }
.field-error { margin: 6px 0 0; font-size: .875rem; font-weight: 600; color: #b3261e; }
form.contact-form [aria-invalid="true"] { border-color: #b3261e; }
form.contact-form .check .field-error { flex-basis: 100%; }
form.contact-form .check { flex-wrap: wrap; }

/* 18. Largo de línea cómodo para leer */
.block .container > p, .block .container > ul.plain, .faq-list { max-width: 72ch; }

/* 24. Botón copiar */
.copy-btn {
  margin-left: 8px; padding: 2px 10px; border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--ink-soft); font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent, var(--teal)); color: var(--accent, var(--teal)); }
.site-footer .copy-btn { background: transparent; border-color: rgba(255,255,255,.35); color: #c7c9ca; }

/* 25. Preguntas frecuentes: expandir todo */
.faq-toggle {
  margin: 0 0 12px; padding: 8px 16px; border: 2px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
}
.faq-toggle:hover { border-color: var(--accent, var(--teal)); }

/* 19. Pie de página: aire y jerarquía */
.footer-grid { gap: 32px 24px; }
footer.site-footer h4 { margin-bottom: .6em; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: #fff; }
footer.site-footer p { line-height: 1.9; }

/* 29. Fondo mientras cargan las imágenes */
img { background: var(--paper-soft); }
.logo img, .whatsapp-float img, footer.site-footer img { background: transparent; }

/* 26. Menos movimiento si el sistema lo pide */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 20. Impresión: solo el contenido */
@media print {
  .site-header, .section-nav, .whatsapp-float, .to-top, .skip-link, .draft-banner, .cookie-banner, .cta-band, .explore, .toast, .copy-btn, .bloque-link, form.contact-form { display: none !important; }
  body { padding: 0 !important; color: #000; }
  section.block, .hero { opacity: 1 !important; padding: 16px 0 !important; background: #fff !important; color: #000 !important; }
  .hero h1, .hero p, .hero .eyebrow { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a, .site-footer h4 { color: #000; }
}
@media (max-width: 1100px) {
  .site-header .bar { gap: 4px; }
  .logo { order: 1; }
  .header-actions { order: 2; }
  .nav-toggle { order: 3; margin-right: -10px; }
}

/* Todos los hero: foto de fondo que ocupa la pantalla completa antes de scrollear */
.hero-full { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
body:has(.draft-banner) .hero-full { min-height: calc(100vh - var(--header-h) - 44px); min-height: calc(100svh - var(--header-h) - 44px); }
.hero-full .container { padding-top: 96px; padding-bottom: 96px; }
.hero-section .hero-lead { color: rgba(255,255,255,.9); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%);
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 2px solid rgba(255,255,255,.6); border-radius: 50%;
  background: rgba(20,24,28,.35); color: #fff; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.hero-scroll:hover { background: var(--accent, var(--teal)); border-color: transparent; }

@media (max-width: 720px) { .hero-full .container { padding-top: 72px; padding-bottom: 96px; } }
@media print { .hero-scroll { display: none !important; } }
/* El hero es flex: sin ancho propio el contenedor se encoge y se centra; así queda alineado con el resto */
.hero-full .container { width: 100%; }

/* ============================================================
   Mejoras UX (20)
   ============================================================ */

/* 1. Fin de bloque: índice y siguiente */
.block-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 24px; }
.block-next-link {
  padding: 10px 18px; border: 2px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.block-next-link:hover { border-color: var(--accent, var(--teal)); color: var(--accent, var(--teal)); }
.block-next-go { margin-left: auto; border-color: var(--accent, var(--teal)); color: var(--accent, var(--teal)); }

/* 6. Botón de envío con indicador de carga */
@keyframes spin { to { transform: rotate(360deg); } }
.contact-form button[disabled]::before {
  content: ""; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .7s linear infinite;
}

/* 7. WhatsApp flotante se aparta ante un llamado a la acción */
.whatsapp-float { transition: transform .2s ease, opacity .25s ease; }
body.wa-hide .whatsapp-float { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* 8. Fundido de la imagen del hero */
.hero-full { background: #14181c; }
/* Si main.js no llega a correr, la foto aparece igual a los 3 s (heroShow). */
.js .hero-full-bg { opacity: 0; transition: opacity .4s ease; }
.js .hero-full-bg:not(.is-loaded) { animation: heroShow 0s 3s forwards; }
@keyframes heroShow { to { opacity: 1; } }
.js .hero-full-bg.is-loaded { opacity: 1; }
/* 20. Legibilidad del texto sobre fotos claras */
.hero-full h1, .hero-full .hero-lead, .hero-full .eyebrow { text-shadow: 0 1px 14px rgba(0,0,0,.35); }

/* 10. Enlaces del pie con subrayado animado */
footer.site-footer a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s ease, color .2s ease;
}
footer.site-footer a:hover, footer.site-footer a:focus-visible { background-size: 100% 1px; }

.map-embed + .btn { margin-top: 16px; }

/* 14. Enlace a reseñas */
.reviews-link { margin: 20px 0 0; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* 18. Select con flecha propia */
form.contact-form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff 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='%2355595c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}

@media (max-width: 720px) {
  .block-next { flex-direction: column; align-items: stretch; }
  .block-next-link { text-align: center; }
  .block-next-go { margin-left: 0; }
  
}
@media print { .block-next { display: none !important; } }

/* Contraste: bajada del hero compacto (404) y textos del pie */
.hero:not(.hero-full) p.lead { color: rgba(255,255,255,.9); }
footer.site-footer p { color: #d3d5d6; }
/* Tarjetas de "Seguí explorando": se reparten solas según cuántas haya */
.explore-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Aire bajo el título de cada bloque, para que no quede pegado al fondo gris que sigue */
section.block.bloque-head { padding-bottom: 20px; }
section.block.bloque-head.bloque-sub { padding-bottom: 8px; }

/* Crédito del estudio: discreto, sin competir con los enlaces legales.
   El selector lleva .site-footer adelante para ganarle a "footer.site-footer a",
   que quita el subrayado: sin él el enlace se distinguiría solo por color y el
   contraste contra el texto que lo rodea es 1,53:1, por debajo del 3:1 que pide
   WCAG 1.4.1. */
.footer-credit { color: #9fa3a6; font-size: .8rem; }
.site-footer .footer-credit a { color: #c7c9ca; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-credit a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }

/* Botones de fin de bloque: flechas dibujadas con CSS (el texto no lleva símbolos) */
.block-next-link { display: inline-flex; align-items: center; gap: 8px; }
.block-next-link::before, .block-next-go::after {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat;
}
.block-next-link::before { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E"); }
.block-next-go::after { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }
.block-next-go::before { content: none; }

/* <picture> (webp) no cambia el layout: la imagen se comporta como antes */
picture { display: contents; }

/* ============================================================
   Mejoras UX (3): buscador de áreas, fases y formulario por pasos
   ============================================================ */

/* Buscador de áreas */
.areas-filter { margin: 0 0 16px; max-width: 440px; }
.areas-filter input {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #c9cdd1; border-radius: 999px;
  font: inherit; font-size: 1rem; background: #fff;
}
.areas-filter input:focus-visible { outline: 0; border-color: var(--accent, var(--teal)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--teal)) 25%, transparent); }
.areas-list li[hidden] { display: none; }
.areas-empty { margin-top: 12px; font-weight: 600; }

/* Fases I a IV como línea de tiempo */
.phases { list-style: none; margin: 0 0 24px; padding: 0; position: relative; }
.phase { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.phase:last-child { padding-bottom: 0; }
.phase::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px;
  background: color-mix(in srgb, var(--accent, var(--teal)) 30%, transparent);
}
.phase:last-child::before { display: none; }
.phase-num {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent, var(--teal)); color: #fff; font-weight: 800; font-size: .95rem;
}
.phase h4 { margin: 2px 0 4px; font-size: 1.05rem; }
.phase p { margin: 0; font-size: .95rem; }

/* Formulario por pasos (solo con JS; sin JS se ve completo) */
.form-progress, .form-nav { display: none; }
.form-steps fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.form-steps legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 1.1rem; }
.form-steps .form-step[hidden] { display: none; }
.form-steps.is-stepped .form-progress {
  display: flex; gap: 8px; list-style: none; margin: 0 0 8px; padding: 0; counter-reset: paso-f;
}
.form-progress li {
  flex: 1; padding-top: 10px; border-top: 4px solid var(--border);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft);
  counter-increment: paso-f;
}
.form-progress li::before { content: counter(paso-f) ". "; }
.form-progress li.is-current, .form-progress li.is-done { border-top-color: var(--accent, var(--teal)); }
.form-progress li.is-current { color: var(--ink); }
.form-steps.is-stepped .form-nav { display: flex; gap: 12px; }
.form-steps.is-stepped .form-nav [hidden] { display: none; }
.form-steps.is-stepped .form-step legend { display: none; }
@media (max-width: 540px) { .form-progress li { font-size: .7rem; } }

/* Pie de página pegado al cierre: sin franja blanca entre los dos */
footer.site-footer { margin-top: 0; }

/* Cifras en el celular: una sola fila compacta en vez de una columna alta */
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stats.stats-2 { grid-template-columns: repeat(2, 1fr); }
  .stats.stats-4 { grid-template-columns: repeat(2, 1fr); }
  .stats .stat { padding: 18px 6px; }
  .stats .stat + .stat { border-left: 1px solid var(--border); border-top: 0; }
  .stats.stats-4 .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stats.stats-4 .stat:nth-child(3) { border-left: 0; }
  .stats .num { font-size: 1.8rem; }
  .stats .label { font-size: .64rem; letter-spacing: .04em; }
}

/* Ajustes mobile (24/10/2026) */
@media (max-width: 640px) {
  .cookie-banner-inner { padding: 12px 18px; gap: 12px; }
  .cookie-banner-inner p { font-size: .8rem; text-align: left; }

  /* Fundadores: dos por fila, más chicos */
  .two-col:has(> .founder) { grid-template-columns: 1fr 1fr; gap: 14px; }
  .founder h3 { font-size: .98rem; }
  .founder-role { font-size: .8rem; }

  /* Staff: tarjeta horizontal (foto a la izquierda) para no alargar tanto la página */
  .team-card { display: flex; align-items: center; justify-content: flex-start; gap: 16px; padding: 16px; }
  .team-card-photo { flex: none; width: 64px; height: 64px; margin-bottom: 0; }
  .team-card h3 { font-size: 1rem; }
  .team-card p { font-size: .88rem; }

  .cards { gap: 14px; margin-top: 24px; }
  
}

/* Mobile: que el hero entre en la primera pantalla, sin quedar tapado por la barra Llamar/WhatsApp ni el aviso de cookies */
@media (max-width: 720px) {
  .hero-full { min-height: calc(100svh - var(--header-h) - 72px); }
  .hero-full .container { padding-top: 40px; padding-bottom: 28px; }
  .hero-full h1 { font-size: clamp(1.55rem, 7vw, 1.9rem); line-height: 1.15; margin-bottom: .4em; }
  .hero-full .hero-lead, .hero-full p.lead { font-size: 1rem; }
  .hero-full .google-rating { margin-bottom: 12px; }
  .hero-full .hero-ctas { margin-top: 1em; gap: 10px; }
  .hero-full .hero-ctas .btn { padding: 11px 16px; font-size: .95rem; }
  .hero-scroll { display: none; }
}

/* Mobile: aviso de cookies compacto (antes tapaba casi la mitad de la primera pantalla) y hero con el texto arriba */
@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 10px 14px; }
  .cookie-banner-inner p { flex: 1 1 100%; font-size: .72rem; line-height: 1.35; }
  .cookie-banner-actions { width: 100%; justify-content: flex-end; gap: 8px; }
  .cookie-banner .btn { padding: 7px 14px; font-size: .82rem; }
  .hero-full { align-items: flex-start; }
  .hero-full .container { padding-top: 32px; }
}

/* Mobile: el header respeta el padding del container y nada puede ensanchar la página
   (si algo se sale, el navegador achica la vista y la barra fija inferior queda cortada) */
html, body { overflow-x: clip; max-width: 100%; }

/* ============================================================
   Microinteracciones (11/2026). Solo transform/translate/scale y opacity
   (más colores); el foco con teclado se ve igual que el hover.
   Con "reducir movimiento" la regla general (26) apaga las duraciones.
   ============================================================ */

/* Tarjetas: elevación sutil. La sombra va en un pseudo-elemento y solo cambia su opacidad. */
.card { position: relative; transition: transform .25s var(--ease-reveal), translate .25s var(--ease-reveal), border-color .25s ease; }
.card::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  box-shadow: 0 4px 8px rgba(17, 48, 58, .12); opacity: 0; transition: opacity .25s;
}
.card:focus-visible { translate: 0 -2px; }
.card:focus-visible::after { opacity: 1; }
.card:focus-visible .dot { background: var(--ink-deep); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { translate: 0 -2px; box-shadow: none; }
  .card:hover::after { opacity: 1; }
}
.path-card:focus-visible .path-go { text-decoration: underline; }

/* Botones (el hover está más abajo, solo para dispositivos con puntero) */
.btn:focus-visible { translate: 0 -2px; filter: brightness(.93); }
.btn:active { translate: none; scale: .97; }

/* Logos de clientes */
.logo-strip img { transition: filter .2s ease, translate .25s var(--ease-r); }

/* Índice de la sección y enlaces en el texto: el foco igual que el hover */
.section-nav a:not(.is-active):focus-visible { background: var(--paper-soft); }
.block p a:not(.btn):focus-visible { text-decoration-thickness: 2px; }

/* Preguntas frecuentes */
.faq-item summary { transition: color .2s ease; }
.faq-item summary:hover, .faq-item summary:focus-visible { color: var(--accent, var(--teal)); }

/* Menú mobile: los ítems entran escalonados (--i lo pone main.js) */
@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js nav.main-nav li { opacity: 0; translate: 0 10px; transition: opacity .2s ease, translate .2s var(--ease-r); }
  .js nav.main-nav.open li { opacity: 1; translate: none; transition-delay: calc(var(--i, 0) * 25ms + 40ms); }
}

/* Formularios: foco, error y confirmación */
form.contact-form :is(input, textarea, select) { transition: border-color .2s, box-shadow .2s; }
form.contact-form .field:focus-within > label { color: var(--accent, var(--teal)); }
.form-success, .field-error { animation: formIn .4s var(--ease-r); }
.form-status.is-error { animation: formShake .4s ease; }
@keyframes formIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes formShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

/* Header transparente sobre el hero de foto (11/2026): el hero sube detrás del header
   y el header pasa a blanco translúcido al scrollear (.is-scrolled lo pone main.js). */
body:has(main > .hero-full:first-child) main > .hero-full:first-child { margin-top: calc(-1 * var(--header-h) - 12px); min-height: calc(100svh + 12px); }
.site-header::before { transition: background .3s ease; }
body:has(main > .hero-full:first-child) .site-header:not(.is-scrolled):not(:has(.main-nav.open)) {
  border-bottom-color: transparent;
}
body:has(main > .hero-full:first-child) .site-header:not(.is-scrolled):not(:has(.main-nav.open))::before {
  background: linear-gradient(rgba(10,12,14,.5), rgba(10,12,14,0));
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* Logo: el blanco oficial va superpuesto y se alterna por opacidad con el de color */
.logo img.logo-light { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.logo img:not(.logo-light) { transition: transform .25s var(--ease-reveal), opacity .3s ease; }
body:has(main > .hero-full:first-child) .site-header:not(.is-scrolled):not(:has(.main-nav.open)) .logo img:not(.logo-light) { opacity: 0; }
body:has(main > .hero-full:first-child) .site-header:not(.is-scrolled):not(:has(.main-nav.open)) .logo img.logo-light { opacity: 1; }
body:has(main > .hero-full:first-child) .site-header:not(.is-scrolled):not(:has(.main-nav.open)) .nav-toggle { color: #fff; }
@media (min-width: 1101px) {
  body:has(main > .hero-full:first-child) .site-header:not(.is-scrolled) nav.main-nav a:not(.btn) { color: #fff; }
  body:has(main > .hero-full:first-child) .site-header:not(.is-scrolled) nav.main-nav a::after { background: #fff; }
}
@media (max-width: 720px) {
  /* El hero sube ~10px detrás del header y tiene que llegar hasta la barra Llamar/WhatsApp (72px):
     100svh - 72px + 12px. Antes quedaba una franja blanca entre la foto y la barra. */
  body:has(main > .hero-full:first-child) main > .hero-full:first-child { min-height: calc(100svh - 60px); align-items: flex-end; }
  body:has(main > .hero-full:first-child) main > .hero-full:first-child .container { padding-top: calc(24px + var(--header-h)); padding-bottom: 24px; }
  /* Botones del hero apilados y del mismo ancho (antes quedaban uno largo y otro corto, desparejos) */
  .hero-full .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-full .hero-ctas .btn { width: 100%; }
  /* Primera visita: mientras el aviso de cookies está abierto, el texto del hero sube para no quedar tapado */
  body:has(main > .hero-full:first-child):has(.cookie-banner:not([hidden])) main > .hero-full:first-child .container { padding-bottom: 160px; }
}

/* ============================================================
   Pulido visual (11/2026, design-taste). Sin cambios de texto.
   ============================================================ */

/* Tipografía: títulos equilibrados y párrafos sin viudas */
h1, h2, h3, h4, .bloque-title { text-wrap: balance; }
p, li, .faq-item summary { text-wrap: pretty; }
/* Hero: el titular entra en 2 líneas en escritorio en vez de 3 */
.hero-full h1 { max-width: min(22em, 100%); }

/* Bloques: sin numeración "01 / 02 / 03" (no son pasos de una secuencia) */
.bloque-head:not(.bloque-sub) .bloque-title::before { content: none; }

/* Un solo sistema de esquinas: 4px en todo lo que es control o tarjeta; círculos solo donde la forma es un ícono */
.bloque-icon, .bloque-sub .bloque-icon, .step-icon, .faq-toggle, .block-next-link, .copy-btn, .section-nav a, .areas-filter input, .google-rating, .feature-list li { border-radius: var(--radius); }

/* Sin franjas laterales de color: borde completo y fondo apenas teñido con el acento */
.form-success { border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 35%, var(--border)); background: color-mix(in srgb, var(--accent, var(--teal)) 5%, #fff); }
.feature-list li { border: 1px solid var(--border); background: color-mix(in srgb, var(--accent, var(--teal)) 4%, #fff); }

/* Hover de botones y logos solo en dispositivos con puntero: en táctil el estado no queda "pegado". */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { translate: 0 -2px; filter: brightness(.93); }
  .logo-strip img:hover { translate: 0 -3px; }
}

/* Contraste: el recuadro de pendiente pasa AA */
.slot { color: var(--ink-soft); background: var(--paper-soft); }
/* Ítems de lista: bloque normal, así "<strong>Título:</strong> texto" fluye en una sola columna (antes flex lo partía) */
.feature-list li { display: block; min-height: 0; padding: 12px 16px; line-height: 1.55; }
.feature-list li strong { color: var(--ink-deep); }

/* Barra de scroll con riel invisible (escritorio): el scrollbar nativo de Windows siempre reserva una columna
   propia, así que con mouse se oculta y main.js dibuja un pulgar flotante y arrastrable encima de la página.
   Solo se activa si main.js corrió (html.has-thumb); en táctil queda el nativo, que ya flota. */
html.has-thumb { scrollbar-width: none; }
html.has-thumb::-webkit-scrollbar { display: none; }
.scroll-thumb {
  position: fixed; top: 0; right: 3px; z-index: 70; width: 8px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--teal) 70%, #fff); opacity: .55; cursor: grab; touch-action: none;
  transition: opacity .2s ease;
}
.scroll-thumb:hover, .scroll-thumb.is-drag { opacity: 1; background: var(--teal); }
.scroll-thumb.is-drag { cursor: grabbing; }
.scroll-thumb[hidden] { display: none; }
@media print { .scroll-thumb { display: none !important; } }

/* Marquesina interactiva (main.js): la mueve JS en vez de la animación CSS; se arrastra y tiene botones.
   touch-action: pan-y deja que el dedo siga scrolleando la página en vertical. */
.marquee.is-interactive { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee.is-interactive.is-drag { cursor: grabbing; }
.marquee.is-interactive .marquee-track { animation: none; }
.marquee:focus-visible { outline-offset: 4px; }
.marquee-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.marquee-nav[hidden] { display: none; }

/* Médicos (CAMBIOS.docx): texto de apertura, beneficios con ícono propio en dos columnas y especialidades en tres. */
.intro-lead { font-size: 1.1rem; color: var(--ink); max-width: 72ch; }
.benefit-list { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.areas-cols { columns: 3; }
@media (max-width: 880px) { .areas-cols { columns: 2; } }
@media (max-width: 640px) { .benefit-list { grid-template-columns: 1fr; } .areas-cols { columns: 1; } }

/* CAMBIOS.docx, Nosotros y Pacientes (11/2026) */
/* Novedades: <picture> con display: contents dejaba el <source> como celda de la grilla y la foto caía a la
   segunda columna con el texto abajo (punto 18 de Nosotros). Dentro de una grilla de dos columnas va como bloque. */
.two-col > picture { display: block; }
/* Propósito: frase destacada que cierra Misión y Visión */
.proposito { margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--border); font-family: "League Spartan", "Public Sans", sans-serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; line-height: 1.3; color: var(--ink-deep); text-wrap: balance; }
/* Valores en columnas */
.valores-grid { max-width: none; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; }
/* Áreas como badges */
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.badges li { padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 30%, var(--border)); border-radius: var(--radius); background: color-mix(in srgb, var(--accent, var(--teal)) 6%, #fff); font-weight: 600; font-size: .92rem; color: var(--ink-deep); }
/* Pacientes: cuadros con datos y beneficios */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tiles li { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-weight: 700; color: var(--ink-deep); line-height: 1.35; }
.tiles .icon { width: 28px; height: 28px; color: var(--accent, var(--teal)); }
.tiles-icon li { background: color-mix(in srgb, var(--accent, var(--teal)) 6%, #fff); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* Políticas con la estructura del documento visado: subtítulos internos y fecha. */
.legal h4 { margin: 18px 0 6px; font-size: 1.02rem; color: var(--ink-deep); }
.legal ul.plain { margin-bottom: 1em; }
.legal-fecha { font-size: .9rem; font-weight: 600; }
