/* ============================================================
   DVWC Group — Government IT Services
   Design system & global styles  (soft tonal / light theme)
   ============================================================ */

:root {
  /* Brand palette */
  --granite: #84828f;
  --dim: #6a687a;
  --slate: #536271;
  --charcoal: #3e4c5e;
  --space: #2c3d55;

  /* Deep shades (used for the dark CTA band) */
  --space-deep: #243349;
  --space-darker: #1b2739;
  --ink: #1d2a3d;

  /* Light theme surfaces & text */
  --bg: #eef1f6;
  --text: #26344a;        /* headings / strong text */
  --body: #4d5a6b;        /* body copy */
  --muted: #5f6c7d;
  --muted-dim: #8b95a4;
  --line: rgba(40, 55, 77, 0.10);
  --line-strong: rgba(40, 55, 77, 0.18);

  --surface: #ffffff;
  --surface-2: #eef2f8;
  --white: #ffffff;

  /* Accents */
  --accent: #5183b6;        /* fills */
  --accent-ink: #356092;    /* text / icons on light */
  --accent-bright: #8fb6dd; /* accents on the dark CTA band */
  --accent-soft: rgba(81, 131, 182, 0.10);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;

  --shadow: 0 22px 50px -26px rgba(38, 52, 74, 0.32);
  --card-shadow: 0 12px 30px -18px rgba(38, 52, 74, 0.18);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Soft, uplifting gradient washes (no grid) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 720px at 82% -12%, rgba(81, 131, 182, 0.20), transparent 58%),
    radial-gradient(820px 600px at 2% 4%, rgba(132, 130, 143, 0.18), transparent 55%),
    radial-gradient(900px 700px at 60% 108%, rgba(143, 182, 221, 0.16), transparent 60%),
    linear-gradient(165deg, #f4f7fc 0%, #eaeff7 52%, #e6ecf4 100%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: var(--text); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent-ink);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.lead { color: var(--muted); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(165deg, var(--accent-ink), var(--space));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(44, 61, 85, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: var(--card-shadow);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent-ink); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 252, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .name { font-weight: 800; letter-spacing: 0.04em; font-size: 1.05rem; color: var(--text); }
.brand .name span { color: var(--accent-ink); }
.brand .sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links .btn { margin-left: 10px; padding: 10px 20px; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 44px; height: 42px;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  margin: 22px 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent-ink), var(--space));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { max-width: 540px; margin-bottom: 32px; font-size: 1.18rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  color: var(--muted-dim);
  font-size: 0.84rem;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-ink); }

/* Hero side card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(81, 131, 182, 0.16), transparent 70%);
}
.hero-card h3 { font-size: 1.05rem; margin-bottom: 4px; position: relative; }
.hero-card .muted { color: var(--muted-dim); font-size: 0.85rem; margin-bottom: 22px; }
.cred-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.cred-row:first-of-type { border-top: none; }
.cred-ic {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}
.cred-ic svg { width: 20px; height: 20px; color: var(--accent-ink); }
.cred-row b { display: block; font-size: 0.95rem; color: var(--text); }
.cred-row small { color: var(--muted-dim); }

/* ---------- Section scaffold ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 16px 0 14px; }

/* ---------- Value strip ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.value-card .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.value-card .ic svg { width: 24px; height: 24px; color: var(--accent-ink); }
.value-card h3 { font-size: 1.15rem; margin-bottom: 9px; }
.value-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Services ---------- */
.svc-list { display: grid; gap: 22px; }
.svc {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.svc:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--accent-soft);
}
.svc-body h3 { font-size: 1.5rem; margin-bottom: 12px; }
.svc-body p { color: var(--muted); max-width: 640px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.svc-tags span {
  font-size: 0.8rem;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 5px 13px;
  border-radius: 999px;
}
.svc-side { color: var(--muted-dim); font-size: 0.82rem; text-align: right; min-width: 130px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.member:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.member-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.avatar {
  width: 58px; height: 58px;
  flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(150deg, var(--accent), var(--slate));
}
.member-top h3 { font-size: 1.2rem; }
.member-top .role { color: var(--accent-ink); font-size: 0.9rem; font-weight: 600; }
.member ul { list-style: none; display: grid; gap: 11px; }
.member li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.member li::before {
  content: "";
  position: absolute;
  left: 3px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-ink);
}
.member li b { color: var(--text); font-weight: 600; }

/* ---------- Capability stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--card-shadow);
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: linear-gradient(120deg, var(--accent-ink), var(--slate));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted-dim); font-size: 0.88rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
}
.step .n {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent-ink); margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- CTA band (deep, for premium contrast) ---------- */
.cta {
  background: linear-gradient(150deg, var(--space) 0%, var(--space-darker) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 240px at 50% 0%, rgba(143, 182, 221, 0.26), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.80); max-width: 560px; margin: 0 auto 28px; }
.cta .eyebrow { color: var(--accent-bright); }
.cta .eyebrow::before { background: var(--accent-bright); }
.cta .btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(143, 182, 221, 0.5);
}
.cta .btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow: none;
}
.cta .btn-ghost:hover { border-color: var(--accent-bright); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 80px 0 28px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px 0 18px; }
.page-hero p { max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 56px 0 36px;
  background: rgba(255, 255, 255, 0.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 38px;
}
.footer-grid p { color: var(--muted-dim); font-size: 0.9rem; max-width: 320px; margin-top: 14px; }
.footer-col h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted-dim); margin-bottom: 16px;
}
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: 0.93rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-ink); }
.office-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--muted-dim); }
.footer-col .office-label { margin: 12px 0 2px; }
.contact-meta .office-label { margin-bottom: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--muted-dim); font-size: 0.82rem;
}
.badge-line { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-line span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 12px;
}

/* ---------- Color tints (variety) ---------- */
.v-blue   { background: rgba(81, 131, 182, 0.12); border-color: rgba(81, 131, 182, 0.24); }
.v-blue svg   { color: #356092; }
.v-teal   { background: rgba(44, 138, 130, 0.12); border-color: rgba(44, 138, 130, 0.24); }
.v-teal svg   { color: #2c8a82; }
.v-indigo { background: rgba(90, 99, 176, 0.12); border-color: rgba(90, 99, 176, 0.24); }
.v-indigo svg { color: #5a63b0; }
.v-amber  { background: rgba(192, 138, 62, 0.14); border-color: rgba(192, 138, 62, 0.28); }
.v-amber svg  { color: #b07d32; }
.svc-num.v-blue   { color: #356092; }
.svc-num.v-teal   { color: #2c8a82; }
.svc-num.v-indigo { color: #5a63b0; }

/* ---------- Hero media composition ---------- */
.hero-media { position: relative; }
.hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-frame img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
}
.hero-badge .bic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; }
.hero-badge .bic svg { width: 20px; height: 20px; color: var(--accent-ink); }
.hero-badge b { display: block; font-size: 0.92rem; color: var(--text); }
.hero-badge small { color: var(--muted-dim); font-size: 0.74rem; }
.hero-chip {
  position: absolute; right: -14px; top: 28px;
  background: linear-gradient(165deg, var(--accent-ink), var(--space));
  color: #fff; border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 14px 30px -12px rgba(44, 61, 85, 0.5); text-align: center;
}
.hero-chip b { display: block; font-size: 1.5rem; line-height: 1; }
.hero-chip span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.82); }

/* ---------- Capability strip ---------- */
.cap-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--card-shadow);
}
.cap-item { display: flex; gap: 14px; align-items: center; padding: 8px 10px; }
.cap-ic { width: 46px; height: 46px; flex: none; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.cap-ic svg { width: 22px; height: 22px; }
.cap-item b { display: block; font-size: 0.95rem; color: var(--text); }
.cap-item small { color: var(--muted-dim); font-size: 0.78rem; }

/* ---------- Service thumbnails ---------- */
.svc { align-items: center; }
.svc-thumb img { width: 210px; height: 150px; object-fit: cover; border-radius: 14px; box-shadow: var(--card-shadow); display: block; }

/* ---------- Feature banner ---------- */
.feature-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.feature-banner img { width: 100%; height: 360px; object-fit: cover; display: block; }
.feature-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px; color: #fff; font-weight: 600; font-size: 1.05rem;
  background: linear-gradient(0deg, rgba(20, 29, 43, 0.82), transparent);
}

/* ---------- CTA with photo background ---------- */
.cta--photo {
  background:
    linear-gradient(150deg, rgba(28, 39, 57, 0.93), rgba(20, 29, 43, 0.92)),
    url("img/cta-city.jpg") center / cover no-repeat;
}

/* ---------- Team avatar variety ---------- */
.avatar.a2 { background: linear-gradient(150deg, #2c8a82, #3e4c5e); }
.avatar.a3 { background: linear-gradient(150deg, #5a63b0, #2c3d55); }
.avatar.a4 { background: linear-gradient(150deg, #c08a5a, #536271); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-intro .lead { margin-top: 14px; }
.contact-meta { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.contact-meta li { display: flex; gap: 13px; align-items: center; color: var(--muted); font-size: 0.96rem; }
.contact-meta .mic {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: var(--accent-soft); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}
.contact-meta .mic svg { width: 19px; height: 19px; color: var(--accent-ink); }
.contact-meta a { color: var(--muted); }
.contact-meta a:hover { color: var(--accent-ink); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field label span { color: var(--muted-dim); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.contact-note { margin-top: 14px; font-size: 0.82rem; color: var(--muted-dim); text-align: center; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .values, .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; gap: 18px; }
  .svc-num { width: 48px; height: 48px; }
  .svc-thumb { order: -1; }
  .svc-thumb img { width: 100%; height: 180px; }
  .svc-side { display: none; }
  .cap-strip { grid-template-columns: 1fr 1fr; }
  .hero-frame img { height: 380px; }
  .hero-badge { left: 8px; }
  .hero-chip { right: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(247, 249, 252, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 16px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: grid; place-items: center; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 26px; }
  .svc { padding: 26px; }
  .member, .hero-card { padding: 24px; }
  .cap-strip { grid-template-columns: 1fr; }
  .hero-frame img { height: 300px; }
  .feature-banner img { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
