/* ==========================================================================
   ISDM | Institute of Skill Development & Management
   Master Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --navy-900: #061a3a;
  --navy-800: #0a2450;
  --navy-700: #0d2f63;
  --navy-600: #123f7d;
  --navy-050: #eef3fa;

  --gold-600: #a97c1c;
  --gold-500: #c8992f;
  --gold-400: #e0b64c;
  --gold-050: #fdf6e6;

  --green-600: #17794a;
  --red-600:   #b3261e;

  --ink:    #16233a;
  --body:   #43536b;
  --muted:  #6c7b91;
  --line:   #e2e8f2;
  --line-2: #eef1f7;
  --bg:     #f5f8fc;
  --white:  #ffffff;

  --shadow-sm: 0 1px 2px rgba(6, 26, 58, .06), 0 1px 3px rgba(6, 26, 58, .05);
  --shadow-md: 0 4px 14px rgba(6, 26, 58, .08);
  --shadow-lg: 0 18px 46px rgba(6, 26, 58, .14);

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

  --ff-head: "Poppins", "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1280px;
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1.1em; }
a  { color: var(--navy-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--gold-400); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: 84px 0; }
.section--tight { padding: 58px 0; }
.section--alt  { background: var(--bg); }
.section--navy { background: var(--navy-800); color: #c9d6ea; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.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); }
.text-center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-500); color: var(--navy-900);
  padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.sec-head { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.sec-head.is-left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold-500); display: block;
}
.sec-head.is-left .eyebrow::before { display: block; }
.section--navy .eyebrow { color: var(--gold-400); }

.sec-head p { color: var(--muted); font-size: 1.03rem; margin-bottom: 0; }
.section--navy .sec-head p { color: #a9bcd8; }

.rule {
  width: 74px; height: 3px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-600));
  border-radius: 2px;
}
.sec-head.is-left .rule { margin-inline: 0; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-head); font-size: .875rem; font-weight: 600;
  letter-spacing: .01em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold    { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 4px 14px rgba(200,153,47,.32); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); box-shadow: 0 8px 22px rgba(200,153,47,.42); }

.btn--navy    { background: var(--navy-700); color: #fff; box-shadow: 0 4px 14px rgba(13,47,99,.28); }
.btn--navy:hover { background: var(--navy-600); color: #fff; }

.btn--ghost   { background: transparent; color: var(--navy-700); border-color: var(--navy-600); }
.btn--ghost:hover { background: var(--navy-700); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: .8rem; }
.btn--lg { padding: 16px 34px; font-size: .95rem; }

/* --------------------------------------------------------------------------
   6. Top utility bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: #b9c8de;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 42px; flex-wrap: wrap;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #cbd8ea; }
.topbar a:hover { color: var(--gold-400); }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; fill: var(--gold-400); flex: none; }
.topbar__flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: #fff; letter-spacing: .02em;
}
.topbar__flag i {
  width: 20px; height: 14px; display: block; border-radius: 2px; flex: none;
  background: linear-gradient(180deg, #ff9933 0 33.3%, #ffffff 33.3% 66.6%, #138808 66.6% 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  box-shadow: 0 1px 0 rgba(6,26,58,.04);
}
.header.is-stuck { box-shadow: var(--shadow-md); }
.header__top { border-bottom: 1px solid var(--line); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}

/* Second row: primary menu bar */
.header__bar { background: var(--navy-800); }
.header__bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__helpline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-size: .78rem; font-weight: 600;
  color: #c3d3e9; white-space: nowrap;
}
.header__helpline:hover { color: var(--gold-400); }
.header__helpline svg { width: 14px; height: 14px; fill: var(--gold-400); flex: none; }

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand__mark { width: auto; height: 62px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.55rem;
  color: var(--navy-800); letter-spacing: .04em;
}
.brand__full {
  font-size: .68rem; font-weight: 600; color: var(--gold-600);
  text-transform: uppercase; letter-spacing: .07em;
}
.brand__sub { font-size: .66rem; color: var(--muted); }

.nav { display: flex; align-items: center; }
.nav__mobile-cta { display: none; }
.nav a {
  font-family: var(--ff-head);
  font-size: .82rem; font-weight: 600;
  color: #dce6f4;
  padding: 15px 14px;
  position: relative;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover, .nav a.is-active { color: var(--gold-400); background: rgba(255,255,255,.07); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--navy-800); border-radius: 2px; transition: .25s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); }
.nav-toggle.is-open span::after  { transform: rotate(-45deg) translateY(-1px); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(110deg, rgba(6,26,58,.96) 0%, rgba(10,36,80,.94) 45%, rgba(18,63,125,.90) 100%),
    url("../img/pattern-grid.svg") center/560px repeat,
    var(--navy-800);
  color: #d3dff0;
  overflow: hidden;
  padding: 78px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: linear-gradient(90deg, #ff9933 0 33.3%, #ffffff 33.3% 66.6%, #138808 66.6% 100%);
  opacity: .85;
}
.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,153,47,.14);
  border: 1px solid rgba(224,182,76,.4);
  color: var(--gold-400);
  font-family: var(--ff-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero__badge i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(224,182,76,.22);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(224,182,76,0); } }

.hero h1 { color: #fff; margin-bottom: 20px; font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero__lead { font-size: 1.05rem; color: #b7c8e0; max-width: 620px; margin-bottom: 28px; }

.hero__points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.hero__points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .92rem; color: #d6e2f2; margin: 0;
}
.hero__points .ico {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.hero__points .ico svg { width: 15px; height: 15px; fill: var(--gold-400); }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero photo panel — square, rounded, with an offset gold outline */
.hero__figure {
  /* one definite size drives the frame, the outline and the glow so they
     always stay square and concentric */
  --fig: min(420px, 76vw);
  position: relative;
  display: grid; place-items: center;
  padding: 26px;
}
.hero__figure-glow {
  position: absolute;
  width: var(--fig); height: var(--fig);
  border-radius: 40px;
  background: radial-gradient(circle, rgba(224,182,76,.30) 0%, rgba(224,182,76,0) 70%);
  filter: blur(18px);
  transform: translate(-16px, -14px) scale(1.12);
}
.hero__figure-outline {
  position: absolute;
  width: var(--fig); height: var(--fig);
  border: 2px solid rgba(224,182,76,.5);
  border-radius: var(--radius-lg);
  transform: translate(20px, 20px);
}
.hero__figure-frame {
  position: relative;
  width: var(--fig); height: var(--fig);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 66px rgba(0,0,0,.48);
}
.hero__figure-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
/* settles the photo into the navy hero instead of ending on a hard edge */
.hero__figure-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,26,58,0) 58%, rgba(6,26,58,.42) 100%);
}
/* --------------------------------------------------------------------------
   9. Accreditation marquee
   -------------------------------------------------------------------------- */
.marquee {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.marquee::after  { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }

.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 58px; padding-right: 58px; }
.marquee__group img {
  height: 76px; width: auto;
  filter: grayscale(.15); opacity: .88;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.marquee__group img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   10. Statistics strip
   -------------------------------------------------------------------------- */
.stats {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/pattern-grid.svg") center/460px repeat; opacity: .30;
}
.stats .wrap { position: relative; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 46px 0;
}
.stat { text-align: center; padding: 8px 18px; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1;
  color: var(--gold-400); margin-bottom: 8px;
}
.stat__label {
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: #c3d3e9; font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfdbee; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  width: 54px; height: 54px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-050), #fff);
  border: 1px solid var(--line);
}
.card__icon svg { width: 26px; height: 26px; fill: var(--navy-700); }
.card:hover .card__icon { background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); border-color: var(--navy-700); }
.card:hover .card__icon svg { fill: var(--gold-400); }

.card--accent { border-top: 3px solid var(--gold-500); }

/* Pillar / framework cards */
.pillar {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold-500);
  border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.pillar:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.pillar__no {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem;
  color: var(--navy-050); -webkit-text-stroke: 1px var(--navy-600);
  line-height: 1; flex: none; width: 46px;
}
.pillar h4 { margin-bottom: .35rem; font-size: 1.02rem; color: var(--navy-800); }
.pillar p { margin: 0; font-size: .92rem; }

/* --------------------------------------------------------------------------
   12. About section
   -------------------------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
/* square source photographs are cropped to a consistent landscape ratio */
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}
.about__stamp {
  position: absolute; right: -18px; bottom: -22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center;
  min-width: 168px;
}
.about__stamp strong {
  display: block; font-family: var(--ff-head); font-size: 1.75rem;
  color: var(--navy-700); line-height: 1;
}
.about__stamp span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: .95rem; }
.checklist li::before {
  content: "\2713";
  flex: none;
  width: 21px; height: 21px; margin-top: 3px;
  border-radius: 50%;
  background: var(--gold-050); color: var(--gold-600);
  border: 1px solid rgba(200,153,47,.4);
  font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}

/* --------------------------------------------------------------------------
   13. Institutional framework table
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data thead th {
  background: var(--navy-800); color: #fff;
  font-family: var(--ff-head); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  text-align: left; padding: 16px 22px;
}
table.data tbody td { padding: 18px 22px; border-top: 1px solid var(--line-2); font-size: .93rem; vertical-align: top; }
table.data tbody tr:nth-child(even) { background: #fafcff; }
table.data tbody tr:hover { background: var(--navy-050); }
table.data td:first-child { font-family: var(--ff-head); font-weight: 600; color: var(--navy-800); width: 32%; }

/* --------------------------------------------------------------------------
   14. Accreditation cards
   -------------------------------------------------------------------------- */
.accred {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative; overflow: hidden;
}
.accred::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-600));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.accred:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.accred:hover::before { transform: scaleX(1); }
.accred img { height: 76px; width: auto; margin: 0 auto 18px; }
.accred h4 { font-size: .98rem; margin-bottom: .45rem; color: var(--navy-800); }
.accred p { font-size: .87rem; margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   15. Programs / divisions
   -------------------------------------------------------------------------- */
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 38px;
}
.tab {
  font-family: var(--ff-head); font-size: .8rem; font-weight: 600;
  padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff; color: var(--body);
  cursor: pointer; transition: .2s ease;
}
.tab:hover { border-color: var(--navy-600); color: var(--navy-700); }
.tab.is-active {
  background: var(--navy-800); border-color: var(--navy-800); color: #fff;
  box-shadow: 0 4px 14px rgba(10,36,80,.25);
}

.prog-search {
  max-width: 520px; margin: 0 auto 34px; position: relative;
}
.prog-search input {
  width: 100%; padding: 14px 18px 14px 46px;
  border: 1px solid var(--line); border-radius: 100px;
  font-family: var(--ff-body); font-size: .92rem; color: var(--ink);
  background: #fff; box-shadow: var(--shadow-sm);
}
.prog-search input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(18,63,125,.1); }
.prog-search svg {
  position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; fill: var(--muted);
}

.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.division {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.division:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfdbee; }
.division.is-hidden { display: none; }

.division__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.division__icon {
  width: 50px; height: 50px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}
.division__icon svg { width: 24px; height: 24px; fill: var(--gold-400); }
.division__head h3 { font-size: 1.02rem; margin: 0; line-height: 1.35; }

.division__list { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.division__list li {
  position: relative; padding-left: 18px; font-size: .89rem;
  color: var(--body); margin-bottom: .45em;
}
.division__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}
.division__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line);
}
.tag {
  display: inline-block; font-family: var(--ff-head);
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  background: var(--navy-050); color: var(--navy-700);
}
.tag--gold { background: var(--gold-050); color: var(--gold-600); }
.tag--green { background: #e8f5ee; color: var(--green-600); }

.no-results {
  display: none; text-align: center; padding: 44px 20px;
  color: var(--muted); font-size: .95rem;
}
.no-results.is-visible { display: block; }

/* --------------------------------------------------------------------------
   16. Motto / quote band
   -------------------------------------------------------------------------- */
.quote {
  background:
    linear-gradient(rgba(6,26,58,.93), rgba(10,36,80,.93)),
    url("../img/pattern-grid.svg") center/520px repeat, var(--navy-900);
  padding: 78px 0; text-align: center; color: #cfdcef;
}
.quote__motto {
  font-family: var(--ff-head);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.quote blockquote {
  margin: 0 auto; max-width: 830px;
  font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.65;
  color: #e2eaf6; font-weight: 300;
}
.quote cite {
  display: block; margin-top: 20px; font-style: normal;
  font-family: var(--ff-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #93a9c9;
}

/* --------------------------------------------------------------------------
   17. Verification panel
   -------------------------------------------------------------------------- */
.verify-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 40px;
  max-width: 860px; margin-inline: auto;
}
.verify-form { display: grid; grid-template-columns: 1fr 1.15fr auto; gap: 14px; align-items: end; }
.verify-note {
  margin-top: 18px; font-size: .82rem; color: var(--muted);
  display: flex; gap: 9px; align-items: flex-start;
}
.verify-note svg { width: 15px; height: 15px; fill: var(--gold-600); flex: none; margin-top: 3px; }

.verify-result {
  display: none; margin-top: 26px; padding: 22px 24px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); font-size: .92rem;
}
.verify-result.is-visible { display: block; animation: fadeUp .35s ease both; }
.verify-result h4 { margin-bottom: .5rem; }
.verify-result.is-error { border-color: rgba(179,38,30,.3); background: #fdf3f2; }
.verify-result.is-error h4 { color: var(--red-600); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   18. Affiliation section
   -------------------------------------------------------------------------- */
.affil {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.affil__benefits { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.affil__benefits li { display: flex; gap: 16px; margin: 0; }
.affil__benefits .ico {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(224,182,76,.14); border: 1px solid rgba(224,182,76,.3);
}
.affil__benefits .ico svg { width: 19px; height: 19px; fill: var(--gold-400); }
.affil__benefits strong { display: block; color: #fff; font-family: var(--ff-head); font-size: .98rem; margin-bottom: 3px; }
.affil__benefits span { font-size: .89rem; color: #a9bcd8; }

.affil__box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(3px);
}
.affil__box h3 { margin-bottom: 10px; }
.affil__box p { color: #a9bcd8; font-size: .93rem; }
.affil__steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 26px; }
.affil__steps li {
  counter-increment: s; position: relative; padding-left: 44px;
  margin-bottom: 16px; font-size: .92rem; color: #c9d6ea;
}
.affil__steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900);
  font-family: var(--ff-head); font-weight: 700; font-size: .78rem;
}

/* --------------------------------------------------------------------------
   19. Offering cards (image cards)
   -------------------------------------------------------------------------- */
.offer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer__media { background: var(--navy-050); border-bottom: 1px solid var(--line); }
.offer__media img {
  width: 100%; display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}
.offer__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.offer__body h3 { font-size: 1.05rem; }
.offer__body p { font-size: .91rem; flex: 1; }
.offer__link {
  font-family: var(--ff-head); font-size: .8rem; font-weight: 600;
  color: var(--navy-700); display: inline-flex; align-items: center; gap: 7px;
}
.offer__link svg { width: 14px; height: 14px; fill: currentColor; transition: transform .2s ease; }
.offer:hover .offer__link svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   20. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 42px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.form-grid .span-2 { grid-column: span 2; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--ff-head); font-size: .78rem; font-weight: 600;
  color: var(--navy-800); letter-spacing: .02em;
}
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--ff-body); font-size: .92rem; color: var(--ink);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c7b91'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(18,63,125,.1);
}
.field input::placeholder, .field textarea::placeholder { color: #a4b0c2; }
.field .hint { font-size: .76rem; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); }
.field .err { display: none; font-size: .76rem; color: var(--red-600); }
.field.has-error .err { display: block; }

.form-consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .84rem; color: var(--muted); margin-top: 6px;
}
.form-consent input { margin-top: 4px; width: 16px; height: 16px; flex: none; accent-color: var(--navy-700); }

.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.form-success {
  display: none; margin-top: 22px; padding: 18px 22px;
  border-radius: var(--radius); border: 1px solid rgba(23,121,74,.3);
  background: #eef8f2; color: var(--green-600); font-size: .9rem; font-weight: 500;
}
.form-success.is-visible { display: block; animation: fadeUp .35s ease both; }

/* --------------------------------------------------------------------------
   21. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card .ico {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}
.contact-card .ico svg { width: 24px; height: 24px; fill: var(--gold-400); }
.contact-card h4 { margin-bottom: .4rem; }
.contact-card p { margin: 0; font-size: .93rem; }
.contact-card a { font-weight: 600; }

/* --------------------------------------------------------------------------
   22. Page banner (inner pages)
   -------------------------------------------------------------------------- */
.page-banner {
  background:
    linear-gradient(105deg, rgba(6,26,58,.95), rgba(18,63,125,.9)),
    url("../img/pattern-grid.svg") center/520px repeat, var(--navy-800);
  padding: 62px 0; color: #c9d6ea; position: relative;
}
.page-banner::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, #ff9933 0 33.3%, #ffffff 33.3% 66.6%, #138808 66.6% 100%);
}
.page-banner h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-banner p { margin: 0; color: #a9bcd8; max-width: 720px; }
.crumbs {
  display: flex; gap: 9px; align-items: center; flex-wrap: wrap;
  font-size: .8rem; color: #93a9c9; margin-bottom: 16px;
}
.crumbs a { color: var(--gold-400); }
.crumbs span { opacity: .6; }

/* --------------------------------------------------------------------------
   23. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-500) 55%, var(--gold-400));
  padding: 54px 0;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--navy-900); margin-bottom: 6px; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.cta-band p { color: #4a3910; margin: 0; font-size: .96rem; }
.cta-band .btn--navy { box-shadow: 0 6px 20px rgba(6,26,58,.28); }


/* --------------------------------------------------------------------------
   24. Legal document (terms, policies)
   -------------------------------------------------------------------------- */
.legal {
  max-width: 860px; margin-inline: auto;
  font-size: .98rem; color: var(--body);
}
.legal p { margin: 0 0 22px; }
.legal p:last-of-type { margin-bottom: 0; }
/* The opening paragraph carries the acceptance clause, so it is set apart. */
.legal__lead {
  font-size: 1.06rem; color: var(--ink);
  border-left: 3px solid var(--gold-500);
  padding: 4px 0 4px 22px; margin-bottom: 30px !important;
}
.legal__contact {
  margin-top: 44px; padding: 30px 32px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 3px solid var(--gold-500);
}
.legal__contact h2 { font-size: 1.15rem; margin: 0 0 18px; }
.legal__contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.legal__contact li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: .92rem; }
.legal__contact strong { color: var(--ink); font-weight: 600; }
/* --------------------------------------------------------------------------
   25. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: #9db0cc;
  font-size: .9rem;
  padding: 66px 0 0;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff9933 0 33.3%, #ffffff 33.3% 66.6%, #138808 66.6% 100%);
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px;
  padding-bottom: 48px;
}
.footer h4 {
  color: #fff; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px; position: relative; padding-bottom: 12px;
}
.footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold-500);
}
.footer p { font-size: .88rem; line-height: 1.75; }
.footer a { color: #9db0cc; }
.footer a:hover { color: var(--gold-400); }

.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer__brand img {
  width: 66px; height: 66px; flex: none;
  object-fit: contain; padding: 6px;
  background: #fff; border-radius: 50%;
}
.footer__brand strong {
  display: block; font-family: var(--ff-head); font-size: 1.35rem; color: #fff; letter-spacing: .04em;
}
.footer__brand span { font-size: .68rem; color: var(--gold-400); text-transform: uppercase; letter-spacing: .06em; }

.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .6em; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; }
.footer__links a::before { content: "\203A"; color: var(--gold-500); font-size: 1.05rem; line-height: 1; }

.footer__contact { list-style: none; padding: 0; margin: 0; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: .88rem; line-height: 1.6; }
.footer__contact svg { width: 16px; height: 16px; fill: var(--gold-500); flex: none; margin-top: 4px; }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  transition: .2s ease;
}
.socials a svg { width: 16px; height: 16px; fill: #c3d3e9; }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); transform: translateY(-3px); }
.socials a:hover svg { fill: var(--navy-900); }

.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 26px 0;
  font-size: .8rem; line-height: 1.7; color: #8296b4;
}
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .82rem;
}
.footer__bar nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: .28s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); }
.to-top svg { width: 18px; height: 18px; fill: currentColor; }
.to-top:hover svg { fill: var(--navy-900); }

/* --------------------------------------------------------------------------
   26. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   27. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .header__helpline { display: none; }
  .nav a { padding: 15px 10px; font-size: .78rem; }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .brand__mark { width: auto; height: 54px; }
  .brand__name { font-size: 1.35rem; }
  .brand__full { font-size: .62rem; }
  .header__cta .btn { padding: 10px 16px; font-size: .78rem; }
  .divisions { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { gap: 34px; }
}

@media (max-width: 940px) {
  .nav-toggle { display: grid; }
  .header__bar { background: transparent; }
  .header__bar-inner { gap: 0; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 22px 30px; gap: 2px;
    box-shadow: -14px 0 40px rgba(6,26,58,.18);
    transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto; z-index: 210;
  }
  .nav.is-open { transform: none; }
  .header__cta .btn:not(.btn--gold) { display: none; }
  .nav a {
    padding: 13px 12px; font-size: .88rem;
    color: var(--ink); background: none;
    border-bottom: 1px solid var(--line-2);
  }
  .nav a:hover, .nav a.is-active { color: var(--navy-700); background: var(--navy-050); }
  .nav a::after { display: none; }
  .nav__mobile-cta {
    display: block; margin-top: 18px; border: 0 !important;
    background: var(--gold-500) !important; color: var(--navy-900) !important;
    text-align: center; border-radius: var(--radius-sm);
    font-size: .85rem !important;
  }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(6,26,58,.5); z-index: 205;
    opacity: 0; visibility: hidden; transition: .3s ease;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { order: -1; padding: 0 0 14px; --fig: min(300px, 66vw); }
  .hero__figure-outline { display: none; }
  .hero { padding: 52px 0 70px; }

  .about__grid, .affil, .grid-4, .grid-3, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .affil { grid-template-columns: 1fr; gap: 40px; }
  .about__media { order: -1; max-width: 520px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat:nth-child(2n) { border-right: 0; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .verify-form { grid-template-columns: 1fr; }
  #regLayout, #contactLayout { grid-template-columns: 1fr !important; }
}

@media (max-width: 700px) {
  .section { padding: 58px 0; }
  .topbar__left .topbar__item:not(:first-child) { display: none; }
  .header__cta .btn { display: none; }
  .brand__mark { width: auto; height: 46px; }
  .brand__name { font-size: 1.2rem; }
  .brand__full { font-size: .56rem; }
  .brand__sub { display: none; }
  .divisions, .grid-3, .grid-4, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .form-card, .verify-panel { padding: 26px 20px; }
  .legal__contact { padding: 24px 20px; }
  .legal__contact li { grid-template-columns: 1fr; gap: 2px; }
  .about__stamp { right: 12px; bottom: -18px; }
  .hero__actions .btn, .form-actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .marquee__group { gap: 34px; padding-right: 34px; }
  .marquee__group img { height: 50px; }
}

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

/* --------------------------------------------------------------------------
   28. Print
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .header, .marquee, .to-top, .cta-band, .hero__actions, .nav-toggle { display: none !important; }
  body { color: #000; }
  .section { padding: 18px 0; }
  .hero, .quote, .stats, .footer, .section--navy { background: #fff !important; color: #000 !important; }
  .hero h1, .quote blockquote, .footer h4 { color: #000 !important; }
}
