/* =========================================================
   MERITUM CONSULTING TANZANIA — style.css
   Layout concept: a calm, airy "departure lounge" — white & ice-blue
   ground, navy ink from the logo, sky-blue used only for motion and
   wayfinding (routes, progress, arrows). One bold moment: the
   split-flap boarding card in the hero.
   ========================================================= */

:root {
  /* Colour — taken from the logo */
  --navy: #112C58;        /* brand navy (logo wordmark / tree) */
  --navy-deep: #0B1F42;   /* dark sections */
  --sky: #1E8DFB;         /* logo arrows — accent, motion, links */
  --sky-soft: #E7F1FE;    /* tinted surfaces */
  --paper: #F6F9FD;       /* page ground, cool off-white */
  --white: #FFFFFF;
  --ink: #0E1B33;         /* body text */
  --muted: #56667F;       /* secondary text */
  --line: #DAE3F0;        /* hairlines */
  --on-dark: #E9F0FA;     /* text on navy */
  --on-dark-muted: #9FB2CF;
  --wa: #25D366;          /* WhatsApp green — WhatsApp buttons only */
  --wa-ink: #073B1F;

  /* Type */
  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2vw, 3.1rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.25rem);

  /* Layout & motion */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);       /* expo-out: the "pro" ease */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); color: var(--navy); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
em { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--sky); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 130px); position: relative; }
.h2 { font-size: var(--fs-h2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--sky);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 20%, transparent); }

.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head__lead { font-size: var(--fs-lead); color: var(--muted); }
.sec-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.sec-head--split > div:first-child { display: grid; gap: 16px; max-width: 680px; }
.sec-head--light h2 { color: var(--white); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
/* liquid fill on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, var(--sky)); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--navy) 55%, transparent); }
.btn:active { transform: scale(.97); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn__arrow { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { padding: .7em 1.15em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { --bg: var(--navy); --fg: var(--white); --fill: var(--sky); }
.btn--wa { --bg: var(--wa); --fg: var(--wa-ink); --fill: var(--navy); }
.btn--wa:hover { color: var(--white); }
.btn--outline { --bg: transparent; --fg: var(--navy); --fill: var(--navy); border-color: var(--navy); }
.btn--outline:hover { color: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--navy); --fill: var(--sky); }
.btn--light:hover { color: var(--white); }
.btn--ghost-light { --bg: transparent; --fg: var(--white); --fill: var(--white); border-color: color-mix(in srgb, var(--white) 45%, transparent); }
.btn--ghost-light:hover { color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; margin-top: 48px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--navy-deep); color: var(--white);
  transition: clip-path 1s var(--ease-in-out), visibility 0s 1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 14px; }
.loader__mark { width: 96px; filter: brightness(0) invert(1); animation: grow 1s var(--ease) both; }
.loader__word { font: 800 1.4rem/1 var(--f-display); letter-spacing: .42em; padding-left: .42em; animation: fadeUp .9s .2s var(--ease) both; }
.loader__bar { width: 140px; height: 2px; background: color-mix(in srgb, var(--white) 18%, transparent); overflow: hidden; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; background: var(--sky); transform-origin: left; animation: load 1.1s .1s var(--ease-in-out) both; }
@keyframes grow { from { opacity: 0; transform: scale(.7) translateY(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes load { from { transform: scaleX(0); } }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; background: var(--sky); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.header.is-scrolled { background: color-mix(in srgb, var(--white) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.header__row { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: grid; line-height: 1; }
.brand__text b { font: 800 1.25rem/1 var(--f-display); color: var(--navy); letter-spacing: .2em; display: inline-flex; align-items: center; }
/* The logo's "E" drawn as three bars */
.brand__e { display: inline-grid; gap: 2.5px; width: .62em; margin-right: .2em; }
.brand__e i { display: block; height: 3px; background: var(--navy); border-radius: 1px; }
.brand__text small { font: 600 .62rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.nav { position: relative; display: flex; gap: 2px; margin-left: auto; padding: 5px; border-radius: 999px; }
.nav__link { position: relative; z-index: 1; padding: .5em .85em; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 999px; transition: color .35s; white-space: nowrap; }
.nav__link.is-active { color: var(--white); }
.nav__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--navy); transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; opacity: 0; }
.header__cta { flex-shrink: 0; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-deep); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font: 700 clamp(1.8rem, 7vw, 2.6rem)/1.2 var(--f-display); color: var(--white); text-decoration: none; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s; }
.mobile-menu nav a:hover { color: var(--sky); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: .15s; } .mobile-menu.is-open nav a:nth-child(2) { transition-delay: .2s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .25s; } .mobile-menu.is-open nav a:nth-child(4) { transition-delay: .3s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .35s; } .mobile-menu.is-open nav a:nth-child(6) { transition-delay: .4s; }
.mobile-menu.is-open nav a:nth-child(7) { transition-delay: .45s; }
.mobile-menu__foot { display: grid; gap: 14px; color: var(--on-dark-muted); font-size: .9rem; }
.header.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; }
.header.menu-open .brand__text b, .header.menu-open .brand__text small { color: var(--white); }
.header.menu-open .brand__e i { background: var(--white); }
.header.menu-open .brand img { filter: brightness(0) invert(1); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 100px); overflow: hidden; }
.hero::before { /* faint graticule, like a flight map */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--navy) 14%, transparent) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__route > path { stroke: var(--sky); stroke-width: 1.6; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .55; vector-effect: non-scaling-stroke; }
.hero__plane path { fill: var(--sky); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 22px; min-width: 0; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero__title em { display: inline; font-weight: 400; letter-spacing: -.02em; }
.hero__lead { font-size: var(--fs-lead); color: var(--muted); max-width: 34em; }
.hero__tagline { font: 600 .82rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.hero__tagline span { color: var(--sky); }

/* split words — JS wraps each word in .w > span */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + .1s); }
.js.is-loaded .split .w > span { transform: none; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.02; min-width: 0; max-width: 100%; }
.hero__photo { position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--navy) 60%, transparent); background: var(--sky-soft); will-change: transform; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.is-loaded .hero__photo img { transform: scale(1); }
.hero__photo figcaption { position: absolute; left: 12px; bottom: 12px; font: 600 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--white); padding: 7px 10px; border-radius: 999px; }
.hero__photo--a figcaption { top: 12px; bottom: auto; }
.hero__photo--a { left: 0; top: 6%; width: 46%; height: 64%; }
.hero__photo--b { right: 0; top: 0; width: 50%; height: 54%; }
.hero__photo--c { right: 8%; bottom: 0; width: 42%; height: 40%; }
/* clip reveal on load */
.js .hero__photo { clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.3s var(--ease-in-out); }
.js.is-loaded .hero__photo { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js.is-loaded .hero__photo--b { transition-delay: .15s; }
.js.is-loaded .hero__photo--c { transition-delay: .3s; }

/* Boarding card with split-flap letters */
.board {
  position: absolute; left: 4%; bottom: 4%; width: min(330px, 62%);
  background: var(--navy-deep); color: var(--on-dark); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--navy-deep) 70%, transparent);
  display: grid; gap: 12px; will-change: transform;
}
.js .board { opacity: 0; transform: translateY(30px); transition: opacity .8s .7s var(--ease), transform 1s .7s var(--ease); }
.js.is-loaded .board { opacity: 1; transform: none; }
.board::after { /* ticket perforation */
  content: ""; position: absolute; left: 14px; right: 14px; top: 44px; border-top: 1.5px dashed color-mix(in srgb, var(--white) 18%, transparent);
}
.board__head { display: flex; justify-content: space-between; font: 600 .62rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); padding-bottom: 10px; }
.board__live { display: inline-flex; align-items: center; gap: 6px; color: var(--sky); }
.board__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.board__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.board__route > div:last-child { text-align: right; }
.board__route svg { width: 40px; stroke: var(--sky); stroke-width: 1.6; fill: none; }
.board small { display: block; font: 600 .58rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.board__route span, .board__foot span { font-size: .82rem; color: var(--on-dark); }
.flap { display: flex; gap: 3px; font: 600 1.7rem/1 var(--f-mono); color: var(--white); margin-bottom: 4px; }
.board__route > div:last-child .flap { justify-content: flex-end; }
.flap .ch { position: relative; display: inline-grid; place-items: center; width: 1.05em; height: 1.3em; background: color-mix(in srgb, var(--white) 8%, var(--navy-deep)); border-radius: 4px; perspective: 200px; }
.flap .ch::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: color-mix(in srgb, var(--navy-deep) 80%, transparent); }
.flap .ch.flip { animation: flip .32s var(--ease-in-out); }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.board__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.board__foot > div:last-child { text-align: right; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding-block: 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 48px; padding: 0 24px; margin: 0; list-style: none; }
.marquee li { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; font: 700 1.1rem/1 var(--f-display); color: var(--navy); }
.marquee li b { font: 600 .78rem/1 var(--f-mono); color: var(--sky); letter-spacing: .08em; padding: 5px 7px; border: 1px solid color-mix(in srgb, var(--sky) 40%, transparent); border-radius: 5px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro + cards ---------- */
.intro__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.intro__head p { font-size: var(--fs-lead); color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; display: grid; align-content: start; gap: 14px; padding: 32px 28px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; overflow: hidden; transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card::before { /* glow that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--sky) 14%, transparent), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card:hover { border-color: color-mix(in srgb, var(--sky) 45%, var(--line)); box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--navy) 40%, transparent); }
.card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--sky-soft); color: var(--navy); transition: background-color .4s, color .4s, transform .6s var(--ease); }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--navy); color: var(--white); transform: rotate(-8deg); }
.card p { color: var(--muted); }
.card__more { font-weight: 700; color: var(--navy); display: inline-flex; gap: 6px; margin-top: 6px; }
.card__more span { transition: transform .5s var(--ease); }
.card:hover .card__more span { transform: translateX(6px); }

/* ---------- Services tabs ---------- */
.services { background: var(--white); }
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: var(--sky-soft); margin-bottom: 40px; max-width: 100%; }
.tabs button { position: relative; z-index: 1; border: 0; background: transparent; padding: .8em 1.3em; border-radius: 999px; font: 600 .95rem/1 var(--f-body); color: var(--navy); cursor: pointer; transition: color .4s; }
.tabs button[aria-selected="true"] { color: var(--white); }
.tabs__ink { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 999px; background: var(--navy); transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease), top .6s var(--ease); }
.panels { position: relative; }
.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.panel.is-entering .panel__text > * { animation: panelIn .8s var(--ease) both; }
.panel.is-entering .panel__text > *:nth-child(2) { animation-delay: .05s; } .panel.is-entering .panel__text > *:nth-child(3) { animation-delay: .1s; }
.panel.is-entering .panel__text > *:nth-child(4) { animation-delay: .15s; } .panel.is-entering .panel__text > *:nth-child(5) { animation-delay: .2s; }
.panel.is-entering .panel__text > *:nth-child(n+6) { animation-delay: .25s; }
.panel.is-entering .panel__img { animation: imgIn 1.1s var(--ease-in-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes imgIn { from { clip-path: inset(0 0 0 100% round var(--radius-lg)); } to { clip-path: inset(0 0 0 0 round var(--radius-lg)); } }
.panel__text { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.panel__text h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.panel__lead { font-size: var(--fs-lead); color: var(--muted); }
.panel__img { margin: 0; position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel__img:hover img { transform: scale(1.05); }
.panel__img figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; font: 600 .72rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--white); padding: 8px 12px; border-radius: 999px; width: fit-content; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231E8DFB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }

.note { padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.note b { display: block; font: 600 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.note-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; width: 100%; }
.note--figure { display: grid; align-content: start; }
.note--figure .big { font: 800 2.2rem/1 var(--f-display); color: var(--navy); }

.fee { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); width: 100%; }
.fee__amount small { display: block; font: 600 .62rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.fee__amount span { font: 800 1.8rem/1 var(--f-display); color: var(--white); white-space: nowrap; }
.fee p { font-size: .88rem; color: var(--on-dark-muted); }
.promise { padding: 16px 18px; border-left: 3px solid var(--sky); background: var(--sky-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.promise b { color: var(--navy); }

/* ---------- How it works ---------- */
.how { background: var(--navy-deep); color: var(--on-dark); overflow: hidden; }
.how::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--white) 10%, transparent) 1px, transparent 1.2px); background-size: 28px 28px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.how .wrap { position: relative; }
.journey { position: relative; }
.journey__line { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 40px; overflow: visible; }
.journey__track, .journey__fill { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.journey__track { stroke: color-mix(in srgb, var(--white) 16%, transparent); stroke-dasharray: 4 6; }
.journey__fill { stroke: var(--sky); stroke-dasharray: 1000px; stroke-dashoffset: calc((1 - var(--jp, 0)) * 1000px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.step { display: grid; gap: 12px; padding-top: 64px; position: relative; }
.step::before { content: ""; position: absolute; top: 14px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-deep); border: 2px solid color-mix(in srgb, var(--white) 30%, transparent); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.step.is-reached::before { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 8px color-mix(in srgb, var(--sky) 22%, transparent); }
.step__no { font: 600 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.step h3 { color: var(--white); }
.step p { color: var(--on-dark-muted); }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__intro { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.why__intro > p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-lead); }
.brela { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.brela svg { width: 30px; height: 30px; color: var(--sky); flex-shrink: 0; }
.brela b { display: block; color: var(--navy); margin-bottom: 2px; }
.brela span { color: var(--muted); font-size: .95rem; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; }
.pillars li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); transition: padding-left .5s var(--ease); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars li:hover { padding-left: 12px; }
.pillars li:hover h3 { color: var(--sky); }
.pillars h3 { transition: color .3s; }
.pillars p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 96px); border-radius: var(--radius-lg); background: var(--navy); overflow: hidden; }
.stat { padding: 32px 28px; display: grid; gap: 8px; border-right: 1px solid color-mix(in srgb, var(--white) 12%, transparent); }
.stat:last-child { border-right: 0; }
.stat__num { font: 800 clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem)/1 var(--f-display); color: var(--white); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--on-dark-muted); font-size: .95rem; }

/* ---------- Partners ---------- */
.partners { background: var(--white); }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: grid; align-content: space-between; gap: 18px; min-height: 150px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); filter: grayscale(1); opacity: .7; transition: filter .5s, opacity .5s, background-color .5s; }
.logos li:hover { filter: none; opacity: 1; background: var(--sky-soft); }
.logos__name { font: 700 1.05rem/1.25 var(--f-display); color: var(--navy); }
.logos__country { font: 600 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.logos__more { background: var(--paper); }

/* ---------- Gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--white); color: var(--navy); padding: .6em 1.1em; border-radius: 999px; font: 600 .88rem/1 var(--f-body); cursor: pointer; transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { position: relative; margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sky-soft); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.masonry figure.is-out { display: none; }
.masonry figure.is-fading { opacity: 0; transform: scale(.96); }
.masonry img { width: 100%; transition: transform 1s var(--ease); }
.masonry figure:hover img { transform: scale(1.06); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: var(--white); font-size: .9rem; line-height: 1.4; background: linear-gradient(transparent, color-mix(in srgb, var(--navy-deep) 85%, transparent)); transform: translateY(100%); transition: transform .6s var(--ease); }
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px var(--gutter); background: color-mix(in srgb, var(--navy-deep) 94%, transparent); animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; min-width: 0; }
.lightbox img { max-height: 80vh; width: auto; border-radius: var(--radius); animation: lbImg .6s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.94); } }
.lightbox figcaption { color: var(--on-dark); text-align: center; max-width: 60ch; }
.lightbox button { border: 1.5px solid color-mix(in srgb, var(--white) 30%, transparent); background: transparent; color: var(--white); width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background-color .3s, color .3s; }
.lightbox button:hover { background: var(--white); color: var(--navy); }
.lightbox__close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }

/* ---------- Testimonials ---------- */
.slider-ctrl { display: flex; align-items: center; gap: 14px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-size: 1.1rem; cursor: pointer; transition: background-color .35s, color .35s, transform .4s var(--ease); }
.round:hover { background: var(--navy); color: var(--white); }
.round:active { transform: scale(.92); }
.slider-count { font-size: .85rem; color: var(--muted); min-width: 64px; text-align: center; }
.slider { overflow: hidden; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); cursor: grab; touch-action: pan-y; }
.slider.is-dragging { cursor: grabbing; }
.slider__track { display: flex; gap: 20px; transition: transform .8s var(--ease); will-change: transform; }
.slider.is-dragging .slider__track { transition: none; }
.quote { flex: 0 0 min(520px, 86%); margin: 0; display: grid; align-content: space-between; gap: 28px; padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); user-select: none; transition: transform .6s var(--ease), opacity .6s, border-color .4s; opacity: .55; transform: scale(.97); }
.quote.is-current { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--sky) 40%, var(--line)); }
.quote__tag { font: 600 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.quote p { font: italic 400 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.45 var(--f-accent); color: var(--ink); }
.quote p::before { content: "\201C"; } .quote p::after { content: "\201D"; }
.quote footer { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote footer b { color: var(--navy); }
.quote footer span { font-size: .9rem; color: var(--muted); }
.fine { margin-top: 24px; font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__intro { display: grid; gap: 20px; justify-items: start; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__intro > p:not(.eyebrow) { color: var(--muted); }
.accordion { display: grid; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font: 700 1.1rem/1.35 var(--f-display); color: var(--navy); transition: color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--sky); }
.acc summary i { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .5s var(--ease), background-color .3s; }
.acc summary i::after { transform: rotate(90deg); }
.acc[open] summary i { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.acc[open] summary i::before, .acc[open] summary i::after { background: var(--white); }
.acc[open] summary i::after { transform: rotate(0); }
.acc__body { overflow: hidden; }
.acc__body > * { padding-bottom: 24px; color: var(--muted); max-width: 62ch; }
.timeline-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.timeline-mini div { display: grid; gap: 4px; padding: 14px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.timeline-mini .mono { color: var(--sky); font-size: .85rem; font-weight: 600; }
.timeline-mini b { color: var(--navy); }
.timeline-mini small { color: var(--muted); }

/* ---------- Meritum Education ---------- */
.edu { background: var(--navy); color: var(--on-dark); overflow: hidden; }
.edu::after { content: ""; position: absolute; right: -120px; top: -60px; width: 520px; aspect-ratio: 1; background: url("../assets/img/logo-mark-white.png") center/contain no-repeat; opacity: .05; pointer-events: none; }
.edu .wrap { position: relative; z-index: 1; }
.edu h3 { color: var(--white); }
.edu__head { display: grid; gap: 20px; max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.edu__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); color: var(--white); }
.edu__title em { color: var(--sky); }
.edu__lead { font-size: var(--fs-lead); color: var(--on-dark-muted); }
.edu__why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.edu__why > div { display: grid; gap: 16px; color: var(--on-dark-muted); }
.edu__why b { color: var(--white); }
.edu__pull { margin: 0; padding-left: 24px; border-left: 2px solid var(--sky); font: italic 400 clamp(1.25rem, 1.05rem + .8vw, 1.7rem)/1.4 var(--f-accent); color: var(--white); }
.edu__sub { margin-bottom: 24px; }
.topics { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topics li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--white) 6%, transparent); border: 1px solid color-mix(in srgb, var(--white) 10%, transparent); transition: background-color .4s, transform .5s var(--ease), border-color .4s; }
.topics li:hover { background: color-mix(in srgb, var(--sky) 20%, transparent); border-color: color-mix(in srgb, var(--sky) 50%, transparent); transform: translateY(-4px); }
.topics b { color: var(--white); font-family: var(--f-display); }
.topics span { color: var(--on-dark-muted); font-size: .92rem; }
.edu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.approach, .story-cta { display: grid; gap: 18px; align-content: start; padding: 32px; border-radius: var(--radius-lg); }
.approach { border: 1px solid color-mix(in srgb, var(--white) 14%, transparent); }
.approach dl { margin: 0; display: grid; gap: 14px; }
.approach dt { font-weight: 700; color: var(--white); }
.approach dd { margin: 2px 0 0; color: var(--on-dark-muted); }
.story-cta { background: var(--sky); color: var(--white); }
.story-cta p { color: color-mix(in srgb, var(--white) 88%, var(--navy)); }
.story-cta .btn--light:hover { color: var(--white); }
.story-cta .btn--light { --fill: var(--navy); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 7vw, 96px); }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; max-width: 100%; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about__badge { position: absolute; right: 16px; bottom: 16px; display: grid; padding: 16px 20px; border-radius: var(--radius); background: var(--white); color: var(--muted); font-size: .85rem; }
.about__badge b { font: 800 2.2rem/1 var(--f-display); color: var(--navy); }
.about__text { display: grid; gap: 18px; min-width: 0; }
.about__text > p:not(.eyebrow) { color: var(--muted); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.vm div { padding: 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.vm small { display: block; font: 600 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.vm p { color: var(--ink); font-size: .95rem; }
.learned__title { margin-bottom: 20px; }
.learned { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: l; }
.learned li { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: .95rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.learned li:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px color-mix(in srgb, var(--navy) 50%, transparent); }
.learned b { display: block; color: var(--navy); font-family: var(--f-display); margin-bottom: 8px; font-size: 1.02rem; line-height: 1.3; }
.team-facts { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--sky-soft); }
.team-facts > p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 20px; min-width: 0; }
.info { list-style: none; margin: 0; padding: 0; display: grid; }
.info li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.info li:last-child { border-bottom: 1px solid var(--line); }
.info small { grid-column: 1 / -1; font: 600 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.info span { color: var(--navy); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.copy { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: .45em .9em; font: 600 .8rem/1 var(--f-body); color: var(--navy); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.copy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.copy.is-done { background: var(--sky); color: var(--white); border-color: var(--sky); }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--sky-soft); aspect-ratio: 16 / 10; max-width: 100%; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map__link { position: absolute; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .82rem; font-weight: 600; text-decoration: none; }

.form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.form__hint { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.field { position: relative; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea { width: 100%; padding: 26px 16px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 500 1rem/1.4 var(--f-body); transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 15%, transparent); }
.field label { position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.75); color: var(--sky); }
.field.is-invalid input { border-color: #C2410C; }
.interest { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.interest legend { font-weight: 600; color: var(--navy); margin-bottom: 10px; padding: 0; }
.interest label { cursor: pointer; }
.interest input { position: absolute; opacity: 0; pointer-events: none; }
.interest span { display: inline-block; padding: .6em 1.05em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-weight: 600; font-size: .9rem; transition: background-color .3s, color .3s, border-color .3s; }
.interest input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.interest input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.form__error { color: #B42318; font-weight: 600; font-size: .92rem; }
.form__ok { color: var(--navy); background: var(--sky-soft); padding: 12px 14px; border-radius: 10px; font-size: .92rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid color-mix(in srgb, var(--white) 12%, transparent); }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand img { width: 60px; flex-shrink: 0; }
.footer__brand div { display: grid; gap: 6px; }
.footer__brand b { color: var(--white); font-family: var(--f-display); font-size: 1.15rem; }
.footer__brand em { color: var(--sky); font-size: 1.05rem; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 28px; justify-content: start; }
.footer a { color: var(--on-dark); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--sky); }
.footer__social { display: grid; gap: 10px; }
.cms-preview-tag { position: fixed; left: 50%; top: 12px; z-index: 9999; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: var(--navy); color: var(--white); font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 24px color-mix(in srgb, var(--navy-deep) 30%, transparent); pointer-events: none; }
.footer__credit a { font-weight: 600; letter-spacing: .02em; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--sky); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; }

/* ---------- Floating WhatsApp & to-top ---------- */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--white); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--wa) 70%, transparent); transition: transform .5s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float__tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: var(--navy); color: var(--white); font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
.to-top { position: fixed; right: 28px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 1rem; cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background-color .3s, color .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); color: var(--white); }

/* ---------- Scroll reveals (only when JS is running) ---------- */
.js .reveal-up { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-up.is-in { opacity: 1; transform: none; }
.js .reveal-clip { clip-path: inset(12% 12% 12% 12% round var(--radius-lg)); transition: clip-path 1.4s var(--ease-in-out); }
.js .reveal-clip img, .js .reveal-clip iframe { transform: scale(1.2); transition: transform 1.6s var(--ease); }
.js .reveal-clip.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js .reveal-clip.is-in img, .js .reveal-clip.is-in iframe { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 960px) {
  .hero__grid, .intro__head, .panel, .why__grid, .faq__grid, .about__grid, .contact__grid, .edu__why, .edu__foot { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; }
  .panel__img { position: relative; top: 0; aspect-ratio: 16 / 11; order: -1; }
  .why__intro, .faq__intro { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .journey__line { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid color-mix(in srgb, var(--white) 12%, transparent); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learned { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .steps, .topics, .learned, .checks--2, .vm, .field-row, .note-row, .timeline-mini { grid-template-columns: 1fr; }
  .pillars li { grid-template-columns: 1fr; gap: 6px; }
  .logos li { min-height: 120px; padding: 18px; }
  .logos__name { font-size: .95rem; }
  .fee { grid-template-columns: 1fr; }
  .board { left: 0; width: 78%; padding: 12px 14px; }
  .flap { font-size: 1.3rem; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; width: 100%; }
  .tabs button { padding: .8em .6em; }
  .tabs__ink { border-radius: 14px; }
  .stat { padding: 24px 18px; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { display: none; }
  .wa-float__tip { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; }
  .masonry figcaption { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .hero__plane { display: none; }
}
