/* ============================================================================
   NASTEC — Atmospheric Water Generators
   Core design system: deep-water cinematic theme, azure/cyan accents.
   ========================================================================== */

:root {
  /* ── Surfaces (deep water) ── */
  --bg-navy:   #071a30;
  --bg-deep:   #04101f;
  --bg-black:  #020a14;

  /* ── Type ── */
  --white:  #eaf2fb;
  --muted:  rgba(234, 242, 251, 0.62);
  --faint:  rgba(234, 242, 251, 0.40);

  /* ── Water accents ── */
  --silver:       #b7c6d8;
  --silver-line:  rgba(183, 198, 216, 0.16);
  --blue:         #1b83e6;   /* primary azure */
  --blue-soft:    #45a0f2;
  --blue-deep:    #0a5cc2;
  --cyan:         #34d3e8;   /* water highlight */
  --cyan-soft:    #6fe4f2;

  /* alias so accent-based rules read naturally */
  --accent:       var(--blue);
  --accent-soft:  var(--blue-soft);
  --accent-deep:  var(--blue-deep);

  /* ── Glass ── */
  --glass-bg:     rgba(9, 26, 46, 0.46);
  --glass-border: rgba(120, 180, 240, 0.14);
  --glass-shadow: 0 24px 70px rgba(1, 8, 20, 0.6);

  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-io: cubic-bezier(0.16, 1, 0.3, 1);
  --font:      'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;

  --gutter: 7vw;
  --maxw:   1240px;
}

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

/* overflow-x lives on <html> so the viewport (not <body>) stays the scroll
   container — otherwise body becomes the scroller and window scroll events /
   window.scrollY stop working, silently breaking reveals, counters & nav.
   The dark background prevents a white flash during page-transition fades. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; background: #04101f; }

/* ── Page transitions (multi-page). The page is always visible by default; the
   ENTER motion is transform-only (content can never be hidden, even if the tab
   is backgrounded and the animation is paused), and only LEAVING fades out —
   which always happens while the tab is focused. ── */
body { opacity: 1; transition: opacity 0.28s var(--ease); }
body.is-leaving { opacity: 0; }
#content, .page-hero, #hero { animation: pageIn 0.55s var(--ease) both; }
@keyframes pageIn { from { transform: translateY(16px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  body { transition: none; }
  #content, .page-hero, #hero { animation: none; }
}

body {
  font-family: var(--font);
  color: var(--white);
  background:
    radial-gradient(135% 120% at 74% -8%, #0d2f56 0%, #071d36 40%, #04101f 72%, #020a14 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

/* ============================================================================
   Cinematic hero stage: WebGL canvas + overlays
   ========================================================================== */
#stage {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: #04101f;
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* hidden decoding videos (used as textures) */
.is-offscreen {
  position: fixed; top: 0; left: 0;
  width: 2px; height: 2px; opacity: 0;
  pointer-events: none; z-index: -1;
}
/* fallback: show the video element itself if WebGL is unavailable */
.is-fallback {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: 1;
}

/* Grounding gradient — legibility on the left + water-blue falloff + vignette */
#vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,12,24,0.9) 0%, rgba(3,12,24,0.5) 32%, rgba(3,12,24,0) 62%),
    linear-gradient(180deg, rgba(3,12,24,0.72) 0%, rgba(3,12,24,0) 18%, rgba(3,12,24,0) 64%, rgba(3,12,24,0.94) 100%),
    radial-gradient(125% 95% at 52% 46%, rgba(2,10,20,0) 50%, rgba(2,10,20,0.55) 100%);
}
/* faint blue caustic tint over the footage */
#tint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  mix-blend-mode: soft-light; opacity: 0.5;
  background: linear-gradient(120deg, rgba(27,131,230,0.35), rgba(52,211,232,0.18) 60%, transparent);
}
#grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem;
  background: radial-gradient(120% 120% at 50% 40%, #0a2748 0%, #04101f 68%, #020a14 100%);
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { animation: floaty 3s ease-in-out infinite; }
.preloader__bar {
  width: 150px; height: 2px; border-radius: 2px;
  background: rgba(120,180,240,0.14); overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  animation: loadSlide 1.3s var(--ease) infinite;
}
.preloader__text {
  font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--faint);
}
@keyframes loadSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(380%); } }
@keyframes floaty { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }

/* ============================================================================
   Brand mark (water drop / layered lattice)
   ========================================================================== */
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark { flex: none; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6)); transition: filter 0.3s var(--ease); }
.brand:hover .brand__mark { filter: drop-shadow(0 2px 16px rgba(52,211,232,0.45)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  color: #fff; font-weight: 700; font-size: 1.12rem; letter-spacing: 0.18em;
}
.brand__tag {
  color: rgba(234,242,251,0.5); font-weight: 500; font-size: 0.54rem;
  letter-spacing: 0.34em; margin-top: 0.36rem; text-transform: uppercase;
}

/* ============================================================================
   Top navigation
   ========================================================================== */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem var(--gutter);
  background: linear-gradient(180deg, rgba(3,12,24,0.85) 0%, rgba(3,12,24,0.32) 58%, transparent 100%);
  transition: padding 0.45s var(--ease), background 0.45s var(--ease),
              backdrop-filter 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.45s var(--ease);
}
#topbar.is-scrolled {
  padding-top: 0.8rem; padding-bottom: 0.8rem;
  background: rgba(4,14,26,0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(120,180,240,0.1);
  box-shadow: 0 2px 26px rgba(0,0,0,0.4);
}

.nav { display: flex; align-items: center; gap: 0.1rem; position: relative; }
.nav__link {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--font); color: rgba(234,242,251,0.66);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem; border-radius: 8px; position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  text-decoration: none;
}
.nav__link:hover { color: var(--white); background: rgba(120,180,240,0.08); }
.nav__link::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 4px;
  height: 1.5px; border-radius: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 8px rgba(52,211,232,0.5);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after { transform: scaleX(0.65); opacity: 0.8; }
.nav__link.is-active { color: var(--white); }
.nav__link.is-active::after { transform: scaleX(1); opacity: 1; }

/* Language switch */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  margin-left: 0.9rem; padding: 3px;
  border: 1px solid rgba(120,180,240,0.18); border-radius: 999px;
  background: rgba(120,180,240,0.05);
}
.lang-switch__btn {
  appearance: none; border: 0; cursor: pointer; background: none;
  font-family: var(--font); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--faint); padding: 0.3rem 0.6rem; border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-switch__btn.is-active { color: #fff; background: var(--blue); box-shadow: 0 4px 14px rgba(27,131,230,0.4); }
.lang-switch__btn:not(.is-active):hover { color: var(--white); }

/* CTA pill */
.nav__cta {
  margin-left: 0.9rem; text-decoration: none; cursor: pointer;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; padding: 0.6rem 1.3rem; border-radius: 999px;
  border: 1px solid rgba(52,211,232,0.5);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,92,194,0.32);
  transition: all 0.3s var(--ease);
}
.nav__cta::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.nav__cta span { position: relative; z-index: 1; }
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(27,131,230,0.5);
}
.nav__cta:hover::before { opacity: 1; }

.nav__hamburger {
  display: none;
  appearance: none; background: rgba(120,180,240,0.06); border: 1px solid rgba(120,180,240,0.14); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 4px;
  margin-left: 0.6rem; border-radius: 10px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__hamburger:hover { background: rgba(120,180,240,0.12); }
.nav__hamburger span {
  display: block; width: 20px; height: 1.6px; background: var(--white); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============================================================================
   Hero
   ========================================================================== */
#hero {
  position: relative; z-index: 20;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 var(--gutter);
}
.hero__inner { max-width: 680px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border: 1px solid rgba(52,211,232,0.25); border-radius: 999px;
  background: rgba(52,211,232,0.06);
  backdrop-filter: blur(6px);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero__title {
  font-family: var(--font-head);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  text-shadow: 0 8px 44px rgba(0,0,0,0.5);
}
.hero__title .line { display: block; }
.hero__title .line--accent {
  background: linear-gradient(100deg, #eaf2fb 0%, var(--cyan-soft) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero__sub {
  margin-top: 1.6rem; max-width: 500px;
  font-size: clamp(0.98rem, 1.5vw, 1.16rem); font-weight: 300; line-height: 1.68;
  color: var(--muted);
}
.hero__actions { margin-top: 2.3rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* hero quick stats */
.hero__meta {
  margin-top: 2.6rem; display: flex; gap: 2.2rem; flex-wrap: wrap;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero__meta-num {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
  color: #fff;
}
.hero__meta-num b { color: var(--cyan); }
.hero__meta-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ── Scroll indicator ── */
#scroll-indicator {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 21;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  pointer-events: none; transition: opacity 0.6s var(--ease);
}
.mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.5); position: relative; }
.mouse__wheel {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--cyan);
  animation: wheel 1.8s var(--ease) infinite;
}
.scroll-indicator__label { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* video playlist dots (which of the 4 clips is showing) */
.hero__clips {
  position: absolute; right: var(--gutter); bottom: 2.4rem; z-index: 21;
  display: flex; gap: 0.5rem;
}
.hero__clip-dot {
  width: 26px; height: 3px; border-radius: 2px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.22); overflow: hidden; position: relative;
  transition: background 0.3s var(--ease);
}
.hero__clip-dot span {
  position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
}
.hero__clip-dot.is-active span { width: var(--clip-progress, 0%); }

/* ============================================================================
   Buttons
   ========================================================================== */
.btn {
  cursor: pointer;
  font-family: var(--font); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--primary {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff; box-shadow: 0 12px 32px rgba(27,131,230,0.32);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(27,131,230,0.5);
  background: linear-gradient(120deg, var(--blue), var(--cyan));
}
.btn--ghost {
  background: rgba(120,180,240,0.05); color: var(--white);
  border-color: var(--silver-line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ============================================================================
   Glass utility
   ========================================================================== */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

/* ============================================================================
   Content shell — sections sit above the fixed stage on an opaque backdrop
   ========================================================================== */
/* Hero is in normal flow (100svh tall) with the WebGL stage fixed behind it;
   content follows directly and scrolls up over the stage. No extra offset. */
#content {
  position: relative; z-index: 10;
  background: #04101f;
}
.section { padding: clamp(4.5rem, 9vw, 8rem) var(--gutter); position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section--tight { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08;
  color: var(--white);
}
.section-title .grad {
  background: linear-gradient(100deg, var(--cyan-soft), var(--blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.section-intro {
  margin-top: 1.2rem; font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 300; line-height: 1.7; color: var(--muted); max-width: 620px;
}
.section-head--center .section-intro { margin-left: auto; margin-right: auto; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-io), transform 0.8s var(--ease-io); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="left"].is-visible, [data-reveal="right"].is-visible { transform: none; }

/* ============================================================================
   Custom cursor (desktop pointer only)
   ========================================================================== */
#cursor-ring, #cursor-dot { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
#cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,0.6);
  transform: translate(-50%, -50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}
#cursor-dot { width: 5px; height: 5px; background: #fff; transform: translate(-50%, -50%); }
#cursor-ring.is-hover { width: 52px; height: 52px; background: rgba(255,255,255,0.08); }
@media (pointer: coarse) { #cursor-ring, #cursor-dot { display: none; } }

/* ============================================================================
   Floating CTA (WhatsApp + call)
   ========================================================================== */
.floating-cta {
  position: fixed; right: 1.4rem; bottom: 1.8rem; z-index: 80;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.55rem;
  pointer-events: none;
}
.floating-cta__trigger, .floating-cta__menu { pointer-events: auto; }
.floating-cta__trigger {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(27,131,230,0.45);
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}
.floating-cta__trigger:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(52,211,232,0.5); }
.floating-cta__trigger.is-open { transform: rotate(135deg); }
.floating-cta__menu {
  display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.95);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease);
}
.floating-cta__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.floating-cta__item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.58rem 1.1rem; border-radius: 999px;
  font-family: var(--font); font-size: 0.82rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.floating-cta__item:hover { transform: translateX(-3px); }
.floating-cta__item--whatsapp { background: rgba(37,211,102,0.16); color: #4cdf80; border-color: rgba(37,211,102,0.28); }
.floating-cta__item--call { background: rgba(27,131,230,0.16); color: var(--blue-soft); border-color: rgba(27,131,230,0.3); }

/* ============================================================================
   Mobile nav overlay
   ========================================================================== */
#mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,12,24,0.97);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
#mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav__close {
  position: fixed; top: 1rem; right: 1rem; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  appearance: none; cursor: pointer; color: var(--white);
  background: rgba(120,180,240,0.08); border: 1px solid rgba(120,180,240,0.16);
  transition: background .3s var(--ease), transform .45s var(--ease);
}
.mobile-nav__close:hover { background: rgba(52,211,232,0.16); transform: rotate(90deg); }
.mobile-nav__inner { display: flex; flex-direction: column; width: 100%; margin: auto 0; padding: 5rem 8vw 4rem; }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__link {
  display: block; width: 100%;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.25;
  color: rgba(234,242,251,0.36); text-decoration: none; background: none; border: 0; cursor: pointer;
  text-align: left; padding: 0.55rem 0; border-bottom: 1px solid rgba(120,180,240,0.08);
  opacity: 0; transform: translateX(-28px);
  transition: color 0.3s var(--ease), opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mobile-nav__link.is-visible { opacity: 1; transform: translateX(0); }
.mobile-nav__link:hover { color: var(--cyan); }
.mobile-nav__footer { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.mobile-nav__footer a { font-size: 0.86rem; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.mobile-nav__footer a:hover { color: var(--white); }
.mobile-nav__lang { display: flex; gap: 0.5rem; margin-top: 1.4rem; }

/* ============================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed; bottom: -200px; left: 50%; transform: translateX(-50%);
  z-index: 300; width: min(600px, calc(100vw - 2.4rem));
  border-radius: 16px; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  opacity: 0; transition: bottom 0.55s var(--ease), opacity 0.55s var(--ease);
}
.cookie-banner.is-visible { bottom: 1.4rem; opacity: 1; }
.cookie-banner__body { display: flex; align-items: flex-start; gap: 0.75rem; flex: 1; min-width: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.cookie-banner__body i { color: var(--cyan); flex: none; margin-top: 1px; }
.cookie-banner__body a { color: var(--cyan); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn { appearance: none; border-radius: 999px; cursor: pointer; font-family: var(--font); font-size: 0.78rem; font-weight: 600; padding: 0.5rem 1.15rem; transition: all 0.3s var(--ease); }
.cookie-btn--reject { background: none; border: 1px solid var(--silver-line); color: var(--muted); }
.cookie-btn--reject:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }
.cookie-btn--accept { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); border: 1px solid var(--blue); color: #fff; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  :root { --gutter: 5.5vw; }
}
@media (max-width: 820px) {
  .nav__link, .lang-switch { display: none; }
  .nav__hamburger { display: flex; }
  .nav__cta { display: none; }
}
@media (max-width: 680px) {
  :root { --gutter: 5vw; }
  #topbar { padding: 0.9rem 5vw; }
  .hero__meta { gap: 1.4rem; }
  .hero__meta-num { font-size: 1.25rem; }
  .hero__clips { display: none; }
  .floating-cta { right: 1rem; bottom: 1.2rem; }
  .cookie-banner { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mouse__wheel, .preloader__bar span, .preloader__mark, .hero__eyebrow .dot { animation: none; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
