/* ============================================================
   QUALITY SKILLS TRAINING (PTY) LTD — qstraining.co.za
   Premium rebuild · dark industrial · electric blue
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/SpaceGrotesk-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg-0: #04060b;
  --bg-1: #070b13;
  --bg-2: #0b111d;
  --bg-3: #101827;
  --panel: rgba(255, 255, 255, .03);
  --panel-strong: rgba(255, 255, 255, .055);
  --line: rgba(148, 178, 255, .10);
  --line-strong: rgba(148, 178, 255, .18);

  --blue: #0f62e2;          /* brand core (from logo) */
  --blue-bright: #3b82f6;
  --blue-light: #4d8dff;
  --blue-sky: #7cb5ff;
  --ink: #eef3fb;
  --muted: #9fadc4;
  --muted-2: #6b7a93;

  --grad-brand: linear-gradient(135deg, #0f62e2 0%, #3b82f6 45%, #4d8dff 100%);
  --grad-text: linear-gradient(100deg, #5e9bff 0%, #8fc0ff 50%, #4d8dff 100%);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --nav-h: 76px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;

  --shadow-glow: 0 0 40px rgba(15, 98, 226, .35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(15, 98, 226, .45); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Texture / atmosphere layers ---------- */
.noise::after {
  content: ''; position: fixed; inset: 0; z-index: 250; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: 220; pointer-events: none;
  background: var(--grad-brand);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 14px rgba(59, 130, 246, .8);
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor-dot, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 260;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor-dot {
    width: 7px; height: 7px; background: var(--blue-light);
    box-shadow: 0 0 12px rgba(77, 141, 255, .9);
  }
  .cursor-ring {
    width: 38px; height: 38px;
    border: 1.5px solid rgba(77, 141, 255, .45);
    transition: width .28s var(--ease-out), height .28s var(--ease-out),
                border-color .28s, background-color .28s;
  }
  .cursor-ring.is-active {
    width: 62px; height: 62px;
    border-color: rgba(124, 181, 255, .85);
    background: rgba(77, 141, 255, .08);
  }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 400;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px; background: var(--bg-0);
  transition: opacity .6s ease, visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { width: min(280px, 60vw); opacity: 0; animation: preloaderLogo 1s var(--ease-out) .1s forwards; }
@keyframes preloaderLogo {
  from { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.preloader__bar {
  width: min(280px, 60vw); height: 2px; border-radius: 2px;
  background: rgba(255, 255, 255, .08); overflow: hidden; position: relative;
}
.preloader__bar i {
  position: absolute; inset: 0; transform: scaleX(0); transform-origin: left;
  background: var(--grad-brand); border-radius: 2px;
  animation: preloaderBar 1.15s var(--ease-out) .25s forwards;
  box-shadow: 0 0 16px rgba(59, 130, 246, .9);
}
@keyframes preloaderBar { to { transform: scaleX(1); } }
.preloader__tag {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase; color: var(--muted-2);
  opacity: 0; animation: fadeIn .8s ease .55s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding: clamp(84px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 90px) 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--blue-sky);
  margin-bottom: 22px;
}
.kicker::before {
  content: ''; width: 34px; height: 1.5px;
  background: var(--grad-brand); box-shadow: 0 0 10px rgba(59, 130, 246, .8);
}
.kicker--center { justify-content: center; }
.kicker--center::after {
  content: ''; width: 34px; height: 1.5px;
  background: var(--grad-brand); box-shadow: 0 0 10px rgba(59, 130, 246, .8);
}

.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 640px; }
.section-head--center p { margin-inline: auto; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="zoom"]  { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }

.img-wipe { position: relative; overflow: hidden; }
.img-wipe::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, var(--bg-2), var(--blue));
  transform: scaleX(1); transform-origin: right;
  transition: transform 1.05s var(--ease-out) .15s;
}
.img-wipe.is-in::after { transform: scaleX(0); }
.img-wipe img { transform: scale(1.14); transition: transform 1.4s var(--ease-out) .15s; }
.img-wipe.is-in img { transform: scale(1); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  letter-spacing: .02em; padding: 16px 30px; border-radius: 14px;
  transition: transform .35s var(--ease-spring), box-shadow .35s, background-color .35s, border-color .35s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .35s var(--ease-spring); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 30px rgba(15, 98, 226, .35); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(15, 98, 226, .5); }
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost {
  color: var(--ink); border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-3px); border-color: rgba(124, 181, 255, .55);
  background: rgba(77, 141, 255, .08); box-shadow: 0 12px 34px rgba(4, 10, 22, .5);
}

.btn--sm { padding: 12px 22px; font-size: 14px; border-radius: 11px; }
.btn--lg { padding: 19px 38px; font-size: 16.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--blue-sky); transition: gap .3s var(--ease-out), color .3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover { color: #fff; gap: 13px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  transition: transform .45s var(--ease-out), background-color .45s, border-color .45s, backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 8, 14, .78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  width: min(1320px, 94vw); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 44px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative; padding: 10px 16px; border-radius: 10px;
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--muted); transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
  box-shadow: 0 0 8px rgba(59, 130, 246, .8);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: #fff; }

.nav__cta { flex: none; }

.nav__burger {
  display: none; position: relative; z-index: 320;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__burger span {
  width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease-spring), opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4, 6, 11, .96); backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: center; padding: 8vh 8vw;
  clip-path: circle(0% at calc(100% - 47px) 38px);
  visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility .7s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 47px) 38px); visibility: visible; }
.mobile-menu a.mobile-menu__link {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 9vw, 54px); line-height: 1.25; color: var(--ink);
  display: flex; align-items: baseline; gap: 16px; padding: 8px 0;
  opacity: 0; transform: translateY(26px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.mobile-menu.is-open a.mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu a.mobile-menu__link:hover, .mobile-menu a.mobile-menu__link.is-active { color: var(--blue-light); }
.mobile-menu__num {
  font-size: 13px; font-weight: 500; color: var(--blue-sky); letter-spacing: .12em;
}
.mobile-menu__foot {
  margin-top: 7vh; display: flex; flex-direction: column; gap: 8px;
  color: var(--muted); font-size: 15px;
  opacity: 0; transition: opacity .6s ease .35s;
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot a:hover { color: var(--blue-sky); }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .38; filter: saturate(.7) contrast(1.05);
  transform: scale(1.08);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.16) translate(-1.6%, -2%); }
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(15, 98, 226, .32), transparent 55%),
    linear-gradient(180deg, rgba(4, 6, 11, .82) 0%, rgba(4, 6, 11, .55) 45%, var(--bg-0) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image:
    linear-gradient(rgba(124, 181, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 181, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 65% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 40%, #000 30%, transparent 100%);
}
.hero__particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__beam {
  position: absolute; z-index: -1; pointer-events: none;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 98, 226, .28), transparent 65%);
  filter: blur(20px);
  animation: beamFloat 14s ease-in-out infinite alternate;
}
.hero__beam--1 { top: -180px; right: -140px; }
.hero__beam--2 { bottom: -260px; left: -180px; animation-delay: -7s; opacity: .7; }
@keyframes beamFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 44px) scale(1.12); }
}

.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; color: var(--muted); text-transform: uppercase;
  margin-bottom: 30px;
}
.hero__badge .pulse {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-light); flex: none;
}
.hero__badge .pulse::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid rgba(77, 141, 255, .7);
  animation: pulseRing 2s var(--ease-out) infinite;
}
@keyframes pulseRing {
  from { transform: scale(.5); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}

.hero h1 {
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.03;
  margin-bottom: 26px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: inline-block; transform: translateY(115%);
  animation: lineUp 1.1s var(--ease-out) forwards;
  animation-delay: var(--ld, .2s);
}
@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  max-width: 560px; color: var(--muted); font-size: clamp(16.5px, 1.4vw, 18.5px);
  margin-bottom: 40px;
  opacity: 0; animation: subUp 1s var(--ease-out) .75s forwards;
}
@keyframes subUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 58px;
  opacity: 0; animation: subUp 1s var(--ease-out) .9s forwards;
}

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 56px);
  opacity: 0; animation: subUp 1s var(--ease-out) 1.05s forwards;
}
.hero__stat { position: relative; }
.hero__stat + .hero__stat::before {
  content: ''; position: absolute; left: calc(-1 * clamp(13px, 2vw, 28px)); top: 12%;
  height: 76%; width: 1px; background: var(--line-strong);
}
.hero__stat b {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px);
  font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1;
}
.hero__stat b em { font-style: normal; color: var(--blue-light); }
.hero__stat span {
  display: block; margin-top: 7px; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); font-weight: 500;
}

/* Hero visual card */
.hero__visual { position: relative; opacity: 0; animation: heroVis 1.2s var(--ease-out) .6s forwards; }
@keyframes heroVis {
  from { opacity: 0; transform: translateY(40px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px rgba(2, 6, 16, .7), 0 0 0 1px rgba(15, 98, 226, .12);
  transform-style: preserve-3d;
}
.hero__frame img { width: 100%; height: 480px; object-fit: cover; }
.hero__frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(15, 98, 226, .18), transparent 45%, rgba(4, 6, 11, .55));
}
.hero__frame::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .14) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: frameShine 5.5s ease-in-out 2s infinite;
}
@keyframes frameShine {
  0% { transform: translateX(-130%); }
  32%, 100% { transform: translateX(130%); }
}

.float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(9, 13, 22, .82); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px rgba(2, 6, 16, .6);
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  animation: chipFloat 6s ease-in-out infinite;
}
.float-chip small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.float-chip .chip-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--grad-brand); box-shadow: var(--shadow-glow);
}
.float-chip .chip-ico svg { width: 20px; height: 20px; }
.float-chip--1 { top: 26px; left: -34px; }
.float-chip--2 { bottom: 34px; right: -26px; animation-delay: -3s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2);
  opacity: 0; animation: fadeIn 1s ease 1.6s forwards;
}
.hero__scroll i {
  width: 1.5px; height: 44px; border-radius: 2px; overflow: hidden; position: relative;
  background: rgba(255, 255, 255, .1);
}
.hero__scroll i::after {
  content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--grad-brand);
  animation: scrollDrop 1.8s var(--ease-out) infinite;
}
@keyframes scrollDrop {
  from { top: -50%; } to { top: 110%; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .float-chip--1 { left: -10px; }
  .float-chip--2 { right: -8px; }
}
@media (max-width: 560px) {
  .hero__frame img { height: 340px; }
  .float-chip { padding: 11px 15px; font-size: 12.5px; }
  .float-chip .chip-ico { width: 34px; height: 34px; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  --marquee-speed: 30s;
  position: relative; overflow: hidden; padding: 26px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 98, 226, .05), rgba(15, 98, 226, .015));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 0; width: max-content;
  animation: marqueeMove var(--marquee-speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(17px, 2.1vw, 24px); letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap; color: var(--ink);
}
.marquee__item.is-ghost {
  color: transparent; -webkit-text-stroke: 1px rgba(124, 181, 255, .5);
}
.marquee__item svg { width: 15px; height: 15px; color: var(--blue-light); flex: none; }

/* ---------- Cards / glass ---------- */
.card {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-strong), var(--panel));
  padding: 38px 34px;
  transition: transform .5s var(--ease-out), border-color .5s, box-shadow .5s;
  overflow: hidden;
}
.card::before {  /* mouse-follow glow */
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, .13), transparent 65%);
  transition: opacity .5s;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 181, 255, .35);
  box-shadow: 0 30px 70px rgba(2, 6, 16, .65), 0 0 0 1px rgba(15, 98, 226, .1);
}
.card > * { position: relative; z-index: 1; }

/* blueprint corner ticks */
.card--ticks::after {
  content: ''; position: absolute; inset: 12px; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--blue-sky), var(--blue-sky)) top left / 14px 1.5px,
    linear-gradient(var(--blue-sky), var(--blue-sky)) top left / 1.5px 14px,
    linear-gradient(var(--blue-sky), var(--blue-sky)) top right / 14px 1.5px,
    linear-gradient(var(--blue-sky), var(--blue-sky)) top right / 1.5px 14px,
    linear-gradient(var(--blue-sky), var(--blue-sky)) bottom left / 14px 1.5px,
    linear-gradient(var(--blue-sky), var(--blue-sky)) bottom left / 1.5px 14px,
    linear-gradient(var(--blue-sky), var(--blue-sky)) bottom right / 14px 1.5px,
    linear-gradient(var(--blue-sky), var(--blue-sky)) bottom right / 1.5px 14px;
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.03);
  transition: opacity .5s, transform .5s var(--ease-out);
}
.card--ticks:hover::after { opacity: .55; transform: scale(1); }

.card__icon {
  width: 62px; height: 62px; border-radius: 17px;
  display: grid; place-items: center; margin-bottom: 26px;
  background: var(--grad-brand);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .5s var(--ease-spring);
}
.card__icon svg { width: 29px; height: 29px; color: #fff; }
.card:hover .card__icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }

.card h3 { font-size: 23px; margin-bottom: 13px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* tilt (JS-driven) */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-tilt] .tilt-inner { transform: translateZ(34px); }

/* ---------- Course showcase cards ---------- */
.course-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform .55s var(--ease-out), border-color .55s, box-shadow .55s;
}
.course-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 181, 255, .4);
  box-shadow: 0 34px 80px rgba(2, 6, 16, .7);
}
.course-card__media { position: relative; height: 230px; overflow: hidden; }
.course-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out); filter: saturate(.85);
}
.course-card:hover .course-card__media img { transform: scale(1.09); }
.course-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 98, 226, .12), transparent 40%, rgba(11, 17, 29, .95));
}
.course-card__num {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: rgba(255, 255, 255, .85); letter-spacing: .1em;
  padding: 7px 13px; border-radius: 9px;
  background: rgba(5, 8, 14, .55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
}
.course-card__body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.course-card__body h3 { font-size: 21.5px; margin-bottom: 12px; }
.course-card__body p { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 22px; }
.course-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.tag {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  color: var(--blue-sky); border: 1px solid rgba(77, 141, 255, .35);
  background: rgba(15, 98, 226, .1);
}

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 90px); align-items: center; }
.split--flip .split__media { order: 2; }
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

.split__media { position: relative; }
.split__media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 34px 80px rgba(2, 6, 16, .65);
}
.split__media .frame img { width: 100%; height: clamp(340px, 40vw, 520px); object-fit: cover; }
.split__media .frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(15, 98, 226, .16), transparent 50%, rgba(4, 6, 11, .4));
}
.split__media::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(77, 141, 255, .28);
}

.badge-exp {
  position: absolute; left: -26px; bottom: 34px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 148px; height: 148px; border-radius: 50%; text-align: center;
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 24px 60px rgba(15, 98, 226, .5);
  animation: chipFloat 7s ease-in-out infinite;
}
.badge-exp b { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.badge-exp span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-top: 5px; }
.badge-exp::before {
  content: ''; position: absolute; inset: 7px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .5);
  animation: spinSlow 22s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@media (max-width: 560px) {
  .badge-exp { width: 118px; height: 118px; left: -8px; }
  .badge-exp b { font-size: 30px; }
}

.checklist { display: flex; flex-direction: column; gap: 15px; margin: 28px 0 36px; }
.checklist li {
  display: flex; gap: 15px; align-items: flex-start;
  color: var(--muted); font-size: 16px;
}
.checklist li b { color: var(--ink); font-weight: 600; }
.checklist .tick {
  flex: none; width: 25px; height: 25px; margin-top: 2px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(15, 98, 226, .16); border: 1px solid rgba(77, 141, 255, .4);
  color: var(--blue-sky);
}
.checklist .tick svg { width: 13px; height: 13px; }

/* ---------- Values ---------- */
.value-card { text-align: left; }
.value-card__num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--blue-light); letter-spacing: .12em; margin-bottom: 18px; display: block;
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 30px; justify-content: center; }
@media (max-width: 780px) { .team-grid { grid-template-columns: minmax(0, 420px); } }
.team-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .5s var(--ease-out), border-color .5s, box-shadow .5s;
}
.team-card:hover {
  transform: translateY(-9px); border-color: rgba(124, 181, 255, .4);
  box-shadow: 0 32px 74px rgba(2, 6, 16, .7);
}
.team-card__photo { position: relative; overflow: hidden; aspect-ratio: 1 / .92; }
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(.9);
  transition: transform 1s var(--ease-out);
}
.team-card:hover .team-card__photo img { transform: scale(1.07); }
.team-card__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 98, 226, .1), transparent 45%, rgba(11, 17, 29, .96));
}
.team-card__info { position: relative; margin-top: -58px; padding: 0 28px 30px; z-index: 2; }
.team-card__info h3 { font-size: 24px; }
.team-card__info p { color: var(--blue-sky); font-family: var(--font-display); font-weight: 500; font-size: 14.5px; letter-spacing: .04em; margin-top: 6px; }

/* ---------- Stats band ---------- */
.stats-band {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background:
    radial-gradient(90% 140% at 15% 0%, rgba(15, 98, 226, .22), transparent 55%),
    linear-gradient(160deg, var(--bg-3), var(--bg-1));
  padding: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  position: relative; overflow: hidden;
}
.stats-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 181, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 181, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 90% at 70% 20%, #000, transparent);
  -webkit-mask-image: radial-gradient(80% 90% at 70% 20%, #000, transparent);
}
@media (max-width: 720px) { .stats-band { grid-template-columns: 1fr; } }
.stat-block { position: relative; z-index: 1; }
.stat-block b {
  display: flex; align-items: baseline;
  font-family: var(--font-display); font-size: clamp(44px, 5vw, 62px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff;
}
.stat-block b em { font-style: normal; color: var(--blue-light); }
.stat-block span {
  display: block; margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 260px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: 30px; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) clamp(28px, 6vw, 90px);
  text-align: center;
  border: 1px solid rgba(124, 181, 255, .25);
  background:
    radial-gradient(90% 160% at 50% -20%, rgba(59, 130, 246, .4), transparent 60%),
    linear-gradient(160deg, #0a1526, #060a13);
  isolation: isolate;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    linear-gradient(rgba(124, 181, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 181, 255, .07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent);
}
.cta-band::after {
  content: ''; position: absolute; left: 50%; top: -220px; z-index: -1;
  width: 560px; height: 560px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(15, 98, 226, .45), transparent 65%);
  filter: blur(30px);
  animation: ctaPulse 6s ease-in-out infinite alternate;
}
@keyframes ctaPulse {
  from { opacity: .7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.cta-band h2 { font-size: clamp(30px, 4.6vw, 52px); max-width: 760px; margin-inline: auto; }
.cta-band p { color: var(--muted); max-width: 620px; margin: 20px auto 40px; font-size: 17px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(70px, 9vw, 120px)) 0 clamp(64px, 8vw, 100px);
  background: var(--bg-1);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 120% at 85% -10%, rgba(15, 98, 226, .25), transparent 55%),
    radial-gradient(50% 90% at 5% 110%, rgba(15, 98, 226, .12), transparent 60%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; opacity: .55;
  background-image:
    linear-gradient(rgba(124, 181, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 181, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(80% 80% at 50% 20%, #000 30%, transparent);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 20%, #000 30%, transparent);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -.025em; margin-bottom: 22px; }
.page-hero p { color: var(--muted); font-size: clamp(16.5px, 1.5vw, 18.5px); max-width: 640px; }
.crumbs {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2);
}
.crumbs a { color: var(--blue-sky); transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 12px; height: 12px; }

/* ---------- Program detail rows (courses page) ---------- */
.program { padding: clamp(60px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.program:first-of-type { border-top: 0; }
.program__label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .22em; color: var(--blue-light); text-transform: uppercase;
  margin-bottom: 16px;
}
.program h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 16px; }
.program__intro { color: var(--muted); font-size: 16.5px; max-width: 560px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-strong), var(--panel));
  overflow: hidden; transition: border-color .4s, box-shadow .4s;
}
.faq-item.is-open { border-color: rgba(124, 181, 255, .4); box-shadow: 0 18px 44px rgba(2, 6, 16, .45); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left; padding: 24px 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 17.5px; color: var(--ink);
  transition: color .3s;
}
.faq-item__q:hover { color: var(--blue-sky); }
.faq-item__icon {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
  transition: transform .45s var(--ease-spring), background-color .45s, border-color .45s;
}
.faq-item__icon svg { width: 15px; height: 15px; transition: transform .45s var(--ease-spring); }
.faq-item.is-open .faq-item__icon { background: var(--grad-brand); border-color: transparent; transform: rotate(180deg); }
.faq-item.is-open .faq-item__icon svg { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .6s var(--ease-out);
}
.faq-item__a-inner { padding: 0 28px 28px; color: var(--muted); font-size: 15.5px; }
.faq-item__a-inner p + p { margin-top: 12px; }
.faq-item__a-inner strong { color: var(--ink); }
.faq-item__a-inner ul { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.faq-item__a-inner ul li { padding-left: 22px; position: relative; }
.faq-item__a-inner ul li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad-brand); transform: rotate(45deg);
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 26px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-strong), var(--panel));
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.contact-card:hover {
  transform: translateX(8px); border-color: rgba(124, 181, 255, .4);
  box-shadow: 0 20px 50px rgba(2, 6, 16, .5);
}
.contact-card__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-brand); box-shadow: var(--shadow-glow);
}
.contact-card__icon svg { width: 24px; height: 24px; color: #fff; }
.contact-card h3 { font-size: 17px; margin-bottom: 5px; }
.contact-card p, .contact-card a.value { color: var(--muted); font-size: 15px; }
.contact-card a.value { display: block; transition: color .3s; word-break: break-word; }
.contact-card a.value:hover { color: var(--blue-sky); }
.contact-card a.value b { color: var(--ink); font-weight: 600; }

/* form */
.form-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(15, 98, 226, .14), transparent 55%),
    linear-gradient(160deg, var(--bg-3), var(--bg-1));
  padding: clamp(30px, 4vw, 48px);
  position: relative; overflow: hidden;
}
.form-panel h3 { font-size: 26px; margin-bottom: 8px; }
.form-panel > p { color: var(--muted); font-size: 15.5px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field { position: relative; }
.field label {
  display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 17px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 6, 11, .55); color: var(--ink);
  font: inherit; font-size: 15.5px;
  transition: border-color .35s, box-shadow .35s, background-color .35s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239fadc4' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 17px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(15, 98, 226, .18);
  background: rgba(4, 6, 11, .8);
}
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--muted-2); }
.form-note a { color: var(--blue-sky); }

/* map card */
.map-card {
  margin-top: 18px; position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(80% 130% at 80% 0%, rgba(15, 98, 226, .18), transparent 60%),
    var(--bg-2);
  padding: 26px; display: flex; align-items: center; gap: 20px;
  transition: transform .45s var(--ease-out), border-color .45s;
}
.map-card:hover { transform: translateX(8px); border-color: rgba(124, 181, 255, .45); }
.map-card::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(124, 181, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 181, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000);
}

/* ---------- Footer ---------- */
.footer {
  position: relative; margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-1), #030509);
  overflow: hidden;
}
.footer::before {  /* hazard accent line */
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 3px;
  background: repeating-linear-gradient(115deg,
    var(--blue) 0 22px, transparent 22px 40px);
  opacity: .8;
}
.footer__watermark {
  position: absolute; left: 50%; bottom: -4vw; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(120px, 22vw, 320px); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(124, 181, 255, .07);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.footer__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(34px, 4vw, 60px);
  padding: clamp(60px, 7vw, 90px) 0 50px;
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 300px; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
  color: var(--muted);
  transition: transform .4s var(--ease-spring), background-color .4s, color .4s, border-color .4s, box-shadow .4s;
}
.footer__social a:hover {
  transform: translateY(-5px); color: #fff;
  background: var(--grad-brand); border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.footer__social svg { width: 19px; height: 19px; }

.footer h4 {
  font-size: 13.5px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue-sky); margin-bottom: 22px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 13px; }
.footer__col a, .footer__col li {
  color: var(--muted); font-size: 15px;
  transition: color .3s, padding-left .3s var(--ease-out);
}
.footer__col ul a:hover { color: #fff; padding-left: 7px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--blue-light); flex: none; margin-top: 4px; }
.footer__contact a:hover { color: var(--blue-sky); }

.footer__bar {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 26px 0; display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  color: var(--muted-2); font-size: 13.5px;
}
.footer__bar a { color: var(--muted); transition: color .3s; }
.footer__bar a:hover { color: var(--blue-sky); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 180;
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 14px 38px rgba(15, 98, 226, .45);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease-spring), box-shadow .4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15, 98, 226, .6); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; left: 26px; bottom: 26px; z-index: 180;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 15px; border-radius: 999px;
  background: rgba(9, 13, 22, .85); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  box-shadow: 0 16px 40px rgba(2, 6, 16, .6);
  transition: transform .4s var(--ease-spring), border-color .4s, box-shadow .4s;
}
.wa-float:hover { transform: translateY(-4px); border-color: rgba(37, 211, 102, .6); box-shadow: 0 20px 50px rgba(2, 6, 16, .7); }
.wa-float svg { width: 22px; height: 22px; color: #25d366; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 13px 15px; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal], .img-wipe::after { opacity: 1 !important; transform: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
