/* =========================================================
   OLEARO & GUILLEN — v2
   Mobile-first · GSAP + ScrollTrigger + Lenis
   ========================================================= */

:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --bg-3: #18181b;
  --ink: #f4f2ee;
  --muted: #9b978f;
  --line: rgba(255, 255, 255, .09);
  --light: #f2efe9;
  --light-2: #e7e2d9;
  --dark-ink: #141416;
  --o1: #FFB000;
  --o2: #FF7A00;
  --orange: #FF6B35;
  --o3: #E8350F;
  --grad: linear-gradient(100deg, var(--o1), var(--orange) 55%, var(--o3));
  --wa: #25D366;
  --f-d: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 16px;
  --wrap: 1240px;
  --nav-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-d);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
body::before { /* grano */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--orange); color: #111; }
:focus-visible { outline: 2px solid var(--o2); outline-offset: 3px; border-radius: 6px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Tipografía base ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 600 12px/1 var(--f-m);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark { color: #6b675f; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 53, .18); animation: blink 2.4s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); } }

.sec-head { margin-bottom: clamp(36px, 6vw, 72px); max-width: 900px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-title {
  margin: 0;
  font-weight: 800;
  font-variation-settings: "wdth" 78;
  font-size: clamp(38px, 7vw, 100px);
  line-height: .93;
  letter-spacing: -.02em;
}
.sec-title em, .chapter__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sec-title--dark { color: var(--dark-ink); }
.sec-lead { margin: 20px 0 0; max-width: 560px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-lead--dark { color: #5d5951; }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn__txt { position: relative; z-index: 2; }
.btn svg { position: relative; z-index: 2; }
.btn__fill {
  position: absolute; z-index: 1; left: -25%; width: 150%; aspect-ratio: 1;
  top: 140%;
  border-radius: 42%;
  transition: top .7s var(--ease);
  animation: wave 6s linear infinite;
}
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { top: -100%; }
@keyframes wave { to { transform: rotate(360deg); } }

.btn--fuel { background: var(--grad); color: #160a03; box-shadow: 0 10px 40px -12px rgba(255, 107, 53, .6); }
.btn--fuel .btn__fill { background: #fff; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .22); color: var(--ink); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; background: #fff; border-radius: inherit; transform: scale(0); transition: transform .5s var(--ease); z-index: 1; }
.btn--ghost:hover { color: #111; }
.btn--ghost:hover::before { transform: scale(1); }
.btn--dark { background: var(--dark-ink); color: #fff; }
.btn--dark .btn__fill { background: var(--orange); }
.btn--dark:hover { color: #160a03; }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }

.chip-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-weight: 700; font-size: 13px;
  border: 1.5px solid rgba(20, 20, 22, .9); color: #141416;
  transition: background .3s, color .3s;
}
.chip-btn:hover { background: #141416; color: #fff; }
.chip-btn--o { background: #141416; color: #fff; }
.chip-btn--o:hover { background: #fff; color: #141416; }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  overflow: hidden;
}
.intro__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%);
}
.intro__center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 var(--gutter); }
.intro__logo { width: min(68vw, 400px); overflow: visible; }
.i-guide { fill: none; stroke: rgba(255,255,255,.05); stroke-width: 24; }
.i-pen { filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 18px var(--o2)); opacity: 0; }
.i-drop, .i-splash { opacity: 0; }
.intro__word {
  margin-top: 4px;
  font-weight: 700; font-variation-settings: "wdth" 115;
  font-size: clamp(12px, 2.6vw, 20px); letter-spacing: .32em;
  white-space: nowrap; overflow: hidden;
}
.intro__word .char { display: inline-block; }
.intro__tag { font: 400 11px/1.4 var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; opacity: 0; }
.intro__meter {
  position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  font-family: var(--f-m); display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 6px;
}
.intro__label { grid-column: 1 / -1; font-size: 10px; letter-spacing: .2em; color: var(--muted); margin-bottom: 6px; }
.intro__count { font-size: clamp(34px, 7vw, 64px); font-weight: 600; line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; }
.intro__unit { font-size: 14px; color: var(--o2); padding-bottom: 4px; }
.intro__bar { grid-column: 1 / -1; width: 160px; height: 3px; margin-top: 10px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.intro__bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.intro__skip {
  position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  font: 400 11px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 10px 0;
}
.intro__skip:hover { color: var(--ink); }
.intro__curtain { position: absolute; inset: 0; transform: translateY(101%); }
.intro__curtain--o { background: var(--grad); }
.no-js .intro, .intro.is-done { display: none; }

/* =========================================================
   CURSOR (solo dispositivos con mouse)
   ========================================================= */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 9999; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
  .cursor__dot { width: 6px; height: 6px; background: var(--o2); }
  .cursor__ring {
    width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.45);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor__label { font: 600 10px var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: #160a03; opacity: 0; transition: opacity .2s; }
  .cursor.is-hover .cursor__ring { width: 62px; height: 62px; background: rgba(255,122,0,.16); border-color: var(--o2); }
  .cursor.is-label .cursor__ring { width: 78px; height: 78px; background: var(--o2); border-color: var(--o2); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; z-index: 1000; top: 12px; left: 50%;
  width: min(1200px, 100% - 20px);
  translate: -50% 0;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__pill {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: rgba(16, 16, 18, .35);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: background .4s, box-shadow .4s;
}
.nav.is-scrolled .nav__pill { background: rgba(14, 14, 16, .78); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo { width: 58px; height: auto; transition: transform .6s var(--ease); }
.nav__brand:hover .nav__logo { transform: rotate(-6deg) scale(1.06); }
.nav__brandtxt { font-weight: 700; font-size: 11px; line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: none; position: relative; align-items: center; }
.nav__links a {
  position: relative; z-index: 1;
  padding: 10px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: #cfccc5;
  transition: color .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--o2);
}
.nav__blob {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 40px; width: 0;
  translate: 0 -50%; border-radius: 999px;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: left .45s var(--ease), width .45s var(--ease), opacity .3s;
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 16px; margin-left: auto;
  border-radius: 999px;
  background: var(--grad); color: #160a03;
  font-weight: 700; font-size: 14px;
}
.nav__cta svg { width: 20px; height: 20px; }
.nav__cta span { display: none; }
.nav__burger {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-content: center; gap: 6px;
  flex-shrink: 0;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav__progress { position: absolute; left: 28px; right: 28px; bottom: -1px; height: 2px; overflow: hidden; border-radius: 2px; }
.nav__progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

@media (min-width: 560px) {
  .nav__cta span { display: inline; }
}
@media (min-width: 1020px) {
  .nav { top: 16px; }
  .nav__pill { height: 64px; padding-left: 18px; }
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__cta { margin-left: 0; padding: 0 20px; }
}
@media (max-width: 380px) { .nav__brandtxt { display: none; } }

/* Menú móvil */
.menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--o2);
  background: radial-gradient(120% 90% at 100% 0%, #FFB000 0%, #FF6B35 45%, #d4300c 100%);
  color: #160a03;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(22,10,3,.15);
  font-weight: 800; font-variation-settings: "wdth" 75;
  font-size: clamp(34px, 10vw, 64px); line-height: 1.05; letter-spacing: -.02em;
  overflow: hidden;
}
.menu__links a span { display: inline-block; }
.menu__links small { font: 600 12px var(--f-m); opacity: .6; }
.menu__foot { display: grid; gap: 6px; margin-top: 30px; font-weight: 600; font-size: 14px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 48px) 0 0;
  display: flex; flex-direction: column;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__pipes { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__pipes path { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 1.4; }
.hero__pipes path.flow { stroke: url(#gOrange); stroke-width: 2; stroke-dasharray: 2 26 60 400; animation: flow 7s linear infinite; opacity: .7; }
.hero__pipes path.flow:nth-of-type(odd) { animation-duration: 9s; }
@keyframes flow { to { stroke-dashoffset: -976; } }
.hero__glow {
  position: absolute; width: 90vmax; height: 90vmax; right: -40vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(255,107,53,.22), rgba(255,107,53,0) 60%);
}
.hero__ghost { position: absolute; width: 80vw; right: -18vw; bottom: -10vw; opacity: .035; }

.hero__inner {
  flex: 1;
  width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; gap: 28px; align-items: center;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero__title {
  margin: 0;
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  font-size: clamp(42px, 12.6vw, 120px);
  line-height: .86;
  letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; will-change: transform; }
.hero__lead { max-width: 520px; margin: 26px 0 0; font-size: clamp(16px, 1.5vw, 19px); color: #c9c5bd; }
.hero__lead strong { color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__visual { position: relative; width: min(100%, 520px); justify-self: center; aspect-ratio: 1 / 1; }
.hero__orb {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFB000, #FF6B35 45%, #b8290a 100%);
  filter: blur(2px);
  box-shadow: 0 40px 120px -20px rgba(255,107,53,.55);
}
.hero__ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin 40s linear infinite; }
.hero__van { position: absolute; left: 50%; top: 50%; width: 112%; max-width: none; translate: -50% -42%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.hero__chip {
  position: absolute; display: grid; gap: 2px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(16,16,18,.7); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__chip b { font-size: 22px; line-height: 1; }
.hero__chip span { font: 400 10px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__chip--a { left: 0; top: 10%; }
.hero__chip--b { right: 0; bottom: 14%; }

.hero__brands { margin-top: 36px; padding: 18px 0 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.hero__brandslabel { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; font: 400 11px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__scroll { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero__title { font-size: min(7.6vw, 112px); }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero__visual { width: 100%; }
  .hero__ghost { width: 46vw; right: -6vw; bottom: auto; top: 12vh; }
  .hero__scroll {
    display: flex; align-items: center; gap: 10px;
    position: absolute; right: var(--gutter); bottom: 120px;
    font: 400 11px var(--f-m); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
    writing-mode: vertical-rl;
  }
  .hero__drip { width: 2px; height: 60px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; border-radius: 2px; }
  .hero__drip::after { content: ""; position: absolute; left: 0; top: -30%; width: 100%; height: 30%; background: var(--grad); animation: drip 1.8s var(--ease) infinite; }
  @keyframes drip { to { top: 100%; } }
}

/* Marquee genérico */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 56px; width: 56px; margin-right: 14px; object-fit: contain; padding: 6px; background: #fff; border-radius: 14px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Banda diagonal */
.band { position: relative; z-index: 2; padding: 34px 0; overflow: hidden; }
.band__row { rotate: -3deg; margin-inline: -4vw; background: var(--grad); color: #160a03; padding: 14px 0; box-shadow: 0 30px 60px -30px rgba(255,107,53,.6); }
.band__track {
  display: block; width: max-content; white-space: nowrap;
  font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase;
  font-size: clamp(26px, 5vw, 56px); line-height: 1;
  animation: marquee 30s linear infinite;
}
.band__track i { font-style: normal; font-size: .5em; vertical-align: middle; margin: 0 .5em; }

/* =========================================================
   SERVICIOS — tarjetas 3D
   ========================================================= */
.services { padding: clamp(70px, 10vw, 140px) 0; position: relative; }
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.card3d { perspective: 1100px; min-height: 380px; outline: none; cursor: pointer; }
.card3d__inner {
  position: relative; height: 100%; min-height: inherit;
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
  --rx: 0deg; --ry: 0deg; --flip: 0deg;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
}
.card3d.is-flipping .card3d__inner { transition: transform .9s var(--ease); }
.card3d.is-flipped .card3d__inner { --flip: 180deg; }
.card3d__face {
  position: absolute; inset: 0;
  padding: 28px 26px;
  border-radius: 26px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  overflow: hidden;
}
.card3d__front {
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,122,0,.16), transparent 55%),
    linear-gradient(160deg, #1a1a1d, #0f0f11);
  border: 1px solid var(--line);
  transition: border-color .4s, box-shadow .4s;
}
.card3d:hover .card3d__front, .card3d:focus-visible .card3d__front { border-color: rgba(255,122,0,.5); box-shadow: 0 30px 80px -30px rgba(255,107,53,.45); }
.card3d__glare {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card3d:hover .card3d__glare { opacity: 1; }
.card3d__num {
  position: absolute; top: 18px; right: 22px;
  font-weight: 900; font-variation-settings: "wdth" 70; font-size: 96px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  transform: translateZ(30px);
}
.card3d__icon {
  position: absolute; top: 26px; left: 24px;
  width: 74px; height: 74px; border-radius: 20px;
  display: grid; place-items: center;
  background: rgba(255,122,0,.1); border: 1px solid rgba(255,122,0,.25);
  transform: translateZ(60px);
}
.card3d__icon svg { width: 44px; height: 44px; fill: none; stroke: var(--o2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card3d__front h3 {
  margin: 0 0 10px; transform: translateZ(45px);
  font-weight: 800; font-variation-settings: "wdth" 85; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.05; letter-spacing: -.01em;
}
.card3d__front p { margin: 0; color: var(--muted); font-size: 15px; transform: translateZ(25px); }
.card3d__hint {
  margin-top: 18px; transform: translateZ(35px);
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--o2);
}
.card3d__hint i { font-style: normal; display: inline-block; transition: transform .6s var(--ease); }
.card3d:hover .card3d__hint i { transform: rotate(180deg); }
.card3d__back {
  transform: rotateY(180deg);
  background: radial-gradient(130% 100% at 0% 0%, #FFB000, #FF6B35 50%, #d63a10);
  color: #160a03;
  display: flex; flex-direction: column;
}
.card3d__back h4 { margin: 0 0 14px; font-weight: 900; font-variation-settings: "wdth" 72; font-size: 44px; line-height: .9; letter-spacing: -.02em; transform: translateZ(40px); }
.card3d__back ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; transform: translateZ(25px); }
.card3d__back li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.card3d__back li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: #160a03 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12l4 4 8-8' fill='none' stroke='%23FF8A00' stroke-width='3'/></svg>") center/12px no-repeat; }
.card3d__actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; transform: translateZ(40px); }

/* =========================================================
   CAPÍTULOS (scroll storytelling)
   ========================================================= */
.chapter { position: relative; background: var(--bg); overflow: hidden; }
.chapter--alt { background: var(--bg-2); }
.chapter--blue {
  background-color: #0b141d;
  background-image:
    linear-gradient(rgba(120,170,220,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,220,.07) 1px, transparent 1px),
    linear-gradient(rgba(120,170,220,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,220,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.chapter::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 70% 55%, rgba(255,107,53,.12), transparent 70%);
}
.chapter__stage {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "copy" "visual";
  padding: calc(var(--nav-h) + 14px) var(--gutter) 18px;
  gap: 10px;
}
.chapter__bignum {
  position: absolute; right: -4vw; bottom: -6vw; z-index: 0;
  font-weight: 900; font-variation-settings: "wdth" 62; font-size: 62vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.045);
  pointer-events: none; user-select: none;
}
.chapter__copy { grid-area: copy; position: relative; z-index: 3; align-self: start; max-width: 560px; }
.chapter__copy--b { visibility: hidden; opacity: 0; }
.chapter__num { margin: 0 0 10px; font: 600 12px var(--f-m); letter-spacing: .16em; color: var(--o2); }
.chapter__num i { font-style: normal; color: var(--muted); }
.chapter__title {
  margin: 0;
  font-weight: 800; font-variation-settings: "wdth" 78;
  font-size: clamp(28px, 7.4vw, 68px); line-height: .95; letter-spacing: -.02em;
}
.chapter__text { margin: 12px 0 0; color: #bdb9b1; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.5; }
.chapter__tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chapter__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font: 600 11px var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: #d6d2ca; }
.chapter__copy .btn { margin-top: 16px; }
.chapter__visual { grid-area: visual; position: relative; z-index: 2; min-height: 0; }
.vlayer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vlayer > svg { height: 92%; width: auto; max-width: 96%; overflow: visible; }

/* compactar copy en móviles bajos */
@media (max-width: 899px) {
  .chapter__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .chapter__copy .btn { display: none; }
  .chapter .chapter__copy--b .chapter__text { -webkit-line-clamp: 2; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .chapter__tags, .checklist li:nth-child(n+4) { display: none; }
  .chapter__text { -webkit-line-clamp: 2; }
}
@media (min-width: 900px) {
  .chapter__stage {
    grid-template-columns: minmax(340px, .85fr) 1.15fr;
    grid-template-rows: 1fr;
    grid-template-areas: "copy visual";
    padding: calc(var(--nav-h) + 30px) max(var(--gutter), 5vw) 40px;
    gap: 40px;
  }
  .chapter__copy { align-self: center; }
  .chapter__bignum { font-size: 38vw; right: -2vw; bottom: -5vw; }
  .vlayer > svg { height: 84%; }
}

/* lectura (tanques) */
.readout { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; margin-top: 14px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.readout span { grid-column: 1 / -1; font: 400 10px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.readout b { font: 600 clamp(26px, 4vw, 40px) var(--f-m); color: var(--o2); font-variant-numeric: tabular-nums; }
.readout small { font: 400 12px var(--f-m); color: var(--muted); }

/* antes / después */
.ba-switch { display: inline-flex; margin-top: 14px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.ba-switch span { padding: 8px 16px; border-radius: 999px; font: 600 12px var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: background .4s, color .4s; }
.ba-switch span.is-on { background: var(--grad); color: #160a03; }

/* checklist (mantenimiento) */
.checklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: #8a867e; transition: color .4s; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: transparent center/12px no-repeat;
  transition: background-color .4s, border-color .4s, transform .4s var(--ease);
}
.checklist li.done { color: var(--ink); }
.checklist li.done::before { background-color: var(--o2); border-color: var(--o2); transform: scale(1.08); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5 9-10' fill='none' stroke='%23160a03' stroke-width='3.5'/></svg>"); }

/* mini form */
.mini-form {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 6px 6px 6px 18px;
  max-width: 440px;
  border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: border-color .3s, background .3s;
}
.mini-form:focus-within { border-color: var(--o2); background: rgba(255,122,0,.07); }
.mini-form input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: none; font-size: 15px; }
.mini-form input::placeholder { color: #8a867e; }
.mini-form__btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--grad); color: #160a03; font-weight: 700; font-size: 14px;
}
.mini-form__btn span { transition: transform .3s var(--ease); }
.mini-form__btn:hover span { transform: translateX(4px); }

/* ---------- piezas SVG ---------- */
.road {
  position: absolute; left: -5%; right: -5%; bottom: 18%; height: 10px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 46px, transparent 46px 92px);
  opacity: 0; border-radius: 4px;
}
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: rgba(255,255,255,.12); }
.speedlines { position: absolute; inset: 20% 0 30%; opacity: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.5)) 10% 20% / 22% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255,122,0,.7)) 0% 45% / 30% 2px no-repeat,
    linear-gradient(90deg, transparent, rgba(255,255,255,.35)) 5% 70% / 18% 1px no-repeat;
}
.ground {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 52%;
  transform-origin: 50% 100%; transform: scaleY(0);
  background:
    linear-gradient(180deg, var(--o2) 0 3px, transparent 3px),
    repeating-linear-gradient(180deg, rgba(0,0,0,.18) 0 14px, transparent 14px 32px),
    linear-gradient(180deg, #4a3423, #2a1d14 60%, #1b130d);
  z-index: 3;
}
.ground__lid {
  position: absolute; left: 50%; top: -14px; width: 120px; height: 14px; margin-left: -60px;
  border-radius: 8px 8px 0 0; background: #2f2f33; border: 2px solid var(--o2); border-bottom: 0;
  opacity: 0;
}
.ground__tag {
  position: absolute; left: 50%; top: 26px; translate: -50% 0;
  font: 600 11px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: #f6d9c2;
  white-space: nowrap; opacity: 0;
}
.scanline { position: absolute; left: 8%; right: 8%; height: 3px; top: 100%; background: var(--grad); box-shadow: 0 0 24px 6px rgba(255,122,0,.55); opacity: 0; z-index: 4; border-radius: 3px; }
.stamp {
  position: absolute; right: 6%; top: 10%; z-index: 5;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--o2); color: var(--o2);
  font: 700 11px/1.25 var(--f-m); letter-spacing: .1em; text-transform: uppercase;
  rotate: -14deg; opacity: 0;
  background: rgba(11,11,12,.6);
}
.sparkle { position: absolute; width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; z-index: 5; }
.reacond-old { filter: grayscale(.95) sepia(.35) brightness(.72) contrast(1.05); }

/* =========================================================
   NÚCLEO (órbita)
   ========================================================= */
.core { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; background: radial-gradient(60% 50% at 50% 60%, rgba(255,107,53,.13), transparent 70%), var(--bg); }
.orbit {
  --S: min(94vw, 680px);
  --r1: calc(var(--S) * .27);
  --r2: calc(var(--S) * .44);
  --chip: max(46px, calc(var(--S) * .125));
  position: relative; width: var(--S); height: var(--S); margin: 0 auto;
}
.orbit__rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; border: 1px solid rgba(255,255,255,.08); }
.orbit__rings i:nth-child(1) { width: calc(var(--r1) * 2); height: calc(var(--r1) * 2); border-style: dashed; }
.orbit__rings i:nth-child(2) { width: calc(var(--r2) * 2); height: calc(var(--r2) * 2); }
.orbit__rings i:nth-child(3) { width: calc(var(--r2) * 2.25); height: calc(var(--r2) * 2.25); border-color: rgba(255,255,255,.04); }
.orbit__core {
  position: absolute; left: 50%; top: 50%; z-index: 5;
  width: calc(var(--S) * .3); height: calc(var(--S) * .3);
  translate: -50% -50%;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff, #f2efe9 60%, #ddd6ca);
  box-shadow: 0 0 0 10px rgba(255,107,53,.12), 0 0 90px 20px rgba(255,107,53,.35), inset 0 -10px 30px rgba(0,0,0,.08);
}
.orbit__core svg { width: 74%; position: relative; z-index: 2; }
.orbit__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,122,0,.6); animation: pulse 3s var(--ease) infinite; }
.orbit__pulse:nth-child(2) { animation-delay: 1.5s; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.orbit__ring { position: absolute; inset: 0; animation: spin 46s linear infinite; }
.orbit__ring--2 { animation-duration: 70s; animation-direction: reverse; }
.orbit.is-paused .orbit__ring, .orbit.is-paused .sat__chip { animation-play-state: paused; }
.sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.orbit__ring--1 .sat { --r: var(--r1); }
.orbit__ring--2 .sat { --r: var(--r2); }
.sat__beam {
  position: absolute; left: 0; top: -1px; height: 2px; width: var(--r);
  transform-origin: 0 50%; transform: rotate(calc(var(--a) + 180deg));
  scale: var(--bs, 1) 1;
  background: linear-gradient(90deg, rgba(255,122,0,0), rgba(255,122,0,.25));
  overflow: hidden;
}
.sat__beam::after {
  content: ""; position: absolute; top: 0; height: 100%; width: 34%;
  background: linear-gradient(90deg, transparent, #FFB000, transparent);
  animation: beam 2.6s linear infinite;
}
@keyframes beam { from { left: 100%; } to { left: -34%; } }
.sat__chip {
  position: absolute; left: 0; top: 0;
  width: var(--chip); height: var(--chip);
  margin: calc(var(--chip) / -2) 0 0 calc(var(--chip) / -2);
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6), 0 0 0 4px rgba(255,255,255,.06);
  animation: spin 46s linear infinite reverse;
  scale: var(--s, 1);
  transition: box-shadow .4s;
  z-index: 3;
}
.orbit__ring--2 .sat__chip { animation-duration: 70s; animation-direction: normal; }
.sat__chip img { width: 72%; height: 72%; object-fit: contain; border-radius: 50%; transition: transform .4s var(--ease); }
.sat__chip:hover { box-shadow: 0 0 0 4px var(--o2), 0 0 40px rgba(255,122,0,.6); }
.sat__chip:hover img { transform: scale(1.12); }
.core__list { list-style: none; margin: clamp(30px, 5vw, 60px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.core__list li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: #d6d2ca; background: rgba(255,255,255,.02); }

/* =========================================================
   NOSOTROS
   ========================================================= */
.about { background: var(--light); color: var(--dark-ink); padding: clamp(80px, 11vw, 160px) 0; border-radius: 34px 34px 0 0; position: relative; z-index: 2; }
.about__statement {
  margin: 0; max-width: 1150px;
  font-weight: 700; font-variation-settings: "wdth" 88;
  font-size: clamp(26px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.02em;
}
.about__statement .w { opacity: .14; transition: none; }
.about__grid { margin-top: clamp(50px, 8vw, 100px); display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .about__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .about__grid { grid-template-columns: repeat(3, 1fr) 1.4fr; } }
.stat { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--light-2); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.stat:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.3); }
.stat__k { font: 600 11px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--o3); }
.stat b { margin-top: 14px; font-weight: 900; font-variation-settings: "wdth" 70; font-size: clamp(64px, 8vw, 104px); line-height: .85; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--orange); }
.stat p { margin: 10px 0 0; color: #5d5951; font-weight: 600; }
.stat--wide { background: var(--dark-ink); color: #fff; border-color: transparent; justify-content: space-between; }
.stat--wide .stat__big { color: #d6d2ca; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; font-weight: 600; margin-top: 30px; }
.stat--wide strong { color: #fff; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   RESEÑAS
   ========================================================= */
.reviews { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 100px); background: var(--bg); position: relative; overflow: hidden; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.reviews__score { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 20px; border: 1px solid var(--line); }
.reviews__score b { font-weight: 900; font-variation-settings: "wdth" 70; font-size: 54px; line-height: 1; }
.reviews__score small { display: block; color: var(--muted); font-size: 12px; }
.stars { color: var(--o1); letter-spacing: 2px; font-size: 16px; }
.reviews__track {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 10px max(var(--gutter), (100vw - var(--wrap)) / 2) 30px;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
  scrollbar-width: none; cursor: grab;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reviews__track.is-drag * { user-select: none; pointer-events: none; }
.review {
  position: relative; flex: 0 0 min(84vw, 400px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 28px; border-radius: 26px;
  background: linear-gradient(160deg, #19191c, #111113); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s;
}
.review:hover { transform: translateY(-8px) rotate(-.6deg); border-color: rgba(255,122,0,.4); }
.review__q { position: absolute; right: 22px; top: -4px; font-family: Georgia, serif; font-size: 120px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.review p { margin: 0; font-size: 17px; line-height: 1.5; color: #e2ded6; flex: 1; }
/* Reseñas sin firma: la cita ocupa la tarjeta, anclada abajo */
.review:not(.review--form) p {
  flex: 0; margin-top: auto; padding-top: 24px;
  font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.38; letter-spacing: -.01em; color: var(--ink);
}
.review:not(.review--form)::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--grad); }
.review--form { background: var(--grad); color: #160a03; border: 0; }
.review--form h3 { margin: 0; font-weight: 900; font-variation-settings: "wdth" 75; font-size: 34px; line-height: .95; }
.review--form > p { color: #3d1c08; flex: 0; font-size: 15px; }
.rform { display: grid; gap: 10px; }
.rform input, .rform textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 0; background: rgba(255,255,255,.85); color: #160a03; outline: none; resize: vertical; }
.rform input:focus, .rform textarea:focus { background: #fff; box-shadow: 0 0 0 2px #160a03; }
.rform .mini-form__btn { background: #160a03; color: #fff; justify-content: center; }
.rform__stars { display: flex; gap: 4px; }
.rform__stars button { font-size: 28px; line-height: 1; color: rgba(22,10,3,.3); transition: transform .3s var(--ease), color .2s; }
.rform__stars button.on { color: #160a03; }
.rform__stars button:hover { transform: scale(1.2) rotate(-8deg); }
.reviews__hint { margin-top: 6px; font: 400 11px var(--f-m); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--light); color: var(--dark-ink); padding: clamp(80px, 11vw, 150px) 0; border-radius: 34px; position: relative; z-index: 2; margin: 0 0 -34px; }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq__side { position: sticky; top: 120px; align-self: start; } }
.faq__side .btn { margin-top: 28px; }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 22px; background: #fff; border: 1px solid var(--light-2); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.qa[open] { border-color: rgba(255,107,53,.5); box-shadow: 0 24px 50px -30px rgba(232,53,15,.4); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; cursor: pointer; font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--light); transition: background .4s, transform .6s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--grad); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { margin: 0; padding: 0 24px 24px; color: #57534b; font-size: 16px; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { padding: calc(clamp(80px, 11vw, 150px) + 34px) 0 clamp(80px, 10vw, 130px); background: var(--bg); }
.contact__grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.cform { display: grid; gap: 12px; grid-template-columns: 1fr; padding: clamp(20px, 3vw, 34px); border-radius: 28px; background: linear-gradient(160deg, #18181b, #0f0f11); border: 1px solid var(--line); }
@media (min-width: 620px) { .cform { grid-template-columns: 1fr 1fr; } .field--full, .cform .btn, .cform__note { grid-column: 1 / -1; } }
.field { position: relative; margin: 0; border: 0; padding: 0; min-width: 0; }
.field input, .field textarea {
  width: 100%; padding: 26px 16px 10px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  outline: none; transition: border-color .3s, background .3s; resize: vertical;
}
.field textarea { min-height: 120px; }
.field input + label, .field textarea + label { position: absolute; left: 17px; top: 18px; color: #8a867e; pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: 0 0; font-size: 15px; }
.field input:focus, .field textarea:focus { border-color: var(--o2); background: rgba(255,122,0,.05); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--o2); }
.field.is-invalid input { border-color: #ff4d4d; animation: shake .4s; }
@keyframes shake { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips__label { display: block; width: 100%; margin: 6px 0 2px; font: 600 11px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label > span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: 14px; transition: all .3s var(--ease); }
.chips label:hover > span { border-color: rgba(255,122,0,.6); }
.chips input:checked + span { background: var(--grad); color: #160a03; border-color: transparent; transform: translateY(-2px); }
.chips input:focus-visible + span { outline: 2px solid var(--o2); outline-offset: 2px; }
.cform .btn { margin-top: 6px; min-height: 60px; font-size: 16px; }
.cform__note { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }

.contact__side { display: grid; gap: 14px; align-content: start; }
.map { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3.2; background: #1a1a1d; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) brightness(.95); transition: filter .6s; }
.map:hover iframe { filter: none; }
.map__card {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 18px;
  background: rgba(14,14,16,.82); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .4s var(--ease);
}
.map__card:hover { transform: translateY(-4px); }
.map__card b { display: block; }
.map__card small { color: var(--muted); }
.map__pin { position: relative; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; background: var(--o2); box-shadow: 0 0 0 0 rgba(255,122,0,.7); animation: ping 2s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 16px rgba(255,122,0,0); } }
.info { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .info { grid-template-columns: 1fr 1fr; } .info__item:last-child { grid-column: 1 / -1; } }
.info__item { display: grid; gap: 2px; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s; overflow-wrap: anywhere; }
a.info__item:hover { border-color: var(--o2); background: rgba(255,122,0,.06); }
.info__item small { font: 600 10px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #070708; padding: 0 0 calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); overflow: hidden; }
.footer__marquee { padding: clamp(30px, 5vw, 60px) 0; overflow: hidden; }
.footer__mtrack {
  display: block; width: max-content; white-space: nowrap;
  font-weight: 900; font-variation-settings: "wdth" 62; font-size: clamp(70px, 16vw, 230px); line-height: .9; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2);
  animation: marquee 40s linear infinite;
}
.footer__mtrack span { color: var(--o2); -webkit-text-stroke: 0; font-size: .3em; vertical-align: middle; margin: 0 .6em; }
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr; padding-top: 10px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }
.footer__logo { width: 120px; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 380px; margin: 0; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; color: #bdb9b1; }
.footer__col h4 { margin: 0 0 6px; font: 600 11px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--o2); }
.footer__col a { position: relative; transition: color .3s; }
.footer__col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--o2); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.footer__ig { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); }
.footer__ig::after { display: none; }
.footer__ig svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.footer__top { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.footer__top:hover { border-color: var(--o2); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 900; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s var(--ease) infinite; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
@media (min-width: 768px) { .wa-float { right: 28px; bottom: 28px; width: 64px; height: 64px; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 9500;
  translate: -50% 20px; opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px;
  background: #fff; color: #111; font-weight: 600; font-size: 14px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.5);
  transition: opacity .4s, translate .4s var(--ease);
  white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- ajustes por escena ---------- */
.vl-van > svg, .vl-tank > svg {
  position: absolute; left: 50%; translate: -50% 0;
  width: min(96%, 760px); height: auto; max-width: none;
}
.vl-van > svg { bottom: calc(18% - 4px); }
.vl-tank > svg { top: 50%; translate: -50% -50%; max-height: 82%; }
.ground { bottom: -80px; height: calc(52% + 80px); }
.vl-parts > svg, .vl-bp > svg { width: min(100%, 760px); height: auto; max-height: 92%; }
.vl-gauge > svg { height: min(88%, 520px); width: auto; }
.btn.is-sent .btn__fill { top: -100%; }
.ground { background: none; }
.ground::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--o2) 0 3px, transparent 3px),
    repeating-linear-gradient(180deg, rgba(0,0,0,.18) 0 14px, transparent 14px 32px),
    linear-gradient(180deg, #4a3423, #2a1d14 60%, #1b130d);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ground__lid, .ground__tag { z-index: 1; }
@media (max-width: 899px) { .chapter__title { font-size: clamp(30px, 8.8vw, 54px); } }

/* #########################################################
   v3 — logo oficial, 3D realista, títulos con llenado
   ######################################################### */

/* ---------- Canvas WebGL compartido ---------- */
.gl-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }

/* ---------- Intro ---------- */
.intro { background: #f2efe9; color: #141416; }
.intro__center { gap: 18px; }
.intro__logo { position: relative; width: min(64vw, 330px); aspect-ratio: 130 / 70; }
.intro__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; clip-path: inset(100% 0 0 0); }
.intro__trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro__trace path { fill: none; stroke: #141416; stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.intro__trace .pen { fill: #ff7a12; filter: drop-shadow(0 0 3px #ff7a12) drop-shadow(0 0 8px rgba(255,122,18,.8)); }
.intro__level { position: absolute; left: -8%; right: -8%; height: 2px; top: 100%; background: linear-gradient(90deg, transparent, #ff7a12 20%, #ffb000 50%, #ff7a12 80%, transparent); box-shadow: 0 0 14px 2px rgba(255,122,18,.6); opacity: 0; }
.intro__word { color: #141416; font-size: clamp(12px, 2.4vw, 17px); }
.intro__word .char { display: inline-block; }
.intro__tag { color: #6b675f; }
.intro__label { color: #6b675f; }
.intro__count { color: #141416; }
.intro__bar { background: rgba(0,0,0,.08); }
.intro__skip { color: #6b675f; }
.intro__skip:hover { color: #141416; }
.intro__curtain { position: absolute; inset: 0; transform: translateY(101%); background: #0b0b0c; }
.intro__curtain::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); }

/* ---------- Nav claro (logo oficial) ---------- */
.nav__pill { background: rgba(244, 242, 238, .9); border-color: rgba(255,255,255,.6); box-shadow: 0 18px 50px -24px rgba(0,0,0,.7); }
.nav.is-scrolled .nav__pill { background: rgba(244, 242, 238, .96); }
.nav__brand { padding: 2px 6px; }
.nav__logo { width: auto; height: 38px; }
.nav__links a { color: #3b3833; }
.nav__links a:hover, .nav__links a.is-active { color: #0b0b0c; }
.nav__blob { background: rgba(20,20,22,.07); }
.nav__burger { background: #141416; }
.nav__progress { left: 30px; right: 30px; bottom: 0; }
@media (min-width: 1020px) { .nav__logo { height: 42px; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 30px); background: radial-gradient(90% 70% at 72% 40%, #1c1712 0%, #0b0b0c 62%); }
.hero__spot {
  position: absolute; left: 50%; top: -10%; width: 70vw; height: 120%;
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, rgba(255,214,170,.09) 180deg, transparent 192deg);
  filter: blur(18px);
}
.hero__floorgrid {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 45%;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 70px 70px;
  transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000, transparent 85%);
}
.hero__inner { gap: 6px; }
.hero__copy { position: relative; z-index: 8; }
.hero__title { font-size: clamp(46px, 13.6vw, 120px); line-height: .88; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__stats div { display: grid; gap: 2px; }
.hero__stats dt { font-weight: 900; font-variation-settings: "wdth" 72; font-size: 30px; line-height: 1; }
.hero__stats dd { margin: 0; font: 400 10px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__stage { position: relative; height: 72vh; height: 72svh; min-height: 420px; margin: 0 calc(var(--gutter) * -1); }
.hud { position: absolute; z-index: 8; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(14,14,16,.62); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.hud span { font: 400 9.5px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hud b { font: 600 14px var(--f-m); color: #ffb21f; font-variant-numeric: tabular-nums; }
.hud i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--o2); box-shadow: 0 0 0 4px rgba(255,122,0,.2); }
.hud--a { left: var(--gutter); top: 14%; }
.hud--a i { right: -22px; top: 50%; }
.hud--b { right: var(--gutter); bottom: 16%; }
.hud--b i { left: -22px; top: 50%; }
.hud--b b { color: var(--ink); font-size: 12px; }
.hero__drag { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; margin: 0; font: 400 10px var(--f-m); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); z-index: 8; pointer-events: none; }
@media (hover: none) { .hero__drag { display: none; } }
@media (max-width: 899px) {
  .hero { padding-top: calc(var(--nav-h) + 18px); }
  .hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy .eyebrow { order: 1; margin-bottom: 14px; }
  .hero__title { order: 2; }
  .hero__stage { order: 3; height: 50vh; height: 50svh; min-height: 340px; margin-top: -6px; }
  .hero__lead { order: 4; margin-top: 4px; }
  .hero__ctas { order: 5; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__stats { order: 6; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 40px; }
  .hero__stats dt { font-size: 24px; }
  .hero__stats dd { font-size: 8.5px; letter-spacing: .1em; }
  .hud--b { display: none; }
  .hud--a { top: 6%; left: var(--gutter); }
  .hud--a i { display: none; }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__title { font-size: min(8vw, 124px); }
  .hero__stage { height: calc(100vh - var(--nav-h) - 60px); height: calc(100svh - var(--nav-h) - 60px); margin: 0; }
  .hud--a { left: 4%; top: 22%; }
  .hud--b { display: none; }
}

/* ---------- Títulos que se llenan de combustible ---------- */
:root { --fill-c: #f4f2ee; --stroke-c: rgba(244,242,238,.38); }
.about, .faq { --fill-c: #141416; --stroke-c: rgba(20,20,22,.32); }
.tl { display: block; overflow: hidden; padding: .04em 0 .18em; margin: -.04em 0 -.18em; }
.tl__in {
  display: inline-block;
  padding: 0 .06em .16em 0; margin-bottom: -.16em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--stroke-c);
  background-image: linear-gradient(0deg, var(--fill-c) 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 var(--fill, 100%);
  -webkit-background-clip: text; background-clip: text;
  will-change: transform;
}
.tl__in em {
  font-style: normal;
  padding: 0 .08em .16em 0; margin-right: -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  -webkit-text-stroke: 1.2px rgba(255,122,18,.65);
  background-image: linear-gradient(0deg, #E8350F 0%, #FF6B35 25%, #FFB000 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 var(--fill, 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sec-title em, .chapter__title em { background: none; }
.sec-title .tl__in em, .chapter__title .tl__in em, .hero__title .tl__in em {
  background-image: linear-gradient(0deg, #E8350F 0%, #FF6B35 25%, #FFB000 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 var(--fill, 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero__title .line { display: none; }

/* scramble */
.scr { display: inline-block; }

/* ---------- Capítulos ---------- */
.chapter__num { letter-spacing: .12em; }
.chapter__visual[data-gl] { z-index: 2; }
.gl-tag {
  position: absolute; left: 50%; bottom: 8%; translate: -50% 0; z-index: 7;
  padding: 8px 14px; border-radius: 999px; background: rgba(14,14,16,.75); border: 1px solid rgba(255,122,0,.4);
  font: 600 10.5px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: #f6d9c2; white-space: nowrap; opacity: 0;
}
.stamp { z-index: 7; }
.vl-van { z-index: 1; }
.no-webgl .chapter__visual[data-gl] .vlayer.fallback { display: flex; }

/* ---------- Sistema solar ---------- */
.core { background: radial-gradient(70% 55% at 50% 58%, rgba(255,107,53,.16), transparent 70%), #08080a; }
.core__stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 72%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 44% 34%, #ffd9b0, transparent), radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1px 1px at 78% 64%, #fff, transparent), radial-gradient(1.5px 1.5px at 88% 28%, #fff, transparent),
    radial-gradient(1px 1px at 7% 86%, #fff, transparent), radial-gradient(1px 1px at 52% 90%, #ffd9b0, transparent),
    radial-gradient(1px 1px at 35% 8%, #fff, transparent), radial-gradient(1px 1px at 94% 82%, #fff, transparent);
  background-size: 420px 420px;
  animation: drift 120s linear infinite;
}
@keyframes drift { to { background-position: 420px 210px; } }
.solar { --S: min(96vw, 1000px); position: relative; width: var(--S); height: calc(var(--S) * .78); margin: 10px auto 0; touch-action: pan-y; }
@media (min-width: 900px) { .solar { height: calc(var(--S) * .62); } }
.solar__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.solar__svg--back { z-index: 1; }
.solar__svg--front { z-index: 6; }
.solar__svg .ring { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; }
.solar__svg .ring--front { stroke: rgba(255,255,255,.22); }
.solar__svg .beam { stroke: url(#gOrange); stroke-width: 1.2; stroke-dasharray: 3 9; opacity: .5; animation: beamflow 1.6s linear infinite; }
@keyframes beamflow { to { stroke-dashoffset: -24; } }
.sun { position: absolute; left: 50%; top: 50%; z-index: 5; width: calc(var(--S) * .2); aspect-ratio: 1; translate: -50% -50%; }
.sun__corona {
  position: absolute; inset: -55%; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,190,90,.75) 0%, rgba(255,122,18,.45) 28%, rgba(232,53,15,.18) 46%, transparent 66%);
  filter: blur(4px);
  animation: corona 5s ease-in-out infinite alternate;
}
.sun__corona::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,200,120,.22) 0deg 4deg, transparent 4deg 13deg);
  mask-image: radial-gradient(circle, transparent 34%, #000 40%, transparent 72%); -webkit-mask-image: radial-gradient(circle, transparent 34%, #000 40%, transparent 72%);
  animation: spin 60s linear infinite;
}
@keyframes corona { to { transform: scale(1.08); opacity: .85; } }
.sun__core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #ffffff 0%, #fff8ee 55%, #ffd9a8 100%);
  box-shadow: 0 0 40px 10px rgba(255,170,80,.55), 0 0 120px 40px rgba(255,107,53,.35), inset 0 -8px 24px rgba(255,140,40,.35);
  display: grid; place-items: center; overflow: hidden;
}
.sun__core img { width: 82%; height: auto; }
.planet { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; will-change: transform; }
.planet__body {
  position: absolute; left: 0; top: 0;
  width: var(--ps, 70px); height: var(--ps, 70px);
  margin: calc(var(--ps, 70px) / -2) 0 0 calc(var(--ps, 70px) / -2);
  border-radius: 50%; background: #fff; overflow: hidden;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 10px 30px -6px rgba(0,0,0,.7);
  transition: box-shadow .3s;
}
.planet__body img { width: 76%; height: 76%; object-fit: contain; border-radius: 50%; }
.planet__body::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 32%),
    linear-gradient(var(--la, 135deg), rgba(255,160,70,.35) 0%, transparent 32%, transparent 48%, rgba(0,0,0,.62) 100%);
}
.planet__name {
  position: absolute; left: 0; top: calc(var(--ps, 70px) / 2 + 8px); translate: -50% 0;
  font: 600 10px var(--f-m); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: #f6d9c2;
  opacity: 0; transition: opacity .3s;
}
.planet:hover .planet__name, .planet.is-on .planet__name { opacity: 1; }
.planet:hover .planet__body { box-shadow: 0 0 0 3px var(--o2), 0 0 40px rgba(255,122,0,.7); }

/* ---------- Footer ---------- */
.footer__logo { width: 110px; height: auto; border-radius: 18px; margin-bottom: 18px; }

/* =========================================================
   Sin GSAP / movimiento reducido
   ========================================================= */
.no-gsap .chapter__copy--b { visibility: visible; opacity: 1; position: relative; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .about__statement .w { opacity: 1; }
}


/* =========================================================
   07 · PROTECCIÓN CONTRA INCENDIOS
   ========================================================= */
.fire { background: radial-gradient(70% 55% at 70% 88%, rgba(232,53,15,.18), transparent 70%), #0a0909; }
.fire::before { background: radial-gradient(50% 45% at 70% 70%, rgba(255,122,0,.09), transparent 70%); }
.fire__visual { min-height: min(320px, 42svh); }
.fire__scene {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 100%; aspect-ratio: 600 / 480; max-height: 100%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  cursor: crosshair;
}
.fire__svg, .fire__canvas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fire__canvas { pointer-events: none; z-index: 2; }
.f-draw { fill: none; stroke: rgba(244,242,238,.55); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.f-thin { stroke-width: 1; stroke: rgba(244,242,238,.24); }
.f-box { fill: rgba(255,176,0,.08); stroke: rgba(255,176,0,.32); }
.f-lbl { font: 600 9px var(--f-m); letter-spacing: .14em; fill: var(--muted); }
.f-dim { font: 600 10px var(--f-m); letter-spacing: .03em; fill: #cfcac1; }
.f-dim--o { fill: var(--o1); }
.f-dimline { fill: none; stroke: rgba(255,255,255,.3); }
.f-cone { fill: none; stroke: rgba(124,196,255,.4); stroke-dasharray: 3 5; }
.f-pipe { fill: none; stroke: #E8350F; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.f-pipe--s { stroke-width: 4; }
.f-water { fill: none; stroke: #8fd0ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(124,196,255,.9)); }
.f-heads path { fill: #d6d2ca; }
.f-bie { fill: #E8350F; stroke: #ff8a65; }
.f-nodes circle { fill: #0a0909; stroke: var(--o1); stroke-width: 1.5; }
.f-nodes text { font: 600 8px var(--f-m); fill: var(--o1); text-anchor: middle; }
.fire.is-safe .f-pipe { stroke: #ff5a2a; filter: drop-shadow(0 0 6px rgba(232,53,15,.75)); }

.fsteps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.fsteps li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-weight: 700; font-size: 15px; color: #6f6b64; transition: color .4s; }
.fsteps li span { width: 24px; font: 600 11px var(--f-m); color: #55524c; transition: color .4s; }
.fsteps li::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: scaleX(.25); transform-origin: left; transition: transform .7s var(--ease), background .4s; }
.fsteps li.is-done { color: #bdb9b1; }
.fsteps li.is-done span { color: var(--o2); }
.fsteps li.is-on { color: var(--ink); }
.fsteps li.is-on span { color: var(--o1); }
.fsteps li.is-on::after { transform: scaleX(1); background: var(--grad); }
.fire__hud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.readout--sm { margin-top: 0; padding: 8px 14px; }
.readout--sm b { font-size: clamp(20px, 2.4vw, 30px); color: #8fd0ff; }
.fire__tag { left: 3%; top: 1%; bottom: auto; translate: none; opacity: 1; transition: opacity .5s; }
.fire__tag.is-off { opacity: 0; }
.fire.is-safe .fire__tag { border-color: rgba(46,204,113,.6); color: #c9f5d9; }

.fire__memo {
  position: absolute; right: 2%; top: 7%; z-index: 4;
  width: min(64%, 300px); padding: 16px 18px 20px;
  border-radius: 16px; background: #f4f2ee; color: var(--dark-ink);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.75);
  opacity: 0; visibility: hidden; transform-origin: right center;
}
.fire__memo-head b { display: block; font-weight: 800; font-variation-settings: "wdth" 80; font-size: 19px; line-height: 1; }
.fire__memo-head small { font: 400 9.5px var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: #6b675f; }
.fire__memo ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.fire__memo li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed #d4cdc1; font-size: 12px; }
.fire__memo li span { color: #5d5951; }
.fire__memo li b { font: 600 12px var(--f-m); white-space: nowrap; }
.fire__seal {
  position: absolute; right: -12px; bottom: -20px;
  padding: 9px 13px; border: 3px solid var(--o3); border-radius: 10px;
  background: rgba(244,242,238,.92); color: var(--o3);
  font: 800 12px/1.1 var(--f-d); letter-spacing: .06em; text-transform: uppercase;
  opacity: 0;
}
@media (max-width: 899px) {
  .fsteps { margin-top: 10px; }
  .fsteps li { padding: 0; font-size: 14px; }
  .fsteps li:not(.is-on) { display: none; }
  .fire__hud { margin-top: 8px; }
  .fire__memo { padding: 11px 12px 14px; width: min(70%, 260px); }
  .fire__memo-head b { font-size: 15px; }
  .fire__memo li, .fire__memo li b { font-size: 10.5px; }
  .fire__seal { font-size: 10px; right: -6px; bottom: -14px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .fire__hud { display: none; }
}

/* =========================================================
   08 · CERTIFICACIONES Y APTOS
   ========================================================= */
.certs {
  --fill-c: #141416; --stroke-c: rgba(20,20,22,.32);
  position: relative; z-index: 2; overflow: hidden;
  background: var(--light); color: var(--dark-ink);
  border-radius: 34px; margin-bottom: -34px;
  padding: clamp(80px, 11vw, 150px) 0;
}
.certs__seal { position: absolute; right: -170px; top: -150px; width: 640px; max-width: none; color: rgba(20,20,22,.1); pointer-events: none; animation: sealspin 70s linear infinite; }
.certs__seal text { font: 700 14px var(--f-m); letter-spacing: .3em; fill: rgba(232,53,15,.3); }
@keyframes sealspin { to { transform: rotate(360deg); } }
.certs .sec-head { position: relative; }

.certs__grid { position: relative; display: grid; gap: 18px; }
@media (min-width: 1000px) { .certs__grid { grid-template-columns: .74fr 1.26fr; gap: 28px; align-items: start; } }
.certs__tabs { display: grid; gap: 10px; }
@media (max-width: 999px) {
  .certs__tabs {
    grid-auto-flow: column; grid-auto-columns: minmax(230px, 76%);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px;
  }
  .certs__tabs::-webkit-scrollbar { display: none; }
  .ctab { scroll-snap-align: start; }
}
.ctab {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 5px; align-content: start;
  padding: 18px 20px 20px; border-radius: 22px; text-align: left;
  background: #fff; border: 1px solid var(--light-2); color: var(--dark-ink);
  transition: background .45s var(--ease), color .45s, border-color .45s, transform .45s var(--ease), box-shadow .45s;
}
.ctab:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(0,0,0,.35); }
.ctab__n { grid-row: span 2; padding-top: 4px; font: 600 12px var(--f-m); color: var(--o3); }
.ctab__t { font-weight: 800; font-variation-settings: "wdth" 84; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.08; }
.ctab__k { font: 400 10.5px var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: #6b675f; }
.ctab__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.ctab.is-on { background: var(--dark-ink); color: #fff; border-color: transparent; box-shadow: 0 30px 50px -30px rgba(232,53,15,.55); }
.ctab.is-on .ctab__n { color: var(--o1); }
.ctab.is-on .ctab__k { color: var(--muted); }

.cpanel { display: grid; border-radius: 28px; overflow: hidden; background: var(--dark-ink); color: var(--ink); box-shadow: 0 50px 80px -50px rgba(0,0,0,.6); }
@media (min-width: 700px) { .cpanel { grid-template-columns: 1.15fr .85fr; } .cpanel .cpanel__screen { aspect-ratio: auto; min-height: 400px; } }
.cpanel__screen {
  position: relative; overflow: hidden; aspect-ratio: 400 / 330; min-height: 280px;
  background: radial-gradient(80% 70% at 50% 40%, #222226, #0d0d0f);
  transform-style: preserve-3d;
}
.cpanel__screen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cpanel__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,176,0,.12), transparent 60%); }
.cpanel__hud { position: absolute; left: 16px; right: 16px; top: 14px; z-index: 2; display: flex; justify-content: space-between; gap: 10px; font: 600 10px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cpanel__rec { display: inline-flex; align-items: center; gap: 8px; }
.cpanel__rec > i { width: 7px; height: 7px; border-radius: 50%; background: #e53935; animation: recblink 1.1s infinite; }
@keyframes recblink { 50% { opacity: .2; } }
.cpanel.is-done .cpanel__rec > i { background: #2ecc71; animation: none; box-shadow: 0 0 0 4px rgba(46,204,113,.2); }
.cviz { position: absolute; left: 12px; top: 42px; width: calc(100% - 24px); height: calc(100% - 104px); overflow: visible; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.cviz.is-on { opacity: 1; visibility: visible; }
.cpanel__status { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 10px; }
.cpanel__status > span { font: 400 10px var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cpanel__status b { font: 600 clamp(17px, 2vw, 22px) var(--f-m); color: var(--o1); transition: color .4s; }
.cpanel.is-done .cpanel__status b { color: #2ecc71; }
.cpanel__meter { grid-column: 1 / -1; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.08); }
.cpanel__meter i { display: block; width: 100%; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.cpanel.is-done .cpanel__meter i { background: #2ecc71; }
.cpanel__info { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); }
.cpanel__info > * { transition: opacity .3s var(--ease), transform .4s var(--ease), filter .3s; }
.cpanel__info.is-swap > * { opacity: 0; transform: translateY(10px); filter: blur(6px); }
.cpanel__info h3 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 80; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.02; letter-spacing: -.01em; }
.cpanel__info p { margin: 14px 0 0; color: #bdb9b1; font-size: 15px; }
.cpanel__info ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.cpanel__info li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 14px; color: #e8e4dc; }
.cpanel__info li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  background: var(--o2) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5 9-10' fill='none' stroke='%23160a03' stroke-width='3.5'/></svg>") center/10px no-repeat;
}
.cpanel__info .btn { margin-top: 26px; align-self: flex-start; }

/* visuales del monitor */
.v-doc-t { font: 700 10px var(--f-m); letter-spacing: .14em; fill: #141416; }
.v0-rows rect { fill: none; stroke: #bdb6aa; stroke-width: 1.5; }
.v0-ln { fill: none; stroke: #cfc8bc; stroke-width: 5; stroke-linecap: round; }
.v0-ck { fill: none; stroke: #E8350F; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v0-sign { fill: none; stroke: #141416; stroke-width: 1.6; stroke-linecap: round; }
.v0-scan { fill: #FFB000; filter: drop-shadow(0 0 6px #FF7A00) drop-shadow(0 0 16px rgba(255,122,0,.7)); }
.v0-stamp-c { fill: none; stroke: #E8350F; stroke-width: 3; }
.v0-stamp-c--in { stroke-width: 1.2; stroke-dasharray: 3 3; }
.v0-stamp-t { font: 800 10.5px var(--f-d); letter-spacing: .05em; fill: #E8350F; }
.v0-stamp-t--s { font: 600 7px var(--f-m); }
.v0-wave { fill: none; stroke: #FF6B35; stroke-width: 2; opacity: 0; }
.v1-wire { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.v1-wire--flow { stroke: var(--o1); stroke-dasharray: 6 12; opacity: 0; }
.cviz.is-on .v1-wire--flow { animation: wflow .7s linear infinite; }
@keyframes wflow { to { stroke-dashoffset: -18; } }
.v1-bolt { fill: var(--o1); filter: drop-shadow(0 0 10px rgba(255,176,0,.6)); }
.v1-val { font: 600 15px var(--f-m); fill: #2ecc71; }
.v1-spark { opacity: 0; }
.v1-spark path { stroke: #FFE08A; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 4px #FFB000); }
.v2-rings ellipse { fill: none; stroke: var(--o1); stroke-width: 1.5; opacity: 0; }
.v2-cond { fill: none; stroke: #8bc34a; stroke-width: 3; stroke-linejoin: round; }
.v2-cond--glow { stroke: #eaff8a; opacity: 0; filter: drop-shadow(0 0 6px #b5ff3b); }
.v2-lead { fill: none; stroke: #e53935; stroke-width: 1.6; }
.v2-val { font: 600 15px var(--f-m); fill: var(--o1); }
.v2-led { font: 700 8px var(--f-m); fill: #160a03; }
.v3-scan { fill: var(--o1); filter: drop-shadow(0 0 8px #FF7A00); }
.v3-pts circle { fill: #2b2b31; stroke: rgba(255,255,255,.25); stroke-width: 1.5; }
.v3-ck { fill: none; stroke: #0d0d0f; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.v3-pts text { font: 600 7.5px var(--f-m); letter-spacing: .12em; fill: #d6d2ca; }
.v3-badge rect { fill: #2ecc71; }
.v3-badge text { font: 800 12px var(--f-d); letter-spacing: .08em; fill: #0d0d0f; }

@media (prefers-reduced-motion: reduce) {
  .certs__seal, .cviz.is-on .v1-wire--flow, .cpanel__rec > i { animation: none; }
}
