/* ==========================================================================
   NexGen IT Solutions — site styles
   Plain CSS, no build step, no JavaScript.
   Self-hosted Poppins (SIL OFL) in /assets/fonts.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700-latin.woff2") format("woff2");
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --bg: #061131;
  --bg-deep: #040b22;
  --panel: #0a1d4d;
  --panel-2: #081a45;
  --blue: #2f8cff;
  --blue-strong: #1e6fff;
  --blue-light: #6fc0ff;
  --border: #2b6fe0;
  --line: rgba(111, 192, 255, 0.18);
  --text: #ffffff;
  --text-soft: #d6e2f7;
  --text-muted: #9fb3d9;
  --radius: 18px;
  --container: 1120px;
  --gutter: 24px;
  --header-h: 84px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  /* deep navy with a faint dot-grid "circuit" texture */
  background-image:
    radial-gradient(circle at 15% 0%, rgba(30, 111, 255, 0.22), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(30, 111, 255, 0.16), transparent 40%),
    radial-gradient(rgba(111, 192, 255, 0.10) 1px, transparent 1.5px);
  background-size: auto, auto, 26px 26px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* --- Header + navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(135deg, rgba(47, 140, 255, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(8, 33, 92, 0.96) 0%, rgba(6, 26, 74, 0.96) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--blue-strong);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(47, 140, 255, 0.45));
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-name-top    { font-size: 26px; color: var(--text); }
.brand-name-bottom { font-size: 26px; color: var(--blue); margin-top: 3px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-soft);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { color: #fff; background: rgba(47, 140, 255, 0.14); }
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(47, 140, 255, 0.20);
  box-shadow: inset 0 0 0 1px rgba(111, 192, 255, 0.40);
}
.site-nav a.nav-cta {
  margin-left: 8px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 18px rgba(47, 140, 255, 0.35);
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] { background: var(--blue-light); color: #061131; }

/* Hamburger — CSS-only toggle via a visually hidden checkbox */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(47, 140, 255, 0.10);
  cursor: pointer;
  place-items: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top: 7px; }
.nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bars { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible ~ .nav-toggle-btn { outline: 3px solid var(--blue-light); outline-offset: 2px; }

/* --- Buttons & links ------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 22px rgba(47, 140, 255, 0.35);
}
.btn--primary:hover { background: var(--blue-light); color: #061131; transform: translateY(-1px); }
.btn--ghost {
  border-color: rgba(111, 192, 255, 0.5);
  color: #fff;
  background: rgba(47, 140, 255, 0.08);
}
.btn--ghost:hover { border-color: var(--blue-light); background: rgba(47, 140, 255, 0.16); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  font-weight: 600;
  color: var(--blue);
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--blue-light); }

/* --- Headings & section scaffolding -------------------------------------- */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue);
}

.section { padding: 56px 0; }
.section--tight { padding: 24px 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(10, 29, 77, 0.55), rgba(10, 29, 77, 0.25));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 6px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border-bottom: 4px solid var(--blue);
}

.section-head { text-align: center; margin-bottom: 32px; }
.section-head .section-title { margin-bottom: 14px; }
.section-sub {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 16.5px;
  color: var(--text-soft);
}
.section-more { margin-top: 24px; }

.lead {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 56ch;
}
.lead + .lead { margin-top: 14px; }

/* --- Home hero ------------------------------------------------------------ */
.hero { padding: 64px 0 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  margin: 12px 0 18px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 54ch;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-soft);
}

/* --- Inner page hero ------------------------------------------------------ */
.page-hero {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 111, 255, 0.10), transparent);
}
.page-title {
  margin: 10px 0 14px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.page-intro {
  max-width: 70ch;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-soft);
  padding-bottom: 24px;
}

/* --- Stats strip ---------------------------------------------------------- */
.section--stats { padding: 24px 0 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 40, 105, 0.55), rgba(7, 22, 64, 0.65));
}
.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue);
  text-shadow: 0 0 18px rgba(47, 140, 255, 0.35);
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

/* --- Coverage map --------------------------------------------------------- */
.map-card {
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0c2360 0%, #081a48 100%);
  box-shadow:
    inset 0 0 0 1px rgba(111, 192, 255, 0.10),
    0 20px 50px rgba(0, 0, 0, 0.35);
}
.map { width: 100%; height: auto; aspect-ratio: 950 / 535; }
.map-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 0 0 22px rgba(47, 140, 255, 0.45);
}

/* --- Service cards (home) ------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.services--home { grid-template-columns: repeat(6, 1fr); }
.services--home > li { grid-column: span 2; }
/* 3 + 2 layout: last two cards centred */
.services--home > li:nth-child(4) { grid-column: 2 / span 2; }
.services--home > li:nth-child(5) { grid-column: 4 / span 2; }

.service {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 210px;
  padding: 28px 18px 24px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 140, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(14, 40, 105, 0.75) 0%, rgba(7, 22, 64, 0.90) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service:hover {
  transform: translateY(-3px);
  border-color: var(--blue-light);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(47, 140, 255, 0.25);
}
.service--wide { grid-column: 1 / -1; }

.service-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  color: var(--blue);
  filter: drop-shadow(0 0 10px rgba(47, 140, 255, 0.35));
}

.service-name { font-size: 20px; font-weight: 700; line-height: 1.2; }
.service-sub {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.service-blurb {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* --- Services page: details ---------------------------------------------- */
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jump-nav a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(47, 140, 255, 0.08);
}
.jump-nav a:hover { border-color: var(--blue-light); color: #fff; }

.section--details { padding-top: 16px; }

.service-detail {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: 0; }

.service-detail-icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 2px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 140, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(14, 40, 105, 0.75) 0%, rgba(7, 22, 64, 0.90) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.30);
}
.service-detail-icon .service-icon { width: 64px; height: 64px; margin: 0; }

.service-detail-title { font-size: 28px; font-weight: 700; line-height: 1.2; }
.service-detail-sub {
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--blue);
}
.service-detail-text {
  margin-top: 12px;
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}
.service-detail-h3 {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue);
}

/* tick lists */
.ticks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-top: 12px;
}
.ticks--single { grid-template-columns: 1fr; margin-top: 18px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M12 20.5l5.5 5.5L28.5 15' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

/* --- Process steps -------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 40, 105, 0.55), rgba(7, 22, 64, 0.65));
}
.step-num {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  text-shadow: 0 0 18px rgba(47, 140, 255, 0.35);
}
.step-title { margin: 12px 0 8px; font-size: 20px; font-weight: 700; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }

/* --- About page ----------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
}
.about-grid--map { align-items: center; }

.value-list { display: grid; gap: 18px; }
.value {
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(47, 140, 255, 0.12), rgba(47, 140, 255, 0.03));
}
.value h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.value p { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }

/* --- Benefits (check list) ------------------------------------------------ */
.benefits { display: grid; gap: 18px; }
.benefits--stack { grid-template-columns: 1fr; }
.benefits--grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 32px;
  text-align: left;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}
.benefit--rich { align-items: flex-start; font-size: 19px; }
.benefit--rich .check { margin-top: 1px; }
.benefit-desc {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-soft);
}

.check {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M12 20.5l5.5 5.5L28.5 15' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  box-shadow: 0 0 16px rgba(47, 140, 255, 0.45);
}

/* --- CTA banner ----------------------------------------------------------- */
.section--cta { padding-top: 16px; }
.cta {
  padding: 48px 32px;
  text-align: center;
  border: 1px solid rgba(111, 192, 255, 0.30);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(111, 192, 255, 0.25), transparent 50%),
    linear-gradient(135deg, #123a9a 0%, #0a2470 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.cta-title { font-size: 32px; font-weight: 700; line-height: 1.2; }
.cta-text {
  max-width: 60ch;
  margin: 12px auto 0;
  font-size: 16.5px;
  color: var(--text-soft);
}

/* --- Contact page --------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: start;
  padding-top: 16px;
  padding-bottom: 40px;
}
.contact-cards { display: grid; gap: 14px; }
.contact-cards .contact {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 40, 105, 0.55), rgba(7, 22, 64, 0.65));
}
.contact-cards .contact-value { font-size: 16px; }

.form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 35, 96, 0.85), rgba(8, 26, 72, 0.85));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
.form-title { margin-bottom: 20px; font-size: 24px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(111, 192, 255, 0.30);
  border-radius: 10px;
  background: rgba(6, 17, 49, 0.75);
  color: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.25);
}
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.form-note { font-size: 13px; line-height: 1.5; color: var(--text-muted); max-width: 40ch; }
.form-note a { color: var(--blue); font-weight: 600; }
.form-note a:hover { color: var(--blue-light); }

/* --- Footer / contact strip ----------------------------------------------- */
.site-footer {
  margin-top: 24px;
  background: linear-gradient(180deg, #07173f 0%, var(--bg-deep) 100%);
  border-top: 4px solid var(--blue-strong);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 1fr 1.3fr;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.contact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-style: normal;
  min-width: 0;
}

.contact-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 16px rgba(47, 140, 255, 0.40);
}
.contact-icon svg { width: 24px; height: 24px; fill: currentColor; }
.contact-icon svg[fill="none"] { fill: none; }

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
  min-width: 0;
}
.contact-label { font-size: 15px; font-weight: 600; color: var(--blue); }
.contact-value { font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }

a.contact .contact-value { transition: color 0.15s ease; }
a.contact:hover .contact-value,
a.contact:focus-visible .contact-value { color: var(--blue-light); }

.footer-bar { border-top: 1px solid var(--line); }
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.footer-copy { font-size: 13.5px; color: var(--text-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { font-size: 13.5px; font-weight: 600; color: var(--text-soft); }
.footer-links a:hover { color: var(--blue-light); }

/* --- 404 page ------------------------------------------------------------- */
.nf { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 64px 24px; }
.nf h1 { font-size: 72px; line-height: 1; margin: 0 0 8px; color: var(--blue); }
.nf p { font-size: 18px; color: var(--text-soft); margin-bottom: 28px; }

/* --- Focus ---------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
.service:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 4px;
  border-radius: 6px;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: 38px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services--home { grid-template-columns: 1fr 1fr; }
  .services--home > li,
  .services--home > li:nth-child(4),
  .services--home > li:nth-child(5) { grid-column: auto; }
  .services--home > li:last-child { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .benefits--grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  /* mobile navigation */
  .nav-toggle-btn { display: grid; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px var(--gutter) 16px;
    background: linear-gradient(180deg, #08215c 0%, #061a4a 100%);
    border-bottom: 3px solid var(--blue-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { display: block; padding: 13px 16px; border-radius: 10px; font-size: 17px; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-name-top,
  .brand-name-bottom { font-size: 21px; }

  .hero { padding-top: 40px; }
  .hero-title { font-size: 31px; }
  .hero-text { font-size: 16px; }
  .page-hero { padding-top: 36px; }
  .page-title { font-size: 30px; }
  .page-intro { font-size: 16px; }

  .section { padding: 40px 0; }
  .section-title { font-size: 25px; }
  .stats { gap: 12px; }
  .stat { padding: 14px 16px; }
  .stat-value { font-size: 26px; }

  .map-card { padding: 14px 14px 16px; }
  .map-caption { font-size: 22px; margin-top: 12px; }

  .services, .services--home { gap: 14px; }
  .service { min-height: 0; padding: 22px 12px 20px; }
  .service-icon { width: 60px; height: 60px; margin-bottom: 10px; }
  .service-name { font-size: 17px; }
  .service-blurb { font-size: 13px; }

  .service-detail { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .service-detail-icon { width: 84px; height: 84px; border-radius: 18px; }
  .service-detail-icon .service-icon { width: 50px; height: 50px; }
  .service-detail-title { font-size: 24px; }
  .ticks { grid-template-columns: 1fr; }

  .process { grid-template-columns: 1fr; }
  .benefits--grid { grid-template-columns: 1fr; }
  .benefit { font-size: 18px; gap: 12px; }
  .check { width: 32px; height: 32px; }

  .cta { padding: 36px 20px; }
  .cta-title { font-size: 26px; }

  .form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
  .footer-bar-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service, .btn, .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: none; }
}
