
/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }

/* ===== Design tokens ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-blue: #eef3f9;
  --bg-dark: #0f2540;
  --text: #182430;
  --text-muted: #576372;
  --text-soft: #7c8792;
  --primary: #1a4d8f;
  --primary-dark: #123a6e;
  --primary-light: #e7effa;
  --border: #e3e8ee;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 37, 64, .06);
  --shadow: 0 12px 32px rgba(15, 37, 64, .09);
  --shadow-lg: 0 24px 60px rgba(15, 37, 64, .16);
  --container: 1180px;
  --header-h: 78px;
}

/* ===== Layout helpers ===== */
html, body { overflow-x: hidden; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grid > *, .hero-facts-row > *, .footer-grid > *, .info-card > div { min-width: 0; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--blue { background: var(--bg-blue); }
.section--dark { background: var(--bg-dark); color: #eef3f9; }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
h1, .h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
h2, .h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.18; letter-spacing: -.01em; }
h3, .h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-muted); }
.muted { color: var(--text-muted); }
.small { font-size: 13.5px; color: var(--text-soft); }
.fine-print { font-size: 12.5px; color: var(--text-soft); line-height: 1.6; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn .icon { width: 19px; height: 19px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(26,77,143,.28); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26,77,143,.34); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--ghost { background: var(--primary-light); color: var(--primary); }
.btn--ghost:hover { background: #dce8f7; transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: 15px; }
.link-arrow:hover { color: var(--primary-dark); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--narrow { font-weight: 500; padding: 15px 22px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, height .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,37,64,.08); border-color: var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; margin: 0; width: 100%; padding: 0 24px 0 8px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; color: var(--text); min-width: 0; }
.brand-text { min-width: 0; overflow: hidden; text-align: center; }
.brand-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand small { display: block; font-weight: 500; font-size: 11.5px; color: var(--text-muted); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 0; min-width: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 0; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 9px 11px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.is-active { background: var(--primary-light); color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon.icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: var(--bg-dark); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(9,22,40,.94) 0%, rgba(9,22,40,.82) 42%, rgba(15,37,64,.55) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 128px 0 56px; }
.hero .eyebrow { color: #bcd4f2; }
.hero .eyebrow::before { background: #bcd4f2; }
.hero h1 { max-width: 780px; }
.hero .lead { max-width: 620px; color: #cfdcec; margin-top: 20px; }
.hero .btn-row { margin-top: 36px; }
.hero-facts { position: relative; z-index: 2; margin-top: 56px; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-facts-row { display: flex; flex-wrap: wrap; gap: 32px 56px; padding: 26px 0; }
.hero-fact strong { display: block; font-size: 15px; color: #fff; }
.hero-fact span { display: block; font-size: 13px; color: #aebfd4; margin-top: 2px; }

.page-hero { position: relative; background: var(--bg-dark); color: #fff; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 2; padding: 62px 0 54px; }
.page-hero h1 { max-width: 760px; }
.page-hero .lead { max-width: 640px; color: #cfdcec; margin-top: 16px; }

/* ===== Cards ===== */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ===== Services plain list (no card boxes) ===== */
.service-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.service-row {
  display: flex; align-items: center; gap: 22px; padding: 26px 6px; text-decoration: none;
  border-bottom: 1px solid var(--border); transition: background-color .15s ease, padding-left .2s ease;
}
.service-row:hover { background: var(--bg-alt); padding-left: 14px; }
.service-row-body { flex: 1; min-width: 0; }
.service-row-body h3 { margin-bottom: 4px; }
.service-row-body p { color: var(--text-muted); font-size: 15px; }
.service-row-arrow { flex-shrink: 0; display: flex; }
.service-row-arrow .icon { width: 20px; height: 20px; color: var(--primary); transition: transform .2s ease; }
.service-row:hover .service-row-arrow .icon { transform: translateX(5px); }
@media (max-width: 640px) {
  .service-row { gap: 14px; padding: 20px 4px; }
}

.feature-card { text-align: left; }
.feature-card .card-icon { background: var(--bg-dark); color: #8fb6e6; }

/* ===== Service detail: checklist sections & note callout ===== */
.info-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.info-sections--single { grid-template-columns: 1fr; max-width: 560px; }
.info-section h3 { margin-bottom: 18px; }
.check-list { display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.4; }
.check-list .icon { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.check-list--negative li { color: var(--text-muted); }
.check-list--negative .icon { color: var(--text-soft); }
.note-card { border-left: 3px solid var(--primary); background: var(--bg-alt); border-radius: var(--radius-sm); padding: 20px 24px; }
.note-card strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 15px; }
.note-card p { color: var(--text-muted); font-size: 15px; margin: 0; }
.note-card p + p { margin-top: 10px; }
.note-card--warning { border-left-color: #c0392b; background: rgba(192, 57, 43, .06); }
.note-card--warning strong { color: #8a271a; }
.note-card--warning p { color: #7a3a35; }

/* ===== Brand strip ===== */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.brand-tile {
  display: flex; align-items: center; justify-content: center; height: 96px; padding: 14px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3e0f0; }
.brand-tile img { max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.brand-card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; border: none; box-shadow: none; background: transparent; padding: 0; }
.brand-card .brand-logo-box {
  display: flex; align-items: center; justify-content: center; height: 72px; width: 100%;
  background: transparent; border: none; padding: 12px 0;
}
.brand-card .brand-logo-box img { max-width: 100%; max-height: 40px; object-fit: contain; }

/* ===== Accordion (FAQ) ===== */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; background: none; border: none; text-align: left; font-size: 16.5px; font-weight: 700; color: var(--text);
}
.accordion-trigger .icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; transition: transform .2s ease; }
.accordion-item.is-open .accordion-trigger .icon { transform: rotate(180deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel-inner { overflow: hidden; }
.accordion-panel p { padding: 0 26px 24px; color: var(--text-muted); font-size: 15px; max-width: 760px; }

/* ===== Table ===== */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 16px 22px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.hours-table th { font-weight: 700; width: 46%; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td strong { color: var(--primary); }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 18px 0; }
.cta-band h2 { color: #fff; font-size: clamp(21px, 2.2vw, 27px); }
.cta-band p { color: #d7e5f6; margin-top: 8px; max-width: 480px; }
.cta-band .btn--ghost { background: #fff; color: var(--primary-dark); }
.cta-band .btn--ghost:hover { background: #eef3f9; }
.cta-band .btn--outline { border-color: rgba(255,255,255,.6); color: #fff; }

/* ===== Info blocks (contact page) ===== */
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--border); }
.info-card:last-child { border-bottom: none; }
.info-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.info-card h3 { margin-bottom: 6px; }
.info-card a.value, .info-card .value { font-weight: 700; color: var(--primary); font-size: 16px; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); height: 100%; min-height: 420px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: #c3d2e3; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: #a9bcd2; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 18px; letter-spacing: .02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: #a9bcd2; }
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; color: #6f92bb; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: 13px; color: #7f92a9; }

/* ===== Utility ===== */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.pill-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--primary-light); color: var(--primary); font-size: 12.5px; font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band-inner { padding: 20px 0; flex-direction: column; align-items: flex-start; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn { flex: 1; }
  .hero-inner { padding: 108px 0 64px; }
  .hero-facts-row { gap: 20px 40px; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .container { padding: 0 16px; }
  .site-header .container { padding: 0 16px 0 8px; }
}

/* ===== Mobile nav drawer ===== */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: #fff;
  transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  padding: 24px; display: none;
}
.mobile-nav.is-open { transform: translateX(0); }
@media (max-width: 1024px) { .mobile-nav { display: block; } }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--border); }
.mobile-nav a.nav-link { display: block; padding: 16px 4px; font-size: 16px; font-weight: 700; }
