/* ==========================================================================
   Ubuhle Bencha Academy — styles
   ========================================================================== */

:root {
  --navy-900: #071630;
  --navy: #0B1F3A;
  --navy-700: #13305A;
  --blue: #2456D6;
  --blue-600: #1C47B8;
  --blue-bright: #3B7BFF;
  --blue-50: #F3F6FC;
  --blue-100: #E7EEFA;
  --blue-200: #CFDDF5;
  --ink: #1C2330;
  --ink-soft: #4A5567;
  --muted: #6B7587;
  --line: #E3E8F0;
  --white: #fff;
  --wa: #1FA855;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18);
  --shadow-lg: 0 30px 60px -24px rgba(11, 31, 58, .28);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--navy); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; font-weight: 700; }
.accent { display: block; font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--blue); letter-spacing: -0.01em; font-size: 1.08em; line-height: 1.02; margin-top: .08em; }
.lead { font-size: clamp(1.075rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow-line { width: 28px; height: 1.5px; background: currentColor; display: inline-block; }
.eyebrow-light { color: #9DBBFF; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-bottom: 16px; }
.section-intro { color: var(--ink-soft); font-size: 1.1rem; }
.fine-print { font-size: .875rem; color: var(--muted); margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --btn-bg: var(--blue-600); --btn-bd: var(--blue-600); box-shadow: 0 10px 24px -10px rgba(36, 86, 214, .6); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: #C7D2E3; }
.btn-outline:hover { --btn-bd: var(--navy); --btn-bg: var(--navy); --btn-fg: #fff; }
.btn-ghost { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--line); }
.btn-ghost:hover { --btn-bd: var(--blue); --btn-fg: var(--blue); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--blue-100); --btn-bd: var(--blue-100); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn-outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.08); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .8rem; }
.btn-lg { min-height: 56px; padding: 15px 28px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.i-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .i-arrow, .text-link:hover .i-arrow { transform: translateX(3px); }
.i-wa { width: 19px; height: 19px; flex: none; }
.btn-outline .i-wa, .btn-ghost .i-wa, .btn-light .i-wa { color: var(--wa); }
.btn-outline:hover .i-wa { color: #fff; }
.i-line { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--blue); }
.text-link:hover { color: var(--blue-600); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; transition: width .3s var(--ease), height .3s var(--ease); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.brand-sub { font-family: var(--font-display); font-weight: 600; font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; color: var(--blue); margin-top: 5px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: #9DBBFF; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,31,58,.35); }
.site-header.is-scrolled .header-inner { height: 66px; }
.site-header.is-scrolled .brand-mark { width: 34px; height: 34px; }

.primary-nav ul { display: flex; gap: 4px; }
.primary-nav a { position: relative; display: block; padding: 10px 14px; font-size: .94rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.primary-nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav ul a:hover, .primary-nav ul a.is-active { color: var(--navy); }
.primary-nav ul a:hover::after, .primary-nav ul a.is-active::after { transform: scaleX(1); }
.mobile-nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-wa { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--navy); padding: 8px 4px; }
.header-wa .i-wa { color: var(--wa); }
.header-wa:hover { color: var(--blue); }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Image frames ---------- */
.img-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-100); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-tag {
  position: absolute; left: 18px; bottom: 18px;
  background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 14px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 100%; background: var(--blue-50); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .btn-row { margin-top: 36px; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-pillars li { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .95rem; letter-spacing: .02em; display: flex; align-items: baseline; gap: 10px; }
.hero-pillars span { font-size: .72rem; color: var(--blue); letter-spacing: .1em; }
.hero-media { position: relative; }
.hero-frame { aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.hero-frame img { object-position: 72% 40%; }
.hero-card {
  position: absolute; left: -28px; bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 20px 16px 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero-card-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; flex: none; }
.hero-card-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-card strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: .95rem; }
.hero-card small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-frame { aspect-ratio: 4 / 5; }
.intro-copy h2 { margin-bottom: 24px; max-width: 14em; }
.intro-copy > p { color: var(--ink-soft); max-width: 36em; }
.intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.intro-points h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.intro-points h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.intro-points p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { background: var(--blue-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--blue); border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.service-card:hover::before { transform: scaleX(1); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.service-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--blue-100); display: grid; place-items: center; }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-num { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.service-card h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-bottom: 14px; }
.service-card > p { color: var(--ink-soft); }
.check-list { margin: 24px 0 36px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232456D6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.service-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.services-note { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 28px; background: #fff; border: 1px dashed var(--blue-200); border-radius: var(--radius-lg); }
.services-note p { margin: 0; color: var(--ink-soft); font-weight: 500; }

/* ---------- Why ---------- */
.why { background: var(--navy); color: #C6D2E6; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(59,123,255,.12), transparent); pointer-events: none; }
.why h2, .why h3 { color: #fff; }
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); position: relative; z-index: 1; }
.why-head > p { max-width: 30em; font-size: 1.05rem; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); position: relative; z-index: 1; }
.why-item { padding: 36px 28px 8px 0; position: relative; }
.why-item + .why-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.why-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: #7FA5FF; margin-bottom: 28px; }
.why-icon { width: 34px; height: 34px; fill: none; stroke: #8DB1FF; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 10px; text-transform: none; }
.why-item p { font-size: .95rem; line-height: 1.6; }

/* ---------- Split (Interview prep) ---------- */
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-frame { aspect-ratio: 4 / 5; }
.split-frame img { object-position: 50% 30%; }
.split-copy h2 { margin-bottom: 22px; max-width: 13em; }
.split-copy > p { color: var(--ink-soft); }
.feature-list { margin-top: 32px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); font-size: 1.02rem; }
.fl-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--blue-200); display: grid; place-items: center; transition: background-color .25s, border-color .25s; }
.fl-icon svg { width: 15px; height: 15px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.feature-list li:hover .fl-icon { background: var(--blue); border-color: var(--blue); }
.feature-list li:hover .fl-icon svg { stroke: #fff; }

/* ---------- Matching ---------- */
.matching { background: var(--blue-50); border-top: 1px solid var(--line); }
.matching-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.matching-copy h2 { margin-bottom: 22px; max-width: 12em; }
.matching-copy > p { color: var(--ink-soft); }
.matching-media { position: relative; padding-bottom: 60px; }
.matching-main { aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.matching-inset { position: absolute; right: -16px; bottom: 0; width: 44%; aspect-ratio: 3 / 2; border: 6px solid #fff; box-shadow: var(--shadow-lg); }

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 96px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px); position: relative; counter-reset: proc; }
.process-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 6px, transparent 6px 12px);
}
.process-step:not(:last-child)::before {
  content: ""; position: absolute; top: 24px; right: calc(-50% + 36px); width: 8px; height: 8px;
  border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); transform: rotate(45deg); z-index: 1;
}
.process-node { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--blue-200); background: #fff; display: grid; place-items: center; margin-bottom: 18px; position: relative; z-index: 1; transition: background-color .3s, border-color .3s; }
.process-node svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.process-node-end { background: var(--navy); border-color: var(--navy); }
.process-node-end svg { stroke: #fff; }
.process-step:hover .process-node:not(.process-node-end) { background: var(--blue-100); border-color: var(--blue); }
.process-label { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.process-desc { font-size: .9rem; color: var(--muted); line-height: 1.5; max-width: 17em; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 0 0; border-top: 2px solid var(--line); transition: border-color .4s var(--ease); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--blue); transition: width .5s var(--ease); }
.step:hover::before { width: 100%; }
.step-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Apply ---------- */
.apply { background: linear-gradient(180deg, #fff 0, #fff 18%, var(--blue-50) 18%, var(--blue-50) 100%); }
.apply-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line); }
.apply-aside { background: var(--navy); color: #C6D2E6; padding: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.apply-aside::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.02); pointer-events: none; }
.apply-aside h2 { color: #fff; margin-bottom: 14px; }
.apply-lead { font-size: 1.1rem; color: #DCE5F4; }
.apply-next { margin: 40px 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.apply-next h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.apply-next ol { display: grid; gap: 16px; }
.apply-next li { display: flex; gap: 14px; font-size: .97rem; line-height: 1.5; }
.apply-next li span { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(157,187,255,.5); color: #9DBBFF; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.apply-contact { margin-top: auto; position: relative; z-index: 1; }
.apply-contact p { color: #fff; font-weight: 600; margin-bottom: 12px; }
.apply-email { display: inline-block; margin-top: 16px; color: #9DBBFF; font-size: .95rem; word-break: break-all; }
.apply-email:hover { color: #fff; }

.form-card { padding: clamp(28px, 4.5vw, 56px); position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.req { color: var(--blue); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font-size: 1rem; /* ≥16px prevents iOS zoom */
  background: #fff; border: 1.5px solid #D5DCE7; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #9AA3B2; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B6C2D4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,86,214,.12); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.8px solid var(--navy); border-bottom: 1.8px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select { padding-right: 44px; cursor: pointer; }
.select-wrap select:invalid { color: #9AA3B2; }
.select-wrap select option { color: var(--ink); }

.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--blue-50); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.field-check input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid #B6C2D4; border-radius: 5px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.field-check input::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.field-check input:checked { background: var(--blue); border-color: var(--blue); }
.field-check input:checked::after { opacity: 1; }
.field-check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.field-check label { flex: 1; min-width: 0; margin: 0; font-weight: 500; color: var(--ink); font-size: .95rem; line-height: 1.5; cursor: pointer; }
.field-check .field-error { flex-basis: 100%; }

.field-error { font-size: .82rem; color: #B42318; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.field.has-error input:not([type="checkbox"]), .field.has-error select, .field.has-error textarea { border-color: #D92D20; }
.field.has-error input[type="checkbox"] { border-color: #D92D20; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.btn-submit { min-width: 240px; position: relative; }
.form-note { flex: 1; min-width: 220px; font-size: .84rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin: 16px 0 0; font-size: .92rem; color: #B42318; }
.form-status:empty { display: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
.is-submitting .spinner { display: inline-block; }
.is-submitting .btn-submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: clamp(24px, 6vw, 72px) clamp(8px, 3vw, 32px); display: flex; flex-direction: column; align-items: center; outline: none; }
.form-success[hidden] { display: none; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-100); display: grid; place-items: center; margin-bottom: 24px; animation: pop .5s var(--ease); }
.success-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 12px; }
.form-success p { color: var(--ink-soft); max-width: 30em; margin-bottom: 28px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact-copy h2 { margin-bottom: 18px; max-width: 12em; }
.contact-copy > p { color: var(--ink-soft); max-width: 32em; }
.contact-cards { display: grid; gap: 14px; margin-top: 32px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); min-width: 0; }
.contact-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--blue-100); display: grid; place-items: center; flex: none; }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-meta { display: flex; flex-direction: column; min-width: 0; }
.contact-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: clamp(1rem, 1.6vw, 1.15rem); overflow-wrap: anywhere; }
.contact-frame { aspect-ratio: 4 / 3.4; }
.contact-frame img { object-position: 30% 50%; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 0 0 var(--section-y); }
.final-panel { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 32px; }
.final-copy { position: relative; z-index: 1; }
.final-kicker { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #9DBBFF; margin-bottom: 20px; }
.final-panel h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); max-width: 14em; margin-bottom: 18px; }
.final-panel p:not(.final-kicker) { color: #C6D2E6; font-size: 1.1rem; max-width: 34em; }
.final-graphic { width: 100%; height: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #A9B7CE; padding: clamp(56px, 7vw, 88px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-tagline { margin-top: 20px; color: #C6D2E6; }
.site-footer h3 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.footer-nav a, .footer-contact a { transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #fff; }
.footer-contact ul { display: grid; gap: 14px; }
.footer-contact li { display: flex; flex-direction: column; }
.footer-contact li span { font-size: .75rem; color: #6F82A3; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact a { color: #DCE5F4; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 24px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: none; place-items: center;
  background: #fff; color: var(--wa); border: 1px solid var(--line);
  box-shadow: 0 10px 28px -10px rgba(11,31,58,.45);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-visible { transform: none; opacity: 1; pointer-events: auto; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(8% 8% 8% 8% round var(--radius-lg)); transition: clip-path 1.1s var(--ease); }
.js .img-reveal img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
.js .img-reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js .img-reveal.is-visible img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal, .js .img-reveal, .js .img-reveal img { opacity: 1; transform: none; clip-path: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .primary-nav a { padding: 10px 10px; }
  .primary-nav ul a::after { left: 10px; right: 10px; }
  .header-wa span { display: none; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; }
  .why-item { padding-bottom: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .header-wa { display: none; }
  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 72px); bottom: 0;
    background: #fff; padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { padding: 18px 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }
  .primary-nav ul a::after { display: none; }
  .mobile-nav-extra { display: grid; gap: 12px; margin-top: 28px; }
  .mobile-nav-contact { margin-top: 12px; color: var(--ink-soft); font-size: .95rem; line-height: 1.9; }
  body.nav-open { overflow: hidden; }

  .hero::before { width: 100%; height: 42%; top: auto; bottom: 0; }
  .hero-grid, .intro-grid, .split-grid, .matching-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-frame { aspect-ratio: 4 / 3; }
  .hero-card { left: 16px; bottom: -24px; }
  .hero-media { margin-bottom: 24px; }
  .intro-frame, .split-frame { aspect-ratio: 4 / 3.6; max-height: 560px; }
  .intro-frame img { object-position: 50% 35%; }
  .split-frame img { object-position: 50% 25%; }
  .matching-media { order: -1; }
  .matching-inset { right: 12px; }
  .why-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .apply-grid { grid-template-columns: minmax(0, 1fr); }
  .apply-next { margin: 32px 0; }
  .final-panel { grid-template-columns: 1fr; }
  .final-graphic { position: absolute; right: -40px; bottom: -30px; width: 340px; opacity: .6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .wa-float { display: grid; }
}

@media (max-width: 720px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 28px 24px; }
  .process-step { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; column-gap: 18px; padding: 0 0 28px; }
  .process-step:last-child { padding-bottom: 0; }
  .process-node { margin: 0; grid-row: span 2; }
  .process-step > .process-label, .process-step > .process-desc { flex: 1 1 calc(100% - 80px); }
  .process-step { display: grid; grid-template-columns: 58px 1fr; row-gap: 2px; }
  .process-label { margin: 0; align-self: end; }
  .process-desc { max-width: none; align-self: start; }
  .process-step:not(:last-child)::after { top: 62px; bottom: 4px; left: 28px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-200) 0 6px, transparent 6px 12px); }
  .process-step:not(:last-child)::before { display: none; }
  .services-note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header-inner { gap: 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: .88rem; letter-spacing: .05em; }
  .brand-sub { font-size: .58rem; letter-spacing: .36em; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: .72rem; min-height: 40px; letter-spacing: .05em; }
  .nav-toggle { width: 42px; height: 42px; }
  .nav-toggle span { left: 11px; right: 11px; }
  .nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 20px; } .nav-toggle span:nth-child(3) { top: 26px; }

  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .hero-pillars { gap: 8px 20px; margin-top: 36px; }
  .hero-card { padding: 12px 16px 12px 12px; right: 16px; }
  .hero-card-icon { width: 38px; height: 38px; }
  .intro-points { grid-template-columns: 1fr; gap: 24px; }
  .service-actions .btn { width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 28px 0 0; border-left: 0; }
  .why-item + .why-item { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; }
  .why-num { margin-bottom: 16px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .btn-submit { width: 100%; min-width: 0; }
  .form-card { padding: 28px 20px; }
  .apply-aside { padding: 32px 24px; }
  .matching-media { padding-bottom: 40px; }
  .matching-inset { width: 50%; border-width: 4px; }
  .contact-card { padding: 16px; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; padding-bottom: 92px; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: .8rem; }
  .brand-sub { font-size: .54rem; letter-spacing: .32em; }
  .header-actions .btn-sm { padding: 8px 10px; font-size: .68rem; }
}

@media (max-width: 330px) {
  .brand-text { display: none; }
}

/* ---------- Sub pages (privacy, terms, thank-you, 404) ---------- */
.subpage { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.subpage-main { flex: 1; }
.subpage .site-footer { padding-top: 0; }
.subpage .footer-bottom { border-top: 0; padding-bottom: 28px; flex-direction: row; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose .btn { text-decoration: none; color: var(--btn-fg); }
.prose-note { padding: 16px 20px; background: var(--blue-50); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 40px 0; }
.thanks .lead { margin: 0 auto; }
.thanks .btn-row { justify-content: center; }
@media (max-width: 600px) { .subpage .footer-bottom { flex-direction: column; padding-bottom: 28px; } }

/* ---------- Programme & partnership (content update) ---------- */
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-note { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.service-link { margin-top: auto; padding-top: 24px; }
.partner-types { margin: 8px 0 20px; padding-left: 1.1em; color: var(--ink-soft); }
.partner-types li { margin-bottom: 10px; }
.programme { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-top: clamp(48px, 6vw, 80px); }
.programme-table, .programme-who { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.programme h3 { margin-bottom: 18px; }
.programme table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.programme th, .programme td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.programme td:last-child, .programme thead th:last-child { text-align: right; white-space: nowrap; }
.programme thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.programme tfoot th, .programme tfoot td { font-weight: 700; color: var(--navy); border-bottom: 0; }
.programme-who .btn { margin-top: 24px; }
.partner { background: var(--blue-50); border-top: 1px solid var(--line); }
.partner-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 64px; margin-bottom: 48px; }
.partner-head p { color: var(--ink-soft); }
.partner-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); }
.partner-card h3 { margin-bottom: 18px; }
.partner-list { columns: 2; column-gap: 32px; padding-left: 1.1em; color: var(--ink-soft); }
.partner-list li { margin-bottom: 8px; break-inside: avoid; }
.partner-card-dark { background: var(--navy); color: #C6D2E6; border-color: var(--navy); }
.partner-card-dark h3 { color: #fff; }
.partner-actions { display: grid; gap: 12px; margin-top: 28px; }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .programme, .partner-head, .partner-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .service-grid { grid-template-columns: 1fr; } .partner-list { columns: 1; } }
