/* =====================================================================
   Kinetia Fisioterapia, demo de Zenit Solutions
   TODO LO EDITABLE ESTÁ AQUÍ ARRIBA: colores, fuentes y esquinas.
   Si cambiás --verde, cambiá también CAL_COLOR en main.js (color de la agenda).
   Contraste AA revisado con estos valores (ver README).

   CÓMO ESTÁN ORGANIZADOS LOS TAMAÑOS (al final del archivo):
   - "SOLO CELULAR"      @media (max-width: 639px)  -> cambia solo teléfonos.
   - "TABLET Y COMPU"    @media (min-width: 640px)  -> tablet y computadora.
   - "SOLO COMPUTADORA"  @media (min-width: 960px)  -> cambia solo computadora.
   Si querés ajustar un tamaño en celular sin tocar la computadora (o al revés),
   editalo en su bloque. Las reglas de arriba (sin @media) aplican a todas las pantallas.
   ===================================================================== */
:root {
  /* Colores */
  --fondo: #F5F8F4;          /* fondo general, blanco verdoso */
  --superficie: #FFFFFF;     /* tarjetas */
  --salvia-claro: #E4EEE6;   /* secciones alternas y tarjetas teñidas */
  --salvia: #B9D2BF;         /* bordes y detalles */
  --verde: #2D6A55;          /* color principal (botones verdes, enlaces) */
  --verde-hover: #24584A;
  --verde-oscuro: #183F33;   /* títulos y pie */
  --texto: #1F2D28;          /* texto principal */
  --texto-suave: #4E5F58;    /* texto secundario */
  --acento: #F0A35E;         /* acento cálido: botón "Reservar cita" (texto oscuro encima) */
  --acento-hover: #E8914A;
  --acento-texto: #9A5418;   /* acento cuando va como texto sobre fondo claro */
  --whatsapp: #25D366;       /* botón flotante: verde oficial de WhatsApp (igual que en las páginas de Zenit) */
  --whatsapp-icono: #0B2E17; /* ícono oscuro sobre el verde (contraste 7.47) */

  /* Fuentes (Google Fonts, alojadas en /fonts) */
  --fuente-titulos: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --fuente-texto: "Figtree", "Segoe UI", system-ui, sans-serif;

  /* Esquinas: botones en píldora, tarjetas a 20 px. Siempre igual. */
  --radio-boton: 999px;
  --radio-tarjeta: 20px;

  --sombra-verde: 0 18px 44px rgba(24, 63, 51, .16);
  --ancho-max: 1180px;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--fuente-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--verde); text-underline-offset: 3px; }
a:hover { color: var(--verde-hover); }
h1, h2, h3 {
  font-family: var(--fuente-titulos);
  color: var(--verde-oscuro);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--acento-texto); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 76px; }

.contenedor { width: 100%; max-width: var(--ancho-max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--verde-oscuro); color: #fff; padding: 10px 16px; border-radius: 8px; }
.saltar:focus { top: 12px; color: #fff; }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.nota { color: var(--texto-suave); font-size: .9rem; }
.etiqueta {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--verde); margin-bottom: 14px;
}

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radio-boton); border: 2px solid transparent;
  font-family: var(--fuente-texto); font-weight: 600; font-size: 1rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.boton--chico { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.boton--acento { background: var(--acento); color: var(--texto); }
.boton--acento:hover { background: var(--acento-hover); color: var(--texto); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240, 163, 94, .4); }
.boton--verde { background: var(--verde); color: #fff; }
.boton--verde:hover { background: var(--verde-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45, 106, 85, .4); }
.boton--contorno { background: transparent; color: var(--verde-oscuro); border-color: var(--verde); }
.boton--contorno:hover { background: var(--verde); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(45, 106, 85, .22); }
.boton:active { transform: translateY(0) scale(.98); }

/* ---------- Encabezado ---------- */
.encabezado {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 248, 244, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(185, 210, 191, .6);
}
.encabezado__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marca { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--verde-oscuro); }
.marca:hover { color: var(--verde-oscuro); }
.marca__simbolo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--verde-oscuro); color: var(--acento); }
.marca__simbolo svg { width: 26px; height: 26px; }
.marca__nombre { font-family: var(--fuente-titulos); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; }
.hero__grid { display: grid; gap: 36px; }
.hero__apoyo { font-size: 1.15rem; color: var(--texto-suave); max-width: 34ch; }
.hero__botones { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero__foto { border-radius: var(--radio-tarjeta); aspect-ratio: 4 / 3; box-shadow: var(--sombra-verde); }

/* Ken Burns (skill animaciones-web): movimiento lento sobre la foto del hero */
.kb { overflow: hidden; position: relative; }
.kb > img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; animation: kb-mover 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes kb-mover { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }

/* ---------- Secciones ---------- */
.seccion { padding: 72px 0; }
.seccion--clara { background: var(--salvia-claro); }
.seccion__cabeza { max-width: 640px; margin-bottom: 32px; }
.seccion__cabeza p { color: var(--texto-suave); }

/* ---------- Servicios (bento de 5) ---------- */
.servicios { display: grid; gap: 18px; }
.servicio {
  display: flex; flex-direction: column;
  background: var(--superficie); border-radius: var(--radio-tarjeta); overflow: hidden;
  border: 1px solid rgba(185, 210, 191, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.servicio:hover { transform: translateY(-4px); box-shadow: var(--sombra-verde); }
.servicio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.servicio__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.servicio__cuerpo > p { color: var(--texto-suave); }
.servicio__cuerpo .boton { align-self: flex-start; margin-top: auto; }
.servicio__datos { display: flex; gap: 18px; font-weight: 600; color: var(--texto) !important; margin-bottom: 18px; }
.servicio__datos span { display: inline-flex; align-items: center; gap: 6px; }
.servicio__datos .ico { color: var(--verde); }
.servicio__aviso { font-size: .9rem; font-weight: 600; color: var(--acento-texto) !important; margin-bottom: 6px; }
.servicio--destacado { background: var(--verde-oscuro); border-color: var(--verde-oscuro); }
.servicio--destacado h3 { color: #fff; font-size: 1.6rem; }
.servicio--destacado .servicio__cuerpo > p { color: #D5E4D9; }
.servicio--destacado .servicio__aviso { color: var(--acento) !important; }
.servicio--destacado .servicio__datos { color: #fff !important; }
.servicio--destacado .servicio__datos .ico { color: var(--acento); }
.servicio--destacado .boton--verde { background: var(--acento); color: var(--texto); }
.servicio--destacado .boton--verde:hover { background: var(--acento-hover); box-shadow: 0 10px 24px rgba(240, 163, 94, .4); }
.servicio--tinte { background: var(--salvia-claro); }
.servicio__icono { width: 40px; height: 40px; fill: var(--verde); margin-bottom: 16px; }
.servicio__incluye { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: #fff; }
.servicio__incluye li { display: flex; gap: 10px; align-items: flex-start; }
.servicio__incluye .ico { color: var(--acento); margin-top: .15em; }

/* ---------- Sobre ---------- */
.sobre { display: grid; gap: 32px; align-items: center; }
.sobre__foto { margin: 0; }
.foto-pendiente {
  aspect-ratio: 4 / 5; border-radius: var(--radio-tarjeta);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 55%),
    linear-gradient(160deg, #CFE0D3, #A9C4AF);
  color: var(--verde-oscuro); font-weight: 600; text-align: center; padding: 24px;
  border: 2px dashed rgba(24, 63, 51, .35);
}
.foto-pendiente .ico { width: 72px; height: 72px; opacity: .8; }
.sobre__cargo { font-weight: 600; color: var(--verde); margin-top: -.3em; }
.formacion { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.formacion li { padding-left: 28px; position: relative; }
.formacion li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--verde); }

/* ---------- Pasos ---------- */
.pasos { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 28px; counter-reset: none; }
.paso { position: relative; padding-left: 72px; }
.paso__num {
  position: absolute; left: 0; top: -4px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--fuente-titulos); font-weight: 700; font-size: 1.4rem;
  background: var(--acento); color: var(--texto);
}
.paso p { color: var(--texto-suave); margin: 0; }

/* ---------- Agenda ---------- */
.agenda { background: var(--verde-oscuro); color: #fff; }
.agenda h2 { color: #fff; }
.agenda .etiqueta { color: var(--acento); }
.agenda__cabeza { max-width: 640px; }
.agenda__cabeza > p:last-child { color: #D5E4D9; font-size: 1.1rem; }
.agenda__servicios { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: var(--radio-boton);
  border: 2px solid rgba(185, 210, 191, .55); background: transparent; color: #fff;
  font-family: var(--fuente-texto); font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--acento); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: var(--texto); }
.agenda__caja {
  position: relative; background: #fff; color: var(--texto);
  border-radius: var(--radio-tarjeta); overflow: hidden; min-height: 560px;
}
.agenda__caja[data-estado="listo"] { min-height: 0; }
.agenda__embed { width: 100%; }
.agenda__cargando, .agenda__respaldo { display: none; }
.agenda__caja[data-estado="cargando"] .agenda__cargando { display: flex; }
.agenda__caja[data-estado="respaldo"] .agenda__respaldo { display: flex; }
.agenda__caja[data-estado="respaldo"] .agenda__embed { display: none; }
.agenda__cargando {
  position: absolute; inset: 0; z-index: 2; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: #fff; color: var(--texto-suave);
}
.esqueleto { display: grid; grid-template-columns: repeat(7, 34px); gap: 10px; }
.esqueleto span { height: 34px; border-radius: 10px; background: var(--salvia-claro); animation: latido 1.4s ease-in-out infinite; }
.esqueleto span:nth-child(2n) { animation-delay: .2s; }
@keyframes latido { 50% { opacity: .45; } }
.agenda__respaldo {
  min-height: 560px; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 36px 22px; gap: 4px;
}
.agenda__respaldo-ico { width: 56px; height: 56px; color: var(--verde); margin-bottom: 10px; }
.agenda__respaldo .agenda__respaldo-titulo { font-family: var(--fuente-titulos); font-size: 1.4rem; font-weight: 700; color: var(--verde-oscuro); margin: 0 0 4px; }
.agenda__respaldo p { color: var(--texto-suave); max-width: 40ch; }
.agenda__respaldo-botones { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; width: 100%; max-width: 320px; }
.agenda__exito { margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; background: rgba(240, 163, 94, .16); color: #fff; font-weight: 600; }
.agenda__alterna { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 36px 0 0; text-align: center; }
.agenda__alterna p { margin: 0; color: #D5E4D9; font-size: 1.1rem; }
/* Botón de WhatsApp sobre fondo oscuro: sin relleno; al pasar el cursor se llena de verde WhatsApp
   (funciona igual que el botón de contorno del hero). */
.boton--wa { background: transparent; color: #fff; border-color: var(--whatsapp); }
.boton--wa .ico { color: var(--whatsapp); transition: color .2s ease; }
.boton--wa:hover { background: var(--whatsapp); color: var(--whatsapp-icono); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37, 211, 102, .3); }
.boton--wa:hover .ico { color: var(--whatsapp-icono); }

/* ---------- Testimonios ---------- */
.testimonios { display: grid; gap: 18px; margin-top: 32px; }
.testimonio {
  margin: 0; background: var(--superficie); border-radius: var(--radio-tarjeta);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonio:hover { transform: translateY(-4px); box-shadow: var(--sombra-verde); }
.testimonio__marca {
  align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--acento-texto);
  border: 1.5px solid currentColor; border-radius: var(--radio-boton); padding: 2px 10px;
}
.testimonio blockquote { margin: 0; font-size: 1.08rem; color: var(--texto); }
.testimonio--grande blockquote { font-family: var(--fuente-titulos); font-size: 1.45rem; line-height: 1.3; color: var(--verde-oscuro); font-weight: 500; }
.testimonio figcaption { color: var(--texto-suave); font-size: .95rem; margin-top: auto; }
.testimonio figcaption strong { display: block; color: var(--texto); }

/* ---------- Ubicación ---------- */
.ubicacion { display: grid; gap: 28px; }
.ubicacion__linea { display: flex; gap: 10px; align-items: flex-start; }
.ubicacion__linea .ico { color: var(--verde); margin-top: .2em; }
.horario { border-collapse: collapse; width: 100%; max-width: 420px; margin: 8px 0 24px; }
.horario th, .horario td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--salvia); }
.horario th { font-weight: 600; padding-right: 16px; }
.horario td { color: var(--texto-suave); }
.ubicacion__mapa { border-radius: var(--radio-tarjeta); overflow: hidden; min-height: 320px; background: var(--salvia-claro); }
.ubicacion__mapa iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Preguntas ---------- */
.preguntas { max-width: 820px; }
.preguntas__lista { display: grid; gap: 12px; margin-top: 24px; }
.preguntas details { background: var(--superficie); border-radius: 16px; padding: 0 20px; }
.preguntas summary {
  list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; color: var(--verde-oscuro); font-size: 1.05rem;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary .ico { color: var(--verde); transition: transform .25s ease; }
.preguntas details[open] summary .ico { transform: rotate(180deg); }
.preguntas details p { color: var(--texto-suave); padding-bottom: 18px; margin: 0; }

/* ---------- Pie ---------- */
.pie { background: var(--verde-oscuro); color: #D5E4D9; padding: 56px 0 96px; }
.pie a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.pie a:hover { color: var(--acento); }
.pie__grid { display: grid; gap: 28px; }
.pie__nombre { font-family: var(--fuente-titulos); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.pie__titulo { font-weight: 600; color: #fff; margin-bottom: 6px; }
.pie__ejemplo { font-weight: 400; color: #B9D2BF; font-size: .9rem; }
.pie__lista { list-style: none; padding: 0; margin: 0; }
.pie__aviso { margin-top: 32px; }
.pie__aviso p { background: rgba(240, 163, 94, .14); border: 1px solid rgba(240, 163, 94, .5); color: #fff; border-radius: 14px; padding: 14px 18px; margin: 0; }
.pie__final { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 24px; font-size: .9rem; }
.pie__final p { margin: 0; }
.pie .pie__zenit { color: rgba(255, 255, 255, .62); font-size: 12px; letter-spacing: .06em; }
.pie .pie__zenit:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); color: var(--whatsapp-icono);
  box-shadow: 0 10px 28px rgba(11, 46, 23, .32);
  transition: transform .2s ease;
}
.wa-flotante:hover { color: var(--whatsapp-icono); transform: scale(1.08); }
.wa-flotante .ico { width: 30px; height: 30px; }

/* ---------- Aparición al hacer scroll (skill animaciones-web, revelar) ---------- */
html.anim-revelar [data-revelar] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
html.anim-revelar [data-revelar].visible { opacity: 1; transform: none; }
/* Las tarjetas usan transform para el hover: al estar visibles, vuelven a su transición corta. */
html.anim-revelar .servicio.visible, html.anim-revelar .testimonio.visible {
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .2s ease, box-shadow .2s ease;
}

/* =====================================================================
   SOLO CELULAR (menos de 640 px). Nada de esto toca tablet ni computadora.
   ===================================================================== */
@media (max-width: 639px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  .seccion { padding: 56px 0; }
  .seccion__cabeza { margin-bottom: 24px; }

  /* Hero: la foto arriba (más bajita) y debajo el texto; los botones siguen en la primera pantalla. */
  .hero { padding: 16px 0 44px; }
  .hero__grid { gap: 22px; }
  .hero__foto { order: -1; aspect-ratio: 16 / 10; }
  .hero__apoyo { font-size: 1.05rem; }
  .hero__botones { margin-top: 20px; }

  /* Servicios compactos */
  .servicios { gap: 14px; }
  .servicio__cuerpo { padding: 18px 18px 20px; }
  .servicio h3 { font-size: 1.15rem; margin-bottom: .35em; }
  .servicio__cuerpo > p { font-size: .95rem; line-height: 1.5; margin-bottom: .8em; }
  .servicio__datos { font-size: .95rem; margin-bottom: 12px; }
  .servicio .boton { min-height: 44px; padding: 0 20px; font-size: .95rem; }

  /* Valoración: sigue siendo la tarjeta grande, con foto más bajita */
  .servicio--destacado img { aspect-ratio: 16 / 9; }
  .servicio--destacado h3 { font-size: 1.35rem; }
  .servicio__incluye { gap: 6px; font-size: .95rem; margin-bottom: 16px; }

  /* Las otras 4: en fila, foto chica cuadrada a la izquierda y texto a la derecha */
  .servicio--foto { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 16px; align-items: start; }
  .servicio--foto img { width: 92px; height: 92px; aspect-ratio: 1 / 1; border-radius: 14px; }
  .servicio--foto .servicio__cuerpo { padding: 0; }
  .servicio--tinte .servicio__cuerpo { display: grid; grid-template-columns: 92px 1fr; column-gap: 14px; padding: 16px; }
  .servicio--tinte .servicio__icono {
    grid-row: 1 / span 4; width: 92px; height: 92px; padding: 24px; margin: 0;
    background: rgba(255, 255, 255, .6); border-radius: 14px;
  }
  .servicio--tinte .servicio__cuerpo > :not(.servicio__icono) { grid-column: 2; }
  .servicio--foto .boton, .servicio--tinte .boton { justify-self: start; }

  .agenda__alterna .boton { width: 100%; }
}

/* =====================================================================
   TABLET Y COMPUTADORA (640 px en adelante)
   ===================================================================== */
@media (min-width: 640px) {
  .contenedor { padding: 0 32px; }
  .hero__botones { flex-direction: row; flex-wrap: wrap; }
  .servicios { grid-template-columns: 1fr 1fr; }
  .servicio--destacado { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .servicio--destacado img { height: 100%; aspect-ratio: auto; }
  .testimonios { grid-template-columns: 1fr 1fr; }
  .testimonio--grande { grid-column: 1 / -1; }
  .pie__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .agenda__respaldo-botones { flex-direction: row; justify-content: center; max-width: none; }
}

/* =====================================================================
   SOLO COMPUTADORA (960 px en adelante). Nada de esto toca el celular.
   ===================================================================== */
@media (min-width: 960px) {
  h1 { font-size: 4.1rem; }
  h2 { font-size: 2.75rem; }
  .menu { display: flex; gap: 28px; }
  .menu a { color: var(--texto); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
  .menu a:hover { color: var(--verde); }
  .seccion { padding: 104px 0; }

  /* Hero de computadora: ocupa toda la primera pantalla y la foto llega al borde derecho.
     (La versión anterior está en respaldos/styles-antes-hero-compu.css.) */
  .hero { padding: 0; }
  .hero .hero__grid {
    max-width: none; padding: 0; gap: 0;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: min(calc(100svh - 69px), 1040px);
  }
  .hero__texto {
    /* el texto va centrado dentro de la mitad izquierda, para que no quede tanto espacio vacío a la izquierda */
    align-self: center; justify-self: center;
    width: 100%; max-width: 640px;
    padding: 64px clamp(32px, 4vw, 56px);
  }
  .hero h1 { font-size: clamp(3.6rem, 4.3vw, 4.6rem); }
  .hero__apoyo { font-size: 1.25rem; max-width: 32ch; }
  .hero__botones { margin-top: 32px; }
  .hero__foto { aspect-ratio: auto; height: 100%; border-radius: 0 0 0 40px; box-shadow: none; }
  .hero__foto img { object-position: 50% 60%; }

  /* Bento: valoración alta a la izquierda, las otras 4 en tablero */
  .servicios {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-areas:
      "valoracion deportiva postop"
      "valoracion drenaje espalda";
  }
  .servicio--destacado { grid-area: valoracion; grid-column: auto; display: flex; }
  /* La foto llena el alto que sobra, así la tarjeta alta no queda con un hueco vacío. */
  .servicio--destacado img { flex: 1 1 auto; height: 0; min-height: 280px; aspect-ratio: auto; object-position: 60% 50%; }
  .servicio--destacado .servicio__cuerpo { flex: 0 0 auto; }
  .servicio--destacado .servicio__cuerpo .boton { margin-top: 4px; }
  /* Tarjetas sin foto: el espacio libre queda bajo el ícono y el texto se apoya abajo. */
  .servicio--tinte .servicio__icono { margin-bottom: auto; width: 48px; height: 48px; }
  .servicio--tinte .servicio__cuerpo .boton { margin-top: 0; }
  .servicio--tinte h3 { margin-top: 24px; }
  .servicio--deportiva { grid-area: deportiva; }
  .servicio--postop { grid-area: postop; }
  .servicio--drenaje { grid-area: drenaje; }
  .servicio--espalda { grid-area: espalda; }
  .servicio--foto img { aspect-ratio: 16 / 9; }

  .sobre { grid-template-columns: .8fr 1fr; gap: 72px; }
  .sobre__foto { max-width: 440px; }

  .pasos { grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
  .pasos::before {
    content: ""; position: absolute; top: 22px; left: 26px; right: 26px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--salvia) 0 10px, transparent 10px 18px);
  }
  .paso { padding: 76px 0 0; }
  .paso__num { top: 0; z-index: 1; box-shadow: 0 0 0 8px var(--fondo); }

  .agenda__caja:not([data-estado="listo"]) { min-height: 640px; }

  .testimonios { grid-template-columns: 1.3fr 1fr 1fr; }
  .testimonio--grande { grid-column: auto; padding: 36px 32px; }

  .ubicacion { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: stretch; }
  .ubicacion__mapa { min-height: 420px; }
}

@media (hover: none) {
  .servicio:hover, .testimonio:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kb > img, .esqueleto span { animation: none; }
  .boton, .servicio, .testimonio, .chip, .wa-flotante, .preguntas summary .ico { transition: none; }
}
