/* ==========================================================
   SkillPro — Liquid Glass theme
   ========================================================== */
:root {
  --bg: #06122b;
  --bg-2: #0a1d40;
  --blue: #0058e6;
  --blue-2: #2f8bff;
  --cyan: #46d5ff;
  --teal: #1fc8d6;
  --gold: #f2b544;
  --gold-2: #ffcf6e;
  --text: #f3f7ff;
  --muted: #a9b8d6;
  --muted-2: #7c8aa8;

  --glass-line: rgba(255, 255, 255, .16);
  --glass-hi: rgba(255, 255, 255, .45);
  --shadow: 0 20px 60px rgba(0, 8, 30, .45);

  --r: 22px;
  --r-lg: 30px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;

  --f-head: "Montserrat", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #1a1200; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

.ic { width: 22px; height: 22px; flex: none; }
.ic--s { width: 16px; height: 16px; }
.ic--l { width: 30px; height: 30px; }
.ic--xl { width: 46px; height: 46px; }

/* ---------- Ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, #0d2a5c 0%, var(--bg) 55%); }
.aurora__drift { position: absolute; inset: 0 0 -40%; will-change: transform; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.b1 { width: 70vw; height: 70vw; left: -25vw; top: 20vh; background: radial-gradient(closest-side, rgba(0, 88, 230, .42), rgba(0, 88, 230, 0)); animation: drift 22s ease-in-out infinite alternate; }
.b2 { width: 60vw; height: 60vw; right: -20vw; top: 45vh; background: radial-gradient(closest-side, rgba(19, 169, 196, .26), rgba(19, 169, 196, 0)); animation: drift 26s ease-in-out infinite alternate-reverse; }
.b3 { width: 50vw; height: 50vw; left: 30vw; top: 75vh; background: radial-gradient(closest-side, rgba(201, 138, 34, .16), rgba(201, 138, 34, 0)); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(6vw, -8vh, 0) scale(1.15); } }
.girih { position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M60 0l17 43 43 17-43 17-17 43-17-43L0 60l43-17z'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3Cpath d='M0 0l43 43M120 0L77 43M0 120l43-43M120 120L77 77'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  background:
    radial-gradient(260px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .11), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03) 60%);
  background-color: rgba(12, 30, 66, .55);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .04), var(--shadow);
}
/* Real backdrop blur only where it is visible and cheap: fixed / floating UI */
.nav, .lang__btn, .lang__list, .header__phone, .burger, .chip, .badge, .hero .btn--glass,
.modal__panel, .modal__close, .map__card, .frame__badge, .fab__btn {
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  background-color: rgba(12, 30, 66, .35);
}
.chip { -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
/* specular rim: brighter top-left edge, cyan bottom-right */
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--glass-hi), rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, 0) 60%, rgba(70, 213, 255, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--gold { color: #241600;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #dc9a26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 30px rgba(242, 181, 68, .35); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 40px rgba(242, 181, 68, .5); }
.btn--glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--ghost { height: 46px; width: 100%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: padding .4s var(--ease), background .4s; }
.header.is-scrolled { padding: 10px 0; background: linear-gradient(to bottom, rgba(6, 18, 43, .9), rgba(6, 18, 43, 0)); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15), 0 6px 18px rgba(0, 88, 230, .45); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text b { font-family: var(--f-head); font-size: 22px; letter-spacing: -.02em; }
.brand__text small { font-size: 10px; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; padding: 6px; border-radius: 999px; }
.nav a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s, background .3s; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { height: 46px; padding: 0 22px; font-size: 14px; }

.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; border-radius: 16px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease); background-color: rgba(10, 26, 58, .9); }
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.lang__list a:hover, .lang__list a[aria-current="true"] { background: rgba(255, 255, 255, .1); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; align-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .35s var(--ease); }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mmenu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px 28px 40px;
  background: rgba(6, 18, 43, .78); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu__nav a { font-family: var(--f-head); font-size: 32px; font-weight: 700; padding: 6px 0; opacity: 0; transform: translateY(20px); transition: .5s var(--ease); }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .05s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .1s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .15s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .2s; }
.mmenu__foot { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- Common type ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; margin-bottom: 18px; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(100deg, var(--blue-2) 0%, var(--cyan) 55%, #9ef0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 110px; overflow: hidden; }
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.layer { will-change: transform; }
.hero__bg { position: absolute; inset: -4%; }
.hero__bg img, .hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 70% 60%; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(4, 12, 32, .22), rgba(4, 12, 32, .22)),
    linear-gradient(90deg, rgba(6, 18, 43, .97) 0%, rgba(6, 18, 43, .86) 30%, rgba(6, 18, 43, .25) 58%, rgba(6, 18, 43, .08) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 43, 0) 28%),
    linear-gradient(180deg, rgba(6, 18, 43, .7) 0%, rgba(6, 18, 43, 0) 22%); }

.hero__plane { position: absolute; right: 6%; top: 13%; width: min(34vw, 440px); color: #fff; pointer-events: none; }
.hero__plane .route { width: 100%; height: auto; }
.hero__plane .plane { position: absolute; right: -10px; top: -30px; width: 70px; height: 70px; transform: rotate(-8deg); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); animation: fly 6s ease-in-out infinite; }
@keyframes fly { 50% { transform: translate(-8px, 6px) rotate(-5deg); } }

.chip { position: absolute; background-color: rgba(8, 22, 52, .5); display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; font-size: 13px; line-height: 1.25; }
.chip b { display: block; font-family: var(--f-head); font-size: 17px; white-space: nowrap; }
.chip b .star { vertical-align: -2px; margin-left: 2px; }
.chip small { display: block; color: var(--muted); font-size: 12px; }
.chip__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--cyan);
  background: linear-gradient(160deg, rgba(70, 213, 255, .25), rgba(0, 88, 230, .25)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.chip__ic--white { background: #fff; }
.chip__ic--gold { color: var(--gold); background: linear-gradient(160deg, rgba(242, 181, 68, .3), rgba(242, 181, 68, .08)); }
.star { color: var(--gold); }
.chip__float { display: contents; }
.c1 { left: 46%; top: 18%; }
.c2 { left: 57%; top: 35%; }
.c3 { right: 5%; top: 36%; }
.c4 { right: 5%; bottom: 22%; }

.hero__content { position: relative; z-index: 2; }
.hero__badge { margin-bottom: 22px; }
.hero__title { max-width: 760px; font-size: clamp(40px, 5.2vw, 76px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em;
  /* 2.5D extruded depth */
  text-shadow: 0 1px 0 #c9d6f0, 0 2px 0 #9fb2d8, 0 3px 0 #7b90bd, 0 4px 0 #5c72a3, 0 5px 0 #43588a, 0 6px 2px rgba(0, 10, 40, .5), 0 18px 30px rgba(0, 10, 40, .6);
  transform: perspective(900px) rotateX(7deg); transform-origin: left bottom; }
.hero__title .grad { text-shadow: none; filter: drop-shadow(0 1px 0 #2a7de0) drop-shadow(0 2px 0 #1d5fc0) drop-shadow(0 3px 0 #164ba0) drop-shadow(0 4px 0 #103c85) drop-shadow(0 14px 22px rgba(0, 40, 120, .55)); }
.hero__title .w { display: inline-block; }
.hero__lead { max-width: 500px; margin: 26px 0 34px; font-size: clamp(16px, 1.3vw, 18px); color: #c6d3ec; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.play { display: flex; align-items: center; gap: 12px; text-align: left; }
.play__ring { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--gold);
  border: 2px solid var(--gold); background: rgba(242, 181, 68, .1); position: relative; transition: .3s var(--ease); }
.play__ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(242, 181, 68, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play:hover .play__ring { background: var(--gold); color: #241600; }
.play__txt b { display: block; font-size: 14px; }
.play__txt small { color: var(--muted); font-size: 12px; }
.scrollhint { display: inline-flex; align-items: center; gap: 12px; margin-top: 56px; font-size: 13px; color: var(--muted); }
.mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.mouse i { width: 3px; height: 8px; border-radius: 3px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Partners ---------- */
.partners { position: relative; z-index: 3; margin-top: -60px; }
.partners__box { border-radius: var(--r-lg); padding: 26px 0 30px; overflow: hidden; }
.partners__title { padding: 0 34px 18px; font-size: 18px; font-weight: 600; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { will-change: transform; display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 32s linear infinite; padding-left: 34px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
.logo-w { color: #e9f0ff; opacity: .82; white-space: nowrap; transition: opacity .3s; }
.logo-w:hover { opacity: 1; }
.lw-giz { font-family: Arial, sans-serif; font-weight: 700; font-size: 34px; letter-spacing: -.04em; }
.lw-serif { font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.lw-darwin { font-family: var(--f-head); font-weight: 600; font-size: 20px; letter-spacing: .02em; }
.lw-usaid { font-family: var(--f-head); font-weight: 800; font-size: 26px; letter-spacing: .08em; }
.lw-bold { font-family: var(--f-head); font-weight: 800; font-size: 28px; letter-spacing: .12em; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 28px; align-items: center; }
.about__text .muted + .muted { margin-top: 14px; }
.about__text .btn { margin-top: 30px; }
.frame { border-radius: var(--r-lg); padding: 10px; transform-style: preserve-3d; }
.frame { overflow: hidden; }
.frame img { border-radius: calc(var(--r-lg) - 8px); width: 100%; aspect-ratio: 1/1.1; object-fit: cover; object-position: 75% 100%; transform: scale(1.35); transform-origin: 70% 92%; }
.frame__badge { position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: 13px; font-weight: 700; color: #fff;
  background-color: rgba(10, 30, 70, .55); transform: translateZ(40px); }
.frame__badge .ic { color: var(--gold); }
.about__features { display: grid; gap: 14px; }
.feat { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; transition: transform .4s var(--ease); }
.feat:hover { transform: translateX(-6px); }
.feat b { display: block; font-size: 15px; }
.feat small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.feat__ic, .stat__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--cyan);
  background: linear-gradient(160deg, rgba(70, 213, 255, .22), rgba(0, 88, 230, .22)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.stat__ic--gold { color: var(--gold); background: linear-gradient(160deg, rgba(242, 181, 68, .28), rgba(242, 181, 68, .06)); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r); }
.stat b { display: block; font-family: var(--f-head); font-size: 32px; line-height: 1.1; }
.stat small { color: var(--muted); font-size: 13px; }
.stat__ic { width: 56px; height: 56px; border-radius: 16px; }

/* ---------- Section head / tracks ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.sec-head .muted { max-width: 560px; }
.arrows { display: flex; gap: 10px; flex: none; }
.arrow { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s; }
.arrow:hover { transform: scale(1.08); background-color: rgba(255, 255, 255, .12); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px 4px 40px; margin: -14px -4px -40px; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }

/* ---------- Courses ---------- */
.course { display: flex; flex-direction: column; border-radius: var(--r); padding: 10px; transform-style: preserve-3d; }
.course__img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/11; }
.course__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.course:hover .course__img img { transform: scale(1.07); }
.tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(6, 18, 43, .78); border: 1px solid rgba(255, 255, 255, .2); }
.tag--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #241600; border: 0; box-shadow: 0 6px 18px rgba(242, 181, 68, .45); }
.course__body { display: flex; flex-direction: column; flex: 1; padding: 18px 10px 10px; transform: translateZ(30px); }
.course h3 { font-size: 19px; margin-bottom: 6px; }
.course p { color: var(--muted); font-size: 14px; line-height: 1.5; min-height: 42px; }
.meta { margin: 16px 0; display: grid; gap: 8px; font-size: 13px; color: #d6e0f5; }
.meta li { display: flex; align-items: center; gap: 10px; }
.meta .ic { color: var(--gold); }
.course__price { margin: auto 0 16px; font-size: 13px; color: var(--muted); }
.course__price b { font-family: var(--f-head); font-size: 20px; color: #fff; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: .9fr 2fr; gap: 40px; align-items: center; }
.why__title { font-size: clamp(40px, 5vw, 64px); }
.why__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 28px 18px; border-radius: var(--r); transform-style: preserve-3d; }
.why-card b { font-size: 15px; line-height: 1.35; }
.why-card small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.why-card__ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; color: var(--gold); transform: translateZ(40px);
  background: radial-gradient(circle at 30% 20%, rgba(255, 207, 110, .4), rgba(242, 181, 68, .08) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 26px rgba(242, 181, 68, .2); }

/* ---------- Advantages (horizontal pin) ---------- */
.adv { position: relative; overflow: hidden; }
.adv__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; }
.adv__head { margin-bottom: 36px; }
.adv__track { display: flex; gap: 24px; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); width: max-content; will-change: transform; }
.adv-card { position: relative; width: min(420px, 78vw); height: min(520px, 62vh); min-height: 380px; border-radius: var(--r-lg); overflow: hidden; flex: none; }
.adv-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.adv-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 18, 43, 0) 30%, rgba(6, 18, 43, .92) 100%); }
.adv-card__body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; padding: 22px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(20, 44, 92, .86), rgba(8, 22, 52, .9)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.adv-card .num { font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--gold); }
.adv-card h3 { font-size: 22px; margin: 6px 0 8px; }
.adv-card p { color: #c6d3ec; font-size: 14px; line-height: 1.5; }

/* ---------- Team ---------- */
.member { margin: 0; border-radius: var(--r); padding: 10px; transform-style: preserve-3d; }
.member__img { border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #2c4468; }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member:hover .member__img img { transform: scale(1.06); }
.member figcaption { padding: 16px 8px 8px; transform: translateZ(26px); }
.member b { display: block; font-size: 16px; }
.member small { color: var(--muted); font-size: 13px; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rating { border-radius: var(--r-lg); padding: 30px; transform-style: preserve-3d; }
.rating__top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.rating__num { font-family: var(--f-head); font-size: 44px; line-height: 1; }
.stars { display: flex; gap: 3px; color: var(--gold); margin: 6px 0 4px; }
.rating small { color: var(--muted); font-size: 13px; }
.rating__quote { font-size: 17px; color: #d8e3f8; margin-bottom: 22px; }
.rating .btn { width: auto; }

/* ---------- Apply ---------- */
.apply__box { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 34px; align-items: center; border-radius: var(--r-lg); padding: 14px 34px 14px 14px; overflow: hidden; }
.apply__img { border-radius: 22px; overflow: hidden; height: 100%; min-height: 300px; }
.apply__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.apply__text .h2 { font-size: clamp(26px, 2.6vw, 36px); }
.form { display: grid; gap: 12px; padding: 20px 0; }
.input { width: 100%; height: 52px; border-radius: 999px; padding: 0 22px; color: #fff; font: inherit; font-size: 15px; outline: none; }
.input::placeholder, .input input::placeholder { color: var(--muted-2); }
.input:focus, .input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(70, 213, 255, .15); }
.input--phone { display: flex; align-items: center; gap: 10px; }
.input--phone .ic { color: var(--muted); }
.input--phone input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 15px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; }
.select select option { color: #0b1530; }
.select .ic { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form__msg { min-height: 20px; font-size: 14px; text-align: center; }
.form__msg.ok { color: #7cf0b1; }
.form__msg.err { color: #ff9c9c; }
.input.invalid { border-color: #ff7b7b; }

/* ---------- Contacts ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.clist { display: grid; gap: 14px; margin: 26px 0 28px; }
.clist li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.clist a:hover { color: var(--cyan); }
.clist__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--gold); }
.socials { display: flex; gap: 10px; }
.soc { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; transition: transform .3s var(--ease), color .3s; }
.soc:hover { transform: translateY(-3px); color: var(--cyan); }
.map { position: relative; border-radius: var(--r-lg); padding: 10px; height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; border-radius: calc(var(--r-lg) - 8px); filter: invert(.9) hue-rotate(185deg) saturate(.7) brightness(.95) contrast(.9); }
.map__card { position: absolute; right: 26px; top: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background-color: rgba(10, 26, 58, .6); }
.map__card .ic { color: var(--gold); }
.map__card b { display: block; font-size: 14px; }
.map__card small { color: var(--muted); font-size: 12px; }

/* ---------- Footer ---------- */
.footer { content-visibility: auto; contain-intrinsic-size: auto 120px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 30px 0; background: rgba(4, 12, 30, .5); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer__nav a:hover { color: #fff; }
.footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer__copy { font-size: 13px; color: var(--muted-2); }
.footer__dev { font-size: 13px; color: var(--muted-2); }
.footer__dev a, .footer__dev span { color: var(--gold); font-weight: 700; }
.footer__dev a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.footer__dev a:hover { background-size: 100% 1px; }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; flex-direction: column; gap: 10px; }
.fab__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; }
.fab__btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #241600; box-shadow: 0 10px 26px rgba(242, 181, 68, .45); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility .35s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 10, 26, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal__panel { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); overflow: auto; border-radius: var(--r-lg); padding: 34px;
  background-color: rgba(10, 26, 58, .82); transform: translateY(30px) scale(.97); transition: transform .45s var(--ease); overscroll-behavior: contain; }
.modal.is-open .modal__panel { transform: none; }
.modal--video .modal__panel { width: min(1000px, 100%); padding: 12px; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.modal--video .modal__close { right: 22px; top: 22px; }
.modal__content h3 { font-size: 28px; margin: 6px 0 12px; padding-right: 40px; }
.modal__content h4 { font-family: var(--f-head); font-size: 16px; margin: 22px 0 10px; color: var(--cyan); }
.modal__content p { color: #c6d3ec; margin-bottom: 10px; }
.modal__content .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.modal__content .chips span { padding: 7px 13px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.modal__content .checks { display: grid; gap: 8px; }
.modal__content .checks li { display: flex; gap: 10px; color: #d8e3f8; font-size: 15px; }
.modal__content .checks .ic { color: var(--gold); margin-top: 3px; width: 18px; height: 18px; }
.modal__content .offer { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, rgba(242, 181, 68, .18), rgba(242, 181, 68, .04)); border: 1px solid rgba(242, 181, 68, .35); color: #fbe7bf; }
.modal__content .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.modal__content .actions .btn--ghost { width: auto; }
.video { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Reveal (only when JS animations are active) ---------- */
.js-anim .reveal, .js-anim .reveal-img { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .header__phone { display: none; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__features { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .why__grid { grid-template-columns: 1fr; }
  .apply__box { grid-template-columns: 1fr 1fr; padding: 14px; }
  .apply__img { grid-row: span 2; }
  .apply__text, .form { padding-right: 20px; }
}
@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
  .c1 { left: auto; right: 36%; top: 14%; }
  .c2 { left: auto; right: 6%; top: 22%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .why__cards { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid, .contacts__grid { grid-template-columns: 1fr; }
  .fab { display: flex; }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .header { padding: 12px 0; }
  .header.is-scrolled { background: rgba(6, 18, 43, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .brand__text small { display: none; }
  .hero { align-items: flex-end; padding-top: calc(var(--header-h) + 220px); padding-bottom: 50px; }
  .hero__title { font-size: clamp(32px, 9.4vw, 44px); }
  .hero__bg img { object-position: 64% 50%; }
  .hero__shade { background:
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 43, .92) 45%, rgba(6, 18, 43, .2) 75%, rgba(6, 18, 43, .55) 100%); }
  .hero__plane { width: 58vw; top: 92px; right: 4%; }
  .c1 { right: auto; left: 4%; top: calc(var(--header-h) + 40px); }
  .c2, .c4 { display: none; }
  .c3 { right: 4%; top: calc(var(--header-h) + 120px); }
  .chip { padding: 9px 12px 9px 9px; gap: 10px; }
  .chip__ic { width: 34px; height: 34px; }
  .chip b { font-size: 15px; }
  .hero__title { transform: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .scrollhint { margin-top: 30px; }
  .partners { margin-top: -20px; }
  .partners__title { padding: 0 22px 14px; font-size: 16px; }
  .marquee__track { gap: 44px; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 22px)); } }
  .about__grid { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
  .frame img { aspect-ratio: 4/3.4; }
  .frame__badge { left: 12px; }
  .stats { gap: 12px; margin-top: 40px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .stat b { font-size: 26px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .arrows { display: none; }
  .track { grid-auto-columns: 82%; }
  .why__cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-card { padding: 22px 12px; }
  .apply__box { grid-template-columns: 1fr; padding: 10px; }
  .apply__img { grid-row: auto; min-height: 200px; max-height: 240px; }
  .apply__text, .form { padding: 6px 12px; }
  .map { height: 320px; }
  .map__card { right: 18px; top: 18px; }
  .adv__pin { min-height: 0; padding: 70px 0 30px; }
  .adv__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px; }
  .adv__track::-webkit-scrollbar { display: none; }
  .adv-card { height: 440px; scroll-snap-align: center; }
  .adv-card img { transform: none; }
  .modal__panel { padding: 26px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta { align-items: flex-start; }
  .footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-anim .reveal, .js-anim .reveal-img { opacity: 1; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
