/* =========================================================
   C4I Africa — Corporate Website
   Design system, layout & components
   Brand: Primary #ae1f02 · Secondary #ffffff · Font: Montserrat
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand: #ae1f02;
  --brand-600: #9a1b02;
  --brand-700: #7d1601;
  --brand-800: #5c1001;
  --brand-tint: #fbeeea;
  --brand-tint-2: #f6ded7;

  /* Neutrals (warm) */
  --ink: #1c1613;
  --ink-2: #4c433e;
  --ink-3: #756a64;
  --paper: #ffffff;
  --paper-2: #faf7f5;
  --paper-3: #f4efec;
  --line: #e8e0db;
  --line-2: #d9cfc8;

  /* Surfaces */
  --surface-dark: #1a1310;
  --surface-dark-2: #241a16;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(28, 22, 19, .06), 0 1px 3px rgba(28, 22, 19, .05);
  --shadow-md: 0 6px 18px rgba(28, 22, 19, .08), 0 2px 6px rgba(28, 22, 19, .06);
  --shadow-lg: 0 18px 48px rgba(28, 22, 19, .14), 0 6px 16px rgba(28, 22, 19, .08);
  --shadow-brand: 0 12px 30px rgba(174, 31, 2, .28);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Type */
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 78px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--container-wide); }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--paper3 { background: var(--paper-3); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 720px; }
.measure-sm { max-width: 560px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.kicker--light { color: #f3c7bd; }
.kicker--light::before { background: #f3c7bd; }
.kicker--center { justify-content: center; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }
.section-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(174, 31, 2, .34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: #fff; color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-700); }
.textlink .arw { transition: transform .22s var(--ease); }
.textlink:hover { color: var(--brand); }
.textlink:hover .arw { transform: translateX(4px); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(255,255,255,.96); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink-2);
  font-weight: 600; font-size: .95rem; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brand-700); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.nav-phone:hover { color: var(--brand); }

/* Mobile toggle */
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2);
  background: #fff; border-radius: 10px; cursor: pointer; position: relative; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle span { top: 50%; left: 50%; transform: translate(-50%,-50%); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; padding: 22px 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column;
}
body.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 1.15rem; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.m-link[aria-current="page"] { color: var(--brand-700); }
.mobile-nav .btn { margin-top: 26px; }
.mobile-meta { margin-top: auto; padding-top: 28px; color: var(--ink-3); font-size: .9rem; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(20,15,12,.4); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 98; }
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 60%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -160px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(174,31,2,.10), transparent 62%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 26px;
}
.hero-eyebrow b { color: var(--brand-700); font-weight: 800; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint-2); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--brand); position: relative; white-space: nowrap; }
.hero-sub { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--ink-2); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.hero-proof .pf { display: flex; flex-direction: column; }
.hero-proof .pf b { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.hero-proof .pf span { font-size: .82rem; color: var(--ink-3); font-weight: 600; margin-top: 4px; }
.hero-proof .div { width: 1px; height: 40px; background: var(--line-2); }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, transparent 55%, rgba(92,16,1,.28)); }
.hero-badge {
  position: absolute; left: -22px; bottom: 34px; z-index: 2;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 268px;
}
.hero-badge .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-size: .95rem; color: var(--ink); }
.hero-badge span { font-size: .8rem; color: var(--ink-3); }
.hero-badge--top { top: 26px; right: -18px; bottom: auto; left: auto; }

/* Marquee / trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 22px 0; }
.trust .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.trust .items { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: center; }
.trust .items span { font-weight: 700; color: var(--ink-2); font-size: .96rem; display: inline-flex; align-items: center; gap: 9px; }
.trust .items span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 20px; transition: background .3s var(--ease), color .3s var(--ease);
}
.card .ic svg { width: 27px; height: 27px; }
.card:hover .ic { background: var(--brand); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .98rem; margin-bottom: 0; }
.card .num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); opacity: .5; }

/* Service card (with image) */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.svc-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .media img { transform: scale(1.06); }
.svc-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(28,19,16,.55)); }
.svc-card .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.94);
  color: var(--brand-700); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.svc-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--ink-2); font-size: .96rem; }
.svc-card .foot { margin-top: auto; padding-top: 16px; }

/* Feature list / checks */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .98rem; }
.checks li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }

/* ---------- Split / feature sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.split-media .accent-block { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--brand-tint-2); border-radius: var(--radius-lg); z-index: -1; }
.stat-chip {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; flex-direction: column; gap: 2px;
}
.stat-chip b { font-size: 1.7rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-chip span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--surface-dark); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(174,31,2,.35), transparent 45%), radial-gradient(circle at 85% 90%, rgba(174,31,2,.22), transparent 45%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.stat { text-align: center; padding: 18px; }
.stat b { display: block; font-size: clamp(2.3rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.stat b .suf { color: var(--brand); }
.stat span { display: block; margin-top: 12px; color: #d7c8c2; font-size: .92rem; font-weight: 600; }

/* ---------- Approach timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-track { position: absolute; left: 27px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(var(--brand), var(--brand-tint-2)); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 18px 0; }
.tl-step .node {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-tint-2);
  color: var(--brand); font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; z-index: 2;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.tl-step:hover .node { background: var(--brand); color: #fff; transform: scale(1.06); border-color: var(--brand); }
.tl-step .tl-body { padding-top: 6px; }
.tl-step h3 { margin-bottom: 6px; }
.tl-step p { color: var(--ink-2); margin-bottom: 0; font-size: .98rem; }
.tl-step .phase { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); opacity: .6; }

/* Horizontal process (cards) */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.process .p-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process .p-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process .p-step .n { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.process .p-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process .p-step p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.process .p-step::after { content: ""; position: absolute; top: 46px; right: -9px; width: 18px; height: 2px; background: var(--line-2); z-index: 1; }
.process .p-step:last-child::after { display: none; }

/* ---------- Value proposition band ---------- */
.vp {
  position: relative; color: #fff; border-radius: var(--radius-xl); overflow: hidden;
  padding: clamp(44px, 6vw, 76px);
  background: linear-gradient(135deg, var(--brand-800), var(--brand) 130%);
}
.vp::before { content: ""; position: absolute; inset: 0; background: url("../img/valueprop.webp") center/cover; opacity: .16; mix-blend-mode: luminosity; }
.vp::after { content: ""; position: absolute; top: -80px; right: -80px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); }
.vp .vp-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.vp h2 { color: #fff; }
.vp p { color: rgba(255,255,255,.9); }
.vp .vp-quote { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.vp .vp-list { display: grid; gap: 16px; }
.vp .vp-list .item { display: flex; gap: 14px; align-items: flex-start; }
.vp .vp-list .item .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.vp .vp-list .item .ic svg { width: 20px; height: 20px; color: #fff; }
.vp .vp-list .item b { display: block; color: #fff; font-size: 1rem; }
.vp .vp-list .item span { color: rgba(255,255,255,.82); font-size: .9rem; }

/* ---------- Quote / promise cards ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius); padding: 28px 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.promise:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promise .mark { font-size: 2.6rem; line-height: .6; color: var(--brand-tint-2); font-weight: 800; font-family: Georgia, serif; }
.promise blockquote { margin: 6px 0 14px; font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.promise cite { font-style: normal; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--brand-700); text-transform: uppercase; }

/* ---------- Industries ---------- */
.ind-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); isolation: isolate;
}
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.ind-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,10,.15) 30%, rgba(92,16,1,.86)); transition: background .3s var(--ease); }
.ind-card:hover img { transform: scale(1.07); }
.ind-card:hover::after { background: linear-gradient(180deg, rgba(20,13,10,.25) 20%, rgba(92,16,1,.92)); }
.ind-card .ind-body { position: relative; padding: 24px; color: #fff; }
.ind-card h3 { color: #fff; margin-bottom: 4px; font-size: 1.2rem; }
.ind-card p { color: rgba(255,255,255,.86); font-size: .88rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s var(--ease), margin .3s var(--ease); }
.ind-card:hover p { max-height: 90px; opacity: 1; margin-top: 6px; }

/* ---------- Tabs (training categories) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab-btn {
  font-family: var(--font); font-weight: 700; font-size: .92rem; padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2); cursor: pointer;
  transition: all .22s var(--ease);
}
.tab-btn:hover { border-color: var(--brand); color: var(--brand); }
.tab-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.tab-panel { display: none; animation: fade-up .5s var(--ease); }
.tab-panel.is-active { display: block; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  padding: 24px 48px 24px 0; position: relative; display: flex; align-items: center; gap: 14px;
}
.acc-trigger .q-ic { flex-shrink: 0; color: var(--brand); font-weight: 800; }
.acc-trigger::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.acc-item.is-open .acc-trigger::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--brand); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-panel-inner { padding: 0 40px 24px 34px; color: var(--ink-2); }
.acc-panel-inner p { margin: 0; }

/* ---------- Course catalogue ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-bottom: 36px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-tint-2); }
.course .c-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course .c-cat { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-tint); padding: 5px 10px; border-radius: 999px; }
.course .c-no { font-size: .8rem; font-weight: 800; color: var(--line-2); }
.course h4 { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.course p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.course.is-hidden { display: none; }

/* ---------- Insights ---------- */
.article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.article:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article .media { aspect-ratio: 16 / 10; overflow: hidden; }
.article .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article:hover .media img { transform: scale(1.05); }
.article .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.article .meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.article .meta .cat { color: var(--brand-700); }
.article h3 { font-size: 1.15rem; margin-bottom: 10px; }
.article p { font-size: .93rem; color: var(--ink-2); }
.article .foot { margin-top: auto; padding-top: 14px; }

/* Newsletter */
.subscribe { display: flex; gap: 12px; flex-wrap: wrap; max-width: 480px; }
.subscribe input { flex: 1; min-width: 200px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 88px) 24px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/cta.webp") center/cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(92,16,1,.94), rgba(174,31,2,.82)); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--brand); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, textarea, select {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper-2);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-tint); }
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23756a64' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--brand); background: var(--brand-tint); }
.error-msg { display: none; color: var(--brand-700); font-size: .82rem; font-weight: 600; margin-top: 6px; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: .84rem; color: var(--ink-3); }
.form-success {
  display: none; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2); color: var(--brand-800); font-weight: 600;
}
.form-success.show { display: flex; }
.form-success svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--brand); }

/* Contact info list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--ink); font-size: 1rem; }
.contact-list a, .contact-list span { color: var(--ink-2); font-size: .96rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 60px) 0 60px; background: var(--surface-dark); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 15%, rgba(174,31,2,.42), transparent 48%), radial-gradient(circle at 10% 90%, rgba(174,31,2,.2), transparent 45%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 780px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; font-size: 1.14rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-dark); color: #cbbcb5; padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { color: #a99b94; font-size: .94rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cbbcb5; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: #b3a49d; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .86rem; color: #93857f; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: #93857f; font-size: .86rem; }
.footer-legal a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-brand); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), visibility .3s, transform .3s var(--ease), background .2s; z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-700); }
.to-top svg { width: 22px; height: 22px; }

/* Skip link (a11y) */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; color: #fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .tab-btn:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .p-step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; order: -1; }
  .hero-visual .frame { aspect-ratio: 16 / 11; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .vp .vp-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .promise-grid, .course-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-proof { gap: 18px; }
  .hero-proof .div { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-badge { left: 8px; right: 8px; max-width: none; bottom: 8px; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

/* =========================================================
   ONLINE SCHOOL — Course catalogue, detail & application
   ========================================================= */

/* ---------- Catalogue toolbar (search + filters) ---------- */
.catalogue-toolbar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 36px; }
.search-box { position: relative; margin-bottom: 18px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.search-box input { padding-left: 46px; padding-top: 14px; padding-bottom: 14px; font-size: 1.02rem; }
.filter-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.filter-group label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.filter-group select { padding-top: 11px; padding-bottom: 11px; font-size: .92rem; }
.catalogue-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.catalogue-meta .count { font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.catalogue-meta .count b { color: var(--brand); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font); font-weight: 700; font-size: .82rem; padding: 8px 15px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Course cards (online-school) ---------- */
.catalogue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.course-card.is-hidden { display: none; }
.course-card .cc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.course-card .cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .cc-media img { transform: scale(1.06); }
.course-card .cc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(28,19,16,.35)); }
.course-card .cc-cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.95); color: var(--brand-700); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.course-card .cc-level { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(28,19,16,.72); color: #fff; font-size: .68rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.course-card .cc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-card .cc-body h3 { font-size: 1.12rem; line-height: 1.28; margin-bottom: 10px; }
.course-card .cc-desc { color: var(--ink-2); font-size: .92rem; margin-bottom: 16px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 8px; }
.course-meta .m { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.course-meta .m svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.cc-audience { font-size: .82rem; color: var(--ink-3); margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.cc-audience b { color: var(--ink-2); font-weight: 700; }
.cc-actions { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; }
.cc-actions .btn { flex: 1; padding: 11px 14px; font-size: .88rem; }
.catalogue-empty { text-align: center; padding: 60px 20px; color: var(--ink-3); grid-column: 1 / -1; }
.catalogue-empty svg { width: 46px; height: 46px; color: var(--line-2); margin: 0 auto 16px; }

/* ---------- Course detail ---------- */
.course-hero { position: relative; background: var(--surface-dark); color: #fff; overflow: hidden; padding: calc(var(--header-h) + 46px) 0 52px; }
.course-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 12%, rgba(174,31,2,.4), transparent 46%); }
.course-hero .container { position: relative; }
.course-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.course-hero .cat-pill { display: inline-block; background: rgba(255,255,255,.12); color: #f3c7bd; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.course-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.course-hero .intro { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 620px; margin-bottom: 26px; }
.course-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 30px; }
.course-hero-meta .m { display: flex; flex-direction: column; }
.course-hero-meta .m span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.course-hero-meta .m b { font-size: 1rem; color: #fff; font-weight: 700; margin-top: 3px; }
.course-hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; }
.course-hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.course-section { margin-bottom: 44px; }
.course-section:last-child { margin-bottom: 0; }
.course-section > h2 { font-size: 1.5rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--brand-tint-2); display: inline-block; }
.course-section p { color: var(--ink-2); }
.obj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.obj-grid li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .96rem; padding: 14px 16px; background: var(--paper-2); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.obj-grid li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.outcome-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.outcome-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.outcome-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.delivery-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.delivery-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-700); font-weight: 700; font-size: .9rem; }
.delivery-chip svg { width: 17px; height: 17px; }
.cert-card { display: flex; gap: 18px; align-items: flex-start; background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 24px; }
.cert-card .ic { flex-shrink: 0; width: 52px; height: 52px; border-radius: 13px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.cert-card .ic svg { width: 26px; height: 26px; }
.cert-card b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.cert-card p { margin: 0; font-size: .92rem; }

/* Sticky apply sidebar */
.apply-rail { position: sticky; top: calc(var(--header-h) + 20px); }
.apply-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.apply-card .ac-top { background: linear-gradient(135deg, var(--brand-800), var(--brand)); color: #fff; padding: 24px; }
.apply-card .ac-top .lbl { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f3c7bd; }
.apply-card .ac-top h3 { color: #fff; font-size: 1.15rem; margin: 8px 0 0; }
.apply-card .ac-body { padding: 22px 24px 26px; }
.apply-card .ac-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.apply-card .ac-row:last-of-type { border-bottom: none; }
.apply-card .ac-row span { color: var(--ink-3); font-weight: 600; }
.apply-card .ac-row b { color: var(--ink); text-align: right; }
.apply-card .btn { margin-top: 18px; }
.apply-card .ac-note { text-align: center; font-size: .8rem; color: var(--ink-3); margin: 12px 0 0; }

/* Related courses */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Application page ---------- */
.apply-summary { background: linear-gradient(135deg, var(--brand-800), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: 28px 30px; margin-bottom: 32px; box-shadow: var(--shadow-brand); }
.apply-summary .lbl { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f3c7bd; }
.apply-summary h2 { color: #fff; font-size: 1.5rem; margin: 8px 0 16px; }
.apply-summary .as-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.apply-summary .as-meta .m { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.92); font-weight: 600; }
.apply-summary .as-meta .m svg { width: 16px; height: 16px; opacity: .85; }
.form-section-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 8px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.form-section-title .n { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-tint); color: var(--brand); font-size: .82rem; font-weight: 800; display: grid; place-items: center; }
.form-section { margin-bottom: 30px; }
.readonly-field { background: var(--paper-3); color: var(--ink-2); cursor: not-allowed; font-weight: 600; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.consent input[type=checkbox] { width: 20px; height: 20px; min-width: 20px; margin-top: 2px; accent-color: var(--brand); cursor: pointer; }
.consent label { font-size: .9rem; color: var(--ink-2); font-weight: 500; margin: 0; cursor: pointer; }
.field.has-error .consent { border-color: var(--brand); background: var(--brand-tint); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation */
.confirm-panel { display: none; }
.confirm-panel.show { display: block; animation: fade-up .5s var(--ease); }
.confirm-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(36px, 6vw, 60px) clamp(24px, 5vw, 56px); }
.confirm-card .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin: 0 auto 24px; }
.confirm-card .tick svg { width: 44px; height: 44px; }
.confirm-card h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.confirm-card .lead { margin: 0 auto 26px; max-width: 560px; }
.confirm-recap { display: inline-flex; flex-direction: column; gap: 8px; text-align: left; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 28px; }
.confirm-recap .r { display: flex; gap: 14px; justify-content: space-between; font-size: .94rem; }
.confirm-recap .r span { color: var(--ink-3); font-weight: 600; }
.confirm-recap .r b { color: var(--ink); }
.confirm-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Online-school responsive ---------- */
@media (max-width: 1080px) {
  .catalogue-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .course-hero-grid { grid-template-columns: 1fr; }
  .course-hero-visual { order: -1; max-width: 520px; aspect-ratio: 16/10; }
  .course-layout { grid-template-columns: 1fr; }
  .apply-rail { position: static; }
  .apply-card { max-width: 480px; }
}
@media (max-width: 620px) {
  .catalogue-grid, .related-grid { grid-template-columns: 1fr; }
  .obj-grid { grid-template-columns: 1fr; }
  .cc-actions { flex-direction: column; }
  .filter-groups { grid-template-columns: 1fr; }
  .confirm-recap { display: flex; width: 100%; }
}
