/* ========================================
   KEVIN MURILLO · KM GANA — Cinematic
   ======================================== */

:root {
  --bg: #050505;
  --bg-2: #0c0c0c;
  --fg: #ffffff;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.25);
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.08);
  --accent-blue: #2aa7ff;
  --accent-red: #ff2a3a;
  --accent-gold: #f7c873;
  --radius: 8px;
  --shadow: 0 24px 80px -28px rgba(0, 0, 0, 0.9);
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --viewport-h: 100vh;
}
@supports (height: 100dvh) {
  :root { --viewport-h: 100dvh; }
}
@supports not (height: 100dvh) {
  :root { --viewport-h: -webkit-fill-available; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: #000;
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    linear-gradient(180deg, #020202 0%, #070707 38%, #020202 100%);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: var(--viewport-h);
  position: relative;
}
body.loading { overflow: hidden; }
body.experience-mode {
  height: var(--viewport-h);
  min-height: var(--viewport-h);
  overflow: hidden;
  overscroll-behavior: none;
  background: #000;
  position: fixed;
  inset: 0;
  width: 100%;
}
body.smooth-scroll-ready {
  height: var(--smooth-height, auto);
}
body.experience-mode.smooth-scroll-ready {
  height: var(--viewport-h);
}
body.smooth-scroll-ready .smooth-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
body.experience-mode .smooth-content,
body.experience-mode.smooth-scroll-ready .smooth-content {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--viewport-h);
  min-height: var(--viewport-h);
  overflow: hidden;
  transform: none !important;
  z-index: 2;
}

.scene-hud {
  position: fixed;
  left: 28px;
  top: 50%;
  z-index: 120;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.72);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  pointer-events: none;
}
.scene-rail {
  position: relative;
  width: 1px;
  height: 118px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}
.scene-rail i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: #fff;
  transform-origin: top;
  transition: height .85s cubic-bezier(.16,1,.3,1);
}

body.experience-mode .experience-deck > .marquee {
  display: none;
}
body.experience-mode .experience-deck > .scene-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: var(--viewport-h);
  min-height: var(--viewport-h);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 105%, 0) scale(.965);
  filter: blur(18px) saturate(.72);
  transition:
    transform 1.05s cubic-bezier(.16,1,.3,1),
    opacity .9s cubic-bezier(.16,1,.3,1),
    filter .9s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity, filter;
  overflow: hidden;
}
body.experience-mode .experience-deck > .scene-panel.scene-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0) saturate(1);
  z-index: 3;
}
body.experience-mode .experience-deck > .scene-panel.scene-active [data-anim] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
body.experience-mode .experience-deck > .scene-panel.scene-prev {
  opacity: 0;
  transform: translate3d(0, -42%, 0) scale(.94);
  filter: blur(18px) saturate(.72);
  z-index: 1;
}
body.experience-mode .experience-deck > .scene-panel.scene-next {
  opacity: 0;
  transform: translate3d(0, 42%, 0) scale(.94);
  filter: blur(18px) saturate(.72);
  z-index: 1;
}
body.experience-mode .experience-deck > .scene-panel .kicker,
body.experience-mode .experience-deck > .scene-panel h1,
body.experience-mode .experience-deck > .scene-panel h2,
body.experience-mode .experience-deck > .scene-panel p,
body.experience-mode .experience-deck > .scene-panel .btn,
body.experience-mode .experience-deck > .scene-panel .tg-card,
body.experience-mode .experience-deck > .scene-panel .social,
body.experience-mode .experience-deck > .scene-panel .photo-frame {
  transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .8s cubic-bezier(.16,1,.3,1), filter .8s cubic-bezier(.16,1,.3,1);
}
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) .kicker,
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) h1,
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) h2,
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) p,
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) .btn,
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) .tg-card,
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) .social,
body.experience-mode .experience-deck > .scene-panel:not(.scene-active) .photo-frame {
  opacity: 0;
  transform: translateY(44px);
  filter: blur(10px);
}
body.experience-mode .experience-deck > .scene-panel > * {
  position: relative;
  z-index: 2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
em { font-style: italic; }

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: grid;
  place-items: center;
  transition: opacity .8s ease, visibility .8s ease;
}
.loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  text-align: center;
  width: min(380px, 80vw);
}
.loader-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  animation: pulse-mark 1.6s ease-in-out infinite;
}
@keyframes pulse-mark {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.loader-bar {
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width .4s ease;
}
.loader-text {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--muted);
}

/* ============ AUDIO ============ */
.audio-prompt {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  animation: fadeIn .4s ease;
}
.audio-prompt.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.audio-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: transform .2s, box-shadow .2s;
}
.audio-prompt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(255,255,255,0.3);
}
.audio-prompt-btn i { font-size: 22px; }

.audio-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
}
.audio-toggle:hover { background: rgba(255,255,255,0.15); transform: scale(1.05); }

.audio-toggle .bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.audio-toggle .bars i {
  display: block;
  width: 3px;
  background: #fff;
  border-radius: 2px;
  animation: barJump 1s ease-in-out infinite;
}
.audio-toggle .bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.audio-toggle .bars i:nth-child(2) { height: 80%; animation-delay: .15s; }
.audio-toggle .bars i:nth-child(3) { height: 60%; animation-delay: .3s; }
.audio-toggle .bars i:nth-child(4) { height: 90%; animation-delay: .45s; }
@keyframes barJump {
  0%,100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.audio-toggle.muted .bars i { animation-play-state: paused; transform: scaleY(0.3); opacity: 0.4; }
.audio-toggle.muted::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 2px;
  background: #fff;
  transform: rotate(-45deg);
  border-radius: 2px;
}

/* ============ FONDO ============ */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.72;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: -2;
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(42,167,255,0.11), transparent 38%),
    linear-gradient(245deg, rgba(255,42,58,0.10), transparent 42%),
    linear-gradient(180deg, rgba(247,200,115,0.06), transparent 56%);
  z-index: -1;
  pointer-events: none;
}

.aventador-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.12) brightness(1);
  transition: opacity 1.15s cubic-bezier(.16,1,.3,1), transform 1.15s cubic-bezier(.16,1,.3,1), filter 1.15s cubic-bezier(.16,1,.3,1);
}
.aventador-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 16%, rgba(0,0,0,.06) 58%, rgba(0,0,0,.46) 100%),
    linear-gradient(90deg, rgba(0,0,0,.42), transparent 27%, transparent 74%, rgba(0,0,0,.42)),
    linear-gradient(180deg, rgba(0,0,0,.06), transparent 42%, rgba(0,0,0,.26));
}
.aventador-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
body.aventador-visible .aventador-bg {
  opacity: .94;
  transform: scale(1);
}
body.aventador-focus .aventador-bg {
  opacity: 1;
  filter: saturate(1.08) contrast(1.2) brightness(1.02);
}

.model-credit {
  position: fixed;
  left: 28px;
  bottom: 22px;
  z-index: 130;
  max-width: min(520px, calc(100vw - 56px));
  color: rgba(255,255,255,.48);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: .7px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .65s ease, transform .65s ease;
}
.model-credit a {
  color: rgba(255,255,255,.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.aventador-visible .model-credit {
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
}

.credits-modal[hidden] { display: none; }
.credits-modal {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: grid;
  place-items: center;
  padding: 24px;
}
.credits-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.credits-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(var(--viewport-h) - 48px);
  overflow: auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18,18,18,.98), rgba(4,4,4,.98));
  box-shadow: 0 30px 90px rgba(0,0,0,.72);
}
.credits-dialog h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 26px;
}
.credits-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size: 24px;
}
.credits-list {
  display: grid;
  gap: 20px;
}
.credits-list > div {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.credits-list strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
}
.credits-list p {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.credits-list a,
.footer-credit-btn,
.footer-credit-inline {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(5,5,5,0.48);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(5,5,5,0.86);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #cfcfcf);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 15px;
}
.brand-mark.big { width: 56px; height: 56px; font-size: 22px; }
.brand-name { font-size: 15px; letter-spacing: 0.2px; }

.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #d9d9d9);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }

@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .brand-name { display: none; }
}

/* ============ HERO CINEMÁTICO ============ */
.hero-cine {
  position: relative;
  height: var(--viewport-h);
  min-height: var(--viewport-h);
  width: 100%;
  overflow: hidden;
}
body.experience-mode .hero-cine > .hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}
body.experience-mode .hero-cine > .hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
}
body.experience-mode .hero-cine > .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
}
body.experience-mode .hero-cine > .hero-scroll-cue {
  position: absolute;
  z-index: 4;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 36%),
    radial-gradient(ellipse at center bottom, rgba(255,255,255,0.13), transparent 44%);
}
.hero-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .9s ease, transform 1.2s cubic-bezier(.22,1,.36,1), filter .8s ease;
}
.hero-canvas.is-loaded canvas {
  opacity: 1;
  transform: scale(1);
}

.hero-model-loader {
  position: absolute;
  left: 50%;
  bottom: clamp(100px, 18vh, 170px);
  z-index: 2;
  width: min(520px, 78vw);
  height: 148px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity .55s ease, transform .55s ease;
}
.hero-canvas.is-loaded .hero-model-loader {
  opacity: 0;
  transform: translateX(-50%) translateY(18px) scale(.96);
}
.loader-scan {
  position: absolute;
  inset: 12px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.36);
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(255,255,255,0.07) 14px 15px);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  animation: scanGlow 1.8s ease-in-out infinite;
}
.loader-car-line {
  position: relative;
  width: min(390px, 68vw);
  height: 70px;
  margin-top: 8px;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.22));
}
.loader-car-line::before {
  content: '';
  position: absolute;
  left: 7%; right: 7%; bottom: 23px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.86);
  border-top: 0;
  border-radius: 0 0 30px 30px;
}
.loader-car-line::after {
  content: '';
  position: absolute;
  left: 27%; right: 31%; bottom: 42px;
  height: 24px;
  border-top: 2px solid rgba(255,255,255,0.86);
  border-left: 2px solid rgba(255,255,255,0.86);
  border-right: 2px solid rgba(255,255,255,0.86);
  transform: skewX(-18deg);
}
.loader-car-line span {
  position: absolute;
  bottom: 8px;
  width: 34px; height: 34px;
  border: 2px solid rgba(255,255,255,0.82);
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  animation: wheelPulse 1.4s ease-in-out infinite;
}
.loader-car-line span:nth-child(1) { left: 20%; }
.loader-car-line span:nth-child(2) { right: 20%; animation-delay: .12s; }
.loader-car-line span:nth-child(3) {
  left: 50%; bottom: 28px;
  width: 8px; height: 8px;
  border: 0;
  background: #fff;
  box-shadow: 0 0 22px rgba(255,255,255,0.75);
}
.hero-model-loader strong {
  align-self: end;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.68);
  font-weight: 700;
}
@keyframes scanGlow {
  0%,100% { opacity: .46; transform: translateY(0); }
  50% { opacity: .95; transform: translateY(-10px); }
}
@keyframes wheelPulse {
  0%,100% { transform: scale(.92); opacity: .55; }
  50% { transform: scale(1); opacity: 1; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 26%, rgba(0,0,0,0.50) 72%, rgba(0,0,0,0.96) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 24%, transparent 58%, rgba(0,0,0,0.82) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 24px 80px;
  pointer-events: none;
}
.hero-overlay > * { pointer-events: auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 24px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5);}
  50%   { box-shadow: 0 0 0 8px rgba(255,255,255,0);}
}

.hero-mega {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
  text-shadow: 0 12px 64px rgba(0,0,0,0.72);
}
.mega-line {
  display: block;
  overflow: hidden;
}
.mega-line > span {
  display: inline-block;
  transform: translateY(110%);
}
.hero-mega.in .mega-line > span {
  animation: revealUp 1.1s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-mega.in .mega-line:nth-child(2) > span { animation-delay: .15s; }
@keyframes revealUp {
  to { transform: translateY(0); }
}
.hero-mega .outline > span {
  -webkit-text-stroke: 1.5px #fff;
  color: transparent;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--muted);
  font-weight: 600;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  border: 1px solid transparent;
}
.btn i { font-size: 18px; }
.btn-primary { background: linear-gradient(135deg, #fff, #d8d8d8); color: #000; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(255,255,255,0.24); }
.btn-ghost {
  border-color: var(--line-strong);
  color: #fff;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--card-hover); border-color: #fff; }

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: linear-gradient(90deg, rgba(42,167,255,0.05), rgba(255,255,255,0.025), rgba(255,42,58,0.05));
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px var(--pad);
  position: relative;
}
.section::before {
  content: '';
  position: absolute;
  top: 0; left: var(--pad); right: var(--pad);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  opacity: .55;
}
@media (max-width: 720px) { .section { padding: 90px 20px; } }

body.experience-mode .section {
  max-width: none;
  margin: 0;
  padding: 112px var(--pad) 76px;
  display: grid;
  align-items: center;
}
body.experience-mode .section::before {
  display: none;
}
body.experience-mode .intro-grid {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
body.experience-mode #redes {
  background:
    radial-gradient(900px 560px at 65% 45%, rgba(42,167,255,0.08), transparent 68%),
    radial-gradient(760px 520px at 18% 70%, rgba(247,200,115,0.07), transparent 70%);
}
body.experience-mode #redes .section-head,
body.experience-mode #redes .socials {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}
body.experience-mode #redes .section-head {
  margin-bottom: 34px;
}
body.experience-mode #redes .socials {
  position: relative;
  z-index: 3;
}
body.experience-mode .footer {
  max-width: none;
  margin: 0;
  padding: 112px var(--pad) 76px;
  display: grid;
  align-content: center;
  border-top: 0;
  background:
    radial-gradient(860px 520px at 50% 35%, rgba(255,255,255,0.09), transparent 70%),
    linear-gradient(180deg, #050505, #000);
}
body.experience-mode .footer-top,
body.experience-mode .footer-bottom {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-head { margin-bottom: 50px; max-width: 820px; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2,
.intro-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.section-head h2 em,
.intro-text h2 em {
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
}
.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}
.section-lead strong { color: #fff; }

/* ============ INTRO ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.intro-text p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
}
.intro-text p strong { color: #fff; }

.intro-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.intro-stats > div { display: flex; flex-direction: column; }
.intro-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.intro-stats span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.intro-photo { display: flex; justify-content: center; }
.photo-frame {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}
.photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 200px;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
}
.photo-frame:not(.photo-empty) .photo-fallback { display: none; }
.photo-tag {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.intro-photo { position: relative; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-photo { order: -1; }
  .photo-frame { width: min(320px, 80%); }
}

/* ============ TELEGRAM CARD ============ */
.tg-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.tg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.07), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.tg-card:hover {
  border-color: var(--line-strong);
  background: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.tg-card:hover::before { opacity: 1; }

.tg-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #ccc);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 36px;
  flex-shrink: 0;
}
.tg-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.tg-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tg-desc { font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }
.tg-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.tg-note {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.tg-note i { color: #fff; }

@media (max-width: 720px) {
  .tg-card { grid-template-columns: auto 1fr; gap: 18px; padding: 22px; }
  .tg-action { grid-column: 1 / -1; justify-content: center; }
}

/* ============ CAR / DKARS ============ */
.section-car { padding-top: 60px; }
.car-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #0e0e0e, #050505);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 40px;
  overflow: hidden;
  min-height: 640px;
}
.car-stage::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}

.car-canvas {
  width: 100%;
  height: 600px;
  position: relative;
  z-index: 1;
}
.car-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s ease, transform 1s cubic-bezier(.22,1,.36,1);
}
.car-canvas.is-loaded canvas {
  opacity: 1;
  transform: scale(1);
}
.car-model-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  pointer-events: none;
  color: rgba(255,255,255,0.72);
  transition: opacity .45s ease, transform .45s ease;
}
.car-canvas.is-loaded .car-model-loader {
  opacity: 0;
  transform: translateY(12px);
}
.car-model-loader span {
  width: 190px;
  height: 46px;
  border-bottom: 2px solid rgba(255,255,255,0.82);
  border-radius: 0 0 40px 40px;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(255,42,58,0.35));
  animation: scanGlow 1.8s ease-in-out infinite;
}
.car-model-loader span::before,
.car-model-loader span::after {
  content: '';
  position: absolute;
  bottom: -14px;
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.82);
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
}
.car-model-loader span::before { left: 32px; }
.car-model-loader span::after { right: 32px; }
.car-model-loader strong {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
}

.car-content { position: relative; z-index: 2; }
.car-logo {
  width: 140px;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
}
.car-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.car-content p {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .car-stage { grid-template-columns: 1fr; padding: 26px; min-height: auto; }
  .car-canvas { height: 380px; }
}

/* ============ SOCIALS ============ */
.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.social {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.social::before,
.tg-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 38%);
  opacity: 0;
  transition: opacity .3s ease;
}
.social:hover::before,
.tg-card:hover::after { opacity: 1; }
.social > i:first-child {
  font-size: 32px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
}
.social strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.social span { font-size: 13px; color: var(--muted); }
.social .arrow {
  font-size: 20px;
  color: var(--muted);
  transition: transform .3s, color .3s;
}
.social:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.social:hover > i:first-child {
  background: #000;
  color: #fff;
  border-color: #000;
}
.social:hover span,
.social:hover .arrow { color: #000; }
.social:hover .arrow { transform: translate(4px,-4px); }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 60px var(--pad) 30px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 380px;
}
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a,
.footer-credit-btn {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s;
  text-decoration: none;
}
.footer-links a:hover,
.footer-credit-btn:hover,
.footer-credit-inline:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.footer-credit-btn,
.footer-credit-inline {
  padding: 0;
  color: var(--muted);
  text-decoration: none;
}
.footer-credit-inline {
  font-size: 12px;
  letter-spacing: .5px;
}

/* ============ DATA-ANIM (estados iniciales) ============ */
[data-anim] { will-change: transform, opacity; }
[data-anim="fade-up"]   { opacity: 0; transform: translateY(40px); }
[data-anim="fade-down"] { opacity: 0; transform: translateY(-30px); }
[data-anim="fade-left"] { opacity: 0; transform: translateX(40px); }
[data-anim="reveal-up"] { opacity: 0; transform: translateY(60px); }

/* ============ FLEET CARRUSEL (estilo Adidas swipe) ============ */
.section-fleet {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.section-fleet .section-head {
  max-width: var(--max);
  margin: 0 auto 50px;
  padding: 0 var(--pad);
}

.fleet {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.fleet.dragging { cursor: grabbing; }

.fleet-track {
  display: flex;
  gap: 24px;
  padding: 20px var(--pad) 60px;
  will-change: transform;
}

.fleet-card {
  flex: 0 0 clamp(280px, 40vw, 460px);
  aspect-ratio: 4/5;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #0e0e0e, #050505);
  position: relative;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .3s;
  pointer-events: auto;
}
.fleet-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
}
.fleet-num {
  position: absolute;
  top: 22px; left: 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--muted);
  z-index: 3;
}
.fleet-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
  filter: grayscale(30%) contrast(1.05);
  transition: transform .8s ease, filter .5s ease;
}
.fleet-card:hover .fleet-img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.1);
}
.fleet-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, transparent 80%);
}
.fleet-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 28px;
  color: #fff;
}
.fleet-meta span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  margin-bottom: 12px;
}
.fleet-meta h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 6px;
}
.fleet-meta p { color: var(--muted); font-size: 14px; }

.fleet-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 20px;
}
.fleet-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: all .25s;
}
.fleet-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* ============ GLITCH OVERLAY ============ */
.glitch-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}
.glitch-overlay.glitching { animation: glitchOn .55s steps(1) forwards; }

.glitch-bars,
.glitch-rgb,
.glitch-noise {
  position: absolute;
  inset: 0;
}
.glitch-bars {
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(255,255,255,0.08) 2px,
      rgba(255,255,255,0.08) 3px
    );
  animation: glitchBars 0.4s steps(1) infinite;
}
.glitch-rgb {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,0,80,0.18), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0,180,255,0.18), transparent 60%);
  animation: glitchRgb 0.18s steps(1) infinite;
}
.glitch-noise {
  background-image:
    repeating-conic-gradient(rgba(255,255,255,0.02) 0% 25%, transparent 0% 50%);
  background-size: 4px 4px;
  opacity: 0.6;
  animation: glitchNoise .12s steps(1) infinite;
}
@keyframes glitchOn {
  0%   { opacity: 1; transform: translate(0,0); }
  20%  { opacity: 1; transform: translate(-4px, 2px); }
  40%  { opacity: 1; transform: translate(3px, -2px); }
  60%  { opacity: 1; transform: translate(-2px, 1px); }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes glitchBars {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}
@keyframes glitchRgb {
  0%   { transform: translate(0,0); }
  100% { transform: translate(2px, -1px); }
}
@keyframes glitchNoise {
  0% { transform: translate(0,0); }
  100% { transform: translate(2px, 2px); }
}

/* clase aplicada a body durante glitch para sacudir todo */
body.glitching .nav,
body.glitching .hero-overlay,
body.glitching .section,
body.glitching .marquee,
body.glitching .footer {
  animation: shakeGlitch .35s steps(2);
}
@keyframes shakeGlitch {
  0%,100% { transform: translate(0,0); filter: none; }
  20% { transform: translate(-3px, 1px); filter: hue-rotate(15deg); }
  40% { transform: translate(2px, -2px); filter: contrast(1.3); }
  60% { transform: translate(-2px, 2px); filter: invert(0.05); }
  80% { transform: translate(1px, -1px); }
}

/* ============ HOVER COLOR HINT (afecta cursor/glow del fondo) ============ */
body.tint-telegram .bg-glow {
  background:
    linear-gradient(115deg, rgba(42,167,255,0.22), transparent 42%),
    linear-gradient(245deg, rgba(255,42,58,0.07), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 56%);
  transition: background .6s ease;
}
body.tint-dkars .bg-glow {
  background:
    linear-gradient(115deg, rgba(42,167,255,0.07), transparent 48%),
    linear-gradient(245deg, rgba(255,42,58,0.22), transparent 46%),
    linear-gradient(180deg, rgba(247,200,115,0.05), transparent 56%);
  transition: background .6s ease;
}
body.tint-redes .bg-glow {
  background:
    linear-gradient(115deg, rgba(42,167,255,0.14), transparent 44%),
    linear-gradient(245deg, rgba(247,200,115,0.12), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 58%);
  transition: background .6s ease;
}

/* ============ SCROLL WOW (escalado y blur del coche del hero) ============ */
.hero-cine .hero-canvas {
  transition: filter .3s ease;
}

/* ==========================================================
   SWIPE PAGES — Estilo Adidas, Telegram ↔ DKARS
   ========================================================== */
.pages {
  position: relative;
  width: 100%;
  min-height: var(--viewport-h);
  background:
    linear-gradient(180deg, #050505, #080808 46%, #030303);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
body.experience-mode .pages {
  height: var(--viewport-h);
  min-height: var(--viewport-h);
  border: 0;
  background:
    radial-gradient(900px 560px at 20% 52%, rgba(0,0,0,.66), transparent 62%),
    linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.08) 48%, rgba(0,0,0,.52));
}
.pages::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), transparent 18%, transparent 82%, rgba(255,255,255,0.05)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 18vw);
  opacity: .65;
}

.pages-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--pad);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(0,0,0,0.42), transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-wrap: wrap;
}

.pages-tabs {
  display: flex;
  gap: 12px;
}
.pages-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color .3s, background .3s, border-color .3s, transform .3s;
}
.pages-tab .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.6;
}
.pages-tab.active {
  background: linear-gradient(135deg, #fff, #d9d9d9);
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}
.pages-tab.active .num { opacity: 1; }
.pages-tab:hover:not(.active) {
  color: #fff;
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.pages-progress {
  flex: 1;
  max-width: 320px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.pages-progress-bar {
  width: 33.333%;
  height: 100%;
  background: #fff;
  transition: width .6s cubic-bezier(.22,1,.36,1);
}

.pages-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}
.pages-hint i { font-size: 18px; animation: hintMove 2s ease-in-out infinite; }
@keyframes hintMove {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.pages-viewport {
  position: relative;
  width: 100%;
  height: var(--viewport-h);
  min-height: var(--viewport-h);
  overflow: hidden;
  cursor: grab;
  z-index: 2;
}
.pages-viewport.dragging { cursor: grabbing; }

.pages-track {
  display: flex;
  height: 100%;
  width: calc(var(--pages-total, 3) * 100%);
  transition: transform 1.05s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

.page {
  flex: 0 0 calc(100% / var(--pages-total, 3));
  height: 100%;
  position: relative;
  overflow: hidden;
  opacity: .54;
  filter: saturate(.72) contrast(.95);
  transform: scale(.965);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), filter .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.page.active {
  opacity: 1;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1);
}
.page::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(90deg, rgba(0,0,0,.42), transparent 22%, transparent 78%, rgba(0,0,0,.38));
  opacity: .46;
}

/* Letras enormes detrás */
.page-bg-letters {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(190px, 31vw, 500px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px rgba(255,255,255,0.075);
  color: transparent;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  opacity: .85;
  transform: translateX(-50%) translateY(22px) scale(1.08);
  transition: transform 1s cubic-bezier(.16,1,.3,1), opacity 1s cubic-bezier(.16,1,.3,1);
}
.page.active .page-bg-letters {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.page-route {
  position: absolute;
  left: var(--pad);
  bottom: 30px;
  z-index: 7;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.page-inner {
  position: relative;
  z-index: 6;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  padding: 124px var(--pad) 76px;
  max-width: var(--max);
  margin: 0 auto;
}

.page-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transform: translateX(-44px);
  opacity: .25;
  filter: blur(8px);
  transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .85s cubic-bezier(.16,1,.3,1), filter .85s cubic-bezier(.16,1,.3,1);
}
.page.active .page-side {
  transform: translateX(0);
  opacity: 1;
  filter: blur(0);
}
.page-side .kicker { margin-bottom: 0; }
.page-side h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 6.5vw, 90px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 4px 0 8px;
}
.page-side h2 em {
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
}
.page-side p {
  color: var(--muted);
  font-size: 17px;
  max-width: 460px;
  margin-bottom: 8px;
}
.page-side p strong { color: #fff; }

.page-side .car-logo {
  width: 130px;
  margin-bottom: 6px;
  filter: brightness(0) invert(1);
}

/* Visual lado derecho */
.page-visual {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  transform: translateX(58px) scale(.92);
  opacity: .25;
  filter: blur(10px);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .9s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1);
}
.page.active .page-visual {
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.page-visual-tg,
.page-visual-mayoreo {
  position: relative;
}
.page-visual-tg .big-icon,
.page-visual-mayoreo .big-icon {
  position: relative;
  z-index: 3;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #a6dfff 58%, #6c8faa);
  color: #000;
  display: grid;
  place-items: center;
  font-size: clamp(90px, 11vw, 160px);
  box-shadow:
    0 30px 80px rgba(255,255,255,0.15),
    inset 0 -10px 30px rgba(0,0,0,0.4);
  animation: floatIcon 4s ease-in-out infinite;
}
.page-visual-mayoreo .big-icon {
  background: radial-gradient(circle at 30% 30%, #ffffff, #8fe5b0 55%, #1f7a4a);
  color: #053b22;
  box-shadow:
    0 30px 80px rgba(37, 211, 102, 0.22),
    inset 0 -10px 30px rgba(0,0,0,0.4);
}
@keyframes floatIcon {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%   { transform: translateY(-12px) rotate(3deg); }
}
.page-visual-tg .orbit,
.page-visual-mayoreo .orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 110%;
  aspect-ratio: 1;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 30s linear infinite;
}
.page-visual-tg .orbit-2,
.page-visual-mayoreo .orbit-2 {
  width: 130%;
  border-color: rgba(255,255,255,0.08);
  animation-duration: 50s;
  animation-direction: reverse;
}
@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.page-visual-car {
  width: 100%;
  height: 100%;
}
.page-visual-car .car-canvas {
  width: 100%;
  height: 100%;
  min-height: 420px;
  opacity: .72;
}

/* Tinte de fondo cuando la página está activa */
.page-telegram::before,
.page-mayoreo::before,
.page-dkars::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  transition: opacity .8s ease;
}
.page-telegram::before {
  background: radial-gradient(900px 600px at 30% 50%, rgba(0, 136, 204, 0.11), transparent 70%);
}
.page-mayoreo::before {
  background:
    radial-gradient(900px 600px at 35% 45%, rgba(247, 200, 115, 0.10), transparent 70%),
    radial-gradient(700px 520px at 75% 60%, rgba(255, 36, 50, 0.06), transparent 70%);
}
.page-dkars::before {
  background: radial-gradient(900px 600px at 70% 50%, rgba(255, 36, 50, 0.10), transparent 70%);
}
.page-socials::before {
  background:
    radial-gradient(900px 600px at 50% 45%, rgba(247, 200, 115, 0.08), transparent 68%),
    radial-gradient(700px 520px at 80% 68%, rgba(42, 167, 255, 0.08), transparent 70%);
}

/* Mayoreo — listado de beneficios */
.mayoreo-list {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mayoreo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
}
.mayoreo-list li i {
  color: #f7c873;
  font-size: 1.05rem;
}

/* Mayoreo — tags flotantes en visual */
.page-visual-mayoreo {
  position: relative;
}
.mayoreo-tags {
  position: absolute;
  inset: auto 0 8% 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.mayoreo-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.86);
}
.mayoreo-tags span i {
  color: #f7c873;
}

.page-visual-socials {
  min-height: 520px;
}
.social-orbital {
  position: relative;
  width: min(520px, 40vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: orbitalBreath 5s ease-in-out infinite;
}
.social-orbital::before,
.social-orbital::after {
  content: '';
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.16);
  animation: orbitSpin 34s linear infinite;
}
.social-orbital::after {
  inset: -10%;
  border-color: rgba(255,255,255,0.08);
  animation-duration: 54s;
  animation-direction: reverse;
}
.center-mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(120px, 13vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #cfcfcf);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  box-shadow: 0 30px 90px rgba(255,255,255,0.16);
}
.orbit-social {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 34px;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.orbit-social:hover {
  transform: scale(1.1);
  background: #fff;
  color: #000;
}
.orbit-youtube { top: 6%; left: 50%; transform: translateX(-50%); }
.orbit-instagram { top: 50%; right: 4%; transform: translateY(-50%); }
.orbit-tiktok { bottom: 6%; left: 50%; transform: translateX(-50%); }
.orbit-telegram { top: 50%; left: 4%; transform: translateY(-50%); }
@keyframes orbitalBreath {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

/* Flechas */
.pages-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  display: grid; place-items: center;
  font-size: 22px;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.pages-arrow:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-50%) scale(1.04); }
.pages-arrow-prev { left: 24px; }
.pages-arrow-next { right: 24px; }
.pages-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

/* Responsive */
@media (max-width: 900px) {
  .page-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 110px 24px 76px;
    text-align: left;
  }
  .page-visual { min-height: 300px; }
  .pages-viewport { height: var(--viewport-h); min-height: var(--viewport-h); }
  .pages-arrow { width: 44px; height: 44px; font-size: 18px; }
  .pages-arrow-prev { left: 12px; }
  .pages-arrow-next { right: 12px; }
}

@media (max-width: 720px) {
  .hero-cine {
    min-height: var(--viewport-h);
  }
  .hero-overlay {
    justify-content: flex-start;
    padding-top: max(84px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .hero-badge {
    max-width: calc(100vw - 36px);
    font-size: 10px;
    letter-spacing: 1.3px;
  }
  .hero-mega {
    font-size: clamp(58px, 19vw, 94px);
    line-height: .9;
    margin-bottom: 18px;
  }
  .hero-tag {
    max-width: 320px;
    font-size: 10px;
    line-height: 1.8;
    letter-spacing: 2.4px;
    margin-bottom: 24px;
  }
  .hero-actions {
    width: min(360px, 100%);
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
  .hero-model-loader {
    bottom: max(58px, env(safe-area-inset-bottom));
    width: 90vw;
  }
  .loader-car-line {
    width: 78vw;
  }
  .pages-header {
    gap: 16px;
    padding: 16px 16px 12px;
  }
  .pages-tabs {
    width: 100%;
  }
  .pages-tab {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    font-size: 12px;
  }
  .pages-progress {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .pages-hint {
    display: none;
  }
  .page-side h2 {
    font-size: clamp(40px, 14vw, 62px);
  }
  .page-side p {
    font-size: 15px;
  }
  .page-inner {
    padding: max(100px, calc(env(safe-area-inset-top) + 78px)) 20px max(54px, calc(env(safe-area-inset-bottom) + 28px));
    gap: 14px;
  }
  .page-visual-car .car-canvas {
    min-height: 230px;
    height: 230px;
    margin-top: -10px;
  }
  .page-visual-car {
    min-height: 230px;
    align-items: start;
  }
  .page-bg-letters {
    bottom: 4%;
    font-size: 118px;
  }
  .page-route {
    left: 20px;
    bottom: 20px;
    font-size: 10px;
  }
  .pages-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .pages-arrow:hover {
    transform: scale(1.04);
  }
  .tg-card {
    padding: 18px;
  }
  .tg-avatar {
    width: 58px;
    height: 58px;
    font-size: 30px;
  }
  .social {
    padding: 18px;
  }
  .page-visual-socials {
    min-height: 260px;
  }
  .social-orbital {
    width: min(300px, 76vw);
  }
  .orbit-social {
    width: 48px;
    font-size: 23px;
  }
  .center-mark {
    width: 96px;
    font-size: 42px;
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .hero-badge { margin-bottom: 14px; }
  .hero-mega {
    font-size: clamp(50px, 17vw, 82px);
    margin-bottom: 14px;
  }
  .hero-tag {
    margin-bottom: 18px;
    line-height: 1.55;
  }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 13px 16px; }
  .hero-scroll-cue { bottom: max(18px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* TG card dentro de la page */
.page-telegram .tg-card {
  width: 100%;
  max-width: 520px;
  margin-top: 8px;
}
.page-telegram .tg-note { margin-top: 14px; }

/* Ocultar el carrusel viejo si quedó algo */
.section-fleet { display: none !important; }


