:root {
  --navy: #0f2233;
  --navy-deep: #091622;
  --slate: #21384a;
  --ink: #16222e;
  --muted: #526475;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --border: #dde4ec;
  --accent: #0e6ba8;
  --accent-hover: #0a5384;
  --copper: #b86619;
  --copper-soft: #fdf4eb;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  line-height: 1.18;
  margin-top: 0;
  letter-spacing: -0.015em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand-name {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

.site-nav a {
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  text-decoration: none;
}

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

.phone-link {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 7px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
}

.btn-light {
  background: #ffffff;
  color: var(--navy);
}

.btn-light:hover {
  background: #e9eff5;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 60%, #17344d 100%);
  color: #eef3f8;
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f3b562;
  margin-bottom: 14px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.14rem;
  color: #d6e2ee;
  margin: 0 0 26px;
  max-width: 58ch;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: #e4edf5;
  font-weight: 500;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #f3b562;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  color: #bdd0e2;
}

/* Subpage Hero */
.page-hero {
  background: var(--navy);
  color: #eef3f8;
  padding: 52px 0 56px;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
  max-width: 24ch;
}

.page-hero p {
  color: #d6e2ee;
  font-size: 1.1rem;
  max-width: 62ch;
  margin: 0;
}

/* Cards & Forms */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.intake-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 40px rgba(5, 14, 24, 0.28);
}

.intake-card h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.intake-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.form-grid {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9d4e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: #ffffff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(14, 107, 168, 0.25);
  border-color: var(--accent);
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 30px;
  max-width: 64ch;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 10px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(15, 34, 51, 0.07);
}

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Tables & Callouts */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  background: #edf2f7;
  font-family: "Archivo", sans-serif;
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  background: var(--copper-soft);
  border-left: 4px solid var(--copper);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  margin: 24px 0;
}

.callout strong {
  color: var(--navy);
}

/* Two-column article + sticky CTA */
.content-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 36px;
  align-items: start;
}

.prose h2 {
  font-size: 1.42rem;
  margin: 30px 0 10px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.aside-sticky {
  position: sticky;
  top: 94px;
}

/* CTA Band */
.cta-band {
  background: var(--navy);
  color: #eef3f8;
  padding: 46px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.cta-band p {
  margin: 0;
  color: #c8d8e8;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #adc0d4;
  padding: 42px 0 34px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h3 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.site-footer a {
  color: #c9d8e7;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.84rem;
  color: #8ea5bc;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 16px 22px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 12px 28px rgba(15, 34, 51, 0.1);
  }

  .site-nav.open {
    display: flex;
  }

  .header-cta .phone-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 52px;
  }
}
