/* =========================================================
   AquaNova · web1
   Paleta: azul profundo, azul eléctrico, verde agua, blanco
   ========================================================= */
:root {
  --bg: #041026;
  --bg-2: #071a3a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --line: rgba(173, 214, 255, 0.16);
  --text: #f4f8ff;
  --muted: #a9bddb;
  --blue: #2e9bff;
  --blue-2: #0a6cff;
  --cyan: #5fd4ff;
  --green: #22e39a;
  --green-2: #12b97a;
  --white: #ffffff;
  --danger: #ff6b7d;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--green) 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 30, 90, 0.8);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(46, 155, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(34, 227, 154, 0.12), transparent 60%),
    var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 16px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), var(--shadow);
}

/* Canvas de agua y brillo del cursor */
#water { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; z-index: 0; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 212, 255, 0.14), transparent 65%);
  transform: translate3d(var(--x, -500px), var(--y, -500px), 0) translate(-50%, -50%);
  transition: opacity .4s;
}
main, .footer, .nav { position: relative; z-index: 1; }

/* ---------- Botones ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform .35s var(--ease-out), box-shadow .3s, background-color .3s, color .3s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translate3d(var(--bx), var(--by), 0) scale(0.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-primary { color: var(--white); background: linear-gradient(120deg, var(--blue-2), var(--blue) 55%, var(--cyan)); box-shadow: 0 10px 30px -8px rgba(46,155,255,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-green { color: #032419; background: linear-gradient(120deg, var(--green-2), var(--green)); box-shadow: 0 10px 30px -8px rgba(34,227,154,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary::after, .btn-green::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover::after, .btn-green:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 44px -8px rgba(46,155,255,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-green:hover { box-shadow: 0 16px 44px -8px rgba(34,227,154,.8), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(173,214,255,.35); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 50;
  width: min(1200px, 100% - 32px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 20px;
  border-radius: 999px; border: 1px solid transparent; background: rgba(6, 22, 52, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s, border-color .4s, backdrop-filter .4s, top .4s var(--ease-out);
}
.nav.scrolled { top: 10px; background: rgba(6, 22, 52, .62); border-color: var(--line); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 20px 50px -25px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.brand b { font-weight: 700; color: var(--green); }
.brand-name { white-space: nowrap; }
.brand small { font-size: .62em; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 2px; }
.brand-mark { width: auto; height: 38px; flex: none; filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 4px 14px rgba(46,155,255,.45)); }
.nav nav { margin-left: auto; }
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }
.menu-btn { display: none; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease-out); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 100px 28px 40px;
  background: rgba(4, 16, 38, .92); backdrop-filter: blur(20px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 34px; font-weight: 600; text-decoration: none; padding: 6px 0; animation: menuIn .5s var(--ease-out) both; }
.mobile-menu a:nth-child(2) { animation-delay: .04s } .mobile-menu a:nth-child(3) { animation-delay: .08s } .mobile-menu a:nth-child(4) { animation-delay: .12s } .mobile-menu a:nth-child(5) { animation-delay: .16s }
.mobile-menu .btn { margin-top: 20px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; }
.hero-media { position: absolute; inset: -8% 0 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
/* Banner rotativo: las fotos se apilan y se cruzan con un fundido y un zoom lento */
.hero-slides, .hero-slide { position: absolute; inset: 0; margin: 0; }
.hero-slide { opacity: 0; transition: opacity 1.4s var(--ease-out); overflow: hidden; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { transform: scale(1.12); transform-origin: 70% 50%; }
.hero-slide.is-active img { transform: scale(1); transition: transform 8s linear; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,16,38,.94) 0%, rgba(4,16,38,.72) 34%, rgba(4,16,38,.12) 64%, transparent 82%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-slider-ui {
  position: absolute; z-index: 3; right: 5%; bottom: 13%;
  display: flex; align-items: center; gap: 18px; padding: 12px 12px 12px 20px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(12,34,78,.72), rgba(4,16,38,.6));
}
.hs-caption { display: grid; gap: 2px; min-width: 0; }
.hs-count { font-family: var(--font-mono, monospace); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.hs-count b { color: var(--green); font-weight: 600; }
.hs-names { display: grid; }
.hs-name { grid-area: 1 / 1; text-decoration: none; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #fff; white-space: nowrap;
  opacity: 0; translate: 0 8px; visibility: hidden; transition: opacity .5s, translate .5s var(--ease-out), visibility .5s; }
.hs-name.is-active { opacity: 1; translate: 0 0; visibility: visible; }
.hs-name:hover { color: var(--cyan, #5fd4ff); }
.hs-dots { display: flex; gap: 6px; }
.hs-dot { width: 26px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hs-dot i { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); overflow: hidden; position: relative; }
.hs-dot i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green), #5fd4ff); transform: scaleX(0); transform-origin: left; }
.hs-dot.done i::after { transform: scaleX(1); }
.hs-dot.is-active i::after { animation: hsProgress var(--hs-time, 6s) linear forwards; }
.hero-slider-ui.paused .hs-dot.is-active i::after { animation-play-state: paused; }
@keyframes hsProgress { to { transform: scaleX(1); } }
.hs-pause { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hs-pause:hover { background: rgba(255,255,255,.14); }
.hs-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hs-pause .i-play { display: none; fill: currentColor; stroke: none; }
.hero-slider-ui.paused .i-pause { display: none; }
.hero-slider-ui.paused .i-play { display: block; }
.hs-dot:focus-visible, .hs-pause:focus-visible, .hs-name:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img, .hero-slide.is-active img { transition: none; transform: none; }
}
.hero-grid {
  position: absolute; inset: auto 0 0; height: 45%; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(95,212,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(95,212,255,.25) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: gridMove 6s linear infinite;
}
@keyframes gridMove { to { background-position: 0 64px, 0 0; } }
.hero-inner { max-width: 1200px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; color: #dff7ee; background: rgba(34,227,154,.1); border: 1px solid rgba(34,227,154,.3); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,227,154,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(34,227,154,0); } 100% { box-shadow: 0 0 0 0 rgba(34,227,154,0); } }
.hero-title { margin-top: 26px; font-size: clamp(44px, 7vw, 100px); font-weight: 700; letter-spacing: -0.045em; line-height: .95; }
.hero-title .line { display: block; }
.hero-title em { font-style: normal; }
.shine {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 30%, var(--green) 55%, var(--white) 62%, var(--green) 70%, var(--cyan) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s var(--ease-out) infinite;
}
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
.hero-lead { margin-top: 26px; max-width: 54ch; font-size: clamp(17px, 1.4vw, 20px); color: #c9d8ef; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.stats { margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 14px 48px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--muted); font-size: 14px; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px; animation: float 7s ease-in-out infinite; }
.float-card.glass { background: linear-gradient(160deg, rgba(12,34,78,.78), rgba(4,16,38,.62)); }
.float-card b { display: block; font-family: var(--font-display); font-size: 16px; }
.float-card small { color: var(--muted); font-size: 13px; }
.fc-1 { right: 7%; top: 15%; }
.fc-3 { right: 5%; bottom: 34%; flex-direction: column; align-items: stretch; gap: 8px; min-width: 170px; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.fc-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.fc-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-icon.green { color: var(--green); background: rgba(34,227,154,.14); box-shadow: inset 0 0 0 1px rgba(34,227,154,.3); }
.fc-icon.blue { color: var(--cyan); background: rgba(46,155,255,.16); box-shadow: inset 0 0 0 1px rgba(46,155,255,.35); }
.psi { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); }
.psi span { color: var(--muted); font-size: 12px; }
.psi b { font-family: var(--font-display); font-size: 28px; }
.psi-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.psi-bar i { display: block; height: 100%; width: 86%; border-radius: inherit; background: var(--grad); animation: psi 3s var(--ease-out) infinite alternate; transform-origin: left; }
@keyframes psi { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--green); animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Marquesina ---------- */
.marquee { position: relative; z-index: 1; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(7, 26, 58, .6); rotate: -1.2deg; margin-block: -10px; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(173,214,255,.55); }
.marquee span:nth-of-type(3n+1) { color: var(--white); -webkit-text-stroke: 0; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; scroll-margin-top: 60px; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(7, 26, 58, .55) 20%, rgba(7, 26, 58, .55) 80%, transparent); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.section h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 700; letter-spacing: -0.04em; }
.section-head p.muted { margin-top: 20px; font-size: 18px; max-width: 58ch; }

/* ---------- Filtros ---------- */
.filters { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 36px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.filters button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 500; cursor: pointer; transition: color .2s, background .25s; }
.filters button:hover { color: var(--white); }
.filters button[aria-selected="true"] { color: #032419; background: var(--green); font-weight: 700; }

/* ---------- Tarjetas de servicio ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.services[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
.svc {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .3s, opacity .4s, scale .4s var(--ease-out);
  transform-style: preserve-3d;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(95,212,255,.18), transparent 45%);
}
.svc:hover { border-color: rgba(95,212,255,.45); box-shadow: 0 30px 60px -30px rgba(46,155,255,.6); }
.svc:hover::before { opacity: 1; }
.svc.is-hidden { display: none; }
.svc.pop { animation: cardIn .55s var(--ease-out) both; animation-delay: var(--pd, 0s); }
@keyframes cardIn { from { opacity: 0; transform: perspective(900px) translateY(24px) rotateX(8deg); filter: blur(4px); } }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc:hover .svc-media img { transform: scale(1.07); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,16,38,.85), transparent 55%); }
.svc-body { position: relative; padding: 4px 26px 28px; margin-top: -34px; z-index: 1; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--cyan); background: rgba(4,16,38,.7); border: 1px solid rgba(95,212,255,.3); backdrop-filter: blur(8px); }
.svc h3 { font-size: 26px; margin: 16px 0 10px; }
.svc p { color: var(--muted); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(34,227,154,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2322e39a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* Respaldo visual si una foto no existe todavía */
.img-fallback {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(95,212,255,.35), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(34,227,154,.28), transparent 50%),
    linear-gradient(135deg, #0a2a5c, #06183a);
}
.hero-media .img-fallback svg, .ba .img-fallback svg { display: none; }
.img-fallback svg { width: 30%; max-width: 120px; opacity: .55; }

/* ---------- Antes / después ---------- */
.ba-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.ba-copy .muted { margin-top: 20px; font-size: 18px; }
.ba-metrics { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.ba-metrics b { display: block; font-family: var(--font-display); font-size: 32px; letter-spacing: -0.03em; }
.ba-metrics span { color: var(--muted); font-size: 14px; }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
/* La foto tiene la parte limpia a la izquierda: se refleja para que "después" quede a la derecha */
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.ba > .img-fallback, .ba-before > .img-fallback { position: absolute; inset: 0; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before .ba-img, .ba-before .img-fallback { filter: sepia(.75) saturate(.55) brightness(.62) contrast(1.15) hue-rotate(-12deg); }
.grime {
  position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .85;
  background:
    radial-gradient(ellipse 30% 22% at 22% 30%, rgba(60,50,20,.65), transparent 70%),
    radial-gradient(ellipse 26% 30% at 70% 65%, rgba(40,55,25,.6), transparent 70%),
    radial-gradient(ellipse 18% 14% at 50% 15%, rgba(30,30,20,.55), transparent 70%),
    radial-gradient(ellipse 40% 24% at 35% 85%, rgba(70,60,30,.55), transparent 70%),
    repeating-radial-gradient(circle at 60% 40%, rgba(0,0,0,.08) 0 2px, transparent 2px 7px);
}
.ba-label { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; background: rgba(4,16,38,.7); backdrop-filter: blur(8px); border: 1px solid var(--line); pointer-events: none; }
.ba-label.l { left: 18px; } .ba-label.r { right: 18px; color: var(--green); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 20px rgba(95,212,255,.9); pointer-events: none; }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 10px 30px rgba(0,0,0,.4);
  transition: scale .3s var(--ease-spring);
}
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; translate: 0 -50%; }
.ba-handle span::before { left: 11px; border-right-color: #fff; } .ba-handle span::after { right: 11px; border-left-color: #fff; }
.ba:hover .ba-handle span, .ba.dragging .ba-handle span { scale: 1.12; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + * , .ba:has(.ba-range:focus-visible) { outline: 2px solid var(--green); outline-offset: 4px; }

/* ---------- Calculadora de flotas ---------- */
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fleet-copy .muted { margin-top: 20px; font-size: 18px; }
.perks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); flex: none; }
.calc { padding: 32px; border-radius: 28px; display: grid; gap: 26px; }
.calc-row { display: grid; gap: 12px; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); font-weight: 500; }
.calc-label output { font-family: var(--font-display); font-size: 26px; color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.seg button { min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 500; transition: background .25s, color .25s; }
.seg button:hover { color: var(--white); }
.seg button[aria-checked="true"] { background: linear-gradient(120deg, var(--blue-2), var(--blue)); color: var(--white); box-shadow: 0 6px 20px -6px rgba(46,155,255,.8); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; cursor: pointer; background: linear-gradient(90deg, var(--blue) 0%, var(--green) var(--fill, 10%), rgba(255,255,255,.12) var(--fill, 10%)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 5px solid var(--green); box-shadow: 0 0 0 6px rgba(34,227,154,.2), 0 4px 14px rgba(0,0,0,.4); transition: transform .2s var(--ease-spring); }
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 5px solid var(--green); }
.calc-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px dashed var(--line); }
.calc-total small { display: block; color: var(--muted); font-size: 14px; }
.calc-total b { display: block; font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- Proceso ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 1; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: transform .4s var(--ease-out), border-color .3s, background .3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(34,227,154,.45); background: rgba(34,227,154,.06); }
.step-n { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-family: var(--font-mono); font-weight: 700; background: var(--grad); color: #04203a; box-shadow: 0 10px 26px -8px rgba(46,155,255,.8); }
.step h3 { font-size: 24px; margin: 22px 0 10px; }
.step p { color: var(--muted); font-size: 16px; }
.steps-line { height: 2px; margin-top: 40px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.steps-line i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform .2s linear; }

/* ---------- Testimonios ---------- */
.testis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 22px; overflow-x: auto; padding: 10px 4px 28px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; cursor: grab; }
.testis.grabbing { cursor: grabbing; scroll-snap-type: none; }
.testi { margin: 0; padding: 30px; border-radius: var(--radius); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease-out); }
.testi:hover { transform: translateY(-6px) rotate(-.4deg); }
.stars { color: var(--green); letter-spacing: 3px; font-size: 18px; }
.testi blockquote { margin: 0; font-size: 19px; line-height: 1.5; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.testi figcaption { margin-top: auto; color: var(--muted); font-size: 14px; }
.testi figcaption b { color: var(--white); }

/* ---------- Formulario ---------- */
.quote-section::before { content: ""; position: absolute; inset: 10% 0 auto; height: 70%; z-index: -1; background: radial-gradient(600px 400px at 70% 50%, rgba(46,155,255,.22), transparent 70%), radial-gradient(500px 360px at 30% 60%, rgba(34,227,154,.14), transparent 70%); }
.quote { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.quote > * { min-width: 0; }
.contact-card > span:last-child { min-width: 0; }
.contact-card b { overflow-wrap: anywhere; }
.quote-copy .muted { margin-top: 20px; font-size: 18px; }
.contact-cards { margin-top: 40px; display: grid; gap: 14px; scroll-margin-top: 120px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 18px; text-decoration: none; transition: transform .35s var(--ease-out), border-color .3s; }
.contact-card:hover { transform: translateX(6px); border-color: rgba(95,212,255,.5); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card b { font-family: var(--font-display); font-size: 19px; }

.form { position: relative; padding: 36px; border-radius: 28px; overflow: hidden; }
.progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(255,255,255,.06); }
.progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(var(--p, .333)); transform-origin: left; transition: transform .6s var(--ease-out); box-shadow: 0 0 16px var(--cyan); }
.step-count { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.step-count b { color: var(--green); }
.fstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.fstep.active { animation: stepIn .55s var(--ease-out) both; }
.fstep.back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); filter: blur(4px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-28px); filter: blur(4px); } }
legend { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 18px; border-radius: 16px; font-weight: 500;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: background .25s, border-color .25s, transform .3s var(--ease-spring), box-shadow .3s;
}
.chip span::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(173,214,255,.4); transition: background .2s, border-color .2s; background: center / 70% no-repeat; }
.chip:hover span { border-color: rgba(95,212,255,.5); }
.chip input:checked + span { background: rgba(34,227,154,.12); border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 10px 26px -12px rgba(34,227,154,.8); transform: translateY(-2px); }
.chip input:checked + span::before { background-color: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23032419' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }

.field { position: relative; margin-bottom: 18px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 60px; padding: 24px 18px 10px; border-radius: 16px; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(0,0,0,.22); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235fd4ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; }
.field select option { background: var(--bg-2); }
.field label { position: absolute; left: 19px; top: 19px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease-out), color .25s, font-size .25s; transform-origin: left; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(46,155,255,.08); box-shadow: 0 0 0 4px rgba(46,155,255,.18); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label, .field label.static { transform: translateY(-11px) scale(.78); color: var(--cyan); }
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,107,125,.15); animation: shake .4s; }
@keyframes shake { 25% { translate: -6px 0; } 50% { translate: 5px 0; } 75% { translate: -3px 0; } }
.error { color: var(--danger); font-size: 14px; min-height: 0; margin-top: 6px; }
.error:empty { display: none; }
.form-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.form-nav [hidden] { display: none; }
.form-nav .btn[data-prev] { margin-right: auto; }
.success { text-align: center; padding: 40px 10px 20px; }
.success[hidden] { display: none; }
.success svg { width: 96px; height: 96px; margin: 0 auto 20px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.success circle { stroke: var(--green); stroke-dasharray: 176; stroke-dashoffset: 176; animation: draw .8s var(--ease-out) forwards; }
.success path { stroke: var(--white); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 32px; margin-bottom: 10px; }
.success p { color: var(--muted); }
.success b { color: var(--white); }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7,26,58,.4), rgba(2,8,20,.9)); }
.footer-inner { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.4fr; gap: 40px; }
.footer p.muted { margin-top: 16px; font-size: 15px; max-width: 32ch; }
.footer h4 { font-size: 15px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 16px; font-weight: 400; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.foot-link { color: inherit; text-decoration: none; padding: 2px 0; transition: color .2s; }
.foot-link:hover, .foot-link:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green); }
.nl-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.nl-row:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(46,155,255,.18); }
.nl-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); padding: 0 14px; font: inherit; font-size: 16px; }
.nl-row input:focus { outline: none; }
.nl-msg { margin-top: 10px; font-size: 14px; color: var(--green); min-height: 1.4em; }
.nl-msg.err { color: var(--danger); }
.copy { margin-top: 60px; color: var(--muted); font-size: 13px; }

/* ---------- Botón flotante ---------- */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; gap: 14px; transition: opacity .4s, scale .4s var(--ease-spring); }
.fab-stack.hide { opacity: 0; scale: .6; pointer-events: none; }
.fab {
  --bx: 0px; --by: 0px;
  position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  color: #032419; background: linear-gradient(135deg, var(--green), var(--cyan)); box-shadow: 0 14px 34px -8px rgba(34,227,154,.8);
  transform: translate3d(var(--bx), var(--by), 0); transition: transform .35s var(--ease-out), opacity .4s, scale .4s var(--ease-spring);
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { opacity: .8; scale: 1; } to { opacity: 0; scale: 1.7; } }
.fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fab-wa { color: #fff; background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 14px 34px -8px rgba(37,211,102,.75); }
.fab-wa::before { border-color: #25d366; animation-delay: 1.2s; }
.fab-wa .wa-phone { fill: currentColor; stroke: none; }
@media (max-width: 600px) { .fab-stack { right: 16px; bottom: 16px; gap: 12px; } .fab { width: 56px; height: 56px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; translate: -50% calc(100% + 60px); visibility: hidden; padding: 14px 22px; border-radius: 14px; background: rgba(6,22,52,.9); border: 1px solid rgba(34,227,154,.45); backdrop-filter: blur(16px); font-weight: 500; transition: translate .5s var(--ease-spring), visibility 0s .5s; }
.toast.show { translate: -50% 0; visibility: visible; transition: translate .5s var(--ease-spring), visibility 0s; }

/* ---------- Reveal al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .svc.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }


/* ---------- Órbita 3D de tarjetas flotantes ---------- */
.orbit-section { padding-bottom: clamp(40px, 6vw, 80px); overflow: clip; }
.orbit-section .section-head { margin-bottom: 0; }
.orbit {
  --card-w: 260px;
  position: relative; height: 580px; margin-top: 0;
  perspective: 1500px; perspective-origin: 50% 35%;
  touch-action: pan-y; cursor: grab; user-select: none;
}
.orbit.dragging { cursor: grabbing; }
.orbit-glow {
  position: absolute; left: 50%; top: 50%; width: min(900px, 90vw); height: 380px; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(46,155,255,.28), rgba(34,227,154,.12) 55%, transparent);
  filter: blur(10px);
}
.orbit-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-9deg); }
/* El plano del contenedor 3D tapaba los clics de las tarjetas que no están justo al frente:
   solo las tarjetas reciben el puntero (el arrastre lo sigue escuchando .orbit) */
.orbit-tilt, .ring { pointer-events: none; }
.orb-card { pointer-events: auto; }
.ring { position: absolute; left: 50%; top: 30%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ring-info { top: 74%; }
.orb-card {
  position: absolute; left: calc(var(--card-w) / -2); top: -38px; width: var(--card-w); min-height: 76px;
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px;
  font: inherit; color: var(--text); text-align: left; text-decoration: none;
  background: linear-gradient(160deg, rgba(16,42,92,.94), rgba(5,18,44,.92));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px -18px rgba(0,0,0,.8);
  backface-visibility: visible; transition: border-color .25s, box-shadow .25s;
}
button.orb-card, a.orb-card { cursor: pointer; }
.orb-card:hover, .orb-card:focus-visible { border-color: rgba(95,212,255,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(95,212,255,.35), 0 18px 46px -14px rgba(46,155,255,.7); }
.orb-txt { display: grid; min-width: 0; }
.orb-txt em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.orb-txt b { font-family: var(--font-display); font-size: 16px; line-height: 1.25; }
.orb-txt small { color: var(--muted); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.fc-icon.cyan { color: var(--cyan); background: rgba(95,212,255,.14); box-shadow: inset 0 0 0 1px rgba(95,212,255,.35); }
.orb-psi { flex-direction: column; align-items: stretch; gap: 8px; justify-content: center; }
.orb-psi .psi span:first-child { margin-right: auto; }
.orb-psi .psi { gap: 6px; }

@media (max-width: 600px) {
  .orbit { --card-w: 210px; height: 440px; perspective: 1100px; }
  .orb-txt b { font-size: 15px; }
}
/* Sin movimiento: las tarjetas se muestran como un mosaico estático */
@media (prefers-reduced-motion: reduce) {
  .orbit { height: auto; perspective: none; cursor: auto; padding: 24px 16px 0; }
  .orbit-tilt, .ring { position: static; transform: none !important; width: auto; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .orbit-tilt { flex-direction: column; gap: 12px; }
  .orb-card { position: static; transform: none !important; opacity: 1 !important; }
}


/* ---------- Redes sociales ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: 14px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s, background .3s, box-shadow .3s;
}
.social-link svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-link svg.fill { fill: currentColor; stroke: none; }
.social-link svg .dot { fill: currentColor; }
.social-link:hover, .social-link:focus-visible { transform: translateY(-3px); border-color: rgba(95,212,255,.55); background: rgba(46,155,255,.14); box-shadow: 0 10px 26px -12px rgba(46,155,255,.8); }
.s-facebook:hover { color: #6fb1ff; } .s-instagram:hover { color: #ff8fc7; } .s-tiktok:hover { color: #5fd4ff; }
.s-google:hover { color: #ffd166; } .s-nextdoor:hover { color: var(--green); }
.social-block { margin-top: 26px; }
.social-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 0; }
.social-lg { margin-top: 12px; }
.social-lg .social-link { padding: 0 16px 0 12px; }
@media (max-width: 600px) {
  .social-lg .social-link span { display: none; }
  .social-lg .social-link { padding: 0; width: 52px; height: 52px; }
  .social-lg .social-link svg { width: 22px; height: 22px; }
}


/* ---------- Selector de idioma ---------- */
.lang { display: flex; flex: none; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 8px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; transition: color .25s, background .25s;
}
.lang-btn .flag { width: 21px; height: 14px; border-radius: 3px; flex: none; opacity: .6; transition: opacity .25s, transform .25s var(--ease-out); box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.lang-btn:hover { color: var(--text); }
.lang-btn:hover .flag { opacity: 1; transform: scale(1.06); }
.lang-btn.is-on { color: var(--text); background: rgba(46,155,255,.2); box-shadow: inset 0 0 0 1px rgba(95,212,255,.4); }
.lang-btn.is-on .flag { opacity: 1; }
@media (max-width: 1040px) { .lang-btn span { display: none; } .lang-btn { padding: 7px 9px; } }
@media (max-width: 600px) {
  .nav { gap: 10px; padding-left: 14px; }
  .lang { padding: 3px; gap: 2px; }
  .lang-btn { padding: 6px 7px; }
  .lang-btn .flag { width: 19px; height: 13px; }
}


/* Tarjeta de servicio resaltada al llegar desde la órbita */
.svc.spot { animation: spot 2.4s var(--ease-out); }
@keyframes spot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(95,212,255,0); }
  15%, 60% { box-shadow: 0 0 0 3px rgba(95,212,255,.85), 0 0 40px 6px rgba(46,155,255,.5); }
}
a.orb-card { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav nav, .nav > .btn { display: none; }
  .lang { margin-left: auto; }
  .menu-btn { display: block; }
  /* El selector de idioma necesita sitio: en el menú superior dejamos "Vanguard Green" */
  .nav .brand-name small { display: none; }
  .ba-wrap, .fleet, .quote { grid-template-columns: 1fr; gap: 44px; }
  .hero-shade { background: linear-gradient(180deg, rgba(4,16,38,.45) 0%, rgba(4,16,38,.82) 55%, var(--bg) 100%); }
  .hero { padding-bottom: 150px; }
  .hero-slider-ui { left: 50%; right: auto; bottom: 28px; translate: -50% 0; max-width: calc(100% - 32px); }
  .scroll-hint { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { height: 32px; }
  .container { width: calc(100% - 32px); }
  .services, .steps, .chips { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-cta .btn { width: 100%; }
  /* En el celular el banner va arriba como una franja de fotos y el texto debajo, así las fotos se ven */
  .hero { display: block; min-height: 0; padding: 0 0 64px; }
  .hero-media { position: relative; inset: auto; height: 60svh; min-height: 380px; z-index: 0; transform: none !important; }
  .hero-shade { background: linear-gradient(180deg, rgba(4,16,38,.6) 0%, transparent 26%, transparent 62%, var(--bg) 100%); }
  .hero-grid { display: none; }
  .hero-inner { position: relative; margin-top: 18px; }
  .hero-slider-ui { top: calc(max(60svh, 380px) - 96px); bottom: auto; width: calc(100% - 32px); justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; }
  .hs-dots { display: none; }
  .hs-name { font-size: 15px; white-space: normal; }
  .stats { gap: 18px 28px; }
  .calc, .form { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .seg button { font-size: 14px; }
  .filters { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .filters button { flex: none; padding: 0 14px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  #water, .cursor-glow { display: none; }
}
