:root {
  --brand-primary: #244a78;
  --brand-secondary: #78b7a5;
  --brand-accent: #f2a950;
  --brand-deep: #102234;
  --bg: #f7faf8;
  --bg-alt: #edf5f1;
  --surface: #ffffff;
  --text: #17202a;
  --text-muted: #5c6670;
  --border: #d9e5df;
  --cta: #244a78;
  --cta-hover: #17365a;
  --cta-text: #ffffff;
  --ppc-form-bg: #102234;
  --ppc-form-text: #ffffff;
  --ppc-form-muted: rgba(255, 255, 255, .76);
  --ppc-form-border: rgba(255, 255, 255, .16);
  --shadow: 0 18px 40px rgba(16, 34, 52, .11);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header,
.ppc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(217, 229, 223, .72);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(16, 34, 52, .08);
}

.nav-shell,
.ppc-header-shell,
.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell,
.ppc-header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--brand-primary);
  text-decoration: none;
}

.brand img {
  width: 110px;
  height: auto;
}

.brand span {
  display: block;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  color: var(--brand-deep);
  font-size: .98rem;
  line-height: 1.1;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-nav a {
  color: var(--text);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--brand-primary);
}

.header-actions {
  gap: 10px;
}

.nav-toggle,
.mobile-close {
  display: none;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 900;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 20px;
  background: rgba(16, 34, 52, .48);
}

.mobile-panel {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  margin-left: auto;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-panel a {
  padding: 12px 0;
  color: var(--brand-deep);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.btn,
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.phone-link {
  white-space: nowrap;
}

.btn-primary {
  color: var(--cta-text);
  background: var(--cta);
  box-shadow: 0 14px 28px rgba(36, 74, 120, .2);
}

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

.btn-accent {
  color: #1d2630;
  background: var(--brand-accent);
}

.btn-light {
  color: var(--brand-deep);
  background: #fff;
}

.btn-outline,
.phone-link {
  color: var(--brand-deep);
  border: 1px solid var(--border);
  background: #fff;
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 680px);
  color: #fff;
  background: var(--brand-deep);
  isolation: isolate;
}

.hero::before,
.sub-hero::before,
.ppc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}

.hero::after,
.sub-hero::after,
.ppc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 34, 52, .93), rgba(16, 34, 52, .66) 58%, rgba(16, 34, 52, .28)),
    linear-gradient(180deg, rgba(16, 34, 52, .16), rgba(16, 34, 52, .38));
}

.hero-content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(86px, 12vh, 128px) 0 70px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--brand-secondary);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.sub-hero h1,
.ppc-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: .98;
}

.hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 650;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-proof {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1160px, calc(100% - 40px));
  margin: -44px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
  box-shadow: var(--shadow);
}

.hero-proof article,
.card,
.feature-card,
.step-card,
.contact-card,
.team-card {
  background: var(--surface);
}

.hero-proof article {
  min-height: 96px;
  padding: 22px;
}

.hero-proof strong,
.hero-proof span,
.card strong {
  display: block;
}

.hero-proof strong {
  color: var(--brand-deep);
  font-size: 1.02rem;
}

.hero-proof span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: .92rem;
}

.section {
  padding: clamp(66px, 8vw, 104px) 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.deep {
  color: #fff;
  background: var(--brand-deep);
}

.section.deep .section-heading h2,
.section.deep .section-heading p {
  color: #fff;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.cta-band h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p,
.split-copy p,
.card p,
.feature-card p,
.step-card p,
.team-card p,
.contact-card p,
.faq-item p {
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid > *,
.split > *,
.ppc-hero-grid > * {
  min-width: 0;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-card,
.step-card,
.contact-card,
.team-card,
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(16, 34, 52, .065);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body,
.feature-card,
.step-card,
.contact-card,
.team-card,
.faq-item {
  padding: 24px;
}

.card h3,
.feature-card h3,
.step-card h3,
.contact-card h3,
.team-card h3,
.faq-item h3 {
  margin: 0;
  color: var(--brand-deep);
}

.pill-list,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 7px 10px;
  color: var(--brand-primary);
  font-size: .84rem;
  font-weight: 850;
  border: 1px solid rgba(120, 183, 165, .46);
  border-radius: 8px;
  background: rgba(120, 183, 165, .14);
}

.check-list {
  display: grid;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-secondary);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.split-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: clamp(330px, 44vw, 520px);
  object-fit: cover;
}

.sub-hero {
  position: relative;
  min-height: 380px;
  color: #fff;
  background: var(--brand-deep);
  isolation: isolate;
}

.sub-hero .hero-content {
  padding: 88px 0 64px;
}

.sub-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.3rem);
}

.sub-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.08rem;
}

.route-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.route-links a {
  padding: 16px 18px;
  color: var(--brand-deep);
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.cta-band {
  padding: clamp(46px, 6vw, 72px);
  color: #fff;
  border-radius: 8px;
  background: var(--brand-deep);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 680px;
}

.site-footer {
  color: rgba(255, 255, 255, .82);
  background: var(--brand-deep);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, .7fr));
  gap: 30px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 34px;
}

.site-footer img {
  width: 120px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.site-footer h3,
.site-footer strong {
  color: #fff;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.ppc-page {
  background: #fff;
}

.ppc-alert {
  color: #122131;
  background: var(--brand-secondary);
}

.ppc-alert-inner {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
  font-size: .9rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
}

.ppc-header {
  position: relative;
}

.ppc-hero {
  position: relative;
  color: #fff;
  background: var(--brand-deep);
  isolation: isolate;
}

.ppc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px);
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
  width: min(1160px, calc(100% - 40px));
  min-height: clamp(620px, 78vh, 760px);
  margin: 0 auto;
  padding: clamp(52px, 7vh, 78px) 0;
}

.ppc-hero h1 {
  max-width: 700px;
  font-size: clamp(2.55rem, 5.3vw, 4.8rem);
}

.ppc-hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.12rem;
  font-weight: 650;
}

.ppc-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ppc-bullets li {
  min-height: 56px;
  padding: 12px;
  color: #fff;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.ppc-panel {
  padding: 28px;
  color: var(--ppc-form-text);
  border: 1px solid var(--ppc-form-border);
  border-top: 7px solid var(--brand-accent);
  border-radius: 8px;
  background: var(--ppc-form-bg);
  box-shadow: 0 26px 70px rgba(16, 34, 52, .35);
}

.ppc-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}

.ppc-panel p {
  color: var(--ppc-form-muted);
  font-size: .98rem;
}

.ppc-panel .btn {
  width: 100%;
}

.ppc-panel-note {
  padding: 14px;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.ppc-trust {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1160px, calc(100% - 40px));
  margin: -34px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
  box-shadow: var(--shadow);
}

.ppc-trust article {
  min-height: 86px;
  padding: 18px;
  background: #fff;
}

.ppc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(20px, calc((100vw - 1160px) / 2));
  color: rgba(255, 255, 255, .78);
  background: var(--brand-deep);
}

.ppc-footer a {
  color: #fff;
  text-decoration: none;
}

.sticky-mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle,
  .mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-proof,
  .grid.three,
  .grid.four,
  .ppc-trust,
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .ppc-hero-grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .ppc-hero-grid {
    min-height: auto;
  }

  .ppc-alert-inner {
    display: block;
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .ppc-hero p,
  .ppc-panel p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .ppc-header-shell,
  .section-inner,
  .hero-content,
  .hero-proof,
  .ppc-hero-grid,
  .ppc-trust,
  .footer-shell,
  .footer-bottom {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 92px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::after,
  .sub-hero::after,
  .ppc-hero::after {
    background: linear-gradient(180deg, rgba(16, 34, 52, .94), rgba(16, 34, 52, .78));
  }

  .hero-content {
    padding: 60px 0 72px;
  }

  .hero h1,
  .sub-hero h1,
  .ppc-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }

  .hero-proof,
  .grid.three,
  .grid.four,
  .ppc-bullets,
  .ppc-trust,
  .footer-shell,
  .route-links {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .card img {
    height: 190px;
  }

  .cta-band {
    padding: 30px;
  }

  .ppc-header-shell .phone-link,
  .ppc-header-shell .btn-outline {
    display: none;
  }

  .ppc-hero-grid {
    padding: 44px 0 58px;
  }

  .ppc-alert-inner {
    display: block;
    flex-wrap: wrap;
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
    font-size: .82rem;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .ppc-hero p,
  .ppc-panel p {
    overflow-wrap: anywhere;
  }

  .ppc-panel {
    padding: 22px;
  }

  .ppc-footer {
    display: grid;
    padding-bottom: 94px;
  }

  .sticky-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(16, 34, 52, .96);
    box-shadow: 0 -14px 32px rgba(16, 34, 52, .22);
  }

  .sticky-mobile-cta .btn {
    min-height: 46px;
    padding: 10px 8px;
    font-size: .82rem;
  }
}
