/* ==========================================================================
   Mountain Detection & Security — stylesheet
   Palette: near-black slate background with the MDS logo gold as the accent.
   (The accent variable is still called --blue so existing rules keep working.)
   ========================================================================== */

:root {
  --bg: #0a0e14;
  --bg-alt: #0d1219;
  --surface: #12161d;
  --surface-2: #171c25;
  --border: #232a36;
  --border-strong: #2f3946;
  --text: #f2f4f7;
  --text-muted: #9aa3b0;
  --text-dim: #858f9c;   /* brightened for readability (5:1+ contrast) */
  --blue: #d9ae63;       /* accent: logo gold */
  --blue-dark: #b48a42;
  --gold: #e6c483;       /* lighter gold for headings/checks */
  --radius: 10px;
  --wrap: 1180px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Fixed, faded background image with slow-scroll parallax ---------- */
.bg-parallax {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-parallax-img {
  position: absolute;
  top: -18%;
  left: 0;
  width: 100%;
  height: 136%;
  background:
    linear-gradient(rgba(10, 14, 20, 0.86), rgba(10, 14, 20, 0.86)),
    url("../img/hero-background.jpg") center center / cover no-repeat;
  will-change: transform;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--text-muted); }

.section { padding: 88px 0; }
.section-title { max-width: 640px; }
.section-lead { max-width: 640px; margin-bottom: 32px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-rule { width: 28px; height: 2px; background: var(--blue); display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #06101c; }
.btn-primary:hover { background: #6bacf3; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand-name {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
  display: none;
}
@media (min-width: 720px) { .brand-name { display: inline; } }

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 64px;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 22px; }
.accent { color: var(--blue); }
.hero-sub { font-size: 1.05rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; }
.mountain-svg { width: 100%; max-width: 460px; }
.m-back { fill: #182130; }
.m-front { fill: #202b3c; }
.node { fill: var(--blue); }
.node-line { stroke: var(--blue); stroke-width: 1; opacity: 0.5; }

.trust-bar { border-top: 1px solid var(--border); background: var(--bg-alt); }
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 20px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.trust-bar-inner span { display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: inline-block; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 680px; }
.page-hero .hero-sub { max-width: 620px; }

/* ---------- Service pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pill:hover { border-color: var(--blue); background: var(--surface-2); }
.pill-icon { font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; }
.pill-icon svg { width: 18px; height: 18px; color: var(--blue); }
.chev { color: var(--blue); margin-left: 4px; }

/* ---------- Service detail rows ---------- */
.service-detail { border-top: 1px solid var(--border); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.service-detail.reverse .detail-grid { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 860px) {
  .detail-grid, .service-detail.reverse .detail-grid { grid-template-columns: 1fr; }
  /* On mobile, always show the photo above its text */
  .service-detail.reverse .detail-art,
  .detail-grid .detail-photo { order: -1; }
}
.detail-art { display: flex; justify-content: center; }
.icon-badge {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.icon-badge svg { width: 46%; height: 46%; color: var(--blue); }
.icon-badge.lg { width: 140px; height: 140px; font-size: 3.4rem; border-radius: 22px; }
.icon-badge.lg svg { width: 48%; height: 48%; }
.icon-badge.sm { width: 52px; height: 52px; font-size: 1.5rem; border-radius: 12px; margin-bottom: 18px; }
.icon-badge.sm svg { width: 52%; height: 52%; }
.detail-copy h2 { max-width: 480px; }
.detail-copy p { max-width: 520px; }
.link-arrow { color: var(--blue); font-weight: 600; font-size: 0.92rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 0.94rem; }
.check { color: var(--gold); font-weight: 700; margin-top: 1px; }

/* ---------- Feature / brand cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature-card p { margin: 0; font-size: 0.92rem; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.brand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.brand-card h3 { color: var(--gold); }
.brand-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Why-us radio-style bullets ---------- */
.why-us { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 36px;
}
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { display: flex; gap: 16px; padding: 28px; background: var(--bg-alt); }
.radio {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  margin-top: 4px;
  position: relative;
}
.radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--blue);
}
.why-item h3 { margin-bottom: 6px; font-size: 1.02rem; }
.why-item p { margin: 0; font-size: 0.92rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #101826, #0a0e14);
  border-top: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.cta-banner-inner { max-width: 560px; margin: 0 auto; }
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { margin-bottom: 30px; }

/* ---------- Two column (about) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label .optional { font-weight: 400; color: var(--text-dim); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-note { font-size: 0.85rem; margin: 16px 0 0; }
.form-note a { color: var(--blue); font-weight: 600; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.info-card h3 { font-size: 0.95rem; margin-bottom: 6px; color: var(--gold); }
.info-card p { margin: 0; font-size: 0.92rem; }
.info-card a { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand-mark { font-size: 1.1rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 10px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--blue); }
.footer-contact li { color: var(--text-muted); font-size: 0.9rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- Nav dropdown (Services) ---------- */
/* Desktop: lay out every top-level item the same way so "Services" lines up with the rest */
@media (min-width: 861px) {
  .main-nav > ul { align-items: center; }
  .main-nav > ul > li { display: flex; align-items: center; }
}
.has-dropdown { position: relative; display: flex; align-items: center; gap: 2px; }
.dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 4px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.dropdown-caret { font-size: 0.65rem; display: inline-block; transition: transform 0.15s ease; }
.has-dropdown:hover .dropdown-caret,
.has-dropdown.open .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 14px 8px 8px;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: opacity 0.15s ease, visibility 0.15s ease;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  z-index: 60;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
/* Stack dropdown items vertically (overrides the flex row from .main-nav ul) */
.main-nav .dropdown-menu { display: block; }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: none !important;
}
.dropdown-menu a:hover { background: var(--surface-2); color: var(--text); }

@media (max-width: 860px) {
  .has-dropdown { flex-wrap: wrap; }
  .dropdown-toggle { margin-left: auto; padding: 12px; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    width: 100%;
    transition: max-height 0.25s ease;
  }
  .has-dropdown.open .dropdown-menu { max-height: 400px; }
  /* Collapsed dropdown must have no padding, or part of it peeks through */
  .main-nav .dropdown-menu { padding: 0; margin: 0; }
  /* Full-width divider under the Services row (link + arrow) */
  .main-nav .has-dropdown { border-bottom: 1px solid var(--border); }
  .main-nav .has-dropdown > a { flex: 1; border-bottom: none; }
  .main-nav .dropdown-menu li:last-child a { border-bottom: none !important; }
  .main-nav .dropdown-menu a { border-radius: 0; }
  .dropdown-menu a { padding: 10px 0 10px 16px; border-bottom: 1px solid var(--border) !important; }
}

/* ---------- Solutions tabs (residential/commercial toggle) ---------- */
.solutions-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  margin-top: 8px;
}
.solutions-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.solutions-tab:hover { color: var(--text); }
.solutions-tab.active { background: var(--blue); color: #06101c; }

.solutions-panel { display: none; padding-top: 56px; }
.solutions-panel.active { display: block; }
.solutions-why { margin-top: 36px; }
.solutions-cta { margin-top: 44px; }

/* ---------- Detail photos (stock images next to service copy) ---------- */
.detail-photo {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.detail-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .detail-photo img { height: 220px; }
}

/* ---------- Brand cards (text-only, by design) ---------- */
.brand-card { position: relative; overflow: hidden; transition: border-color 0.15s ease, transform 0.15s ease; }
.brand-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), transparent);
}
.brand-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.brand-card h3 { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: 0.01em; margin: 0 0 8px; }

/* ---------- Service overview cards (services.html hub) ---------- */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-overview-card .service-card-photo { height: 170px; overflow: hidden; }
.service-overview-card .service-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-overview-card .service-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-overview-card .icon-badge.sm { margin-top: -46px; margin-bottom: 14px; background: var(--surface); }
.service-overview-card p { font-size: 0.92rem; flex: 1; }

/* ---------- Brand logo (header + footer) ---------- */
.brand { align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; }
.footer-logo { height: 52px; width: auto; align-self: flex-start; object-fit: contain; margin-bottom: 10px; }
.footer-brand .brand-name { display: block; }

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: none;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }
.steps-cta { margin-top: 32px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 48px;
  align-items: start;
}
.faq-intro { position: sticky; top: 100px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: var(--radius); }
.faq-icon { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 2px;
  background: var(--blue);
  transition: transform 0.2s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-intro { position: static; }
}

/* ---------- Legal pages (privacy) ---------- */
.legal-copy { max-width: 760px; }
.legal-copy h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal-copy p, .legal-copy li { color: var(--text-muted); }
.legal-copy ul { padding-left: 20px; display: grid; gap: 8px; }
.legal-copy a, .footer-legal a, .form-privacy a { color: var(--blue); }
.legal-updated { font-size: 0.85rem; color: var(--text-dim) !important; }
.form-privacy { font-size: 0.82rem; color: var(--text-dim); margin: 12px 0 0; }
.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Who we serve (solutions) ---------- */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 960px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .serve-grid { grid-template-columns: 1fr; } }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--blue);
  color: #06101c;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Mobile quote bar ---------- */
.mobile-quote-bar { display: none; }
@media (max-width: 860px) {
  .mobile-quote-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 40;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--blue);
    color: #06101c;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
  body:has(.mobile-quote-bar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.main-nav.open) .mobile-quote-bar { display: none; }
}
