:root {
  --navy: #12305e;
  --navy-d: #0b2147;
  --ink: #12305e;
  --ink-soft: #4b5568;
  --line: #e3e8f0;
  --bg: #ffffff;
  --shadow: 0 18px 50px rgba(15, 35, 75, .12);
  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  /* desktop sizes scale like the 1440x900 mockup, so the hero always fits one screen */
  --u: min(calc(100vw / 1440), calc(100vh / 900), calc(1920px / 1440));
  /* horizontal offsets follow the width only */
  --x: min(calc(100vw / 1440), calc(1920px / 1440));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(100 * var(--u)); }
@media (max-width: 1080px) { [id] { scroll-margin-top: 84px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: calc(60 * var(--u));
  padding: 0 calc(34 * var(--u));
  border-radius: calc(12 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.btn svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); stroke-width: 2; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(18, 48, 94, .22); }
.btn-primary:hover { background: var(--navy-d); transform: translateY(-1px); }
.btn-outline { background: rgba(255, 255, 255, .85); color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { height: calc(50 * var(--u)); padding: 0 calc(32 * var(--u)); font-size: calc(17 * var(--u)); border-radius: calc(14 * var(--u)); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s, background .25s;
}
.nav.is-solid { background: rgba(255, 255, 255, .96); box-shadow: 0 6px 24px rgba(15, 35, 75, .08); }
.nav-inner {
  height: calc(92 * var(--u));
  padding: 0 calc(36 * var(--x)) 0 calc(108 * var(--x));
  display: flex;
  align-items: center;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: calc(40 * var(--u));
  margin-inline-start: calc(52 * var(--u));
}
.nav-links a {
  position: relative;
  font-size: calc(16 * var(--u));
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 calc(-14 * var(--u));
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav-search {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-inline-start: calc(28 * var(--u));
  color: var(--ink-soft);
}
.nav-search svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); stroke-width: 2; }
.nav-search:hover { color: var(--navy); }

.brand { display: flex; align-items: center; gap: calc(10 * var(--u)); margin-inline-start: auto; }
.brand img { width: calc(70 * var(--u)); height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-ar { font-size: calc(19 * var(--u)); font-weight: 700; color: var(--navy); }
.brand-en { font-size: calc(13 * var(--u)); font-weight: 500; color: var(--navy); text-align: right; }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; stroke-width: 2; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(100vh, 640px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.84) 34%, rgba(255,255,255,.7) 52%, rgba(255,255,255,.3) 64%, rgba(255,255,255,0) 78%),
    linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%);
}

.hero-inner {
  position: relative;
  flex: 1;
  padding: calc(196 * var(--u)) calc(130 * var(--x)) calc(270 * var(--u));
}
/* text block sits left of center, over the window side of the photo */
.hero-copy { margin-inline-start: calc(492 * var(--x)); }

.hero h1 {
  margin: 0;
  font-size: calc(72 * var(--u));
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -.5px;
}
.hero-sub {
  margin: calc(34 * var(--u)) 0 0;
  font-size: calc(24 * var(--u));
  line-height: 1.7;
  color: var(--ink-soft);
}
.hero-cta { display: flex; gap: calc(26 * var(--u)); margin-top: calc(44 * var(--u)); }
.hero-cta .btn-primary { min-width: calc(250 * var(--u)); }
.hero-cta .btn-outline { min-width: calc(210 * var(--u)); }

.hero-features {
  position: absolute;
  inset: auto calc(75 * var(--x)) calc(34 * var(--u));
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .97);
  border-radius: calc(20 * var(--u));
  box-shadow: var(--shadow);
}
.hero-features li {
  position: relative;
  min-height: calc(178 * var(--u));
  padding: calc(26 * var(--u)) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-features li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}
.hero-features svg { width: calc(44 * var(--u)); height: calc(44 * var(--u)); color: var(--navy); stroke-width: 1.4; margin-bottom: calc(16 * var(--u)); }
.hero-features strong { font-size: calc(21 * var(--u)); font-weight: 600; line-height: 1.5; color: var(--navy); }
.hero-features span { font-size: calc(19 * var(--u)); color: var(--ink-soft); margin-top: 2px; }

/* ---------- Training paths + stats ---------- */
.paths {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f6f8fc 55%, #eef3fa 100%);
  padding: calc(84 * var(--x)) 0 calc(68 * var(--x));
}
/* faded logo watermark on the left */
.paths::before {
  content: "";
  position: absolute;
  top: calc(40 * var(--x));
  left: calc(-150 * var(--x));
  width: calc(420 * var(--x));
  height: calc(680 * var(--x));
  background: url(images/brand/logo-mark.png) no-repeat left center / contain;
  opacity: .05;
  pointer-events: none;
}
/* faded Riyadh skyline along the bottom */
.paths::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: calc(360 * var(--x));
  background: url(images/hero/hero.webp) no-repeat 27% 34% / 180% auto;
  opacity: .22;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  pointer-events: none;
}
.paths-inner {
  position: relative;
  z-index: 1;
  width: min(calc(1262 * var(--x)), calc(100% - 48px));
  margin: 0 auto;
}

.sec-head { text-align: center; }
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: calc(22 * var(--x));
  font-size: calc(19 * var(--x));
  font-weight: 500;
  color: #4a6597;
}
.sec-label::before, .sec-label::after {
  content: "";
  width: calc(56 * var(--x));
  height: 1px;
  background: #b9c6dc;
}
.sec-head h2 {
  margin: calc(22 * var(--x)) 0 0;
  font-size: calc(48 * var(--x));
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.sec-head p {
  margin: calc(20 * var(--x)) 0 0;
  font-size: calc(18.5 * var(--x));
  line-height: 1.75;
  color: var(--ink-soft);
}

.path-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(21 * var(--x));
  margin-top: calc(48 * var(--x));
}
.path-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: calc(12 * var(--x));
  box-shadow: 0 10px 34px rgba(15, 35, 75, .08);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.path-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 35, 75, .13); }
.path-media { position: relative; }
.path-media img { width: 100%; height: auto; aspect-ratio: 421 / 214; object-fit: cover; }
/* sits exactly over the badge baked into the cropped photo */
.path-badge {
  position: absolute;
  left: 5.6%;
  top: 78.2%;
  width: 20.8%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: calc(12 * var(--x));
  box-shadow: 0 8px 22px rgba(15, 35, 75, .1);
}
.path-badge svg { width: 38%; height: 38%; color: #1f4f9a; stroke-width: 1.6; }
.path-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(20 * var(--x)) calc(30 * var(--x)) calc(26 * var(--x));
}
.path-body h3 { margin: 0; font-size: calc(23 * var(--x)); font-weight: 700; color: var(--navy); }
.path-body p {
  margin: calc(14 * var(--x)) 0 0;
  max-width: 76%;
  font-size: calc(16 * var(--x));
  line-height: 1.75;
  color: var(--ink-soft);
}
.path-link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: calc(18 * var(--x));
  font-size: calc(15.5 * var(--x));
  font-weight: 600;
  color: var(--navy);
}
.path-link svg { width: calc(19 * var(--x)); height: calc(19 * var(--x)); stroke-width: 2; transition: transform .2s; }
.path-link:hover svg { transform: translateX(-4px); }

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: calc(37 * var(--x)) 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: calc(14 * var(--x));
  box-shadow: 0 10px 34px rgba(15, 35, 75, .06);
}
.stats li {
  position: relative;
  min-height: calc(164 * var(--x));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stats li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--line);
}
.stats svg { width: calc(36 * var(--x)); height: calc(36 * var(--x)); color: #1f4f9a; stroke-width: 1.5; }
.stats strong {
  margin-top: calc(8 * var(--x));
  font-size: calc(33 * var(--x));
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stats span { margin-top: 2px; font-size: calc(16.5 * var(--x)); font-weight: 500; color: var(--navy); }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  :root { --u: 1px; --x: 1px; }
  .hero h1 { white-space: normal; }
  .nav-inner { height: 76px; padding: 0 24px; }
  .nav-toggle { display: grid; }
  .brand img { width: 56px; }
  .brand-ar { font-size: 16px; }
  .brand-en { font-size: 11px; }
  .btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }
  .nav-links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(15, 35, 75, .1);
    display: none;
  }
  .nav.is-open, .nav.is-open .nav-links { background: #fff; }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-search { display: none; }

  .hero { min-height: 0; }
  .hero-shade { background: linear-gradient(270deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.82) 50%, rgba(255,255,255,.45) 80%, rgba(255,255,255,.25) 100%); }
  .hero-inner { padding: 170px 24px 48px; }
  .hero-copy { margin: 0; max-width: 620px; }
  .hero h1 { font-size: 52px; }
  .hero-sub { font-size: 19px; }
  .hero-features {
    position: relative;
    inset: auto;
    margin: 0 24px 32px;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-features li { min-height: 150px; }
  .hero-features li:nth-child(3)::before { display: none; }
  .hero-features li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .nav-inner { height: 68px; padding: 0 16px; }
  .brand img { width: 44px; }
  .brand-ar { font-size: 13.5px; }
  .brand-en { font-size: 9.5px; }
  .btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
  .nav-actions { gap: 4px; }
  .nav-links { padding: 4px 16px 16px; }

  .hero { padding-top: 68px; background: #fff; }
  .hero-bg { position: relative; height: 260px; object-position: 76% center; }
  .hero-shade { inset: 68px 0 auto; height: 260px; background: linear-gradient(180deg, rgba(255,255,255,0) 55%, #fff 100%); }
  .hero-inner { padding: 8px 16px 28px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; margin-top: 16px; }
  .hero-sub br { display: none; }
  .hero-cta { flex-wrap: wrap; margin-top: 26px; gap: 12px; }
  .hero-cta .btn { flex: 1 1 100%; min-width: 0; height: 54px; font-size: 16px; }
  .hero-features { margin: 0 16px 24px; }
  .hero-features li { min-height: 124px; padding: 18px 8px; }
  .hero-features svg { width: 32px; height: 32px; margin-bottom: 10px; }
  .hero-features strong { font-size: 15px; }
  .hero-features span { font-size: 13.5px; }
}

/* ---------- Training paths: tablet + mobile ---------- */
@media (max-width: 1080px) {
  .paths { padding: 64px 0 56px; }
  .paths::before { width: 300px; height: 480px; left: -110px; }
  .paths::after { height: 260px; background-size: 300% auto; background-position: 22% 30%; }
  .sec-label { font-size: 16px; gap: 16px; }
  .sec-label::before, .sec-label::after { width: 40px; }
  .sec-head h2 { font-size: 36px; }
  .sec-head p { font-size: 17px; }
  .path-cards { gap: 16px; margin-top: 40px; }
  .path-body { padding: 16px 18px 20px; }
  .path-body h3 { font-size: 19px; }
  .path-body p { font-size: 14.5px; max-width: none; }
  .path-link { font-size: 15px; }
  .path-link svg { width: 18px; height: 18px; }
  .stats { margin-top: 24px; }
  .stats li { min-height: 132px; padding: 14px 6px; }
  .stats svg { width: 32px; height: 32px; }
  .stats strong { font-size: 26px; }
  .stats span { font-size: 13.5px; }
}

@media (max-width: 600px) {
  .paths { padding: 48px 0 40px; }
  .paths-inner { width: calc(100% - 32px); }
  .sec-head h2 { font-size: 27px; }
  .sec-head p { font-size: 15.5px; }
  .sec-head p br { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(n)::before { display: block; }
  .stats li:nth-child(odd)::before { display: none; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats li:last-child { grid-column: 1 / -1; }
  .stats li:last-child::before { display: none; }
  .stats li { min-height: 124px; }
  .stats strong { font-size: 25px; }
  .stats span { font-size: 14px; }
}

@media (max-width: 760px) {
  .path-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .path-body { padding: 18px 22px 22px; }
  .path-body h3 { font-size: 21px; }
  .path-body p { font-size: 15.5px; }
}

/* ---------- Programs ---------- */
.programs {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3fa 0%, #f6f8fc 18%, #f7f9fd 100%);
  padding: calc(72 * var(--x)) 0 calc(70 * var(--x));
}
.programs::before {
  content: "";
  position: absolute;
  top: calc(30 * var(--x));
  left: calc(-170 * var(--x));
  width: calc(460 * var(--x));
  height: calc(760 * var(--x));
  background: url(images/brand/logo-mark.png) no-repeat left center / contain;
  opacity: .045;
  pointer-events: none;
}
.programs-inner {
  position: relative;
  z-index: 1;
  width: min(calc(1352 * var(--x)), calc(100% - 48px));
  margin: 0 auto;
}
.programs .sec-label { color: #3f74c4; }

.prog-filters {
  display: flex;
  width: fit-content;
  margin: calc(28 * var(--x)) auto 0;
  padding: calc(6 * var(--x));
  background: #fff;
  border-radius: calc(14 * var(--x));
  box-shadow: 0 8px 26px rgba(15, 35, 75, .07);
}
.prog-filters button {
  position: relative;
  min-width: calc(134 * var(--x));
  height: calc(46 * var(--x));
  padding: 0 calc(22 * var(--x));
  border-radius: calc(10 * var(--x));
  font-size: calc(16 * var(--x));
  font-weight: 500;
  color: var(--navy);
  transition: background .2s, color .2s;
}
.prog-filters button + button::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 28%;
  bottom: 28%;
  width: 1px;
  background: var(--line);
}
.prog-filters button[aria-selected="true"] { background: var(--navy); color: #fff; }
.prog-filters button[aria-selected="true"]::before,
.prog-filters button[aria-selected="true"] + button::before { display: none; }
.prog-filters button:not([aria-selected="true"]):hover { color: #1f4f9a; background: #f1f5fb; }

.prog-grid {
  display: flex;
  gap: calc(16 * var(--x));
  margin-top: calc(36 * var(--x));
  justify-content: center;
}
.prog-grid > [hidden] { display: none; }
.prog-grid > * { animation: progIn .35s ease both; }
@keyframes progIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* featured diploma: text on the left, photo fills the right */
.prog-featured {
  position: relative;
  flex: 668 1 0;
  max-width: calc(860 * var(--x));
  min-height: calc(420 * var(--x));
  background: #fff;
  border-radius: calc(12 * var(--x));
  box-shadow: 0 10px 34px rgba(15, 35, 75, .08);
  overflow: hidden;
}
.prog-featured-img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 45%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.prog-featured-body {
  position: relative;
  margin-right: 43%;
  padding: calc(32 * var(--x)) calc(8 * var(--x)) calc(26 * var(--x)) calc(24 * var(--x));
}
.prog-tags { display: flex; gap: calc(10 * var(--x)); flex-wrap: wrap; }
.tag {
  display: inline-flex;
  align-items: center;
  height: calc(30 * var(--x));
  padding: 0 calc(18 * var(--x));
  border-radius: calc(8 * var(--x));
  font-size: calc(13.5 * var(--x));
  font-weight: 500;
}
.tag-blue { background: #1f4f9a; color: #fff; }
.tag-green { background: #e2f4ec; color: #23845c; }
.tag-soft { background: #eef2f8; color: var(--navy); }
.prog-featured h3 {
  margin: calc(18 * var(--x)) 0 0;
  font-size: calc(26.5 * var(--x));
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy);
}
.prog-facts {
  display: flex;
  margin: calc(26 * var(--x)) 0 0;
  padding: 0 0 calc(18 * var(--x));
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.prog-facts li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.4;
}
.prog-facts li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.prog-facts svg { width: calc(26 * var(--x)); height: calc(26 * var(--x)); color: #1f4f9a; stroke-width: 1.5; margin-bottom: calc(8 * var(--x)); }
.prog-facts strong { font-size: calc(16.5 * var(--x)); font-weight: 700; color: var(--navy); }
.prog-facts span { font-size: calc(14.5 * var(--x)); color: var(--ink-soft); }
.prog-featured p {
  margin: calc(18 * var(--x)) 0 0;
  font-size: calc(14.5 * var(--x));
  line-height: 1.6;
  color: var(--ink-soft);
}
.prog-actions { display: flex; gap: calc(10 * var(--x)); margin-top: calc(22 * var(--x)); }
.prog-actions .btn { height: calc(46 * var(--x)); padding: 0 calc(26 * var(--x)); font-size: calc(16 * var(--x)); min-width: calc(150 * var(--x)); border-radius: calc(8 * var(--x)); }

/* course cards */
.prog-card {
  flex: 214 1 0;
  max-width: calc(300 * var(--x));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: calc(12 * var(--x));
  box-shadow: 0 10px 34px rgba(15, 35, 75, .08);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.prog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 35, 75, .13); }
.prog-media { position: relative; }
.prog-media img { width: 100%; height: auto; aspect-ratio: 225 / 179; object-fit: cover; }
/* chip straddles the bottom edge of the photo */
.prog-chip {
  position: absolute;
  left: calc(12 * var(--x));
  bottom: calc(-19 * var(--x));
  width: calc(68 * var(--x));
  height: calc(38 * var(--x));
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 35, 75, .1);
  font-size: calc(15 * var(--x));
  font-weight: 500;
  color: #1f4f9a;
}
.prog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(26 * var(--x)) calc(18 * var(--x)) calc(24 * var(--x)) calc(20 * var(--x));
}
.prog-body h3 { margin: 0; font-size: calc(18 * var(--x)); font-weight: 700; line-height: 1.55; color: var(--navy); }
.prog-meta { margin: calc(22 * var(--x)) 0 0; padding: 0; list-style: none; display: grid; gap: calc(10 * var(--x)); }
.prog-meta li { display: flex; align-items: center; gap: calc(10 * var(--x)); font-size: calc(14 * var(--x)); color: var(--ink-soft); }
.prog-meta svg { width: calc(20 * var(--x)); height: calc(20 * var(--x)); flex-shrink: 0; color: #1f4f9a; stroke-width: 1.6; }
.prog-link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: calc(26 * var(--x));
  font-size: calc(15 * var(--x));
  font-weight: 600;
  color: var(--navy);
}
.prog-link svg { width: calc(19 * var(--x)); height: calc(19 * var(--x)); stroke-width: 2; transition: transform .2s; }
.prog-link:hover svg { transform: translateX(-4px); }

.prog-more { display: flex; justify-content: center; margin-top: calc(44 * var(--x)); }
.prog-more .btn { height: calc(49 * var(--x)); min-width: calc(240 * var(--x)); font-size: calc(16 * var(--x)); border-radius: calc(10 * var(--x)); background: transparent; }
.prog-more .btn:hover { background: var(--navy); }

/* ---------- Programs: tablet + mobile ---------- */
@media (max-width: 1080px) {
  .programs { padding: 60px 0 56px; }
  .programs::before { width: 300px; height: 500px; left: -110px; }
  .prog-filters button { min-width: 0; height: 42px; padding: 0 18px; font-size: 15px; }
  .prog-grid { flex-wrap: wrap; gap: 16px; margin-top: 32px; }
  .prog-featured { flex: 1 1 100%; max-width: none; min-height: 400px; }
  .prog-featured-body { padding: 28px 12px 24px 28px; }
  .prog-featured h3 { font-size: 24px; }
  .prog-featured p br { display: none; }
  .prog-card { flex: 1 1 0; min-width: 0; }
  .prog-body { padding: 22px 16px 20px; }
  .prog-body h3 { font-size: 17px; }
  .prog-meta li { font-size: 13.5px; }
  .prog-chip { font-size: 14px; }
  .prog-link { font-size: 14.5px; }
}

@media (max-width: 760px) {
  .programs-inner { width: calc(100% - 32px); }
  .prog-filters { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .prog-filters::-webkit-scrollbar { display: none; }
  .prog-filters button { flex: 1 0 auto; padding: 0 14px; }
  .prog-featured { display: flex; flex-direction: column; min-height: 0; }
  .prog-featured-img { position: relative; inset: auto; order: -1; width: 100%; height: 240px; object-position: 50% 30%; -webkit-mask-image: none; mask-image: none; }
  .prog-featured-body { margin: 0; padding: 22px 20px; }
  .prog-featured h3 { font-size: 21px; }
  .prog-featured h3 br { display: none; }
  .prog-actions .btn { flex: 1; min-width: 0; padding: 0 12px; height: 48px; font-size: 15px; }
  .prog-card { flex: 1 1 100%; max-width: none; flex-direction: row; }
  .prog-media { width: 40%; flex-shrink: 0; }
  .prog-media img { height: 100%; aspect-ratio: auto; }
  .prog-chip { display: none; }
  .prog-body h3 br { display: none; }
  .prog-link { padding-top: 14px; }
  .prog-more .btn { width: 100%; }
}

/* ---------- Corporate training + partners ---------- */
.corp {
  background: #f7f9fd;
  padding: calc(8 * var(--x)) 0 calc(48 * var(--x));
}
.corp-inner {
  width: min(calc(1388 * var(--x)), calc(100% - 48px));
  margin: 0 auto;
}

.corp-card {
  display: flex;
  min-height: calc(548 * var(--x));
  background: #fff;
  border-radius: calc(18 * var(--x));
  box-shadow: 0 12px 40px rgba(15, 35, 75, .07);
  overflow: hidden;
}
.corp-copy {
  flex: 1;
  padding: calc(28 * var(--x)) calc(24 * var(--x)) calc(30 * var(--x)) calc(30 * var(--x));
}
.corp-img { width: 58.8%; height: auto; align-self: stretch; flex-shrink: 0; object-fit: cover; }

.corp-label {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--x));
  height: calc(41 * var(--x));
  padding: 0 calc(18 * var(--x));
  border-radius: 999px;
  background: #eef3fa;
  font-size: calc(14 * var(--x));
  font-weight: 500;
  color: var(--navy);
}
.corp-label svg { width: calc(18 * var(--x)); height: calc(18 * var(--x)); color: #1f4f9a; }
.corp h2 {
  margin: calc(24 * var(--x)) 0 0;
  font-size: calc(34 * var(--x));
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}
.corp-lead {
  margin: calc(16 * var(--x)) 0 0;
  font-size: calc(16 * var(--x));
  line-height: 1.85;
  color: var(--ink-soft);
}

.corp-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(30 * var(--x)) calc(22 * var(--x));
  margin: calc(34 * var(--x)) 0 0;
  padding: 0;
  list-style: none;
}
.corp-benefits li { display: flex; align-items: flex-start; gap: calc(14 * var(--x)); }
.corp-ic {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: calc(58 * var(--x));
  height: calc(58 * var(--x));
  border-radius: calc(10 * var(--x));
  background: #eaf1fb;
}
.corp-ic svg { width: calc(27 * var(--x)); height: calc(27 * var(--x)); color: #1f4f9a; stroke-width: 1.6; }
.corp-benefits h3 { margin: calc(2 * var(--x)) 0 0; font-size: calc(16 * var(--x)); font-weight: 700; color: var(--navy); }
.corp-benefits p { margin: calc(6 * var(--x)) 0 0; font-size: calc(14 * var(--x)); line-height: 1.7; color: var(--ink-soft); }

.corp-cta {
  margin-top: calc(44 * var(--x));
  height: calc(56 * var(--x));
  min-width: calc(238 * var(--x));
  font-size: calc(18 * var(--x));
  border-radius: calc(10 * var(--x));
}

.partners {
  margin-top: calc(28 * var(--x));
  padding: calc(38 * var(--x)) calc(26 * var(--x)) calc(28 * var(--x));
  border: 1px solid #fff;
  border-radius: calc(18 * var(--x));
  background: linear-gradient(180deg, #f1f5fb 0%, #f5f8fc 100%);
  box-shadow: 0 10px 34px rgba(15, 35, 75, .05);
  text-align: center;
}
.partners h2 { margin: 0; font-size: calc(31 * var(--x)); font-weight: 700; color: var(--navy); }
.partners > p { margin: calc(10 * var(--x)) 0 0; font-size: calc(19.5 * var(--x)); color: var(--ink-soft); }

.partner-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(1163 * var(--x)), 100%);
  margin: calc(20 * var(--x)) auto 0;
  border-bottom: 1px solid #dde4ef;
}
.partner-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--x));
  height: calc(52 * var(--x));
  border-radius: calc(6 * var(--x)) calc(6 * var(--x)) 0 0;
  font-size: calc(16.5 * var(--x));
  font-weight: 500;
  color: var(--navy);
  transition: background .2s;
}
.partner-tabs svg { width: calc(22 * var(--x)); height: calc(22 * var(--x)); color: #1f4f9a; }
.partner-tabs button:hover { background: rgba(232, 240, 251, .6); }
.partner-tabs button[aria-selected="true"] { background: #e6eefa; font-weight: 600; }
.partner-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--navy);
}

/* each sector scrolls as an endless strip; site.js duplicates the list once so the loop is seamless */
.partner-marquee {
  margin-top: calc(16 * var(--x));
  padding: calc(6 * var(--x)) 0 calc(12 * var(--x));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  animation: progIn .35s ease both;
}
.partner-marquee[hidden] { display: none; }
.partner-logos {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: partnerScroll var(--dur, 50s) linear infinite;
}
.partner-marquee:hover .partner-logos { animation-play-state: paused; }
@keyframes partnerScroll { to { transform: translateX(50%); } }
.partner-logos li {
  flex: 0 0 calc(211 * var(--x));
  margin-inline-end: calc(14 * var(--x));
  display: grid;
  place-items: center;
  height: calc(112 * var(--x));
  background: #fff;
  border-radius: calc(12 * var(--x));
  box-shadow: 0 6px 20px rgba(15, 35, 75, .05);
  transition: transform .2s, box-shadow .2s;
}
@media (prefers-reduced-motion: reduce) {
  .partner-marquee { overflow-x: auto; }
  .partner-logos { animation: none; }
}
.partner-logos li:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 35, 75, .1); }
.partner-logos img {
  width: auto;
  max-width: 76%;
  max-height: 74%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ---------- Corporate + partners: tablet + mobile ---------- */
@media (max-width: 1080px) {
  .corp { padding: 8px 0 48px; }
  .corp-card { flex-direction: column; }
  .corp-img { order: -1; width: 100%; height: 320px; }
  .corp-copy { padding: 28px; }
  .corp h2 { font-size: 30px; }
  .corp-lead { font-size: 16px; }
  .corp-benefits h3 { font-size: 16px; }
  .corp-benefits p { font-size: 14px; }
  .partners { padding: 32px 20px 24px; }
  .partners h2 { font-size: 28px; }
  .partners > p { font-size: 17px; }
  .partner-tabs button { height: 48px; font-size: 15px; gap: 8px; }
  .partner-logos li { flex-basis: 180px; margin-inline-end: 12px; }
  .partner-logos li { height: 104px; }
}

@media (max-width: 600px) {
  .corp-inner { width: calc(100% - 32px); }
  .corp-img { height: 220px; }
  .corp-copy { padding: 22px 20px 24px; }
  .corp h2 { font-size: 25px; }
  .corp-lead { font-size: 15px; }
  .corp-lead br { display: none; }
  .corp-benefits { grid-template-columns: 1fr; gap: 18px; }
  .corp-cta { width: 100%; }
  .partners { padding: 28px 14px 18px; }
  .partners h2 { font-size: 25px; }
  .partners > p { font-size: 15.5px; }
  .partner-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .partner-tabs::-webkit-scrollbar { display: none; }
  .partner-tabs button { flex: 0 0 auto; padding: 0 14px; font-size: 14px; }
  .partner-logos li { flex-basis: 146px; margin-inline-end: 10px; }
  .partner-logos li { height: 92px; }
}

/* ---------- Branches + contact ---------- */
.branches {
  background: #f7f9fd;
  padding: calc(4 * var(--x)) 0 calc(56 * var(--x));
}
.branches-inner {
  width: min(calc(1388 * var(--x)), calc(100% - 48px));
  margin: 0 auto;
}

.br-card,
.contact-card {
  display: flex;
  background: #fff;
  border-radius: calc(18 * var(--x));
  box-shadow: 0 12px 40px rgba(15, 35, 75, .07);
  overflow: hidden;
}
.br-copy { flex: 1; min-width: 0; padding: calc(18 * var(--x)) calc(24 * var(--x)) calc(20 * var(--x)) calc(24 * var(--x)); }
.br-map { width: 35%; height: auto; align-self: stretch; flex-shrink: 0; object-fit: cover; object-position: 46% center; }
.branches h2 {
  margin: calc(16 * var(--x)) 0 0;
  font-size: calc(31 * var(--x));
  font-weight: 700;
  color: var(--navy);
}
.br-sub { margin: calc(8 * var(--x)) 0 0; font-size: calc(16 * var(--x)); color: var(--ink-soft); }

.br-filters { display: flex; gap: calc(10 * var(--x)); margin-top: calc(18 * var(--x)); }
.br-filters button {
  height: calc(36 * var(--x));
  padding: 0 calc(22 * var(--x));
  border-radius: calc(8 * var(--x));
  background: #eef3fa;
  font-size: calc(14 * var(--x));
  font-weight: 500;
  color: var(--navy);
  transition: background .2s, color .2s;
}
.br-filters button:hover { background: #e2eaf6; }
.br-filters button[aria-selected="true"] { background: var(--navy); color: #fff; }

.br-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(14 * var(--x)) calc(12 * var(--x));
  margin: calc(12 * var(--x)) 0 0;
  padding: 0;
  list-style: none;
}
.br-grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: calc(8 * var(--x)) calc(10 * var(--x)) calc(10 * var(--x));
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: calc(12 * var(--x));
  box-shadow: 0 6px 18px rgba(15, 35, 75, .05);
  animation: progIn .35s ease both;
  transition: transform .2s, box-shadow .2s;
}
.br-grid li[hidden] { display: none; }
.br-grid li:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 35, 75, .1); }
.br-grid img {
  width: 100%;
  height: calc(66 * var(--x));
  object-fit: cover;
  object-position: left center;
  border-radius: calc(8 * var(--x));
}
.br-tag {
  position: absolute;
  top: calc(13 * var(--x));
  left: calc(14 * var(--x));
  padding: calc(3 * var(--x)) calc(12 * var(--x));
  border-radius: 999px;
  background: #fde8f4;
  font-size: calc(12.5 * var(--x));
  font-weight: 500;
  color: #c0267f;
}
.br-tag-men { background: #e3edfb; color: #1f4f9a; }
.br-grid h3 { margin: calc(12 * var(--x)) 0 0; font-size: calc(15.5 * var(--x)); font-weight: 700; color: var(--navy); }
.br-city { margin-top: calc(2 * var(--x)); font-size: calc(13 * var(--x)); color: var(--ink-soft); }
.br-dir {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(6 * var(--x));
  height: calc(30 * var(--x));
  margin-top: calc(10 * var(--x));
  border-radius: calc(8 * var(--x));
  background: #f1f5fb;
  font-size: calc(12.5 * var(--x));
  font-weight: 500;
  color: var(--navy);
  transition: background .2s, color .2s;
}
.br-dir svg { width: calc(17 * var(--x)); height: calc(17 * var(--x)); color: #1f4f9a; }
.br-dir:hover { background: var(--navy); color: #fff; }
.br-dir:hover svg { color: #fff; }

.contact-card { margin-top: calc(22 * var(--x)); padding: calc(18 * var(--x)); gap: calc(20 * var(--x)); }
.contact-copy { flex: 1; min-width: 0; padding: calc(8 * var(--x)) calc(8 * var(--x)) 0 0; }
.contact-img { width: 40%; height: auto; align-self: stretch; flex-shrink: 0; object-fit: cover; border-radius: calc(12 * var(--x)); }
.contact-card h2 { margin-top: 0; font-size: calc(33 * var(--x)); }
.contact-sub { margin: calc(8 * var(--x)) 0 0; font-size: calc(17 * var(--x)); color: var(--ink-soft); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(12 * var(--x));
  margin-top: calc(22 * var(--x));
}
.field {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--x));
  padding: calc(10 * var(--x)) calc(12 * var(--x)) calc(10 * var(--x));
  border: 1px solid #e3e8f0;
  border-radius: calc(10 * var(--x));
}
.field > span { font-size: calc(13.5 * var(--x)); font-weight: 600; color: var(--navy); }
.field input,
.field select {
  width: 100%;
  height: calc(36 * var(--x));
  padding: 0 calc(12 * var(--x));
  border: 1px solid #e3e8f0;
  border-radius: calc(6 * var(--x));
  background: #fff;
  font: inherit;
  font-size: calc(13.5 * var(--x));
  color: var(--navy);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder { color: #9aa4b5; }
.field input:focus,
.field select:focus { border-color: #1f4f9a; box-shadow: 0 0 0 3px rgba(31, 79, 154, .12); }
.btn-wa {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--x));
  height: calc(40 * var(--x));
  border-radius: calc(8 * var(--x));
  background: #25a55f;
  font-size: calc(17 * var(--x));
  font-weight: 600;
  color: #fff;
  transition: background .2s;
}
.btn-wa:hover { background: #1e8e51; }
.btn-wa svg { width: calc(22 * var(--x)); height: calc(22 * var(--x)); stroke-width: 1.7; }

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1fr;
  gap: calc(14 * var(--x));
  margin: calc(16 * var(--x)) 0 0;
  padding: 0;
  list-style: none;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--x));
  min-height: calc(76 * var(--x));
  padding: calc(10 * var(--x)) calc(12 * var(--x));
  border: 1px solid #edf1f7;
  border-radius: calc(10 * var(--x));
}
.contact-info .corp-ic { width: calc(44 * var(--x)); height: calc(44 * var(--x)); }
.contact-info .corp-ic svg { width: calc(24 * var(--x)); height: calc(24 * var(--x)); }
.contact-info div { display: flex; flex-direction: column; min-width: 0; }
.contact-info strong { font-size: calc(14 * var(--x)); font-weight: 700; color: var(--navy); }
.contact-info a,
.contact-info div > span {
  margin-top: calc(4 * var(--x));
  font-size: calc(13.5 * var(--x));
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.contact-info a[dir="ltr"] { font-size: calc(15 * var(--x)); font-weight: 600; color: var(--navy); text-align: right; white-space: nowrap; overflow-wrap: normal; }
.contact-info a:hover { color: #1f4f9a; }
.contact-info a[href^="mailto"] { direction: ltr; text-align: right; white-space: nowrap; font-size: calc(12.5 * var(--x)); }
.contact-info div > span { white-space: nowrap; }

/* ---------- Branches + contact: tablet + mobile ---------- */
@media (max-width: 1080px) {
  .branches { padding: 0 0 48px; }
  .br-card { flex-direction: column; }
  .br-map { order: -1; width: 100%; height: 260px; object-position: 50% 45%; }
  .br-copy { padding: 24px; }
  .branches h2 { font-size: 28px; }
  .br-grid { gap: 10px 8px; }
  .br-grid li { padding: 6px 6px 8px; }
  .br-tag { top: 10px; left: 10px; }
  .br-grid img { height: 64px; }
  .contact-card { flex-direction: column; padding: 16px; }
  .contact-img { order: -1; width: 100%; height: 240px; }
  .contact-copy { padding: 6px; }
  .contact-card h2 { font-size: 28px; }
  .contact-info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .branches-inner { width: calc(100% - 32px); }
  .br-map { height: 210px; }
  .br-copy { padding: 20px 16px; }
  .branches h2 { font-size: 23px; }
  .br-sub { font-size: 15px; }
  .br-filters button { flex: 1; padding: 0 8px; height: 38px; font-size: 13.5px; }
  .br-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .br-grid img { height: 74px; }
  .br-grid h3 { font-size: 15px; }
  .contact-img { height: 190px; }
  .contact-card h2 { font-size: 25px; }
  .contact-sub { font-size: 15px; }
  .contact-form { grid-template-columns: 1fr; }
  .field input, .field select { height: 42px; font-size: 15px; }
  .btn-wa { height: 50px; font-size: 16px; }
  .contact-info { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .br-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .br-grid li { padding: 8px 8px 10px; }
  .br-grid img { height: 80px; }
}

/* ---------- Closing CTA ---------- */
.cta-strip {
  background: #f7f9fd;
  padding: 0 0 calc(24 * var(--x));
}
.cta-card {
  position: relative;
  display: flex;
  width: min(calc(1388 * var(--x)), calc(100% - 48px));
  min-height: calc(318 * var(--x));
  margin: 0 auto;
  background: #fff;
  border-radius: calc(18 * var(--x));
  box-shadow: 0 12px 40px rgba(15, 35, 75, .07);
  overflow: hidden;
}
.cta-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(30 * var(--x)) calc(38 * var(--x)) calc(30 * var(--x)) 0;
}
.cta-img {
  width: 60%;
  height: auto;
  align-self: stretch;
  flex-shrink: 0;
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(270deg, transparent 0%, #000 18%);
}
.cta-copy h2 { margin: 0; font-size: calc(44 * var(--x)); font-weight: 700; line-height: 1.3; color: var(--navy); }
.cta-copy p { margin: calc(14 * var(--x)) 0 0; font-size: calc(19.5 * var(--x)); color: var(--ink-soft); }
.cta-actions { display: flex; gap: calc(16 * var(--x)); margin-top: calc(34 * var(--x)); }
.cta-actions .btn { height: calc(60 * var(--x)); min-width: calc(242 * var(--x)); font-size: calc(19 * var(--x)); border-radius: calc(10 * var(--x)); }
.btn-green { background: #1da764; color: #fff; box-shadow: 0 8px 22px rgba(29, 167, 100, .25); }
.btn-green:hover { background: #168c53; transform: translateY(-1px); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: #062956;
  color: #fff;
}
.footer::before {
  content: "";
  position: absolute;
  top: calc(40 * var(--x));
  left: calc(-120 * var(--x));
  width: calc(340 * var(--x));
  height: calc(300 * var(--x));
  background: url(images/brand/logo-mark-white.png) no-repeat left center / contain;
  opacity: .05;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  width: min(calc(1388 * var(--x)), calc(100% - 48px));
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 454fr 269fr 325fr 393fr;
  padding-top: calc(64 * var(--x));
}
.footer-top > * { padding: 0 calc(26 * var(--x)); }
.footer-top > * + * { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.footer-top > :first-child { padding-inline-start: 0; }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand img { width: calc(112 * var(--x)); height: auto; margin-inline-start: calc(50 * var(--x)); }
.footer-brand strong { margin-top: calc(12 * var(--x)); font-size: calc(20 * var(--x)); font-weight: 700; }
.footer-brand span { font-size: calc(15 * var(--x)); font-weight: 600; }
.footer-brand p {
  margin: calc(16 * var(--x)) 0 0;
  font-size: calc(16 * var(--x));
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
}
.footer-social { display: flex; gap: calc(18 * var(--x)); margin: calc(24 * var(--x)) 0 0; padding: 0; list-style: none; }
.footer-social a {
  display: grid;
  place-items: center;
  width: calc(46 * var(--x));
  height: calc(46 * var(--x));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: calc(8 * var(--x));
  background: rgba(255, 255, 255, .03);
  color: #fff;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.footer-social svg { width: calc(22 * var(--x)); height: calc(22 * var(--x)); stroke-width: 1.7; }

.footer-col h3 { margin: calc(4 * var(--x)) 0 0; font-size: calc(19 * var(--x)); font-weight: 700; }
.footer-col ul { margin: calc(16 * var(--x)) 0 0; padding: 0; list-style: none; }
.footer-col a {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--x));
  padding: calc(10 * var(--x)) 0;
  font-size: calc(16 * var(--x));
  color: rgba(255, 255, 255, .88);
  transition: color .2s, transform .2s;
}
.footer-col a::after {
  content: "";
  width: calc(7 * var(--x));
  height: calc(7 * var(--x));
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: .8;
}
.footer-col a:hover { color: #fff; transform: translateX(-3px); }

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: calc(40 * var(--x));
  padding: calc(18 * var(--x)) 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-pay { display: flex; gap: calc(22 * var(--x)); padding-inline-end: calc(36 * var(--x)); border-inline-end: 1px solid rgba(255, 255, 255, .1); }
.footer-pay img { width: calc(102 * var(--x)); height: auto; border-radius: calc(8 * var(--x)); }
.footer-accr { display: flex; align-items: center; gap: calc(36 * var(--x)); margin-inline-end: calc(150 * var(--x)); }
.footer-accr img { height: calc(70 * var(--x)); width: auto; }
.footer-accr img + img { padding-inline-start: calc(36 * var(--x)); border-inline-start: 1px solid rgba(255, 255, 255, .12); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(22 * var(--x)) 0 calc(26 * var(--x));
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: calc(14.5 * var(--x));
  color: rgba(255, 255, 255, .85);
}
.footer-loc { display: inline-flex; align-items: center; gap: calc(10 * var(--x)); margin-inline-end: calc(100 * var(--x)); }
.footer-loc svg { width: calc(22 * var(--x)); height: calc(22 * var(--x)); }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25c063;
  color: #fff;
  box-shadow: 0 10px 26px rgba(20, 120, 60, .35);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 14px 32px rgba(20, 120, 60, .45); }
.wa-float svg { width: 34px; height: 34px; stroke-width: 1.7; }

/* ---------- CTA + footer: tablet + mobile ---------- */
@media (max-width: 1080px) {
  .cta-card { flex-direction: column; }
  .cta-img { order: -1; width: 100%; height: 220px; -webkit-mask-image: none; mask-image: none; }
  .cta-copy { padding: 26px 28px 30px; }
  .cta-copy h2 { font-size: 32px; }
  .cta-copy p { font-size: 17px; }
  .cta-actions .btn { height: 54px; min-width: 0; padding: 0 28px; font-size: 17px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 36px 0; padding-top: 48px; }
  .footer-brand { grid-column: 1 / -1; padding: 0 !important; border: 0 !important; }
  .footer-top > :nth-child(2) { padding-inline-start: 0; border: 0; }
  .footer-brand img { width: 90px; margin: 0; }
  .footer-brand p { max-width: 560px; }
  .footer-badges { flex-wrap: wrap; gap: 20px; }
  .footer-pay { border: 0; padding: 0; }
  .footer-accr { margin: 0; }
  .footer-accr img { height: 56px; }
  .footer-loc { margin: 0; }
}

@media (max-width: 600px) {
  .cta-card { width: calc(100% - 32px); }
  .cta-img { height: 170px; object-position: 30% center; }
  .cta-copy { padding: 22px 18px 24px; }
  .cta-copy h2 { font-size: 25px; }
  .cta-copy p { font-size: 15px; }
  .cta-actions { flex-direction: column; gap: 10px; margin-top: 22px; }
  .footer-inner { width: calc(100% - 32px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .footer-top > :nth-child(4) { grid-column: 1 / -1; padding-inline-start: 0; border: 0; }
  .footer-top > * { padding: 0 14px; }
  .footer-col h3 { font-size: 17px; }
  .footer-col a { font-size: 14.5px; padding: 8px 0; }
  .footer-brand p { font-size: 14.5px; }
  .footer-social { gap: 10px; }
  .footer-badges { flex-direction: column; align-items: flex-start; }
  .footer-pay img { width: 84px; }
  .footer-accr { gap: 18px; }
  .footer-accr img { height: 46px; }
  .footer-accr img + img { padding-inline-start: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 96px; font-size: 13px; }
  .wa-float { width: 56px; height: 56px; left: 16px; bottom: 16px; }
  .wa-float svg { width: 30px; height: 30px; }
}

/* mada badge: clean logo inside a tile matching the Visa / Apple Pay crops */
.pay-tile {
  display: grid;
  place-items: center;
  width: calc(102 * var(--x));
  aspect-ratio: 108 / 58;
  padding: 0 calc(14 * var(--x));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: calc(8 * var(--x));
  background: #123966;
}
.footer-pay .pay-tile img { width: 100%; height: auto; border-radius: 0; }
@media (max-width: 600px) { .pay-tile { width: 84px; padding: 0 11px; } }

.pay-visa { padding: 0 calc(20 * var(--x)); }
.pay-apple { padding: 0 calc(24 * var(--x)); }
.footer-accr img.accr-tvtc { height: calc(56 * var(--x)); }
@media (max-width: 1080px) { .footer-accr img.accr-tvtc { height: 46px; } }
@media (max-width: 600px) { .footer-accr img.accr-tvtc { height: 36px; } }
.footer-accr img.accr-nelc { height: calc(64 * var(--x)); }
@media (max-width: 1080px) { .footer-accr img.accr-nelc { height: 52px; } }
@media (max-width: 600px) { .footer-accr img.accr-nelc { height: 42px; } }

/* ---------- Hero (demo 2): photo bottom-left, copy right, feature cards + trust logos ---------- */
.hero2 {
  min-height: max(100vh, calc(900 * var(--u)));
  background:
    radial-gradient(ellipse at 85% 30%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #f9f7f4 0%, #f5f6f8 100%);
}
/* the banner fills the band between the menu and the cards, like the mockup;
   site.js measures that band and sets the size and left offset (--img-w is reused by the corner shapes) */
/* fills the strip left of the banner on wide screens by stretching the banner's own left edge (sized in site.js) */
.hero2-ext {
  position: absolute;
  display: none;
  left: 0;
  background: url(images/hero/hero-v2.jpg) no-repeat left top;
  pointer-events: none;
}
/* continues the photo's own bottom edge (its blue and beige corner) straight down into the 45deg split (sized in site.js) */
.hero2-ext-b {
  position: absolute;
  display: none;
  left: 0;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero2-img {
  position: absolute;
  left: 0;
  top: calc(84 * var(--u));
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 80%, transparent 100%);
}
/* cards + logo row; the photo's table edge lines up with the top of this block (see site.js) */
.hero2-lower {
  --cut: 18vw;                 /* site.js trims it so the corner never reaches the partners button */
  margin-top: calc(52 * var(--u));
  position: relative;
  z-index: 1;                  /* keeps the panel below inside this group, so the logos' multiply blend still has a backdrop */
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* light panel from the cards down, hiding the photo, with a 45deg cut at the bottom-left corner */
.hero2-lower::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: calc(-26 * var(--u));
  left: calc(-94 * var(--x));
  right: calc(-71 * var(--x));
  background: #f8f8f7;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.hero2-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(160 * var(--u)) calc(71 * var(--x)) calc(26 * var(--u)) calc(94 * var(--x));
}
.hero2-copy { align-self: flex-start; margin-inline-start: calc(60 * var(--x)); }
.hero2-kicker { display: block; font-size: calc(23 * var(--u)); font-weight: 500; color: #6b7383; }
.hero2 h1 {
  margin: calc(26 * var(--u)) 0 0;
  font-size: calc(68 * var(--u));
  font-weight: 700;
  line-height: 1.24;
  color: var(--navy);
  white-space: nowrap;
}
.hero2-sub {
  margin: calc(26 * var(--u)) 0 0;
  font-size: calc(23.5 * var(--u));
  line-height: 1.75;
  color: var(--ink-soft);
}
.hero2-cta { display: flex; gap: calc(19 * var(--x)); margin-top: calc(30 * var(--u)); }
.hero2-cta .btn { height: calc(62 * var(--u)); font-size: calc(19 * var(--u)); border-radius: calc(10 * var(--u)); }
.hero2-cta .btn-primary { min-width: calc(268 * var(--u)); }
.hero2-cta .btn-outline { min-width: calc(258 * var(--u)); background: rgba(255, 255, 255, .7); }

.hero2-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(14 * var(--x));
  margin: 0 0 0 calc(56 * var(--x));
  padding: 0;
  list-style: none;
}
.hero2-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(14 * var(--u));
  min-height: calc(146 * var(--u));
  padding: calc(14 * var(--u)) calc(10 * var(--x));
  border: 1px solid #e9edf3;
  border-radius: calc(16 * var(--u));
  background: #fbfbfc;
  box-shadow: 0 8px 24px rgba(15, 35, 75, .07);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.hero2-features li:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 35, 75, .1); }
.hero2-features svg { width: calc(36 * var(--u)); height: calc(36 * var(--u)); color: #1f4f9a; stroke-width: 1.5; }
.hero2-features strong { font-size: calc(18 * var(--u)); font-weight: 600; line-height: 1.55; color: var(--navy); }

.hero2-trust {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: calc(30 * var(--u));
}
.hero2-logos {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-evenly;
  margin: 0 0 0 calc(40 * var(--x));
  padding: 0;
  list-style: none;
}
.hero2-logos img {
  height: calc(84 * var(--u));
  width: auto;
  mix-blend-mode: multiply;
  opacity: .8;
  filter: saturate(.75);
  transition: opacity .2s, filter .2s;
}
.hero2-logos img[src$="nelc.png"] { height: calc(58 * var(--u)); }
.hero2-logos img:hover { opacity: 1; filter: none; }
.hero2-partners-btn {
  display: inline-flex;
  align-items: center;
  height: calc(54 * var(--u));
  margin-inline-start: auto;
  padding: 0 calc(34 * var(--x));
  border-radius: calc(10 * var(--u));
  background: #e9edf3;
  font-size: calc(17 * var(--u));
  font-weight: 500;
  color: #3d4757;
  transition: background .2s, color .2s;
}
.hero2-partners-btn:hover { background: var(--navy); color: #fff; }

/* ---------- Hero (demo 2): tablet + mobile ---------- */
@media (max-width: 1080px) {
  .hero2 { min-height: 0; }
  .hero2-img {
    position: relative;
    top: auto;
    width: 100%;
    height: 340px;
    margin-top: 76px;
    object-fit: cover;
    object-position: 26% center;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero2-inner { padding: 8px 24px 32px; }
  .hero2-copy { align-self: stretch; margin-inline-start: 0; }
  .hero2-kicker { font-size: 17px; }
  .hero2 h1 { margin-top: 10px; font-size: 44px; white-space: normal; }
  .hero2-sub { margin-top: 16px; font-size: 18px; }
  .hero2-cta { gap: 12px; margin-top: 24px; }
  .hero2-cta .btn { height: 52px; font-size: 16px; padding: 0 26px; }
  .hero2-features { grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0; }
  .hero2-features li { min-height: 120px; padding: 12px 6px; gap: 10px; }
  .hero2-features svg { width: 30px; height: 30px; }
  .hero2-features strong { font-size: 14px; }
  .hero2-trust { flex-wrap: wrap; gap: 20px; padding-top: 30px; }
  .hero2-logos { gap: 36px; margin: 0; flex: none; justify-content: flex-start; }
  .hero2-logos img { height: 60px; }
  .hero2-logos img[src$="nelc.png"] { height: 42px; }
  .hero2-partners-btn { height: 46px; padding: 0 24px; font-size: 15px; }
}

@media (max-width: 600px) {
  .hero2-img { height: 260px; margin-top: 68px; object-position: 24% center; }
  .hero2-inner { padding: 4px 16px 28px; }
  .hero2-kicker { font-size: 15px; }
  .hero2 h1 { font-size: 32px; }
  .hero2-sub { font-size: 15.5px; }
  .hero2-sub br { display: none; }
  .hero2-cta { flex-direction: column; }
  .hero2-cta .btn { width: 100%; min-width: 0; }
  .hero2-features { grid-template-columns: 1fr 1fr; }
  .hero2-features li:last-child { grid-column: 1 / -1; }
  .hero2-features li { min-height: 104px; }
  .hero2-features strong br { display: none; }
  .hero2-logos { width: 100%; justify-content: space-between; gap: 12px; }
  .hero2-logos img { height: 44px; }
  .hero2-logos img[src$="nelc.png"] { height: 30px; }
  .hero2-partners-btn { width: 100%; justify-content: center; margin: 0; }
}
@media (max-width: 1080px) { .hero2-lower::before, .hero2-ext-b { display: none !important; } .hero2-lower { margin-top: 32px; z-index: auto; } }
/* ---------- Liquid glass menu (same as demo 3) ----------
   Port of "Nimbus UI · Liquid Navbar (Waterline)" by guglielmogiannattasio.it; behaviour lives in liquid-nav.js.
   Desktop only: on tablet and phone the links fall back to the normal dropdown. */
@media (min-width: 1081px) {
  #navLinks.nimbus-nav {
    --n-tint: rgba(255, 255, 255, .14); --n-fg: #0B132B; --n-fg-soft: rgba(11, 19, 43, .62); --n-rim: rgba(255, 255, 255, .7);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border-radius: 999px;
    isolation: isolate;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  #navLinks.nimbus-nav[data-tone="dark"] { --n-tint: rgba(10, 18, 40, .26); --n-fg: #F1F7FF; --n-fg-soft: rgba(241, 247, 255, .7); --n-rim: rgba(255, 255, 255, .34); }
  .nimbus-glass {
    position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit;
    background: var(--n-tint);
    -webkit-backdrop-filter: blur(10px) saturate(1.2) brightness(1.08);
    backdrop-filter: blur(10px) saturate(1.2) brightness(1.08);
    box-shadow: inset 0 1px 1px var(--n-rim), inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 32px -14px rgba(0, 40, 90, .5), 0 2px 6px rgba(0, 40, 90, .1);
  }
  .nimbus-water { position: absolute; left: -14px; top: -14px; z-index: -1; pointer-events: none; }
  #navLinks[data-gl="off"] .nimbus-water { display: none; }
  .nimbus-drop {
    display: none; position: absolute; top: 6px; bottom: 6px; left: 0; z-index: -1; border-radius: 999px; pointer-events: none; will-change: transform, width;
    background: radial-gradient(120% 140% at 30% 0%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 55%), rgba(255, 255, 255, .38);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -2px 6px rgba(0, 162, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 6px 16px -6px rgba(0, 70, 140, .45);
  }
  #navLinks[data-gl="off"] .nimbus-drop { display: block; }

  #navLinks.nimbus-nav .nimbus-item {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: calc(var(--W) * .005);
    height: calc(var(--W) * .027);
    padding: 0 calc(var(--W) * .0085);
    border-radius: 999px;
    font-size: calc(var(--W) * .0094);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: var(--n-fg-soft);
    transition: color .25s;
  }
  #navLinks.nimbus-nav .nimbus-item:hover,
  #navLinks.nimbus-nav .nimbus-item[aria-current="page"] { color: var(--n-fg); }
  #navLinks.nimbus-nav .nimbus-item:focus-visible { outline: 2px solid #00A2FF; outline-offset: 2px; }
  #navLinks.nimbus-nav .nimbus-item[aria-current="page"]::after { display: none; }
  .nav .nav-search { margin-inline-start: calc(var(--W) * .012); }
}

.nv-ico { position: relative; display: inline-flex; flex: none; }
.nv-ico svg { width: 18px; height: 18px; stroke-width: 1.8; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.nimbus-item[aria-current="page"] .nv-ico svg { transform: translateY(-1px) scale(1.08); }
.nv-door { fill: transparent; }
.nv-ico[data-fx="pop"] svg { animation: nvPop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes nvPop { 0% { transform: scale(.72); } 60% { transform: scale(1.2); } 100% { transform: translateY(-1px) scale(1.08); } }
.nv-ico[data-fx="plane"] svg { animation: nvPlane 1.15s cubic-bezier(.55, 0, .3, 1) both; }
@keyframes nvPlane { 0% { transform: none; } 12% { transform: translate(-3px, 2px) rotate(7deg); } 42% { transform: translate(64px, -26px) rotate(-24deg) scale(.9); opacity: 0; } 43% { transform: translate(-60px, 16px) rotate(-12deg) scale(.9); opacity: 0; } 58% { opacity: 1; } 80% { transform: translate(3px, -1px) rotate(2deg); } 100% { transform: translateY(-1px) scale(1.08); } }
.nv-ico[data-fx="plane"]::after { content: ""; position: absolute; left: 55%; top: 48%; height: 2px; width: 46px; border-radius: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95)); animation: nvTrail 1.15s ease-out both; pointer-events: none; }
@keyframes nvTrail { 0%, 8% { opacity: 0; transform: rotate(-22deg) scaleX(0); } 30% { opacity: .9; transform: rotate(-22deg) scaleX(1); } 55%, 100% { opacity: 0; transform: rotate(-22deg) translateX(30px) scaleX(.2); } }
.nv-ico[data-fx="drop"] svg { animation: nvDrop .95s cubic-bezier(.4, 0, .3, 1) both; transform-origin: 50% 100%; }
@keyframes nvDrop { 0% { transform: translateY(-1px); } 26% { transform: translateY(-13px) scale(.88, 1.12); } 46% { transform: translateY(3px) scale(1.3, .68); } 62% { transform: translateY(-3px) scale(.92, 1.08); } 80% { transform: translateY(0) scale(1.04, .97); } 100% { transform: translateY(-1px) scale(1.08); } }
.nv-ico[data-fx="drop"]::before, .nv-ico[data-fx="drop"]::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: 0; pointer-events: none; }
.nv-ico[data-fx="drop"]::before { animation: nvSplashL .95s ease-out both; }
.nv-ico[data-fx="drop"]::after { animation: nvSplashR .95s ease-out both; }
@keyframes nvSplashL { 0%, 44% { opacity: 0; transform: none; } 50% { opacity: .9; transform: translate(-5px, -6px); } 75%, 100% { opacity: 0; transform: translate(-11px, 1px) scale(.4); } }
@keyframes nvSplashR { 0%, 44% { opacity: 0; transform: none; } 50% { opacity: .9; transform: translate(5px, -7px); } 75%, 100% { opacity: 0; transform: translate(12px, 1px) scale(.4); } }
.nv-ico[data-fx="spin"] svg { animation: nvSpin 1s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes nvSpin { 0% { transform: perspective(80px) rotateY(0); } 100% { transform: perspective(80px) rotateY(360deg) translateY(-1px) scale(1.08); } }
.nv-ico[data-fx="glow"] svg { animation: nvHop .8s cubic-bezier(.3, 1.4, .5, 1) both; transform-origin: 50% 100%; }
@keyframes nvHop { 0% { transform: none; } 30% { transform: translateY(-5px) scale(1.04, .96); } 55% { transform: translateY(0) scale(1.12, .88); } 75% { transform: translateY(-2px) scale(.98, 1.04); } 100% { transform: translateY(-1px) scale(1.08); } }
.nv-ico[data-fx="glow"] .nv-door { animation: nvDoor 1.3s ease both; }
@keyframes nvDoor { 0% { fill: transparent; } 30% { fill: #FFF3A8; } 100% { fill: rgba(126, 232, 255, .6); } }
.nv-ico[data-fx="wave"] svg { animation: nvWave .9s ease-in-out both; transform-origin: 50% 92%; }
@keyframes nvWave { 0% { transform: none; } 20% { transform: rotate(-15deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } 100% { transform: translateY(-1px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .nv-ico svg, .nv-ico::before, .nv-ico::after, .nv-door { animation: none !important; transition: none; } }

/* tablet + phone: plain dropdown links with their icons */
@media (max-width: 1080px) {
  .nimbus-glass, .nimbus-water, .nimbus-drop { display: none; }
  #navLinks.nimbus-nav .nimbus-item { display: flex; align-items: center; gap: 10px; }
}
@media (min-width: 1081px) {
  #navLinks.nimbus-nav .nimbus-item { height: calc(var(--W) * .029); font-size: calc(var(--W) * .0099); }
}

/* the menu slides away while scrolling down and comes back on scroll up (site.js) */
.nav { transition: transform .35s ease, box-shadow .25s, background .25s; }
.nav.is-hidden { transform: translateY(-110%); box-shadow: none; }
/* this demo has no --W; size the pill like demo 3 relative to the 1440x900 scale */
:root { --W: calc(var(--u) * 1672); }

/* contact photo: keep the logo wall in view when the card crops it */
.contact-img { object-position: 64% center; }
