/* V&G Encomiendas — Modern Logistics Design System 2026
   Clean, Corporate, High-Contrast & Frictionless
   Palette: Luminous Slate/White (#f8fafc / #ffffff) | Deep Navy (#0a1628) | Emerald Green (#16a34a / #22c55e) | Sky Cyan (#0284c7)
*/

:root {
  --navy: #0a1628;
  --navy-dark: #02013b;
  --navy-light: #1e293b;
  --green: #16a34a;
  --green-neon: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.3);
  --cyan: #0284c7;
  --cyan-light: #38bdf8;
  --cyan-glow: rgba(2, 132, 199, 0.25);
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-subtle: #e2e8f0;
  --border-focus: #0284c7;
  
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 24px 45px -10px rgba(15, 23, 42, 0.14), 0 10px 20px -5px rgba(15, 23, 42, 0.06);
  
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: auto;
}
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font);
  background-color: var(--bg-page);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: #dcfce7; color: #14532d; }

/* SCROLL PROGRESS BAR */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3.5px; width: 0%;
  background: linear-gradient(90deg, #0284c7, #22c55e);
  z-index: 9999; transition: width .1s linear;
}

/* PRELOADER */
#splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--navy-dark); display: flex;
  align-items: center; justify-content: center;
}
.pl-inner { text-align: center; position: relative; z-index: 2; }
.pl-logo { width: 110px; height: auto; margin: 0 auto 20px; opacity: 0; transform: scale(.8); filter: drop-shadow(0 4px 20px rgba(34, 197, 94, 0.4)); }
.pl-meta { display: flex; align-items: baseline; gap: 12px; justify-content: center; margin-bottom: 16px; }
.pl-label { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--cyan-light); }
.pl-num { font-size: 28px; font-weight: 800; color: var(--green-neon); font-variant-numeric: tabular-nums; }
.pl-track { width: 220px; height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.pl-fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan-light), var(--green-neon)); border-radius: 4px; }
.pl-curtain {
  position: absolute; inset: 0; background: var(--navy-dark);
  transform: translateY(100%); z-index: 1;
}

/* TOP NAVIGATION */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 36px; gap: 24px;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.96);
  border-bottom-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 12px 36px;
}
.nav.hidden { transform: translateY(-100%); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 38px; height: 38px; filter: drop-shadow(0 2px 8px rgba(34,197,94,0.4)); }
.nav-brand-t { display: flex; flex-direction: column; }
.nav-brand-t b { font-size: 16px; font-weight: 800; line-height: 1.2; color: #ffffff; letter-spacing: -0.01em; }
.nav-brand-t i { font-size: 11px; color: #86efac; font-style: normal; font-weight: 600; }
.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: #cbd5e1;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--green-neon); transition: width .3s var(--ease);
}
.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 13px; font-weight: 800; padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: all .25s var(--ease-out); color: #ffffff;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(255,255,255,0.15);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: #ffffff; transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { transform: rotate(-45deg) translate(5px,-5px); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 800;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  position: relative; overflow: hidden; border: none; letter-spacing: 0.2px;
}
.btn i { width: 18px; height: 18px; }
.btn-green {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}
.btn-green:hover { box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45); transform: translateY(-2px); }

.btn-line {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-line:hover { background: rgba(255,255,255,0.15); border-color: #ffffff; transform: translateY(-2px); }

.btn-wa { background: #25D366; color: #ffffff; box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
.btn-wa:hover { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5); transform: translateY(-2px); }

.btn-sweep::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .6s var(--ease);
}
.btn-sweep:hover::before { left: 100%; }

/* HERO SECTION */
.hero {
  min-height: 88vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 140px 24px 90px;
  background: radial-gradient(circle at 50% 20%, #0f2140 0%, #02013b 80%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(2,132,199,.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(34,197,94,.12), transparent 60%),
    var(--navy-dark);
  z-index: 1;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.55;
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.hero-logo { width: 120px; height: auto; margin: 0 auto 24px; filter: drop-shadow(0 8px 24px rgba(34,197,94,0.35)); }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  color: #4ade80; text-transform: uppercase; margin-bottom: 20px;
  padding: 6px 18px; border: 1.5px solid rgba(74, 222, 128, 0.4); border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.12);
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900; line-height: 1.1;
  letter-spacing: -.03em; margin-bottom: 20px; color: #ffffff;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-in { display: block; transform: translateY(110%); }
.hero-title em {
  background: linear-gradient(135deg, #38bdf8 0%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: #cbd5e1; max-width: 640px; margin: 0 auto 32px; line-height: 1.6; }
.hero-greeting { display: block; font-size: 1rem; font-weight: 700; color: #38bdf8; margin-bottom: 10px; opacity: 0; transform: translateY(20px); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* QUICK ACCESS CARDS */
.quick {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--container); margin: -48px auto 60px; padding: 0 24px;
  position: relative; z-index: 10;
}
.qk {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  display: flex; flex-direction: column; gap: 10px;
}
.qk:hover {
  transform: translateY(-8px);
  border-color: #86efac;
  box-shadow: var(--shadow-hover);
}
.qk i { width: 28px; height: 28px; color: var(--green); margin-bottom: 4px; }
.qk b { font-size: 17px; font-weight: 800; color: var(--text-main); }
.qk span { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.qk u { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--cyan); text-decoration: none; margin-top: 8px; }
.qk u i { width: 16px; height: 16px; margin: 0; color: var(--cyan); }
.qk:hover u i { animation: arrowSlide .4s var(--ease); }
@keyframes arrowSlide { from { transform: translateX(-4px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* SEAMLESS MARQUEE (TRUST BAR) */
.marquee {
  overflow: hidden; padding: 22px 0; margin: 20px 0 60px;
  background: #ffffff; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
}
.marquee-row {
  display: flex; align-items: center; gap: 40px; white-space: nowrap;
  animation: marquee 35s linear infinite; will-change: transform;
}
.marquee-row span { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; color: var(--navy); }
.marquee-row i { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.marquee-row-2 span { font-size: clamp(0.95rem, 1.6vw, 1.15rem); font-weight: 700; color: var(--text-muted); }
.marquee-row-2 i { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; }
.marquee-row-2 { animation-direction: reverse; animation-duration: 45s; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTION HEADINGS */
.sec-head { max-width: var(--container); margin: 0 auto 48px; padding: 0 24px; }
.sec-head.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: #dcfce7; padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow i { width: 14px; height: 14px; }
.h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; color: var(--text-main); }
.h2 em { color: var(--cyan); font-style: normal; }
.sec-p { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; margin: 14px auto 0; line-height: 1.6; }

/* HOW IT WORKS */
.how { padding: 60px 0 90px; max-width: var(--container); margin: 0 auto; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0 24px; }
.hw {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px 24px; position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.hw:hover { transform: translateY(-6px); border-color: #86efac; box-shadow: var(--shadow-md); }
.hw-n {
  position: absolute; top: 20px; right: 24px; font-size: 2.8rem; font-weight: 900;
  color: #f1f5f9; line-height: 1;
}
.hw i { width: 32px; height: 32px; color: var(--green); margin-bottom: 16px; }
.hw h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text-main); }
.hw p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* SPLIT 2-COLUMN FEATURE SECTIONS (RASTREO & COTIZADOR) */
.split-sec { padding: 90px 24px; max-width: var(--container); margin: 0 auto; }
.split-container {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.split-container.reverse {
  grid-template-columns: 1fr 1fr;
}
.split-content { display: flex; flex-direction: column; }
.split-p { font-size: 1.05rem; color: var(--text-muted); margin: 12px 0 24px; line-height: 1.6; }

.tool-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-md);
}
.box-lbl { display: block; font-size: 14px; font-weight: 800; color: var(--text-main); margin-bottom: 10px; text-align: left; }
.field-row { display: flex; gap: 12px; }
.field, .q-f input {
  flex: 1; background: #ffffff; border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius); padding: 14px 18px; font-size: 15px; font-family: var(--font);
  color: var(--text-main); transition: border-color .2s, box-shadow .2s;
}
.field:focus, .q-f input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(2,132,199,.12); }
.field::placeholder, .q-f input::placeholder { color: var(--text-light); }
#trackingInput { text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }

.tool-badges { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.t-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--text-body); background: #ffffff; padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm);
}
.t-badge i { width: 16px; height: 16px; color: var(--green); }

/* GPS RADAR & MAP SIMULATION CARD */
.gps-mockup-card {
  background: linear-gradient(135deg, #0a1628 0%, #02013b 100%);
  border: 2px solid rgba(34, 197, 94, 0.35); border-radius: 24px;
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.gps-map-bg {
  position: relative; width: 100%; height: 260px; background: #07101e;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.gps-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.gps-svg-routes {
  width: 100%; height: 100%; position: absolute; inset: 0;
}
.gps-route-base {
  fill: none; stroke: rgba(148, 163, 184, 0.2); stroke-width: 3; stroke-dasharray: 4 4;
}
.gps-route-active {
  fill: none; stroke: var(--green-neon); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 8 6; animation: dashScroll 2s linear infinite;
}
@keyframes dashScroll { to { stroke-dashoffset: -28; } }

.gps-point-start { fill: #38bdf8; stroke: #ffffff; stroke-width: 2; }
.gps-point-hub { fill: #f59e0b; stroke: #ffffff; stroke-width: 2; }
.gps-point-end { fill: #22c55e; stroke: #ffffff; stroke-width: 2.5; }

.gps-marker-beacon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
}
.radar-pulse {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.3); animation: beaconPulse 2.4s ease-out infinite;
}
.radar-pulse.delay { animation-delay: 1.2s; }
@keyframes beaconPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}
.marker-icon {
  width: 36px; height: 36px; border-radius: 50%; background: #16a34a;
  color: #ffffff; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; box-shadow: 0 0 16px rgba(34, 197, 94, 0.7);
}
.marker-icon i { width: 18px; height: 18px; }

.gps-telemetry-card {
  background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 26px; color: #ffffff;
}
.tel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tel-live-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800;
  color: #4ade80; background: rgba(34, 197, 94, 0.18); padding: 4px 10px; border-radius: var(--radius-pill);
}
.tel-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: blink 1.2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.tel-eta { font-size: 12px; font-weight: 700; color: #38bdf8; }
.tel-route-title { font-size: 16px; font-weight: 900; color: #ffffff; margin-bottom: 12px; }
.tel-meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 12px; color: #94a3b8; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 10px; }
.tel-meta-row b { color: #cbd5e1; display: block; margin-bottom: 2px; }
.tel-meta-row span { color: #ffffff; font-weight: 700; }

/* DYNAMIC TRACKING RESULT VIEW INSIDE THE GPS CARD */
.gps-result-view {
  padding: 28px 24px; color: #ffffff; display: flex; flex-direction: column; gap: 16px;
  animation: fadeInDown 0.35s ease;
}
.res-top-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.res-code-wrap { display: flex; flex-direction: column; }
.res-code-lbl { font-size: 11px; text-transform: uppercase; font-weight: 800; color: #38bdf8; letter-spacing: 1px; }
.res-code-val { font-size: 20px; font-weight: 900; color: #ffffff; font-family: monospace; letter-spacing: 1px; }
.res-status-pill {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4);
}
.res-route-box {
  display: flex; align-items: center; gap: 12px;
  background: rgba(2, 132, 199, 0.15); border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius); padding: 12px 16px;
}
.res-route-ico { width: 22px; height: 22px; color: #38bdf8; flex-shrink: 0; }
.res-route-lbl { font-size: 11px; color: #94a3b8; display: block; font-weight: 700; text-transform: uppercase; }
.res-route-val { font-size: 14px; color: #ffffff; font-weight: 800; }

.res-timeline {
  display: flex; flex-direction: column; gap: 0; margin: 8px 0;
}
.res-step {
  display: flex; gap: 14px; position: relative; padding-bottom: 18px;
}
.res-step:last-child { padding-bottom: 4px; }
.res-step-indicator {
  display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 28px;
}
.res-step-node {
  width: 28px; height: 28px; border-radius: 50%; background: #1e293b;
  border: 2px solid #475569; color: #94a3b8; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; z-index: 2; transition: all 0.3s ease;
}
.res-step-node i { width: 14px; height: 14px; }
.res-step.done .res-step-node {
  background: #16a34a; border-color: #4ade80; color: #ffffff;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
}
.res-step.active .res-step-node {
  background: #0284c7; border-color: #38bdf8; color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
  animation: pulseNode 1.5s infinite;
}
@keyframes pulseNode {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.res-step-line {
  width: 2px; flex-grow: 1; background: #334155; margin-top: 4px; margin-bottom: 4px;
}
.res-step.done .res-step-line {
  background: #16a34a;
}
.res-step-content {
  display: flex; flex-direction: column; flex-grow: 1; padding-top: 2px;
}
.res-step-title {
  font-size: 13.5px; font-weight: 800; color: #cbd5e1; display: flex; justify-content: space-between; align-items: center;
}
.res-step.done .res-step-title { color: #ffffff; }
.res-step.active .res-step-title { color: #38bdf8; }
.res-step-desc {
  font-size: 12px; color: #94a3b8; line-height: 1.4; margin-top: 2px;
}
.res-step-tag {
  font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 4px;
}
.res-step.done .res-step-tag { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.res-step.active .res-step-tag { background: rgba(2, 132, 199, 0.25); color: #7dd3fc; }
.res-step:not(.done):not(.active) .res-step-tag { background: #1e293b; color: #64748b; }

.res-footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 6px;
}
.res-secured { font-size: 12px; color: #86efac; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.res-secured i { width: 15px; height: 15px; }
.res-reset-btn {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s;
}
.res-reset-btn:hover { background: rgba(255, 255, 255, 0.18); border-color: #ffffff; }
.res-reset-btn i { width: 14px; height: 14px; }
.track-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.track-hint i { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

/* QUOTE LIVE PREVIEW CARD */
.quote-preview-card {
  background: linear-gradient(135deg, #0f172a 0%, #0a1628 100%);
  border: 2px solid rgba(2, 132, 199, 0.35); border-radius: 24px;
  padding: 40px 32px; color: #ffffff; text-align: center;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center;
}
.qp-icon-wrap {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(2, 132, 199, 0.2);
  color: #38bdf8; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.qp-icon-wrap i { width: 28px; height: 28px; }
.qp-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #38bdf8; }
.q-price { font-size: 44px; font-weight: 900; color: #ffffff; margin: 8px 0; }
.qp-desc { font-size: 13.5px; color: #94a3b8; line-height: 1.5; margin-bottom: 24px; max-width: 320px; }
.qp-features { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; margin-bottom: 26px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; }
.qp-feat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd5e1; font-weight: 600; }
.qp-feat i { width: 16px; height: 16px; color: var(--green-neon); }
.qp-btn { width: 100%; }

/* SELECT DROPDOWNS */
.select-wrap { position: relative; width: 100%; display: flex; align-items: center; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: #ffffff; border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius); padding: 14px 40px 14px 18px; font-size: 14.5px; font-family: var(--font);
  color: var(--text-main); cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.select-wrap select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(2,132,199,.12); }
.select-wrap select option { background: #ffffff; color: var(--text-main); padding: 10px; }
.select-ico {
  position: absolute; right: 14px; width: 18px; height: 18px; color: var(--text-muted);
  pointer-events: none; transition: transform .2s;
}
.select-wrap select:focus + .select-ico { transform: rotate(180deg); color: var(--cyan); }

.track-loading, .track-error { display: none; margin-top: 20px; font-size: 14px; font-weight: 600; }
.track-loading { color: var(--text-muted); align-items: center; gap: 8px; justify-content: center; }
.ldr {
  width: 18px; height: 18px; border: 2.5px solid #e2e8f0;
  border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.track-error { color: #dc2626; background: #fee2e2; padding: 12px; border-radius: var(--radius); border: 1px solid #fca5a5; }
.track-result { margin-top: 24px; text-align: left; }
.tl { display: flex; flex-direction: column; gap: 12px; }
.tl-step {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: #f8fafc; border-radius: var(--radius); border: 1px solid var(--border-subtle);
}
.tl-step.done { border-color: #86efac; background: #f0fdf4; }
.tl-step .tl-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0; }
.tl-step.done .tl-dot { background: var(--green); box-shadow: 0 0 8px rgba(22, 163, 74, 0.4); }
.tl-step b { font-size: 14px; color: var(--text-main); }
.tl-step span { font-size: 12.5px; color: var(--text-muted); margin-left: auto; }

/* COTIZADOR GRID */
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.q-f { display: flex; flex-direction: column; gap: 6px; }
.q-f span { font-size: 13px; font-weight: 800; color: var(--text-main); }
.q-btn { margin-top: 20px; width: 100%; }
.q-plabel { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green); }
.q-price { font-size: 36px; font-weight: 900; color: var(--text-main); }

/* DESTINOS */
.dest-sec { padding: 80px 24px; max-width: var(--container); margin: 0 auto; }
.dest-search { max-width: 520px; margin: 0 auto 36px; position: relative; }
.dest-search-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-muted); }
.dest-field {
  width: 100%; background: #ffffff; border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-pill); padding: 14px 20px 14px 50px; font-size: 15px; font-family: var(--font);
  color: var(--text-main); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.dest-field:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(2,132,199,.12); }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.dest-card {
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #86efac; }
.dest-img-wrap { width: 100%; height: 170px; background: #f1f5f9; overflow: hidden; position: relative; }
.dest-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dest-card:hover .dest-img-wrap img { transform: scale(1.05); }
.dest-body { padding: 18px 20px; }
.dest-body h4 { font-size: 16px; font-weight: 800; color: var(--text-main); margin-bottom: 4px; }
.dest-body p { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.dest-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800;
  color: #15803d; background: #dcfce7; padding: 3px 8px; border-radius: 6px; margin-top: 8px;
}
.dest-hint { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.dest-hint i { width: 16px; height: 16px; }
.dest-empty { display: none; text-align: center; color: var(--text-muted); font-size: 14px; padding: 40px; }

/* SERVICES GRID */
.svc { padding: 80px 24px; max-width: var(--container); margin: 0 auto; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 36px 28px; position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); border-color: #86efac; box-shadow: var(--shadow-lg); }
.svc-ico { width: 36px; height: 36px; color: var(--green); margin-bottom: 20px; }
.svc-card h3 { font-size: 18px; font-weight: 800; color: var(--text-main); margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--cyan); }
.svc-link i { width: 15px; height: 15px; transition: transform .2s; }
.svc-card:hover .svc-link i { transform: translateX(4px); }

/* CTA MID */
.cta-mid {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff; padding: 70px 24px; margin: 40px 0; text-align: center;
  border-top: 3px solid var(--green); border-bottom: 3px solid var(--green);
}
.cta-mid-inner { max-width: 600px; margin: 0 auto; }
.cta-mid h3 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 900; margin-bottom: 12px; }
.cta-mid p { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 26px; }

/* MAP SECTION */
.map-section { padding: 80px 24px; max-width: var(--container); margin: 0 auto; }
.map-container {
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: 24px;
  padding: 30px; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.sv-map { width: 100%; height: auto; display: block; max-height: 520px; }
.sv-outline { fill: #f1f5f9; stroke: #cbd5e1; stroke-width: 1.5; }
.route-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.city-dot { fill: var(--cyan); stroke: #ffffff; stroke-width: 2; cursor: pointer; transition: r .2s, fill .2s; }
.city-dot:hover { r: 8; fill: var(--green); }
.city-dot.major { fill: var(--green); }
.city-label { font-size: 10px; font-weight: 800; fill: var(--text-main); font-family: var(--font); pointer-events: none; }
.city-label.major { font-size: 11px; fill: var(--navy); }
.map-tooltip {
  position: absolute; display: none; background: var(--navy); color: #ffffff;
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 12px; pointer-events: none;
  box-shadow: var(--shadow-md); z-index: 100; transform: translate(-50%, -120%);
}
.map-tooltip.show { display: flex; flex-direction: column; }
.map-tooltip b { color: var(--green-neon); font-size: 13px; }
.map-legend { display: flex; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.lg { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.lg-d { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.lg-d.major { background: var(--green); }
.lg-l { width: 20px; height: 3px; background: var(--green); border-radius: 2px; }

/* PORTAL DE CLIENTES & V&G WALLET */
.portal { padding: 90px 24px; max-width: var(--container); margin: 0 auto; }
.portal-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.portal-p { font-size: 1.05rem; color: var(--text-muted); margin: 16px 0 28px; line-height: 1.6; }
.portal-benefits { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.portal-benefits li {
  display: flex; gap: 16px; align-items: flex-start;
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.portal-benefits li i { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.portal-benefits li b { display: block; font-size: 14.5px; font-weight: 800; color: var(--text-main); margin-bottom: 2px; }
.portal-benefits li span { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.portal-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff; border-radius: 24px; padding: 48px 36px; text-align: center;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(34,197,94,0.3);
}
.portal-card-ico { width: 48px; height: 48px; color: var(--green-neon); margin: 0 auto 20px; }
.portal-card h3 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.portal-card p { font-size: 14px; color: #cbd5e1; margin-bottom: 28px; line-height: 1.5; }
.portal-btn { width: 100%; margin-bottom: 16px; }
.portal-alt { display: block; font-size: 13px; color: #94a3b8; font-weight: 700; transition: color .2s; }
.portal-alt:hover { color: #ffffff; }

/* STATS COUNTER BAR */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: var(--container); margin: 40px auto 80px; padding: 0 24px;
}
.stat {
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 30px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-ico { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--green); }
.stat-n { display: block; font-size: 36px; font-weight: 900; color: var(--navy); line-height: 1.1; margin-bottom: 4px; }
.stat-l { font-size: 13px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* TESTIMONIALS CAROUSEL */
.tst { padding: 80px 24px; max-width: var(--container); margin: 0 auto; }
.tst-wrap { max-width: 720px; margin: 0 auto; position: relative; }
.tst-track { position: relative; min-height: 200px; }
.tst-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 40px 36px; box-shadow: var(--shadow-md); text-align: center;
}
.tst-slide.active { opacity: 1; pointer-events: auto; position: relative; }
.tst-stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 16px; color: #f59e0b; }
.tst-stars i { width: 18px; height: 18px; fill: #f59e0b; }
.tst-slide blockquote { font-size: 16px; font-weight: 600; color: var(--text-main); line-height: 1.6; margin-bottom: 24px; font-style: italic; }
.tst-by { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tst-av { width: 40px; height: 40px; border-radius: 50%; background: #e0f2fe; color: #0369a1; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.tst-by b { display: block; font-size: 14px; font-weight: 800; color: var(--text-main); }
.tst-by i { font-size: 12px; color: var(--text-muted); font-style: normal; }
.tst-nav { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.t-dot { width: 12px; height: 12px; border-radius: 50%; border: none; background: #cbd5e1; cursor: pointer; transition: all .3s; }
.t-dot.active { background: var(--green); width: 28px; border-radius: 10px; }

/* ABOUT US */
.abt { padding: 80px 24px; max-width: var(--container); margin: 0 auto; }
.abt-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.abt-p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.abt-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.abt-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--text-main); }
.abt-list li i { width: 20px; height: 20px; color: var(--green); }
.abt-badge-container {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: 24px; padding: 48px 32px; text-align: center; color: #ffffff;
  border: 2px solid rgba(34,197,94,0.4); box-shadow: var(--shadow-lg);
}
.abt-badge-img { width: 140px; height: auto; margin: 0 auto 20px; filter: drop-shadow(0 6px 16px rgba(34,197,94,0.4)); }
.abt-badge-text b { font-size: 18px; font-weight: 900; letter-spacing: 1px; display: block; }
.abt-badge-text span { font-size: 12px; color: var(--green-neon); font-weight: 800; letter-spacing: 2px; }

/* FAQ */
.faq { padding: 80px 24px; max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.faq-item summary {
  padding: 20px 24px; font-size: 15px; font-weight: 800; color: var(--text-main);
  cursor: pointer; user-select: none; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; font-size: 20px; font-weight: 700; color: var(--cyan);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { border-color: var(--cyan); }
.faq-item p { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* CONTACT */
.ctc { padding: 80px 24px; max-width: var(--container); margin: 0 auto; }
.ctc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ctc-card {
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 32px 20px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ctc-card:not(.static):hover { transform: translateY(-6px); border-color: #86efac; box-shadow: var(--shadow-md); }
.ctc-card i { width: 32px; height: 32px; color: var(--green); margin-bottom: 8px; }
.ctc-card b { font-size: 16px; font-weight: 800; color: var(--text-main); }
.ctc-card span { font-size: 13px; color: var(--text-muted); }

/* PROHIBITED ITEMS */
.prohibidos { padding: 80px 24px; max-width: var(--container); margin: 0 auto; }
.prohibidos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.proh-card {
  background: #ffffff; border: 1px solid #fee2e2; border-radius: var(--radius);
  padding: 18px 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.proh-card i { width: 28px; height: 28px; color: #dc2626; margin-bottom: 8px; }
.proh-card b { display: block; font-size: 13px; font-weight: 800; color: #991b1b; }

/* WHATSAPP FLOATING BUTTON */
.wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  color: #ffffff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa:hover { transform: scale(1.1); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6); }
.wa i { width: 32px; height: 32px; }

/* PRE-FOOTER CTA */
.pre-cta {
  background: #ffffff; border: 1px solid var(--border-subtle); border-radius: 24px;
  max-width: var(--container); margin: 40px auto 80px; padding: 60px 32px; text-align: center;
  box-shadow: var(--shadow-md);
}
.pre-cta h3 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.pre-cta p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 28px; }
.pre-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.ft {
  background: var(--navy-dark); color: #cbd5e1; padding: 80px 24px 30px;
  border-top: 3px solid var(--green);
}
.ft-grid {
  max-width: var(--container); margin: 0 auto; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ft-brand img { width: 44px; height: 44px; margin-bottom: 14px; }
.ft-brand b { font-size: 18px; font-weight: 900; color: #ffffff; display: block; margin-bottom: 8px; }
.ft-brand p { font-size: 13.5px; color: #94a3b8; line-height: 1.5; }
.ft-col h5 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--green-neon); margin-bottom: 16px; }
.ft-col a { display: block; font-size: 13.5px; color: #94a3b8; margin-bottom: 10px; transition: color .2s; }
.ft-col a:hover { color: #ffffff; }
.ft-bar {
  max-width: var(--container); margin: 30px auto 0; display: flex;
  justify-content: space-between; font-size: 12px; color: #64748b; font-weight: 600;
}
.ft-legal { max-width: var(--container); margin: 20px auto 0; font-size: 11px; color: #475569; line-height: 1.6; text-align: center; }
.ft-legal a { color: #64748b; text-decoration: underline; }

/* LEGAL MODAL */
.legal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 10001;
  display: none; backdrop-filter: blur(4px);
}
.legal-overlay.show { display: block; }
.legal-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 90%; max-width: 680px; max-height: 85vh; background: #ffffff;
  border-radius: var(--radius-lg); z-index: 10002; display: none; flex-direction: column;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3); overflow: hidden;
}
.legal-modal.show { display: flex; }
.legal-modal-head {
  padding: 20px 28px; border-bottom: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
}
.legal-modal-head h4 { font-size: 18px; font-weight: 900; color: var(--text-main); }
.legal-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  max-height: calc(85vh - 75px);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  white-space: normal;
}
.legal-modal-body h1, .legal-modal-body h2 { font-size: 18px; font-weight: 800; color: var(--text-main); margin-top: 18px; margin-bottom: 8px; }
.legal-modal-body h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-top: 14px; margin-bottom: 6px; }
.legal-modal-body h4 { font-size: 14px; font-weight: 700; color: var(--text-main); margin-top: 10px; margin-bottom: 4px; }
.legal-modal-body p { margin-bottom: 12px; }
.legal-modal-body ul, .legal-modal-body ol { padding-left: 20px; margin-bottom: 12px; }
.legal-modal-body li { margin-bottom: 4px; }
.legal-modal-body hr { margin: 16px 0; border: none; border-top: 1px solid var(--border-subtle); }
.legal-modal-body strong { color: var(--text-main); }

/* TOP NEWS TICKER BAR */
.top-news-bar {
  position: relative; z-index: 1001;
  background: linear-gradient(90deg, #050a30 0%, #064e3b 50%, #050a30 100%);
  border-bottom: 1px solid rgba(34, 197, 94, 0.35);
  color: #ffffff; padding: 10px 24px; font-size: 13.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.top-news-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.tn-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #16a34a; color: #ffffff; font-size: 11px; font-weight: 900;
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
  flex-shrink: 0;
}
.tn-badge i { width: 13px; height: 13px; }
.tn-msg { font-weight: 600; color: #f1f5f9; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-link {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #86efac; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  text-decoration: none; flex-shrink: 0; transition: all 0.2s;
}
.tn-link:hover { background: #16a34a; color: #ffffff; border-color: #16a34a; }
.tn-link i { width: 14px; height: 14px; }
.tn-close {
  background: none; border: none; color: #94a3b8; font-size: 18px; line-height: 1;
  cursor: pointer; padding: 0 6px; margin-left: 8px; transition: color 0.2s;
}
.tn-close:hover { color: #ef4444; }

/* GALERÍA OPERATIVA REAL */
.abt-gallery-sec { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.abt-gallery-head { text-align: center; margin-bottom: 36px; max-width: 680px; margin-left: auto; margin-right: auto; }
.h3-gal { font-size: 24px; font-weight: 900; color: #ffffff; margin: 10px 0; }
.p-gal { font-size: 14px; color: #94a3b8; line-height: 1.6; }
.abt-gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.gal-card {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: #0b1528; aspect-ratio: 4 / 3; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gal-card.gal-featured {
  grid-column: span 2; aspect-ratio: 16 / 9;
}
.gal-card:hover {
  transform: translateY(-5px); border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(34, 197, 94, 0.2);
}
.gal-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.gal-card:hover img { transform: scale(1.04); }
.gal-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,10,30,0.1) 0%, rgba(5,10,30,0.4) 40%, rgba(5,10,30,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px; color: #ffffff;
}
.gal-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(34, 197, 94, 0.2); border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 12px;
  width: fit-content; margin-bottom: 8px; text-transform: uppercase;
}
.gal-badge i { width: 13px; height: 13px; color: #4ade80; }
.gal-card-overlay h4 { font-size: 17px; font-weight: 800; color: #ffffff; margin-bottom: 4px; line-height: 1.3; }
.gal-card-overlay p { font-size: 12.5px; color: #cbd5e1; line-height: 1.4; margin: 0; }

@media (max-width: 900px) {
  .abt-gallery-grid { grid-template-columns: 1fr; }
  .gal-card.gal-featured { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* WELCOME BETA MODAL */
.welcome-overlay {
  position: fixed; inset: 0; background: rgba(5, 10, 30, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 10001; opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.welcome-overlay.show { opacity: 1; visibility: visible; }

.welcome-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.94);
  width: 92%; max-width: 540px;
  background: linear-gradient(145deg, #0b1528 0%, #07101f 100%);
  border: 1.5px solid rgba(34, 197, 94, 0.35);
  border-radius: 28px; z-index: 10002;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(34, 197, 94, 0.15);
  padding: 36px 30px; text-align: center; color: #ffffff;
  opacity: 0; visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
}
.welcome-modal.show {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.welcome-close-btn {
  position: absolute; top: 16px; right: 18px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  width: 34px; height: 34px; border-radius: 50%;
  color: #94a3b8; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.welcome-close-btn:hover { background: rgba(239, 68, 68, 0.2); color: #ef4444; border-color: #ef4444; }

.welcome-badge-top { margin-bottom: 16px; }
.welcome-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac; font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.welcome-pill i { width: 14px; height: 14px; color: #4ade80; }

.welcome-icon-wrap { position: relative; width: 72px; height: 72px; margin: 0 auto 16px; }
.welcome-icon-glow {
  position: absolute; inset: -8px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.45), transparent 70%);
  animation: pulseGlow 2.5s infinite alternate ease-in-out;
}
@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}
.welcome-icon-box {
  position: relative; width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, #15803d 0%, #047857 100%);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; box-shadow: 0 10px 25px rgba(21, 128, 61, 0.4);
  animation: floatIcon 3s infinite ease-in-out;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.welcome-ico { width: 36px; height: 36px; }

.welcome-title { font-size: 23px; font-weight: 900; margin-bottom: 10px; color: #ffffff; }
.welcome-title span { color: #4ade80; }
.welcome-desc { font-size: 14px; color: #94a3b8; line-height: 1.6; margin-bottom: 20px; }
.welcome-desc strong { color: #f8fafc; font-weight: 700; }

.welcome-highlight-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 14px 16px;
  margin-bottom: 22px; text-align: left;
  display: flex; flex-direction: column; gap: 12px;
}
.wh-item { display: flex; align-items: flex-start; gap: 12px; font-size: 12.5px; color: #cbd5e1; }
.wh-item i { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; margin-top: 2px; }
.wh-item b { display: block; color: #ffffff; font-weight: 700; margin-bottom: 2px; font-size: 13px; }
.wh-item span { color: #94a3b8; line-height: 1.4; display: block; }

.welcome-actions { width: 100%; }
.welcome-action-btn { width: 100%; font-size: 15px; font-weight: 800; padding: 14px 20px; border-radius: 14px; justify-content: center; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .quick { grid-template-columns: repeat(3, 1fr); margin-top: -30px; }
  .split-container, .split-container.reverse { grid-template-columns: 1fr; gap: 36px; }
  .how-grid, .svc-grid, .ctc-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-grid, .abt-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .quick { grid-template-columns: 1fr; margin-top: 20px; }
  .split-container, .split-container.reverse { grid-template-columns: 1fr; gap: 28px; }
  .how-grid, .svc-grid, .ctc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .q-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bar { flex-direction: column; gap: 8px; text-align: center; }
  .gps-mockup-card, .quote-preview-card { min-height: auto; }
}
