/* Run Can Fest Ambato — estilos de la landing.
   Colores y tipografías: contexto/guia_de_estilo.md */

@font-face {
  font-family: "Helvetica Condensed Black";
  src: url("../assets/fuentes/helvetica-condensed-black-oblique.otf") format("opentype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

:root {
  --azul: #009fe3;
  --azul-real: #0b4fae;
  --azul-profundo: #03205a;
  --azul-medio: #00587a;
  --marino: #011e5d;
  --amarillo: #fec600;
  --naranja: #e74010;
  --hielo: #eef7fc;
  --tinta: #00384d;
  --tinta-suave: #2c4a5c;
  --blanco: #fff;
  --celeste-texto: #cfe6f2;
  --verde: #12804a;
  --ambar: #b56a00;

  --fuente-titulo: "Helvetica Condensed Black", "Barlow Condensed", "Arial Narrow", sans-serif;
  --fuente-texto: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --margen: clamp(1.5rem, 5.5vw, 5rem);
  --ancho: 80rem;
  --corte: clamp(1.5rem, 4.2vw, 3.75rem);
  --salida: cubic-bezier(0.23, 1, 0.32, 1);
  --marca-x: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--fuente-texto);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--azul-profundo);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 4px; }
.sobre-claro :focus-visible, .formulario :focus-visible { outline-color: var(--azul-real); }

.oculto-visual {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.saltar {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amarillo); color: var(--tinta); padding: 0.75rem 1rem; border-radius: 0.5rem;
  font-weight: 800; transition: top 160ms var(--salida);
}
.saltar:focus { top: 1rem; }

.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--margen); }

.titulo {
  font-family: var(--fuente-titulo);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0;
}

.antetitulo {
  font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amarillo);
}
.sobre-claro .antetitulo { color: var(--azul-real); }

.titulo-seccion { font-size: clamp(2.5rem, 5.4vw, 4.25rem); margin-top: 0.75rem; }

/* ---------- Botones ---------- */

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.9rem 1.75rem;
  border: 0; border-radius: 0.875rem; cursor: pointer; text-decoration: none;
  font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: 1.5rem; line-height: 1;
  background: var(--amarillo); color: var(--tinta);
  transition: transform 160ms var(--salida), box-shadow 200ms var(--salida), background-color 200ms ease;
}
.boton:active { transform: scale(0.97); }
.boton--grande { font-size: clamp(1.5rem, 2.4vw, 1.875rem); padding: 1.2rem 2.25rem; box-shadow: 0 0.6rem 1.75rem rgb(1 30 93 / 40%); }
.boton--nav { font-family: var(--fuente-texto); font-style: normal; font-weight: 800; font-size: 1rem; padding: 0.7rem 1.3rem; min-height: 2.75rem; border-radius: 0.625rem; }
.boton--oscuro { background: var(--tinta); color: var(--blanco); font-family: var(--fuente-texto); font-style: normal; font-weight: 700; font-size: 1rem; text-transform: none; }
.boton--borde { background: var(--blanco); color: var(--tinta); box-shadow: inset 0 0 0 2px var(--tinta); font-family: var(--fuente-texto); font-style: normal; font-weight: 700; font-size: 1rem; text-transform: none; }
.boton--ancho { width: 100%; }
.boton[disabled] { opacity: 0.6; cursor: progress; }

@media (hover: hover) and (pointer: fine) {
  .boton:hover { transform: translateY(-2px); }
  .boton:hover:active { transform: scale(0.97); }
  .nav__enlaces a:not(.boton):hover, .pie__enlaces a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
}

/* ---------- Cortes diagonales ---------- */

.corte { position: relative; }
.corte::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: var(--corte);
  background: var(--color-anterior); pointer-events: none; z-index: 1;
}
.corte--a::before { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.corte--b::before { clip-path: polygon(0 0, 100% 0, 0 100%); }

/* ---------- Navegación ---------- */

.nav { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.nav__barra { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.nav__logo img { width: clamp(4rem, 7vw, 6rem); }
.nav__enlaces { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.nav__enlaces a:not(.boton) { color: var(--blanco); font-weight: 600; text-decoration: none; padding: 0.5rem 0; }
@media (max-width: 52rem) { .nav__enlaces li:not(.nav__cta) { display: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--azul-medio); color: var(--blanco);
  min-height: min(100svh, 56rem);
  display: grid; align-items: end;
  padding-top: 7rem; padding-bottom: calc(var(--corte) + 2rem);
}
.hero__foto { position: absolute; inset: 0 0 0 auto; width: min(58%, 60rem); z-index: -2; overflow: hidden; }
.hero__foto img { width: 100%; height: 108%; object-fit: cover; object-position: 50% 30%; transform: translate3d(0, var(--paralaje, 0px), 0); will-change: transform; }
.hero__foto::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 45%; z-index: 1; background: linear-gradient(90deg, var(--azul-medio), transparent); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(1 30 93 / 92%)); }
.hero__corte { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--corte); background: var(--naranja); clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 2; }

.hero__contenido { max-width: 44rem; display: grid; gap: 1.5rem; }
.hero__ante { display: flex; align-items: center; gap: 0.9rem; font-size: clamp(1.05rem, 1.8vw, 1.6rem); }
.hero__ante::before { content: ""; width: 3.5rem; height: 4px; background: var(--blanco); flex: none; }
.hero__titular { font-size: clamp(2.5rem, 6.1vw, 4.4rem); line-height: 0.96; }
.hero__titular span { display: block; overflow: hidden; padding-block: 0.06em; }
.hero__titular span > i { display: block; font-style: inherit; }
.hero__titular .destacado { color: var(--amarillo); }
.hero__bajada { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 34rem; color: #e3f3fb; }
.hero__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.hero__enlace { color: var(--blanco); font-weight: 600; text-underline-offset: 0.3em; }

.hero__datos { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; list-style: none; margin: 0.5rem 0 0; padding: 0; }
.hero__datos li { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; text-transform: uppercase; line-height: 1.25; font-size: 0.975rem; }
.hero__datos li + li { padding-left: 2.25rem; border-left: 2px solid rgb(255 255 255 / 33%); }
.hero__datos svg { width: 2rem; height: 2rem; color: var(--amarillo); flex: none; }
.hero__datos b { display: block; color: var(--amarillo); font-weight: 700; }
.hero__datos .dos-k { font-family: var(--fuente-titulo); font-style: italic; font-size: 3rem; color: var(--amarillo); line-height: 1; }

.hero__sello { position: absolute; right: clamp(1rem, 7vw, 8rem); bottom: calc(var(--corte) + 3rem); width: clamp(15rem, 30vw, 27rem); z-index: 1; filter: drop-shadow(0 0.75rem 1.5rem rgb(1 30 93 / 45%)); }

@media (max-width: 52rem) {
  .hero { min-height: 0; padding-top: 6.25rem; align-items: start; }
  .hero__interior { display: grid; }
  .hero__contenido { display: contents; }
  .hero__ante { grid-row: 1; }
  .hero__titular { grid-row: 2; margin-top: 0.9rem; }
  .hero__foto { position: relative; inset: auto; grid-row: 3; width: calc(100% + 2 * var(--margen)); height: 23rem; margin: 0.75rem calc(-1 * var(--margen)) -6.5rem; }
  .hero__foto img { object-position: 50% 22%; }
  .hero__foto::before { inset: 0 0 auto 0; width: 100%; height: 30%; background: linear-gradient(180deg, var(--azul-medio), transparent); }
  .hero__foto::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, transparent, var(--marino) 78%); }
  .hero::after { display: none; }
  .hero { background: linear-gradient(180deg, var(--azul-medio) 55%, var(--marino) 78%); }
  .hero__bajada { grid-row: 4; position: relative; }
  .hero__acciones { grid-row: 5; margin-top: 1.25rem; position: relative; }
  .hero__acciones .boton { width: 100%; }
  .hero__enlace { display: none; }
  .hero__datos { grid-row: 6; margin-top: 1.5rem; gap: 0.9rem 1.5rem; position: relative; }
  .hero__datos li + li { padding-left: 1.5rem; }
  .hero__datos .solo-escritorio { display: none; }
  .hero__sello { display: none; }
}

/* ---------- Cuenta regresiva ---------- */

.cuenta { position: relative; overflow: hidden; background: var(--naranja); color: var(--blanco); text-align: center; padding-block: 3.5rem calc(var(--corte) + 3rem); }
.cuenta__patron {
  position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='184' viewBox='0 0 132 184' fill='none' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23f4633a' transform='translate(12 12) rotate(-18 23 23) scale(1.9)'%3E%3Ccircle cx='11' cy='4' r='2'/%3E%3Ccircle cx='18' cy='8' r='2'/%3E%3Ccircle cx='20' cy='16' r='2'/%3E%3Cpath d='M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z'/%3E%3C/g%3E%3Cg stroke='%23d93a0d' transform='translate(78 104) rotate(18 23 23) scale(1.9)'%3E%3Ccircle cx='11' cy='4' r='2'/%3E%3Ccircle cx='18' cy='8' r='2'/%3E%3Ccircle cx='20' cy='16' r='2'/%3E%3Cpath d='M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z'/%3E%3C/g%3E%3C/svg%3E");
}
.cuenta__titulo { position: relative; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: clamp(0.9rem, 1.6vw, 1.2rem); }
.cuenta__reloj { position: relative; display: flex; justify-content: center; gap: clamp(0.6rem, 1.8vw, 1.4rem); margin-top: 1.75rem; }
.cuenta__unidad { display: grid; gap: 0.6rem; }
.cuenta__unidad small { font-weight: 800; letter-spacing: 0.14em; font-size: 0.8125rem; }
.cuenta__caja { display: grid; place-items: center; width: clamp(4.6rem, 12.5vw, 11.5rem); height: clamp(5rem, 10.5vw, 9.4rem); border-radius: 0.75rem; background: var(--tinta); overflow: hidden; padding-right: 0.06em; }
.cuenta__caja b { font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: clamp(2.4rem, 6.2vw, 5.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cuenta__caja b.cambia { animation: digito 380ms var(--salida); }
@keyframes digito { from { transform: translateY(55%); opacity: 0; } }

.marca-agua {
  position: absolute; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: 1;
  transform: translate3d(var(--marca-x), 0, 0) rotate(var(--giro, -6deg)); will-change: transform;
}
.cuenta .marca-agua { right: -2%; top: 8%; font-size: clamp(9rem, 24vw, 21rem); color: #f25a2e; --giro: 0deg; }

/* ---------- Cifras ---------- */

.oscura { background: var(--azul-profundo); color: var(--blanco); }
.cifras { position: relative; overflow: hidden; padding-block: calc(var(--corte) + 5rem) 6rem; --color-anterior: var(--naranja); }
.cifras .marca-agua { right: -4%; top: 14%; font-size: clamp(9rem, 26vw, 22rem); color: #0a2e73; }
.cifras__lista { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; list-style: none; margin: 3.5rem 0 0; padding: 0; }
.cifras__lista li { padding-block: 2rem; border-top: 1px solid rgb(255 255 255 / 18%); }
.cifras__lista b { display: block; font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: clamp(3.2rem, 7.4vw, 6.5rem); line-height: 1; color: var(--amarillo); font-variant-numeric: tabular-nums; }
.cifras__lista span { display: block; margin-top: 0.6rem; font-weight: 600; color: #e3f3fb; max-width: 18rem; }
@media (max-width: 52rem) { .cifras__lista { grid-template-columns: repeat(2, 1fr); gap: 0 1.25rem; margin-top: 2rem; } .cifras__lista li { padding-block: 1.25rem; } }

/* ---------- Kit ---------- */

.sobre-claro { background: var(--hielo); color: var(--tinta); }
.kit { padding-block: calc(var(--corte) + 5rem) 7rem; --color-anterior: var(--azul-profundo); }
.kit__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kit__visual { position: relative; }
.kit__visual::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: var(--azul); transform: scale(var(--halo, 0.6)); opacity: var(--halo-o, 0); transition: transform 900ms var(--salida), opacity 500ms ease; }
.kit__visual.visible::before { --halo: 1; --halo-o: 1; }
.kit__visual img { position: relative; width: 100%; }
.kit__bajada { margin-top: 1rem; font-size: 1.2rem; color: var(--tinta-suave); max-width: 32rem; }
.kit__lista { list-style: none; margin: 2.25rem 0 0; padding: 0; counter-reset: pieza; }
.kit__lista li { counter-increment: pieza; display: grid; grid-template-columns: 3.4rem minmax(9rem, 15.5rem) 1fr; gap: 0 1rem; align-items: center; padding-block: 1.1rem; border-top: 1px solid rgb(0 56 77 / 14%); }
.kit__lista li::before { content: "0" counter(pieza); font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: 1.875rem; color: var(--azul); line-height: 1; }
.kit__lista b { font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.kit__lista span { color: var(--tinta-suave); }
@media (max-width: 62rem) { .kit__lista li { grid-template-columns: 3rem 1fr; } .kit__lista span { grid-column: 2; margin-top: 0.2rem; } }
@media (max-width: 52rem) { .kit { padding-bottom: 4rem; } .kit__rejilla { grid-template-columns: 1fr; } .kit__visual { order: 2; max-width: 26rem; margin-inline: auto; } .kit__texto { display: contents; } .kit__encabezado { order: 1; } .kit__lista { order: 3; margin-top: 0; } }

/* ---------- Donación ---------- */

.donacion { position: relative; isolation: isolate; overflow: hidden; background: #063a8c; color: var(--blanco); padding-block: calc(var(--corte) + 6rem) calc(var(--corte) + 7rem); --color-anterior: var(--hielo); }
.donacion__fondo { position: absolute; inset: 0; z-index: -2; }
.donacion__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 52%; }
.donacion::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 22%, #063a8c 58%, var(--azul-profundo)); }
.donacion__corte { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--corte); background: var(--hielo); clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 1; }
.donacion__texto { margin-left: auto; max-width: 38rem; display: grid; gap: 1.25rem; justify-items: start; }
.donacion__ante { display: flex; align-items: center; gap: 0.9rem; font-size: clamp(1.3rem, 2.4vw, 2.1rem); }
.donacion__ante::before { content: ""; width: 3.5rem; height: 4px; background: var(--blanco); }
.donacion__cifra { font-size: clamp(4.5rem, 11vw, 8.75rem); color: var(--amarillo); line-height: 0.9; }
.donacion__sub { font-size: clamp(2rem, 4.6vw, 4rem); }
.donacion__cuerpo { font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 600; max-width: 32rem; }
@media (max-width: 52rem) {
  .donacion { padding-block: calc(var(--corte) + 3rem) calc(var(--corte) + 3rem); }
  .donacion__fondo { inset: auto 0 0 0; height: 62%; }
  .donacion__fondo img { object-position: 0 60%; }
  .donacion::after { background: linear-gradient(180deg, #063a8c 34%, rgb(6 58 140 / 85%) 48%, transparent 66%); }
  .donacion__texto { justify-items: end; text-align: right; }
  .donacion__ante::before { display: none; }
  .donacion__texto .boton { margin-top: 15rem; width: 100%; }
}

/* ---------- Planes ---------- */

.planes { padding-block: 6rem 7rem; }
.planes__rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3.25rem; }
.plan { display: grid; gap: 0.9rem; align-content: start; padding: 2.25rem; border-radius: 1.25rem; background: var(--blanco); box-shadow: inset 0 0 0 1.5px rgb(0 56 77 / 15%); }
.plan__nombre { font-weight: 800; letter-spacing: 0.13em; font-size: 0.9375rem; color: var(--azul-real); }
.plan__precio { display: flex; align-items: flex-end; gap: 0.6rem; font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: clamp(4.5rem, 8vw, 7rem); line-height: 0.9; }
.plan__precio small { font-family: var(--fuente-texto); font-style: normal; font-weight: 800; font-size: 1.1rem; padding-bottom: 0.5rem; }
.plan__condicion { font-weight: 800; font-size: 1.15rem; line-height: 1.3; }
.plan__detalle { color: var(--tinta-suave); }
.plan--destacado { background: var(--azul-profundo); color: var(--blanco); box-shadow: none; }
.plan--destacado .plan__nombre, .plan--destacado .plan__precio { color: var(--amarillo); }
.plan--destacado .plan__precio small { color: var(--blanco); }
.plan--destacado .plan__detalle { color: var(--celeste-texto); }
.planes__nota { margin-top: 1.5rem; font-weight: 600; color: var(--tinta-suave); }

.categorias { display: grid; grid-template-columns: 19rem 1fr; gap: 2rem 3rem; align-items: center; margin-top: 3.5rem; padding-top: 2.25rem; border-top: 1.5px solid rgb(0 56 77 / 20%); }
.categorias h3 { font-size: 2.5rem; }
.categorias p { color: var(--tinta-suave); margin-top: 0.3rem; }
.categorias ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.categorias li { padding-left: 1.2rem; border-left: 4px solid var(--naranja); }
.categorias li b { display: block; font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.15rem, 2.2vw, 1.75rem); line-height: 1.05; }
.categorias li span { font-weight: 600; color: var(--tinta-suave); }
@media (max-width: 62rem) { .planes__rejilla { grid-template-columns: 1fr; gap: 1rem; } .plan { padding: 1.5rem; } .categorias { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .categorias ul { gap: 0.75rem; } .categorias li { padding-left: 0.6rem; border-left-width: 3px; } .categorias li span { font-size: 0.875rem; } }

/* ---------- Pasos ---------- */

.pasos { padding-block: calc(var(--corte) + 6rem) 0; --color-anterior: var(--hielo); }
.pasos__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; list-style: none; margin: 3rem 0 0; padding: 0; counter-reset: paso; }
.pasos__lista li { counter-increment: paso; padding-top: 1.75rem; border-top: 3px solid var(--amarillo); }
.pasos__lista li::before { content: "0" counter(paso); display: block; font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: 4.5rem; line-height: 1; color: var(--amarillo); }
.pasos__lista h3 { font-size: 2rem; margin-top: 1rem; }
.pasos__lista p { margin-top: 0.5rem; color: var(--celeste-texto); font-size: 1.1rem; }
@media (max-width: 52rem) { .pasos__lista { grid-template-columns: 1fr; gap: 0; margin-top: 1.75rem; } .pasos__lista li { display: grid; grid-template-columns: 4rem 1fr; gap: 0 1rem; padding-block: 1.25rem; } .pasos__lista li::before { font-size: 2.75rem; grid-row: span 2; } .pasos__lista h3 { margin-top: 0; font-size: 1.5rem; } }

/* ---------- Inscripción ---------- */

.inscripcion { padding-block: 6.5rem 7rem; }
.inscripcion__rejilla { display: grid; grid-template-columns: minmax(0, 27.5rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.inscripcion__texto { display: grid; gap: 1.5rem; position: sticky; top: 2rem; }
.inscripcion__titulo { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
.inscripcion__bajada { color: var(--celeste-texto); font-size: 1.15rem; }
.inscripcion__puntos { list-style: none; margin: 0; padding: 1.5rem 0 0; display: grid; gap: 1rem; border-top: 1px solid rgb(255 255 255 / 20%); font-weight: 600; font-size: 1.1rem; }
.inscripcion__puntos li { display: flex; gap: 0.85rem; align-items: center; }
.inscripcion__puntos svg { width: 1.5rem; height: 1.5rem; color: var(--amarillo); flex: none; }
@media (max-width: 62rem) { .inscripcion { padding-block: 3.5rem 4rem; } .inscripcion__rejilla { grid-template-columns: 1fr; } .inscripcion__texto { position: static; } .inscripcion__puntos { display: none; } }

.formulario { background: var(--blanco); color: var(--tinta); border-radius: 1.25rem; padding: clamp(1.25rem, 3.4vw, 2.75rem); display: grid; gap: 1.4rem; }
.formulario h3 { font-size: 1.625rem; }
.formulario__ayuda { color: var(--tinta-suave); font-size: 0.9375rem; margin-top: 0.25rem; }
.formulario hr { width: 100%; border: 0; border-top: 1px solid rgb(0 56 77 / 12%); margin: 0; }
.trampa { position: absolute; left: -9999px; }

.cantidad { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.contador { display: inline-flex; border: 2px solid var(--tinta); border-radius: 0.75rem; overflow: hidden; }
.contador button { width: 3.5rem; height: 3.5rem; border: 0; background: #f4f9fc; cursor: pointer; display: grid; place-items: center; transition: background-color 160ms ease, transform 120ms var(--salida); }
.contador button:last-child { background: var(--amarillo); }
.contador button:active { transform: scale(0.94); }
.contador button[disabled] { opacity: 0.4; cursor: not-allowed; }
.contador svg { width: 1.5rem; height: 1.5rem; }
.contador output { width: 4.5rem; display: grid; place-items: center; font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: 2.125rem; line-height: 1; }
.plan-aplicado { flex: 1 1 15rem; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.1rem; border-radius: 0.75rem; background: #fff6d1; }
.plan-aplicado svg { width: 1.5rem; height: 1.5rem; flex: none; }
.plan-aplicado b { display: block; font-weight: 800; }
.plan-aplicado small { color: var(--tinta-suave); font-size: 0.8125rem; }

.participante { background: var(--hielo); border-radius: 0.875rem; }
.participante > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; font-weight: 800; }
.participante > summary::-webkit-details-marker { display: none; }
.participante > summary small { display: block; font-weight: 500; color: var(--tinta-suave); font-size: 0.875rem; }
.participante > summary svg { width: 1.4rem; height: 1.4rem; flex: none; transition: transform 200ms var(--salida); }
.participante[open] > summary svg { transform: rotate(180deg); }
.participante.con-error > summary { color: #a12a06; }
.participante__campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0 1.35rem 1.35rem; }
@media (max-width: 40rem) { .participante__campos { grid-template-columns: 1fr; } .participante > summary, .participante__campos { padding-inline: 1rem; } }

.campo { display: grid; gap: 0.45rem; align-content: start; }
.campo label { font-weight: 700; font-size: 0.9375rem; }
.campo input, .campo select {
  width: 100%; height: 3.25rem; padding: 0 1rem; border-radius: 0.625rem;
  border: 1.5px solid #8ba6b5; background: var(--blanco); font-size: 1rem; font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.campo select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232c4a5c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.75rem; }
.campo input::placeholder { color: #5c7686; }
.campo input:focus-visible, .campo select:focus-visible { outline: none; border-color: var(--azul-real); box-shadow: 0 0 0 3px rgb(11 79 174 / 22%); }
.campo [aria-invalid="true"] { border-color: #c2330a; box-shadow: 0 0 0 3px rgb(231 64 16 / 16%); }
.campo .error { color: #a12a06; font-size: 0.875rem; font-weight: 600; min-height: 0; }
.campo .error:empty { display: none; }

.pago { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.75rem; padding: 1.5rem; border-radius: 0.875rem; background: var(--azul-profundo); color: var(--blanco); }
.pago small { display: block; font-weight: 800; letter-spacing: 0.1em; font-size: 0.8125rem; color: var(--amarillo); text-transform: uppercase; }
.pago b { display: block; font-size: 1.2rem; font-weight: 800; margin-top: 0.35rem; }
.pago p { color: var(--celeste-texto); font-size: 0.9375rem; margin-top: 0.25rem; }
.pago__total { text-align: right; }
.pago__total output { display: block; font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: 4rem; line-height: 1; }
@media (max-width: 40rem) { .pago__total { text-align: left; } }

.subir { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 3.75rem; padding: 0.9rem 1rem; border-radius: 0.625rem; border: 1.5px dashed #5c7686; background: #f4f9fc; font-weight: 700; cursor: pointer; text-align: center; transition: border-color 160ms ease, background-color 160ms ease; }
.subir svg { width: 1.4rem; height: 1.4rem; flex: none; }
.subir input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.subir:focus-within { border-color: var(--azul-real); box-shadow: 0 0 0 3px rgb(11 79 174 / 22%); }
.subir.con-archivo { border-style: solid; border-color: var(--verde); background: #eaf7ef; }
.subir.con-error { border-color: #c2330a; }

.acepto { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.9375rem; color: var(--tinta-suave); }
.acepto input { width: 1.4rem; height: 1.4rem; margin: 0.1rem 0 0; accent-color: var(--azul-real); }
.acepto a { color: var(--azul-real); font-weight: 700; }

.aviso { padding: 1rem 1.2rem; border-radius: 0.75rem; font-weight: 600; background: #fdebe5; color: #8a2405; border-left: 5px solid var(--naranja); }
.aviso[hidden] { display: none; }

.exito { display: grid; gap: 1.25rem; }
.exito__franja { display: flex; align-items: center; gap: 0.9rem; margin: calc(-1 * clamp(1.25rem, 3.4vw, 2.75rem)); margin-bottom: 0; padding: 1.35rem clamp(1.25rem, 3.4vw, 2.75rem); background: var(--ambar); color: var(--blanco); border-radius: 1.25rem 1.25rem 0 0; }
.exito__franja svg { width: 2rem; height: 2rem; flex: none; }
.exito__franja h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.exito__codigos { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.exito__codigos li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.9rem 1.1rem; border-radius: 0.75rem; background: var(--hielo); font-weight: 600; }
.exito__codigos b { font-family: var(--fuente-titulo); font-style: italic; font-size: 1.5rem; line-height: 1; }

/* ---------- Preguntas ---------- */

.preguntas { padding-block: calc(var(--corte) + 6rem) 7.5rem; --color-anterior: var(--azul-profundo); }
.preguntas__rejilla { display: grid; grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.preguntas__bajada { margin-top: 1.25rem; color: var(--tinta-suave); font-size: 1.1rem; }
.pregunta { border-top: 1.5px solid rgb(0 56 77 / 20%); }
.pregunta:last-child { border-bottom: 1.5px solid rgb(0 56 77 / 20%); }
.pregunta summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem; font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.375rem); line-height: 1.3; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: ""; width: 1.5rem; height: 1.5rem; flex: none; background: currentColor; transition: transform 260ms var(--salida), background-color 200ms ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat; }
.pregunta[open] summary::after { transform: rotate(45deg); background: var(--naranja); }
.pregunta p { padding-bottom: 1.5rem; max-width: 42rem; color: var(--tinta-suave); font-size: 1.1rem; }
@media (max-width: 62rem) { .preguntas { padding-bottom: 4.5rem; } .preguntas__rejilla { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */

.pie { position: relative; overflow: hidden; background: var(--amarillo); color: var(--tinta); text-align: center; padding-block: calc(var(--corte) + 5rem) 2.75rem; --color-anterior: var(--hielo); }
.pie .marca-agua { color: #f2b600; }
.pie .marca-agua--1 { right: -3%; top: 12%; font-size: clamp(8rem, 18vw, 16rem); --giro: -8deg; }
.pie .marca-agua--2 { left: -5%; top: 40%; font-size: clamp(4.5rem, 13vw, 12rem); --giro: -6deg; }
.pie .marca-agua--3 { right: -6%; bottom: -4%; font-size: clamp(6rem, 14.5vw, 13rem); --giro: -8deg; }
.pie__interior { position: relative; display: grid; justify-items: center; gap: 2.5rem; }
.pie__logo img { width: clamp(9rem, 14vw, 12rem); }
.pie__enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.5rem; list-style: none; margin: 0; padding: 0; font-weight: 700; }
.pie__enlaces a { text-decoration: none; display: inline-block; padding: 0.5rem 0; }
.pie__aliados { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 1.75rem 4.5rem; padding-top: 2.25rem; border-top: 1.5px solid rgb(0 56 77 / 20%); }
.pie__aliados small { display: block; font-weight: 800; letter-spacing: 0.14em; font-size: 0.8125rem; color: #4a3a00; margin-bottom: 0.85rem; }
.pie__aliados div > div { display: flex; align-items: center; justify-content: center; gap: 1.6rem; }
.logo-tinta { display: block; background: var(--tinta); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.logo-tinta--la-hora { height: 2.4rem; aspect-ratio: 390 / 79; -webkit-mask-image: url("../assets/img/logo-la-hora.webp"); mask-image: url("../assets/img/logo-la-hora.webp"); }
.logo-tinta--super-mascotas { height: 2.9rem; aspect-ratio: 334 / 144; -webkit-mask-image: url("../assets/img/logo-super-mascotas.webp"); mask-image: url("../assets/img/logo-super-mascotas.webp"); }
.logo-tinta--don-dog { height: 3.6rem; aspect-ratio: 414 / 204; -webkit-mask-image: url("../assets/img/logo-don-dog.webp"); mask-image: url("../assets/img/logo-don-dog.webp"); }
.pie__aliados i { width: 1.5px; height: 2.25rem; background: rgb(0 56 77 / 40%); }
.pie__legal { font-size: 0.875rem; font-weight: 600; color: #4a3a00; }

/* ---------- Botón flotante ---------- */

.flotante { position: fixed; z-index: 40; right: 2rem; bottom: 2rem; transform: translateY(160%); opacity: 0; transition: transform 420ms var(--salida), opacity 260ms ease; pointer-events: none; }
.flotante.visible { transform: none; opacity: 1; pointer-events: auto; }
.flotante .boton { border-radius: 999px; box-shadow: 0 0 0 2px var(--tinta), 0 0.5rem 1.5rem rgb(1 30 93 / 35%); }
.flotante__resumen { display: none; }
@media (max-width: 52rem) {
  .flotante { inset: auto 0 0 0; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem calc(0.9rem + env(safe-area-inset-bottom)); background: var(--azul-profundo); color: var(--blanco); box-shadow: 0 -0.4rem 1.25rem rgb(1 30 93 / 40%); border-top: 1px solid rgb(255 255 255 / 18%); }
  .flotante__resumen { display: block; flex: 1; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
  .flotante__resumen b { display: block; color: var(--amarillo); font-weight: 800; letter-spacing: 0.06em; font-size: 0.8125rem; }
  .flotante .boton { border-radius: 0.75rem; box-shadow: none; font-size: 1.25rem; padding: 0.85rem 1.2rem; }
}

/* ---------- Páginas interiores ---------- */

.cabecera { position: relative; overflow: hidden; background: var(--azul-profundo); color: var(--blanco); padding: 7.5rem 0 calc(var(--corte) + 4rem); }
.cabecera .marca-agua { right: -3%; top: 12%; font-size: clamp(8rem, 24vw, 21rem); color: #0a2e73; }
.cabecera__corte { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--corte); background: var(--hielo); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.cabecera__interior { position: relative; display: grid; gap: 1.25rem; }
.cabecera__ante { display: flex; align-items: center; gap: 0.75rem; }
.cabecera__ante::before { content: ""; width: 3.5rem; height: 4px; background: var(--amarillo); }
.cabecera h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1.05; }
.cabecera p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #e3f3fb; max-width: 35rem; }

.consulta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; max-width: 39rem; margin-top: 0.5rem; }
.consulta .campo { flex: 1 1 15rem; }
.consulta .campo label { color: var(--blanco); }
.consulta .campo input { height: 3.625rem; border: 2px solid var(--amarillo); font-size: 1.2rem; font-weight: 600; }
.consulta .campo .error { color: #ffd9cc; }
.consulta .boton { height: 3.625rem; }

.resultado { padding-block: 3.75rem 7rem; }
.resultado__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25.5rem); gap: 3rem; align-items: start; }
@media (max-width: 62rem) { .resultado__rejilla { grid-template-columns: 1fr; } }
.estado { background: var(--blanco); border-radius: 1.25rem; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(0 56 77 / 12%); }
.estado__franja { display: flex; align-items: center; gap: 0.9rem; padding: 1.35rem clamp(1.25rem, 3vw, 2.25rem); color: var(--blanco); background: var(--tinta); }
.estado__franja svg { width: 2.1rem; height: 2.1rem; flex: none; }
.estado__franja h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.estado[data-estado="verificado"] .estado__franja { background: var(--verde); }
.estado[data-estado="revision"] .estado__franja { background: var(--ambar); }
.estado[data-estado="sin-comprobante"] .estado__franja, .estado[data-estado="anulado"] .estado__franja { background: #c2330a; }
.estado__cuerpo { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.estado__mensaje { font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; }
.estado__datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 1.25rem 2rem; margin: 0; padding-top: 1.4rem; border-top: 1px solid rgb(0 56 77 / 14%); }
.estado__datos dt { font-weight: 800; letter-spacing: 0.1em; font-size: 0.8125rem; text-transform: uppercase; color: var(--azul-real); }
.estado__datos dd { margin: 0.35rem 0 0; font-weight: 700; font-size: 1.25rem; }
.estado__acciones { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.resultado__vacio { color: var(--tinta-suave); font-size: 1.15rem; max-width: 34rem; }
.estado.entra { animation: entra 520ms var(--salida); }
@keyframes entra { from { opacity: 0; transform: translateY(1.25rem); } }

.programa { background: var(--azul-profundo); color: var(--blanco); border-radius: 1.25rem; overflow: hidden; }
.programa img { width: 100%; height: 18.75rem; object-fit: cover; object-position: 50% 28%; }
.programa__cuerpo { display: grid; gap: 1.1rem; padding: 1.85rem; }
.programa h2 { font-size: 2.5rem; }
.programa ul { list-style: none; margin: 0; padding: 0; }
.programa li { display: flex; align-items: center; gap: 1rem; padding-block: 0.8rem; border-top: 1px solid rgb(255 255 255 / 18%); font-weight: 600; }
.programa li b { font-family: var(--fuente-titulo); font-style: italic; font-size: 1.5rem; color: var(--amarillo); line-height: 1; }
.programa p { font-size: 0.9375rem; color: var(--celeste-texto); }

.legal { padding-block: 4.5rem 7.5rem; }
.legal__rejilla { display: grid; grid-template-columns: 17.5rem minmax(0, 47.5rem); gap: 5.5rem; align-items: start; }
.legal__indice { position: sticky; top: 2rem; display: grid; gap: 0.6rem; }
.legal__indice a { display: block; padding: 0.75rem 1rem; border-left: 4px solid rgb(0 56 77 / 14%); font-weight: 600; text-decoration: none; }
.legal__indice a:first-of-type { border-color: var(--naranja); font-weight: 800; }
.legal__cuerpo { display: grid; gap: 4rem; }
.legal__aviso { display: flex; gap: 0.9rem; align-items: center; padding: 1.1rem 1.4rem; border-radius: 0.75rem; background: var(--amarillo); font-weight: 700; }
.legal__aviso svg { width: 1.5rem; height: 1.5rem; flex: none; }
.legal h2 { font-size: clamp(2rem, 4vw, 3rem); }
.legal ol { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: apartado; }
.legal ol li { counter-increment: apartado; display: grid; grid-template-columns: 3.25rem 1fr; padding-block: 1.6rem; border-top: 1px solid rgb(0 56 77 / 14%); }
.legal ol li::before { content: "0" counter(apartado); font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; font-size: 1.75rem; color: var(--azul); line-height: 1.1; }
.legal ol h3 { font-weight: 800; font-size: 1.375rem; line-height: 1.25; }
.legal ol p { margin-top: 0.5rem; color: var(--tinta-suave); line-height: 1.6; }
@media (max-width: 62rem) { .legal__rejilla { grid-template-columns: 1fr; gap: 2rem; } .legal__indice { display: none; } }

/* ---------- Animaciones de entrada ---------- */

.js .revela { opacity: 0; transform: translateY(1.75rem); transition: opacity 700ms ease, transform 900ms var(--salida); transition-delay: calc(var(--orden, 0) * 70ms); }
.js .revela.visible { opacity: 1; transform: none; }
.js .corte::before { transform: scaleY(0); transform-origin: top; transition: transform 900ms var(--salida); }
.js .corte.visible::before { transform: none; }
.js .hero__titular span > i { transform: translateY(110%); animation: sube 900ms var(--salida) forwards; animation-delay: calc(180ms + var(--orden, 0) * 110ms); }
.js .hero__ante, .js .hero__bajada, .js .hero__acciones, .js .hero__datos { opacity: 0; animation: aparece 800ms var(--salida) forwards; animation-delay: calc(520ms + var(--orden, 0) * 90ms); }
.js .hero__sello { opacity: 0; animation: sello 900ms var(--salida) 900ms forwards; }
@keyframes sube { to { transform: none; } }
@keyframes aparece { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes sello { from { opacity: 0; transform: translateY(1.5rem) rotate(-3deg) scale(0.94); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .revela, .js .hero__titular span > i { opacity: 1; transform: none; }
  .hero__foto img, .marca-agua { transform: none; }
  .marca-agua { transform: rotate(var(--giro, -6deg)); }
}

/* ---------- Ajustes tras la revisión en navegador ---------- */

.marca-agua { z-index: 0; }
.cuenta > .contenedor, .cifras > .contenedor, .cabecera > .contenedor { position: relative; z-index: 1; }
.kit__lista li { grid-template-columns: 3.4rem minmax(9rem, 13.5rem) 1fr; }

@media (max-width: 62rem) {
  .kit__lista li { grid-template-columns: 3rem 1fr; }
}

@media (max-width: 52rem) {
  .hero__datos { flex-direction: column; gap: 0.8rem; }
  .hero__datos li + li { padding-left: 0; border-left: 0; }
  .pie__aliados div > div { gap: 1rem; }
  .logo-tinta--la-hora { height: 1.75rem; }
  .logo-tinta--super-mascotas { height: 2.2rem; }
  .logo-tinta--don-dog { height: 3rem; }
  .pie__enlaces { gap: 0.25rem 1.5rem; }
}

[hidden] { display: none !important; }

.enlace-texto { color: var(--amarillo); font-weight: 700; text-underline-offset: 0.25em; }
.sobre-claro .enlace-texto { color: var(--azul-real); }

/* ---------- Pie: cinta en movimiento y patrón de huellas (reemplaza los textos de fondo) ---------- */

.pie { padding-top: 0; }
.pie__interior { padding-top: 4.5rem; }
.cinta { position: relative; z-index: 1; overflow: hidden; background: var(--azul-profundo); color: var(--amarillo); padding-block: 0.9rem; }
.cinta__pista { display: flex; align-items: center; gap: 2.25rem; width: max-content; animation: cinta 48s linear infinite; }
.cinta__pista span { font-family: var(--fuente-titulo); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1; white-space: nowrap; }
.cinta__pista i { flex: none; width: 1.4rem; height: 1.4rem; background: var(--blanco);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='11' cy='4' r='2.4'/%3E%3Ccircle cx='18' cy='8' r='2.4'/%3E%3Ccircle cx='4.5' cy='9' r='2.4'/%3E%3Cpath d='M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='11' cy='4' r='2.4'/%3E%3Ccircle cx='18' cy='8' r='2.4'/%3E%3Ccircle cx='4.5' cy='9' r='2.4'/%3E%3Cpath d='M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes cinta { to { transform: translate3d(calc(-100% / 6), 0, 0); } }
.pie__patron {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='184' viewBox='0 0 132 184' fill='none' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23eeb400' transform='translate(12 12) rotate(-18 23 23) scale(1.9)'%3E%3Ccircle cx='11' cy='4' r='2'/%3E%3Ccircle cx='18' cy='8' r='2'/%3E%3Ccircle cx='20' cy='16' r='2'/%3E%3Cpath d='M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z'/%3E%3C/g%3E%3Cg stroke='%23e6ab00' transform='translate(78 104) rotate(18 23 23) scale(1.9)'%3E%3Ccircle cx='11' cy='4' r='2'/%3E%3Ccircle cx='18' cy='8' r='2'/%3E%3Ccircle cx='20' cy='16' r='2'/%3E%3Cpath d='M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, black 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 30%, black 100%);
}
@media (prefers-reduced-motion: reduce) { .cinta__pista { animation: none; } }

/* ---------- Hero en celular: la foto completa, sin cortar al perro ---------- */

@media (max-width: 52rem) {
  .hero__foto { height: auto; aspect-ratio: 1193 / 1160; margin-bottom: -2.5rem; }
  .hero__foto img { height: 100%; object-position: 50% 12%; }
  .hero__foto::after { inset: 72% 0 0 0; background: linear-gradient(180deg, transparent, var(--marino)); }
  .hero { background: linear-gradient(180deg, var(--azul-medio) 60%, var(--marino) 80%); }
}
