@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../assets/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
/* P.LED solutions - diseno "la ruta como hilo conductor" */
:root {
  --bg: #03050b; --bg2: #070b16; --ink: #e9eef7; --muted: #8c99b3; --line: rgba(255, 255, 255, 0.1);
  --cyan: #19d3ff; --blue: #1f6bff; --ice: #bff3ff;
  --grad: linear-gradient(100deg, #19d3ff, #1f6bff 60%, #bff3ff);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; color: var(--muted); }
b, strong { font-weight: 600; color: var(--ink); }
h1, h2, h3 { font-weight: 300; line-height: 1.02; margin: 0 0 0.5em; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.8rem, 8.4vw, 7.4rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
h1 b, h2 b { font-weight: 800; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.mono { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); font-weight: 400; }
.wrap { width: min(1240px, calc(100% - 2 * var(--pad))); margin: 0 auto; position: relative; }
section { position: relative; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 620px; }

/* barra de progreso con camion */
.pbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; background: rgba(255,255,255,0.05); }
.pbar i { display: block; height: 100%; width: calc(var(--prog, 0) * 100%); background: var(--grad); box-shadow: 0 0 12px rgba(25, 211, 255, 0.7); }
.pbar svg { position: absolute; top: 3px; left: calc(var(--prog, 0) * (100% - 30px)); width: 30px; height: 16px; filter: drop-shadow(0 0 6px rgba(25,211,255,.8)); }

/* nav tipo pildora flotante */
.nav-pill { position: fixed; top: 18px; left: 0; right: 0; z-index: 80; display: flex; justify-content: center; pointer-events: none; }
.nav-in { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 8px 10px 8px 12px; border-radius: 999px; background: rgba(8, 12, 24, 0.62); backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); max-width: calc(100% - 24px); }
.brand { display: flex; align-items: center; gap: 10px; padding-right: 10px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand span { font-weight: 800; letter-spacing: 0.04em; line-height: 1; }
.brand span b { color: var(--cyan); font-weight: 800; }
.brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.52rem; letter-spacing: 0.4em; color: var(--muted); margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a, .menu .soon { display: block; padding: 9px 15px; border-radius: 999px; font-size: 0.88rem; color: #c3cde0; transition: background 0.2s, color 0.2s; }
.menu a:hover, .menu a.active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.menu .soon { color: #6f7d99; cursor: default; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; }
.menu .soon em { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(25, 211, 255, 0.14); color: var(--cyan); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; margin-top: 12px; min-width: 230px; padding: 8px; list-style: none; border-radius: 18px; background: rgba(8, 12, 24, 0.96); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { border-radius: 12px; }
.nav-cta { margin-left: 6px; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; margin-left: auto; }
.burger i, .burger i::before { display: block; width: 22px; height: 2px; background: #fff; position: absolute; left: 10px; transition: 0.3s; }
.burger i { top: 17px; } .burger i::before { content: ""; top: 8px; left: 0; width: 14px; }
.menu-open .burger i { transform: translateY(4px) rotate(45deg); } .menu-open .burger i::before { transform: translateY(-8px) rotate(-90deg) translateX(0); width: 22px; top: 8px; }

/* botones */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 0; cursor: pointer; color: #02101c; background: var(--grad); background-size: 160% 100%; transition: transform 0.2s, box-shadow 0.3s, background-position 0.4s; box-shadow: 0 10px 36px rgba(25, 211, 255, 0.25); font-family: inherit; }
.btn::after { content: "\2192"; transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 44px rgba(31, 107, 255, 0.45); }
.btn:hover::after { transform: translateX(5px); }
.btn.out { background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,0.28); box-shadow: none; }
.btn.out:hover { border-color: var(--cyan); box-shadow: 0 0 30px rgba(25, 211, 255, 0.2); }
.btn.sm { padding: 10px 20px; font-size: 0.86rem; box-shadow: none; }
.btn.sm::after { content: none; }

/* riel de ruta (desktop) */
.rail { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); height: min(56vh, 480px); width: 2px; z-index: 70; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.18) 8%, rgba(255,255,255,0.18) 92%, transparent); display: none; }
.rail .node { position: absolute; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--bg); border: 2px solid #3a4a70; transition: 0.3s; }
.rail .node span { position: absolute; left: 24px; top: 50%; transform: translateY(-50%) translateX(-6px); white-space: nowrap; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); background: rgba(8,12,24,0.9); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; opacity: 0; transition: 0.25s; pointer-events: none; }
.rail .node:hover span, .rail .node.on span { opacity: 1; transform: translateY(-50%); }
.rail .node.on { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.rail .car { position: absolute; left: 50%; top: calc(var(--prog, 0) * 100%); width: 34px; height: 18px; margin: -9px 0 0 -17px; transform: rotate(90deg); filter: drop-shadow(0 0 8px rgba(25,211,255,.9)); z-index: 2; transition: top 0.15s linear; }
@media (min-width: 1100px) { .rail { display: block; } }

/* hero */
.hero { min-height: 100svh; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding-top: 130px; background: radial-gradient(ellipse at 75% 0%, rgba(31,107,255,0.25), transparent 55%), radial-gradient(ellipse at 0% 30%, rgba(25,211,255,0.1), transparent 50%), var(--bg); }
.hero .wrap { z-index: 3; }
.hero h1 { max-width: 12.5ch; margin: 20px 0 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; }
.scene { margin-top: auto; position: relative; z-index: 1; }
.scene svg { width: 100%; height: auto; display: block; }
.drift { animation: drift 70s linear infinite; } .drift.slow { animation-duration: 120s; }
@keyframes drift { to { transform: translateX(-1440px); } }
.lane { animation: lane 1.1s linear infinite; } @keyframes lane { to { stroke-dashoffset: 100; } }
.truck { animation: bob 2.4s ease-in-out infinite; } @keyframes bob { 50% { transform: translateY(-2.5px); } }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin 0.9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.spot { opacity: 0; animation: spots 9s infinite; font-weight: 800; letter-spacing: 6px; } .spot.s2 { animation-delay: 3s; } .spot.s3 { animation-delay: 6s; }
@keyframes spots { 0% { opacity: 0; } 8% { opacity: 1; } 30% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
.beam { animation: beam 3s ease-in-out infinite; } @keyframes beam { 50% { opacity: 0.6; } }
.odo { position: relative; z-index: 3; border-top: 1px solid var(--line); background: rgba(3, 5, 11, 0.8); backdrop-filter: blur(10px); }
.odo .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.odo .item { padding: 18px 18px 18px 0; border-right: 1px solid var(--line); margin-right: 18px; display: flex; align-items: baseline; gap: 12px; }
.odo .item:last-child { border-right: 0; margin-right: 0; }
.odo .n { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.odo small { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* paradas */
.stop { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.stop:nth-of-type(even) { background: var(--bg2); }
.stop-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.stop.rev .stop-art { order: -1; }
.stop-num { position: absolute; top: -0.35em; left: -0.05em; font-size: clamp(9rem, 22vw, 19rem); font-weight: 800; line-height: 1; color: rgba(25, 211, 255, 0.06); pointer-events: none; letter-spacing: -0.06em; }
.stop.rev .stop-num { left: auto; right: -0.05em; }
.stop-copy { position: relative; z-index: 2; }
.stop-copy h2 { margin-top: 16px; }
.art { width: 100%; height: auto; display: block; border-radius: 26px; border: 1px solid rgba(25, 211, 255, 0.22); box-shadow: 0 30px 90px rgba(31, 107, 255, 0.2); background: #050914; }
.rows { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.rows li .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--cyan); padding-top: 4px; }
.rows li b { display: block; font-weight: 500; font-size: 1.05rem; margin-bottom: 2px; }
.link { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--cyan); }
.link::after { content: "\2192"; transition: transform 0.2s; } .link:hover::after { transform: translateX(6px); }
.note-s { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: #5d6b88; margin-top: 12px; }

/* metodo */
.method { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; border-top: 2px dashed rgba(25, 211, 255, 0.4); }
.track .pt { position: relative; padding-top: 56px; }
.track .pt i { position: absolute; top: 8px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 22px rgba(25, 211, 255, 0.6); }
.track .pt i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--cyan); }

/* portal maqueta */
.portal-sec { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); background: var(--bg2); }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(25,211,255,0.4); color: var(--cyan); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(25,211,255,0.08); }
.portal { border-radius: 24px; border: 1px solid rgba(25, 211, 255, 0.28); background: #060a16; overflow: hidden; box-shadow: 0 30px 90px rgba(31, 107, 255, 0.2); margin-top: 46px; }
.portal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.03); font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.portal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.portal-bar .url { margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.portal-bar .live { margin-left: auto; color: var(--cyan); display: inline-flex; gap: 6px; align-items: center; }
.portal-bar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.portal-body { display: grid; grid-template-columns: 1.5fr 1fr; }
.portal-map svg { width: 100%; height: 100%; display: block; }
.portal-side { padding: 22px; border-left: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(3); opacity: 0; } }
.mini-screen { border-radius: 10px; aspect-ratio: 16/9; position: relative; overflow: hidden; border: 4px solid #1a2238; }
.mini-screen i { position: absolute; inset: -40%; background: conic-gradient(from 0deg, #19d3ff, #1f6bff, #bff3ff, #19d3ff); filter: blur(26px); animation: spin 12s linear infinite; }
.mini-screen::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, transparent 52%, #04060d 58%); background-size: 7px 7px; }
.mini-screen b { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; letter-spacing: 0.2em; font-weight: 800; font-size: 1.1rem; text-shadow: 0 2px 14px #000; }

/* declaracion */
.band { padding: clamp(60px, 9vw, 120px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(31,107,255,0.28), transparent 60%), var(--bg); }
.band .eq { font-size: clamp(1.5rem, 4.4vw, 3.4rem); font-weight: 300; letter-spacing: 0.04em; line-height: 1.25; margin: 0; }
.band .eq b { font-weight: 800; } .band .eq span { color: var(--cyan); padding: 0 0.3em; }

/* faq */
.faq-sec { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.faq-grid .sticky { position: sticky; top: 120px; align-self: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 500; font-size: 1.1rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.9rem; font-weight: 200; color: var(--cyan); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; margin: 0; }

/* destino */
.dest { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(25,211,255,0.2), transparent 55%), radial-gradient(ellipse at 50% 0%, rgba(31,107,255,0.18), transparent 60%), var(--bg2); overflow: hidden; }
.dest h2 { font-size: clamp(2.4rem, 7.4vw, 6.4rem); max-width: 14ch; margin: 18px auto 26px; }
.dest .lead { margin: 0 auto 34px; }
.dest-act { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.soc-line { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 46px; flex-wrap: wrap; }
.soc-line .h { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--muted); margin-right: 6px; }
.soc { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-size: 0.9rem; color: #cfd8e8; transition: 0.25s; }
.soc svg { width: 20px; height: 20px; fill: currentColor; }
.soc:hover { transform: translateY(-3px); border-color: rgba(25,211,255,0.6); box-shadow: 0 10px 34px rgba(25,211,255,0.2); color: #fff; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 40px; background: #02040a; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); }
.foot nav a:hover { color: #fff; }
.foot .copy { margin-top: 24px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; color: #4f5c78; text-transform: uppercase; }

/* paginas internas */
.p-hero { padding: 150px 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; background: radial-gradient(ellipse at 80% 0%, rgba(31,107,255,0.22), transparent 55%), var(--bg); }
.p-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); max-width: 14ch; margin: 18px 0 20px; }
.p-hero .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.crumbs { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--cyan); }
.blk { padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.blk.alt { background: var(--bg2); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 46px; }
.cols3 > div { padding: 30px 28px 30px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.cols3 > div:last-child { border-right: 0; margin-right: 0; }
.cols3 .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--cyan); margin-bottom: 14px; display: block; }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: 46px; }
.cols2 > div { padding: 30px 28px 30px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.cols2 > div:last-child { border-right: 0; margin-right: 0; }
.fives { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: 20px; }
.fives > div { padding: 30px 18px 30px 0; border-right: 1px solid var(--line); margin-right: 18px; }
.fives > div:last-child { border-right: 0; margin-right: 0; }
.fives .big { font-size: clamp(4rem, 8vw, 7rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fives h3 { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin: 12px 0 6px; }
.fives p { font-size: 0.88rem; margin: 0; }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 46px; }
.vals > div { padding: 28px 22px 28px 0; border-right: 1px solid var(--line); margin-right: 22px; }
.vals > div:last-child { border-right: 0; margin-right: 0; }

/* contacto / formulario */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.crow { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.crow:first-of-type { border-top: 1px solid var(--line); }
.crow .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #02101c; }
.crow .ci svg { width: 22px; height: 22px; fill: currentColor; }
.crow .ci.w { background: #25d366; } .crow .ci.m { background: var(--cyan); } .crow .ci.o { background: var(--ice); }
.crow b { display: block; font-weight: 600; } .crow span { color: var(--muted); font-size: 0.95rem; }
.form { display: grid; gap: 22px; }
.f label { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,0.22); background: transparent; color: var(--ink); font: inherit; font-size: 1.05rem; transition: border-color 0.2s; border-radius: 0; }
.f select option { background: #0b1020; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--cyan); }
.f textarea { min-height: 100px; resize: vertical; }
.r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.note { font-size: 0.8rem; color: #5d6b88; }

/* whatsapp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 85; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

/* escenas */
.win { animation: win 5s ease-in-out infinite; }
@keyframes win { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.85; } }
.drive { animation: drive 16s linear infinite; }
@keyframes drive { from { transform: translateX(-160px); } to { transform: translateX(700px); } }
.beam2 { animation: beam2 4s ease-in-out infinite; } .beam2.b2 { animation-delay: -1s; } .beam2.b3 { animation-delay: -2s; } .beam2.b4 { animation-delay: -3s; }
@keyframes beam2 { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.7; } }
.sig { stroke-dasharray: 5 9; animation: sig 1.4s linear infinite; } @keyframes sig { to { stroke-dashoffset: -28; } }
.ring { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; } .ring.r2 { animation-delay: 1.2s; }
.scan { animation: scan 3s ease-in-out infinite; } @keyframes scan { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.5; } }

/* overlay movil */
.m-overlay { position: fixed; inset: 0; z-index: 75; background: rgba(3, 5, 11, 0.97); backdrop-filter: blur(18px); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--pad) 40px; opacity: 0; visibility: hidden; transition: 0.35s; }
.menu-open .m-overlay { opacity: 1; visibility: visible; }
.m-overlay a { display: flex; gap: 16px; align-items: baseline; padding: 10px 0; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 300; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
.m-overlay a small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--cyan); }
.m-overlay .m-soon { margin-top: 18px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }

@media (max-width: 960px) {
  .menu { display: none; } .burger { display: block; }
  .nav-in { width: calc(100% - 24px); justify-content: space-between; }
  .stop-grid, .p-hero .grid2, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .stop.rev .stop-art { order: 0; }
  .faq-grid .sticky { position: static; }
  .odo .wrap { grid-template-columns: 1fr 1fr; } .odo .item { border-right: 0; padding: 14px 0; margin-right: 0; }
  .track { grid-template-columns: 1fr 1fr; row-gap: 40px; } .track::before { display: none; }
  .portal-body { grid-template-columns: 1fr; } .portal-side { border-left: 0; border-top: 1px solid var(--line); }
  .cols3, .cols2, .vals { grid-template-columns: 1fr; } .cols3 > div, .cols2 > div, .vals > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .fives { grid-template-columns: 1fr 1fr; } .fives > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .stop-num { font-size: 8rem; }
}
@media (max-width: 560px) { .track, .r2 { grid-template-columns: 1fr; } .odo .item { flex-direction: column; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* Pantalla del camion del hero: alterna logo y mensaje "Anunciate aqui" (como en la unidad real) */
.scr-a, .scr-b { opacity: 0; animation: scrA 8s ease-in-out infinite; }
.scr-b { animation-name: scrB; }
@keyframes scrA { 0%, 4% { opacity: 0; } 10%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes scrB { 0%, 54% { opacity: 0; } 60%, 94% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scr-a { animation: none; opacity: 1; } .scr-b { display: none; } }
