/* ==========================================================
   Biz-Intell — shared stylesheet (used by every page)
   Colours taken from the Biz-Intell logo
   ========================================================== */

/* Fonts are hosted on this site (no Google Fonts requests) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
:root {
  --navy-900: #06103a;
  --navy-800: #0a1a55;
  --navy-700: #0f2a7a;
  --blue-600: #0b4fd6;   /* logo royal blue */
  --blue-500: #1e63f0;
  --sky-400:  #4fb3ff;   /* globe highlight */
  --sky-100:  #e8f2ff;
  --ink:      #0e1630;
  --text:     #4a5372;
  --muted:    #7a839e;
  --line:     #e3e8f3;
  --bg-soft:  #f4f7fc;
  --white:    #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -18px rgba(10, 26, 85, .28);
  --shadow-sm: 0 6px 18px -8px rgba(10, 26, 85, .22);
  --container: 1200px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* keeps the off-screen mobile menu from causing sideways scroll */
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section--soft { background: var(--bg-soft); }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
[hidden] { display: none !important; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue-600); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(11,79,214,.8); }
.btn--primary:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }
.btn--outline { background: transparent; border-color: var(--blue-600); color: var(--blue-600); }
.btn--outline:hover { background: var(--blue-600); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b9c4e6; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; }
.topbar__info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar__info a, .topbar__info span { color: #b9c4e6; display: inline-flex; align-items: center; gap: 8px; }
.topbar__info a:hover { color: #fff; }
.topbar .icon { width: 16px; height: 16px; color: var(--sky-400); }
.topbar__tag { font-style: italic; color: #8e9bc7; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(10,26,85,.25); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy-800); letter-spacing: -.02em; }
.brand__name span { color: var(--blue-600); }
.header .brand__sub { display: none; }
.brand__sub { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; font-family: var(--font-head); font-weight: 600;
  font-size: .95rem; color: var(--ink); border-radius: 8px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--blue-600); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--blue-600); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; gap: 10px; margin-left: 14px; }
.nav__actions .icon { width: 17px; height: 17px; }

.menu-toggle {
  display: none; align-items: center; gap: 8px; background: var(--navy-800); color: #fff;
  border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.menu-toggle__bars { width: 20px; height: 14px; position: relative; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-900) url("../img/hero-lagos-bridge.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,16,58,.96) 0%, rgba(10,26,85,.88) 45%, rgba(11,79,214,.35) 100%);
}
.hero__dots { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; padding-top: 120px; padding-bottom: 170px; }
.hero .eyebrow { color: var(--sky-400); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--sky-400); }
.hero__text { font-size: 1.15rem; color: #cfd8f5; max-width: 580px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); border-radius: var(--radius); padding: 30px;
}
.hero__card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.hero__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero__card li { display: flex; gap: 12px; align-items: flex-start; color: #dfe6fb; font-size: .95rem; line-height: 1.5; }
.hero__card li .icon { width: 20px; height: 20px; color: var(--sky-400); margin-top: 1px; }

/* ---------- Feature cards (overlapping hero) ---------- */
.features { position: relative; z-index: 2; margin-top: -90px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feature { padding: 36px 30px; border-right: 1px solid var(--line); transition: background .3s ease, color .3s ease; }
.feature:last-child { border-right: 0; }
.feature__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 20px; transition: all .3s ease; }
.feature__icon .icon { width: 28px; height: 28px; }
.feature p { font-size: .93rem; margin: 0; }
.feature:hover { background: var(--blue-600); }
.feature:hover h3, .feature:hover p { color: #fff; }
.feature:hover .feature__icon { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- About intro ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; right: -24px; bottom: 40px; background: var(--blue-600); color: #fff;
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); max-width: 210px;
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.about__badge span { font-size: .85rem; color: #dbe6ff; }
.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.45; }
.checklist .icon { width: 22px; height: 22px; color: var(--blue-600); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(79,179,255,.25), transparent 70%); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 70px 0; position: relative; z-index: 1; }
.stat { text-align: center; padding: 0 10px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; color: #fff; }
.stat__num span { color: var(--sky-400); }
.stat__label { margin-top: 10px; color: #b9c4e6; font-size: .95rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: all .3s ease; overflow: hidden; display: flex; flex-direction: column;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--blue-600); transition: width .35s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { width: 100%; }
.service__num { position: absolute; right: 26px; top: 22px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--bg-soft); line-height: 1; }
.service__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.service__icon .icon { width: 28px; height: 28px; }
.service p { font-size: .95rem; flex-grow: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Solutions split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.solution-list { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; gap: 14px; }
.solution-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff;
  border-radius: var(--radius-sm); border: 1px solid var(--line); transition: all .25s ease;
}
.solution-item:hover { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.solution-item .icon { color: var(--blue-600); width: 26px; height: 26px; margin-top: 2px; }
.solution-item h4 { font-size: 1rem; margin: 0 0 2px; }
.solution-item p { margin: 0; font-size: .9rem; line-height: 1.55; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: 30% center; width: 100%; box-shadow: var(--shadow); }
.split__media::before { content: ""; position: absolute; left: -24px; top: -24px; width: 60%; height: 60%; border-radius: var(--radius); background: var(--sky-100); z-index: -1; }
.split__quote {
  position: absolute; left: -30px; bottom: 36px; background: var(--navy-800); color: #fff;
  padding: 22px 28px; border-radius: var(--radius); white-space: nowrap; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 600; line-height: 1.45;
}
.split__quote small { display: block; margin-top: 8px; font-weight: 500; color: var(--sky-400); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Velocity framework ---------- */
.velocity { position: relative; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-600) 0 8px, transparent 8px 16px); opacity: .45; }
.sprint { text-align: center; position: relative; }
.sprint__dot {
  width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: #fff;
  border: 2px solid var(--blue-600); display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 800; color: var(--blue-600); font-size: 1.3rem; transition: all .3s ease;
}
.sprint:hover .sprint__dot { background: var(--blue-600); color: #fff; transform: scale(1.06); }
.sprint__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sprint h3 { margin: 4px 0 8px; font-size: 1.1rem; }
.sprint p { font-size: .88rem; line-height: 1.55; margin-bottom: 12px; }
.sprint__time { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--blue-600); background: var(--sky-100); padding: 4px 12px; border-radius: 999px; }

/* ---------- Industries ---------- */
.industries { background: var(--navy-900) url("../img/lagos-skyline.jpg") center/cover no-repeat; position: relative; color: #fff; }
.industries::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,58,.94), rgba(10,26,85,.92)); }
.industries .container { position: relative; }
.industries h2 { color: #fff; }
.industries .eyebrow { color: var(--sky-400); }
.industries .lead { color: #c3cdef; }
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm);
  padding: 24px 14px; text-align: center; transition: all .25s ease;
}
.industry:hover { background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-4px); }
.industry .icon { width: 34px; height: 34px; color: var(--sky-400); margin: 0 auto 12px; }
.industry:hover .icon { color: #fff; }
.industry span { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: #fff; line-height: 1.3; }
.industries__foot { text-align: center; margin-top: 44px; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(110deg, var(--blue-600), var(--navy-700)); color: #fff; border-radius: 20px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.cta h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { color: #d6e0ff; margin: 0; max-width: 560px; }
.cta .btn { position: relative; z-index: 1; background: #fff; color: var(--navy-800); }
.cta .btn:hover { background: var(--navy-900); color: #fff; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact__info { background: var(--navy-800) url("../img/lekki-bridge-night.jpg") center/cover; border-radius: var(--radius); padding: 44px 38px; color: #fff; position: relative; overflow: hidden; }
.contact__info::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,85,.9), rgba(6,16,58,.96)); }
.contact__info > * { position: relative; }
.contact__info h3 { color: #fff; font-size: 1.5rem; }
.contact__info p { color: #c3cdef; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; margin-top: 26px; }
.contact-line__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex-shrink: 0; color: var(--sky-400); }
.contact-line small { display: block; color: #8e9bc7; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-line a, .contact-line span { color: #fff; font-weight: 500; line-height: 1.5; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 40px; box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); padding: 13px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg-soft); transition: border-color .2s, background .2s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form__status { margin-top: 16px; font-size: .92rem; color: var(--blue-600); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9aa6cf; padding-top: 80px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer .brand__name { color: #fff; }
.footer .brand img { background: #fff; padding: 6px 8px; border-radius: 10px; height: 60px; }
.footer .brand__sub { color: #7d89b3; }
.footer__about { margin: 22px 0 0; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #9aa6cf; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--sky-400); margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer__bottom em { color: #c3cdef; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-600); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 40;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top .icon { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.is-pending { opacity: 0; transform: translateY(26px); }  /* only below-the-fold items, set by script */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-pending { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
    .industry-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw); background: var(--navy-900);
    flex-direction: column; align-items: stretch; gap: 0; padding: 100px 28px 30px;
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .35s ease, visibility 0s linear .35s; z-index: 60; overflow-y: auto;
  }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s ease; }
  .nav__link { color: #fff; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__link.is-active, .nav__link:hover { color: var(--sky-400); }
  .nav__actions { flex-direction: column; margin: 26px 0 0; gap: 12px; }
  .nav__actions .btn { justify-content: center; padding: 13px 20px; font-size: .95rem; }
  .nav__actions .btn--outline { border-color: rgba(255,255,255,.4); color: #fff; }
  .menu-toggle { position: relative; z-index: 70; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,16,58,.55); opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 45; }
  .menu-open .nav-backdrop { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

@media (max-width: 991px) {
  .section { padding: 80px 0; }

  .hero .container { grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 150px; }
  .hero__card { display: none; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about, .split, .contact { grid-template-columns: 1fr; gap: 50px; }
  .about__badge { right: 16px; }
  .split__media { order: -1; max-width: 560px; }
  .split__quote { left: 16px; white-space: normal; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .timeline::before { left: 34px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-600) 0 8px, transparent 8px 16px); }
  .sprint { display: grid; grid-template-columns: 70px 1fr; gap: 0 22px; text-align: left; padding-bottom: 30px; }
  .sprint__dot { margin: 0; grid-row: span 4; }
  .cta { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .header .container { min-height: 72px; }
  .brand img { height: 44px; }
  .brand__name { font-size: 1.25rem; }
  .brand__sub { display: none; }
  .menu-toggle__word { display: none; }
  .features { margin-top: -70px; }
  .features__grid, .services__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .checklist { grid-template-columns: 1fr; }
  .about__badge { position: static; margin-top: -40px; margin-left: 16px; max-width: none; display: inline-block; }
  .split__quote { position: static; margin-top: 16px; max-width: none; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 30px 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- "Coming soon" notice for pages not built yet ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  background: var(--navy-900); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: .92rem;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 80;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Footer legal links ---------- */
.footer__tag { margin-top: 12px; color: #c3cdef; font-size: .88rem; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Honeypot (spam trap, hidden from people) ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Radio choices ---------- */
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.choice legend { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); font-size: .9rem; color: var(--ink); cursor: pointer; transition: all .2s; }
.choice label:has(input:checked) { border-color: var(--blue-600); background: var(--sky-100); color: var(--blue-600); font-weight: 600; }
.choice input { accent-color: var(--blue-600); margin: 0; width: auto; padding: 0; }
.choice label { font-family: var(--font-body); font-weight: 500; }

.form__status.is-error { color: #c0322b; }
.form__status.is-success { color: #137a45; }
.btn[disabled] { opacity: .6; cursor: progress; }
button.btn { font-family: var(--font-head); }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; }

/* ---------- Modals (booking + policies) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: calc(20px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,16,58,.7); backdrop-filter: blur(3px); animation: fade .25s ease; }
.modal__panel {
  position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 720px;
  max-height: 100%; overflow-y: auto; padding: 44px 44px 36px; box-shadow: 0 30px 80px -20px rgba(6,16,58,.6);
  animation: pop .3s ease;
}
.modal__panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.modal__intro { margin-bottom: 26px; }
.modal__close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.modal__close:hover { background: var(--sky-100); color: var(--blue-600); }
.modal__close .icon { width: 20px; height: 20px; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.modal--doc .modal__panel { max-width: 860px; padding-bottom: 20px; }
.policy__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.policy__tabs button { font: 600 .85rem var(--font-head); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.policy__tabs button.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.policy { font-size: .95rem; line-height: 1.75; max-width: 72ch; }
.policy h3 { font-size: 1.1rem; margin: 30px 0 10px; }
.policy h4 { font-size: .98rem; margin: 20px 0 8px; }
.policy p { margin: 0 0 12px; }
.policy__meta { font-size: .85rem; color: var(--muted); margin-top: 14px !important; }
.policy mark { background: #fff1b8; color: var(--ink); padding: 0 3px; border-radius: 3px; }
.policy__table { overflow-x: auto; margin: 10px 0 20px; }
.policy table { border-collapse: collapse; width: 100%; font-size: .86rem; min-width: 520px; }
.policy th, .policy td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }

@media (max-width: 640px) {
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 18px 18px 0 0; padding: 36px 20px calc(24px + env(safe-area-inset-bottom, 0px)); max-height: 94vh; }
  .choice label { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .modal__backdrop, .modal__panel { animation: none; } }

/* ---------- Virtual meeting note ---------- */
.meeting-note { flex-direction: row; align-items: flex-start; gap: 14px; background: var(--sky-100); border-radius: var(--radius-sm); padding: 16px 18px; }
.meeting-note .icon { width: 26px; height: 26px; color: var(--blue-600); margin-top: 2px; }
.meeting-note p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink); }

/* ---------- Thank-you pop-up ---------- */
.modal--thanks .modal__panel { max-width: 480px; text-align: center; padding: 48px 40px 40px; }
.thanks__icon { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; }
.thanks__icon .icon { width: 40px; height: 40px; }
.modal--thanks p { margin: 0 auto 28px; max-width: 360px; }
@media (max-width: 640px) { .modal--thanks .modal__panel { padding: 40px 22px calc(28px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Cookie consent ---------- */
.footer__link-btn { background: none; border: 0; padding: 0; font: inherit; color: #9aa6cf; cursor: pointer; }
.footer__link-btn:hover { color: #fff; }
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 85;
  max-width: 1100px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(6,16,58,.45); padding: 22px 26px;
  display: flex; align-items: center; gap: 28px; animation: pop .35s ease;
}
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong { font-family: var(--font-head); color: var(--ink); display: block; margin-bottom: 4px; }
.cookie-banner__text p { margin: 0; font-size: .9rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-btn { background: var(--navy-800); color: #fff; min-width: 170px; justify-content: center; }
.cookie-btn:hover { background: var(--blue-600); }
.cookie-banner__manage { background: none; border: 0; font: 600 .88rem var(--font-head); color: var(--blue-600); cursor: pointer; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }

.consent-list { display: grid; gap: 12px; margin-bottom: 24px; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.consent-row h3 { font-size: 1rem; margin: 0 0 2px; }
.consent-row p { margin: 0; font-size: .88rem; line-height: 1.5; }
.consent-always { font: 600 .8rem var(--font-head); color: var(--blue-600); background: var(--sky-100); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.switch { position: relative; flex-shrink: 0; width: 48px; height: 28px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9d0e3; transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--blue-600); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--sky-400); outline-offset: 2px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 860px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1 1 45%; min-width: 0; }
  .cookie-banner__manage { flex-basis: 100%; }
  .consent-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- 404 page ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; background: var(--bg-soft); padding: 40px 16px; text-align: center; }
.notfound__main { max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 8rem); line-height: 1; color: var(--blue-600); margin: 36px 0 10px; }
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.notfound p { margin-bottom: 28px; }

/* Keep the regions label on one line on wider screens */
@media (min-width: 992px) { .stat__label--oneline { white-space: nowrap; } }
