/* ==========================================================================
   Erican Language Centre — Proposed Website (static)
   Stylesheet · mobile-first · modern refresh of the Erican brand
   Palette: deep navy/indigo (primary) + bright yellow + red accent
   ========================================================================== */

:root {
  /* Brand */
  --navy:        #1e2774;
  --navy-2:      #19205e;
  --navy-deep:   #121642;
  --yellow:      #ffd200;
  --yellow-2:    #ffc400;
  --red:         #ed1c24;
  --red-2:       #c8131a;

  /* Neutrals */
  --ink:         #181c2e;
  --body:        #41475c;
  --muted:       #6b7186;
  --line:        #e6e8f1;
  --bg:          #ffffff;
  --bg-soft:     #f5f6fc;
  --bg-soft-2:   #eef0fa;
  --white:       #ffffff;

  /* System */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   28px;
  --shadow-sm:   0 4px 14px rgba(20,24,66,.06);
  --shadow:      0 14px 40px rgba(20,24,66,.10);
  --shadow-lg:   0 30px 70px rgba(20,24,66,.18);
  --maxw:        1200px;
  --gutter:      clamp(18px, 5vw, 40px);

  --font-head: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

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

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;          /* guard against any horizontal scroll */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;   /* never overflow the screen */
}

p { overflow-wrap: break-word; }

ul { padding-left: 1.1em; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 8vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d9ddff; }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px; border-radius: 3px;
  background: var(--yellow);
}
.section--navy .eyebrow { color: var(--yellow); }
.section--navy .eyebrow::before { background: var(--red); }

.section-title {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  margin-bottom: 14px;
}
.section--navy .section-title { color: #fff; }

.section-lead {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: var(--muted);
  max-width: 62ch;
}
.section--navy .section-lead { color: #c2c8f3; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bg);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--fg); }
.btn:active { transform: translateY(-1px); }

.btn--primary { --bg: var(--red); --fg: #fff; }
.btn--primary:hover { --bg: var(--red-2); }

.btn--yellow { --bg: var(--yellow); --fg: var(--navy-deep); }
.btn--yellow:hover { --bg: var(--yellow-2); }

.btn--navy { --bg: var(--navy); --fg:#fff; }

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

.btn--light {
  background: #fff; color: var(--navy); border-color:#fff;
}
.btn--light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-deep); }

.btn--outline-light {
  background: transparent; color:#fff; border-color: rgba(255,255,255,.5);
}
.btn--outline-light:hover { background:#fff; color: var(--navy); border-color:#fff; }

.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(20,24,66,.10); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.is-active { color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-menu .inner { display: flex; align-items: center; gap: 4px; }
.mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s var(--ease) both;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,22,66,.55) 0%, rgba(18,22,66,.78) 55%, rgba(18,22,66,.92) 100%),
    linear-gradient(90deg, rgba(30,39,116,.65), rgba(18,22,66,.35));
}
.hero__inner {
  position: relative;
  padding-block: clamp(64px, 13vw, 132px);
  max-width: 760px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 6.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero h1 .hl {
  color: var(--yellow);
  position: relative;
  white-space: nowrap;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: #dfe3ff;
  margin-top: 18px;
  max-width: 56ch;
}
.hero .btn-row { margin-top: 30px; }

.hero__badge {
  display: inline-flex; align-items:center; gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,0,.25); }

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

/* ---------- Stat bar ---------- */
.stats {
  position: relative;
  margin-top: -42px;
  z-index: 5;
}
.stats__grid {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat {
  padding: clamp(20px, 3vw, 32px) 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  color: var(--navy);
  line-height: 1;
}
.stat__num .text-red { color: var(--red); }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.6vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }

.card__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .05em;
  padding: 6px 12px;
  border-radius: 999px;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.18rem; margin-bottom: 8px; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--red); }
.card__text { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.card__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
}
.card__link svg { transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Feature card (icon) */
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--navy);
  margin-bottom: 16px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

.section--navy .feature {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}
.section--navy .feature h3 { color:#fff; }
.section--navy .feature p { color:#c2c8f3; }
.section--navy .feature__icon { background: rgba(255,255,255,.1); color: var(--yellow); }
.section--navy .checklist li { color: #e7eaff; }
.section--navy p { color: #c8cdf3; }

/* ---------- Split / media+text ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split__media { position: relative; }
.split__media .float-badge {
  position: absolute;
  bottom: -18px; right: -10px;
  background: var(--red);
  color: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  font-family: var(--font-head);
  box-shadow: var(--shadow);
  max-width: 220px;
}
.split__media .float-badge strong { font-size: 1.5rem; display: block; }
.split__media .float-badge span { font-size: .82rem; opacity: .9; }

.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--body); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow) 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='%23121642' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Programme list (detailed) ---------- */
.prog {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.prog:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prog__media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; background: var(--bg-soft-2); }
.prog__media img { width:100%; height:100%; object-fit: cover; }
.prog__code {
  font-family: var(--font-head); font-weight: 700; font-size: .75rem;
  letter-spacing: .08em; color: var(--red); text-transform: uppercase;
}
.prog h3 { font-size: 1.3rem; margin: 4px 0 8px; }
.prog__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  background: var(--bg-soft); color: var(--navy);
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.quote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--yellow);
  position: absolute; top: 8px; right: 18px;
}
.quote p { color: var(--body); font-size: 1rem; }
.quote__who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color:#fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700;
}
.quote__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.quote__loc { font-size: .82rem; color: var(--muted); }

/* ---------- Logos / accreditation row ---------- */
.badge-row {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.badge-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 20px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: .9rem;
}
.badge-chip svg { color: var(--red); width: 20px; height: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width:100%; height:100%; object-fit: cover; }
.cta-band::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(120deg, rgba(30,39,116,.92), rgba(18,22,66,.82));
}
.cta-band h2 { color:#fff; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-band p { color:#cdd2f7; max-width: 56ch; margin: 12px auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:""; position:absolute; right:-80px; top:-80px;
  width: 320px; height: 320px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,210,0,.25), transparent 70%);
}
.page-hero::after {
  content:""; position:absolute; left:-60px; bottom:-120px;
  width: 280px; height: 280px; border-radius:50%;
  background: radial-gradient(circle, rgba(237,28,36,.22), transparent 70%);
}
.page-hero__inner { position: relative; padding-block: clamp(48px, 9vw, 92px); max-width: 720px; }
.page-hero h1 { color:#fff; font-size: clamp(1.9rem, 5.4vw, 3.2rem); }
.page-hero p { color:#cdd2f7; font-size: clamp(1rem, 2.4vw, 1.18rem); margin-top: 14px; max-width: 54ch; }
.breadcrumb { font-size: .85rem; color: #aab0e6; margin-bottom: 16px; }
.breadcrumb a { color:#fff; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background:#fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  padding: 20px 56px 20px 22px;
  position: relative;
}
.acc-q::after {
  content:"+"; position:absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); transition: transform .3s;
}
.acc-item.is-open .acc-q::after { transform: translateY(-50%) rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-a__inner { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 48px); align-items:start; }
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-head); font-weight:600; font-size:.9rem; color:var(--ink); margin-bottom:7px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background:#fff;
  box-shadow: 0 0 0 4px rgba(30,39,116,.1);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size:.82rem; color: var(--muted); margin-top: 6px; }
.info-list { list-style:none; padding:0; display:grid; gap: 18px; }
.info-list li { display:flex; gap:14px; align-items:flex-start; }
.info-ic { flex:0 0 auto; width:44px; height:44px; border-radius:12px; background: var(--navy); color: var(--yellow); display:grid; place-items:center; }
.info-ic svg { width:20px; height:20px; }
.info-list b { font-family: var(--font-head); color: var(--ink); display:block; font-size:.95rem; }
.info-list a, .info-list span { color: var(--muted); font-size:.95rem; }

/* ---------- Locations ---------- */
.loc-region { font-family: var(--font-head); font-weight:700; color: var(--navy); font-size: 1.15rem; margin: 8px 0 4px; display:flex; align-items:center; gap:10px; }
.loc-region::before { content:""; width:10px; height:10px; border-radius:50%; background: var(--yellow); }
.loc-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; height:100%; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.loc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.loc-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.loc-card .addr { color: var(--muted); font-size:.93rem; margin-bottom: 14px; }
.loc-card .loc-links { display:flex; flex-wrap:wrap; gap: 8px; }
.loc-card .loc-links a { font-size:.85rem; font-weight:600; font-family: var(--font-head); padding: 7px 12px; border-radius: 999px; background: var(--bg-soft); }
.loc-card .loc-links a:hover { background: var(--navy); color:#fff; }
.tag-hq { background: var(--red); color:#fff; font-size:.68rem; font-family:var(--font-head); font-weight:700; padding: 3px 9px; border-radius:999px; letter-spacing:.05em; vertical-align: middle; margin-left:8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aeb4e0; padding-top: clamp(48px, 7vw, 80px); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 40px; }
.site-footer h4 { color:#fff; font-size: 1rem; margin-bottom: 16px; font-family: var(--font-head); }
.site-footer ul { list-style:none; padding:0; display:grid; gap: 10px; }
.site-footer a { color:#aeb4e0; font-size:.95rem; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size:.95rem; color:#9097cc; max-width: 34ch; }
.footer-social { display:flex; gap:10px; margin-top: 18px; }
.footer-social a {
  width:40px; height:40px; border-radius:50%;
  background: rgba(255,255,255,.08); display:grid; place-items:center; color:#fff;
  transition: background .25s, transform .25s;
}
.footer-social a:hover { background: var(--red); transform: translateY(-3px); color:#fff; }
.footer-social svg { width:18px; height:18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display:flex; flex-wrap:wrap; gap: 10px; justify-content: space-between; font-size:.86rem; color:#8086b8; }
.footer-bottom a { color:#8086b8; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color:#fff; display:grid; place-items:center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color:#fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Floating design-version switcher (proposal aid) ---------- */
.ver-switch { position: fixed; right: 18px; bottom: 84px; z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ver-switch__label { font: 600 10px/1 var(--font-head, system-ui); letter-spacing: .12em; text-transform: uppercase; color:#fff; background: var(--navy); padding: 6px 12px; border-radius: 999px; }
.ver-switch__btn { font-family: var(--font-head, system-ui); font-weight: 600; font-size: .84rem; padding: 9px 16px; border-radius: 999px; background:#fff; color: var(--navy); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s; }
.ver-switch__btn:hover { transform: translateY(-2px); background: var(--navy); color:#fff; }
.ver-switch__btn.is-active { background: var(--red); color:#fff; border-color: var(--red); }
@media (max-width: 600px) { .ver-switch__btn { font-size: .8rem; padding: 8px 14px; } }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Marquee strip ---------- */
.marquee { background: var(--navy); overflow: hidden; padding-block: 16px; }
.marquee__track { display: flex; width: max-content; animation: scrollX 34s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color:#fff; padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee__track span::after { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Featured programme card ---------- */
.card--feature { grid-column: span 2; order: -1; flex-direction: row; }
.card--feature .card__media { aspect-ratio: auto; flex: 1 1 50%; min-height: 280px; }
.card--feature .card__body { flex: 1 1 50%; justify-content: center; }
.card--feature .card__title { font-size: 1.7rem; }
.card--feature .card__text { font-size: 1.02rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .float-badge { right: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* ----- Mobile nav ----- */
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav-menu.is-open { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-menu .inner { display: block; padding: 12px var(--gutter) 26px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links a:hover { background: var(--bg-soft); }
  .nav-menu .mobile-cta { margin-top: 14px; display: grid; gap: 10px; }
  .nav-menu .mobile-cta .btn { display: inline-flex; }

  .stats { margin-top: -28px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .card--feature { grid-column: span 1; flex-direction: column; }
  .card--feature .card__media { aspect-ratio: 16/10; min-height: 0; }

  .prog { grid-template-columns: 1fr; }
  .prog__media { aspect-ratio: 16/9; }

  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero .btn-row { gap: 12px; }

  /* Full-bleed media on small screens */
  .bleed-mobile {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0 !important;
  }
  .bleed-mobile img { border-radius: 0 !important; }
  .split__media .float-badge { position: static; max-width: none; margin-top: 14px; }
}

/* ---------- Reduced motion ---------- */
@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; }
}
