*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #020409;
  --surface: #070b17;
  --surface2:#0c1221;
  --border:  rgba(255,255,255,0.06);
  --blue:    #00c2ff;
  --blue-g:  rgba(0,194,255,0.12);
  --gold:    #ffaa00;
  --gold-g:  rgba(255,170,0,0.12);
  --orange:  #ff6b35;
  --white:   #edf2ff;
  --muted:   rgba(237,242,255,0.55);
  --radius:  16px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ── Cursor (crosshair) ──
   Oculto por defecto. Solo se activa en dispositivos con puntero fino
   (mouse). En pantallas táctiles el cursor nativo se mantiene intacto. */
#cur, #cur-ring {
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, width 0.3s, height 0.3s, border-color 0.3s;
  display: none;
  opacity: 0;
}
/* Punto central preciso (marca exacta del puntero) */
#cur {
  width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%;
  /* Contorno oscuro + halo: visible sobre cualquier fondo (claro u oscuro) */
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.5), 0 0 10px 2px rgba(0,194,255,0.95);
}
/* Retícula de cámara: aro + crosshair que se extiende más allá */
#cur-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(0,194,255,0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 0 12px rgba(0,194,255,0.3);
}
#cur-ring.cur-hover {
  width: 54px; height: 54px;
  border-color: rgba(255,170,0,0.95);
}
/* Líneas del crosshair (vertical + horizontal), un poco más largas que el aro */
#cur-ring::before, #cur-ring::after {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,194,255,0.9);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.35);
}
#cur-ring::before { width: 1.5px; height: 54px; }  /* vertical */
#cur-ring::after  { width: 54px; height: 1.5px; }  /* horizontal */
#cur-ring.cur-hover::before, #cur-ring.cur-hover::after { background: rgba(255,170,0,0.9); }

/* Ticks tipo escala de visor en los extremos del crosshair */
.cr-tick {
  position: absolute; top: 50%; left: 50%;
  background: rgba(0,194,255,0.9);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.35);
}
.cr-n, .cr-s { width: 8px;   height: 1.5px; } /* marcas horizontales (brazo vertical) */
.cr-e, .cr-w { width: 1.5px; height: 8px;   } /* marcas verticales (brazo horizontal) */
.cr-n { transform: translate(-50%, -50%) translateY(-24px); }
.cr-s { transform: translate(-50%, -50%) translateY(24px); }
.cr-e { transform: translate(-50%, -50%) translateX(24px); }
.cr-w { transform: translate(-50%, -50%) translateX(-24px); }
#cur-ring.cur-hover .cr-tick { background: rgba(255,170,0,0.9); }

/* El cursor nativo SOLO se oculta cuando el JS está activo y añade la clase
   .cursor-on. Si el JS no carga, el mouse normal siempre queda visible. */
@media (hover: hover) and (pointer: fine) {
  body.cursor-on { cursor: none; }
  body.cursor-on #cur,
  body.cursor-on #cur-ring { display: block; }
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(2,4,9,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 1.6rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-book {
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 100px;
  color: #0a0400 !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 0 20px rgba(255,170,0,0.2);
}
.nav-book:hover { transform: translateY(-1px); box-shadow: 0 0 35px rgba(255,170,0,0.4) !important; }

/* ── Hero ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.hero-sky {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    #020409 0%, #030614 18%, #071428 45%,
    #0d1f3d 62%, #1e1535 74%, #3d1d40 84%,
    #6b2e20 93%, #b05a18 100%);
  animation: skyPulse 14s ease-in-out infinite alternate;
}
@keyframes skyPulse {
  from { filter: brightness(1) saturate(1); }
  to   { filter: brightness(1.18) saturate(1.1) hue-rotate(6deg); }
}
.hero-stars { position: absolute; inset: 0; overflow: hidden; }

/* ── Estrellas (FALTABA esta regla: las estrellas eran invisibles) ── */
.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
  animation-name: twinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50%      { opacity: 0.95; transform: scale(1); }
}

.hero-grid {
  position: absolute; bottom: -5%; left: -25%; right: -25%; height: 55%;
  background-image:
    linear-gradient(rgba(0,194,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(700px) rotateX(78deg);
  transform-origin: center bottom;
  animation: gridScroll 7s linear infinite;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
@keyframes gridScroll {
  from { background-position: 0 0; }
  to   { background-position: 0 50px; }
}
.hero-horizon {
  position: absolute; bottom: 37%;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,130,0,0.5) 20%,
    rgba(255,170,0,0.9) 50%, rgba(255,130,0,0.5) 80%, transparent 100%);
  filter: blur(1px);
  animation: hPulse 4s ease-in-out infinite alternate;
}
.hero-horizon-glow {
  position: absolute; bottom: 32%; left: 5%; right: 5%; height: 120px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,120,0,0.18) 0%, transparent 70%);
  filter: blur(25px);
}
@keyframes hPulse { from { opacity: 0.7; } to { opacity: 1; } }

/* Camera reticle */
.reticle { position: absolute; inset: 4rem; pointer-events: none; }
.rc {
  position: absolute; width: 28px; height: 28px;
  border-color: rgba(0,194,255,0.45); border-style: solid;
}
.rc-tl { top:0; left:0;   border-width: 2px 0 0 2px; }
.rc-tr { top:0; right:0;  border-width: 2px 2px 0 0; }
.rc-bl { bottom:0; left:0;  border-width: 0 0 2px 2px; }
.rc-br { bottom:0; right:0; border-width: 0 2px 2px 0; }
.rc-cx {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 50px; height: 50px;
}
.rc-cx::before, .rc-cx::after {
  content: ''; position: absolute; background: rgba(0,194,255,0.3);
}
.rc-cx::before { width:1px; height:100%; left:50%; top:0; }
.rc-cx::after  { width:100%; height:1px; top:50%; left:0; }
.rc-circle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 24px; height: 24px;
  border: 1px solid rgba(0,194,255,0.35); border-radius: 50%;
}

/* HUD telemetry */
.hud {
  position: absolute;
  font-size: 0.6rem; letter-spacing: 0.1em;
  color: rgba(0,194,255,0.65);
  pointer-events: none; line-height: 1.8;
  font-variant-numeric: tabular-nums;
}
.hud-tl { top: 4.5rem; left: 4.5rem; }
.hud-tr { top: 4.5rem; right: 4.5rem; text-align: right; }
.hud-bl { bottom: 4.5rem; left: 4.5rem; }
.hud-br { bottom: 4.5rem; right: 4.5rem; text-align: right; }
.hud-rec {
  display: inline-flex; align-items: center; gap: 4px;
  color: #ff4040;
}
.hud-rec::before {
  content: ''; width: 6px; height: 6px;
  background: #ff4040; border-radius: 50%;
  animation: recBlink 1.2s ease-in-out infinite;
}
@keyframes recBlink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* Hero content */
.hero-content { position: relative; z-index: 10; max-width: 950px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(0,194,255,0.3);
  border-radius: 100px;
  background: rgba(0,194,255,0.06);
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.6); } }

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.9; letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.ht-line { display: block; overflow: hidden; }
.ht-line span {
  display: block;
  opacity: 0; transform: translateY(100%);
  animation: slideUp 1s cubic-bezier(.16,1,.3,1) forwards;
}
.ht-line:nth-child(1) span { animation-delay: 0.4s; }
.ht-line:nth-child(2) span {
  animation-delay: 0.58s;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 50%, #ff4580 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideUp 1s 0.58s cubic-bezier(.16,1,.3,1) forwards, gradDrift 6s 1.6s ease infinite;
}
@keyframes gradDrift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted); line-height: 1.75;
  max-width: 520px; margin: 0 auto 3rem;
  opacity: 0; animation: fadeUp 0.8s 1s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; align-items: center;
  opacity: 0; animation: fadeUp 0.8s 1.2s forwards;
  flex-wrap: wrap;
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 100px; color: #080200;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 0 40px rgba(255,170,0,0.3);
  letter-spacing: 0.02em;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(255,170,0,0.5); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2rem; border: 1px solid var(--border);
  border-radius: 100px; color: var(--muted);
  text-decoration: none; font-size: 0.9rem;
  transition: border-color .25s, color .25s;
}
.btn-outline:hover { border-color: rgba(0,194,255,0.4); color: var(--blue); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(0,194,255,0.45); font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 1s 1.6s forwards;
}
.scroll-arr {
  width: 18px; height: 18px;
  border-right: 1.5px solid rgba(0,194,255,0.4);
  border-bottom: 1.5px solid rgba(0,194,255,0.4);
  transform: rotate(45deg);
  animation: arrBounce 2s ease-in-out infinite;
}
@keyframes arrBounce { 0%,100% { transform:rotate(45deg) translateY(0); } 50% { transform:rotate(45deg) translateY(6px); } }

/* ── Stats bar ── */
.stats-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,194,255,0.03);
}
.stat-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  border-right: 1px solid var(--border);
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 1rem; }
.stat-item strong { color: var(--white); font-weight: 500; }

/* ── Section helpers ── */
section { position: relative; z-index: 1; }
.sec-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.25rem;
}
.sec-label::before {
  content: ''; width: 32px; height: 1px;
  background: var(--blue); opacity: 0.6;
}
.sec-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 0.95;
}

/* ── Services ── */
#services { padding: 8rem 4rem; }
.services-head { margin-bottom: 4rem; }
.services-head .sec-h em {
  font-style: normal;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.25);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.svc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .4s;
}
.svc:hover {
  transform: translateY(-5px);
  border-color: rgba(255,170,0,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(255,170,0,0.05);
}
.svc-wide { grid-column: span 2; }
.svc-glow {
  position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
.svc:hover .svc-glow { opacity: 1; }
.svc-icon {
  font-size: 2.2rem; margin-bottom: 1.25rem;
  display: block;
}
.svc h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}
.svc p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.svc-tag {
  display: inline-block; margin-top: 1.25rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.tag-gold { border-color: rgba(255,170,0,0.3); color: var(--gold); }
.tag-blue { border-color: rgba(0,194,255,0.3); color: var(--blue); }
.tag-orange { border-color: rgba(255,107,53,0.3); color: var(--orange); }

/* ── Fleet ── */
#fleet {
  padding: 6rem 4rem 8rem;
  background: linear-gradient(to bottom, transparent, rgba(0,194,255,0.03), transparent);
}
.fleet-head { margin-bottom: 4rem; }
.fleet-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.drone-card {
  border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s;
  background: var(--surface);
}
.drone-card:hover { transform: translateY(-6px); }
.drone-card.mini:hover  { border-color: rgba(0,194,255,0.35); }
.drone-card.avata:hover { border-color: rgba(255,107,53,0.35); }

.drone-visual {
  height: 260px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.drone-card.mini .drone-visual {
  background: radial-gradient(ellipse at 50% 60%, rgba(0,100,180,0.25) 0%, transparent 70%),
              linear-gradient(160deg, #040d1e 0%, #071628 100%);
}
.drone-card.avata .drone-visual {
  background: radial-gradient(ellipse at 50% 60%, rgba(200,60,0,0.2) 0%, transparent 70%),
              linear-gradient(160deg, #160804 0%, #1e0c06 100%);
}
.drone-svg { opacity: 0.9; }
.rotor-spin { animation: rotorSpin 0.3s linear infinite; transform-origin: center; }
@keyframes rotorSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.drone-label {
  position: absolute; top: 1.25rem; left: 1.25rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.drone-card.mini  .drone-label { color: var(--blue); }
.drone-card.avata .drone-label { color: var(--orange); }

.drone-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px; font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.drone-card.mini  .drone-badge { background: rgba(0,194,255,0.12); color: var(--blue); border: 1px solid rgba(0,194,255,0.25); }
.drone-card.avata .drone-badge { background: rgba(255,107,53,0.12); color: var(--orange); border: 1px solid rgba(255,107,53,0.25); }

.drone-body { padding: 2rem; }
.drone-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.drone-card.mini  .drone-name { color: var(--blue); }
.drone-card.avata .drone-name { color: var(--orange); }
.drone-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.75rem; }

.specs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}
.spec-label {
  font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.2rem;
}
.spec-val {
  font-size: 0.9rem; font-weight: 500;
  color: var(--white);
}
.use-cases {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.75rem;
}
.uc-tag {
  padding: 0.3rem 0.8rem;
  border-radius: 100px; font-size: 0.72rem;
  letter-spacing: 0.05em; color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

/* ── Reel ── */
#reel {
  padding: 0 4rem 8rem;
}
.reel-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #040c1e 0%, #081428 30%, #1a0d24 60%, #2e1408 85%, #1a0808 100%);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.reel-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,130,0,0.08) 0%, transparent 60%);
}
.reel-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: calc(100%/3) calc(100%/3);
}
.play-btn {
  position: relative; z-index: 2;
  width: 90px; height: 90px;
  background: rgba(255,170,0,0.15);
  border: 2px solid rgba(255,170,0,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .3s;
  backdrop-filter: blur(10px);
}
.reel-wrap:hover .play-btn {
  transform: scale(1.1);
  background: rgba(255,170,0,0.25);
}
.play-btn::before {
  content: '';
  border-left: 28px solid var(--gold);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 6px;
}
.reel-label {
  position: absolute; bottom: 2rem; left: 2rem; z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.reel-duration {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 2;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

/* ── Gallery ── */
#gallery { padding: 4rem 4rem 8rem; }
.gallery-head { margin-bottom: 3rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 300px;
  gap: 1rem;
}
.g-item {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.g-item:hover { transform: scale(1.02); z-index: 2; }
.g-item:nth-child(1) { grid-column: span 2; }
.g-item:nth-child(5) { grid-column: span 2; }

.g-bg {
  position: absolute; inset: 0;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.g-item:hover .g-bg { transform: scale(1.06); }
.gb-1 { background: linear-gradient(135deg, #0d1b35 0%, #1a2d50 40%, #2d1f0a 100%); }
.gb-2 { background: linear-gradient(135deg, #061420 0%, #0a2030 50%, #152035 100%); }
.gb-3 { background: linear-gradient(135deg, #150820 0%, #200d35 50%, #0a1525 100%); }
.gb-4 { background: linear-gradient(135deg, #200f0a 0%, #301508 50%, #1a0d06 100%); }
.gb-5 { background: linear-gradient(135deg, #0a1a0a 0%, #0f2510 40%, #1a2515 100%); }
.gb-6 { background: linear-gradient(135deg, #1a1a0a 0%, #2a2510 50%, #151008 100%); }

.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-info {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.g-item:hover .g-info { opacity: 1; transform: translateY(0); }
.g-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.g-sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; }

/* ── Process ── */
#process { padding: 6rem 4rem 8rem; }
.process-head { margin-bottom: 4rem; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 2rem; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step { position: relative; }
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem; font-weight: 900;
  line-height: 1; opacity: 0.06;
  position: absolute; top: -1rem; left: 0;
}
.step-icon {
  width: 52px; height: 52px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── Pricing ── */
#pricing { padding: 6rem 4rem 8rem; }
.pricing-head { margin-bottom: 4rem; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.price-card:hover { transform: translateY(-5px); }
.price-card.featured {
  border-color: rgba(255,170,0,0.35);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(255,170,0,0.04) 100%);
}
.price-card.featured::before {
  content: 'MÁS POPULAR';
  position: absolute; top: 1.25rem; right: 1.25rem;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 100px; color: #080200;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
}
.price-tier {
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1rem;
}
.price-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem; font-weight: 900;
  line-height: 1; margin-bottom: 0.25rem;
}
.price-card.featured .price-amount { color: var(--gold); }
.price-period { font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.price-features li {
  font-size: 0.875rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.6rem;
}
.price-features li::before {
  content: '✓';
  color: var(--blue); font-size: 0.8rem;
  flex-shrink: 0;
}
.price-card.featured .price-features li::before { color: var(--gold); }
.price-cta {
  display: block; width: 100%;
  margin-top: 2rem; padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px; text-align: center;
  color: var(--muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: border-color .25s, color .25s, background .25s;
}
.price-cta:hover { border-color: rgba(255,255,255,0.2); color: var(--white); background: rgba(255,255,255,0.04); }
.price-card.featured .price-cta {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-color: transparent; color: #080200; font-weight: 700;
}
.price-card.featured .price-cta:hover { box-shadow: 0 0 30px rgba(255,170,0,0.4); }

/* ── CTA Banner ── */
.cta-banner {
  margin: 0 4rem 8rem;
  border-radius: 24px;
  padding: 5rem 4rem;
  text-align: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0c1420 0%, #14102a 40%, #1e0d10 70%, #0c0808 100%);
  border: 1px solid rgba(255,170,0,0.12);
}
.cta-banner::before {
  content: '';
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,140,0,0.12) 0%, transparent 70%);
  filter: blur(40px);
}
.cta-banner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; margin-bottom: 1rem;
  position: relative;
}
.cta-banner p {
  color: var(--muted); max-width: 500px;
  margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.7;
  position: relative;
}

/* ── Contact ── */
#contact { padding: 6rem 4rem 10rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-left .sec-h { margin-bottom: 1.5rem; }
.contact-left > p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.75rem; }
.ci {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; color: var(--muted);
  font-size: 0.875rem;
  transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.ci:hover { border-color: rgba(255,170,0,0.3); color: var(--white); background: rgba(255,170,0,0.04); transform: translateX(5px); }
.ci-icon { font-size: 1.1rem; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px; padding: 2.5rem;
}
.form-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1rem; }
.fg label {
  display: block; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.45rem;
}
.fg input, .fg select, .fg textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.8rem 1rem; color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.875rem;
  outline: none; resize: none;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(255,170,0,0.4);
  background: rgba(255,170,0,0.04);
}
/* Foco visible para navegación por teclado (accesibilidad) */
.fg input:focus-visible, .fg select:focus-visible, .fg textarea:focus-visible,
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.fg select option { background: #0c1221; }
.fg textarea { height: 110px; }
.form-submit {
  width: 100%; padding: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border: none; border-radius: 12px;
  color: #080200; font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; margin-top: 0.5rem;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 0 25px rgba(255,170,0,0.2);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(255,170,0,0.4); }

/* Honeypot: oculto a la vista pero presente para los bots */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Mensaje de estado del formulario */
.form-status {
  margin-top: 1rem; font-size: 0.85rem; line-height: 1.5;
  min-height: 1.2em; opacity: 0; transition: opacity .25s;
}
.form-status.ok  { color: #34d399; opacity: 1; }
.form-status.err { color: #ff7a7a; opacity: 1; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-tagline { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.78rem; color: var(--muted);
  text-decoration: none; letter-spacing: 0.05em;
  transition: color .25s;
}
.footer-links a:hover { color: var(--white); }
footer p.copy { font-size: 0.75rem; color: rgba(237,242,255,0.25); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }

/* ── Widget real: Condiciones de vuelo (clima + hora local) ── */
.hud-weather { bottom: 4.5rem; right: 4.5rem; text-align: right; }
.hud-w-title { color: var(--gold); letter-spacing: 0.16em; margin-bottom: 3px; }
.w-status { margin-top: 4px; font-weight: 600; }
.w-status.ok   { color: #34d399; }
.w-status.warn { color: var(--gold); }
.w-status.bad  { color: #ff6b6b; }
.w-status.load { color: var(--muted); }

/* ── Botón flotante de WhatsApp ── */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform .25s, box-shadow .25s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37,211,102,0.6);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0.10); }
}
@media (max-width: 960px) {
  .wa-float { bottom: 1.25rem; right: 1.25rem; width: 54px; height: 54px; }
}

/* ── Keyframes ── */
@keyframes slideUp { from { opacity:0; transform:translateY(100%); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ── Responsive ── */
@media (max-width: 960px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  #hero { padding: 9rem 1.5rem 4rem; }
  /* En móvil ocultamos la telemetría decorativa para no saturar... */
  .hud-tr, .hud-bl, .hud-br, .hud-tl { display: none; }
  /* ...pero el clima SÍ se queda: barra de estado limpia bajo el nav. */
  .hud-weather {
    top: 4.6rem; left: 1.5rem; right: 1.5rem; bottom: auto;
    text-align: center; line-height: 1.7;
    padding: 0.55rem 0.75rem;
    background: rgba(2,4,9,0.55);
    border: 1px solid var(--border);
    border-radius: 10px;
    backdrop-filter: blur(8px);
  }
  .reticle { inset: 1.5rem; }
  #services, #fleet, #gallery, #process, #pricing, #contact { padding: 5rem 1.5rem; }
  #reel { padding: 0 1.5rem 5rem; }
  .bento { grid-template-columns: 1fr; }
  .svc-wide { grid-column: span 1; }
  .fleet-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .g-item:nth-child(1), .g-item:nth-child(5) { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-banner { margin: 0 1.5rem 5rem; padding: 3rem 2rem; }
  #contact { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* ── Respeta a quien prefiere menos movimiento (accesibilidad) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}
