:root {
  --ink: #171839;
  --muted: #62647c;
  --line: #e4e5f1;
  --paper: #fbfbff;
  --soft: #f1f2ff;
  --primary: #292582;
  --primary-dark: #19155f;
  --accent: #ed1c24;
  --accent-dark: #bd1118;
  --gold: #f4b23f;
  --blue: #292582;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(23, 24, 57, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(251, 252, 249, 0.93);
  border-bottom: 1px solid rgba(221, 229, 223, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(18rem, 58vw);
}

.brand img {
  display: block;
  width: 100%;
  max-height: 3.7rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.75rem 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary-dark);
  background: var(--soft);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 18, 82, 0.9), rgba(41, 37, 130, 0.66) 45%, rgba(237, 28, 36, 0.16)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2382a889'/%3E%3Cstop offset='1' stop-color='%23d2d8c2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1400' height='900' fill='url(%23sky)'/%3E%3Cpath d='M0 585 C240 470 415 500 575 438 C810 350 1010 330 1400 390 L1400 900 L0 900 Z' fill='%235f7f66'/%3E%3Cpath d='M0 675 C240 610 385 630 590 585 C820 535 1080 520 1400 575 L1400 900 L0 900 Z' fill='%2348634f'/%3E%3Cpath d='M660 300 h210 v300 H660z' fill='%23f0ede1' opacity='.85'/%3E%3Cpath d='M622 332 h300 l-150 -115z' fill='%239c6238'/%3E%3Cpath d='M735 465 h60 v135 h-60z' fill='%23523a2a'/%3E%3Ccircle cx='1030' cy='300' r='64' fill='%23f4d183' opacity='.75'/%3E%3Cpath d='M240 660 c52 -80 130 -80 182 0' stroke='%23e8f0df' stroke-width='28' stroke-linecap='round' fill='none' opacity='.72'/%3E%3Cpath d='M235 662 c63 48 126 48 190 0' stroke='%23d9e4cd' stroke-width='18' stroke-linecap='round' fill='none' opacity='.75'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 12rem;
  background: linear-gradient(0deg, var(--paper), rgba(251, 252, 249, 0));
}

.hero-content {
  max-width: 48rem;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.25rem;
  font-weight: 900;
  border-radius: 999px;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(237, 28, 36, 0.3);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.button.full {
  width: 100%;
}

.hero-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-panel div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(238, 246, 239, 0.9);
  border-radius: 0.75rem;
}

.hero-panel strong {
  color: var(--primary-dark);
  font-size: 2rem;
}

.hero-panel span {
  color: var(--muted);
  font-weight: 700;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(1rem, 5vw, 5rem);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transform: translateY(-1.3rem);
}

.trust-band div {
  padding: 1.15rem;
  background: var(--white);
}

.trust-band span,
.trust-band strong {
  display: block;
}

.trust-band span {
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-band strong {
  margin-top: 0.25rem;
  color: var(--primary-dark);
}

.section {
  padding: clamp(3.2rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 40rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps article,
.service-grid article {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.steps span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: var(--accent);
  border-radius: 50%;
}

.program-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  background: #f3f4ff;
}

.program-visual {
  position: relative;
  min-height: 32rem;
}

.photo-card {
  position: absolute;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  background-size: cover;
}

.photo-one {
  inset: 0 18% 22% 0;
  background:
    linear-gradient(145deg, rgba(15, 111, 77, 0.05), rgba(36, 95, 135, 0.12)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='520' viewBox='0 0 700 520'%3E%3Crect width='700' height='520' fill='%23c9d8c8'/%3E%3Cpath d='M0 370 C165 300 250 345 390 282 C502 232 570 242 700 205 L700 520 L0 520 Z' fill='%23799a74'/%3E%3Cpath d='M95 420 c82 -110 195 -108 275 0' stroke='%23f5f2e9' stroke-width='30' fill='none' stroke-linecap='round'/%3E%3Cpath d='M120 418 c75 60 145 60 220 0' stroke='%23d8e4d1' stroke-width='18' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='510' cy='170' r='58' fill='%23d7a24b' opacity='.62'/%3E%3C/svg%3E");
  border-radius: 0.65rem;
}

.photo-two {
  inset: 22% 0 0 35%;
  background:
    linear-gradient(145deg, rgba(201, 141, 46, 0.12), rgba(15, 111, 77, 0.08)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='620' viewBox='0 0 520 620'%3E%3Crect width='520' height='620' fill='%23e9dfcd'/%3E%3Crect x='90' y='165' width='340' height='300' rx='10' fill='%23f8f7ef'/%3E%3Cpath d='M70 185 h380 l-190 -118z' fill='%239a6d42'/%3E%3Crect x='150' y='285' width='82' height='180' fill='%23583d2c'/%3E%3Crect x='285' y='250' width='80' height='72' fill='%238cafb2'/%3E%3Cpath d='M0 500 C150 455 280 490 520 430 L520 620 L0 620 Z' fill='%2384a67d'/%3E%3C/svg%3E");
  border-radius: 0.65rem;
}

.quote-card {
  position: absolute;
  left: 8%;
  right: 22%;
  bottom: 6%;
  padding: 1rem;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
}

.quote-card strong,
.quote-card span {
  display: block;
}

.quote-card span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.program-copy {
  max-width: 44rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.feature-list div {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
  font-weight: 700;
}

.feature-list svg {
  flex: 0 0 auto;
  color: var(--accent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-grid svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  background: var(--primary-dark);
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.email-link {
  display: inline-flex;
  margin-top: 1rem;
  color: #f0c36a;
  font-weight: 900;
}

.contact-card {
  padding: 1.25rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.contact-card label,
.contact-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 3rem;
  padding: 0 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  font: inherit;
  font-weight: 700;
}

.phone-result {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--soft);
  border-radius: 0.55rem;
}

.phone-result span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.phone-result a {
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 900;
}

.phone-result strong {
  color: var(--primary-dark);
  font-size: 1.35rem;
}

.faq-list {
  max-width: 58rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.faq-item[aria-expanded="true"] + .faq-answer {
  display: block;
}

.faq-item[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: rgba(255, 255, 255, 0.75);
  background: #0a2018;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

.sticky-help {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: none;
  padding: 0.9rem 1.1rem;
  color: var(--white);
  font-weight: 900;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(237, 28, 36, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-help.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .program-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 30rem;
  }

  .steps,
  .service-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .program-visual {
    min-height: 26rem;
    order: 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 0.4rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-band {
    transform: none;
    margin-top: 1rem;
  }

  .sticky-help {
    display: inline-flex;
  }

  .site-footer {
    flex-direction: column;
  }
}
