/* =============================================
   TOP COPTER S.A. — Design System
   Paleta: #004df9 · #191010 · #e2e2e2
   ============================================= */

/* ========== TIPOGRAFÍA LOCAL ========== */
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("assets/tipografia/Kanit/Kanit-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #004df9;
  --primary-dark: #0038c7;
  --primary-glow: rgba(0, 77, 249, 0.3);
  --bg-dark: #191010;
  --bg-darker: #0d0808;
  --bg-light: #f5f6fa;
  --bg-light-alt: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-light: rgba(0, 0, 0, 0.04);
  --white: #ffffff;
  --accent: #e2e2e2;
  --accent-muted: #888;
  --text-dark: #1a1a2e;
  --text-dark-muted: #555;
  --green: #25d366;
  --border: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 77, 249, 0.5);
  --font: "Kanit", sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-light: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px var(--primary-glow);
  /* Spring easings — tipo Framer Motion */
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --spring-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--bg-dark);
  color: var(--accent);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5%;
  background: transparent;
  z-index: 1002;
  transition:
    padding 0.5s cubic-bezier(0.22,1,0.36,1),
    top 0.5s cubic-bezier(0.22,1,0.36,1),
    left 0.5s cubic-bezier(0.22,1,0.36,1),
    right 0.5s cubic-bezier(0.22,1,0.36,1),
    background 0.5s ease,
    border-color 0.5s ease,
    border-radius 0.5s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.5s ease;
  border: 1px solid transparent;
  border-radius: 0;
}

/* Estado inicial — gradiente sutil en la parte superior */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(25,16,16,0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.navbar.scrolled::before {
  opacity: 0;
}

.navbar.scrolled {
  top: 12px;
  left: 5%;
  right: 5%;
  padding: 0.65rem 1.5rem;
  background: rgba(10, 6, 6, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(255,255,255,0.08);
  border-radius: 100px;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0,77,249,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Glow azul en el pill al hacer scroll */
.navbar.scrolled::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,77,249,0.5), transparent);
  border-radius: 100px;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.06);
}

.logo-img--footer {
  height: 48px;
  width: auto;
}

/* legacy */
.logo span { color: var(--primary); }
.logo em { font-style: normal; color: var(--accent-muted); font-weight: 300; font-size: 0.85em; }

/* ── Nav links desktop ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

/* Número decorativo: solo visible en el menú mobile fullscreen */
.nav-num { display: none; }

/* Quitar bullets del dropdown desktop */
.dropdown { list-style: none; }
.dropdown li { list-style: none; }

.nav-link {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 1.5rem);
}

.nav-link.active {
  color: var(--white);
}

/* Botón cotización */
.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 100px !important;
  font-size: 0.85rem !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
  position: relative;
  overflow: hidden;
}

.btn-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.btn-nav:hover::before { opacity: 1; }
.btn-nav:hover { box-shadow: 0 0 24px rgba(0,77,249,0.5); transform: translateY(-1px); }
.btn-nav::after { display: none !important; }

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 11px;
  z-index: 1050;
  position: relative;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease, width 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Overlay oscuro detrás del drawer ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nav-overlay.open { opacity: 1; }

/* ── Dropdown desktop ── */
.has-dropdown { position: relative; }

.has-dropdown > .nav-link::after { display: none; }

.has-dropdown > .nav-link .nav-arrow {
  display: inline-block;
  margin-left: 4px;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.has-dropdown:hover > .nav-link .nav-arrow,
.has-dropdown.open > .nav-link .nav-arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: rgba(10,6,6,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,77,249,0.08);
  z-index: 200;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.dropdown li a:hover {
  color: var(--white);
  background: rgba(0,77,249,0.15);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0,77,249,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: background 0.2s ease;
}

.dropdown li a:hover .dropdown-icon {
  background: rgba(0,77,249,0.25);
}

.dropdown-icon svg {
  width: 16px;
  height: 16px;
}

/* ── Lang toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.lang-toggle:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}

/* ========== HERO ========== */

/* Wrapper sticky — da espacio de scroll para la animación de salida del hero */
.hero-wrap {
  position: relative;
  z-index: 1;
  /* 200vh: primeros 100vh = hero visible, siguientes 100vh = scroll de la animación de escala */
  height: 200vh;
}

/* El hero en sí es sticky dentro del wrapper */
.hero-wrap .hero {
  position: sticky;
  top: 0;
}

.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8vh;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 2.5rem 2.5rem;
  transform-origin: top center;
  backface-visibility: hidden;
}

/* Contenedor del video — overflow:hidden aquí permite el zoom
   sin clipear el .hero completo y sin afectar z-index de overlays */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Estado inicial del zoom-out: parte en scale(1.18), GSAP lo lleva a 1 */
  transform: scale(1.18);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  background: var(--bg-darker);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-video.active {
  opacity: 1;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Oscurece solo la esquina inferior-izquierda donde va el texto */
    linear-gradient(135deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.05) 70%,
      transparent 100%),
    /* Banda oscura abajo para legibilidad del texto */
    linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.4) 25%,
      transparent 55%);
  z-index: 1;
}

/* Línea azul divisora al final del hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-dark), transparent);
  z-index: 3;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}

.hero-content {
  max-width: 560px;
  text-align: left;
}

/* En pantallas grandes: más pegado al borde izquierdo */
@media (min-width: 1024px) {
  .hero-content-wrap {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .hero-content {
    max-width: 580px;
  }
}

@media (min-width: 1400px) {
  .hero-content-wrap {
    padding-left: 6vw;
  }
  .hero-content {
    max-width: 620px;
  }
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 1.75rem;
  color: var(--white);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 300;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent-muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-glow), 0 8px 24px rgba(0,77,249,0.35);
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: border-color 0.35s ease, background 0.35s ease,
    transform 0.45s var(--spring);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px) scale(1.02);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* ========== HERO ENTRANCE — elementos visibles por defecto ========== */
/* GSAP clearProps:all puede borrar estilos inline; esta regla asegura visibilidad */
.hero-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ========== REVEAL ANIMATIONS — Framer-style ========== */

/* Base: todos los elementos animables parten invisibles */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-clip {
  opacity: 0;
  will-change: transform, opacity;
}


.reveal-up {
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal con escala sutil */
.reveal-scale {
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reveal clip-path */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transform: translateY(0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* Estado visible */
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.reveal-clip.visible {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
}

/* ========== SECTION COMMONS ========== */
.section {
  padding: 100px 0;
}

.bg-darker {
  background: var(--bg-darker);
}

/* ========== SECCIONES CLARAS ========== */
.bg-light {
  background: var(--bg-light);
  position: relative;
}

/* Patrón de puntos sutil como textura */
.bg-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,77,249,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
}

.bg-light > * {
  position: relative;
  z-index: 2;
}

/* Sección con imagen de fondo real */
.bg-light.has-bg-img {
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax sutil */
}

/* iOS no soporta background-attachment: fixed dentro de contenedores */
@supports (-webkit-touch-callout: none) {
  .bg-light.has-bg-img {
    background-attachment: scroll;
  }
}

/* Overlay semitransparente sobre la foto — entre la foto y el patrón */
.bg-light.has-bg-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 246, 250, 0.91);
  z-index: 0;
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5 {
  color: var(--text-dark);
}

.bg-light p,
.bg-light .section-sub,
.bg-light .stat-card p,
.bg-light .fleet-info p,
.bg-light .card p {
  color: var(--text-dark-muted);
}

.bg-light .section-label {
  color: var(--primary);
}

.bg-light .card {
  background: var(--bg-light-alt);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-card-light);
}

.bg-light .card:hover {
  box-shadow: 0 12px 40px rgba(0, 77, 249, 0.12);
  border-color: var(--border-hover);
}

.bg-light .card-features li {
  color: var(--text-dark);
  border-bottom-color: var(--border-dark);
}

.bg-light .fleet-item {
  background: var(--bg-light-alt);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-card-light);
}

.bg-light .fleet-info h4 {
  color: var(--text-dark);
}

.bg-light .stat-card {
  border-right-color: var(--border-dark);
}

.bg-light .section-stats {
  border-color: var(--border-dark);
}

.bg-light .contact-card {
  background: var(--bg-light-alt);
  border-color: var(--border-dark);
}

.bg-light .contact-item {
  color: var(--text-dark);
  border-bottom-color: var(--border-dark);
}

.bg-light .contact-card h4 {
  color: var(--text-dark-muted);
}

.bg-light .flight-panel h2 {
  color: var(--text-dark);
}

.bg-light .flight-panel p {
  color: var(--text-dark-muted);
}

.bg-light .timeline-item h4 {
  color: var(--text-dark);
}

.bg-light .timeline-item p {
  color: var(--text-dark-muted);
}

.bg-light .cert-card {
  background: var(--bg-light-alt);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-card-light);
}

.bg-light .cert-card h5 {
  color: var(--text-dark);
}

.bg-light .cert-card p {
  color: var(--text-dark-muted);
}

.bg-light .value-card {
  background: var(--bg-light-alt);
  border-color: var(--border-dark);
}

.bg-light .value-card h4 {
  color: var(--text-dark);
}

.bg-light .value-card p {
  color: var(--text-dark-muted);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--accent-muted);
  line-height: 1.7;
}

/* ========== STATS — diseño moderno con barra animada ========== */
/* Todo el contenido post-hero se apila ENCIMA del hero sticky */
.section-stats,
.ipr-section,
.section,
.slider-section,
.footer {
  position: relative;
  z-index: 2;
}

.section-stats {
  padding: 80px 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.stat-card:last-child { border-right: none; }

/* Barra de progreso azul al tope de cada card */
.stat-bar-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.stat-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #4d8ffd);
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px var(--primary-glow);
}

.stat-bar.animated { width: var(--bar-width, 100%); }

.stat-number {
  display: block;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--accent-muted);
  line-height: 1.4;
  font-weight: 300;
}

/* ========== IMMERSIVE PINNED PARALLAX — misión / ventaja ========== */

/* The pinned section — full viewport */
.ipr-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Background image layer — GSAP scales this for parallax */
.ipr-bg {
  position: absolute;
  inset: -8%;          /* extra room for scale without showing edges */
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  will-change: transform;
}

/* Dark + blue gradient overlay */
.ipr-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,77,249,0.22) 0%, transparent 60%),
    linear-gradient(to top,  rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}


/* Vertical progress bar — right edge */
.ipr-progress-track {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 120px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  z-index: 3;
  overflow: hidden;
}

.ipr-progress-bar {
  width: 100%;
  height: 0%;
  background: var(--primary);
  border-radius: 2px;
  transform-origin: top;
}

/* Text container — alineado a la izquierda */
.ipr-text-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  padding: 0 5vw;
  margin-right: auto;
  margin-left: clamp(2rem, 8vw, 10vw);
}

/* Individual slides — stacked on top of each other */
.ipr-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform, opacity;
}

/* Slide 1 starts visible, slide 2 starts hidden */
#split-slide-1 { opacity: 1;  transform: translateY(0); }
#split-slide-2 { opacity: 0;  transform: translateY(60px); pointer-events: none; }

.ipr-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--white);
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.02em;
}

/* Word-wrap spans injected by JS for the word-build animation */
.ipr-word {
  display: inline-block;
  overflow: hidden;
}
.ipr-word-inner {
  display: inline-block;
}

.ipr-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2rem;
}

.split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.split-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.split-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}

/* Flight badge — reutilizado */
.flight-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.25rem 0.8rem;
  border-radius: 2px;
  width: fit-content;
}

/* ========== PROCESO — Cómo trabajamos ========== */
.process-section {
  position: relative;
  padding: 100px 0 110px;
  background: var(--bg-dark);
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(0,77,249,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid horizontal de pasos + conectores */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 4.5rem;
  position: relative;
}

/* Conector flecha entre pasos */
.process-connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2.6rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.process-connector svg {
  width: 22px;
  height: 22px;
  color: rgba(0,77,249,0.45);
  flex-shrink: 0;
}

/* Cada paso */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 0 0.5rem;
}

/* Número grande flotante */
.process-step-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(0,77,249,0.4);
  font-family: 'Kanit', sans-serif;
  margin-bottom: 0.75rem;
}

/* Círculo icono */
.process-step-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 50%;
  background: rgba(0,77,249,0.08);
  border: 1.5px solid rgba(0,77,249,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.45s var(--spring-bounce);
}

.process-step-icon svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px;
  max-height: 28px;
  flex-shrink: 0;
  color: var(--primary);
  display: block;
  transition: transform 0.4s var(--spring-bounce);
}

.process-step:hover .process-step-icon {
  background: rgba(0,77,249,0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 8px rgba(0,77,249,0.07), 0 8px 24px rgba(0,77,249,0.2);
  transform: translateY(-4px);
}

.process-step:hover .process-step-icon svg {
  transform: scale(1.15);
}

/* Contenido */
.process-step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.process-step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.process-step-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 220px;
}

.process-step-body strong {
  color: var(--white);
  font-weight: 600;
}

.process-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: gap 0.3s ease;
  gap: 0.25rem;
}

.process-cta:hover {
  text-decoration: underline;
}

/* Chips reutilizados del tl */
.tl-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0,77,249,0.1);
  border: 1px solid rgba(0,77,249,0.2);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
  margin: 0.1rem 0.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Tablet (≤ 960px): 2 columnas ── */
@media (max-width: 960px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1rem;
  }
  .process-connector {
    display: none;
  }
  .process-step-body p {
    max-width: 100%;
  }
}

/* ── Móvil (≤ 540px): 1 columna ── */
@media (max-width: 540px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .process-section {
    padding: 70px 0 80px;
  }
}

/* ========== SERVICIOS 3D — Card Flip on Scroll ========== */

/* Outer section — pinned during flip animation */
.svc3-section {
  position: relative;
  z-index: 2;
  background: var(--bg-darker);
  overflow: hidden;
}

/* Header */
.svc3-header {
  text-align: center;
  padding: 100px 0 60px;
}

.svc3-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 1rem;
}

.svc3-title span {
  color: var(--primary);
}

/* ── 3D Scene ────────────────────────────────────────────── */
.svc3-scene {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  padding-bottom: 80px;
}

/* Stage: flex centrado en desktop, altura fijada por JS */
.svc3-stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

/* ── Individual card ─────────────────────────────────────── */
.svc3-card {
  position: absolute;          /* desktop: GSAP las posiciona */
  width: clamp(300px, 26vw, 370px);
  height: clamp(460px, 56vh, 570px);
  border-radius: 1.25rem;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  cursor: pointer;
}

.svc3-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06);
}

/* Background photo */
.svc3-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

.svc3-card:hover .svc3-card-bg {
  transform: scale(1.12);
}

/* Gradient overlay */
.svc3-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.08) 100%),
    linear-gradient(135deg, rgba(0,77,249,0.18) 0%, transparent 60%);
  z-index: 1;
}

/* Top accent line */
.svc3-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(0,77,249,0));
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

.svc3-card.is-revealed .svc3-card-inner::before {
  transform: scaleX(1);
}

/* Card body content */
.svc3-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.svc3-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--primary);
  display: block;
  margin-bottom: 0.35rem;
}

.svc3-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 1rem;
}

.svc3-name {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.svc3-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
  max-width: 300px;
}

.svc3-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.svc3-tags li {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  backdrop-filter: blur(6px);
}

.svc3-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  padding: 0.6rem 1.25rem;
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
  will-change: transform;
}

.svc3-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.svc3-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Swipe hint — solo mobile, oculto en desktop */
.svc3-swipe-hint {
  display: none;
}

/* ── Responsive: tablet (901px–1100px) ──────────────────── */
@media (max-width: 900px) {
  .svc3-scene {
    perspective: none;
    padding-bottom: 0;
  }
  .svc3-stage {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1.25rem 80px;
    transform-style: flat;
  }
  .svc3-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: clamp(420px, 70vw, 520px);
    margin: 0 auto;
    transform: none !important;
    opacity: 1 !important;
  }
  .svc3-header {
    padding: 70px 1.25rem 40px;
    text-align: left;
  }
  .svc3-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
}

/* ── Mobile: scroll horizontal snap ─────────────────────── */
@media (max-width: 768px) {
  /* Hint de swipe visible solo en mobile */
  .svc3-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 0 1.5rem;
    animation: svc3HintPulse 2.5s ease-in-out infinite;
  }

  .svc3-swipe-hint svg {
    width: 14px;
    height: 14px;
  }

  @keyframes svc3HintPulse {
    0%, 100% { opacity: 0.35; transform: translateX(0); }
    50%       { opacity: 0.7;  transform: translateX(4px); }
  }
}

@media (max-width: 480px) {
  .svc3-card {
    height: clamp(400px, 80vw, 480px) !important;
    min-height: 380px;
  }
  .svc3-name {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
}

/* ========== FLOTA ========== */
.fleet-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 77, 249, 0.08);
  border: 1px solid rgba(0, 77, 249, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.badge-operativo {
  color: #4caf50;
  font-weight: 500;
  font-size: 0.9rem;
}

.fleet-note {
  font-size: 0.82rem;
  color: var(--accent-muted);
}

.grid-fleet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fleet-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s var(--spring), transform 0.5s var(--spring), box-shadow 0.4s var(--spring);
}

.fleet-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,77,249,0.12);
}

/* Zoom en imagen al hover */
.fleet-item:hover .fleet-img {
  background-size: 115% auto;
}

.fleet-img {
  height: 200px;
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-size 0.8s var(--spring);
}

.fleet-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.fleet-badge.operativo {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.4);
}

.fleet-info {
  padding: 1.25rem 1.5rem;
}

.fleet-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.fleet-info p {
  font-size: 0.82rem;
  color: var(--accent-muted);
  margin-bottom: 0.5rem;
}

.fleet-hours {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 500;
}

/* ========== SERVICE CARDS GRID (sectores / aplicaciones) ========== */
.grid-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.4s var(--spring), transform 0.5s var(--spring), box-shadow 0.4s var(--spring);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,77,249,0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0,77,249,0.1);
  border: 1px solid rgba(0,77,249,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.card-features li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.card-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.75rem;
}

/* ========== FLEET SHOWCASE — Full-screen pinned slider ========== */

/* Specs grid 2 col (reutilizado en flota) */
.specs-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ── Contenedor principal ─────────────────────────────────── */
.fleet-showcase {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-darker);
  /* GSAP insertará el spacer div automáticamente con pin:true */
}

/* ── Panel individual ─────────────────────────────────────── */
.fleet-panel {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* clip-path controlado por GSAP */
  will-change: clip-path, background-size;
  overflow: hidden;
}

/* ── Overlay oscuro base ──────────────────────────────────── */
.fp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.3)  55%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

/* ── HUD (overlay de información) ────────────────────────── */
.fp-hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 4.5rem);
  pointer-events: none;
}

/* Barra superior: modelo + estado */
.fp-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}

.fp-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  /* Línea decorativa izquierda */
  border-left: 2px solid var(--primary);
  padding-left: 0.85rem;
}

.fp-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  backdrop-filter: blur(8px);
}

.fp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  animation: fp-pulse 2s ease-in-out infinite;
}

@keyframes fp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Bloque de información principal ─────────────────────── */
.fp-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fp-counter {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 1;
}

.fp-idx {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.05em;
  line-height: 1;
}

.fp-total {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

.fp-callsign {
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
}

.fp-callsign em {
  font-style: normal;
  color: var(--primary);
}

.fp-divider {
  width: 3rem;
  height: 2px;
  background: var(--primary);
}

/* ── Specs list ───────────────────────────────────────────── */
.fp-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 340px;
}

.fp-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.fp-spec-key {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.fp-spec-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-align: right;
}

/* ── Barra de progreso inferior ──────────────────────────── */
.fp-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 4;
}

.fp-progress-bar {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Dots de navegación ──────────────────────────────────── */
.fp-nav {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fp-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, height 0.3s var(--spring), border-radius 0.3s var(--spring);
}

.fp-nav-dot.active {
  background: var(--primary);
  height: 28px;
  border-radius: 100px;
}

/* ── Scroll hint ──────────────────────────────────────────── */
.fp-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.fp-scroll-hint span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fp-scroll-hint svg {
  width: 18px;
  height: 18px;
  animation: fp-bounce 1.8s ease-in-out infinite;
}

@keyframes fp-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── Responsive tablet ───────────────────────────────────── */
@media (max-width: 1024px) {
  .specs-grid-2col {
    grid-template-columns: 1fr;
  }

  .fp-nav {
    right: 1.25rem;
  }

  .fp-callsign {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
  }
}

/* ── Responsive mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  .fleet-showcase {
    height: auto;
    overflow: visible;
  }

  .fleet-panel {
    position: relative;
    height: 90vh;
    background-size: cover;
    clip-path: none !important;
  }

  .fp-nav {
    display: none;
  }

  .fp-scroll-hint {
    display: none;
  }

  .fp-specs {
    max-width: 100%;
  }

  .fp-callsign {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ========== FORMULARIO ========== */
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.quote-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

input::placeholder,
textarea::placeholder {
  color: var(--accent-muted);
}

select option {
  background: var(--bg-darker);
  color: var(--white);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  font-size: 0.78rem;
  color: #f44336;
  min-height: 1em;
  display: block;
}

.form-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--accent-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--primary);
}

.form-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* Contact aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--accent);
  transition: color var(--transition);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  color: var(--white);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-whatsapp {
  color: var(--green) !important;
}

.contact-whatsapp svg {
  color: var(--green) !important;
}

.contact-location {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--accent-muted);
  line-height: 1.6;
}

.contact-location svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.footer-logo {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--accent-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-muted);
  transition: border-color var(--transition), color var(--transition);
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-links h5,
.footer-contact h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--accent-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--accent-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-contact a {
  color: var(--primary);
  transition: opacity var(--transition);
}

.footer-contact a:hover {
  opacity: 0.7;
}

.footer-cert {
  display: inline-block;
  font-size: 0.75rem !important;
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-top: 0.5rem;
  color: var(--accent-muted) !important;
  letter-spacing: 0.05em;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--accent-muted);
}

/* ========== WHATSAPP FLOTANTE ========== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--green);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.wpp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float:hover .wpp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ========== PROGRESS BAR ========== */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
  box-shadow: 0 0 10px var(--primary-glow);
  will-change: width;
}

@keyframes spin { to { transform: rotate(360deg); } }
.spin-icon { animation: spin 1s linear infinite; }

/* =============================================
   RESPONSIVE — Mobile-first ajustes por breakpoint
   ============================================= */

/* ---- Desktop grande (≥ 1400px) ---- */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  .section {
    padding: 120px 0;
  }
  .stat-card {
    padding: 3rem 2.5rem;
  }
}

/* ---- Desktop medio (≤ 1280px) ---- */
@media (max-width: 1280px) {
  .ipr-heading {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .story-content-box {
    max-width: 560px;
    padding: 2.5rem 3rem;
  }
}

/* ---- Tablet grande (≤ 1024px) ---- */
@media (max-width: 1024px) {
  /* Tipografía base un poco menor */
  html {
    font-size: 15px;
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* Grids */
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .grid-fleet {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Stats */
  .stat-card {
    padding: 2rem 1.5rem;
  }

  .stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  /* IPR — disable pin on tablet, show slides stacked */
  .ipr-section {
    height: auto;
    min-height: 100svh;
  }
  .ipr-slide {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    padding: 5rem 4rem;
  }
  .ipr-slide + .ipr-slide {
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .ipr-text-wrap {
    position: relative;
    max-width: 100%;
    padding: 0;
  }
  .ipr-progress-track { display: none; }

  /* Story: box más compacta en tablet — visible sin GSAP */
  .story-content-box,
  .story-content-box--right {
    max-width: 540px;
    padding: 2.5rem 2.5rem;
    opacity: 1;
    transform: none;
  }

  /* Navbar pill más estrecha */
  .navbar.scrolled {
    left: 3%;
    right: 3%;
  }

  /* — Servicios 3D tablet — */
  .svc3-card {
    width: clamp(240px, 32vw, 320px);
    height: clamp(360px, 48vh, 460px);
  }
  .svc3-header {
    padding: 80px 0 40px;
  }

}

/* ---- Tablet pequeña (≤ 768px) ---- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* ══════════════════════════════════════════
     NAVBAR MOBILE
  ══════════════════════════════════════════ */

  /* — Pill desactivada en móvil — */
  .navbar {
    padding: 0.85rem 5%;
  }

  .navbar.scrolled {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: 0 1px 0 var(--border);
    padding: 0.75rem 5%;
  }

  /* — Hamburger visible — */
  .nav-toggle {
    display: flex;
    z-index: 1100;
    position: relative;
  }

  /* ── OVERLAY (backdrop oscuro) ── */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    /* sin backdrop-filter: evita crear stacking context que difumina el drawer */
    z-index: 1060;
    pointer-events: none;
    transition: background 0.5s ease;
  }
  .nav-overlay.open {
    background: rgba(0, 0, 0, 0.7);
    pointer-events: all;
  }

  /* ══ DRAWER LATERAL DERECHO ══ */
  .nav-links {
    /* Posicionamiento fijo — funciona desde cualquier scroll */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 85vw);
    height: 100dvh;       /* dvh: respeta la barra del navegador mobile */

    /* Layout interno */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;

    /* Visual — fondo sólido, sin blur para no difuminarse */
    background: #0d0a10;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.8);

    /* Animación: slide desde la derecha */
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0.42s;
    visibility: hidden;
    pointer-events: none;
    /* z-index mayor que overlay (1060) para quedar encima */
    z-index: 1090;
    overflow-y: auto;
    overflow-x: hidden;
    /* Eliminar clip-path residual del menú anterior */
    clip-path: none !important;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: all;
    /* transition sin delay en visibility al abrir */
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0s;
  }

  /* ── Estructura interna del drawer ── */

  /* Espaciador superior (zona del botón X que está fuera del drawer) */
  .nav-links > li:first-child {
    margin-top: 5rem; /* empuja los items por debajo de la navbar */
  }

  /* Items */
  .nav-links > li {
    width: 100%;
    text-align: left;
    border: none;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    list-style: none;
  }

  /* Separador antes del lang toggle (penúltimo item) */
  .nav-links > li:nth-last-child(2) {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* Botón cotización — con separador y centrado */
  .nav-links > li:last-child {
    margin-top: 0.75rem;
    padding: 0 1.5rem;
    display: flex;
    justify-content: stretch;
  }

  /* — Número decorativo lateral — */
  .nav-num {
    display: inline-block !important;
    font-size: 0.55rem !important;
    color: var(--primary) !important;
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.55;
    line-height: 1;
    margin-right: 0.65rem;
    vertical-align: middle;
    min-width: 1.4rem;
    text-align: right;
    flex-shrink: 0;
  }

  /* ── Links del drawer ── */
  .nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0.9rem 0;
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.45);
    background: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.25s ease, border-color 0.25s ease;
    border-radius: 0;
    position: relative;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #ffffff;
    border-bottom-color: rgba(0, 77, 249, 0.3);
  }

  /* Quitar subrayado animado (incompatible con drawer) */
  .nav-link::after { display: none !important; }

  /* Último link sin borde inferior */
  .nav-links > li:last-of-type .nav-link {
    border-bottom: none;
  }

  /* ── Flecha del dropdown ── */
  .nav-arrow {
    display: inline-block !important;
    margin-left: auto;
    width: 16px;
    height: 16px;
    opacity: 0.4;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  }

  .has-dropdown.open > .nav-link .nav-arrow {
    transform: rotate(180deg);
    opacity: 0.9;
  }

  .has-dropdown.open > .nav-link {
    color: #ffffff;
  }

  /* ── Sub-menú accordion ── */
  .dropdown {
    position: static !important;
    transform: none !important;
    width: 100%;
    opacity: 1;
    pointer-events: none;
    background: rgba(0, 77, 249, 0.05);
    border: none;
    border-radius: 10px;
    padding: 0;
    margin: 0 0 0.5rem;
    min-width: unset;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, padding 0.3s ease;
    display: block;
    box-shadow: none;
    backdrop-filter: none;
    text-align: left;
  }

  .dropdown::before { display: none !important; }

  .has-dropdown.open .dropdown {
    max-height: 260px;
    opacity: 1;
    pointer-events: all;
    padding: 0.25rem 0;
  }

  .dropdown li { list-style: none; }

  .dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .dropdown li a:hover {
    color: #fff;
    background: rgba(0, 77, 249, 0.15);
  }

  /* Mostrar icono en mobile drawer */
  .dropdown-icon {
    display: flex !important;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .dropdown-icon svg {
    width: 13px;
    height: 13px;
  }

  /* ── Lang toggle ── */
  .lang-toggle {
    font-size: 0.85rem;
    justify-content: flex-start;
    padding: 0.45rem 0.9rem;
    width: auto;
    align-self: flex-start;
  }

  /* ── Botón cotización ── */
  .btn-nav {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    padding: 0.85rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    margin: 0 !important;
  }

  /* ── Logo: no se oculta en mobile drawer ── */
  .navbar.menu-open .logo {
    opacity: 1;
    pointer-events: auto;
  }

  /* ══════════════════════════════════════════
     HERO MOBILE
  ══════════════════════════════════════════ */

  .hero-wrap {
    height: auto;
    position: relative;
  }

  .hero-wrap .hero {
    position: relative;
    top: auto;
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 10vh;
    border-radius: 0 0 1.5rem 1.5rem;
    will-change: auto;
    background-image: url('assets/hero-fallback.webp');
    background-size: cover;
    background-position: center;
  }

  .hero-content-wrap {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero-content {
    text-align: left;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(2.6rem, 9vw, 4rem);
    margin-bottom: 1.25rem;
  }

  .hero-sub {
    font-size: 0.98rem;
    margin-bottom: 2rem;
    max-width: 480px;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* ══════════════════════════════════════════
     STATS 2×2
  ══════════════════════════════════════════ */

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    padding: 2rem 1.5rem;
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .stat-card:nth-child(3) {
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }

  .stat-card:nth-child(4) {
    border-right: none;
    border-top: 1px solid var(--border);
  }

  /* ══════════════════════════════════════════
     IPR → MOBILE STACKED
  ══════════════════════════════════════════ */

  .ipr-slide {
    padding: 3.5rem 2rem;
  }

  /* ══════════════════════════════════════════
     CÓMO OPERAMOS — SLIDER MOBILE
  ══════════════════════════════════════════ */

  .slider-section {
    padding: 60px 0 50px;
  }

  .slider-header {
    margin-bottom: 2rem;
  }

  .slider-header-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .slider-header-row .section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin: 0;
    line-height: 1.1;
  }

  .slider-arrows {
    flex-shrink: 0;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow svg {
    width: 17px;
    height: 17px;
  }

  /* Stage — scroll horizontal nativo en mobile */
  .slider-stage-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0;
  }

  .slider-stage-wrap::-webkit-scrollbar {
    display: none;
  }

  /* Ocultar fades — innecesarios con scroll nativo */
  .slider-fade-left,
  .slider-fade-right {
    display: none;
  }

  /* Stage: flujo en línea para scroll horizontal */
  .slider-stage {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0.5rem 1.25rem 1.5rem;
    height: auto !important;
    overflow: visible;
    width: max-content;
  }

  /* Cards: ancho fijo, flujo normal */
  .slider-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: min(280px, 78vw) !important;
    min-width: min(280px, 78vw);
    min-height: 420px;
    transform: none !important;
    opacity: 1 !important;
    flex-shrink: 0;
  }

  /* Card activa: resaltada con borde azul */
  .slider-card.is-active {
    border-color: rgba(0, 77, 249, 0.6);
  }

  /* Dots — mantenidos pero opcionales */
  .slider-dots {
    margin-top: 1rem;
  }

  /* ══════════════════════════════════════════
     SERVICIOS ESPECIALIZADOS — MOBILE
  ══════════════════════════════════════════ */

  /* Sección */
  .svc3-section {
    overflow: visible;
  }

  .svc3-header {
    padding: 60px 1.25rem 32px;
    text-align: left;
  }

  .svc3-header .svc-label {
    text-align: left;
  }

  .svc3-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 0.95;
  }

  /* Stage: scroll horizontal snapping */
  .svc3-scene {
    perspective: none;
    padding-bottom: 0;
  }

  .svc3-stage {
    position: static !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;   /* anula el center del base */
    align-items: stretch !important;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    transform-style: flat !important;
    width: 100% !important;                   /* no max-content: el stage ocupa el ancho del viewport */
  }

  .svc3-stage::-webkit-scrollbar {
    display: none;
  }

  /* Cards: tamaño fijo para scroll snap */
  .svc3-card {
    position: relative !important;
    flex-shrink: 0;
    width: min(300px, 80vw) !important;
    height: clamp(420px, 65vw, 500px) !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    scroll-snap-align: start;
  }

  /* Sangría visual: margen solo en primera y última card */
  .svc3-stage .svc3-card:first-child {
    margin-left: 1.25rem !important;
  }

  .svc3-stage .svc3-card:last-child {
    margin-right: 1.25rem !important;
  }

  /* Indicador de swipe — paginación por puntos ya existe */
  /* Dots debajo del stage */
  .slider-dots {
    display: flex;
  }

  /* — Otros — */
  .svc-name {
    font-size: 2rem;
  }

  .story-slide-index {
    right: 1.25rem;
    bottom: 1.25rem;
    font-size: 0.68rem;
  }

  /* ══════════════════════════════════════════
     GRIDS → 1 COL
  ══════════════════════════════════════════ */

  .grid-services {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .grid-services .card:first-child {
    grid-column: span 1;
  }

  .grid-fleet {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  /* ══════════════════════════════════════════
     FORM MOBILE
  ══════════════════════════════════════════ */

  /* — Form — */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: 1;
  }

  /* — Footer — */
  .footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }

  /* Brand ocupa ancho completo arriba */
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .footer-brand .footer-logo {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .footer-brand p {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 0.85rem;
  }

  .footer-brand .footer-social {
    display: none;
  }

  /* Contact ocupa ancho completo abajo */
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-brand p { max-width: 100%; }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.25rem 0;
  }

  .fleet-status-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem;
  }

  /* — Ajuste de secciones — */
  .section {
    padding: 70px 0;
  }

  .section-stats {
    padding: 60px 0;
  }

  /* — WhatsApp flotante — */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 24px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ---- Slider 1-card (≤ 519px) — ocultar fades laterales ---- */
@media (max-width: 519px) {
  .slider-fade-left,
  .slider-fade-right {
    display: none;
  }
}

/* ---- Mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  /* — Menú fullscreen: sin overrides de ancho — */

  /* — Hero compacto — */
  .hero-wrap {
    height: auto;
  }

  .hero {
    border-radius: 0 0 1.25rem 1.25rem;
    padding-bottom: 8vh;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1.05;
  }

  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  /* — Stats → 1 col — */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none !important;
    border-top: 1px solid var(--border);
    padding: 1.75rem 1.5rem;
  }

  .stat-card:first-child {
    border-top: none;
  }

  .stat-number {
    font-size: clamp(2.8rem, 12vw, 3.6rem);
  }

  /* — IPR small screens — */
  .ipr-heading {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  /* — Slider: muy pequeño — */
  .slider-section {
    padding: 60px 0 50px;
  }

  /* 1 sola card visible — ocultar fades laterales */
  .slider-fade-left,
  .slider-fade-right {
    display: none;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .svc-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .svc-name {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .svc-img-wrap {
    aspect-ratio: 3/2;
  }

  .svc-tags li {
    font-size: 0.78rem;
  }

  /* — Secciones — */
  .section {
    padding: 60px 0;
  }

  .section-stats {
    padding: 50px 0;
  }

  .section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .section-sub {
    font-size: 0.9rem;
  }

  /* — Cards — */
  .card {
    padding: 2rem 1.5rem;
  }

  /* — Footer — */
  .footer {
    padding: 50px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-contact {
    grid-column: 1;
  }

  /* — WhatsApp — */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 18px;
    right: 16px;
  }
}

/* ---- Mobile muy pequeño (≤ 360px) ---- */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  /* nav-links fullscreen — sin overrides */

  .hero-content h1 {
    font-size: clamp(2rem, 11vw, 2.6rem);
  }

  .container {
    padding: 0 16px;
  }

  .story-content-box,
  .story-content-box--right {
    padding: 1.5rem 1rem;
    opacity: 1;
    transform: none;
  }

  .ipr-slide {
    padding: 2.5rem 1.25rem;
  }
}

/* =============================================
   SERVICES IMMERSIVE HERO — PIN + FADE
   ============================================= */

/* Contenedor: altura = N slides × 100vh de scroll
   GSAP pin lo mantiene fijo mientras dure ese scroll */
.services-pin-container {
  position: relative;
  /* Solo ocupa 100vh — GSAP inserta su propio spacer para el scroll del pin.
     Con 300vh el contenedor duplicaba el espacio vacío. */
  height: 100vh;
}

/* Cada slide ocupa 100% del viewport, apiladas */
.svc-slide {
  position: absolute;
  inset: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* La primera slide es visible; las demás las pone en opacity:0
   el JS. Esta regla sirve de fallback sin JS. */
.svc-slide + .svc-slide {
  top: 0;    /* apiladas */
}

/* ── Fondo ── */
.svc-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  will-change: transform;
}

/* ── Overlay degradado ── */
.svc-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 55%, transparent 100%),
    linear-gradient(to top,   rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 35%, transparent 65%);
  z-index: 1;
}

/* ── Contenido ── */
.svc-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 10vh;
}

.svc-slide-inner {
  max-width: 680px;
  padding: 0 6vw;
  will-change: transform, opacity;
}

/* Meta: índice + etiqueta */
.svc-slide-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.svc-slide-index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  font-variant-numeric: tabular-nums;
}

.svc-slide-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,77,249,0.12);
  border: 1px solid rgba(0,77,249,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* Título */
.svc-slide-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

/* Descripción */
.svc-slide-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 480px;
}

/* Tags */
.svc-slide-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 2.25rem;
}

.svc-slide-tags li {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

/* CTA */
.svc-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.4s var(--spring);
}

.svc-slide-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--spring);
}

.svc-slide-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 28px rgba(0,77,249,0.5);
  transform: translateY(-2px);
}

.svc-slide-cta:hover svg {
  transform: translateX(4px);
}

/* ── Scroll hint (solo slide 1) ── */
.svc-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 6vw;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}

.svc-scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7));
  animation: svcScrollLine 2s ease-in-out infinite;
}

@keyframes svcScrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.svc-scroll-text {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}

/* ── Progress dots ── */
.svc-progress {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 1000;
  /* Ocultos por defecto, el JS los activa cuando el pin está activo */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.services-pin-container.is-pinned .svc-progress {
  opacity: 1;
  pointer-events: all;
}

.svc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s var(--spring);
}

.svc-dot.active {
  background: var(--primary);
  transform: scale(1.4);
}

/* ── Mobile: sin pin, slides en columna ── */
@media (max-width: 768px) {
  .services-pin-container {
    height: auto;
  }

  .svc-slide {
    position: relative;
    inset: auto;
    height: 100svh;
    min-height: 600px;
    opacity: 1 !important;
  }

  .svc-slide-inner {
    padding: 0 6%;
  }

  .svc-slide-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .svc-slide-desc {
    font-size: 0.95rem;
  }

  .svc-scroll-hint {
    display: none;
  }

  .svc-progress {
    display: none;
  }
}

@media (max-width: 480px) {
  .svc-slide-inner {
    padding: 0 5%;
  }

  .svc-slide-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

/* =============================================
   COMPONENTES CORPORATIVOS — PÁGINAS INTERNAS
   ============================================= */

/* ========== LANG FLAG ========== */
.lang-flag { font-size: 1rem; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--accent-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--accent-muted); opacity: 0.4; }
.breadcrumb span { color: var(--accent); }

/* ========== PAGE HERO ========== */
.page-hero {
  height: 62vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-darker);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25,16,16,0.2) 0%, rgba(25,16,16,0.75) 70%, var(--bg-dark) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-content h1 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 0.75rem; }
.page-hero-content p { font-size: 1.1rem; color: var(--accent); opacity: 0.85; max-width: 580px; line-height: 1.6; }

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.15rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.timeline-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-item h4 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--white); }
.timeline-item p { font-size: 0.92rem; color: var(--accent-muted); line-height: 1.65; }

/* ========== TEAM GRID ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--spring), border-color 0.4s var(--spring), box-shadow 0.5s var(--spring);
}
.team-card:hover { transform: translateY(-8px) scale(1.01); border-color: var(--border-hover); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

.team-avatar {
  height: 200px;
  background: linear-gradient(160deg, #0d1117 0%, #0f1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.team-initials {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(0,77,249,0.1);
  border: 2px solid rgba(0,77,249,0.35);
  box-shadow: 0 0 0 8px rgba(0,77,249,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Kanit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.team-photo {
  height: 260px;
  background: #1a1a2e;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,8,8,0.9), transparent 50%);
}

.team-info { padding: 1.5rem; }
.team-info h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team-role { font-size: 0.82rem; color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; display: block; }
.team-info p { font-size: 0.88rem; color: var(--accent-muted); line-height: 1.6; }
.team-hours { font-size: 0.78rem; color: var(--accent-muted); margin-top: 0.5rem; display: block; border-top: 1px solid var(--border); padding-top: 0.5rem; }

/* ========== VALUES GRID ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.4s var(--spring), transform 0.5s var(--spring), box-shadow 0.4s var(--spring);
}
.value-card:hover { border-color: var(--border-hover); transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 48px rgba(0,77,249,0.15); }
.value-card:hover .value-icon { transform: scale(1.15) rotate(-5deg); }
.value-icon { transition: transform 0.5s var(--spring-bounce); }

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--accent-muted); line-height: 1.6; }

/* ========== CERT GRID ========== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.cert-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(0,77,249,0.12); border-radius: 12px; color: var(--primary); margin-bottom: 0.75rem; }
.cert-card h5 { font-size: 0.85rem; color: var(--white); }
.cert-card p { font-size: 0.78rem; color: var(--accent-muted); line-height: 1.4; }

/* ========== SERVICE HUB CARDS ========== */
.grid-services-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-hub-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-hub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.service-hub-bg {
  position: absolute;
  inset: 0;
  background: #1a1a2e;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.service-hub-card:hover .service-hub-bg { transform: scale(1.05); }

.service-hub-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,8,8,0.95) 0%, rgba(13,8,8,0.4) 60%, transparent 100%);
}

.service-hub-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.service-hub-content .service-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}
.service-hub-content h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.service-hub-content p { font-size: 0.88rem; color: var(--accent-muted); margin-bottom: 1.25rem; line-height: 1.5; }

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
}
.btn-sm:hover { background: var(--primary); border-color: var(--primary); }

/* ========== SERVICE DETAIL ========== */
.service-steps { counter-reset: step; display: flex; flex-direction: column; gap: 2rem; }

.service-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}
.step-content h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.92rem; color: var(--accent-muted); line-height: 1.65; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.benefit-number { display: block; font-size: 2.8rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.88rem; color: var(--accent-muted); line-height: 1.5; }

/* Program Table */
.programs-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.programs-table th { background: rgba(0,77,249,0.1); padding: 0.85rem 1.25rem; text-align: left; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-muted); border-bottom: 1px solid var(--border); }
.programs-table td { padding: 1rem 1.25rem; font-size: 0.9rem; color: var(--accent); border-bottom: 1px solid var(--border); }
.programs-table tr:last-child td { border-bottom: none; }
.programs-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ========== FLEET SPECS ========== */
.specs-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.specs-card-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.specs-card-header h3 { font-size: 1.1rem; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 0.85rem 2rem; font-size: 0.88rem; }
.specs-table td:first-child { color: var(--accent-muted); font-weight: 500; width: 45%; }
.specs-table td:last-child { color: var(--white); font-weight: 500; }

/* ========== GALLERY ========== */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent-muted);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover { border-color: var(--primary); color: var(--white); background: var(--primary-glow); }

.gallery-grid { columns: 3; column-gap: 1rem; }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,77,249,0.15);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-zoom-icon { width: 40px; height: 40px; color: var(--white); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); box-shadow: 0 20px 80px rgba(0,0,0,0.8); }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); font-size: 0.88rem; color: var(--accent-muted); text-align: center; }
.gallery-item[data-hidden="true"] { display: none; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.video-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.video-thumb { aspect-ratio: 16/9; background: #1a1a2e; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.video-play-btn { width: 64px; height: 64px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px var(--primary-glow); pointer-events: none; }
.video-play-btn svg { width: 28px; height: 28px; color: white; margin-left: 4px; }
.video-info { padding: 1.25rem; }
.video-info h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.video-info p { font-size: 0.82rem; color: var(--accent-muted); }

/* ========== CONTACT DEPARTMENTS ========== */
.contact-departments { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.contact-departments th { padding: 0.75rem 1rem; text-align: left; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-muted); border-bottom: 1px solid var(--border); }
.contact-departments td { padding: 0.85rem 1rem; font-size: 0.88rem; border-bottom: 1px solid var(--border); color: var(--accent); }
.contact-departments tr:last-child td { border-bottom: none; }

.map-placeholder { width: 100%; height: 300px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #1a1a2e; display: flex; align-items: center; justify-content: center; margin-top: 1.5rem; position: relative; }
.map-placeholder iframe { width: 100%; height: 100%; border: none; filter: invert(90%) hue-rotate(180deg); }

/* ========== POLÍTICAS ========== */
.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.policy-nav { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 90px; }
.policy-nav h5 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-muted); margin-bottom: 1rem; }
.policy-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.policy-nav a { font-size: 0.88rem; color: var(--accent-muted); transition: color var(--transition); }
.policy-nav a:hover { color: var(--primary); }
.policy-section { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.policy-section:last-child { border-bottom: none; }
.policy-section h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.policy-section h4 { font-size: 1rem; margin: 1.5rem 0 0.5rem; color: var(--accent); }
.policy-section p, .policy-section li { font-size: 0.92rem; color: var(--accent-muted); line-height: 1.75; margin-bottom: 0.5rem; }
.policy-section ul { padding-left: 1.5rem; }

/* ========== WHY US ========== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why-visual { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: #1a1a2e; }
.why-checklist { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.why-checklist li { display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.95rem; color: var(--accent); line-height: 1.5; }
.why-check { width: 22px; height: 22px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.why-check svg { width: 12px; height: 12px; color: white; }

/* ========== CTA BANNER ========== */
.cta-banner { background: linear-gradient(135deg, rgba(0,77,249,0.15), rgba(0,77,249,0.05)); border: 1px solid rgba(0,77,249,0.25); border-radius: var(--radius-lg); padding: 3rem; text-align: center; }
.cta-banner h3 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.cta-banner p { font-size: 1rem; color: var(--accent-muted); margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ========== RESPONSIVE ADICIONAL — PÁGINAS INTERNAS ========== */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .grid-services-hub { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; margin-bottom: 2rem; }
  .page-hero-content h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
  /* Form: aside debajo del form a tablet */
  .form-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .gallery-grid { columns: 2; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-table { font-size: 0.82rem; }
  .programs-table th, .programs-table td { padding: 0.65rem 0.75rem; }
  .grid-services-hub { grid-template-columns: 1fr; }
  .service-hub-card { height: 360px; }
  .specs-table td { padding: 0.75rem 1.25rem; }
  /* Tabla departamentos: scroll horizontal en mobile */
  .contact-departments { font-size: 0.82rem; }
  .contact-departments th,
  .contact-departments td { padding: 0.6rem 0.75rem; }
  .cta-banner { padding: 2rem 1.5rem; }
  .cta-banner h3 { font-size: 1.5rem; }
  .page-hero { height: 52vh; min-height: 340px; padding-bottom: 3rem; }
  .page-hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.8rem); }
  .page-hero-content p { font-size: 0.95rem; }
  .breadcrumb { font-size: 0.75rem; }
  .timeline { padding-left: 1.75rem; }
  .timeline-item { padding: 0 0 2rem 1.5rem; }
  /* Video grid: 1 columna en tablet */
  .video-grid { grid-template-columns: 1fr; }
  /* Ocultar botón play decorativo en mobile (sin funcionalidad) */
  .video-play-btn { display: none; }
  /* Footer: ya 1 col, ajustar padding */
  .footer { padding: 50px 0 0; }
  .footer-grid { gap: 1.5rem; }
  .footer-brand p { max-width: 100%; }
  /* Specs grid en flota: columnas a 1 */
  .specs-grid-2col { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 1.75rem 1.25rem; }
  .cta-banner h3 { font-size: 1.4rem; }
  .service-hub-card { height: 300px; }
  .hero-badge { font-size: 0.65rem; padding: 0.25rem 0.7rem; }
  .form-wrapper { gap: 1.5rem; }
  .quote-form { padding: 1.5rem 1rem; }
  /* Form grid → 1 col */
  .form-grid { grid-template-columns: 1fr; gap: 1rem; }
  .full-width { grid-column: 1; }
  /* CTA buttons → columna */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  /* Footer compacto */
  .footer { padding: 40px 0 0; }
  .footer-grid { gap: 1.25rem; padding-bottom: 2rem; }
  .footer-links h5, .footer-contact h5 { margin-bottom: 0.75rem; }
  /* Video */
  .video-grid { grid-template-columns: 1fr; gap: 1rem; }
  .video-info { padding: 1rem; }
  /* Specs card en flota */
  .specs-card-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem 1.25rem; }
  .specs-table td { padding: 0.65rem 1rem; font-size: 0.82rem; }
  /* Contact departments: texto más pequeño */
  .contact-departments th,
  .contact-departments td { font-size: 0.76rem; padding: 0.5rem 0.6rem; }
  /* Mapa más alto en mobile */
  .map-placeholder { height: 220px; }
}

/* ========== MODAL DE COTIZACIÓN ========== */

/* ── Backdrop ──────────────────────────────────────────────── */
.qm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(9, 5, 5, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  /* Oculto por defecto — GSAP anima opacity, la clase controla display */
  opacity: 0;
  pointer-events: none;
  transition: none; /* GSAP lo maneja */
}

.qm-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Panel del modal ───────────────────────────────────────── */
.qm-panel {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
  background: #16100f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 77, 249, 0.15);
  /* GPU compositing para la animación GSAP */
  will-change: transform, opacity;
}

/* Scrollbar discreta */
.qm-panel::-webkit-scrollbar { width: 4px; }
.qm-panel::-webkit-scrollbar-track { background: transparent; }
.qm-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

/* ── Botón cerrar ──────────────────────────────────────────── */
.qm-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent);
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.qm-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.qm-close svg { width: 16px; height: 16px; }

/* ── Encabezado ────────────────────────────────────────────── */
.qm-header {
  margin-bottom: 2rem;
  padding-right: 2.5rem; /* espacio para el X */
}

.qm-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.qm-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.qm-sub {
  font-size: 0.9rem;
  color: var(--accent-muted);
  line-height: 1.6;
}

/* ── Formulario ────────────────────────────────────────────── */
.qm-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.qm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.qm-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.qm-field--full {
  grid-column: 1 / -1;
}

.qm-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.qm-field input,
.qm-field select,
.qm-field textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  width: 100%;
}

.qm-field input::placeholder,
.qm-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.qm-field input:focus,
.qm-field select:focus,
.qm-field textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 77, 249, 0.05);
}

.qm-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.qm-field select option {
  background: #1a1010;
  color: var(--white);
}

.qm-field textarea {
  resize: vertical;
  min-height: 90px;
}

.qm-error {
  font-size: 0.72rem;
  color: #f44336;
  min-height: 1em;
}

/* ── Footer del form: privacidad + botón ───────────────────── */
.qm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.qm-privacy {
  font-size: 0.75rem;
  color: var(--accent-muted);
  line-height: 1.5;
}

.qm-privacy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qm-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s var(--spring);
  white-space: nowrap;
}

.qm-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }
.qm-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.qm-submit .btn-icon { width: 15px; height: 15px; }

/* ── Pantalla de éxito ─────────────────────────────────────── */
.qm-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1rem;
}

.qm-success-icon {
  width: 64px;
  height: 64px;
  color: #4caf50;
  stroke: #4caf50;
}

.qm-success h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}

.qm-success p {
  font-size: 0.95rem;
  color: var(--accent-muted);
  max-width: 380px;
  line-height: 1.6;
}

.qm-close-success {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.75rem;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 0.5rem;
}
.qm-close-success:hover { background: rgba(255,255,255,0.13); }

/* ── Responsive mobile ─────────────────────────────────────── */
@media (max-width: 600px) {
  .qm-panel { padding: 1.5rem 1.25rem; border-radius: 1rem 1rem 0 0; align-self: flex-end; max-height: 95vh; }
  .qm-backdrop { align-items: flex-end; padding: 0; }
  .qm-row { grid-template-columns: 1fr; }
  .qm-footer { flex-direction: column; align-items: stretch; }
  .qm-submit { justify-content: center; }
}

