/* =============================================================
   KORA Online — styles.css
   Archetype: Premium product stage (dark navy + electric cyan)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #040914;
  --bg-2:      #07101f;
  --bg-3:      #0b1830;
  --panel:     rgba(14, 30, 58, 0.55);
  --ink:       #eaf3ff;
  --ink-soft:  rgba(234, 243, 255, 0.74);
  --mute:      rgba(234, 243, 255, 0.5);
  --line:      rgba(120, 180, 255, 0.14);
  --line-2:    rgba(120, 180, 255, 0.26);

  --blue-deep: #0a2bd6;
  --blue:      #1f5bff;
  --sky:       #1f8bff;
  --cyan:      #19e6ff;
  --teal:      #22e3b0;   /* sostenibilidad — acento secundario, uso mínimo */

  --grad:      linear-gradient(120deg, #0a3cff 0%, #1f8bff 45%, #19e6ff 100%);
  --grad-soft: linear-gradient(120deg, rgba(10,60,255,.18), rgba(25,230,255,.12));

  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius:   22px;
  --radius-s: 14px;
  --gutter:   clamp(1rem, 4vw, 2.5rem);
  --maxw:     1280px;
  --nav-h:    76px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
ul { list-style: none; padding: 0; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.dim { color: var(--mute); }
.grad-text {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* =============================================================
   4. Components
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .76rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--cyan);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(34, 227, 176, .6);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 227, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 227, 176, 0); } }

.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.6rem;
  font-family: var(--display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  border-radius: 999px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-grad {
  color: #fff;
  background: linear-gradient(120deg, #0a3cff, #1f8bff, #19e6ff, #1f8bff, #0a3cff);
  background-size: 300% 100%;
  animation: iridescent 8s linear infinite;
  box-shadow: 0 10px 30px -10px rgba(31, 139, 255, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-grad:hover { box-shadow: 0 18px 44px -12px rgba(25, 230, 255, .75), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-2px); }
@keyframes iridescent { to { background-position: 300% 0; } }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-soft);
  font-size: .9rem; font-weight: 500;
  transition: all .4s var(--ease-out);
}
.chip sup { font-family: var(--mono); font-size: .66rem; color: var(--mute); }
.chip:hover { border-color: var(--cyan); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.is-active sup { color: var(--blue); }

/* =============================================================
   5. Splash + mouse glow
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 1.6rem;
  background: var(--bg);
  transition: clip-path 1s var(--ease-out), opacity .6s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash img { width: 110px; filter: drop-shadow(0 0 30px rgba(25,230,255,.45)); animation: splashIn 1s var(--ease-out) both; }
.splash-bar { width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.splash-bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; animation: splashBar 1.4s var(--ease-soft) both; }
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes splashIn { from { opacity: 0; transform: scale(.85) translateY(10px); } }
@keyframes splashBar { from { transform: scaleX(0); } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }

.glow-follow {
  position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,139,255,.16), rgba(25,230,255,.05) 45%, transparent 70%);
  opacity: 0; transition: opacity .6s;
  will-change: transform;
}
.glow-follow.is-on { opacity: 1; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(4, 9, 20, .82);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-solid { background: rgba(4, 9, 20, .6); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}
.nav-inner {
  width: min(100% - 2 * var(--gutter), var(--maxw)); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 0 12px rgba(25,230,255,.35)); }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .08em; line-height: 1; display: grid; }
.brand-word small { font-family: var(--mono); font-weight: 400; font-size: .56rem; letter-spacing: .5em; color: var(--cyan); margin-top: .25rem; }
.nav-links { display: none; gap: 2rem; }
.nav-links a { position: relative; font-size: .92rem; color: var(--ink-soft); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-cta { display: none; }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: border-color .3s, transform .4s var(--ease-out);
}
.cart-btn:hover { border-color: var(--cyan); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--grad); color: #fff;
  font-family: var(--mono); font-size: .68rem; display: grid; place-items: center;
  transform: scale(0); transition: transform .4s var(--ease-bounce);
}
.cart-btn.has-items .cart-count { transform: scale(1); }
.cart-btn.is-bump { animation: bump .5s var(--ease-bounce); }
@keyframes bump { 40% { transform: scale(1.18); } }
.menu-btn { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 50%; border: 1px solid var(--line-2); }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease-out); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.nav-links.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  padding: 1rem var(--gutter) 2rem;
  background: rgba(4, 9, 20, .97); border-bottom: 1px solid var(--line);
}
.nav-links.is-open a { padding: 1rem 0; font-family: var(--display); font-size: 1.5rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-links.is-open a::after { display: none; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 2rem) 0 5rem;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 75% 40%, rgba(31, 91, 255, .38), transparent 70%),
    radial-gradient(30% 30% at 88% 70%, rgba(25, 230, 255, .22), transparent 70%),
    radial-gradient(35% 30% at 15% 20%, rgba(10, 43, 214, .25), transparent 70%),
    radial-gradient(25% 25% at 30% 85%, rgba(34, 227, 176, .08), transparent 70%);
  animation: aurora 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes aurora { to { transform: translate3d(-3%, 2%, 0) scale(1.08) rotate(3deg); } }
.hero-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  overflow: hidden;
}
.hero-grid::before {
  content: ""; position: absolute; inset: -70px 0 0;
  background-image:
    linear-gradient(rgba(31,139,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,139,255,.22) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: gridRun 3.2s linear infinite;
  will-change: transform;
}
@keyframes gridRun { to { transform: translateY(70px); } }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.route-path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: drawRoute 3.2s .9s var(--ease-out) forwards; filter: drop-shadow(0 0 6px rgba(25,230,255,.6)); }
.route-dash { stroke: rgba(255,255,255,.7); stroke-width: 2; stroke-dasharray: 3 22; animation: dashRun 1.6s linear infinite; opacity: 0; animation-delay: 3s; }
.is-ready .route-dash { opacity: .5; transition: opacity 1s 3s; }
@keyframes drawRoute { to { stroke-dashoffset: 0; } }
@keyframes dashRun { to { stroke-dashoffset: -25; } }

.hero-inner {
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  display: grid; gap: 2.5rem; align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin: 1.4rem 0 1.4rem;
  font-size: clamp(2.9rem, 8.4vw, 6.6rem);
  line-height: .95; letter-spacing: -.045em; font-weight: 800;
  max-width: 11ch;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { max-width: 38ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.type { color: var(--ink); font-weight: 600; white-space: nowrap; }
.type::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: var(--cyan); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-stats {
  display: flex; gap: clamp(1.4rem, 4vw, 3rem); margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-stats dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hero-stats dd { margin: .3rem 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.03em; }

/* Stage — 3D orbit */
.hero-stage {
  position: relative;
  height: clamp(360px, 62vw, 620px);
  display: grid; place-items: center;
  perspective: 1400px;
  --tx: 0deg; --ty: 0deg;
}
.stage-halo {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(rgba(10,60,255,0), rgba(31,139,255,.55), rgba(25,230,255,.6), rgba(10,60,255,0) 60%, rgba(10,60,255,0));
  filter: blur(50px); opacity: .55;
  animation: spin 14s linear infinite;
  will-change: transform;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage-floor {
  position: absolute; bottom: 8%; width: 78%; height: 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25,230,255,.35), rgba(31,91,255,.12) 60%, transparent);
  border: 1px solid rgba(25,230,255,.25);
  transform: rotateX(70deg);
  box-shadow: 0 0 80px rgba(25,230,255,.2);
}
.orbit-scene {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(-8deg + var(--tx))) rotateY(var(--ty));
  transition: transform .9s var(--ease-out);
  display: grid; place-items: center;
}
.orbit {
  --r: clamp(170px, 30vw, 330px);
  position: relative; width: 1px; height: 1px;
  transform-style: preserve-3d;
  animation: orbitSpin 48s linear infinite;
}
.orbit.is-js { animation: none; }
@keyframes orbitSpin { to { transform: rotateY(-360deg); } }
.orbit-item {
  position: absolute; left: 50%; top: 50%;
  width: clamp(96px, 13vw, 158px); aspect-ratio: 3 / 4;
  margin-left: calc(clamp(96px, 13vw, 158px) / -2);
  margin-top: calc(clamp(96px, 13vw, 158px) * -0.666);
  transform: rotateY(calc(var(--i) * 36deg)) translateZ(var(--r));
  border-radius: 16px; overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255,255,255,.4), 0 0 40px -8px rgba(25,230,255,.35);
  transition: filter .3s, opacity .3s;
}
.orbit-item img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.orbit-price {
  position: absolute; left: 8px; bottom: 8px;
  padding: .2rem .45rem; border-radius: 6px;
  font-size: .62rem; color: #fff; background: rgba(4, 9, 20, .82);
}
.stage-core {
  position: absolute; z-index: 3; top: 2%; width: clamp(70px, 9vw, 118px);
  filter: drop-shadow(0 0 40px rgba(25,230,255,.55));
  animation: bob 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bob { 50% { transform: translateY(-14px); } }
.stage-hint { position: absolute; bottom: 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .6rem;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute);
}
.hero-scroll span { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: scrollCue 2.2s var(--ease-soft) infinite; transform-origin: top; }
@keyframes scrollCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(10,60,255,.08), rgba(25,230,255,.06));
  padding: 1.15rem 0;
}
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: -.01em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   9. Sections — shared
   ============================================================= */
section { position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split { display: grid; gap: 1.8rem; align-items: end; }
.section-title { margin-top: 1rem; font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -.04em; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   10. Routes
   ============================================================= */
.routes { padding: clamp(5rem, 11vw, 9rem) 0; }
.routes-track { position: relative; display: grid; gap: 1.2rem; }
.routes-line { display: none; position: absolute; left: 0; right: 0; top: -40px; width: 100%; height: 120px; pointer-events: none; }
.routes-line path { stroke: url(#routeGrad); stroke: var(--sky); stroke-width: 2; stroke-dasharray: 6 10; opacity: .6; }
.route-card {
  position: relative; isolation: isolate;
  display: grid; gap: 1rem; align-content: start;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 340px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14,30,58,.55), rgba(7,16,31,.35));
  overflow: hidden;
  transition: transform .6s var(--ease-out), border-color .4s;
}
.route-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(31,139,255,.28), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.route-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.route-card:hover::before { opacity: 1; }
.route-num { font-size: .8rem; color: var(--mute); }
.route-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--cyan);
  margin-top: .6rem;
}
.route-icon svg { width: 36px; height: 36px; }
.route-card h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: .8rem; }
.route-card p { color: var(--ink-soft); }
.route-meta { margin-top: auto; padding-top: 1rem; font-size: .8rem; color: var(--cyan); display: flex; gap: .4rem; align-items: center; }
.route-meta b { color: var(--ink); font-weight: 500; }
.route-meta span { transition: transform .4s var(--ease-out); }
.route-card:hover .route-meta span { transform: translateX(6px); }

/* =============================================================
   11. Products
   ============================================================= */
.products { padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem); }
.products::before {
  content: ""; position: absolute; inset: -10% -10% auto; height: 60%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 0%, rgba(31,91,255,.18), transparent 70%);
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14,30,58,.7), rgba(7,16,31,.6));
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out), opacity .45s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover { border-color: rgba(25,230,255,.4); box-shadow: 0 30px 70px -30px rgba(25,230,255,.45); }
.card.is-hidden { display: none; }
.card.is-entering { animation: cardIn .7s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.card-stage {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 4.2;
  margin: 0; padding: 0;
  border-radius: calc(var(--radius) - 6px);
  margin: 6px 6px 0; width: calc(100% - 12px);
  background: radial-gradient(120% 90% at 50% 20%, #ffffff 40%, #e9f1ff 100%);
  overflow: hidden;
  cursor: zoom-in;
}
.card-stage img {
  width: 100%; height: 100%; object-fit: contain; padding: 6% 10%;
  transition: transform .9s var(--ease-out);
  mix-blend-mode: multiply;
}
.card:hover .card-stage img { transform: scale(1.06) translateY(-2%); }
.card-code {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: .28rem .6rem; border-radius: 999px;
  font-size: .64rem; color: #fff; background: rgba(4,9,20,.85);
}
.card-view {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  padding: .4rem .75rem; border-radius: 999px; font-size: .68rem;
  color: #fff; background: var(--grad);
  opacity: 0; transform: translateY(8px);
  transition: all .45s var(--ease-out);
}
.card:hover .card-view, .card-stage:focus-visible .card-view { opacity: 1; transform: none; }
.card-shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(25,230,255,.18), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card:hover .card-shine { opacity: 1; }
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem 1.3rem 1.3rem; flex: 1; }
.card-cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.card-title { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.15; }
.card-desc { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.card-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.card-tags li {
  padding: .22rem .6rem; border-radius: 999px;
  font-size: .72rem; color: var(--ink-soft);
  border: 1px solid var(--line);
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; }
.card-add {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.05rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .88rem;
  border: 1px solid var(--line-2);
  transition: all .4s var(--ease-out);
}
.card-add:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card-add.is-added { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.products-note { margin-top: 2rem; font-size: .76rem; color: var(--mute); text-align: center; }

/* =============================================================
   12. Trust
   ============================================================= */
.trust { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.trust-grid { display: grid; gap: 1rem; }
.trust-card {
  padding: 1.8rem; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  transition: border-color .4s, transform .6s var(--ease-out);
}
.trust-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.trust-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--cyan); background: var(--grad-soft); border: 1px solid var(--line-2); }
.trust-ico svg { width: 28px; height: 28px; }
.trust-card h3 { margin: 1.3rem 0 .6rem; font-size: 1.25rem; }
.trust-card p { color: var(--ink-soft); font-size: .95rem; }
.trust-card--eco .trust-ico { color: var(--teal); background: rgba(34,227,176,.08); border-color: rgba(34,227,176,.3); }

/* =============================================================
   13. Contact
   ============================================================= */
.contact { padding: clamp(5rem, 11vw, 9rem) 0; overflow: hidden; isolation: isolate; }
.contact-glow {
  position: absolute; z-index: -1; inset: 10% -20% -20%; pointer-events: none;
  background:
    radial-gradient(40% 40% at 20% 60%, rgba(10,60,255,.28), transparent 70%),
    radial-gradient(35% 35% at 85% 40%, rgba(25,230,255,.16), transparent 70%);
  filter: blur(30px);
}
.contact-inner { display: grid; gap: 3rem; align-items: start; }
.contact-lead { margin-top: 1.4rem; max-width: 40ch; color: var(--ink-soft); font-size: 1.08rem; }
.contact-list { margin-top: 2.4rem; display: grid; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .mono { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.contact-list a { color: var(--cyan); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list li > :last-child { text-align: right; overflow-wrap: anywhere; }
.footer-mail { color: var(--cyan); }
.footer-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.drawer-total small { font-size: .78rem; color: var(--mute); }

.contact-form {
  display: grid; gap: 1.1rem;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-2);
  background: rgba(8, 18, 38, .9);
  box-shadow: 0 40px 100px -40px rgba(10, 60, 255, .5);
}
@supports (backdrop-filter: blur(20px)) {
  .contact-form { background: rgba(8, 18, 38, .6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
}
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.05rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-2);
  background: rgba(4, 9, 20, .6);
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(234,243,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25,230,255,.12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b8a; }
.btn-check { width: 22px; height: 22px; position: absolute; opacity: 0; }
.btn-check path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.contact-form.is-sent .btn-label { opacity: 0; }
.contact-form.is-sent .btn-check { opacity: 1; }
.contact-form.is-sent .btn-check path { animation: checkDraw .6s .1s var(--ease-out) forwards; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.form-note { font-size: .72rem; color: var(--mute); text-align: center; }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 3.5rem 0 0; }
.footer-inner { display: grid; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; color: var(--ink-soft); font-size: .92rem; }
.footer-brand img { width: 52px; }
.footer-brand strong { color: var(--ink); font-family: var(--display); letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { color: var(--ink-soft); font-size: .92rem; transition: color .3s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-size: .72rem; color: var(--mute); }
.footer-word {
  margin-top: 2rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(6rem, 26vw, 22rem); line-height: .75; letter-spacing: -.06em; text-align: center;
  background: linear-gradient(180deg, rgba(31,139,255,.28), rgba(31,139,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

/* =============================================================
   15. Quick view dialog
   ============================================================= */
.qv {
  width: min(1040px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem);
  margin: auto; padding: 0;
  border: 1px solid var(--line-2); border-radius: calc(var(--radius) + 4px);
  background: var(--bg-2); color: var(--ink);
  overflow: auto;
  box-shadow: 0 60px 140px -40px rgba(10,60,255,.6);
}
.qv::backdrop { background: rgba(2, 5, 12, .78); backdrop-filter: blur(6px); }
.qv[open] { animation: qvIn .6s var(--ease-out); }
@keyframes qvIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.qv-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
  background: rgba(4,9,20,.85); border: 1px solid var(--line-2);
  transition: transform .4s var(--ease-out), border-color .3s;
}
.qv-close:hover { transform: rotate(90deg); border-color: var(--cyan); }
.qv-grid { display: grid; }
.qv-gallery { padding: .6rem; }
.qv-main {
  border-radius: var(--radius); overflow: hidden;
  background: #fff; aspect-ratio: 4 / 4.2;
}
.qv-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.qv-main img.is-swapping { opacity: 0; }
.qv-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; overflow-y: visible; padding-bottom: .3rem; }
.qv-thumbs button {
  flex: 0 0 64px; height: 76px; border-radius: 10px; overflow: hidden; background: #fff;
  border: 2px solid transparent; opacity: .6; transition: all .3s;
}
.qv-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.qv-thumbs button.is-active, .qv-thumbs button:hover { border-color: var(--cyan); opacity: 1; }
.qv-info { padding: 1.4rem 1.5rem 1.8rem; display: grid; gap: .9rem; align-content: start; }
.qv-cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.qv-info h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.qv-price { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -.03em; }
.qv-desc { color: var(--ink-soft); font-size: .98rem; }
.qv-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .6rem; }

/* =============================================================
   16. Cart drawer + toast
   ============================================================= */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(2,5,12,.7); opacity: 0; transition: opacity .5s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform .7s var(--ease-out);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { position: relative; padding: 1.5rem 1.5rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.5rem; }
.drawer-head .qv-close { top: 1.1rem; }
.drawer-list { flex: 1; overflow-y: auto; padding: .6rem 1.5rem; }
.drawer-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.drawer-item img { width: 64px; height: 76px; object-fit: contain; background: #fff; border-radius: 10px; }
.drawer-item h4 { font-family: var(--display); font-size: .95rem; letter-spacing: -.01em; line-height: 1.2; }
.drawer-item .mono { display: block; font-size: .72rem; color: var(--mute); }
.qty { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; }
.qty button:hover { color: var(--cyan); }
.qty span { min-width: 1.4ch; text-align: center; font-family: var(--mono); font-size: .8rem; }
.drawer-item strong { font-family: var(--display); font-size: 1rem; }
.drawer-empty { padding: 2rem 1.5rem; color: var(--ink-soft); text-align: center; }
.drawer-empty a { color: var(--cyan); }
.drawer.has-items .drawer-empty { display: none; }
.drawer-foot { padding: 1.3rem 1.5rem 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-total span { color: var(--ink-soft); }
.drawer-total strong { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.03em; }
.drawer:not(.has-items) [data-cart-send] { opacity: .4; pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 150;
  transform: translate(-50%, 220%);
  visibility: hidden;
  padding: .8rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 500; font-size: .92rem;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  transition: transform .6s var(--ease-out), visibility 0s .6s;
  white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }

/* =============================================================
   17. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .nav-cta { display: inline-flex; }
  .qv-grid { grid-template-columns: 1.05fr 1fr; }
  .qv-gallery { padding: 1rem; }
  .qv-info { padding: 3rem 2.4rem 2.4rem 1.2rem; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-copy { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .hero-inner { grid-template-columns: 1fr 1.1fr; }
  .hero-stage { height: min(640px, 72vh); }
  .section-head--split { grid-template-columns: 1fr auto; }
  .routes-track { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding-top: 2rem; }
  .routes-line { display: block; }
  .route-card:nth-child(3) { transform: translateY(2.5rem); }
  .route-card:nth-child(3):hover { transform: translateY(calc(2.5rem - 6px)); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .card:nth-child(4n + 2), .card:nth-child(4n + 4) { margin-top: 2.5rem; }
  .card:nth-child(4n + 2).is-flat, .card:nth-child(4n + 4).is-flat { margin-top: 0; }
}

/* =============================================================
   18. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-grid::before { animation: none; }
  .pulse { animation: none; }
  .hero-scroll span { animation: none; }
}
