/* ============================================================
   EBB — École Belge Burundi (refonte moderne)
   Palette d'origine : bleu marine #07294d / #021e40 + or #ffc600
   ============================================================ */
:root {
  --navy: #07294d;
  --navy-dark: #021e40;
  --navy-mid: #0b3a68;
  --gold: #ffc600;
  --gold-dark: #e0a800;
  --text: #4a4a4a;
  --text-light: #8a8a8a;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 30, 64, .10);
  --shadow-hover: 0 18px 44px rgba(2, 30, 64, .18);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Heebo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16.5px;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-dark); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin-bottom: 1.1rem; }
a { color: var(--navy); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.section.bg-light { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: .6rem; }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 720px; margin: 0 auto 3rem; }
.title-underline { width: 64px; height: 4px; background: var(--gold); border-radius: 2px; margin: .9rem auto 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.9rem; border-radius: 50px; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #ffd84d; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(255,198,0,.35); color: var(--navy-dark); }
.btn-outline { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(7,41,77,.3); color: #fff; }

/* ---------- Header / Nav ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy-dark);
  padding: .6rem 1.2rem; z-index: 2000; font-weight: 700; font-family: var(--font-head);
}
.skip-link:focus { left: 8px; top: 8px; }
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--gold); }
.topbar-group { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 14px rgba(2,30,64,.08); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 22px rgba(2,30,64,.14); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: .55rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { height: 52px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy-dark); line-height: 1.15; }
.brand-text small { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links > li { position: relative; }
.nav-links a { display: block; padding: .7rem .85rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy-dark); border-radius: 8px; }
.nav-links > li > a::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s;
}
.nav-links > li > a:hover::after, .nav-links li.active > a::after { transform: scaleX(1); }
.nav-links li.active > a { color: var(--gold-dark); }
/* Dropdowns */
.has-sub > .sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--white);
  box-shadow: var(--shadow-hover); border-radius: 10px; padding: .5rem 0; opacity: 0;
  visibility: hidden; transform: translateY(8px); transition: all .28s; z-index: 500;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { padding: .55rem 1.2rem; font-size: .88rem; font-weight: 500; color: var(--navy-dark); }
.sub a:hover { background: var(--bg-light); color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle svg { width: 30px; height: 30px; stroke: var(--navy-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: 6.5rem 0 7.5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M10 60 L30 75 L30 45 L10 32 Z' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M30 45 L50 32 L50 62 L30 75' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M50 40 L66 40 L66 48 L50 48 Z' fill='none' stroke='%23ffc600' stroke-width='2'/%3E%3C/svg%3E");
}
.hero::after {
  content: ''; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,198,0,.28) 0%, transparent 65%); border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; max-width: 860px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,198,0,.14);
  border: 1px solid rgba(255,198,0,.5); color: var(--gold); border-radius: 50px;
  padding: .4rem 1.1rem; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 640px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero (pages internes) */
.page-hero {
  position: relative; color: #fff; text-align: center; padding: 4.8rem 0; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy-mid));
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M10 60 L30 75 L30 45 L10 32 Z' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M30 45 L50 32 L50 62 L30 75' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.breadcrumb { margin-top: .9rem; color: rgba(255,255,255,.75); font-size: .9rem; font-family: var(--font-head); }
.breadcrumb a { color: var(--gold); }

/* ---------- Stats ---------- */
.stats-band {
  background: var(--gold); padding: 0; transform: translateY(-52px);
  border-radius: var(--radius); box-shadow: var(--shadow-hover); max-width: 1080px; margin: 0 auto;
  position: relative; z-index: 5;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 1.8rem 1rem; border-left: 1px solid rgba(2,30,64,.12); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--navy-dark); }
.stat .label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: rgba(2,30,64,.75); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2.2rem 1.9rem; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }
.card .icon-badge {
  width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem;
  box-shadow: 0 8px 18px rgba(7,41,77,.28);
}
.card .icon-badge svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .95rem; color: var(--text-light); margin-bottom: 1.1rem; }
.card .link-more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.card .link-more:hover { color: var(--gold-dark); }
.gold-card { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; }
.gold-card h3, .gold-card h4 { color: #fff; }
.gold-card p { color: rgba(255,255,255,.8); }
.gold-card .icon-badge { background: var(--gold); box-shadow: 0 8px 18px rgba(255,198,0,.35); }
.gold-card .icon-badge svg { stroke: var(--navy-dark); }
.gold-card .link-more { color: var(--gold); }

/* ---------- Split (image + texte) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); position: relative; }
.split-media .visual { min-height: 340px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); position: relative; display: flex; align-items: center; justify-content: center; }
.split-media .visual svg { width: 55%; max-width: 300px; opacity: .9; }
.split-media .year-tag {
  position: absolute; bottom: 1.4rem; left: 1.4rem; background: var(--gold); color: var(--navy-dark);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; padding: .6rem 1.2rem; border-radius: 10px;
}
.split-body h2 { margin-bottom: 1.2rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; stroke: #1c9e56; fill: none; stroke-width: 2.4; }

/* ---------- Timeline (historique) ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 2.4rem; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; background: var(--gold); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 2.2rem; }
.tl-item::before {
  content: ''; position: absolute; left: -2.4rem; top: 6px; width: 19px; height: 19px;
  background: var(--navy); border: 4px solid var(--gold); border-radius: 50%;
}
.tl-item .year { font-family: var(--font-head); font-weight: 800; color: var(--gold-dark); font-size: 1.05rem; }
.tl-item h3 { margin: .2rem 0 .4rem; font-size: 1.15rem; }
.tl-item p { color: var(--text-light); font-size: .96rem; }

/* ---------- Table grille horaire ---------- */
.grid-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
table.grid-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.grid-table th {
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700;
  padding: .9rem 1rem; text-align: center; font-size: .92rem; white-space: nowrap;
}
.grid-table td { padding: .75rem 1rem; text-align: center; border-bottom: 1px solid #eef1f5; font-size: .95rem; }
.grid-table tr:nth-child(even) td { background: var(--bg-light); }
.grid-table td.row-label { text-align: left; font-weight: 600; color: var(--navy-dark); white-space: nowrap; }
.grid-table td.empty { color: #c9cdd4; }

/* ---------- Info listes horaires ---------- */
.hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.hours-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem 1.7rem; border-top: 5px solid var(--gold); }
.hours-card h3 { margin-bottom: 1rem; }
.hours-card .row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed #e4e8ee; }
.hours-card .row:last-child { border-bottom: none; }
.hours-card .row .d { font-weight: 600; color: var(--navy-dark); }
.hours-card .row .h { color: var(--text-light); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.news-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.news-media { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); min-height: 150px; display: flex; align-items: center; justify-content: center; position: relative; }
.news-media svg { width: 64px; height: 64px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.news-date { position: absolute; top: 1rem; right: 1rem; background: var(--gold); color: var(--navy-dark); font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: .3rem .75rem; border-radius: 8px; text-transform: uppercase; letter-spacing: .05em; }
.news-body { padding: 1.6rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.news-body p { font-size: .93rem; color: var(--text-light); flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-dark), var(--navy-mid)); color: #fff; text-align: center; padding: 4.2rem 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; left: -140px; bottom: -140px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,198,0,.25), transparent 65%); border-radius: 50%;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 2rem; }
.cta-band .btn { margin: 0 .5rem; }

/* ---------- Formulaire ---------- */
.form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy-dark); margin-bottom: .4rem; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  border: 1.5px solid #dde3ea; border-radius: 10px; padding: .8rem 1rem; background: var(--bg-light);
  transition: border-color .25s, box-shadow .25s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,41,77,.1); background: #fff;
}
.form-error, .form-success { display: none; padding: 1rem 1.2rem; border-radius: 10px; margin-top: 1.2rem; font-weight: 600; }
.form-error { background: #fdecea; color: #c0392b; }
.form-success { background: #e8f7ef; color: #1c7a44; }
.form-error.is-visible, .form-success.is-visible { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.contact-card h3 { color: #fff; margin-bottom: 1.4rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-item .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,198,0,.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ic svg { width: 21px; height: 21px; stroke: var(--gold); fill: none; stroke-width: 2; }
.contact-item .label { font-family: var(--font-head); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.contact-item .val { color: rgba(255,255,255,.88); word-break: break-word; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 3rem; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.6rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--gold); border-radius: 2px; }
.footer img { height: 58px; width: auto; margin-bottom: 1.1rem; }
.footer p { font-size: .92rem; }
.footer ul li { margin-bottom: .65rem; font-size: .92rem; }
.footer ul a { color: rgba(255,255,255,.75); }
.footer ul a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- Divers ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.scroll-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer; box-shadow: var(--shadow-hover);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 900;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-4px); }
.scroll-top svg { width: 22px; height: 22px; stroke: var(--navy-dark); stroke-width: 2.6; fill: none; }
.page-content { max-width: 800px; margin: 0 auto; }
.page-content p { color: var(--text); }
.mention-note { font-size: .88rem; color: var(--text-light); font-style: italic; }
.document-list { display: grid; gap: .9rem; margin: 1.6rem 0; }
.doc-item { display: flex; align-items: center; gap: 1rem; background: var(--bg-light); border: 1px solid #e4e9f0; border-radius: 12px; padding: 1rem 1.3rem; transition: border-color .25s, transform .25s; }
.doc-item:hover { border-color: var(--gold); transform: translateX(6px); }
.doc-item svg { width: 26px; height: 26px; stroke: var(--navy); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.doc-item .doc-name { font-weight: 600; color: var(--navy-dark); font-family: var(--font-head); font-size: .95rem; }
.doc-item .doc-type { font-size: .8rem; color: var(--text-light); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--navy-dark);
    flex-direction: column; align-items: stretch; padding: 5.2rem 1.4rem 2rem; gap: .1rem;
    transition: right .35s; overflow-y: auto; z-index: 1200;
  }
  .nav-links.open { right: 0; box-shadow: -10px 0 40px rgba(0,0,0,.4); }
  .nav-links a { color: #fff; padding: .8rem 1rem; }
  .nav-links > li > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.06); margin: .2rem 0 .6rem; border-radius: 8px; display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { color: rgba(255,255,255,.8); }
  .sub a:hover { background: transparent; }
  .nav-close { display: none; position: absolute; top: .6rem; right: 1.1rem; background: rgba(255,255,255,.08); border-radius: 50%; padding: .55rem; cursor: pointer; z-index: 1300; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid rgba(2,30,64,.12); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid rgba(2,30,64,.12); }
  .contact-grid, .hours-grid, .news-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero { padding: 4.4rem 0 5.6rem; }
  .stats-band { transform: translateY(-38px); }
  .brand-text { font-size: .98rem; }
  .topbar-group { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Nav mobile close + overlay */
.nav-overlay { position: fixed; inset: 0; background: rgba(2,30,64,.55); opacity: 0; visibility: hidden; transition: all .3s; z-index: 1100; }
.nav-overlay.show { opacity: 1; visibility: visible; }