/* ==========================================================================
   RENOPIEL21 — CAPA "PRO"
   Sistema de diseño + sistema de movimiento.
   Se carga DESPUÉS de styles.css: corrige, unifica y añade.
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* ---- Curvas y duraciones: una sola familia para todo el sitio ---- */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.30, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --dur-tap:   140ms;
  --dur-fast:  220ms;
  --dur-base:  360ms;
  --dur-slow:  720ms;
  --dur-hero: 1100ms;

  /* ---- Escala tipográfica fluida ---- */
  --fs-display: clamp(3.25rem, 9.5vw, 7rem);
  --fs-h1:      clamp(2.1rem, 5vw, 3.5rem);
  --fs-h2:      clamp(1.7rem, 3.4vw, 2.6rem);
  --fs-h3:      clamp(1.05rem, 1.5vw, 1.3rem);
  --fs-lead:    clamp(1.02rem, 1.5vw, 1.2rem);
  --fs-body:    clamp(0.97rem, 1.05vw, 1.05rem);
  --fs-eyebrow: 0.76rem;

  /* ---- Ritmo vertical ---- */
  --space-section: clamp(72px, 8.5vw, 124px);
  --space-block:   clamp(32px, 4vw, 56px);

  /* ---- Sombras con tinte azul: se integran con la paleta ---- */
  --shadow-xs: 0 1px 2px rgba(11, 47, 74, 0.06);
  --shadow-sm: 0 2px 6px rgba(11, 47, 74, 0.06), 0 8px 20px rgba(11, 47, 74, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 47, 74, 0.07), 0 16px 36px rgba(11, 47, 74, 0.09);
  --shadow-lg: 0 8px 24px rgba(11, 47, 74, 0.10), 0 32px 64px rgba(11, 47, 74, 0.14);
  --shadow-brand: 0 10px 30px rgba(0, 157, 255, 0.30);
  --shadow-accent: 0 10px 30px rgba(230, 57, 70, 0.32);

  /* ---- Radios coherentes ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 9999px;

  /* ---- Superficies frías: sustituyen a los beige heredados ---- */
  --surface-0: #FFFFFF;
  --surface-1: #F6FAFE;
  --surface-2: #EAF3FB;
  --hairline:  rgba(11, 47, 74, 0.09);
}

/* ==========================================================================
   2. CORRECCIÓN DE TEMPERATURA
   Las secciones venían en beige cálido (#F0EEEB / #F9F7F4) sobre una paleta
   fría. Dos temperaturas peleando = el sitio "canta" a plantilla.
   ========================================================================== */
.section-light { background: var(--surface-1); }
.section-alt   { background: var(--surface-2); }
.home-services-section {
  background: var(--surface-0);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

body { background-color: var(--surface-1); }

/* Costura suave entre secciones contiguas del mismo tono */
.section-light + .section-light,
.section-alt + .section-alt { border-top: 1px solid var(--hairline); }

/* ==========================================================================
   3. RITMO Y TIPOGRAFÍA
   ========================================================================== */
.section-padding { padding: var(--space-section) 0; }
#servicios { padding-top: var(--space-section); }

body { font-size: var(--fs-body); }

.section-title {
  font-size: var(--fs-h2);
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.14;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: var(--fs-lead);
  margin-top: 0;
  margin-bottom: var(--space-block);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* Eyebrow: etiqueta de sección. Da jerarquía sin gritar. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}
.section-dark .eyebrow { color: var(--celeste); }

h1, .hero-title { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.02em; }

/* ==========================================================================
   4. SISTEMA DE MOVIMIENTO — REVEALS
   Un único motor (js/pro.js) con `data-reveal`. Misma curva, misma duración,
   stagger consistente. Sustituye al fade-up suelto.
   ========================================================================== */
[data-reveal] {
  --rv-y: 26px;
  --rv-x: 0px;
  --rv-scale: 1;
  --rv-blur: 0px;
  opacity: 0;
  transform: translate3d(var(--rv-x), var(--rv-y), 0) scale(var(--rv-scale));
  filter: blur(var(--rv-blur));
  transition:
    opacity var(--dur-slow) var(--ease-out-expo),
    transform var(--dur-slow) var(--ease-out-expo),
    filter var(--dur-slow) var(--ease-out-expo);
  transition-delay: var(--rv-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="fade"]  { --rv-y: 0px; }
[data-reveal="left"]  { --rv-y: 0px; --rv-x: -36px; }
[data-reveal="right"] { --rv-y: 0px; --rv-x: 36px; }
[data-reveal="zoom"]  { --rv-y: 18px; --rv-scale: 0.94; --rv-blur: 6px; }
[data-reveal="rise"]  { --rv-y: 44px; }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

/* Máscara: el bloque se descubre por debajo de un borde. Caro visualmente,
   se reserva para titulares. */
[data-reveal="mask"] {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 12px, 0);
  transition:
    clip-path var(--dur-slow) var(--ease-out-expo),
    transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: var(--rv-delay, 0ms);
}
[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); transform: none; }

/* El .fade-up heredado se reengancha al mismo sistema para no tener
   dos lenguajes de animación conviviendo. */
.fade-up {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity var(--dur-slow) var(--ease-out-expo),
    transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: var(--rv-delay, 0ms);
}
.fade-up.visible { opacity: 1; transform: none; }

/* ==========================================================================
   5. MICRO-INTERACCIONES
   ========================================================================== */

/* ---- Botones: brillo que sigue al cursor + respuesta al pulsar ---- */
.btn,
.home-cta-btn,
.mascota-btn,
.mascota-pop__all {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform var(--dur-fast) var(--ease-out-quint),
    box-shadow var(--dur-fast) var(--ease-out-quint),
    background-color var(--dur-fast) linear,
    color var(--dur-fast) linear;
}

.btn::before,
.home-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(
    150px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.28),
    transparent 65%
  );
  opacity: 0;
  transition: opacity var(--dur-fast) linear;
}
.btn:hover::before,
.home-cta-btn:hover::before { opacity: 1; }

.btn:hover, .home-cta-btn:hover { transform: translateY(-3px); filter: none; }
.btn:active, .home-cta-btn:active,
.mascota-btn:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: var(--dur-tap);
}

.btn-red:hover { box-shadow: var(--shadow-accent); }
.btn-outline:hover, .btn:not(.btn-red):hover { box-shadow: var(--shadow-brand); }

/* Foco visible: accesibilidad sin arruinar el diseño */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Enlaces de navegación: subrayado que crece desde el centro ---- */
.nav-links > a,
.nav-dropdown__trigger > a {
  position: relative;
}
.nav-links > a::after,
.nav-dropdown__trigger > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width var(--dur-base) var(--ease-out-expo);
}
.nav-links > a:hover::after,
.nav-dropdown__trigger > a:hover::after { width: 100%; }

/* ---- Tarjetas: elevación + filo que se enciende ---- */
.mascota-card,
.testimonial-box,
.b2b-step,
.reno-features__item {
  transition:
    transform var(--dur-base) var(--ease-out-quint),
    box-shadow var(--dur-base) var(--ease-out-quint),
    border-color var(--dur-base) linear;
}
.mascota-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.mascota-card .material-symbols-outlined {
  transition: transform var(--dur-base) var(--ease-spring);
}
.mascota-card:hover .material-symbols-outlined { transform: scale(1.18) rotate(-6deg); }

/* Iconos de la franja de ventajas: laten al pasar el ratón */
.reno-features__item .material-symbols-outlined {
  transition: transform var(--dur-base) var(--ease-spring);
}
.reno-features__item:hover .material-symbols-outlined { transform: translateY(-4px) scale(1.12); }

/* ---- Imágenes: acercamiento contenido dentro de su marco ---- */
.placeholder-img { overflow: hidden; }
.placeholder-img img,
.ba-item img {
  transition: transform 900ms var(--ease-out-expo), filter 900ms var(--ease-out-expo);
}
.ba-item:hover img,
.placeholder-img:hover img { transform: scale(1.045); }

/* ---- WhatsApp flotante: respira, no parpadea ---- */
.whatsapp-float {
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) ease;
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: rpPing 3.2s var(--ease-out-expo) infinite;
  pointer-events: none;
}
@keyframes rpPing {
  0%       { transform: scale(1);   opacity: 0.45; }
  60%,100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   6. BARRA DE PROGRESO DE LECTURA
   Va pegada bajo la píldora de navegación. Señal de "sitio cuidado".
   ========================================================================== */
.rp-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 1001;
  pointer-events: none;
  background: transparent;
}
.rp-progress__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--celeste), var(--primary));
  box-shadow: 0 0 12px rgba(0, 157, 255, 0.6);
}

/* ==========================================================================
   7. HERO — EFECTO DE ENTRADA
   Capas inyectadas por js/pro.js dentro de .reno-hero / .reno-inner-hero.
   ========================================================================== */
.reno-hero,
.reno-inner-hero {
  overflow: hidden;
  isolation: isolate;
  /* Se sustituye el gradiente que barría de esquina a esquina (leía a
     "plantilla animada") por una base estable + capas de luz encima. */
  background: linear-gradient(160deg, #062B4C 0%, #0B6FBC 45%, #009DFF 100%);
  animation: none;
}

/* ---- Capa 1: manchas de luz a la deriva ---- */
.hx-mesh {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 28%, rgba(102, 196, 255, 0.55), transparent 62%),
    radial-gradient(34% 42% at 78% 22%, rgba(0, 157, 255, 0.50), transparent 60%),
    radial-gradient(46% 52% at 62% 82%, rgba(5, 51, 90, 0.62), transparent 66%),
    radial-gradient(30% 38% at 12% 78%, rgba(0, 200, 255, 0.34), transparent 62%);
  filter: blur(14px);
  animation: hxDrift 26s var(--ease-in-out) infinite alternate;
}
@keyframes hxDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(2.5%, -2.5%, 0) scale(1.04); }
}

/* ---- Capa 2: cáusticas. Luz filtrada por agua en movimiento. ---- */
.hx-caustics {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: screen;
  background:
    conic-gradient(from 0deg at 30% 40%, transparent 0deg, rgba(255,255,255,0.9) 40deg, transparent 80deg, rgba(255,255,255,0.7) 150deg, transparent 200deg, rgba(255,255,255,0.85) 280deg, transparent 330deg),
    conic-gradient(from 180deg at 72% 62%, transparent 0deg, rgba(180,235,255,0.8) 55deg, transparent 110deg, rgba(255,255,255,0.6) 210deg, transparent 260deg);
  filter: blur(38px);
  animation: hxCaustics 38s linear infinite;
}
@keyframes hxCaustics {
  from { transform: rotate(0deg) scale(1.1); }
  to   { transform: rotate(360deg) scale(1.1); }
}

/* ---- Capa 3: burbujas en tres planos de profundidad ---- */
.hx-depth {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transition: transform 900ms var(--ease-out-expo);
}
.hx-depth--far  { filter: blur(3px);   opacity: 0.42; }
.hx-depth--mid  { filter: blur(1px);   opacity: 0.72; }
.hx-depth--near { filter: blur(0);     opacity: 1; }

.hx-bub {
  position: absolute;
  bottom: -12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.14) 42%, rgba(255,255,255,0.03) 70%),
    radial-gradient(circle at 70% 76%, rgba(180, 230, 255, 0.28), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.16);
  animation: hxRise var(--bd) var(--bdelay) linear infinite;
  opacity: 0;
}
.hx-bub::after {
  content: '';
  position: absolute;
  top: 14%; left: 52%;
  width: 22%; height: 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(0.5px);
}
@keyframes hxRise {
  0%   { opacity: 0;    transform: translate3d(0, 0, 0) scale(0.7); }
  8%   { opacity: 0.85; }
  50%  { transform: translate3d(var(--bsway), -55vh, 0) scale(1); opacity: 0.6; }
  92%  { opacity: 0.05; }
  100% { opacity: 0;    transform: translate3d(calc(var(--bsway) * -0.6), -118vh, 0) scale(0.55); }
}

/* La capa vieja de burbujas se retira: la sustituye .hx-depth */
.reno-bubbles { display: none; }

/* ---- Capa 4: barrido de luz. Ocurre UNA vez, al entrar. ---- */
.hx-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    104deg,
    transparent 38%,
    rgba(255, 255, 255, 0.16) 47%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.16) 53%,
    transparent 62%
  );
  transform: translateX(-120%);
}
.rp-hero-ready .hx-sheen { animation: hxSheen 1900ms 620ms var(--ease-out-expo) forwards; }
@keyframes hxSheen {
  to { transform: translateX(120%); }
}

/* ---- Viñeta: sienta el contenido y evita el look "fondo de plantilla" ---- */
.reno-hero::before,
.reno-inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 88% at 50% 42%, transparent 42%, rgba(3, 26, 48, 0.42) 100%);
}

/* ==========================================================================
   8. HERO — CONTENIDO Y COREOGRAFÍA DE ENTRADA
   La secuencia entera cabe en ~1,6 s. La anterior tardaba 3,5 s en
   terminar de pintar los botones: para entonces el visitante ya ha juzgado.
   ========================================================================== */
/* Sólo se sube el z-index: .reno-scroll va posicionado en absoluto y
   cambiarle el `position` lo descuelga del centro del hero. */
.reno-hero__content,
.reno-hero__cta-row { position: relative; }
.reno-hero__content,
.reno-hero__cta-row,
.reno-scroll { z-index: 5; }

/* El bloque central se sienta más arriba para que los botones no choquen
   con el indicador de scroll ni con la cresta de las olas. */
.reno-hero {
  padding-top: calc(var(--nav-height) + 24px);
  padding-bottom: clamp(140px, 19vh, 190px);
}
.reno-hero__content { padding-top: 0; padding-bottom: 0; }
/* Ancho suficiente para que la línea de apoyo no parta en dos y las
   píldoras no crezcan a lo alto. */
.reno-hero__cta-row {
  margin-top: clamp(28px, 4vh, 44px);
  max-width: 860px;
}
.reno-hero__cta-row .home-cta-btn { border-radius: var(--r-lg); }
.reno-scroll { bottom: clamp(84px, 12vh, 108px); }

/* Por debajo de esta altura no caben CTA + indicador + olas sin apretarse */
@media (max-height: 840px) {
  .reno-scroll { display: none; }
}

/* Se anulan la cortina y los fade escalonados heredados */
.reno-reveal::before,
.reno-reveal::after { display: none; }
.reno-reveal { overflow: visible; }
.reno-reveal__inner { opacity: 1; animation: none; }

.reno-hero__subtitle,
.reno-hero__tagline,
.reno-hero__cta-row,
.reno-scroll { animation: none; opacity: 0; }

/* ---- Título: cada palabra sube desde detrás de su propia línea ---- */
.reno-hero__title {
  font-size: var(--fs-display);
  letter-spacing: 0.02em;
  /* Fuera el shimmer gris: sobre azul leía como una mancha sucia sobre
     las letras. Se sustituye por blanco limpio con profundidad. */
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #fff;
  animation: none;
  text-shadow: 0 2px 30px rgba(0, 40, 80, 0.35);
}

.hx-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
}
.hx-word > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(4deg);
  transition:
    transform var(--dur-hero) var(--ease-out-expo),
    opacity var(--dur-hero) var(--ease-out-expo);
  transition-delay: var(--wd, 0ms);
  opacity: 0;
}
.rp-hero-ready .hx-word > span { transform: none; opacity: 1; }

/* ---- Cascada del resto del bloque ---- */
.rp-hero-ready .reno-hero__subtitle { animation: hxUp 760ms 520ms var(--ease-out-expo) forwards; }
.rp-hero-ready .reno-hero__tagline  { animation: hxUp 760ms 640ms var(--ease-out-expo) forwards; }
.rp-hero-ready .reno-hero__cta-row  { animation: hxUp 760ms 780ms var(--ease-out-expo) forwards; }
.rp-hero-ready .reno-scroll         { animation: hxScroll 760ms 1000ms var(--ease-out-expo) forwards; }

@keyframes hxUp {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes hxScroll {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
/* Terminada la entrada, suelta la animación: si no, su fill:forwards ganaría
   a la opacidad en línea con la que main.js lo desvanece al hacer scroll. */
.reno-scroll.rp-settled { animation: none !important; opacity: 1; transform: translate(-50%, 0); }

/* Inner heros: mismo lenguaje, versión corta */
.reno-inner-hero__title {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #fff;
  animation: none;
  font-size: var(--fs-h1);
  text-shadow: 0 2px 24px rgba(0, 40, 80, 0.3);
}
.reno-inner-hero__container { z-index: 5; }

/* ---- Botones del hero: más peso, menos plástico ---- */
.home-cta-btn {
  border-radius: var(--r-pill);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 28px rgba(3, 26, 48, 0.28);
  backdrop-filter: blur(2px);
}
.home-cta-particular:hover { box-shadow: var(--shadow-accent), 0 8px 28px rgba(3, 26, 48, 0.28); }
.home-cta-empresa {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.home-cta-empresa:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255,255,255,0.7); }

/* ---- Olas: entran subiendo y se despegan al hacer scroll ---- */
.reno-waves {
  z-index: 4;
  transform: translateY(100%);
  transition: transform 1200ms 300ms var(--ease-out-expo);
}
.rp-hero-ready .reno-waves { transform: translateY(0); }

/* ==========================================================================
   9. NAVEGACIÓN — VIDRIO REAL SOBRE EL HERO
   ========================================================================== */
.site-nav {
  transition:
    height var(--dur-base) var(--ease-out-expo),
    background-color var(--dur-base) var(--ease-out-expo),
    box-shadow var(--dur-base) var(--ease-out-expo),
    border-color var(--dur-base) var(--ease-out-expo),
    max-width var(--dur-base) var(--ease-out-expo);
}
/* Sobre el hero la píldora deja de ser un bloque blanco opaco y pasa a ser
   vidrio: el fondo animado se ve a través. Al dejar de ser clara, todo su
   contenido tiene que invertirse a blanco o se vuelve ilegible. */
.site-nav.over-dark {
  background: rgba(8, 45, 78, 0.26);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(3, 26, 48, 0.25);
}
.site-nav.over-dark .nav-logo,
.site-nav.over-dark .nav-links a,
.site-nav.over-dark .nav-actions a,
.site-nav.over-dark .nav-dropdown__arrow { color: #fff; }
.site-nav.over-dark .nav-logo b { color: var(--celeste); }
.site-nav.over-dark .nav-links a:hover,
.site-nav.over-dark .nav-links a.active,
.site-nav.over-dark .nav-actions a:hover { color: var(--celeste); }
.site-nav.over-dark .nav-links a.active::after,
.site-nav.over-dark .nav-links > a::after { background: var(--celeste); }
.site-nav.over-dark .hamburger span { background: #fff; }
.site-nav.scrolled {
  height: 56px;
  box-shadow: var(--shadow-md);
}

/* Sobre el contenido claro la píldora era azul #009DFF con texto blanco:
   ~2,6:1 de contraste, por debajo del mínimo legible. Se invierte a píldora
   clara con texto navy (>12:1) y el azul pasa a ser el acento. */
.site-nav:not(.over-dark) {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(11, 47, 74, 0.10);
  box-shadow: 0 6px 24px rgba(11, 47, 74, 0.13);
}
.site-nav:not(.over-dark) .nav-logo,
.site-nav:not(.over-dark) .nav-links a,
.site-nav:not(.over-dark) .nav-actions a,
.site-nav:not(.over-dark) .nav-dropdown__arrow { color: var(--navy); }
.site-nav:not(.over-dark) .nav-logo b { color: var(--primary); }
.site-nav:not(.over-dark) .nav-links a:hover,
.site-nav:not(.over-dark) .nav-links a.active,
.site-nav:not(.over-dark) .nav-actions a:hover { color: var(--primary); opacity: 1; }
.site-nav:not(.over-dark) .nav-links a.active::after,
.site-nav:not(.over-dark) .nav-links > a::after { background: var(--primary); }
.site-nav:not(.over-dark) .hamburger span { background: var(--navy); }

/* ==========================================================================
   10. TRANSICIÓN ENTRE PÁGINAS
   Nativa donde existe la View Transitions API; en el resto, cortina JS.
   ========================================================================== */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: rpOut 260ms var(--ease-in-out) both;
}
::view-transition-new(root) {
  animation: rpIn 420ms var(--ease-out-expo) both;
}
@keyframes rpOut {
  to { opacity: 0; transform: translateY(-10px) scale(0.994); }
}
@keyframes rpIn {
  from { opacity: 0; transform: translateY(14px); }
}

/* ---- Fallback: cortina azul con la ola de la marca ---- */
.rp-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(160deg, #062B4C 0%, #0B6FBC 55%, #009DFF 100%);
  transform: translateY(100%);
}
.rp-curtain__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 200ms linear;
}
.rp-curtain__mark b { color: var(--celeste); }

.rp-leaving .rp-curtain {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: transform 460ms var(--ease-out-expo), opacity 0ms;
}
.rp-leaving .rp-curtain__mark { opacity: 1; transition-delay: 180ms; }

/* Entrada sin View Transitions: el contenido asciende una vez */
.rp-entering .content-layer {
  animation: rpEnter 620ms var(--ease-out-expo) both;
}
@keyframes rpEnter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   11. CIFRAS ANIMADAS
   ========================================================================== */
.rp-count {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* ==========================================================================
   12. MASCOTA
   Se queda (decisión del cliente), pero deja de flotar en el vacío:
   se le da suelo, respiración y reacción.
   ========================================================================== */
/* styles.css ya flota el contenedor. Dos flotaciones anidadas se suman y
   el movimiento sale nervioso: se deja una sola, la de dentro. */
.mascota-img { animation: none; }
.mascota-img img {
  animation: hxFloat 6s var(--ease-in-out) infinite;
  filter: drop-shadow(0 24px 28px rgba(11, 47, 74, 0.22));
  transition: transform var(--dur-base) var(--ease-spring);
}
@keyframes hxFloat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-12px) rotate(0.6deg); }
}
.mascota-block { position: relative; }
/* Charco de luz bajo la mascota: la ancla al suelo */
.mascota-block::before {
  content: '';
  position: absolute;
  top: 46%;
  left: 50%;
  width: min(420px, 60%);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 157, 255, 0.16), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.mascota-btn, .mascota-pop, .mascota-img { position: relative; z-index: 1; }

.mascota-btn .material-symbols-outlined {
  transition: transform var(--dur-base) var(--ease-spring);
}
.mascota-btn.open .material-symbols-outlined { transform: rotate(180deg); }

/* El disparador principal es la lavadora. Este botón se queda como etiqueta
   de apoyo: en sólido competía con ella y había dos azules idénticos
   apilados sin jerarquía entre ambos. */
.mascota-btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
  /* El latido lo lleva ahora la señal «Púlsame» sobre la lavadora: dos
     elementos pulsando a la vez competían por la misma atención. */
  animation: none;
}
.mascota-btn:hover { background: var(--primary); color: #fff; }
.mascota-btn.open { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Las tarjetas del desplegable entran en cascada */
.mascota-pop.open .mascota-card {
  animation: hxUp 520ms var(--ease-out-expo) both;
}
.mascota-pop.open .mascota-card:nth-child(1) { animation-delay: 40ms; }
.mascota-pop.open .mascota-card:nth-child(2) { animation-delay: 90ms; }
.mascota-pop.open .mascota-card:nth-child(3) { animation-delay: 140ms; }
.mascota-pop.open .mascota-card:nth-child(4) { animation-delay: 190ms; }
.mascota-pop.open .mascota-card:nth-child(5) { animation-delay: 240ms; }

/* ==========================================================================
   13. FRANJA DE VENTAJAS Y BLOQUE B2B
   ========================================================================== */
.reno-features { position: relative; }
.reno-features__item h3 {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: 6px;
}

/* La cifra es el protagonista: primero el dato, después la explicación.
   Se cualifica con el contenedor porque `.reno-features__item p` de
   styles.css es más específico que una clase suelta y le ganaba el tamaño. */
.reno-features__item p.rp-stat {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin: 12px 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.reno-features__item p.rp-stat em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--primary);
  transform: translateY(-0.45em);
}
.reno-features__item p.rp-stat--word {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -0.02em;
}
.reno-features__item h3 { color: var(--celeste); }

.b2b-step-num { transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) ease; }
.b2b-step:hover .b2b-step-num { transform: translateY(-4px) scale(1.06); box-shadow: var(--shadow-brand); }
.b2b-arrow { transition: transform var(--dur-base) var(--ease-out-expo); }
.b2b-cta-grid:hover .b2b-arrow { transform: translateX(4px); }

/* ==========================================================================
   14. GALERÍA ANTES / DESPUÉS
   Las fotos son de taller y no se pueden repetir: el encuadre uniforme y
   el marco hacen el trabajo que no puede hacer la cámara.
   ========================================================================== */
.ba-grid { gap: clamp(24px, 3vw, 40px); }
.ba-pair {
  background: var(--surface-0);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(14px, 1.6vw, 20px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out-quint), transform var(--dur-base) var(--ease-out-quint);
}
.ba-pair:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.ba-item .placeholder-img {
  aspect-ratio: 4 / 3 !important;
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.ba-item img { filter: saturate(1.04) contrast(1.03); }

.ba-label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}
.ba-item:last-child .ba-label { color: var(--primary); }

/* Tarjeta de una sola foto: el antes/después ya viene montado en el archivo
   del taller, así que la comparación no se parte en dos columnas. El ancho se
   limita porque a pantalla completa cada mitad crecía tanto que había que
   mover la cabeza para comparar, que es justo lo que la sección debe evitar. */
.ba-pair--single {
  grid-template-columns: 1fr;
  max-width: 880px;
  margin-inline: auto;
  width: 100%;
}
.ba-shot {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.ba-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Las mitades no van rotuladas dentro de la foto: el rótulo lo pone la web
   para que se lea igual en las dos y no dependa de cómo se montó la imagen.
   Van pegados a las esquinas de fuera, no al centro: así el ancho del rótulo
   nunca se sale de su mitad por estrecha que sea la pantalla, y arriba para
   no taparse con la lupa de ampliar, que vive abajo a la derecha. */
.ba-tag {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 47, 74, 0.72);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-tag--before { left: 10px; }
.ba-tag--after {
  right: 10px;
  background: rgba(0, 157, 255, 0.92);
}

/* ==========================================================================
   15. TESTIMONIO
   ========================================================================== */
.testimonial-box {
  background: var(--surface-0);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 48px);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.testimonial-box::before {
  content: '\201C';
  position: absolute;
  top: -6px;
  left: 22px;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.16;
}

/* ==========================================================================
   16. PIE
   ========================================================================== */
.site-footer { border-top: 3px solid var(--primary); }
.footer-col a { transition: color var(--dur-fast) linear, transform var(--dur-fast) var(--ease-out-quint); display: inline-block; }
.footer-col a:hover { color: var(--celeste); transform: translateX(3px); }
.footer-social a {
  transition: transform var(--dur-base) var(--ease-spring), color var(--dur-fast) linear;
  display: inline-flex;
}
.footer-social a:hover { transform: translateY(-3px) scale(1.1); color: var(--celeste); }

/* ==========================================================================
   17. RESPETO POR prefers-reduced-motion
   El movimiento es el encargo del cliente, pero quien lo desactiva en su
   sistema debe seguir viendo la web completa y quieta.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .fade-up { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .hx-word > span { transform: none !important; opacity: 1 !important; }
  .reno-waves { transform: none !important; }
  .hx-depth, .hx-caustics, .hx-sheen { display: none; }
  .reno-hero__subtitle, .reno-hero__tagline, .reno-hero__cta-row, .reno-scroll { opacity: 1 !important; }
}

/* ==========================================================================
   18. PIEZAS TRANSVERSALES DE ACCESIBILIDAD
   ========================================================================== */

/* ---- Saltar al contenido ---- */
.rp-skip {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translate(-50%, -160%);
  z-index: 10001;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.rp-skip:focus-visible { transform: translate(-50%, 0); outline-offset: 4px; }

/* ---- Botón de CTA con dos líneas: qué eres y qué consigues ---- */
.home-cta-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  min-width: 0;
}
.home-cta-btn__text strong { font-weight: 700; }
.home-cta-btn__text small {
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0;
}
.home-cta-btn__go {
  margin-left: auto;
  opacity: 0.65;
  transition: transform var(--dur-base) var(--ease-out-expo), opacity var(--dur-fast) linear;
}
.home-cta-btn:hover .home-cta-btn__go { transform: translateX(4px); opacity: 1; }

.reno-hero__cta-row .home-cta-btn {
  justify-content: flex-start;
  text-align: left;
  gap: 14px;
}

/* ---- La lavadora como disparador ---- */
button.mascota-img {
  display: block;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--r-lg);
  position: relative;
  /* El botón hereda su altura de la imagen. Si la imagen tarda o falla, el
     botón colapsa a 0 px: la insignia «Púlsame» sigue viéndose (va en
     posición absoluta) pero no queda superficie que pulsar. Se reserva el
     hueco para que el control exista siempre. */
  aspect-ratio: 1 / 1; /* la ilustración es cuadrada (500×500) */
  min-height: 150px;
}
.mascota-img__frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.mascota-img__frame > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
button.mascota-img:focus-visible { outline: 3px solid var(--primary); outline-offset: 8px; }
button.mascota-img:active img { transform: scale(0.97); }

/* Señal de que se puede tocar: sin ella el dibujo no parece un control.
   Va arriba a la derecha, fuera del dibujo, para no tapar la ilustración
   ni competir con el botón que hay debajo. */
.mascota-img__hint {
  position: absolute;
  right: -8px;
  top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-brand);
  animation: rpNudge 2.6s var(--ease-in-out) infinite;
  pointer-events: none;
}
.mascota-img__hint .material-symbols-outlined { font-size: 1.05rem; }
@keyframes rpNudge {
  0%, 70%, 100% { transform: translateY(0) scale(1); }
  80%           { transform: translateY(-5px) scale(1.05); }
}
button.mascota-img.is-open .mascota-img__hint { opacity: 0; animation: none; transition: opacity var(--dur-fast) linear; }

/* ---- Ampliación de fotos ---- */
.rp-zoomable { cursor: zoom-in; position: relative; }
.rp-zoomable::after {
  content: 'zoom_in';
  font-family: 'Material Symbols Outlined';
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 47, 74, 0.62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur-fast) linear, transform var(--dur-fast) var(--ease-spring);
  pointer-events: none;
}
.rp-zoomable:hover::after,
.rp-zoomable:focus-visible::after { opacity: 1; transform: scale(1); }

.rp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(3, 26, 48, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out-expo), visibility var(--dur-base);
}
.rp-lightbox.is-open { opacity: 1; visibility: visible; }
.rp-lightbox__figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: scale(0.96);
  transition: transform var(--dur-base) var(--ease-out-expo);
}
.rp-lightbox.is-open .rp-lightbox__figure { transform: none; }
.rp-lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.rp-lightbox__figure figcaption {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rp-lightbox__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur-fast) linear, transform var(--dur-fast) var(--ease-spring);
}
.rp-lightbox__close:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.06); }
body.rp-lightbox-open { overflow: hidden; }

/* ==========================================================================
   19. VERTICAL / MÓVIL
   La mayoría entra desde el teléfono. Aquí no se «adapta» el diseño de
   escritorio: se reordena para el pulgar y para una sola columna.
   ========================================================================== */
@media (max-width: 768px) {

  /* ---- Objetivo táctil: nada por debajo de 44 px ---- */
  .nav-actions a,
  .hamburger,
  .footer-social a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ---- Menú desplegable ----
     El panel es una superficie clara en todos los estados, así que su texto
     tiene que ser navy siempre. Con la inversión a blanco de la píldora
     sobre el hero, los enlaces quedaban blancos sobre blanco. Y en el estado
     azul el blanco sobre #009DFF se quedaba en ~2,6:1 de contraste. */
  .site-nav .nav-links,
  .site-nav.over-dark .nav-links,
  .site-nav .nav-dropdown__panel,
  .site-nav.over-dark .nav-dropdown__panel {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-lg);
  }
  /* Se repiten los selectores con y sin .over-dark porque la regla de
     inversión de la píldora es más específica y ganaba aquí dentro. */
  .site-nav .nav-links a,
  .site-nav.over-dark .nav-links a,
  .site-nav .nav-dropdown__arrow,
  .site-nav.over-dark .nav-dropdown__arrow,
  .site-nav .nav-dropdown__item,
  .site-nav.over-dark .nav-dropdown__item,
  .site-nav .nav-dropdown__header,
  .site-nav.over-dark .nav-dropdown__header,
  .site-nav .nav-dropdown__back,
  .site-nav.over-dark .nav-dropdown__back { color: var(--navy); }

  .site-nav .nav-links a:hover,
  .site-nav .nav-links a.active,
  .site-nav.over-dark .nav-links a:hover,
  .site-nav.over-dark .nav-links a.active {
    color: var(--primary);
    background: rgba(0, 157, 255, 0.10);
  }
  .site-nav .nav-dropdown__scroll-hint .material-symbols-outlined,
  .site-nav.over-dark .nav-dropdown__scroll-hint .material-symbols-outlined { color: rgba(11, 47, 74, 0.45); }

  /* Enlaces del menú: superficie que se puede tocar con el pulgar */
  .nav-links { width: min(320px, calc(100vw - 32px)); gap: 6px; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; justify-content: flex-end; font-size: 1rem; }
  .nav-dropdown__trigger { min-height: 48px; }
  .nav-dropdown__item { min-height: 44px; display: flex; align-items: center; }

  /* ---- Ritmo: menos padding lateral, más aire entre bloques ---- */
  .container { padding: 0 20px; }
  .section-padding { padding: clamp(56px, 13vw, 84px) 0; }
  .section-subtitle { margin-bottom: clamp(28px, 7vw, 40px); }

  /* ---- HERO ----
     100svh evita el salto cuando el navegador esconde su barra. El bloque
     se reparte en tres zonas en vez de flotar centrado en un vacío azul. */
  .reno-hero {
    min-height: 100svh;
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: clamp(88px, 13vh, 120px);
    justify-content: space-evenly;
  }
  .reno-hero__content { padding: 0 1.25rem; }
  /* Tamaño ajustado para que «RENOPIEL 21» quepa en una línea: partido en
     dos, el «21» quedaba colgando y el bloque perdía fuerza. */
  .reno-hero__title {
    font-size: clamp(2.1rem, 11.2vw, 3.4rem);
    letter-spacing: 0.01em;
    text-wrap: balance;
  }
  .reno-hero__subtitle { font-size: 0.78rem; letter-spacing: 0.22em; }
  .reno-hero__tagline {
    font-size: 1.02rem;
    max-width: 26ch;
    margin-top: 1em;
  }

  /* CTA: una tarjeta por fila, alta y con jerarquía.
     Antes eran dos píldoras de 46 px de alto repartidas a lo ancho: mucho
     ancho desperdiciado y muy poca superficie que tocar. */
  .reno-hero__cta-row {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 460px;
    padding: 0 20px;
    margin-top: clamp(20px, 4vh, 32px);
  }
  .reno-hero__cta-row .home-cta-btn {
    min-height: 72px;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 1.06rem;
    gap: 14px;
  }
  .reno-hero__cta-row .home-cta-btn .material-symbols-outlined { font-size: 1.6rem; }
  .home-cta-btn__text small { font-size: 0.76em; }
  .home-cta-btn__go { font-size: 1.3rem !important; opacity: 0.8; }

  /* ---- Franja de cifras: dos arriba, una abajo a lo ancho ---- */
  .reno-features { padding: clamp(40px, 10vw, 56px) 0; }
  .reno-features__grid { grid-template-columns: 1fr 1fr; }
  .reno-features__item { padding: 22px 14px; }
  .reno-features__item + .reno-features__item { border-left: none; }
  .reno-features__item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 26px;
  }
  .reno-features__item:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .reno-features__item:nth-child(3) { grid-column: 1 / -1; padding-top: 26px; }
  .reno-features__item .material-symbols-outlined { font-size: 1.9rem; margin-bottom: 10px; }
  .reno-features__item p:not(.rp-stat) { font-size: 0.82rem; }

  /* ---- Mascota ----
     La lavadora es el único disparador visible en móvil: con ella al tacto,
     el botón de texto de debajo queda duplicado y solo resta espacio. Se
     oculta visualmente (no con display:none) para no perder la ruta de
     teclado/lector de pantalla, y reaparece si recibe el foco. */
  .mascota-block { gap: 14px; }
  button.mascota-img { width: min(300px, 76vw); }

  .mascota-btn {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .mascota-btn:focus-visible {
    position: static;
    width: auto;
    height: auto;
    margin: 12px 0 0;
    padding: 12px 26px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    min-height: 48px;
  }

  /* Insignia «Púlsame»: más grande y con más contraste — es la única señal
     de que la lavadora se toca, ahora que no hay botón de texto al lado. */
  .mascota-img__hint {
    right: -2px;
    top: 6px;
    bottom: auto;
    font-size: 0.92rem;
    padding: 11px 20px;
    box-shadow: 0 10px 26px rgba(0, 157, 255, 0.45), 0 0 0 4px var(--surface-1);
  }
  .mascota-img__hint .material-symbols-outlined { font-size: 1.25rem; }

  /* Servicios centrados y más estrechos: en filas a lo ancho completo el
     texto quedaba pegado al icono y las tarjetas resultaban desiguales. */
  .mascota-pop__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
  }
  .mascota-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    min-height: 84px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    font-size: 0.98rem;
  }
  .mascota-card .material-symbols-outlined { font-size: 1.6rem; flex: none; }
  .mascota-card:hover { transform: none; }
  .mascota-pop.open { max-height: 720px; }
  .mascota-pop__all { min-height: 48px; }

  /* ---- RESULTADOS ----
     Antes cada foto ocupaba una pantalla entera y había que hacer scroll
     para comparar, que es justo lo contrario de un antes/después. Ahora el
     par entra completo en unos dos tercios de pantalla y se puede ampliar. */
  .ba-grid { gap: 22px; }
  .ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border-radius: var(--r-md);
  }
  .ba-item .placeholder-img {
    aspect-ratio: 3 / 4 !important;
    max-height: 56vh;
  }
  /* La foto montada es apaisada: recortarla a vertical partiría el antes o el
     después por la mitad, así que aquí manda el encuadre original. La columna
     única hay que repetirla dentro del media query: la regla de dos columnas
     de .ba-pair va después en el archivo y tiene la misma especificidad. */
  .ba-pair--single { grid-template-columns: 1fr; }
  .ba-pair--single .ba-item .placeholder-img {
    aspect-ratio: 4 / 3 !important;
    max-height: none;
  }
  .ba-label { font-size: 0.68rem; letter-spacing: 0.12em; margin-bottom: 8px; }
  .ba-tag { font-size: 0.6rem; padding: 4px 9px; top: 8px; }
  .ba-tag--before { left: 8px; }
  .ba-tag--after { right: 8px; }
  /* En pantalla táctil no hay hover: la lupa se queda visible */
  .rp-zoomable::after { opacity: 0.9; transform: none; width: 34px; height: 34px; font-size: 18px; }

  /* ---- B2B ---- */
  .b2b-steps { gap: 8px; }
  .b2b-cta-grid .btn { width: 100%; min-height: 52px; }

  /* ---- Testimonio ---- */
  .testimonial-box::before { font-size: 3.5rem; left: 12px; }

  /* ---- Fondo del hero: menos capas, menos batería ---- */
  .hx-caustics { opacity: 0.1; }
  .hx-depth--far { display: none; }

  /* ---- WhatsApp flotante: que no tape el contenido ni el pulgar ---- */
  .whatsapp-float { bottom: max(18px, env(safe-area-inset-bottom)); }
}

/* Móviles pequeños (iPhone SE y similares) */
@media (max-width: 380px) {
  .reno-hero__cta-row .home-cta-btn { min-height: 66px; font-size: 1rem; }
  .home-cta-btn__text small { font-size: 0.72em; }
  .reno-features__grid { grid-template-columns: 1fr; }
  .reno-features__item:nth-child(2) { border-left: none; }
  .reno-features__item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
}
