/* ═══════════════════════════════════════════════════════════════════
   DÚO Marketing Digital — estilos
   Marca: naranja #EC6730 · ámbar #F9B233 · carbón #1D1D1B
   Tipos: Montserrat (títulos, sustituto web de Gotham) · Inter (texto)
   Superficies: noche para casi todo; papel solo en Resultados, porque
   ahí la prueba son capturas blancas del Administrador de anuncios.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --noche: #121210;
  --carbon: #1D1D1B;
  --carbon-2: #262520;
  --papel: #F3EFE8;
  --crema: #F7F4EF;
  --texto-2: #C9C3B8;
  --piedra: #8F897D;
  --naranja: #EC6730;
  --naranja-tinta: #B4461C; /* naranja legible sobre papel */
  --ambar: #F9B233;
  --tinta: #1D1D1B;
  --tinta-2: #57524A;
  --linea: rgba(247, 244, 239, 0.12);
  --linea-suave: rgba(247, 244, 239, 0.07);
  --linea-papel: rgba(29, 29, 27, 0.12);
  --degradado: linear-gradient(95deg, var(--naranja) 0%, var(--ambar) 100%);
  --salida: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1200px;
  --margen: clamp(16px, 4.5vw, 40px);
  --sec: clamp(60px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--crema); background: var(--noche);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: rgba(236, 103, 48, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 4px; }

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

h1, h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.3vw, 66px); }
h2 { font-size: clamp(28px, 4.2vw, 50px); }
h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(18px, 2vw, 21px); line-height: 1.25; letter-spacing: -0.01em; }
p { color: var(--texto-2); text-wrap: pretty; }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ambar); color: var(--tinta); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.saltar:focus { top: 12px; }

/* ── Botones ─────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  background: var(--naranja); color: var(--tinta);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--salida), background-color 200ms ease;
}
.boton svg { width: 18px; height: 18px; flex-shrink: 0; }
.boton:active { transform: scale(0.97); }
.boton-linea { background: transparent; color: var(--crema); box-shadow: inset 0 0 0 1.5px var(--linea); }
.boton-chico { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.boton-wa { background: #25D366; color: #0b2a16; }
.boton-wa svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .boton:hover { background: var(--ambar); }
  .boton-linea:hover { background: rgba(247, 244, 239, 0.06); box-shadow: inset 0 0 0 1.5px var(--naranja); }
  .boton-wa:hover { background: #3be07a; }
}

/* ── Barra superior ──────────────────────────────────────────────────── */
.barra { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color 250ms ease, box-shadow 250ms ease; }
.barra.con-fondo { background: rgba(18, 18, 16, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea-suave); }
.barra-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.marca-logo { width: auto; height: 42px; }
.barra-nav { display: none; margin-left: auto; gap: 28px; }
.barra-nav a { font-size: 14px; font-weight: 500; color: var(--texto-2); text-decoration: none; transition: color 150ms ease; }
.barra-nav a:hover { color: var(--crema); }
.barra .boton-chico { margin-left: auto; }
@media (min-width: 900px) { .barra-nav { display: flex; } .barra .boton-chico { margin-left: 0; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 56px;
  background: radial-gradient(900px 560px at 78% 30%, rgba(236, 103, 48, 0.10), transparent 65%), var(--noche);
}
.cosmos { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.hero-u { width: 132px; margin: 0 0 6px -10px; }
.hero-u canvas { width: 100%; aspect-ratio: 340 / 210; }
.hero h1 { max-width: 12.5em; }
.h1-acento { display: block; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.05em; }
.hero-sub { font-size: clamp(16px, 1.7vw, 19px); max-width: 33em; margin: 20px 0 28px; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-paises { margin-top: 22px; font-size: 14px; color: var(--piedra); }
@media (max-width: 899px) {
  .hero-acciones .boton { flex: 1 1 auto; }
}
@media (min-width: 900px) {
  .hero { padding: 132px 0 88px; min-height: min(100svh, 920px); display: flex; align-items: center; }
  .hero-in { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
  .hero-u { width: 164px; }
}

/* Escena: el teléfono con el video y las tres cifras alrededor. */
.escena { position: relative; display: grid; justify-items: center; padding: 0 0 4px; }
.telefono {
  position: relative; width: min(58vw, 250px); aspect-ratio: 9 / 18.5;
  border-radius: 38px; padding: 9px; background: #0a0a09;
  box-shadow: 0 0 0 1.5px rgba(247, 244, 239, 0.14), 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 120px rgba(236, 103, 48, 0.16);
  transform: rotate(-3deg);
}
.telefono-pie { display: grid; justify-items: center; gap: 16px; }
.telefono[data-sonido] { cursor: pointer; }
.telefono-pantalla { position: relative; display: block; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--carbon); }
.tel-poster, .tel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tel-video { opacity: 0; transition: opacity 400ms ease; }
.tel-video.activo { opacity: 1; }
.tel-red { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
/* Botón de sonido: naranja mientras está mudo (es la invitación), discreto
   cuando ya suena. */
.sonido { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 6px; border-radius: 999px; background: var(--naranja); color: var(--tinta); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 30px rgba(236, 103, 48, 0.3); transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--salida); }
.sonido:active { transform: scale(0.97); }
.sonido-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 29, 27, 0.16); }
.sonido-ico svg { width: 18px; height: 18px; }
.sonido .ico-con { display: none; }
.sonido.activo { background: rgba(247, 244, 239, 0.08); color: var(--crema); box-shadow: inset 0 0 0 1px var(--linea); }
.sonido.activo .ico-con { display: block; color: var(--ambar); }
.sonido.activo .ico-sin { display: none; }
@media (hover: hover) and (pointer: fine) { .sonido:hover { background: var(--ambar); } .sonido.activo:hover { background: rgba(247, 244, 239, 0.14); } }

.datos-hero { position: relative; width: 100%; max-width: 440px; display: grid; gap: 10px; margin-top: -64px; z-index: 2; }
.dato {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(29, 29, 27, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--linea); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.dato-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; flex-shrink: 0; }
.dato-txt { display: grid; min-width: 0; }
.dato-valor { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 25px; line-height: 1.05; color: var(--ambar); font-variant-numeric: tabular-nums; }
.dato-etq { font-size: 13.5px; color: var(--crema); line-height: 1.3; }
.dato-marca { font-size: 12px; color: var(--piedra); }

/* Celular: teléfono a la izquierda y las tres cifras apiladas a su lado. */
@media (max-width: 559px) {
  .hero-acciones .boton-linea { display: none; }
  .hero-in { gap: 34px; }
  .escena { grid-template-columns: 132px 1fr; gap: 14px 12px; align-items: center; justify-items: stretch; }
  .telefono-pie { display: contents; }
  .telefono { grid-column: 1; grid-row: 1; width: 132px; border-radius: 24px; padding: 6px; transform: rotate(-2deg); }
  .datos-hero { grid-column: 2; grid-row: 1; }
  .sonido { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .telefono-pantalla { border-radius: 19px; }
  .tel-red { font-size: 9.5px; left: 7px; top: 8px; padding: 2px 7px; }
  .tel-red-extra { display: none; }
  .datos-hero { margin: 0; gap: 8px; }
  .dato { padding: 9px 10px; gap: 9px; border-radius: 12px; }
  .dato-logo { width: 30px; height: 30px; }
  .dato-valor { font-size: 19px; }
  .dato-etq { font-size: 12px; }
  .dato-marca { font-size: 11px; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .datos-hero { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .dato-3 { grid-column: 1 / -1; justify-self: center; }
}
/* Escritorio: el video es la pieza central. El teléfono va a la derecha de su
   columna y las tres cifras se apilan a su izquierda, escalonadas. Cada
   tarjeta se monta sobre el borde del teléfono como mucho --monta, que es
   menos del 20 % de su ancho: el centro de la pantalla, donde aparece el
   texto del video, no se tapa nunca. */
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .escena { --tel: 224px; --monta: 16px; --escalon: 18px; display: flex; justify-content: flex-end; align-items: center; min-height: 0; padding: 0 6px 0 0; }
  .telefono { width: var(--tel); }
  .datos-hero {
    position: absolute; left: 0; top: calc(var(--tel) * 18.5 / 9 / 2); transform: translateY(-50%);
    width: calc(100% - var(--tel) - 6px + var(--monta)); max-width: none; margin: 0;
    display: grid; gap: 12px; pointer-events: none; /* el toque pasa al teléfono */
  }
  .dato { padding: 10px 14px 10px 10px; gap: 10px; }
  .dato-logo { width: 34px; height: 34px; }
  .dato-valor { font-size: 22px; }
  .dato-etq { font-size: 13px; line-height: 1.28; }
  .dato-marca { font-size: 11.5px; }
  /* Escalón: la del medio se corre hacia la izquierda, las otras dos tocan el borde. */
  .dato-2 { margin-right: var(--escalon); margin-left: calc(var(--escalon) * -1); }
}
/* Entre 900 y 1279 la columna es angosta: teléfono y logos un poco más chicos
   para que cada etiqueta quede en dos líneas. */
@media (min-width: 900px) and (max-width: 1279px) {
  .escena { --tel: 212px; }
  .dato { gap: 8px; padding-left: 8px; }
  .dato-logo { width: 28px; height: 28px; }
  .dato-etq { font-size: 12.5px; }
}
@media (min-width: 1280px) { .escena { --tel: 250px; --monta: 20px; --escalon: 26px; } }
@media (min-width: 1600px) { .escena { --tel: 262px; --monta: 22px; } }

/* Entrada orquestada del hero: un solo momento, al cargar. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-txt > *, .js .telefono, .js .dato { opacity: 0; translate: 0 14px; }
  .js .listo .hero-txt > *, .js .listo .telefono, .js .listo .dato {
    opacity: 1; translate: 0 0;
    transition: opacity 600ms var(--salida), translate 600ms var(--salida);
  }
  .js .listo .hero-txt > :nth-child(2) { transition-delay: 60ms; }
  .js .listo .hero-txt > :nth-child(3) { transition-delay: 120ms; }
  .js .listo .hero-txt > :nth-child(4) { transition-delay: 180ms; }
  .js .listo .hero-txt > :nth-child(5) { transition-delay: 220ms; }
  .js .listo .telefono { transition-delay: 160ms; }
  .js .listo .dato-1 { transition-delay: 420ms; }
  .js .listo .dato-2 { transition-delay: 520ms; }
  .js .listo .dato-3 { transition-delay: 620ms; }
}

/* ── Cinta de marcas ─────────────────────────────────────────────────── */
.cinta { padding: 34px 0 38px; background: var(--carbon); border-block: 1px solid var(--linea-suave); }
.cinta-titulo { text-align: center; font-size: 13px; color: var(--piedra); margin-bottom: 18px; }
.cinta-mascara { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta-pista { display: flex; width: max-content; animation: desfile 46s linear infinite; }
.cinta-item { flex-shrink: 0; margin-right: 34px; }
.cinta-item img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1.5px rgba(247, 244, 239, 0.14); }
@keyframes desfile { to { transform: translateX(-50%); } }

/* ── Encabezados de sección ──────────────────────────────────────────── */
.titulo-sec { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.titulo-sec p { font-size: clamp(16px, 1.6vw, 18px); margin-top: 16px; max-width: 38em; }
/* La segunda mitad del titular de Resultados: misma voz, menos peso que el h2. */
.titulo-sec .titulo-destacado { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.25; letter-spacing: -0.01em; color: var(--naranja-tinta); margin-top: 14px; max-width: 30em; text-wrap: balance; }

/* ── Resultados (papel) ──────────────────────────────────────────────── */
.resultados { padding: var(--sec) 0; background: var(--papel); color: var(--tinta); }
.resultados p { color: var(--tinta-2); }
.pestanas { display: flex; gap: 8px; margin-bottom: 22px; }
.pestana {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 7px; white-space: nowrap; min-width: 0;
  border-radius: 999px; background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1px var(--linea-papel);
  font-weight: 600; font-size: 15px; transition: background-color 200ms ease, color 200ms ease;
}
.pestana img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.pestana[aria-selected="true"] { background: var(--tinta); color: var(--crema); box-shadow: none; }
.caso { display: grid; gap: 28px; align-items: start; }
.caso[hidden] { display: none; }
.caso.entrando { animation: aparecer 260ms var(--salida); }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } }
.caso-captura {
  display: block; text-decoration: none; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 var(--linea-papel), 0 30px 60px -20px rgba(29, 29, 27, 0.35), 0 0 0 1px var(--linea-papel);
  transform: perspective(1400px) rotateY(4deg) rotateX(1deg); transform-origin: left center;
  transition: transform 300ms var(--salida);
}
.caso-captura img { width: 100%; aspect-ratio: 1800 / 840; object-fit: cover; object-position: left top; }
.caso-pie { display: block; padding: 10px 14px; font-size: 12.5px; color: var(--tinta-2); border-top: 1px solid var(--linea-papel); }
@media (hover: hover) and (pointer: fine) { .caso-captura:hover { transform: perspective(1400px) rotateY(0deg); } }
.caso-meta { font-size: 13.5px; font-weight: 600; color: var(--naranja-tinta) !important; margin-bottom: 8px; }
.caso h3 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 18px; color: var(--tinta); }
.caso-pasos { display: grid; gap: 12px; margin-bottom: 22px; }
.caso-pasos div { padding-left: 14px; border-left: 2px solid var(--naranja); }
.caso-pasos dt { font-size: 13px; font-weight: 600; color: var(--tinta); }
.caso-pasos dd { font-size: 15px; color: var(--tinta-2); }
.caso-cifras { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 1px; background: var(--linea-papel); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--linea-papel); }
.caso-cifras:has(li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.caso-cifras li { background: #fff; padding: 14px 14px 13px; display: grid; gap: 3px; align-content: start; }
.caso-cifras b { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.05; color: var(--tinta); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.caso-cifras span { font-size: 13px; color: var(--tinta-2); line-height: 1.3; }
@media (max-width: 559px) {
  .caso-cifras, .caso-cifras:has(li:nth-child(4)) { grid-template-columns: 1fr; }
  .caso-cifras li { grid-template-columns: 150px 1fr; align-items: baseline; gap: 10px; padding: 12px 14px; }
  .caso-cifras b { font-size: 21px; }
  .pestana { font-size: 14px; flex: 1 1 0; }
  .caso { gap: 22px; }
}
.caso-periodo { font-size: 13px; margin-top: 12px; }
.caso-periodo a { color: var(--naranja-tinta); font-weight: 600; }
@media (min-width: 960px) { .caso { grid-template-columns: 1.15fr 1fr; gap: 48px; } .caso-captura { position: sticky; top: 96px; } }

.serv-ejemplo { display: inline; padding: 0; color: var(--ambar); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ── Videos orgánicos (muro) ─────────────────────────────────────────── */
.videos { padding: var(--sec) 0 calc(var(--sec) * 0.8); background: var(--carbon); overflow: hidden; }
/* Logos y videos comparten paso y vuelta: cada logo viaja sobre su video. */
.muro { --paso: 186px; --aire: 14px; --vuelta: 38s; }
@media (max-width: 600px) { .muro { --paso: 150px; } }
.muro-logos, .muro-tira { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.muro-pista { display: flex; width: max-content; animation: desfile var(--vuelta) linear infinite; }
.muro-logos { margin-bottom: 14px; }
.muro-logo { width: var(--paso); margin-right: var(--aire); flex-shrink: 0; display: grid; place-items: center; }
.muro-logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; }
.clip { position: relative; display: block; width: var(--paso); margin-right: var(--aire); flex-shrink: 0; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--carbon-2); text-decoration: none; box-shadow: 0 0 0 1px var(--linea-suave); }
.clip-poster, .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-vistas { position: absolute; top: 9px; right: 9px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 7px; border-radius: 999px; background: rgba(12, 12, 10, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11.5px; color: #fff; }
.clip-vistas svg { width: 9px; height: 9px; fill: var(--ambar); }
.clip-pie { position: absolute; inset: auto 0 0; z-index: 2; padding: 34px 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)); display: grid; }
.clip-pie b { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13.5px; color: #fff; }
.clip-pie i { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.7); }

/* ── Servicios ───────────────────────────────────────────────────────── */
.servicios { padding: var(--sec) 0; background: var(--noche); }
.serv-lista { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--linea); }
.serv { padding: 20px 0; border-bottom: 1px solid var(--linea); display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-content: start; }
.serv .ico { width: 28px; height: 28px; color: var(--naranja); grid-row: span 2; margin-top: 2px; }
.serv p { font-size: 15.5px; margin-top: 6px; }
.serv-cta { grid-template-columns: 1fr; gap: 16px; }
.serv-cta p { color: var(--crema); font-size: 17px; margin: 0; }
.serv-cta .boton { justify-self: start; }
@media (max-width: 559px) {
  .serv { padding: 16px 0; column-gap: 12px; grid-template-columns: 32px 1fr; }
  .serv .ico { width: 24px; height: 24px; }
  .serv p { font-size: 15px; margin-top: 4px; }
  .serv-cta { display: none; } /* en celular la barra fija ya lleva a cotizar */
  .pie-in { grid-template-columns: 1fr 1fr; }
  .pie-marca { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .serv-lista { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1040px) {
  .serv-lista { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
  .serv { padding: 32px 0 34px; }
}

/* ── Cómo trabajamos ─────────────────────────────────────────────────── */
.como { padding: var(--sec) 0; background: var(--carbon); }
.pasos { list-style: none; display: grid; gap: 28px; position: relative; padding-left: 52px; }
.pasos::before { content: ''; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--degradado); transform-origin: top; transform: scaleY(var(--avance, 1)); }
.pasos.por-dibujar { --avance: 0; }
.pasos.por-dibujar.dibujada { --avance: 1; }
.pasos.por-dibujar::before { transition: transform 1100ms cubic-bezier(0.77, 0, 0.175, 1); }
.paso { position: relative; }
.paso-n { position: absolute; left: -52px; top: -2px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--noche); box-shadow: inset 0 0 0 2px var(--naranja); font-family: 'Montserrat', sans-serif; font-weight: 900; color: var(--ambar); }
.paso p { font-size: 15.5px; margin-top: 6px; }
@media (min-width: 900px) {
  .pasos { grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 60px 0 0; }
  .pasos::before { left: 20px; right: 20px; top: 19px; bottom: auto; width: auto; height: 2px; transform-origin: left; transform: scaleX(var(--avance, 1)); }
  .paso-n { left: 0; top: -60px; }
}
.garantia { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 26px; border-radius: 18px; background: rgba(249, 178, 51, 0.07); box-shadow: inset 0 0 0 1px rgba(249, 178, 51, 0.28); }
.garantia-ico { width: 34px; height: 34px; color: var(--ambar); }
.garantia h3 { color: var(--crema); }
.garantia p { font-size: 15px; margin-top: 6px; max-width: 52em; }

/* ── Equipo ──────────────────────────────────────────────────────────── */
.equipo { padding: var(--sec) 0; background: var(--noche); }
.equipo-in { display: grid; gap: 36px; align-items: center; }
.equipo-txt p { font-size: 17px; margin-top: 16px; max-width: 30em; }
.caras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 460px; }
.cara { display: grid; justify-items: center; text-align: center; gap: 12px; }
.cara-foto { display: block; width: min(100%, 190px); aspect-ratio: 1; border-radius: 50%; padding: 3px; background: var(--degradado); }
.cara-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cara figcaption { display: grid; }
.cara b { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 16px; }
.cara figcaption span { font-size: 14px; color: var(--ambar); }
@media (min-width: 860px) { .equipo-in { grid-template-columns: 1.1fr 1fr; gap: 64px; } .caras { justify-self: end; width: 100%; } }

/* ── Cotizar ─────────────────────────────────────────────────────────── */
.cotizar { padding: var(--sec) 0; background: radial-gradient(800px 480px at 15% 100%, rgba(236, 103, 48, 0.14), transparent 70%), var(--carbon); }
.cotizar-in { display: grid; gap: 34px; align-items: start; }
.cotizar-txt p { font-size: 17px; margin-top: 16px; max-width: 30em; }
.cotizar-directo { font-size: 15px !important; }
.cotizar-directo a { color: var(--ambar); font-weight: 600; }
@media (min-width: 960px) { .cotizar-in { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } .cotizar-txt { position: sticky; top: 110px; } }

.form, .gracias { background: var(--noche); border-radius: 20px; padding: clamp(20px, 3.4vw, 34px); box-shadow: 0 0 0 1px var(--linea), 0 30px 70px rgba(0, 0, 0, 0.35); }
.form-progreso { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.form-progreso i { height: 4px; border-radius: 4px; background: var(--linea); transition: background-color 250ms ease; }
.form-progreso i.hecho { background: var(--naranja); }
.form-paso { font-size: 13px; color: var(--piedra); margin-bottom: 10px; }
.campo { border: 0; min-width: 0; }
.campo[hidden] { display: none; }
.campo legend { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; margin-bottom: 6px; color: var(--crema); }
.campo-ayuda { font-size: 14px; margin-bottom: 14px; }
.campo legend + .pildoras { margin-top: 14px; }
.pildoras { display: grid; gap: 8px; }
@media (min-width: 560px) { .pildoras { grid-template-columns: 1fr 1fr; } }
.pildora { position: relative; display: block; }
.pildora input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pildora span {
  display: flex; align-items: center; min-height: 52px; height: 100%; padding: 12px 16px 12px 44px; border-radius: 12px;
  background: rgba(247, 244, 239, 0.04); box-shadow: inset 0 0 0 1.5px var(--linea);
  font-size: 15px; line-height: 1.3; color: var(--crema); position: relative;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.pildora span::before { content: ''; position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--piedra); transition: background-color 150ms ease, box-shadow 150ms ease; }
.pildora input[type="radio"] + span::before { border-radius: 50%; }
.pildora input:checked + span { background: rgba(236, 103, 48, 0.14); box-shadow: inset 0 0 0 1.5px var(--naranja); }
.pildora input:checked + span::before { background: var(--naranja); box-shadow: inset 0 0 0 4px var(--noche), inset 0 0 0 6px var(--naranja); }
.pildora input:focus-visible + span { outline: 2px solid var(--ambar); outline-offset: 2px; }
.pildora:active span { transform: scale(0.99); }
.entrada { display: grid; gap: 7px; margin-top: 14px; }
.entrada > span { font-size: 14px; font-weight: 500; color: var(--texto-2); }
.entrada i { font-style: normal; color: var(--piedra); }
.entrada input, .entrada select {
  width: 100%; min-height: 52px; padding: 0 15px; border-radius: 12px; border: 0;
  background: rgba(247, 244, 239, 0.05); box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--crema); font-size: 16px;
}
.entrada input::placeholder { color: var(--piedra); }
.entrada input:focus, .entrada select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ambar); }
.entrada input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff7a59; }
.telefono-campo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 8px; }
.telefono-campo select { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238F897D' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.telefono-campo select option { background: var(--carbon); }
.campo-error { min-height: 0; font-size: 13.5px; color: #ff9a80; margin-top: 8px; }
.campo-error:empty { display: none; }
.form-legal { font-size: 13px; color: var(--piedra); margin-top: 16px; }
.form-legal a { color: var(--texto-2); }
.form-acciones { display: flex; gap: 10px; margin-top: 22px; }
.form-acciones #form-seguir { flex: 1; }
.form-acciones .boton[disabled] { opacity: 0.6; cursor: progress; }
.form-falla { font-size: 14px; color: #ff9a80; margin-top: 12px; }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gracias h3 { font-size: clamp(22px, 2.6vw, 28px); }
.gracias p { margin: 12px 0 22px; font-size: 16px; }
.gracias:focus { outline: none; }

/* ── Preguntas ───────────────────────────────────────────────────────── */
.preguntas { padding: var(--sec) 0; background: var(--noche); }
.preguntas-in { display: grid; gap: 28px; }
.lista-preguntas { border-top: 1px solid var(--linea); }
.lista-preguntas details { border-bottom: 1px solid var(--linea); }
.lista-preguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; }
.lista-preguntas summary::-webkit-details-marker { display: none; }
.lista-preguntas summary::after { content: ''; flex-shrink: 0; width: 12px; height: 12px; border-right: 2px solid var(--naranja); border-bottom: 2px solid var(--naranja); transform: rotate(45deg) translate(-3px, -3px); transition: transform 200ms var(--salida); }
.lista-preguntas details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.lista-preguntas p { padding: 0 0 20px; max-width: 46em; }
@media (min-width: 900px) { .preguntas-in { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }

/* ── Pie ─────────────────────────────────────────────────────────────── */
.pie { padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); background: var(--noche); border-top: 1px solid var(--linea-suave); }
.pie-in { display: grid; gap: 28px; }
.pie-marca img { width: auto; height: 40px; }
.pie-marca p { font-size: 14px; margin-top: 12px; color: var(--piedra); }
.pie-col { display: grid; gap: 4px; align-content: start; }
.pie-col a { color: var(--texto-2); text-decoration: none; font-size: 15px; padding: 6px 0; }
.pie-col a:hover { color: var(--crema); }
.pie-base { margin-top: 32px; font-size: 13px; color: var(--piedra); }
@media (min-width: 760px) { .pie-in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ── Flotantes ───────────────────────────────────────────────────────── */
.barra-movil {
  position: fixed; inset: auto 0 0; z-index: 90; display: flex; gap: 8px;
  padding: 10px var(--margen) calc(10px + env(safe-area-inset-bottom));
  background: rgba(18, 18, 16, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 var(--linea-suave);
  transform: translateY(110%); transition: transform 280ms var(--salida);
}
.barra-movil.visible { transform: translateY(0); }
.barra-movil .boton { flex: 1; }
.barra-movil-wa { width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: #25D366; color: #0b2a16; }
.barra-movil-wa svg { width: 26px; height: 26px; }
.wa-flotante { display: none; }
@media (min-width: 900px) {
  .barra-movil { display: none; }
  /* Aparece después del hero, como la barra del celular: en el hero no pisa
     el botón de sonido y arriba ya está «Cotizar». */
  .wa-flotante { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); transition: transform 220ms var(--salida), opacity 220ms ease; }
  .wa-flotante:not(.visible) { opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; }
  .wa-flotante svg { width: 30px; height: 30px; }
  .wa-flotante:active { transform: scale(0.95); }
}
@media (max-width: 899px) { body { padding-bottom: 0; } .pie { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ── Páginas simples (404, privacidad) ───────────────────────────────── */
.simple-in { padding-top: 48px; padding-bottom: 72px; max-width: 760px; }
.simple-logo img { width: auto; height: 40px; margin-bottom: 48px; }
.simple-in h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.simple-in p { margin-bottom: 16px; font-size: 17px; }
.simple-in p .boton { margin: 8px 8px 0 0; }
.texto-legal h2 { font-size: 20px; margin: 32px 0 10px; text-transform: none; letter-spacing: 0; }

/* ── Movimiento reducido ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cinta-pista, .muro-pista { animation: none; }
  .cinta-mascara, .muro-logos, .muro-tira { overflow-x: auto; }
  .caso-captura { transform: none; }
  .telefono { transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
