/* Esa reforma pendiente — hoja de estilo unica.
   Sin frameworks ni fuentes externas: carga rapido y no depende de nadie.
   Se copia tal cual a sitio/assets/ al construir.

   PALETA: la del brief — negro, blanco y azul turquesa. La imagen orientativa
   que paso Carlos venia en terracota; si se prefiere aquella, basta cambiar
   --acento y --acento-oscuro por #c25a26 y #a04616. Nada mas depende del color. */

:root {
  --negro: #0c0f11;
  --negro-suave: #171b1e;
  --tinta: #12171a;
  --tinta-media: #4a565c;
  --tinta-suave: #6d7a80;
  --blanco: #ffffff;
  --hueso: #f4f7f7;
  --linea: #e3eaea;
  --acento: #0fb5ae;
  --acento-oscuro: #0a8b86;
  --acento-tenue: #e6f7f6;
  --sombra: 0 1px 2px rgba(12, 15, 17, .04), 0 10px 30px rgba(12, 15, 17, .07);
  --sombra-alta: 0 24px 60px rgba(12, 15, 17, .14);
  --radio: 14px;
  --ancho: 1180px;
  --fuente: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--acento-oscuro); }
img { max-width: 100%; display: block; }

.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.acento { color: var(--acento); }
.centrado { text-align: center; }

.saltar { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--negro); color: #fff; padding: .7rem 1.1rem; }
.saltar:focus { left: 0; }

/* ---------------------------------------------------------- cabecera */

.cabecera {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera-fila { display: flex; align-items: center; gap: 1rem; min-height: 72px; flex-wrap: wrap; }

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--tinta); }
.marca-svg { width: 32px; height: 32px; flex: none; }
.marca-casa { stroke: currentColor; stroke-width: 4.2; }
.marca-visto { stroke: var(--acento); stroke-width: 5.4; }
.logo-texto { display: grid; line-height: 1.04; }
.logo-texto b, .logo-texto i { font-size: 1rem; font-weight: 800; letter-spacing: -.035em; font-style: normal; }
.logo-texto i { color: var(--acento); }

.menu { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.menu a { color: var(--tinta-media); text-decoration: none; font-size: .95rem; padding: .3rem 0; }
.menu a:hover { color: var(--tinta); }
.menu a { position: relative; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--acento); transition: right .25s ease;
}
.menu a:hover::after, .menu a.activo::after { right: 0; }
.menu a.activo { color: var(--tinta); font-weight: 600; }

.cabecera-acciones { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }
.icono-wa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #25d366; flex: none; }
.icono-wa svg { width: 22px; height: 22px; fill: #fff; }

.menu-check, .menu-boton { display: none; }

@media (max-width: 960px) {
  .menu-boton {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto;
    padding: .6rem; border: 1px solid var(--linea); border-radius: 10px; background: #fff;
  }
  .menu-boton span { width: 20px; height: 2px; background: var(--tinta); display: block; }
  .menu { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: .9rem; margin: 0 0 1rem; }
  .menu-check:checked ~ .menu { display: flex; }
  .cabecera-acciones { margin-left: 0; }
}

/* ------------------------------------------------------------ botones */

.boton {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .95rem 1.6rem; border-radius: 999px; cursor: pointer;
  background: var(--acento); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; border: 1px solid var(--acento);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.boton:hover { background: var(--acento-oscuro); border-color: var(--acento-oscuro); }
.boton:active { transform: translateY(1px); }
.boton[disabled] { opacity: .6; cursor: progress; }
.boton-pequeno { padding: .6rem 1.1rem; font-size: .92rem; }
.boton-negro { background: var(--negro); border-color: var(--negro); }
.boton-negro:hover { background: #000; border-color: #000; }
.boton-linea { background: transparent; color: var(--tinta); border-color: var(--linea); }
.boton-linea:hover { background: var(--hueso); color: var(--tinta); border-color: var(--tinta-suave); }
.boton-claro { background: #fff; color: var(--negro); border-color: #fff; }
.boton-claro:hover { background: var(--hueso); color: var(--negro); border-color: var(--hueso); }

/* -------------------------------------------------------------- hero */

.hero { position: relative; background: var(--hueso); overflow: hidden; }
.hero-rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; min-height: 560px; }
.hero-texto { padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4rem) 0; align-self: center; }
.hero-antetitulo { text-transform: uppercase; letter-spacing: .28em; font-size: .74rem; font-weight: 700; color: var(--tinta-suave); margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: .35em; }
.hero h1 span { display: block; }
.hero-claim { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .8rem; }
.hero-entrada { font-size: 1.06rem; color: var(--tinta-media); max-width: 44ch; }
.hero-acciones { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 2rem; }

.sellos { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.sello { max-width: 190px; }
.sello svg { width: 30px; height: 30px; stroke: var(--acento); fill: none; stroke-width: 1.6; margin-bottom: .5rem; }
.sello b { display: block; font-size: .92rem; }
.sello span { font-size: .84rem; color: var(--tinta-suave); line-height: 1.45; }

.hero-foto { position: relative; background: #d9e2e2 center/cover no-repeat; min-height: 340px; }
.hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--hueso) 0%, rgba(244,247,247,.35) 22%, rgba(244,247,247,0) 48%); }
/* La frase blanca cae sobre una pared clara: sin esta sombra por arriba no se
   lee. Es suficiente para el texto y no se nota como "foto oscurecida". */
.hero-foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,15,17,.42) 0%, rgba(12,15,17,0) 42%); }

/* Sin fotos todavia (ver LEEME.md): en lugar de un hueco gris, el panel se
   dibuja como un plano tecnico. Cuando imagenes.mjs baje una foto, el estilo
   en linea la pone encima y esta clase desaparece. */
.hero-foto-vacia {
  background:
    linear-gradient(140deg, rgba(15,181,174,.20), rgba(12,15,17,0) 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 44px),
    radial-gradient(120% 120% at 70% 20%, #1b2226 0%, #0c0f11 70%);
}
.hero-foto-vacia::after { background: linear-gradient(100deg, var(--hueso) 0%, rgba(244,247,247,.25) 16%, rgba(244,247,247,0) 38%); }
.hero-firma {
  position: absolute; right: clamp(1rem, 3vw, 2.5rem); top: clamp(1.5rem, 4vw, 3rem); z-index: 2;
  color: #fff; font-size: clamp(.95rem, 1.5vw, 1.15rem); font-style: italic; line-height: 1.5;
  text-align: right; max-width: 12ch; text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.hero-etiqueta {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  background: rgba(12, 15, 17, .72); color: #fff; padding: .6rem 1.4rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-rejilla { grid-template-columns: 1fr; }
  .hero-texto { padding: 2.5rem 0 2rem; order: 2; }
  .hero-foto { order: 1; min-height: 260px; margin-inline: calc(50% - 50vw); }
  .hero-foto::after { background: linear-gradient(180deg, rgba(244,247,247,0) 60%, var(--hueso) 100%); }
  /* Un panel vacio en movil solo roba pantalla antes del titular: se oculta.
     En cuanto haya foto de verdad, vuelve a aparecer. */
  .hero-foto-vacia { display: none; }
}

/* --------------------------------------------------------- secciones */

.seccion { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.seccion-hueso { background: var(--hueso); }
.seccion-negra { background: var(--negro); color: #d7dede; }
.seccion-negra h2, .seccion-negra h3 { color: #fff; }
.seccion-titulo { max-width: 58ch; margin-bottom: 2.5rem; }
.seccion-titulo.centrado { margin-inline: auto; }
.seccion-titulo p { color: var(--tinta-media); font-size: 1.06rem; }
.seccion-negra .seccion-titulo p { color: #a8b4b6; }

.rejilla { display: grid; gap: 1.4rem; }
.rejilla-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.rejilla-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.7rem; box-shadow: var(--sombra); }
.tarjeta h3 { margin-bottom: .4rem; }
.tarjeta p { color: var(--tinta-media); margin-bottom: 0; font-size: .97rem; }
.tarjeta-icono svg { width: 30px; height: 30px; stroke: var(--acento); fill: none; stroke-width: 1.6; margin-bottom: .9rem; }

/* ------------------------------------------------------------ precios */

.planes { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.plan {
  display: grid; grid-template-columns: 40% 1fr; overflow: hidden;
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); box-shadow: var(--sombra);
}
.plan-destacado { border-color: var(--acento); box-shadow: var(--sombra-alta); }
.plan-foto { background: #dde6e6 center/cover no-repeat; min-height: 320px; }
.plan-cuerpo { padding: 1.6rem; display: flex; flex-direction: column; height: 100%; }
.plan-icono svg { width: 34px; height: 34px; stroke: var(--acento); fill: none; stroke-width: 1.5; margin-bottom: .7rem; }
.plan h3 { font-size: 1.28rem; line-height: 1.2; }
.plan-resumen { color: var(--tinta-suave); font-size: .92rem; }
.plan-desde { color: var(--tinta-suave); font-size: .95rem; margin: .6rem 0 0; }
.plan-precio { font-size: clamp(2.6rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--acento); line-height: 1; margin: 0 0 1rem; }
.plan-lista { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.plan-lista li { position: relative; padding-left: 1.6rem; font-size: .94rem; margin-bottom: .45rem; color: var(--tinta-media); }
.plan-lista li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 6px; border-left: 2px solid var(--acento); border-bottom: 2px solid var(--acento); transform: rotate(-45deg); }
.plan .boton { margin-top: auto; }
.plan-etiqueta { display: inline-block; align-self: flex-start; background: var(--acento-tenue); color: var(--acento-oscuro); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .7rem; }
.nota-planes { max-width: 62ch; margin: 2rem auto 0; text-align: center; color: var(--tinta-suave); font-size: .95rem; }

/* Mientras no haya fotos, la tarjeta es solo texto y ocupa todo el ancho. */
.plan-sin-foto { grid-template-columns: 1fr; }
.plan-sin-foto .plan-cuerpo { padding: 1.9rem; }

@media (max-width: 560px) {
  .plan { grid-template-columns: 1fr; }
  .plan-foto { min-height: 190px; }
}

/* ------------------------------------------------------ como funciona */

.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; margin-top: 2.5rem; }
.paso { text-align: center; padding: 0 1.2rem; border-left: 1px solid var(--linea); }
.paso:first-child { border-left: 0; }
.paso-icono { width: 62px; height: 62px; margin: 0 auto .9rem; border-radius: 50%; background: var(--acento-tenue); display: grid; place-items: center; }
.paso-icono svg { width: 28px; height: 28px; stroke: var(--acento-oscuro); fill: none; stroke-width: 1.6; }
.paso h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.paso p { font-size: .9rem; color: var(--tinta-suave); margin: 0; }
@media (max-width: 700px) {
  .paso { border-left: 0; border-top: 1px solid var(--linea); padding: 1.4rem 0; }
  .paso:first-child { border-top: 0; padding-top: 0; }
}

/* ------------------------------------------------------------ nosotros */

.nosotros { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nosotros p { color: var(--tinta-media); }
.cifras { display: grid; gap: 1rem; }
.cifra { background: #fff; border: 1px solid var(--linea); border-left: 3px solid var(--acento); border-radius: 0 var(--radio) var(--radio) 0; padding: 1.1rem 1.3rem; }
.cifra b { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.cifra span { font-size: .92rem; color: var(--tinta-suave); }

/* ----------------------------------------------------------- valores */

.valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; align-items: start; }
.valor { display: flex; gap: .9rem; align-items: flex-start; }
.valor svg { width: 28px; height: 28px; stroke: var(--acento); fill: none; stroke-width: 1.5; flex: none; margin-top: .15rem; }
.valor b { display: block; color: #fff; font-size: 1rem; }
.valor span { font-size: .9rem; color: #a8b4b6; }

/* --------------------------------------------------------------- faq */

.faq { max-width: 780px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.1rem 1.3rem; margin-bottom: .8rem; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1em; color: var(--acento); font-size: 1.3rem; font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .9rem 0 0; color: var(--tinta-media); font-size: .97rem; }

/* --------------------------------------------------------- formulario */

.reserva { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.reserva-lado .caja { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.4rem; margin-bottom: 1rem; }
.reserva-lado .caja b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tinta-suave); margin-bottom: .3rem; }
.reserva-lado .caja a { font-size: 1.2rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.reserva-lado .caja p { margin: .3rem 0 0; font-size: .9rem; color: var(--tinta-suave); }

.formulario { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--sombra); }
.formulario-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .formulario-dos { grid-template-columns: 1fr; } }
.campo { display: grid; gap: .35rem; }
.campo label { font-weight: 600; font-size: .93rem; }
.campo .ayuda { font-size: .84rem; color: var(--tinta-suave); }
.campo input, .campo select, .campo textarea {
  font: inherit; font-size: 1rem; padding: .75rem .9rem; width: 100%;
  border: 1px solid var(--linea); border-radius: 10px; background: #fff; color: var(--tinta);
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--acento); outline-offset: 1px; border-color: var(--acento); }
.campo.error input, .campo.error select, .campo.error textarea { border-color: #b3261e; }
.campo .fallo { color: #b3261e; font-size: .85rem; margin: 0; }
.consentimiento { display: flex; gap: .6rem; align-items: flex-start; font-size: .89rem; color: var(--tinta-suave); font-weight: 400; }
.consentimiento input { width: auto; margin-top: .3rem; }
.aviso { padding: .9rem 1.1rem; border-radius: 10px; border: 1px solid var(--linea); background: var(--hueso); font-size: .95rem; }
.aviso-error { border-color: #e3b7b3; background: #fdf1f0; color: #8c1d18; }
.oculto { display: none; }

/* -------------------------------------------------------- whatsapp fijo */

.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }

/* -------------------------------------------------------------- otros */

.texto-legal { max-width: 68ch; }
.texto-legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.creditos-lista { list-style: none; padding: 0; font-size: .92rem; color: var(--tinta-suave); }
.creditos-lista li { margin-bottom: .5rem; }

/* ----------------------------------------------------------------- pie */

.pie { background: var(--negro-suave); color: #9aa6a8; padding: 3.5rem 0 1.5rem; }
.pie a { color: #e7eded; text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie-rejilla { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pie p { margin: 0 0 .4rem; font-size: .93rem; }
.pie-marca { font-weight: 800; color: #fff; font-size: 1.1rem; letter-spacing: -.02em; }
.pie-titulo { font-weight: 700; color: #fff; margin-bottom: .7rem; font-size: .95rem; }
.pie-fino { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #2a3033; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.pie-fino p { color: #7d8a8c; font-size: .84rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   MOVIMIENTO
   Todo lo de aqui abajo es "vida": aparecer al hacer scroll, estados al pasar
   el raton y la barra de acciones del movil. Dos reglas que no se saltan:

   1. Si el JS no carga, no se esconde nada. Por eso lo que aparece con scroll
      solo se oculta bajo .con-js, que pone un script en el <head>.
   2. Si el visitante pide menos animacion, se apaga todo al final del archivo.
   ========================================================================== */

.con-js [data-revelar] { opacity: 0; transform: translateY(20px); }
[data-revelar].visible {
  opacity: 1; transform: none;
  transition:
    opacity .55s cubic-bezier(.22,.7,.3,1) calc(var(--i, 0) * 80ms),
    transform .55s cubic-bezier(.22,.7,.3,1) calc(var(--i, 0) * 80ms);
}

/* ------------------------------------------------------------- cabecera */

.cabecera { transition: box-shadow .25s ease, background .25s ease; }
.cabecera-fila { transition: min-height .25s ease; }
.cabecera.encogida { box-shadow: 0 6px 26px rgba(12, 15, 17, .09); background: rgba(255, 255, 255, .96); }
.cabecera.encogida .cabecera-fila { min-height: 62px; }

/* El visto del logo se dibuja al entrar, y se repite al pasar el raton. */
.marca-visto { stroke-dasharray: 38; stroke-dashoffset: 38; animation: dibujar-visto .7s .3s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes dibujar-visto { to { stroke-dashoffset: 0; } }
.logo:hover .marca-visto { animation: dibujar-visto .55s cubic-bezier(.3,.7,.3,1) forwards; }
.logo .marca-svg { transition: transform .25s ease; }
.logo:hover .marca-svg { transform: translateY(-2px); }

/* --------------------------------------------------------------- hero */

/* El subrayado crece bajo "pendiente" al cargar: es lo primero que se mira. */
.hero h1 .acento { position: relative; display: inline-block; }
.hero h1 .acento::after {
  /* Ojo con la altura: si sube, cruza la panza de la "p" y parece tachado. */
  content: ""; position: absolute; left: 0; right: 0; bottom: -.05em; height: .07em;
  background: linear-gradient(90deg, var(--acento), rgba(15, 181, 174, .15));
  transform: scaleX(0); transform-origin: left;
  animation: subrayar .9s .45s cubic-bezier(.22,.7,.3,1) forwards;
}
@keyframes subrayar { to { transform: scaleX(1); } }

.hero-foto { transition: background-position .2s linear; }
.sello svg { transition: transform .25s ease; }
.sello:hover svg { transform: translateY(-3px) scale(1.08); }

/* ------------------------------------------------------------- botones */

.boton { position: relative; overflow: hidden; }
.boton::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.boton:hover::after { transform: translateX(130%); }
.boton:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 181, 174, .26); }
.boton-negro:hover { box-shadow: 0 12px 26px rgba(12, 15, 17, .26); }
.boton-linea:hover { box-shadow: 0 10px 22px rgba(12, 15, 17, .10); }
.boton:active { transform: translateY(0); }

/* ------------------------------------------------------------ tarjetas */

.tarjeta { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.tarjeta:hover { transform: translateY(-5px); border-color: var(--acento); box-shadow: var(--sombra-alta); }
.tarjeta-icono svg { transition: transform .28s ease; }
.tarjeta:hover .tarjeta-icono svg { transform: scale(1.12) rotate(-4deg); }

/* --------------------------------------------------------------- planes */

.plan { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); border-color: var(--acento); }
.plan-foto { transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.plan:hover .plan-foto { transform: scale(1.07); }
.plan-precio span[data-contador] { font-variant-numeric: tabular-nums; }

/* El "mas pedido" late despacio: llama sin ser un banner parpadeante. */
.plan-etiqueta { animation: latido 2.8s ease-in-out infinite; }
@keyframes latido {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15, 181, 174, .35); }
  50% { box-shadow: 0 0 0 9px rgba(15, 181, 174, 0); }
}

/* --------------------------------------------------------------- pasos */

.pasos { position: relative; }
@media (min-width: 701px) {
  /* La linea que une los cinco pasos: se lee como un recorrido y no como cinco
     cajas sueltas. Va por detras de los circulos. */
  .pasos::before {
    content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--linea) 0 10px, transparent 10px 18px);
  }
  .paso { position: relative; }
}
.paso-icono { position: relative; transition: transform .28s ease, background .28s ease; }
.paso-icono svg { transition: stroke .28s ease; }
.paso:hover .paso-icono { transform: translateY(-4px); background: var(--acento); }
.paso:hover .paso-icono svg { stroke: #fff; }

/* -------------------------------------------------------------- cifras */

.cifra { transition: transform .25s ease; }
.cifra:hover { transform: translateX(4px); }

/* -------------------------------------------------------------- valores */

.valor svg { transition: transform .3s ease; }
.valor:hover svg { transform: scale(1.12); }

/* ------------------------------------------------------------------ faq */

.faq details { transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--acento); box-shadow: var(--sombra); }
.faq summary:hover { color: var(--acento-oscuro); }
.faq details[open] p { animation: desplegar .3s cubic-bezier(.22,.7,.3,1); }
@keyframes desplegar { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ formulario */

.campo input, .campo select, .campo textarea { transition: border-color .18s ease, box-shadow .18s ease; }
.campo input:hover, .campo select:hover, .campo textarea:hover { border-color: var(--tinta-suave); }
.campo input:focus, .campo select:focus, .campo textarea:focus { box-shadow: 0 0 0 4px var(--acento-tenue); }
.reserva-lado .caja { transition: transform .25s ease, border-color .25s ease; }
.reserva-lado .caja:hover { transform: translateY(-3px); border-color: var(--acento); }

/* -------------------------------------------------- barra de acciones movil */

.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--linea); border-top: 1px solid var(--linea);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.22,.7,.3,1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.barra-movil.visible { transform: none; }
.barra-movil a {
  display: grid; place-items: center; gap: .1rem; padding: .6rem 0 .5rem;
  background: #fff; color: var(--tinta); text-decoration: none;
  font-size: .72rem; font-weight: 700; letter-spacing: -.01em;
}
.barra-movil svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.barra-movil .ico-wa svg { fill: currentColor; stroke: none; }
.barra-movil .barra-principal { background: var(--acento); color: #fff; }

@media (max-width: 760px) {
  .barra-movil { display: grid; }
  .wa-flotante { display: none; }      /* ya esta en la barra: no se repite */
  body { padding-bottom: 62px; }
}

.wa-flotante { transition: transform .25s ease, box-shadow .25s ease; }
.wa-flotante:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }

/* ------------------------------------------------------------- teclado */

:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------ si el visitante pide menos animacion, nada */

@media (prefers-reduced-motion: reduce) {
  .con-js [data-revelar] { opacity: 1; transform: none; }
  .marca-visto { stroke-dashoffset: 0; animation: none; }
  .hero h1 .acento::after { transform: scaleX(1); animation: none; }
  .plan-etiqueta { animation: none; }
  .faq details[open] p { animation: none; }
  .barra-movil { transition: none; }
  .boton:hover, .tarjeta:hover, .plan:hover, .cifra:hover, .wa-flotante:hover { transform: none; }
}
