/* ==========================================================================
   GALUSA · capa premium (nov-2026)
   Se carga después de styles.css. Afina tipografía, superficies, estados
   y prepara los elementos que anima motion.js (GSAP). Sin JS todo se ve igual,
   solo sin movimiento.
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-sm: 0 1px 2px rgba(17, 37, 82, 0.05), 0 2px 6px -2px rgba(17, 37, 82, 0.06);
  --shadow: 0 2px 4px rgba(17, 37, 82, 0.04), 0 12px 28px -12px rgba(17, 37, 82, 0.22);
  --shadow-lg: 0 4px 10px rgba(17, 37, 82, 0.05), 0 28px 56px -24px rgba(17, 37, 82, 0.38);
  --shadow-gold: 0 10px 26px -10px rgba(197, 138, 43, 0.65);
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}
::selection { background: var(--mustard-light); color: var(--navy-deep); }
/* Lenis (scroll suave con la rueda) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }

/* --- Tipografía: escala más decidida ------------------------------------ */
h1, h2, h3, h4 { letter-spacing: -0.022em; text-wrap: balance; }
.section-title { font-size: clamp(1.85rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -0.03em; }
.section-sub, .lead, .hero-lead { text-wrap: pretty; }
.page-title { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; }
.hero-v5 h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.0; letter-spacing: -0.035em; max-width: 18ch; }
.hero-lead { font-size: clamp(1rem, 1.35vw, 1.18rem); max-width: 54ch; }
.product-title { letter-spacing: -0.03em; }

/* Rótulos pequeños sobre los títulos: fuera (el título ya lo dice) */
.section-head .kicker, .page-hero .kicker, .corp .kicker { display: none; }
.corp .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
/* Números 01 / 02 / 03 en los pasos: fuera */
.how-steps li::before, .how-steps li::after { content: none !important; }

/* --- Marco de cabecera ----------------------------------------------------- */
.site-header { transition: box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out); }
.site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 rgba(17, 37, 82, 0.06), 0 10px 30px -18px rgba(17, 37, 82, 0.35); }
.mainnav a { transition: color 0.18s ease, background-color 0.18s ease; }
.mainnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--mustard); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease-out); }
.mainnav a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .mainnav a:hover::after { transform: scaleX(1); } }
.catnav a { transition: color 0.18s ease, border-color 0.18s ease; }

/* Barra de progreso de lectura: la línea de pintura vial */
.paint-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: var(--mustard); }

/* --- Botones: brillo y respuesta al toque --------------------------------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.16s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-accent { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), var(--shadow-gold); }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 24px -12px rgba(24, 48, 108, 0.7); }
.btn-accent::after, .btn-primary::after, .quote-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.38) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover::after, .btn-primary:hover::after, .quote-btn:hover::after { transform: translateX(120%); }
  .btn-accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 30px -10px rgba(197, 138, 43, 0.75); }
  .btn svg { transition: transform 0.25s var(--ease-out); }
  .btn:hover svg:last-child { transform: translateX(3px); }
}
.quote-btn { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.16s var(--ease-out); }
.quote-btn:active { transform: scale(0.97); }
.quote-count.is-bump { animation: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mustard-light); outline-offset: 3px; border-radius: 10px;
}

/* --- Hero ------------------------------------------------------------------ */
.hero-v5 { overflow: hidden; }
.hero-video { will-change: transform; transform-origin: 50% 40%; }
.hero-copy { position: relative; z-index: 1; }
.hero-v5 .eyebrow span { backdrop-filter: none; }
.hero-v5::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 0% 100%, rgba(11, 26, 64, 0.72), transparent 60%); }

/* --- Beneficios bajo el hero ---------------------------------------------- */
.benefits-list { border: 0; gap: 0; background: #fff; box-shadow: var(--shadow-lg); }
.benefits-list li { transition: background-color 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .benefits-list li:hover { background: var(--blue-50); } }

/* --- Mosaico de líneas (bento) -------------------------------------------- */
.bento .tile { box-shadow: var(--shadow); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.tile-media img { transition: transform 0.9s var(--ease-out), filter 0.6s ease; will-change: transform; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 52, 0) 35%, rgba(10, 22, 52, 0.78) 100%); }
.tile-body .tile-go, .tile-body svg { transition: transform 0.3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .bento .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .bento .tile:hover .tile-media img { transform: scale(1.06); filter: saturate(1.08); }
  .bento .tile:hover .tile-body svg { transform: translateX(4px); }
}

/* --- Tarjetas de producto -------------------------------------------------- */
.card { border-color: transparent; box-shadow: var(--shadow-sm); border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.card .photo { background: #f3f5f9; border-radius: 0; }
.card .photo img { transition: transform 0.6s var(--ease-out), opacity 0.45s ease; }
.card .card-body h3, .card .card-title { letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .card:hover .photo img { transform: scale(1.05); }
}
.card:active { transform: translateY(-1px) scale(0.99); }

/* Las fotos aparecen suaves al cargar (sin saltos) */
.js-motion img.gx-img { opacity: 0; transition: opacity 0.5s ease, transform 0.6s var(--ease-out); }
.js-motion img.gx-img.is-loaded { opacity: 1; }

/* --- Soluciones / servicios / pasos --------------------------------------- */
.solution, .how-steps li, .contact-card, .svc-card, .corp-card, .about-lines a {
  border-color: transparent; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.25s ease;
}
.solution-ico { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px -10px rgba(24, 48, 108, 0.8); transition: transform 0.35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .solution:hover, .contact-card:hover, .svc-card:hover, .about-lines a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .solution:hover .solution-ico { transform: rotate(-6deg) scale(1.06); }
  .svc:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
}
.svc { box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6); }
.svc img, .svc-card img { transition: transform 0.8s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .svc:hover img, .svc-card:hover img { transform: scale(1.05); } }

/* Banda de servicios: luz de obra en la esquina */
.services-band::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 162, 75, 0.16), transparent); }

/* Cierre (¿Tienes un proyecto?) */
.closing { box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate; }
.closing::after { content: ""; position: absolute; right: -6%; top: -40%; width: 46%; height: 180%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 162, 75, 0.22), transparent); }

/* Cabeceras de página (servicios, nosotros, contacto) */
.page-hero { isolation: isolate; }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--mustard); transform-origin: 0 50%; }
.js-motion .page-hero::after { transform: scaleX(0); }
.page-hero.gx-in::after { transform: scaleX(1); transition: transform 1.1s var(--ease-in-out) 0.2s; }

/* Catálogo */
.catalog-hero { background: #f1f4f9; }
.chip { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip.is-on { box-shadow: 0 8px 18px -10px rgba(24, 48, 108, 0.8); }

/* Producto */
.gallery-stage { border-radius: var(--r-xl); }
.gallery-main img { transition: opacity 0.35s ease, transform 0.6s var(--ease-out); }
.price-box { border: 0; background: #f1f4f9; }
.variant-list button, .variant-list label { transition: transform 0.16s var(--ease-out), background-color 0.18s ease, border-color 0.18s ease; }
.variant-list button:active, .variant-list label:active { transform: scale(0.96); }

/* Pie de página: el nombre vuelve grande */
.footer-mark { font-family: var(--font-head); font-weight: 900; letter-spacing: -0.05em; line-height: 0.8;
  font-size: clamp(4rem, 17vw, 15rem); color: rgba(255, 255, 255, 0.06); white-space: nowrap; overflow: hidden;
  padding-inline: var(--gutter); margin: 8px 0 -0.08em; user-select: none; pointer-events: none; }
.footer-list a { transition: color 0.18s ease, padding-left 0s; }
@media (hover: hover) and (pointer: fine) { .footer-list a:hover { color: var(--mustard-light); } }

/* Vía que recorre la portada: asfalto más presente y pintura mostaza */
.rd-asphalt { stroke: rgba(24, 48, 108, 0.13); }

/* --- Movimiento reducido: sin desplazamientos ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .card, .solution, .bento .tile, .svc, .svc-card, .contact-card, .btn, .chip { transition: box-shadow 0.2s ease, background-color 0.2s ease; }
  .card:hover, .solution:hover, .bento .tile:hover, .svc:hover, .svc-card:hover, .contact-card:hover { transform: none; }
  .tile-media img, .card .photo img { transition: none; }
  .btn-accent::after, .btn-primary::after, .quote-btn::after { display: none; }
  .js-motion .page-hero::after { transform: none; }
}

/* Producto: «Pedido de varias combinaciones» a tamaño de enlace */
.multi-order h2, .multi-order .h3 { font-size: 1.05rem; line-height: 1.3; }
.multi-order .link-btn { font: 700 1rem/1.3 var(--font-head); text-align: left; }


/* ==========================================================================
   v2 · vía de la portada, toques y vuelo a la cotización
   ========================================================================== */
.road-svg.gx-road .rd-tex, .road-svg.gx-road .rd-wet, .road-svg.gx-road .rd-machine, .road-svg.gx-road .rd-splats, .road-svg.gx-road .rd-mark text { display: none; }
.road-svg.gx-road .rd-asphalt { stroke: rgba(120, 132, 152, 0.12); stroke-linecap: round; }
.road-svg.gx-road .gx-guide { fill: none; stroke: rgba(150, 160, 178, 0.55); stroke-dasharray: 10 12; stroke-linecap: round; stroke-linejoin: round; }
.road-svg.gx-road .rd-paint { stroke: var(--mustard); }
.road-svg.gx-road .gx-seg { fill: none; stroke: var(--mustard); stroke-linecap: round; stroke-linejoin: round; }
.road-svg.gx-road .rd-mark circle { r: 7px; fill: rgba(150, 160, 178, 0.18); stroke: rgba(150, 160, 178, 0.7); stroke-width: 2.5; transition: fill 0.35s ease, stroke 0.35s ease; }
.road-svg.gx-road .rd-mark.is-lit circle { fill: var(--mustard); stroke: var(--navy); }
.gx-pen { position: absolute; left: 0; top: 0; z-index: 6; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; will-change: transform; }
.gx-pen.is-on { opacity: 1; }
.gx-pen-dot, .gx-pen-halo { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; }
.gx-pen-dot { background: var(--navy); box-shadow: 0 0 0 3px var(--mustard), 0 6px 14px -4px rgba(17, 37, 82, 0.6); display: grid; place-items: center; }
.gx-pen-dot svg { width: 10px; height: 10px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gx-pen-halo { background: var(--mustard-light); opacity: 0.35; animation: gx-halo 1.6s ease-out infinite; }
.gx-pen.is-small .gx-pen-dot, .gx-pen.is-small .gx-pen-halo { left: -7px; top: -7px; width: 14px; height: 14px; }
.gx-pen.is-small .gx-pen-dot svg { width: 7px; height: 7px; }
@keyframes gx-halo { 0% { transform: scale(0.8); opacity: 0.45; } 100% { transform: scale(2.4); opacity: 0; } }

.card-add, .chip, .variant-list button { position: relative; overflow: hidden; }
.gallery-zoom { overflow: hidden; }
.gx-ink { position: absolute; border-radius: 50%; background: currentColor; pointer-events: none; z-index: 0; }
.btn-accent .gx-ink, .btn-ghost .gx-ink, .chip .gx-ink { background: #fff; }
.card-add:active { transform: scale(0.92); }
.gx-fly { position: fixed; z-index: 9999; object-fit: contain; background: #fff; border-radius: 16px; pointer-events: none;
  box-shadow: 0 18px 40px -12px rgba(17, 37, 82, 0.55); will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .gx-pen-halo { animation: none; } }

/* producto que entra a «Mi cotización» */
.gx-drop { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin-left: -13px; object-fit: contain; background: #fff; border-radius: 7px; z-index: 3; pointer-events: none; box-shadow: 0 2px 6px rgba(10,20,50,.25); }
.gx-plus { position: fixed; z-index: 10000; font: 800 13px/1 var(--font-head); color: #fff; background: var(--mustard, #d9a43a); padding: 4px 8px; border-radius: 999px; pointer-events: none; box-shadow: 0 6px 14px rgba(10,20,50,.2); }

/* ==== Cotización: pasos, ventajas, barra fija en el celular ==== */
.steps li.is-done:not(:last-child)::after { background: var(--ok); transform-origin: left center; animation: gx-fill 0.45s var(--ease-out) both; }
@keyframes gx-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps li.is-on .step-n { animation: gx-step 0.4s var(--ease-out) both; }
@keyframes gx-step { from { transform: scale(0.7); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
.perks { list-style: none; margin: 2px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perks li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8125rem; font-weight: 600; color: var(--navy); background: #eef3fb; border: 1px solid #dbe5f4; border-radius: 999px; padding: 6px 12px 6px 7px; }
.perks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.quote .form .field input:focus, .quote .form .field select:focus, .quote .form textarea:focus { box-shadow: 0 0 0 4px rgba(36, 108, 180, 0.14); }
.quote .field.is-valid input { border-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%231e7a4c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 36px; }
@media (max-width: 559px) {
  .quote .step-actions { position: sticky; bottom: 0; z-index: 20; flex-direction: row; flex-wrap: nowrap; gap: 8px; margin: 18px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(16, 32, 80, 0.07); }
  .quote .step-actions .btn { width: auto; min-height: 50px; }
  .quote .step-actions .btn-primary, .quote .step-actions .btn-wa { flex: 1 1 auto; order: 2; padding-inline: 14px; }
  .quote .step-actions .btn-secondary { flex: 0 0 auto; order: 1; padding-inline: 14px; font-size: 0.875rem; }
  .quote .send-box .step-actions { margin-bottom: 0; }
}
.gx-confetti { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .steps li.is-done::after, .steps li.is-on .step-n { animation: none; } }
.quote-main > section { grid-template-columns: minmax(0, 1fr); }
.quote .field-row > .field { align-content: start; }
html, body { overflow-x: clip; }

/* ==== Correcciones de burbujas y textos cortados ==== */
.chip { flex: none; }
.card-cat { white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.card-title { -webkit-line-clamp: 3; line-clamp: 3; }
.card-price b > small { display: block; font-family: var(--font-body); font-size: 0.625rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0.02em; margin-bottom: 1px; }
.card-add { flex: none; }
.buy .btn { white-space: normal; text-align: center; line-height: 1.2; padding-inline: 14px; }
.tile p { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.tile h3 { overflow-wrap: break-word; }
@media (max-width: 480px) {
  .tile-body { position: static; }
  .tile .tile-go { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(17, 37, 82, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; }
}
@media (max-width: 420px) {
  .card-cat { letter-spacing: 0.03em; -webkit-line-clamp: 3; line-clamp: 3; }
  .card-title { -webkit-line-clamp: 4; line-clamp: 4; }
}
.tile-body { padding-top: 56px; background: linear-gradient(0deg, rgba(14, 30, 70, 0.94) 0%, rgba(14, 30, 70, 0.8) 55%, rgba(14, 30, 70, 0) 100%); }
@media (min-width: 768px) and (max-width: 1199px) { .bento .tile:not(.tile-lg):not(:last-child) p { display: none; } }



/* ==== Productos agotados: en gris y sin entrar ==== */
.card.is-out { pointer-events: none; cursor: default; background: #f3f4f6; box-shadow: none; }
.card.is-out .photo { filter: grayscale(1); opacity: 0.45; }
.card.is-out .card-title, .card.is-out .card-meta, .card.is-out .card-price b { color: #8a94a3; }
.card.is-out .card-cat { color: #9aa3af; }
.card.is-out .card-swatches, .card.is-out .card-add { opacity: 0.35; }
.card.is-out .card-tags { left: 50%; top: 38%; transform: translate(-50%, -50%); }
.card.is-out .tag-warn { background: #26313d; color: #fff; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25); }
@media (hover: hover) and (pointer: fine) { .card.is-out:hover { transform: none; box-shadow: none; } }

/* ==== Escala fluida en pantallas anchas: la composición de 1440 px se mantiene igual al alejar o en monitores grandes ==== */
@media (min-width: 1441px) {
  #root { zoom: var(--gx-z, 1); }
  /* lo que flota sobre la pantalla se queda a su tamaño normal */
  #root .buy-bar, #root .drawer-backdrop, #root .lightbox, #root .mobile-continue, #root .preview-admin-link, #root .quote-dock,
  #root .sheet, #root .sheet-backdrop, #root .toast, #root .wa-float, #root .skip { zoom: calc(1 / var(--gx-z, 1)); }
}
.gallery:has(.lightbox) { z-index: 90; }

/* ==== La vía con el trabajador pintando ==== */
.road-svg.gx-road .rd-asphalt.gx-asf { stroke: url(#gx-asf); opacity: 0.42; }
.gx-pen.has-worker .gx-pen-dot, .gx-pen.has-worker .gx-pen-halo { display: none; }
/* trabajador: tres vistas (arriba / de lado / de frente); el punto de anclaje es la boquilla de la máquina */
.gx-worker { position: absolute; left: 0; top: 0; width: 0; height: 0; filter: drop-shadow(0 5px 5px rgba(17, 37, 82, 0.26)); }
.gx-w { position: absolute; background-repeat: no-repeat; opacity: 0; transition: opacity 0.16s ease; }
.gx-w.is-show { opacity: 1; }
.w-top { width: 76px; height: 31.5px; left: -72.8px; top: -23px; transform-origin: 72.8px 23px; background-image: url("sitio/via/w-arriba.webp?v=1"); background-size: 800% 100%; }
.w-side { width: 79.5px; height: 68px; left: -72px; top: -66.4px; transform-origin: 72px 66.4px; background-image: url("sitio/via/w-derecha.webp?v=1"); background-size: 400% 100%; }
.w-side.is-left { left: -7.2px; transform-origin: 7.2px 66.4px; background-image: url("sitio/via/w-izquierda.webp?v=1"); }
.w-front { width: 65.5px; height: 70px; left: -30.1px; top: -69.6px; background-image: url("sitio/via/w-frente.webp?v=1"); background-size: 1600% 100%; }
.w-front.is-turn { animation: gx-turn 1.5s steps(16, jump-none) 0.15s 1 backwards; }
@keyframes gx-turn { from { background-position: 0 0; } to { background-position: 100% 0; } }
/* celular: más pequeño y centrado en la vía, para que quepa en el margen sin tapar el contenido */
.gx-pen.is-small .gx-worker { filter: drop-shadow(0 3px 3px rgba(17, 37, 82, 0.24)); }
.gx-pen.is-small .w-top { width: 40px; height: 16.6px; left: -38.3px; top: -8.3px; transform-origin: 38.3px 8.3px; }
.gx-pen.is-small .w-side { width: 39.7px; height: 34px; left: -36px; top: -33.2px; transform-origin: 36px 33.2px; }
.gx-pen.is-small .w-side.is-left { left: -3.6px; transform-origin: 3.6px 33.2px; }
.gx-pen.is-small .w-front { width: 35.6px; height: 38px; left: -16.4px; top: -37.8px; }
/* descanso: al parar el scroll se toma agua (gira mientras bebe) */
.w-agua { width: 72px; height: 72px; left: -41.4px; top: -70.8px; background-image: url("sitio/via/w-agua.webp?v=1"); background-size: 1600% 100%; }
.w-agua.is-show { animation: gx-agua 2.24s steps(16) infinite; }
@keyframes gx-agua { from { background-position: 0 0; } to { background-position: 106.6667% 0; } }
.gx-pen.is-small .w-agua { width: 38px; height: 38px; left: -21.8px; top: -37.4px; }
/* con la señal de PARE, cruzando entre las burbujas de opiniones (centrado en el camino) */
.w-pr, .w-pl, .w-pf { background-size: 400% 100%; transform: scale(0.86) translateY(6px); transition: opacity 0.16s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1); }
.w-pr.is-show, .w-pl.is-show, .w-pf.is-show { transform: none; }
.w-pr, .w-pl { width: 83.6px; height: 104px; top: -99px; }
.w-pr { left: -77.7px; transform-origin: 93% 95%; }
.w-pl { left: -4.4px; transform-origin: 5% 95%; }
.w-pr { background-image: url("sitio/via/w-pare-der.webp?v=1"); }
.w-pl { background-image: url("sitio/via/w-pare-izq.webp?v=1"); }
.w-pf { width: 47px; height: 104px; left: -15.8px; top: -100.3px; transform-origin: 34% 96%; background-image: url("sitio/via/w-pare-frente.webp?v=1"); }
.gx-pen.is-small .w-pr, .gx-pen.is-small .w-pl { width: 48.2px; height: 60px; top: -57.2px; }
.gx-pen.is-small .w-pr { left: -44.8px; }
.gx-pen.is-small .w-pl { left: -2.6px; }
.gx-pen.is-small .w-pf { width: 27.2px; height: 60px; left: -9.2px; top: -57.8px; }
/* las burbujas de opiniones pasan por encima de la vía (como carros); el trabajador, por encima de todo */
.reviews-sec .rv-head, .reviews-sec .rv-rows { position: relative; z-index: 6; }
.gx-pen { z-index: 8; }
.road-svg .gx-det { transition: opacity 0.35s ease; }
.road-svg.gx-road .gx-det .rd-asphalt, .road-svg.gx-road .gx-det .gx-guide { stroke-linecap: butt; }   /* sin tapas: empalma justo con la vía principal */
@media (prefers-reduced-motion: reduce) { .w-agua.is-show { animation: none; } }
.gx-splat { position: absolute; z-index: 5; pointer-events: none; will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .gx-splat { display: none; } }

/* Portada limpia: sólo el video con los textos (sin la carretera dibujada encima) */
.hero-v5 .hero-road { display: none !important; }
