:root {
  --blue-dark:  #0D3D6B;
  --blue-mid:   #1358A0;
  --blue-light: #2A78CC;
  --blue-pale:  #E8F1FB;
  --blue-xpale: #F3F7FD;
  --text-dark:  #111827;
  --text-mid:   #374151;
  --text-muted: #6B7280;
  --border:     #E5E7EB;
  --border-mid: #D1D5DB;
  --bg:         #FFFFFF;
  --bg-off:     #F9FAFB;
  --bg-section: #F4F7FB;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark); background: var(--bg);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-mid); }
img { max-width: 100%; display: block; }
ul { color: var(--text-muted); }

/* ── NAV ────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-mark { flex-shrink: 0; }
.nav-logo-divider { height: 32px; width: 1px; background: var(--border-mid); }
.nav-logo-text { display: flex; flex-direction: column; gap: 3px; }
.nav-logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 18px; font-weight: 700; line-height: 1;
  letter-spacing: -0.01em; color: var(--blue-dark);
}
.nav-logo-name em { font-style: normal; font-weight: 300; color: var(--blue-mid); }
.nav-logo-claim {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); line-height: 1;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-menu a, .nav-menu > li > a {
  font-size: 13.5px; color: var(--text-muted);
  text-decoration: none; transition: color .2s;
}
.nav-menu a:hover { color: var(--text-dark); }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 16px); left: -18px;
  background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(13,61,107,.14);
  min-width: 300px; padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .15s; border: 1px solid var(--border);
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; color: var(--text-dark) !important; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; text-decoration: none; }
.dropdown a:hover { background: var(--bg-off); }
.nav-cta {
  font-size: 13.5px; font-weight: 500;
  padding: 9px 22px; border-radius: 6px;
  background: var(--blue-mid); color: #fff !important;
  border: none; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; margin: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; margin: 5px 0; }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: #ffffff; border-bottom: 1px solid var(--border); z-index: 1000;
  padding: 20px 24px 28px; max-height: calc(100vh - 70px); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; font-size: 15px; color: var(--text-dark); text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .mobile-cta { display: block; margin-top: 12px; text-align: center; background: var(--blue-mid); color: #fff; border-radius: 8px; padding: 13px; font-weight: 500; }
.breadcrumb-nav { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb-nav a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav.on-light { color: var(--text-muted); }
.breadcrumb-nav.on-light a { color: var(--text-muted); }

/* ── PAGE HERO (interior pages) ─────────────── */
.phero {
  padding: 150px 60px 72px; background: #0a1628; position: relative; overflow: hidden;
}
.phero::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(10,22,40,0.96) 40%, rgba(19,88,160,0.4) 100%);
}
.phero .container { position: relative; z-index: 1; }
.phero .eyebrow { color: #7EBBF4; }
.phero h1 { font-family:'DM Serif Display', serif; font-size: 42px; font-weight:400; color:#fff; line-height:1.15; margin-bottom:18px; max-width: 780px; }
.phero p.lede { font-size: 16.5px; color: rgba(255,255,255,0.72); max-width: 640px; font-weight: 300; line-height: 1.75; }
.phero-actions { display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }

/* ── SECTION BASE ───────────────────────────── */
.section { padding: 88px 60px; }
.container { max-width: 1200px; margin: 0 auto; }
.eyebrow {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-mid); margin-bottom: 12px; display:block;
}
.s-title {
  font-family: 'DM Serif Display', serif;
  font-size: 34px; font-weight: 400; line-height: 1.25;
  color: var(--text-dark); margin-bottom: 16px;
}
.s-sub { font-size: 16px; color: var(--text-muted); line-height: 1.78; max-width: 640px; font-weight: 300; }
.s-header { margin-bottom: 48px; }
.section-alt { background: var(--bg-section); }
.section-navy { background: var(--blue-dark); }
.section-navy .eyebrow { color: #7EBBF4; }
.section-navy .s-title, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.68); }
p { color: var(--text-mid); font-weight: 300; line-height: 1.8; margin-bottom: 1em; }
h2, h3, h4 { font-family: 'DM Serif Display', serif; font-weight: 400; color: var(--text-dark); }
h3 { font-size: 19px; }

.btn-primary {
  font-size: 14.5px; font-weight: 500; padding: 13px 28px; border-radius: 6px;
  background: var(--blue-mid); color: #fff !important; border: none; cursor: pointer;
  text-decoration: none; display:inline-block; transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(19,88,160,0.4);
}
.btn-primary:hover { background: #0e4a8a; transform: translateY(-2px); }
.btn-outline {
  font-size: 14.5px; font-weight: 400; padding: 13px 28px; border-radius: 6px;
  background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer; text-decoration: none; display:inline-block; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); }
.btn-dark {
  font-size: 14.5px; font-weight: 500; padding: 13px 28px; border-radius: 6px;
  background: var(--blue-dark); color: #fff !important; border:none; cursor:pointer;
  text-decoration:none; display:inline-block; transition: background .2s, transform .15s;
}
.btn-dark:hover { background: #082a4c; transform: translateY(-2px); }

/* ── CARDS / GRIDS ──────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.svc-card, .card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 30px 26px 26px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.svc-card::after, .card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--blue-mid);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover, .card:hover { border-color: var(--blue-light); transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,0.08); }
.svc-card:hover::after, .card:hover::after { transform: scaleX(1); }
.svc-card h3, .card h3 { font-size: 16px; font-weight: 500; margin-bottom: 10px; line-height: 1.3; font-family:'DM Sans',sans-serif; }
.svc-card h3 a, .card h3 a { color: var(--text-dark); text-decoration:none; }
.svc-card p, .card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.72; margin-bottom: 14px; }
.card-link { font-size: 13px; font-weight: 500; text-decoration:none; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stag { font-size: 11px; padding: 3px 9px; border-radius: 20px; background: var(--bg-off); color: var(--text-muted); border: 1px solid var(--border); }

.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.res-card { padding: 30px 22px; border-radius: 14px; background: var(--bg-section); border: 1px solid var(--border); text-align: center; }
.res-num { font-family: 'DM Serif Display', serif; font-size: 40px; color: var(--blue-mid); line-height: 1; margin-bottom: 8px; }
.res-label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── ANSWER CAPSULE / FAQ (AEO) ─────────────── */
.answer-capsule {
  background: var(--blue-xpale); border-left: 3px solid var(--blue-mid);
  padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 22px 0 30px;
  font-size: 15px; color: var(--blue-dark); line-height: 1.7;
}
.answer-capsule strong { color: var(--blue-dark); }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--text-dark); font-family:'DM Sans',sans-serif; font-weight:600; }
.faq-item p { margin-bottom: 0; font-size: 14.5px; }

table.compare { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14px; }
table.compare th, table.compare td { border: 1px solid var(--border); padding: 13px 16px; text-align: left; }
table.compare th { background: var(--bg-section); color: var(--blue-dark); font-weight: 600; }

.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 1.5em; margin-bottom: .6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.tag { display:inline-block; background: var(--bg-off); color: var(--blue-dark); font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 100px; margin-right: 8px; border:1px solid var(--border); }
.article-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 26px; }

.cta-band { background: linear-gradient(120deg, var(--blue-mid), var(--blue-light)); color: #fff; padding: 56px 60px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 20px; }
.cta-band .btn-dark { background: #0a2540; }

/* ── FOOTER ─────────────────────────────────── */
footer.site-footer { background: #070f1c; color: rgba(255,255,255,0.4); padding: 48px 60px 28px; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:32px; margin-bottom: 36px; }
.footer-grid h4 { color:#fff; font-size:13.5px; font-family:'DM Sans',sans-serif; font-weight:600; margin-bottom:14px; }
.footer-grid ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.footer-grid a { color: rgba(255,255,255,0.5); text-decoration:none; font-size:13px; }
.footer-grid a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px; color:rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 28px; }
  .phero { padding: 120px 28px 56px; }
  .cta-band { padding: 48px 28px; }
  footer.site-footer { padding: 40px 28px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .phero h1 { font-size: 30px; }
  .s-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
