:root {
  --navy: #12375b;
  --navy-dark: #0c2945;
  --blue: #356f9f;
  --light-blue: #edf5fa;
  --white: #ffffff;
  --off-white: #f8fafb;
  --text: #202a33;
  --muted: #5c6872;
  --border: #dde5ea;
  --gold: #e6aa28;
}

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

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  padding: 9px 15px;
  color: var(--white);
  background: var(--navy-dark);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: .3px;
}

.brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 14px;
  font-weight: 700;
}

nav a:hover, .text-link:hover { color: var(--blue); }
.header-phone { color: var(--navy); font-weight: 800; white-space: nowrap; }

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  transition: .2s ease;
}

.button-primary { color: var(--white); background: var(--navy); }
.button-primary:hover { background: var(--navy-dark); }
.button-secondary { color: var(--navy); background: var(--white); border: 2px solid var(--navy); }
.button-secondary:hover { background: var(--light-blue); }

.mobile-menu-button, .mobile-nav, .mobile-action-bar { display: none; }
.mobile-menu-button { border: 0; color: var(--navy); background: transparent; font-size: 27px; cursor: pointer; }

.breadcrumbs {
  padding: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a { color: var(--navy); font-weight: 700; }
.breadcrumbs span { margin: 0 7px; color: #93a0aa; }

.page-hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--white) 52%, var(--light-blue) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-grid {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 55px;
  padding: 58px 0 65px;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

h1, h2, h3 { color: var(--navy-dark); }
h1 { font-size: clamp(40px, 5vw, 58px); line-height: 1.04; letter-spacing: -1.7px; }
h2 { font-size: 36px; line-height: 1.18; letter-spacing: -.6px; }
h3 { font-size: 23px; line-height: 1.25; }

.hero-lead {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 20px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-panel {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(12, 41, 69, .09);
}

.hero-panel h2 { font-size: 26px; margin-bottom: 13px; }
.hero-panel p { color: var(--muted); }

.check-list { margin-top: 18px; display: grid; gap: 10px; list-style: none; }
.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

section { padding: 70px 0; }
.section-alt { background: var(--off-white); }
.section-blue { background: var(--light-blue); }

.section-heading { max-width: 800px; margin: 0 auto 38px; text-align: center; }
.section-heading p { margin-top: 13px; color: var(--muted); font-size: 18px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 48px; align-items: start; }
.prose { display: grid; gap: 24px; }
.prose p { color: #3f4c57; font-size: 17px; }
.prose h2 { margin-top: 10px; }
.prose h3 { margin-top: 5px; }
.prose ul { padding-left: 21px; color: #3f4c57; display: grid; gap: 8px; }

.sidebar-card {
  position: sticky;
  top: 105px;
  padding: 28px;
  border-radius: 14px;
  background: var(--navy-dark);
  color: var(--white);
}

.sidebar-card h2 { color: var(--white); font-size: 26px; }
.sidebar-card p { margin: 12px 0 20px; color: #d9e7f1; }
.sidebar-card .button { width: 100%; margin-top: 10px; }
.sidebar-card .button-primary { color: var(--navy); background: var(--white); }
.sidebar-card .button-secondary { color: var(--white); border-color: var(--white); background: transparent; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .text-link { display: inline-block; margin-top: 16px; color: var(--navy); font-weight: 800; }

.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.fact { padding: 26px; background: var(--white); text-align: center; }
.fact strong { display: block; color: var(--navy); font-size: 22px; }
.fact span { display: block; margin-top: 4px; color: var(--muted); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { padding: 25px; border-radius: 14px; background: var(--white); border: 1px solid var(--border); }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 50%; color: var(--white); background: var(--navy); font-weight: 900; }
.process-step p { margin-top: 8px; color: var(--muted); }

.faq-list { max-width: 850px; margin: 0 auto; }
details { margin-bottom: 12px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
summary { cursor: pointer; color: var(--navy-dark); font-size: 18px; font-weight: 800; }
details p { padding-top: 13px; color: var(--muted); }

.review-quote { padding: 34px; border-left: 5px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--white); }
.review-quote blockquote { color: #3f4c57; font-size: 22px; line-height: 1.5; }
.review-quote cite { display: block; margin-top: 14px; color: var(--navy); font-style: normal; font-weight: 800; }

.cta { padding: 65px 0; background: var(--navy-dark); color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta h2 { color: var(--white); }
.cta p { max-width: 650px; margin-top: 9px; color: #d9e7f1; font-size: 17px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .button-primary { color: var(--navy); background: var(--white); }
.cta .button-secondary { color: var(--white); border-color: var(--white); background: transparent; }

footer { padding: 38px 0 92px; color: var(--white); background: #081e31; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand strong { font-size: 20px; }
.footer-brand p, .copyright { margin-top: 4px; color: #b7c7d3; font-size: 13px; }
.footer-contact { margin-top: 14px; color: #dce8f0; font-size: 14px; line-height: 1.65; }
.footer-contact a, .footer-contact strong { color: var(--white); font-weight: 700; }
.footer-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 18px; color: #dce8f0; font-size: 14px; font-weight: 700; }

@media (max-width: 900px) {
  nav { display: none; }
  .mobile-menu-button { display: block; }
  .mobile-nav.open { display: grid; padding: 8px 20px 18px; background: var(--white); border-top: 1px solid var(--border); }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--border); font-weight: 700; }
  .header-inner { min-height: 68px; }
  .page-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding: 46px 0 55px; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .card-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid #d7e0e6;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
  }
  .mobile-action-bar a { min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; font-weight: 900; }
  .mobile-call { color: var(--white); background: var(--navy); }
  .mobile-estimate { color: var(--navy-dark); background: var(--light-blue); border: 2px solid var(--navy); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar { font-size: 12px; line-height: 1.45; }
  .brand strong { font-size: 18px; }
  .brand span { font-size: 10px; }
  h1 { font-size: 39px; letter-spacing: -1px; }
  h2 { font-size: 30px; }
  .hero-lead { font-size: 18px; }
  .hero-buttons, .hero-buttons .button, .cta-buttons, .cta-buttons .button { width: 100%; }
  section { padding: 54px 0; }
  .card-grid, .card-grid.two, .process-grid, .fact-strip { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
