/* =========================================================
   Doggy · Peluquería de mascotas — estilos del sitio
   Marca: Azul Doggy #1D6FE6 · Lima burbuja #CBEE5C · Crema #FFFDFA · Tinta #232323
   Tipos: Gabarito (texto) + Shrikhand (destacados, una vez por sección como máximo)
   ========================================================= */

@font-face { font-family: "Gabarito"; src: url("/assets/fonts/gabarito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("/assets/fonts/gabarito-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("/assets/fonts/gabarito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("/assets/fonts/gabarito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Destacado: Shrikhand (licencia OFL, gratuita) */
@font-face { font-family: "Shrikhand"; src: url("/assets/fonts/shrikhand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --azul: #1D6FE6;
  --azul-hondo: #0F4FB0;
  --lima: #CBEE5C;
  --lima-suave: #EEF9CF;
  --crema: #FFFDFA;
  --tinta: #232323;
  --tinta-suave: #4A4A4A;          /* 8.6:1 sobre crema */
  --linea: rgba(35, 35, 35, .1);
  --error: #B3261E;
  --foco: #0B57D0;

  --destacada: "Shrikhand", "Gabarito", sans-serif;
  --radio-s: 16px;
  --radio-m: 28px;
  --radio-l: 36px;
  --ancho: 1200px;

  --suave: cubic-bezier(.22, 1, .36, 1);     /* salida suave */
  --rebote: cubic-bezier(.34, 1.56, .64, 1);  /* rebote leve */

  font-family: "Gabarito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--crema); font-size: 1.0625rem; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 .4em; font-weight: 600; letter-spacing: -.02em; line-height: 1.04; }
p { margin: 0 0 1em; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: #fff; padding: 8px 12px; z-index: 30; border-radius: 8px; }
.saltar:focus { left: 8px; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.contenedor--angosto { max-width: 680px; }

/* Tipografía */
.titular-xl { font-size: clamp(3.1rem, 8.2vw, 6.1rem); font-weight: 500; line-height: .98; letter-spacing: -.025em; margin: 0 0 24px; }
.titular-l { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.ekamai { font-family: var(--destacada); font-style: normal; font-weight: 400; letter-spacing: -.01em; color: var(--azul); }
.bajada { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--tinta-suave); max-width: 34em; }
.nota { color: var(--tinta-suave); font-size: 1rem; }
.enlace { font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.enlace:hover { text-decoration-thickness: 3px; }

/* ---------- Vidrio líquido ---------- */
.vidrio {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.28));
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),      /* brillo superior */
    inset 0 -1px 1px rgba(255,255,255,.25),  /* rebote inferior */
    0 12px 32px -14px rgba(16, 44, 110, .35);
}
.vidrio::before { /* reflejo curvo, como el borde de una burbuja */
  content: ""; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 20% 0%, rgba(255,255,255,.55), transparent 55%);
  opacity: .7;
}
.vidrio--azul {
  background: linear-gradient(150deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
  border-color: rgba(255,255,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 1px rgba(255,255,255,.12), 0 40px 70px -30px rgba(5, 25, 80, .55);
}
.vidrio--azul::before { opacity: .35; }

/* Burbujas de jabón */
.burbuja {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.9) 0 8%, rgba(255,255,255,.18) 22%, rgba(255,255,255,.04) 58%, rgba(203,238,92,.28) 100%);
  border: 1.5px solid rgba(255,255,255,.75);
  -webkit-backdrop-filter: blur(2px) brightness(1.08);
  backdrop-filter: blur(2px) brightness(1.08);
  box-shadow: inset -4px -6px 14px rgba(29,111,230,.12), 0 6px 16px -8px rgba(16,44,110,.25);
}

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--azul); color: #fff; font: inherit; font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.35), 0 12px 26px -12px rgba(29,111,230,.7);
  transition: transform .25s var(--rebote), box-shadow .25s var(--suave), background-color .2s;
}
.boton:hover { background: var(--azul-hondo); transform: translateY(-2px); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.35), 0 18px 30px -14px rgba(29,111,230,.8); }
.boton:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.boton--chico { min-height: 42px; padding: 0 18px; font-size: .98rem; }
.boton--grande { min-height: 60px; padding: 0 30px; font-size: 1.12rem; }
.boton--secundario { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.boton--secundario:hover { background: rgba(29,111,230,.08); box-shadow: inset 0 0 0 2px var(--azul); }
.boton[disabled] { opacity: .7; cursor: progress; }

/* ---------- Cabecera flotante de vidrio ---------- */
.cabecera { position: fixed; top: 14px; left: 0; right: 0; z-index: 20; padding: 0 16px; pointer-events: none; }
.cabecera__pastilla {
  pointer-events: auto; max-width: 1200px; margin: 0 auto; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px;
  transition: background-color .4s var(--suave), box-shadow .4s var(--suave), padding .4s var(--suave);
}
.cabecera.con-scroll .cabecera__pastilla { background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.55)); padding-top: 6px; padding-bottom: 6px; }
.marca img { height: 40px; width: auto; }
.menu { display: none; gap: 30px; }
.menu a { color: var(--tinta); text-decoration: none; font-weight: 500; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--suave); }
.menu a:hover::after { transform: scaleX(1); }
@media (min-width: 960px) { .menu { display: flex; } }

/* ---------- Portada ---------- */
.portada { position: relative; overflow: hidden; padding: 120px 0 72px; min-height: min(100svh, 920px); display: flex; align-items: center; }
.portada__mancha { position: absolute; width: min(900px, 120vw); aspect-ratio: 1; border-radius: 50%; background: var(--lima); right: -18%; top: -14%; z-index: 0; }
.portada__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; width: 100%; }
@media (min-width: 900px) { .portada__grid { grid-template-columns: 1.15fr 1fr; } }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.titular-xl .linea { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.titular-xl .linea > span { display: inline-block; }
.portada__foto { position: relative; justify-self: center; width: min(520px, 84vw); aspect-ratio: 1; }
.burbuja-foto { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 12px var(--lima), 0 40px 60px -30px rgba(16,44,110,.45); }
.burbuja-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
@media (max-width: 899px) { .portada__mancha { right: -45%; top: auto; bottom: -22%; width: 130vw; } .portada { padding-top: 104px; } }
.portada .b1 { width: 22%; aspect-ratio: 1; left: -9%; top: 2%; }
.portada .b2 { width: 11%; aspect-ratio: 1; right: -4%; top: 10%; }
.portada .b3 { width: 7%; aspect-ratio: 1; right: 6%; top: -2%; }
.portada .b4 { width: 15%; aspect-ratio: 1; right: -8%; bottom: 14%; }
.portada .b5 { width: 6%; aspect-ratio: 1; left: 3%; bottom: 8%; }
.aviso { position: absolute; left: -12%; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 22px; font-size: .9rem; line-height: 1.35; max-width: 300px; }
.aviso strong { font-size: 1rem; }
.aviso__icono { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lima); color: var(--tinta); }
@media (max-width: 600px) { .aviso { left: 0; right: 0; margin: auto; bottom: -6%; max-width: 92%; } }
.sello { position: absolute; display: grid; place-items: center; text-align: center; width: 128px; aspect-ratio: 1; border-radius: 50%;
  background: var(--tinta); color: var(--lima); font-family: var(--destacada); font-size: 1.3rem; line-height: 1.02; transform: rotate(-12deg); }
.portada .sello { right: -4%; top: 52%; }
@media (max-width: 600px) { .portada .sello { width: 96px; font-size: 1rem; right: -2%; top: 58%; } }
.sello--azul { position: static; width: 150px; font-size: 1.6rem; background: var(--azul); color: var(--lima); flex: none; }

/* ---------- Secciones ---------- */
.seccion { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.seccion__cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: 40px; }
.seccion__cabeza .nota { margin: 0 0 .5em; }
.seccion__cabeza--fila { align-items: center; }
.seccion--lima { background: var(--lima); }
.seccion--lima .bajada { color: var(--tinta); }
.seccion--lima-suave { background: var(--lima-suave); }
.seccion--tinta { background: var(--tinta); color: var(--crema); }
.seccion--azul { background: var(--azul); color: #fff; overflow: hidden; }

/* Servicios */
.tarjetas { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tarjetas > li { display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 28px; border-radius: var(--radio-m); background: rgba(255,255,255,.75); border: 1px solid var(--linea);
  transition: transform .35s var(--suave), box-shadow .35s var(--suave), border-color .35s; }
.tarjetas > li:hover { transform: translateY(-4px); border-color: rgba(29,111,230,.35); box-shadow: 0 22px 40px -26px rgba(16,44,110,.45); }
.tarjetas > li > strong { font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.tarjetas p { margin: 0; color: var(--tinta-suave); }
.tarjetas .precio { margin-top: auto; align-self: flex-start; background: var(--lima); color: var(--tinta); font-weight: 600; font-size: .95rem; padding: 6px 14px; border-radius: 999px; transition: transform .35s var(--rebote); }
.tarjetas > li:hover .precio { transform: rotate(-3deg) scale(1.05); }

/* Galería en arcos */
.galeria { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.galeria li { border-radius: 999px 999px var(--radio-m) var(--radio-m); overflow: hidden; aspect-ratio: 3 / 4; background: var(--lima-suave); box-shadow: 0 30px 50px -30px rgba(35,35,35,.5); }
.galeria li:nth-child(4n+1) { rotate: -2deg; } .galeria li:nth-child(4n+2) { rotate: 1.5deg; translate: 0 24px; } .galeria li:nth-child(4n+3) { rotate: -1deg; } .galeria li:nth-child(4n) { rotate: 2deg; translate: 0 12px; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.galeria li:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .galeria { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 40px; margin: 0 -20px; padding-left: 20px; } .galeria li { scroll-snap-align: center; } }

/* Reseñas */
.galeria__mas { margin: 48px 0 0; }
.enlace--tinta { color: var(--tinta); }
.calificacion { display: inline-block; margin-top: 28px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--linea); color: var(--tinta); text-decoration: none; font-size: .98rem; transition: transform .3s var(--rebote), background-color .2s; }
.calificacion:hover { transform: translateY(-2px); background: #fff; }
.calificacion__estrellas, .estrellas { color: #E9A800; letter-spacing: 2px; }
.estrellas { display: block; margin-bottom: 10px; font-size: 1.05rem; }
.resenas__destacada .estrellas { color: var(--lima); }
.nota-google { margin: 0; background: var(--tinta); color: var(--lima); font-weight: 600; padding: 10px 18px; border-radius: 999px; }
.resenas { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
@media (min-width: 860px) { .resenas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 859px) { .resenas { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px 28px; padding: 4px 20px 16px; } .resenas li { scroll-snap-align: center; } }
.resenas blockquote { margin: 0; height: 100%; padding: 30px; border-radius: var(--radio-m); background: rgba(255,255,255,.75); border: 1px solid var(--linea); }
.resenas p { font-size: 1.1rem; line-height: 1.55; }
.resenas blockquote { display: flex; flex-direction: column; }
.resenas footer { margin-top: auto; }
.resenas footer { color: var(--tinta-suave); font-weight: 600; font-size: .95rem; }
.resenas__destacada blockquote { background: var(--azul); color: #fff; border-color: transparent; }
.resenas__destacada footer { color: #fff; }

/* Cinta de fotos */
.cinta { overflow: hidden; padding: 8px 0 72px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinta__pista { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; width: max-content; }
.cinta__pista li { flex: none; width: 200px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--lima); }
.cinta__pista li:nth-child(even) { border-radius: 40px; box-shadow: 0 0 0 6px var(--azul); }
.cinta__pista img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .cinta__pista li { width: 140px; } }

/* Pasos de la visita */
.linea-pasos { list-style: none; counter-reset: paso; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .linea-pasos { grid-template-columns: repeat(5, 1fr); } }
.linea-pasos li { counter-increment: paso; padding: 24px; border-radius: var(--radio-m); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.linea-pasos li::before { content: counter(paso); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 16px; background: rgba(255,255,255,.1); color: var(--lima); font-weight: 600; font-size: 1.2rem; }
.linea-pasos li:last-child::before { background: var(--lima); color: var(--tinta); }
.linea-pasos strong { display: block; font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.linea-pasos span { color: rgba(255,253,250,.8); }

/* ---------- Formulario (sobre azul) ---------- */
.agenda { position: relative; z-index: 1; display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .agenda { grid-template-columns: 1fr 560px; gap: 72px; } .agenda__texto { position: sticky; top: 120px; } }
.seccion--azul .titular-l { color: #fff; }
.seccion--azul .ekamai { color: var(--lima); }
.seccion--azul .bajada { color: #fff; }
.puntos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-weight: 500; }
.puntos li { display: flex; align-items: center; gap: 12px; }
.puntos li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lima); flex: none; }
.seccion--azul .b6 { width: 220px; aspect-ratio: 1; left: 34%; top: -70px; }
.seccion--azul .b7 { width: 80px; aspect-ratio: 1; left: 30%; bottom: 60px; }
.seccion--azul .b8 { width: 140px; aspect-ratio: 1; right: -40px; bottom: 30%; }
.agenda__tarjeta { border-radius: var(--radio-l); padding: clamp(20px, 3vw, 32px); color: #fff; }

.progreso { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.78); }
.progreso li { position: relative; padding-top: 14px; }
.progreso li::before, .progreso li::after { content: ""; position: absolute; top: 0; left: 0; height: 5px; border-radius: 3px; }
.progreso li::before { right: 0; background: rgba(255,255,255,.28); }
.progreso li::after { width: 0; background: var(--lima); transition: width .5s var(--suave); }
.progreso li[aria-current="step"], .progreso li.hecho { color: #fff; }
.progreso li[aria-current="step"]::after, .progreso li.hecho::after { width: 100%; }
.progreso li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; font-size: .72rem; margin-right: 4px; }

.paso { animation: entra-paso .45s var(--suave) both; }
.paso.atras { animation-name: entra-paso-atras; }
@keyframes entra-paso { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes entra-paso-atras { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.paso__titulo { font-size: 1.6rem; margin-bottom: 18px; color: #fff; }
.paso__titulo:focus { outline: none; }

#formulario fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
#formulario legend { font-weight: 600; font-size: 1.1rem; padding: 0; margin-bottom: 12px; color: #fff; }
.mascota { position: relative; padding: 20px !important; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22) !important; animation: aparece .4s var(--suave) both; }
@keyframes aparece { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.mascota > legend { float: left; width: 100%; }
.mascota > legend + * { clear: both; }
.campo { margin-bottom: 14px; }
.campo label, .grupo-titulo { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: #fff; }
.opcional { font-weight: 400; color: rgba(255,255,255,.85); }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--tinta);
  background: rgba(255,255,255,.95); border: 2px solid transparent; border-radius: var(--radio-s); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lima); box-shadow: 0 0 0 4px rgba(203,238,92,.35); }
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #FFB4AB; box-shadow: 0 0 0 4px rgba(255,180,171,.35); }
small { display: block; color: var(--tinta-suave); font-size: .88rem; margin-top: 6px; }
.agenda__tarjeta small { color: rgba(255,255,255,.92); }
.telefono { display: grid; grid-template-columns: 116px 1fr; gap: 8px; }
.fila-2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 14px !important; }
.opciones legend { font-size: .95rem !important; font-weight: 600; margin-bottom: 8px !important; float: left; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; min-height: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 500;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.55); color: #fff; transition: background-color .2s, color .2s, transform .3s var(--rebote), border-color .2s; }
.chip:hover span { background: rgba(255,255,255,.22); }
.chip input:checked + span { background: var(--lima); border-color: var(--lima); color: var(--tinta); animation: pop .35s var(--rebote); }
@keyframes pop { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.chip input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
fieldset[aria-invalid="true"] .chip span { border-color: #FFB4AB; }
.opciones--caja { display: block; padding: 18px !important; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22) !important; margin-bottom: 16px !important; }
.opciones--caja legend { font-size: 1.05rem !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 24px; height: 24px; min-height: 0; margin-top: 1px; flex: none; accent-color: var(--lima); }
.check a { color: #fff; font-weight: 600; }
.quitar { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: #fff; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 40px; }
.tamano { font-weight: 600; color: var(--lima); }
.valor { margin: 10px 0 0; color: #fff; font-weight: 500; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--tinta); background: #FFE4E0; font-weight: 600; padding: 12px 16px; border-radius: 14px; margin: 0 0 14px; }
.vista-previa { background: rgba(255,255,255,.95); color: var(--tinta); border-radius: 22px; padding: 18px 20px; margin-bottom: 14px; }
.vista-previa__titulo { margin: 0 0 8px; font-weight: 600; color: var(--azul); }
.vista-previa pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: .95rem/1.55 "Gabarito", sans-serif; }
.navegacion-pasos { display: flex; gap: 12px; align-items: center; }
.navegacion-pasos .boton--grande { flex: 1; background: var(--lima); color: var(--tinta); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.6), 0 14px 28px -14px rgba(5,25,80,.6); }
.navegacion-pasos .boton--grande:hover { background: #D8F57A; }
.agenda__tarjeta .boton--secundario { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.agenda__tarjeta .boton--secundario:hover { background: rgba(255,255,255,.12); }
#agregar-mascota { margin: 4px 0 20px; }
.nota--centro { text-align: center; color: #fff; font-size: .95rem; margin: 14px 0 0; }

/* ---------- Equipo ---------- */
.equipo { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 860px) { .equipo { grid-template-columns: 1fr 1fr; } }
.equipo li { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 24px; align-items: center; padding: 18px 24px 18px 18px; border-radius: var(--radio-l); background: rgba(255,255,255,.75); border: 1px solid var(--linea); }
.equipo picture { display: block; border-radius: 999px 999px 22px 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.equipo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--suave); }
.equipo li:hover img { transform: scale(1.04); }
.equipo h3 { font-size: 2.4rem; margin-bottom: 4px; }
.equipo .equipo__rol { color: var(--azul); font-weight: 600; margin-bottom: 6px; }
.equipo p { color: var(--tinta-suave); margin: 0; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 360px 1fr; gap: 72px; } .faq-grid > div:first-child { position: sticky; top: 120px; align-self: start; } }
.faq-lista { display: grid; gap: 12px; }
.faq { border-radius: 22px; background: rgba(255,255,255,.75); border: 1px solid var(--linea); transition: background-color .3s; }
.faq[open] { background: #fff; }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(35,35,35,.07); font-size: 1.3rem; transition: transform .35s var(--rebote), background-color .3s, color .3s; }
.faq[open] summary::after { content: "–"; background: var(--azul); color: #fff; transform: rotate(180deg); }
.faq div { overflow: hidden; }
.faq div p { margin: 0; padding: 0 24px 22px; color: var(--tinta-suave); }

/* ---------- Ubicación ---------- */
.ubicacion { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .ubicacion { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
address { font-style: normal; font-size: 1.3rem; font-weight: 500; line-height: 1.4; }
.horario { border-collapse: collapse; margin: 24px 0; width: 100%; max-width: 420px; }
.horario th, .horario td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--linea); font-size: 1.05rem; }
.horario td { text-align: right; }
.mapa { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radio-l); overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 10px;
  background: repeating-linear-gradient(-24deg, transparent 0 58px, rgba(255,255,255,.12) 58px 66px), repeating-linear-gradient(18deg, transparent 0 80px, rgba(255,255,255,.1) 80px 88px), var(--azul); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa__pin { width: 60px; height: 60px; border-radius: 50%; background: var(--lima); border: 6px solid #fff; box-shadow: 0 12px 24px -8px rgba(5,25,80,.5); }
.mapa__boton { border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600; color: #fff; cursor: pointer; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.8); }
.mapa__boton:hover { background: rgba(255,255,255,.32); }
.mapa__nota { color: #fff; font-size: .85rem; margin: 0; }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: var(--crema); padding: 72px 0 40px; overflow: hidden; }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pie__logo { width: 190px; height: auto; }
.pie__cols { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.pie__titulo { color: var(--lima); font-weight: 600; margin: 0 0 8px; }
.pie p { margin: 0; color: rgba(255,253,250,.85); }
.pie nav { display: grid; gap: 6px; }
.pie nav a { color: rgba(255,253,250,.85); text-decoration: none; }
.pie nav a:hover { color: var(--lima); }
.pie .pie__firma { font-size: clamp(4rem, 15vw, 12rem); line-height: 1; color: var(--azul); margin: 40px 0 24px !important; white-space: nowrap; }
.pie__legal { font-size: .9rem; color: rgba(255,253,250,.65) !important; }
.pie__firma .letra { display: inline-block; }

@media (max-width: 600px) {
  .tarjetas > li { min-height: 0; padding: 22px; }
  .tarjetas > li > strong { font-size: 1.45rem; }
  .equipo li { grid-template-columns: 120px 1fr; gap: 16px; padding: 14px; }
  .equipo h3 { font-size: 1.8rem; }
  .equipo p { font-size: .98rem; }
  .seccion__cabeza--fila .sello--azul { width: 112px; font-size: 1.5rem; }
}

/* ---------- Botón flotante ---------- */
.flotante { position: fixed; right: 18px; bottom: 18px; z-index: 15; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--azul); color: #fff; box-shadow: inset 0 1.5px 0 rgba(255,255,255,.35), 0 14px 30px -10px rgba(16,44,110,.6);
  transition: opacity .3s, transform .4s var(--rebote); }
.flotante:hover { transform: scale(1.08); }
.flotante.oculto { opacity: 0; transform: scale(.6); pointer-events: none; }

/* ---------- Páginas de texto (legales, 404) ---------- */
.texto-legal { padding: 130px 20px 72px; }
.texto-legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.texto-legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.texto-legal li { margin-bottom: .4em; }
.texto-legal .bajada { margin-bottom: 1.4em; }

/* =========================================================
   ANIMACIONES (todas suaves; se apagan con "reducir movimiento")
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* 1. Entrada de la portada: una sola secuencia */
  .js .titular-xl .linea > span { animation: sube .9s var(--suave) both; }
  .js .titular-xl .linea:nth-child(2) > span { animation-delay: .08s; }
  .js .titular-xl .linea:nth-child(3) > span { animation-delay: .16s; }
  .js .titular-xl .ekamai { display: inline-block; animation: rebota .9s var(--rebote) .5s both; }
  .js .entra { animation: aparece-suave .8s var(--suave) var(--d, .4s) both; }
  /* En la portada el texto entra solo con movimiento (sin partir invisible) para que cargue rápido en Google */
  .js .portada__texto .entra { animation: sube-suave .7s var(--suave) calc(var(--d, .2s) * .5) both; }
  .js .burbuja-foto { animation: infla 1s var(--rebote) .15s both; }
  .js .portada__mancha { animation: infla 1.3s var(--suave) both; }
  .js .aviso { animation: desliza 0.9s var(--suave) .8s both; }
  .js .portada .sello { animation: sello-entra 1s var(--rebote) .95s both, gira 24s linear 2s infinite; }
  .js .cabecera__pastilla { animation: baja .8s var(--suave) .1s both; }

  /* 2. Burbujas que flotan lento */
  .burbuja { animation: flota 9s ease-in-out infinite; }
  .b2 { animation-duration: 11s; animation-delay: -3s; } .b3 { animation-duration: 8s; animation-delay: -5s; }
  .b4 { animation-duration: 13s; animation-delay: -2s; } .b5 { animation-duration: 10s; animation-delay: -6s; }
  .b6 { animation-duration: 14s; } .b7 { animation-duration: 9s; animation-delay: -4s; } .b8 { animation-duration: 12s; animation-delay: -7s; }

  /* 3. Aparición al llegar a cada bloque (escalonada dentro del grupo) */
  .js .revela { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--suave), transform .8s var(--suave); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .revela.visible { opacity: 1; transform: none; }
  .js .galeria .revela { transform: translateY(40px) rotate(0deg); }
  .js .galeria .revela.visible { transform: none; }

  /* Cinta: avanza sola, muy lento; se detiene al pasar el mouse */
  .cinta__pista { animation: cinta 60s linear infinite; }
  .cinta:hover .cinta__pista { animation-play-state: paused; }

  /* 4. El pin del mapa salta una vez al verse */
  .mapa.visible .mapa__pin { animation: salta 1.2s var(--rebote) .3s both; }

  /* 5. Sello del equipo gira despacio */
  .sello--azul { animation: gira 30s linear infinite; }

  /* 6. Firma del pie: las letras suben como burbujas al verse */
  .js .pie__firma .letra { opacity: 0; transform: translateY(.4em); transition: opacity .6s var(--suave), transform .7s var(--rebote); transition-delay: calc(var(--i) * 45ms); }
  .js .pie__firma.visible .letra { opacity: 1; transform: none; }
}
@keyframes sube { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rebota { from { opacity: 0; transform: translateY(30%) scale(.9) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes sube-suave { from { transform: translateY(12px); } to { transform: none; } }
@keyframes aparece-suave { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes infla { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes desliza { from { opacity: 0; transform: translate(-16px, 10px); } to { opacity: 1; transform: none; } }
@keyframes baja { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes sello-entra { from { opacity: 0; transform: rotate(-60deg) scale(.6); } to { opacity: 1; transform: rotate(-12deg); } }
@keyframes gira { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes salta { 0% { transform: translateY(-40px) scale(.8); opacity: 0; } 60% { transform: translateY(4px); opacity: 1; } 100% { transform: none; } }

@keyframes cinta { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   v5 · Personalidad: portuñol, mazo de fotos, banda, ondas
   ========================================================= */

/* Glosario portuñol: palabra en portugués con su traducción al pasar o tocar */
.pt { position: relative; cursor: help; text-decoration: underline dotted; text-decoration-thickness: .08em; text-underline-offset: .14em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.pt:focus { outline: none; }
.pt:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }
.pt::after {
  content: attr(data-es); position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 5;
  translate: -50% 6px; scale: .9; opacity: 0; pointer-events: none; white-space: nowrap;
  font: 600 .95rem/1 "Gabarito", sans-serif; letter-spacing: 0; color: var(--tinta); background: var(--lima);
  padding: 8px 12px; border-radius: 999px; box-shadow: 0 10px 20px -10px rgba(35,35,35,.45);
  transition: opacity .2s, translate .35s var(--rebote), scale .35s var(--rebote);
}
.pt:hover::after, .pt:focus-visible::after, .pt.muestra::after { opacity: 1; translate: -50% 0; scale: 1; }
.seccion--lima .pt::after { background: var(--tinta); color: var(--lima); }
.seccion--azul .pt::after { background: #fff; color: var(--azul); }
.titular-xl .pt::after { font-size: 1rem; }

/* Banda que avanza: "banho & tosa" en grande */
.banda-marco { overflow: hidden; padding: 24px 0; margin: -34px 0 -14px; position: relative; z-index: 2; }
.banda { overflow: hidden; background: var(--azul); color: var(--crema); padding: 18px 0; transform: rotate(-1.6deg) scaleX(1.06); position: relative; z-index: 2; box-shadow: 0 18px 40px -24px rgba(16,44,110,.6); }
.banda__pista { display: flex; align-items: center; gap: 28px; width: max-content; animation: banda 38s linear infinite; }
.banda__item { font-family: var(--destacada); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; white-space: nowrap; }
.banda__item:nth-child(4n+3) { color: var(--lima); }
.banda__burbuja { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--lima); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9) 0 18%, transparent 30%); }
@keyframes banda { to { transform: translateX(-50%); } }

/* Ondas del calçadão de Copacabana (divisor) */
.ondas { height: 46px; background-color: var(--crema);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='46' viewBox='0 0 96 46'%3E%3Cpath d='M0 30 C 16 30 16 10 32 10 S 48 30 64 30 80 10 96 10 V46 H0Z' fill='%23232323'/%3E%3Cpath d='M0 40 C 16 40 16 22 32 22 S 48 40 64 40 80 22 96 22' fill='none' stroke='%23FFFDFA' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: 0 100%; background-size: 96px 46px; }
.ondas--pie { background-color: var(--crema); }
@media (prefers-reduced-motion: no-preference) { .ondas.visible { animation: ondas 18s linear infinite; } }
@keyframes ondas { to { background-position: 96px 100%; } }

/* Resultados: mazo de fotos */
.resultados { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .resultados { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.mazo__ayuda { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mazo__mano { display: inline-block; animation: arrastra 2.4s var(--suave) infinite; }
@keyframes arrastra { 0%, 100% { transform: translateX(0) rotate(0); } 40% { transform: translateX(14px) rotate(12deg); } 60% { transform: translateX(14px) rotate(12deg); } }
.mazo__controles { display: flex; align-items: center; gap: 14px; margin: 18px 0 8px; }
.mazo__boton { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--tinta); color: var(--lima); transition: transform .3s var(--rebote), background-color .2s; }
.mazo__boton:hover { transform: scale(1.08); }
.mazo__boton:active { transform: scale(.94); }
.mazo__contador { font-weight: 600; min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.galeria__mas { margin: 24px 0 0; }

.mazo { list-style: none; margin: 0 auto; padding: 0; position: relative; width: min(400px, 78vw); aspect-ratio: 3 / 4; touch-action: pan-y; }
.carta { position: absolute; inset: 0; border-radius: 30px; background: #fff; padding: 12px 12px 56px; box-shadow: 0 30px 50px -28px rgba(35,35,35,.55), 0 2px 0 rgba(35,35,35,.06);
  transform-origin: 50% 90%; transition: transform .55s var(--suave), opacity .4s; user-select: none; -webkit-user-select: none; will-change: transform; }
.carta picture { display: block; height: 100%; border-radius: 20px; overflow: hidden; }
.carta img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.carta__pie { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-family: var(--destacada); font-size: 1.35rem; color: var(--azul); }
.carta.arriba { cursor: grab; }
.carta.arrastrando { cursor: grabbing; transition: none; }
/* Sin JS: las fotos quedan en grilla */
html:not(.js) .mazo { width: auto; aspect-ratio: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
html:not(.js) .carta { position: relative; aspect-ratio: 3 / 4; }
html:not(.js) .mazo__controles, html:not(.js) .mazo__ayuda { display: none; }

/* Portada: foto que se inclina con el mouse y burbujas que se revientan */
.portada__foto { perspective: 900px; }
.burbuja-foto { transition: transform .4s var(--suave); transform-style: preserve-3d; }
.portada .burbuja { pointer-events: auto; cursor: pointer; }
.burbuja.revienta { animation: revienta .45s var(--suave) forwards !important; }
.burbuja.vuelve { animation: vuelve .9s var(--rebote) both !important; }
@keyframes revienta { 0% { transform: scale(1); opacity: 1; } 60% { transform: scale(1.35); opacity: .6; border-width: 1px; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes vuelve { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.gotita { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.95); border: 1.5px solid var(--azul); pointer-events: none; z-index: 3; animation: gotita .6s var(--suave) forwards; }
@keyframes gotita { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

/* Equipo: saludo que aparece al pasar */
.equipo h3 { display: flex; align-items: center; gap: 12px; }
.oi { font-family: var(--destacada); font-size: 1.1rem; background: var(--lima); color: var(--tinta); padding: 4px 12px 6px; border-radius: 999px; transform: rotate(-8deg) scale(0); transition: transform .45s var(--rebote); }
.equipo li:hover .oi, .equipo li:focus-within .oi, .equipo li.visible .oi { transform: rotate(-8deg) scale(1); }
.equipo li.visible .oi { transition-delay: .5s; }
.equipo picture { transition: transform .6s var(--rebote); }
.equipo li:hover picture { transform: rotate(-3deg) scale(1.03); }

/* Cinta: cada foto reacciona */
.cinta__pista li { transition: transform .5s var(--rebote); }
.cinta__pista li:hover { transform: scale(1.08) rotate(-4deg); }

/* Progreso del formulario: check al completar un paso */
.progreso li.hecho span { position: relative; color: transparent; background: var(--lima); border-color: var(--lima); }
.progreso li.hecho span::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--tinta); font-size: .8rem; animation: pop .4s var(--rebote); }

/* Títulos: las palabras suben al aparecer */
.js .titular-l .palabra { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .titular-l:not(.visible) .palabra { opacity: 0; transform: translateY(.45em) rotate(2deg); }
  .js .titular-l .palabra { transition: opacity .6s var(--suave), transform .7s var(--rebote); transition-delay: calc(var(--i, 0) * 55ms); }
}
@media (prefers-reduced-motion: reduce) {
  .banda__pista, .mazo__mano { animation: none; }
}

/* Pie: la firma se mueve como ola al pasar */
.pie__firma .letra { transition: transform .4s var(--rebote); }
.pie__firma:hover .letra { animation: ola .9s var(--suave) calc(var(--i) * 40ms); }
@keyframes ola { 0%, 100% { translate: 0 0; } 40% { translate: 0 -.12em; } }
#resultados { overflow-x: clip; }

.titular-xl .pt, .titular-l .pt { text-decoration-thickness: .045em; text-underline-offset: .16em; }

/* =========================================================
   v6 · Portada en bloques de color + menú móvil + contacto
   ========================================================= */
.portada { display: grid; grid-template-columns: 1fr; min-height: 0; padding: 0; align-items: stretch; overflow: visible; }
@media (min-width: 960px) { .portada { grid-template-columns: 1.08fr 1fr; min-height: min(100svh, 940px); } }
.portada__texto { padding: 118px 20px 56px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 960px) { .portada__texto { padding: 120px 48px 72px max(20px, calc((100vw - 1200px) / 2 + 20px)); } }
.portada__origen { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0 0 22px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--linea); font-weight: 600; font-size: .98rem; line-height: 1.3; box-shadow: 0 8px 20px -14px rgba(35,35,35,.35); }
.titular-xl .portada__origen { display: flex; width: fit-content; letter-spacing: normal; font-family: var(--fuente, inherit); }
.bandera { flex: none; border-radius: 4px; }
.sellitos { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sellitos li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--lima-suave); font-weight: 600; font-size: .95rem; }
.sellitos li svg { color: var(--azul); }
.sellitos a { color: var(--tinta); text-decoration: none; }
.sellitos li:last-child { background: #fff; border: 1px solid var(--linea); }
.sellitos li:last-child:hover { border-color: var(--azul); }

.portada__panel { position: relative; background: var(--lima); min-height: 520px; overflow: hidden; display: grid; place-items: end center; isolation: isolate; }
@media (min-width: 960px) { .portada__panel { border-bottom-left-radius: 64px; min-height: 100%; } }
@media (max-width: 959px) { .portada__panel { margin: 0 12px; border-radius: 36px; min-height: 480px; } }
.portada__perro { position: relative; z-index: 2; width: min(460px, 78%); margin-bottom: -2px; filter: drop-shadow(0 30px 30px rgba(35,35,35,.22)); transform-origin: 50% 100%; transition: transform .5s var(--suave); }
.portada__perro img { width: 100%; height: auto; }
.garabatos { position: absolute; inset: 6% 4% 0; width: 92%; height: 94%; z-index: 1; overflow: visible; }
.trazo { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.trazo.t2, .trazo.t3, .trazo.t5 { stroke-width: 5; }
.portada__vertical { position: absolute; left: 18px; top: 50%; margin: 0; z-index: 3; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); font-weight: 600; font-size: .9rem; color: var(--tinta); opacity: .75; letter-spacing: .02em; }
@media (max-width: 959px) { .portada__vertical { display: none; } }
.portada__botones { position: absolute; right: 18px; bottom: 22px; z-index: 4; display: grid; gap: 12px; }
.boton-vidrio { width: 58px; height: 58px; border-radius: 22px; display: grid; place-items: center; color: var(--tinta); cursor: pointer; border: 1px solid rgba(255,255,255,.8); padding: 0; transition: transform .35s var(--rebote); }
.boton-vidrio:hover { transform: scale(1.08) rotate(-4deg); }
.boton-vidrio:active { transform: scale(.95); }
.portada .aviso { left: 22px; right: auto; bottom: 26px; z-index: 4; max-width: 290px; }
@media (max-width: 600px) { .portada .aviso { left: 12px; right: 84px; bottom: 16px; max-width: none; font-size: .82rem; } }
.portada .sello { right: 26px; top: 26px; left: auto; z-index: 4; }
@media (max-width: 600px) { .portada .sello { right: 14px; top: 14px; width: 92px; font-size: .95rem; } }
.portada .b1 { width: 64px; left: 12%; top: 18%; bottom: auto; right: auto; }
.portada .b2 { width: 34px; right: 22%; top: 14%; left: auto; bottom: auto; }
.portada .b3 { width: 22px; right: 30%; top: 30%; left: auto; bottom: auto; }
.portada .b4 { width: 46px; left: 20%; top: 42%; right: auto; bottom: auto; }
.portada .b5 { width: 28px; right: 14%; top: 46%; left: auto; bottom: auto; }
.portada .burbuja { z-index: 3; }
.corazon { position: absolute; z-index: 5; pointer-events: none; font-size: 26px; color: #fff; text-shadow: 0 2px 8px rgba(29,111,230,.35); animation: corazon 1.4s var(--suave) forwards; }
@keyframes corazon { 0% { transform: translate(0,0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--dx), -220px) scale(1.2) rotate(var(--gira)); opacity: 0; } }
.portada__perro.mimado { animation: mimo .6s var(--rebote); }
@keyframes mimo { 0%,100% { transform: none; } 30% { transform: rotate(-3deg) scale(1.03); } 60% { transform: rotate(2deg) scale(1.02); } }

@media (prefers-reduced-motion: no-preference) {
  .js .trazo { stroke-dasharray: var(--largo, 1200); stroke-dashoffset: var(--largo, 1200); animation: dibuja 1.6s var(--suave) forwards; }
  .js .trazo.t1 { animation-delay: .5s; } .js .trazo.t2 { animation-delay: 1.1s; } .js .trazo.t3 { animation-delay: 1.3s; } .js .trazo.t4 { animation-delay: 1.5s; } .js .trazo.t5 { animation-delay: 1.6s; }
  .js .portada__perro { animation: perro-entra 1s var(--rebote) .2s both; }
  .js .portada__panel { animation: panel-entra 1s var(--suave) both; }
  .js .portada__origen { animation: aparece-suave .7s var(--suave) both; }
}
@keyframes dibuja { to { stroke-dashoffset: 0; } }
@keyframes perro-entra { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes panel-entra { from { clip-path: inset(0 0 0 100% round 64px); } to { clip-path: inset(0 0 0 0 round 0 0 0 64px); } }
@media (max-width: 959px) { @keyframes panel-entra { from { clip-path: inset(100% 0 0 0 round 36px); } to { clip-path: inset(0 0 0 0 round 36px); } } }

/* Cabecera: acciones + menú móvil */
.cabecera__acciones { display: flex; align-items: center; gap: 8px; }
.menu-boton { display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tinta); cursor: pointer; padding: 0; }
.menu-boton span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--lima); transition: transform .35s var(--rebote), opacity .2s; }
.menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 960px) { .menu-boton { display: none; } }
@media (max-width: 420px) { .cabecera__acciones .boton--chico { padding: 0 14px; font-size: .92rem; } .marca img { height: 34px; } }
.menu-movil { pointer-events: auto; max-width: 1200px; margin: 10px auto 0; border-radius: 28px; padding: 18px; background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.78)); transform-origin: top right; animation: menu-abre .4s var(--rebote); }
@keyframes menu-abre { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }
.menu-movil nav { display: grid; }
.menu-movil nav a { padding: 14px 8px; font-size: 1.25rem; font-weight: 600; color: var(--tinta); text-decoration: none; border-bottom: 1px solid var(--linea); }
.menu-movil__contacto { display: grid; gap: 8px; margin-top: 14px; }
.menu-movil__contacto a { color: var(--tinta); font-weight: 500; }
.menu-movil__wa { display: inline-flex; align-items: center; gap: 10px; justify-content: center; min-height: 52px; border-radius: 999px; background: var(--azul); color: #fff !important; font-weight: 600 !important; text-decoration: none; }
@media (min-width: 960px) { .menu-movil { display: none !important; } }
body.menu-abierto { overflow: hidden; }
body.menu-abierto .cabecera { z-index: 50; }
body.menu-abierto::before { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(35,35,35,.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: aparece .3s ease both; }
@keyframes aparece { from { opacity: 0; } }
.menu-movil { background: rgba(255,253,250,.97) !important; box-shadow: 0 24px 60px rgba(35,35,35,.22); }
.portada .titular-xl .ekamai { white-space: nowrap; }
@media (min-width: 960px) { .portada .titular-xl { font-size: clamp(3.4rem, 5.6vw, 5.4rem); } }

/* Contacto */
.contacto__grilla { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contacto__grilla { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .contacto__grilla { grid-template-columns: repeat(4, 1fr); } .contacto__grilla .mapa { grid-column: 1 / -1; aspect-ratio: 21 / 7; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radio-l); text-decoration: none; color: var(--tinta); background: #fff; border: 1px solid var(--linea); min-height: 210px; transition: transform .4s var(--rebote), box-shadow .3s; }
a.tile:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 26px 40px -26px rgba(16,44,110,.5); }
.tile__icono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: var(--lima-suave); color: var(--azul); margin-bottom: 8px; }
.tile__etiqueta { font-weight: 600; color: var(--tinta-suave); font-size: .95rem; }
.tile__dato { font-size: 1.45rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.tile__accion { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--azul); text-decoration: underline; text-underline-offset: 4px; }
.tile--wa { background: var(--azul); color: #fff; border-color: transparent; }
.tile--wa .tile__etiqueta { color: #fff; }
.tile--wa .tile__icono { background: var(--lima); color: var(--tinta); }
.tile--wa .tile__dato { font-size: 1.7rem; }
.tile--wa .tile__accion { color: #fff; text-decoration-color: var(--lima); text-decoration-thickness: 2px; }
.tile--ig { background: var(--lima); border-color: transparent; }
.tile--ig .tile__icono { background: var(--tinta); color: var(--lima); }
.tile--ig .tile__accion { color: var(--tinta); }
.tile--horario .horario { margin: 4px 0 0; max-width: none; }
.tile--horario .horario th, .tile--horario .horario td { font-size: 1rem; padding: 8px 0; }
.tile__estado { margin-top: auto; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; background: #E3F5E9; color: #0B5A3A; }
.tile__estado.cerrado { background: #F1F1F1; color: var(--tinta-suave); }
.pie__wa { color: var(--lima) !important; font-size: 1.4rem; font-weight: 600; text-decoration: none; }

/* Aviso de cookies (solo aparece si hay Pixel de Meta o GA4 configurados) */
.aviso-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; padding: 18px 20px; border-radius: 24px;
  background: rgba(255,253,250,.96); box-shadow: 0 24px 60px -20px rgba(35,35,35,.4); animation: menu-abre .45s var(--rebote) both; }
.aviso-cookies p { margin: 0 0 14px; font-size: .98rem; line-height: 1.45; }
.aviso-cookies a { color: var(--azul); }
.aviso-cookies__botones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.aviso-cookies__botones .boton { flex: 1 1 160px; justify-content: center; }
.boton--borde { background: transparent !important; color: var(--tinta) !important; box-shadow: inset 0 0 0 2px var(--tinta) !important; }
.enlace-boton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Precios v2: tabla del baño (pelo × peso), listas cortas y extras del formulario */
.tarjetas .tarjeta--bano { grid-column: 1 / -1; }
@media (min-width: 900px) { .tarjetas .tarjeta--bano { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 36px; align-items: start; }
  .tarjetas .tarjeta--bano { grid-template-rows: auto auto 1fr; }
  .tarjeta--bano > strong, .tarjeta--bano > p, .tarjeta--bano > .precio { grid-column: 1; }
  .tarjeta--bano > p { margin-top: 10px; }
  .tarjeta--bano > .precio { justify-self: start; align-self: end; }
  .tarjeta--bano > .tabla-precios { grid-column: 2; grid-row: 1 / span 3; } }
.tabla-precios { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 6px 0; }
.tabla-precios th, .tabla-precios td { padding: 11px 10px; border-bottom: 1px solid var(--linea); text-align: left; }
.tabla-precios thead th { font-size: .95rem; font-weight: 600; vertical-align: bottom; }
.tabla-precios thead small { display: block; font-weight: 400; font-size: .8rem; color: var(--tinta-suave); }
.tabla-precios tbody th { font-weight: 500; color: var(--tinta-suave); }
.tabla-precios td { font-weight: 600; font-size: 1.1rem; }
.mini-lista { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.mini-lista li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--linea); }
.mini-lista small { display: block; color: var(--tinta-suave); font-size: .82rem; }
.mini-lista b { white-space: nowrap; background: var(--lima-suave); padding: 3px 10px; border-radius: 999px; font-size: .95rem; }
.chip span small { margin-left: 6px; font-size: .8rem; opacity: .85; font-weight: 400; }
.chip--incluido span { opacity: .6; border-style: dashed; }
.chip--incluido input { cursor: not-allowed; }
.chips__titulo { margin: 14px 0 8px; font-weight: 600; font-size: .95rem; }
.aviso-campo { margin: 0; clear: both; font-weight: 500; }
.opciones--pelo .chip span { min-height: 52px; }
#campo-comuna { width: 100%; margin-top: 4px; }
.horario th small, .horario td small { font-weight: 400; color: var(--tinta-suave); font-size: .82rem; }
.chip input:checked + span small { color: var(--tinta); opacity: .75; }
.tabla-precios tbody th { white-space: nowrap; }
@media (max-width: 480px) { .tabla-precios th, .tabla-precios td { padding: 10px 6px; } .tabla-precios td { font-size: 1rem; } }
/* Atribución exigida por Google al mostrar datos de Places sin mapa */
.google-maps { font-family: Roboto, Arial, sans-serif; font-weight: 400; white-space: nowrap; }
/* Las 5 estrellas son decorativas (siempre 5); la nota real va en número al lado */
.calificacion__estrellas { font-size: .85em; letter-spacing: 0; }
.nota-google__estrellas { letter-spacing: 1px; margin-right: 4px; }
.pie__legal a { color: inherit; text-decoration-color: var(--lima); text-underline-offset: 3px; }
