/* =============================================================
   SAVEN Odontología Integral
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía
   5. Componentes · 6. Secciones · 7. Efectos · 8. Responsive
   9. Movimiento reducido
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Paleta tomada del logo digital de la marca (el de su perfil de Instagram):
     verde #0D8D47 y rojo #E41B1C. Nada de verde agua. */
  --verde:        #0D8D47;
  --verde-hondo:  #0A6E37;   /* textos chicos y hover: contraste 6.4:1 */
  --verde-tinta:  #06381E;   /* títulos y pie */
  --verde-suave:  #E3F4E9;
  --verde-papel:  #F3FBF6;

  --rojo:         #E41B1C;
  --rojo-hondo:   #B31316;   /* textos chicos en rojo */
  --rojo-medio:   #F05A52;   /* detalles delicados */
  --rojo-suave:   #FDECEC;
  --rojo-tenue:   #F7CFCF;

  --logo-verde:   var(--verde);
  --logo-rojo:    var(--rojo);

  --blanco:       #FFFFFF;
  --hueso:        #FBFBF9;
  --arena:        #F3F2EF;

  --tinta:        #16201B;
  --tinta-media:  #3C4A42;
  --tinta-suave:  #6B7770;
  --linea:        rgba(22, 32, 27, .12);
  --linea-suave:  rgba(22, 32, 27, .07);

  --wa:           #25D366;
  --wa-hondo:     #128C7E;

  /* Tipografía: Poppins es la sans geométrica que usan en sus placas de
     Instagram; Cormorant retoma la serif clásica del cartel del consultorio. */
  --sans:  "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radio:    16px;
  --radio-sm: 10px;
  --radio-lg: 24px;

  --sombra-sm: 0 2px 10px rgba(6, 56, 30, .05);
  --sombra:    0 12px 34px -14px rgba(6, 56, 30, .18);
  --sombra-lg: 0 30px 70px -28px rgba(6, 56, 30, .28);

  --gutter: clamp(1.15rem, 4.5vw, 3rem);
  --ancho:  1220px;
  --nav-h:  72px;

  color-scheme: light;
}

/* =============================================================
   2. Reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

/* Que [hidden] siempre gane, aunque el componente declare display */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--verde); color: #fff; }

:focus-visible {
  outline: 2px solid var(--verde);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--verde); color: #fff;
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.contenedor {
  width: min(100% - (var(--gutter) * 2), var(--ancho));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--verde-hondo);
  margin-bottom: 1rem;
}
/* Detalle: una rayita roja corta antes del rótulo */
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--rojo);
  flex: none;
}

.etiqueta-pendiente {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  font-weight: 600;
  color: var(--rojo-hondo);
  background: var(--rojo-suave);
  border: 1px dashed rgba(200, 32, 46, .4);
  padding: .3rem .6rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.etiqueta-inline { margin: 0 .4rem 0 0; vertical-align: baseline; }

/* =============================================================
   4. Tipografía
   ============================================================= */
.titulo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  color: var(--verde-tinta);
  letter-spacing: -.035em;
  line-height: 1.14;
}
/* El énfasis va en la serif del cartel del consultorio */
.titulo em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08em;
  letter-spacing: -.005em;
  color: var(--verde);
}

.seccion-bajada {
  margin-top: 1.05rem;
  color: var(--tinta-media);
  font-size: 1.04rem;
  max-width: 56ch;
}

.parrafo-guia {
  font-size: 1.12rem;
  color: var(--tinta-media);
  margin-block: 1.2rem .9rem;
}

/* =============================================================
   5. Componentes
   ============================================================= */

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  text-align: center;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; fill: currentColor; flex: none; }

.btn-primario {
  background: var(--verde-hondo);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(13, 141, 71, .55);
}
.btn-primario:hover { background: #085A2C; box-shadow: 0 16px 32px -14px rgba(13, 141, 71, .7); }

.btn-suave {
  background: var(--verde-suave);
  color: var(--verde-hondo);
}
.btn-suave:hover { background: #dcece8; }

.btn-fantasma {
  border: 1px solid var(--linea);
  color: var(--tinta);
  background: var(--blanco);
}
.btn-fantasma:hover { border-color: var(--verde); color: var(--verde-hondo); }

.btn-alerta { background: var(--rojo); color: #fff; }
.btn-alerta:hover { background: var(--rojo-hondo); }

.btn-whatsapp {
  background: var(--wa-hondo);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(18, 140, 126, .8);
}
.btn-whatsapp:hover { background: #0e6f64; }

.btn-grande {
  padding: 1.05rem 1.9rem;
  font-size: 1.02rem;
  flex-direction: column;
  gap: .1rem;
}
.btn-nota {
  font-size: .74rem;
  font-weight: 400;
  opacity: .82;
  letter-spacing: .02em;
}

.enlace-simple {
  color: var(--tinta-media);
  text-decoration: underline;
  text-decoration-color: var(--linea);
  text-underline-offset: 4px;
  transition: color .25s var(--ease-out), text-decoration-color .25s var(--ease-out);
  font-size: .94rem;
}
.enlace-simple:hover { color: var(--verde-hondo); text-decoration-color: var(--verde); }

/* --- Navegación --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease-out), border-color .4s var(--ease-out),
              background-color .4s var(--ease-out);
}
@supports (backdrop-filter: blur(14px)) {
  .nav { background: rgba(255, 255, 255, .72); backdrop-filter: blur(16px) saturate(170%); }
}
.nav.is-pegada {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--linea-suave);
  box-shadow: var(--sombra-sm);
}

.nav-in {
  width: min(100% - (var(--gutter) * 2), var(--ancho));
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-marca { display: flex; align-items: center; gap: .65rem; flex: none; }
.nav-logo { width: 42px; height: auto; }
.nav-texto { display: flex; flex-direction: column; line-height: 1.05; }
.nav-texto strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: .13em;
  line-height: 1;
  color: var(--verde-tinta);
}
.nav-texto em {
  font-style: normal;
  font-size: .57rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  margin-top: .18em;
}

.nav-links { display: none; margin-left: auto; gap: 1.45rem; }
.nav-links a {
  font-size: .89rem;
  font-weight: 500;
  color: var(--tinta-media);
  position: relative;
  padding-block: .3rem;
  transition: color .25s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--verde);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--verde-hondo); }
.nav-links a:hover::after,
.nav-links a.is-activa::after { transform: scaleX(1); }
.nav-links a.is-activa { color: var(--verde-hondo); }

.nav-cta { display: none; padding: .62rem 1.2rem; font-size: .88rem; }

.nav-burger {
  margin-left: auto;
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 10px;
}
.nav-burger span:not(.sr-only) {
  display: block;
  width: 21px; height: 2px;
  background: var(--verde-tinta);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s linear;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-movil {
  border-top: 1px solid var(--linea-suave);
  background: var(--blanco);
  padding: .9rem var(--gutter) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.nav-movil a {
  padding: .78rem .2rem;
  font-weight: 500;
  color: var(--tinta-media);
  border-bottom: 1px solid var(--linea-suave);
}
.nav-movil a:last-child {
  border: 0;
  margin-top: .9rem;
  justify-content: center;
}

/* Regla corta en dos tonos: el verde y el rojo del logo */
.regla {
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 1.4rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--verde) 0 64%, var(--rojo) 64% 100%);
}

/* =============================================================
   6. Secciones
   ============================================================= */
.seccion { padding-block: clamp(3.6rem, 8vw, 7rem); }
.seccion-cabecera { max-width: 62ch; margin-bottom: clamp(2rem, 4.5vw, 3.4rem); }

/* --- HERO --- */
.hero {
  padding-block: clamp(2.2rem, 5vw, 4.6rem) clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(13, 141, 71, .07), transparent 70%),
    radial-gradient(48% 42% at 6% 82%, rgba(228, 27, 28, .05), transparent 72%),
    var(--blanco);
}
.hero-in {
  width: min(100% - (var(--gutter) * 2), var(--ancho));
  margin-inline: auto;
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.6rem);
}
.hero-titulo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.1rem, 6.2vw, 3.7rem);
  color: var(--verde-tinta);
  letter-spacing: -.045em;
  line-height: 1.1;
}
.hero-titulo em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.18em;
  letter-spacing: -.015em;
  color: var(--verde);
}

.hero-sub {
  margin-top: 1.3rem;
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  color: var(--tinta-media);
  max-width: 46ch;
}

.hero-acciones {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-datos {
  margin-top: 2.4rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--linea-suave);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hero-datos li { display: flex; flex-direction: column; gap: .15rem; }
.hero-datos strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--verde-hondo);
}
.hero-datos span { font-size: .78rem; color: var(--tinta-suave); line-height: 1.4; }

.hero-figura { position: relative; }
.hero-figura img {
  width: 100%;
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-lg);
  height: auto;            /* la foto entera, sin recortar */
}
.hero-sello {
  position: absolute;
  /* Sobre la franja beige que queda debajo del cartel: más arriba tapaba
     el logo, y más abajo tapaba los pies de las doctoras. */
  left: clamp(-.6rem, 1vw, -1.4rem);
  top: 19.5%;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: 999px;
  /* el punto rojo de la esquina llegaba a rozar el «1846» */
  padding: .6rem 1.35rem .6rem .7rem;
  box-shadow: var(--sombra);
  font-size: .76rem;
  line-height: 1.3;
  color: var(--tinta-media);
}
.hero-sello img { width: 28px; height: auto; }
.hero-sello::after {
  content: "";
  position: absolute;
  top: 10px; right: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rojo);
}

/* --- NOSOTRAS --- */
.nosotras { background: var(--hueso); }
.nosotras-grid { display: grid; gap: clamp(2.2rem, 5vw, 3.8rem); }

.lista-marcas { margin-top: 2.2rem; display: grid; gap: 1.5rem; }
.lista-marcas li { display: flex; gap: 1.05rem; align-items: flex-start; }
.marca-num {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--verde-suave);
  color: var(--verde-hondo);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}
/* Detalle: el del medio en rojo, para romper la monotonía del verde */
.lista-marcas li:nth-child(2) .marca-num {
  background: var(--rojo-suave);
  color: var(--rojo-hondo);
}
.lista-marcas strong {
  display: block;
  font-weight: 600;
  color: var(--verde-tinta);
  margin-bottom: .2rem;
}
.lista-marcas div { font-size: .96rem; color: var(--tinta-media); }

.nosotras-fotos {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(.7rem, 2vw, 1.1rem);
  align-items: start;
}
.nosotras-fotos img {
  width: 100%;
  height: auto;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.fotos-columna {
  display: grid;
  gap: clamp(.7rem, 2vw, 1.1rem);
  margin-top: clamp(1.6rem, 5vw, 3.2rem);
}

/* --- EQUIPO --- */
.equipo-grid { display: grid; gap: clamp(1.6rem, 3.5vw, 2.4rem); }

.pro {
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio-lg);
  overflow: hidden;
  display: grid;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.pro:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.pro-foto { background: var(--arena); }
.pro-foto img {
  width: 100%;
  height: auto;                 /* entera: no se les corta nada */
}
.pro-cuerpo { padding: clamp(1.4rem, 3.5vw, 2.1rem); display: flex; flex-direction: column; }
.pro-nombre {
  font-family: var(--sans);
  font-size: clamp(1.16rem, 2.3vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--verde-tinta);
}
.pro-matricula {
  margin-top: .3rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 600;
}
.pro-especialidad {
  margin-top: .9rem;
  font-size: .87rem;
  color: var(--verde-hondo);
  background: var(--verde-papel);
  border-radius: var(--radio-sm);
  padding: .7rem .85rem;
  line-height: 1.55;
}
.pro-bio { margin-top: 1.05rem; font-size: .96rem; color: var(--tinta-media); }

.pro-formacion { margin-top: 1.1rem; border-top: 1px solid var(--linea-suave); padding-top: .9rem; }
.pro-formacion summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .9rem;
  color: var(--verde-hondo);
  list-style: none;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.pro-formacion summary::-webkit-details-marker { display: none; }
.pro-formacion summary::before {
  content: "+";
  display: grid; place-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--verde-suave);
  font-size: .95rem;
  line-height: 1;
  transition: transform .3s var(--ease-out);
}
.pro-formacion[open] summary::before { content: "−"; }
/* El título de grado, arriba del listado de cursos */
.pro-titulo {
  margin-top: .9rem;
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--verde-tinta);
}
.pro-titulo span { color: var(--tinta-suave); font-weight: 400; margin: 0 .22rem; }
.pro-formacion ul { margin-top: .8rem; display: grid; gap: .38rem; }
.pro-formacion li {
  font-size: .87rem;
  color: var(--tinta-media);
  padding-left: 1rem;
  position: relative;
}
.pro-formacion li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--verde);
}

.pro-horario { margin-top: 1.2rem; display: grid; gap: .45rem; }
.pro-horario > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .87rem;
  padding-bottom: .45rem;
  border-bottom: 1px dashed var(--linea-suave);
}
.pro-horario dt { color: var(--tinta-suave); }
.pro-horario dd { font-weight: 600; color: var(--verde-tinta); white-space: nowrap; }

.pro-cuerpo .btn { margin-top: 1.5rem; align-self: flex-start; }

/* --- TRATAMIENTOS --- */
.tratamientos { background: var(--hueso); }

.trat-destacados {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.6rem, 2.4vw, 1.5rem);
}
.trat-card {
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.trat-card { position: relative; }
.trat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--rojo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
  z-index: 2;
}
.trat-card:hover { transform: translateY(-5px); box-shadow: var(--sombra-lg); }
.trat-card:hover::before { transform: scaleX(1); }
.trat-card figure { overflow: hidden; }
.trat-card img {
  width: 100%;
  height: auto;
  transition: transform .8s var(--ease-out), filter .8s var(--ease-out);
}
.trat-card:hover img { transform: scale(1.06); filter: saturate(1.08); }
.trat-cuerpo { padding: .9rem 1rem 1.2rem; }
.trat-cuerpo h3 {
  font-size: clamp(.88rem, 2.6vw, 1.03rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--verde-tinta);
  margin-bottom: .5rem;
}
.trat-cuerpo p { font-size: .91rem; color: var(--tinta-media); }

.trat-subtitulo {
  margin-top: clamp(2.6rem, 5vw, 3.8rem);
  margin-bottom: 1.3rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--verde-tinta);
}
.trat-lista {
  display: grid;
  gap: .1rem;
  border-top: 1px solid var(--linea-suave);
}
.trat-lista li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .78rem .2rem;
  border-bottom: 1px solid var(--linea-suave);
}
.trat-lista li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--verde);
}
.trat-lista strong { font-weight: 600; color: var(--verde-tinta); font-size: .98rem; }
.trat-lista span { font-size: .89rem; color: var(--tinta-suave); }

.trat-nota {
  margin-top: 2rem;
  margin-bottom: 1.3rem;
  padding: 1.1rem 1.3rem;
  background: var(--verde-papel);
  border-left: 3px solid var(--verde);
  border-image: linear-gradient(var(--verde) 62%, var(--rojo) 62%) 1;
  border-radius: 0 var(--radio-sm) var(--radio-sm) 0;
  font-size: .94rem;
  color: var(--tinta-media);
  max-width: 62ch;
}

/* --- PRIMERA CONSULTA --- */
.primera-grid { display: grid; gap: clamp(2rem, 5vw, 3.6rem); }
.primera-foto img {
  width: 100%;
  height: auto;
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra);
}
/* Dos fotos, una arriba de la otra */
.primera-foto { display: grid; gap: clamp(.7rem, 2vw, 1rem); }

.pasos { margin-top: 2rem; display: grid; gap: 1.7rem; }
.pasos li { display: flex; gap: 1.1rem; align-items: flex-start; }
.paso-num {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
}
.pasos h3 {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--verde-tinta);
  margin-bottom: .25rem;
}
.pasos p { font-size: .95rem; color: var(--tinta-media); }

.aviso {
  margin-top: 2.2rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radio);
}
.aviso-urgencia {
  background: var(--rojo-suave);
  border: 1px solid rgba(200, 32, 46, .18);
}
.aviso strong { display: block; color: var(--rojo-hondo); margin-bottom: .45rem; font-size: 1.02rem; }
.aviso p { font-size: .93rem; color: var(--tinta-media); margin-bottom: 1.1rem; }

/* --- OBRAS SOCIALES --- */
.obras-buscador { max-width: 560px; margin-bottom: 2rem; }
.campo-busca { position: relative; }
.campo-busca svg {
  position: absolute;
  left: 1.05rem; top: 50%;
  transform: translateY(-50%);
  width: 19px; height: 19px;
  fill: none;
  stroke: var(--tinta-suave);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
.campo-busca input {
  width: 100%;
  padding: .95rem 1.1rem .95rem 2.9rem;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: var(--blanco);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.campo-busca input:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 4px var(--verde-suave);
}
.campo-busca input:disabled { background: var(--arena); cursor: not-allowed; }
.obras-resultado { margin-top: .8rem; font-size: .92rem; min-height: 1.4em; }
.obras-resultado.ok { color: var(--verde-hondo); font-weight: 600; }
.obras-resultado.no { color: var(--rojo-hondo); }

.obras-pendiente,
.testi-pendiente,
.blog-pendiente {
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  border: 1px dashed rgba(200, 32, 46, .32);
  border-radius: var(--radio);
  background: #fffdfd;
  max-width: 66ch;
}
.obras-pendiente p,
.testi-pendiente p,
.blog-pendiente p { font-size: .96rem; color: var(--tinta-media); margin-bottom: 1rem; }

.obras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: .7rem;
  margin-bottom: 2rem;
}
.obras-grid li {
  padding: .72rem .9rem;
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio-sm);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.35;
  color: var(--verde-tinta);
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.obras-grid li.is-match { border-color: var(--verde); background: var(--verde-papel); }
.obras-grid li.is-oculta { display: none; }

.obras-pie {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--linea-suave);
  max-width: 66ch;
}
.obras-pie p { font-size: .93rem; color: var(--tinta-media); margin-bottom: .7rem; }
.obras-pie strong { color: var(--rojo-hondo); }
.obras-pie .btn { margin-top: .6rem; }

/* --- RESERVAR: el turnero online y la app --- */
.reservar {
  background:
    radial-gradient(60% 48% at 12% 0%, rgba(13, 141, 71, .09), transparent 70%),
    var(--hueso);
}
.reservar-grid { display: grid; gap: clamp(2rem, 4.5vw, 3.2rem); align-items: start; }

.reservar-puntos { margin-top: 1.9rem; display: grid; gap: 1rem; }
.reservar-puntos li {
  display: grid;
  gap: .1rem;
  padding-left: 1.6rem;
  position: relative;
}
/* Tilde verde delante de cada ventaja */
.reservar-puntos li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--verde);
  border-bottom: 2px solid var(--verde);
  transform: rotate(-45deg);
}
.reservar-puntos strong { font-weight: 600; color: var(--verde-tinta); font-size: .98rem; }
.reservar-puntos span { font-size: .91rem; color: var(--tinta-suave); }

.reservar-acciones {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

/* --- La tarjeta de la app --- */
.app-tarjeta {
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio-lg);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.app-cabecera { display: flex; align-items: center; gap: .75rem; }
.app-cabecera div { display: flex; flex-direction: column; line-height: 1.3; }
.app-cabecera strong { font-size: 1.02rem; font-weight: 600; color: var(--verde-tinta); letter-spacing: -.02em; }
.app-cabecera span { font-size: .82rem; color: var(--tinta-suave); }
.app-icono {
  display: grid;
  place-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--verde-suave);
  flex: none;
}
.app-icono img { width: 32px; height: auto; }

.app-texto { font-size: .93rem; color: var(--tinta-media); margin: 0; }

.app-pasos { display: grid; gap: 1.1rem; }
.app-sistema h3 {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rojo);
  margin: 0 0 .55rem;
}
.app-sistema ol {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: .4rem;
  counter-reset: paso;
}
.app-sistema li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .89rem;
  color: var(--tinta-media);
}
.app-sistema li::before {
  counter-increment: paso;
  content: counter(paso);
  position: absolute;
  left: 0; top: .08em;
  width: 19px; height: 19px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--verde-suave);
  color: var(--verde-hondo);
  font-size: .68rem;
  font-weight: 600;
}
.app-sistema strong { color: var(--verde-tinta); font-weight: 600; }

.app-tarjeta .btn { align-self: flex-start; }

/* --- BLOG --- */
.blog { background: var(--hueso); }

/* --- TESTIMONIOS --- */
.testimonios { background: var(--hueso); }

.testi-grid {
  display: grid;
  gap: clamp(.9rem, 2.2vw, 1.3rem);
}
.testi {
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio);
  padding: clamp(1.25rem, 3vw, 1.7rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.testi:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
/* La comilla de apertura, en la serif del cartel */
.testi::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: .8;
  color: var(--verde-suave);
  margin-bottom: -.35rem;
}
.testi blockquote {
  margin: 0;
  font-size: .96rem;
  line-height: 1.68;
  color: var(--tinta-media);
  text-wrap: pretty;
}
.testi-firma {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--linea-suave);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rojo);
}

/* --- PREGUNTAS --- */
.preguntas-grid { display: grid; gap: clamp(2rem, 4.5vw, 3.4rem); }
.preguntas-cabecera .btn { margin-top: 1.4rem; }

.faq-lista { display: grid; gap: .1rem; border-top: 1px solid var(--linea); }
.faq { border-bottom: 1px solid var(--linea); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem .2rem;
  font-weight: 500;
  font-size: 1.01rem;
  color: var(--verde-tinta);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: color .25s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--verde-hondo); }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  margin-top: .42em;
  border-right: 2px solid var(--verde);
  border-bottom: 2px solid var(--verde);
  transform: rotate(45deg);
  transition: transform .35s var(--ease-out);
}
.faq[open] summary::after { transform: rotate(-135deg); border-color: var(--rojo); }
.faq[open] summary { color: var(--verde-hondo); }
.faq-r { padding: 0 .2rem 1.3rem; }
.faq-r p { font-size: .96rem; color: var(--tinta-media); max-width: 62ch; }

/* --- TURNO --- */
.turno {
  background:
    radial-gradient(55% 45% at 88% 0%, rgba(13, 141, 71, .08), transparent 70%),
    var(--blanco);
}
.turno-cabecera { margin-inline: auto; text-align: center; }
.turno-cabecera .seccion-bajada { margin-inline: auto; }

.turnero {
  max-width: 760px;
  margin-inline: auto;
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
}

.turnero-progreso {
  display: flex;
  background: var(--verde-papel);
  border-bottom: 1px solid var(--linea-suave);
  padding: .9rem clamp(.8rem, 2.5vw, 1.6rem);
  gap: .3rem;
}
.turnero-progreso li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  font-weight: 600;
  transition: color .35s var(--ease-out);
}
.turnero-progreso li span {
  width: 26px; height: 26px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  font-size: .76rem;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out),
              color .35s var(--ease-out), transform .35s var(--ease-bounce);
}
.turnero-progreso li.activo { color: var(--verde-hondo); }
.turnero-progreso li.activo span {
  background: var(--verde);
  border-color: var(--verde);
  color: #fff;
  transform: scale(1.1);
}
.turnero-progreso li.hecho span {
  background: var(--verde-suave);
  border-color: var(--verde-suave);
  color: var(--verde-hondo);
}

.turnero-form { padding: clamp(1.4rem, 4vw, 2.4rem); }
.paso { border: 0; padding: 0; margin: 0; }
.paso-titulo {
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--verde-tinta);
  padding: 0;
  margin-bottom: 1.4rem;
}
.paso-bajada { margin-top: -.9rem; margin-bottom: 1.3rem; font-size: .93rem; color: var(--tinta-suave); }

.campo { margin-bottom: 1.5rem; }
.campo label, .label-grupo {
  display: block;
  font-weight: 600;
  font-size: .91rem;
  color: var(--verde-tinta);
  margin-bottom: .55rem;
}
.req { color: var(--rojo); }
.opcional { font-weight: 400; color: var(--tinta-suave); font-size: .85em; }

.campo input[type="text"],
.campo input[type="search"],
.campo select,
.campo textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--linea);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.campo textarea { resize: vertical; min-height: 92px; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 4px var(--verde-suave);
}
.campo input.is-error, .campo textarea.is-error { border-color: var(--rojo); }

.ayuda { margin-top: .5rem; font-size: .84rem; color: var(--tinta-suave); }
.error { margin-top: .45rem; font-size: .84rem; color: var(--rojo-hondo); font-weight: 500; }
.error:empty { display: none; }
.contador { margin-top: .4rem; font-size: .78rem; color: var(--tinta-suave); text-align: right; }

.sub-campos {
  margin-top: 1.4rem;
  padding: 1.25rem;
  background: var(--verde-papel);
  border-radius: var(--radio-sm);
}
.sub-campos .campo:last-child { margin-bottom: 0; }

/* Opciones (radio / checkbox estilizados) */
.opciones { display: grid; gap: .6rem; }
.opcion { position: relative; cursor: pointer; display: block; }
.opcion input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.opcion-cuerpo {
  display: block;
  padding: .95rem 1.1rem;
  border: 1.5px solid var(--linea);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out),
              transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.opcion:hover .opcion-cuerpo { border-color: var(--verde); transform: translateY(-1px); }
.opcion input:checked + .opcion-cuerpo {
  border-color: var(--verde);
  background: var(--verde-papel);
  box-shadow: 0 0 0 3px var(--verde-suave);
}
.opcion input:focus-visible + .opcion-cuerpo { outline: 2px solid var(--verde); outline-offset: 2px; }
.opcion-cuerpo strong { display: block; font-weight: 600; font-size: .97rem; color: var(--verde-tinta); }
.opcion-cuerpo em { font-style: normal; font-size: .84rem; color: var(--tinta-suave); }

.opcion-urgente input:checked + .opcion-cuerpo {
  border-color: var(--rojo);
  background: var(--rojo-suave);
  box-shadow: 0 0 0 3px var(--rojo-suave);
}
.opcion-urgente input:checked + .opcion-cuerpo strong { color: var(--rojo-hondo); }

.opciones-pro { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; align-items: stretch; }
/* Las tres tarjetas, a la misma altura, aunque una lleve dos renglones */
.opciones-pro .opcion,
.opciones-pro .opcion-cuerpo { height: 100%; }
.opciones-pro .opcion-cuerpo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.opciones-pro .opcion-cuerpo { padding: .8rem .6rem 1rem; text-align: center; }
.opciones-pro img {
  width: 100%;
  max-width: 100px;
  margin: 0 auto .6rem;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  border: 2px solid var(--blanco);
  box-shadow: var(--sombra-sm);
}
.opciones-pro strong { font-size: .84rem; letter-spacing: -.02em; }
.opciones-pro em { font-size: .74rem; }
.opcion-icono {
  display: grid;
  place-content: center;
  width: 100px; height: 100px;
  margin: 0 auto .6rem;
  border-radius: 50%;
  background: var(--verde-suave);
}
.opcion-icono img { width: 46px !important; max-width: none !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; aspect-ratio: auto !important; }

.opciones-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: block;
  padding: .6rem 1.1rem;
  border: 1.5px solid var(--linea);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  background: var(--blanco);
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out),
              color .25s var(--ease-out);
}
.chip:hover span { border-color: var(--verde); }
.chip input:checked + span {
  border-color: var(--verde);
  background: var(--verde);
  color: #fff;
}
.chip input:focus-visible + span { outline: 2px solid var(--verde); outline-offset: 2px; }
.chip-todos input:checked + span { background: var(--verde-hondo); border-color: var(--verde-hondo); }

/* Vista previa del mensaje */
.vista-previa {
  background: #E5DDD5;
  background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px);
  background-size: 14px 14px;
  border-radius: var(--radio);
  padding: 1.3rem 1rem;
}
.wa-burbuja {
  background: #DCF8C6;
  border-radius: 12px 12px 12px 4px;
  padding: .95rem 1.1rem;
  font-size: .94rem;
  line-height: 1.6;
  color: #111;
  white-space: pre-wrap;
  max-width: 94%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .13);
  position: relative;
}
.turno-legal { margin-top: 1.2rem; font-size: .84rem; color: var(--tinta-suave); }

.turnero-nav {
  display: flex;
  gap: .7rem;
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linea-suave);
}
.turnero-nav .btn { flex: 1; }
.turnero-nav [data-atras] { flex: 0 0 auto; }

/* --- UBICACIÓN --- */
.ubicacion { background: var(--hueso); }
.ubicacion-grid { display: grid; gap: clamp(2.2rem, 5vw, 3.6rem); }

.ubicacion-tips { margin-top: 1.8rem; display: grid; gap: .8rem; }
.ubicacion-tips li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--linea-suave);
  font-size: .93rem;
}
.ubicacion-tips strong { color: var(--verde-tinta); font-weight: 600; }
.ubicacion-tips span { color: var(--tinta-media); text-align: right; }

.ubicacion-sub {
  margin-top: 2.2rem;
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--verde-tinta);
}
.horarios { display: grid; gap: 1.4rem; }
.horario-col {
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio-sm);
  padding: 1.1rem 1.2rem;
}
.horario-col h4 {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 600;
  margin-bottom: .75rem;
}
.horario-col dl { display: grid; gap: .45rem; }
.horario-col > dl > div {
  display: flex;
  justify-content: space-between;
  gap: .9rem;
  font-size: .88rem;
}
.horario-col dt { color: var(--tinta-suave); }
.horario-col dd { font-weight: 600; color: var(--verde-tinta); white-space: nowrap; }
.horarios-nota { margin-top: 1rem; font-size: .86rem; color: var(--tinta-suave); }

.ubicacion-contacto {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

.mapa-marco {
  border-radius: var(--radio);
  overflow: hidden;
  border: 1px solid var(--linea-suave);
  box-shadow: var(--sombra-sm);
  background: var(--arena);
}
.mapa-marco iframe { width: 100%; height: 330px; border: 0; }
.mapa-nota { margin-top: .85rem; margin-bottom: 1rem; font-size: .86rem; color: var(--tinta-suave); }


/* --- PIE --- */
.pie { background: var(--verde-tinta); color: #DCEAE6; padding-top: clamp(3rem, 6vw, 4.5rem); }
.pie-grid { display: grid; gap: 2.2rem; padding-bottom: 2.8rem; }
.pie-marca img { width: 58px; height: auto; margin-bottom: 1rem; --logo-verde: #7FD4C2; --logo-rojo: #F08A93; }
.pie-nombre { font-family: var(--serif); font-size: 1.5rem; color: #fff; letter-spacing: .04em; }
.pie-nombre strong { font-weight: 600; letter-spacing: .13em; }
.pie-lema { margin-top: .9rem; font-size: .9rem; color: #A9C7C0; max-width: 34ch; }
.pie-nombre::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: .8rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--verde) 0 62%, var(--rojo) 62% 100%);
}

.pie-col h3 {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7FD4C2;
  font-weight: 600;
  margin-bottom: .9rem;
}
.pie-col p { font-size: .9rem; margin-bottom: .6rem; color: #C3DAD5; }
.pie-col a { transition: color .25s var(--ease-out); }
.pie-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pie-col ul { display: grid; gap: .48rem; }
.pie-col li a { font-size: .9rem; color: #C3DAD5; }

.pie-legal {
  border-top: 1px solid rgba(255, 255, 255, .11);
  padding-block: 1.5rem 2rem;
}
.pie-legal p { font-size: .8rem; color: #8FB3AC; }
.pie-aviso { margin-top: .5rem; max-width: 70ch; }

/* --- BOTÓN FLOTANTE --- */
.flotante {
  position: fixed;
  right: clamp(.9rem, 3vw, 1.6rem);
  bottom: clamp(.9rem, 3vw, 1.6rem);
  z-index: 700;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: var(--wa);
  color: #063F33;
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .65);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease-out),
              background-color .3s var(--ease-out);
}
.flotante.is-visible { transform: translateY(0); opacity: 1; }
.flotante:hover { background: #1FBE5A; }
.flotante svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* --- ASISTENTE SAVI --- */
.savi {
  position: fixed;
  left: clamp(.9rem, 3vw, 1.6rem);
  bottom: clamp(.9rem, 3vw, 1.6rem);
  z-index: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
}
.savi-abrir {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.1rem .7rem .6rem;
  border-radius: 999px;
  background: var(--blanco);
  border: 1px solid var(--linea);
  box-shadow: var(--sombra);
  font-weight: 600;
  font-size: .88rem;
  color: var(--verde-tinta);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.savi-abrir:hover { transform: translateY(-2px); box-shadow: var(--sombra-lg); }
/* Dos renglones: el nombre y, abajo, qué es Savi */
.savi-abrir-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}
.savi-abrir-texto strong { font-weight: 600; }
.savi-abrir-texto em {
  font-style: normal;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}
.savi-avatar {
  display: grid;
  place-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--verde-suave);
  flex: none;
}
.savi-avatar img { width: 22px; height: auto; }
.savi-avatar-grande { width: 40px; height: 40px; }
.savi-avatar-grande img { width: 26px; }

.savi-panel {
  width: min(92vw, 358px);
  background: var(--blanco);
  border: 1px solid var(--linea-suave);
  border-radius: var(--radio);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 560px);
}
.savi-cabecera {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  background: var(--verde-papel);
  border-bottom: 1px solid var(--linea-suave);
}
.savi-cabecera div { display: flex; flex-direction: column; line-height: 1.25; }
.savi-cabecera strong { font-size: .98rem; color: var(--verde-tinta); }
.savi-cabecera span { font-size: .76rem; color: var(--tinta-suave); }
.savi-cerrar {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--tinta-suave);
  display: grid;
  place-content: center;
}
.savi-cerrar:hover { background: var(--verde-suave); color: var(--verde-hondo); }

.savi-mensajes {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  min-height: 140px;
}
.savi-msg {
  max-width: 88%;
  padding: .7rem .9rem;
  border-radius: 14px;
  font-size: .89rem;
  line-height: 1.55;
}
.savi-msg-bot {
  background: var(--verde-papel);
  border: 1px solid var(--verde-suave);
  color: var(--tinta);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.savi-msg-yo {
  background: var(--verde);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.savi-msg .btn { margin-top: .7rem; font-size: .84rem; padding: .55rem 1rem; }
.savi-escribiendo { display: flex; gap: 4px; align-items: center; padding: .8rem .9rem; }
.savi-escribiendo i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--verde);
  opacity: .4;
  animation: saviPunto 1.2s infinite var(--ease-soft);
}
.savi-escribiendo i:nth-child(2) { animation-delay: .18s; }
.savi-escribiendo i:nth-child(3) { animation-delay: .36s; }
@keyframes saviPunto { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.savi-sugerencias {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: 0 1rem .7rem;
}
.savi-sugerencias button {
  font-size: .78rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--linea);
  color: var(--verde-hondo);
  background: var(--blanco);
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.savi-sugerencias button:hover { border-color: var(--verde); background: var(--verde-papel); }

.savi-form {
  display: flex;
  gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--linea-suave);
}
.savi-form input {
  flex: 1;
  min-width: 0;
  padding: .65rem .9rem;
  border: 1px solid var(--linea);
  border-radius: 999px;
}
.savi-form input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px var(--verde-suave); }
.savi-form button {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--verde);
  display: grid;
  place-content: center;
  transition: background-color .25s var(--ease-out);
}
.savi-form button:hover { background: var(--verde-hondo); }
.savi-form button svg { width: 18px; height: 18px; fill: #fff; }

.savi-pie {
  padding: 0 1rem .85rem;
  font-size: .72rem;
  color: var(--tinta-suave);
  line-height: 1.45;
}

/* =============================================================
   7. Efectos
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* Escalonado por hijos dentro de una grilla */
.reveal-hijos > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-hijos.is-visible > * { opacity: 1; transform: none; }
.reveal-hijos.is-visible > *:nth-child(2) { transition-delay: .07s; }
.reveal-hijos.is-visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-hijos.is-visible > *:nth-child(4) { transition-delay: .21s; }
.reveal-hijos.is-visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-hijos.is-visible > *:nth-child(6) { transition-delay: .35s; }

/* =============================================================
   8. Responsive (mobile first)
   ============================================================= */
@media (min-width: 540px) {
  .horarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ubicacion-contacto { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
}

@media (min-width: 720px) {
  .trat-destacados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trat-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.2rem; }
  .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro { grid-template-columns: .44fr .56fr; align-items: start; }
  .hero-datos { gap: 1.6rem; }
}

@media (min-width: 960px) {
  :root { --nav-h: 80px; }
  .nav-links { display: flex; gap: .85rem; }
  .nav-links a { font-size: .82rem; }
  .nav-cta { display: inline-flex; padding: .58rem 1rem; font-size: .83rem; }
  .nav-in { gap: .9rem; }
  .nav-burger { display: none; }
  .nav-movil { display: none !important; }

  .hero-in { grid-template-columns: 1.06fr .94fr; align-items: center; }
  .nosotras-grid { grid-template-columns: 1.04fr .96fr; align-items: center; }
  .primera-grid { grid-template-columns: .92fr 1.08fr; align-items: start; }
  .primera-foto { position: sticky; top: calc(var(--nav-h) + 24px); }
  .preguntas-grid { grid-template-columns: .82fr 1.18fr; align-items: start; }
  .preguntas-cabecera { position: sticky; top: calc(var(--nav-h) + 24px); }
  .ubicacion-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .reservar-grid { grid-template-columns: 1.05fr .95fr; }
  .app-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
  .trat-destacados { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trat-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pie-grid { grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 2.6rem; }
  .mapa-marco iframe { height: 380px; }
}

@media (min-width: 1280px) {
  .nav-links { gap: 1.35rem; }
  .nav-links a { font-size: .88rem; }
  .nav-cta { padding: .62rem 1.2rem; font-size: .88rem; }
  .nav-in { gap: 1.2rem; }

  /* Una profesional por fila, con la foto entera al costado */
  .pro { grid-template-columns: .42fr .58fr; }
  .pro:nth-child(even) .pro-foto { order: 2; }
}

/* El botón flotante no debe tapar el formulario en pantallas chicas */
@media (max-width: 539px) {
  .flotante-texto { display: none; }
  .flotante { padding: .9rem; }
  /* En el celular el texto se achica pero no se saca: hay que ver que
     Savi es un asistente virtual antes de abrirlo. */
  .savi-abrir { padding: .5rem .8rem .5rem .5rem; gap: .4rem; font-size: .8rem; }
  .savi-avatar { width: 30px; height: 30px; }
  .savi-avatar img { width: 19px; }
  .savi-abrir-texto em { font-size: .6rem; letter-spacing: .04em; }
  .opciones-pro { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .opciones-pro .opcion-cuerpo { padding: .6rem .35rem .75rem; }
  .opciones-pro img, .opcion-icono { max-width: 74px; width: 74px; height: 74px; }
  .opcion-icono img { width: 34px !important; height: auto !important; }
  .turnero-progreso li { font-size: 0; gap: 0; }
  .turnero-progreso li span { font-size: .76rem; }
  .turnero-nav { flex-direction: column-reverse; }
  .turnero-nav .btn { width: 100%; }
}

/* =============================================================
   9. Movimiento reducido — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .savi-escribiendo i { animation: none; }
  .reveal, .reveal-hijos > * { transition-duration: .01ms; }
}
