/* ============ ASTER MEDIA — space theme ============ */

:root{
  --void: #05060d;
  --bg: #070a17;
  --bg-alt: #0a0e22;
  --navy: #0d1330;
  --panel: #0e1330cc;
  --line: rgba(162,216,233,0.16);
  --blue: #1c98d6;
  --blue-2: #33b0e5;
  --cyan: #a2d8e9;
  --cream: #fefbe5;
  --white: #f5f7fc;
  --muted: #93a0c2;
  --radius: 18px;
  --maxw: 1180px;
  --shadow-glow: 0 0 40px rgba(51,176,229,0.25);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--void);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

h1,h2,h3, .brand-word, .btn{
  font-family: 'Orbitron', 'Inter', sans-serif;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- starfield & nebulas ---------- */
#starfield{
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  background: radial-gradient(ellipse at 50% -10%, #0e1638 0%, #070a17 45%, #050611 100%);
}

.nebula{
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  z-index: -1;
  pointer-events: none;
}
.nebula--1{ width: 520px; height: 520px; top: -120px; left: -160px; background: radial-gradient(circle, #3b82f6, transparent 70%); }
.nebula--2{ width: 620px; height: 620px; top: 40vh; right: -220px; background: radial-gradient(circle, #7dd3fc, transparent 70%); opacity:.22; }
.nebula--3{ width: 500px; height: 500px; bottom: -160px; left: 20vw; background: radial-gradient(circle, #1d4ed8, transparent 70%); opacity:.28; }

/* ---------- intro / splash ---------- */
.intro-overlay{
  position: fixed; inset: 0;
  z-index: 3000;
  background: radial-gradient(ellipse at 50% 55%, #0c1230 0%, #05060d 70%);
  display:flex; align-items:center; justify-content:center;
  cursor: pointer;
  transition: opacity .6s ease;
}
.intro-overlay.is-hidden{ opacity: 0; pointer-events: none; }

.intro-stage{
  position: relative;
  display:flex; flex-direction: column; align-items:center;
  width: 100%;
}

.intro-ember{
  position:absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: #9ca8c9;
  box-shadow: 0 0 12px 2px rgba(156,168,201,.5);
  animation: ember-die 0.9s ease-out forwards;
}
@keyframes ember-die{
  0%{ opacity: .9; transform: scale(1); }
  60%{ opacity: .3; transform: scale(.55); }
  100%{ opacity: 0; transform: scale(.2); }
}

.intro-ring{
  position:absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  opacity: 0;
  animation: burst-ring 1s ease-out forwards;
}
.intro-ring--1{ animation-delay: .55s; }
.intro-ring--2{ animation-delay: .75s; }
@keyframes burst-ring{
  0%{ transform: scale(.2); opacity: .9; }
  100%{ transform: scale(6); opacity: 0; }
}

.intro-logo{
  width: 84px; height: 84px;
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(162,216,233,.65));
  animation: logo-ignite .7s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: .6s;
}
@keyframes logo-ignite{
  0%{ transform: scale(0) rotate(-60deg); opacity: 0; }
  65%{ transform: scale(1.2) rotate(8deg); opacity: 1; }
  100%{ transform: scale(1) rotate(0deg); opacity: 1; }
}

.intro-word{
  margin: 20px 0 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  animation: intro-rise .6s ease forwards;
  animation-delay: 1.25s;
}
.intro-word b{
  font-weight: 900;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro-tagline{
  margin: 10px 0 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  opacity: 0;
  animation: intro-rise .6s ease forwards;
  animation-delay: 1.65s;
}
@keyframes intro-rise{
  0%{ opacity: 0; transform: translateY(12px); }
  100%{ opacity: 1; transform: translateY(0); }
}

.intro-skip{
  position: absolute;
  left: 50%; bottom: 36px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  opacity: 0;
  animation: intro-rise .6s ease forwards;
  animation-delay: 2.1s;
}

@media (prefers-reduced-motion: reduce){
  .intro-overlay{ display: none; }
}

/* ---------- header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(5,6,13,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-color: var(--line);
}
.nav-inner{ display:flex; align-items:center; gap:24px; }

.brand{ display:flex; align-items:center; gap:10px; margin-right: auto; }
.brand-mark{ flex-shrink:0; filter: drop-shadow(0 0 8px rgba(125,211,252,.6)); }
.brand-word{
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--white);
}
.brand-word b{
  font-weight: 900;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav{ display:flex; gap: 30px; }
.main-nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a:hover{ color: var(--white); }
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:0; height:1px;
  background: var(--cyan);
  transition: width .25s ease;
}
.main-nav a:hover::after{ width:100%; }

.nav-cta{ white-space: nowrap; }

.lang-switch{
  display:flex; align-items:center; justify-content:center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family:'Orbitron',sans-serif;
  font-size: 11px; font-weight:700; letter-spacing: .5px;
  color: var(--white);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.lang-switch:hover{ border-color: var(--cyan); color: var(--cyan); background: rgba(125,211,252,.08); }

.nav-toggle{
  display:none;
  background:none; border:none;
  width: 34px; height: 26px;
  flex-direction: column; justify-content: space-between;
  padding: 0;
}
.nav-toggle span{
  display:block; height:2px; width:100%;
  background: var(--white); border-radius:2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #04060d;
  box-shadow: 0 8px 24px rgba(59,130,246,.35);
}
.btn-primary:hover{ box-shadow: 0 10px 30px rgba(125,211,252,.5); }
.btn-outline{
  border-color: rgba(125,211,252,.4);
  color: var(--white);
}
.btn-outline:hover{ border-color: var(--cyan); background: rgba(125,211,252,.08); }
.btn-ghost{
  border-color: var(--line);
  color: var(--white);
  padding: 10px 20px;
}
.btn-ghost:hover{ border-color: var(--cyan); }
.btn-lg{ padding: 16px 38px; font-size: 14px; }

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex; align-items:center;
  padding-top: 90px;
  overflow: hidden;
}
.hero-inner{ position: relative; z-index: 2; max-width: 820px; }

.eyebrow{
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero-title{ margin: 0; }
.brand-word-lg{
  font-size: clamp(38px, 8vw, 92px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  background: linear-gradient(100deg, #ffffff 10%, var(--cyan) 55%, var(--blue) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(96,165,250,.25);
}
.hero-tagline{
  font-family:'Orbitron', sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 500;
  color: var(--white);
  margin: 22px 0 18px;
}
.tagline-flip{ color: var(--cyan); }
.hero-sub{
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 0 34px;
}
.hero-actions{ display:flex; gap: 16px; flex-wrap: wrap; }

.hero-planet{
  position:absolute; border-radius:50%;
  z-index:1;
  pointer-events:none;
}
.hero-planet--1{
  width: 260px; height:260px; right: 8%; top: 18%;
  background: radial-gradient(circle at 32% 28%, #a8d8ff, #3b82f6 55%, #0b1a3c 100%);
  box-shadow: 0 0 90px rgba(59,130,246,.35), inset -18px -18px 40px rgba(0,0,0,.4);
  animation: float 9s ease-in-out infinite;
}
.hero-planet--2{
  width: 90px; height:90px; right: 22%; top: 62%;
  background: radial-gradient(circle at 35% 30%, #d7f0ff, #7dd3fc 60%, #0b1a3c 100%);
  box-shadow: 0 0 40px rgba(125,211,252,.45);
  animation: float 7s ease-in-out infinite reverse;
}
.hero-planet--3{
  width: 46px; height:46px; right: 4%; top: 66%;
  background: radial-gradient(circle at 35% 30%, #fff, #93c5fd 70%);
  box-shadow: 0 0 28px rgba(147,197,253,.6);
  animation: float 5.5s ease-in-out infinite;
}
@keyframes float{
  0%,100%{ transform: translateY(0px); }
  50%{ transform: translateY(-22px); }
}

.scroll-cue{
  position:absolute; left:50%; bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(245,247,252,.35);
  border-radius: 20px;
  z-index:2;
}
.scroll-cue span{
  position:absolute; top:8px; left:50%;
  width:4px; height:8px; margin-left:-2px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue{
  0%{ opacity:1; transform: translateY(0); }
  70%{ opacity:0; transform: translateY(14px); }
  100%{ opacity:0; }
}

/* reveal-on-scroll */
.reveal{
  opacity:0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{ opacity:1; transform: translateY(0); }

/* ---------- sections ---------- */
.section{ position:relative; padding: 120px 0; z-index:1; }
.section--videos{ padding-top: 90px; }

.section-kicker{
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.section-title{
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.15;
}
.text-accent{
  background: linear-gradient(90deg, var(--cyan), var(--blue-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lead{
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 0 50px;
}

/* ---------- nosotros ---------- */
.mv-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 70px;
}
.mv-card{
  background: linear-gradient(160deg, var(--navy), var(--bg-alt));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.mv-card::before{
  content:"";
  position:absolute; top:-40%; right:-30%;
  width: 220px; height: 220px; border-radius:50%;
  background: radial-gradient(circle, rgba(125,211,252,.18), transparent 70%);
}
.mv-tag{
  display:inline-block;
  font-family:'Orbitron',sans-serif;
  font-size: 13px; font-weight:700; letter-spacing:2px;
  color: var(--cyan);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.mv-card p{ margin:0; color: var(--white); opacity:.88; font-size:15.5px; }

.services-heading{
  font-family:'Orbitron',sans-serif;
  font-size: 14px; font-weight:700; letter-spacing:2px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 24px;
}
.services-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.service-card{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  background: rgba(13,19,48,.5);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  border-color: rgba(125,211,252,.5);
  background: rgba(13,19,48,.85);
}
.service-num{
  font-family:'Orbitron',sans-serif;
  color: var(--blue-2); opacity:.6;
  font-size: 13px; font-weight:700;
}
.service-card h3{ margin: 10px 0 6px; font-size: 17px; font-weight:700; }
.service-card p{ margin:0; color: var(--muted); font-size: 14px; }

/* ---------- videos ---------- */
.featured-video{ margin-bottom: 46px; }
.video-frame{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #04060d;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glow);
}
.video-frame--featured{
  aspect-ratio: 16/8;
  max-height: 560px;
}
.video-poster{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  opacity: .75;
}
.video-poster--generic{
  opacity: 1;
  position:absolute; inset:0;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(145deg, hsl(var(--hue) 65% 16%), hsl(calc(var(--hue) + 25) 55% 8%));
}
.vp-orbit{
  position:absolute;
  width: 70%; aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid hsla(var(--hue), 85%, 78%, .22);
}
.vp-orbit::before{
  content:"";
  position:absolute; top:50%; left:-4px;
  width:7px; height:7px; margin-top:-3.5px;
  border-radius:50%;
  background: hsl(calc(var(--hue) + 15) 92% 78%);
  box-shadow: 0 0 10px 2px hsla(var(--hue), 90%, 70%, .75);
}
.vp-num{
  position:absolute; left:16px; bottom:14px;
  font-family:'Orbitron',sans-serif;
  font-weight:800;
  font-size: clamp(20px, 7vw, 28px);
  line-height:1;
  color: rgba(255,255,255,.95);
  letter-spacing: 1px;
  text-shadow: 0 0 22px hsla(var(--hue),90%,70%,.55);
  z-index:1;
}
.video-frame--featured .vp-num{ font-size: clamp(30px, 5vw, 44px); left:24px; bottom:22px; }
.video-frame iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0;
}
.play-btn{
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 64px; height:64px;
  border-radius: 50%;
  background: rgba(5,6,13,.55);
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  transition: transform .25s ease, background .25s ease;
  z-index: 2;
}
.play-btn svg{ width: 26px; height:26px; fill: #fff; margin-left:3px; }
.play-btn:hover{ transform: translate(-50%,-50%) scale(1.08); background: rgba(59,130,246,.55); }
.play-btn--lg{ width: 84px; height: 84px; }
.play-btn--lg svg{ width: 32px; height: 32px; }

.featured-caption{
  display:flex; align-items:center; gap:10px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .5px;
}
.pulse-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(125,211,252,.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(125,211,252,.55); }
  70%{ box-shadow: 0 0 0 10px rgba(125,211,252,0); }
  100%{ box-shadow: 0 0 0 0 rgba(125,211,252,0); }
}

.video-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.video-card{
  position:relative;
  border-radius: 14px;
  overflow:hidden;
  aspect-ratio: 9/16;
  background:#04060d;
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.video-card:hover{ transform: translateY(-4px); border-color: rgba(125,211,252,.45); }
.video-card .video-poster{ opacity:.8; }
.video-card .play-btn{ width: 48px; height:48px; }
.video-card .play-btn svg{ width:20px; height:20px; }
.video-card iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- diseños / gallery ---------- */
.filters{
  display:flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.filter-chip{
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(13,19,48,.4);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s ease;
}
.filter-chip:hover{ color: var(--white); border-color: rgba(125,211,252,.4); }
.filter-chip.active{
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #04060d;
  border-color: transparent;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
  background: var(--navy);
  cursor: pointer;
}
.gallery-item img{
  width:100%; height:100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .5s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-caption{
  position:absolute; inset:auto 0 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(4,6,13,.92), transparent);
  opacity:0; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .gallery-caption{ opacity:1; transform: translateY(0); }
.gallery-caption .tag{
  display:block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cyan); font-weight:700; margin-bottom: 4px;
}
.gallery-caption .title{ font-weight:700; font-size:15px; }
.gallery-item[data-fade="1"]{ grid-column: span 2; }
.gallery-item[data-fade="1"] img{ aspect-ratio: 16/9; }

/* ---------- contacto ---------- */
.section--contact{ text-align:center; }
.contact-inner{ display:flex; flex-direction:column; align-items:center; }
.contact-links{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 14px;
  margin-bottom: 34px;
}
.contact-pill{
  display:flex; align-items:center; gap:10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(13,19,48,.5);
  font-size: 14px; font-weight:600;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-pill:hover{ border-color: var(--cyan); transform: translateY(-2px); }
.contact-pill svg{ color: var(--cyan); }

.contact-pill--whatsapp{ border-color: rgba(37,211,102,.4); }
.contact-pill--whatsapp:hover{ border-color: #25D366; background: rgba(37,211,102,.1); }
.contact-pill--whatsapp svg{ color: #25D366; }

/* ---------- whatsapp flotante ---------- */
.whatsapp-float{
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 500;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5);
  animation: wa-pulse 2.4s infinite;
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
@keyframes wa-pulse{
  0%{ box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.45); }
  70%{ box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
  100%{ box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 640px){
  .whatsapp-float{ right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align:center;
}
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.footer-inner .brand{ margin:0; }
.footer-tagline{ font-family:'Orbitron',sans-serif; color: var(--cyan); font-size:13px; letter-spacing:1px; margin:0;}
.footer-copy{ color: var(--muted); font-size:13px; margin:0; }

/* ---------- lightbox ---------- */
.lightbox{
  position: fixed; inset:0; z-index: 1000;
  background: rgba(4,6,13,.92);
  backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  padding: 40px;
  opacity:0; pointer-events:none;
  transition: opacity .25s ease;
}
.lightbox.active{ opacity:1; pointer-events:all; }
.lightbox-inner{ max-width: 1000px; max-height: 86vh; width:100%; }
.lightbox-inner img{ width:100%; height:auto; max-height:86vh; object-fit:contain; border-radius: 12px; }
.lightbox-close{
  position:absolute; top: 24px; right: 30px;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); background: rgba(13,19,48,.6);
  color:#fff; font-size:26px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  z-index: 5;
}

/* video a pantalla completa dentro del lightbox */
.lightbox--video{ padding: 0; background: #000; }
.lightbox--video .lightbox-inner{ max-width:none; max-height:none; width:100%; height:100%; }
.video-fullscreen{
  position:relative;
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background:#000;
}
.video-fullscreen iframe{
  border:0;
  height:100%;
  width: calc(100% * 9 / 16);
  max-width: 100%;
}
@media (min-aspect-ratio: 9/16){
  .video-fullscreen iframe{ width: 100%; height: calc(100% * 16 / 9); max-height:100%; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .main-nav, .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .main-nav.open{
    display:flex; flex-direction:column;
    position: fixed; top: 66px; right: 20px; left: 20px;
    background: rgba(8,11,26,.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 22px;
    gap: 16px;
  }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .video-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery{ grid-template-columns: repeat(2,1fr); }
  .gallery-item[data-fade="1"]{ grid-column: span 2; }
}

@media (max-width: 640px){
  .mv-grid{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .video-grid{ grid-template-columns: repeat(2,1fr); }
  .gallery{ grid-template-columns: 1fr; }
  .gallery-item[data-fade="1"]{ grid-column: span 1; }
  .video-frame--featured{ aspect-ratio: 9/12; max-height: none; }
  .section{ padding: 80px 0; }
  .contact-pill{ font-size: 13px; padding: 11px 18px; }

  .hero{ padding-top: 110px; }
  .hero-planet--1{ width: 190px; height:190px; top: -30px; right: -30px; opacity:.85; }
  .hero-planet--2{ width: 56px; height:56px; right: 10%; top: auto; bottom: 96px; }
  .hero-planet--3{ width: 30px; height:30px; right: 26%; top: auto; bottom: 70px; }
  .hero-sub{ position: relative; z-index: 2; }
}
