:root {
  --primary: #1f6fc0;
  --primary-dark: #0b3f77;
  --primary-soft: #eaf4ff;
  --accent: #7e50c8;
  --accent-soft: #f1ebff;
  --teal: #29a9c8;
  --ink: #17212f;
  --muted: #637083;
  --line: #dbe4ef;
  --surface: #f7fbff;
  --warm: #fff8ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 33, 47, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10000;
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.inner-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(23, 33, 47, 0.1);
  backdrop-filter: blur(12px);
}

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

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  color: var(--white);
  font-weight: 700;
}

.site-header.is-scrolled .brand,
.site-header.inner-header .brand,
.site-header.is-scrolled .nav-link,
.site-header.inner-header .nav-link,
.site-header.is-scrolled .phone-link,
.site-header.inner-header .phone-link,
.site-header.is-scrolled .menu-toggle,
.site-header.inner-header .menu-toggle {
  color: var(--ink);
}

.brand img {
  width: 58px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
}

.brand span {
  font-size: 1rem;
  line-height: 1.15;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.site-header.is-scrolled .nav-menu,
.site-header.inner-header .nav-menu {
  border-color: var(--line);
  background: rgba(247, 251, 255, 0.86);
}

.nav-link,
.phone-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.phone-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.inner-header .nav-link:hover,
.site-header.is-scrolled .phone-link:hover,
.site-header.inner-header .phone-link:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 280px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 9px 10px;
  color: var(--ink);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.92rem;
}

.dropdown-panel a:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: transparent;
  padding: 8px;
  border-radius: 8px;
}

.menu-toggle svg,
.icon {
  width: 20px;
  height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 12px 18px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary-dark);
}

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

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
}

.hero {
  min-height: 88svh;
  display: flex;
  align-items: center;
}

.page-hero {
  min-height: 470px;
  display: flex;
  align-items: end;
  padding: 150px 0 76px;
}

.hero-media,
.page-hero .hero-media,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 32, 58, 0.78), rgba(10, 32, 58, 0.46) 54%, rgba(126, 80, 200, 0.32));
}

.hero-content {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 138px 0 76px;
  text-align: center;
}

.hero-content h1 {
  max-width: 930px;
  margin: 0 auto;
  text-shadow: 0 0 22px rgba(41, 169, 200, 0.62), 0 0 42px rgba(126, 80, 200, 0.42), 0 8px 28px rgba(0, 0, 0, 0.48);
}

.hero-content p {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: 3.65rem;
  max-width: 900px;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 1.14rem;
}

.hero p,
.page-hero p {
  margin-top: 18px;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions {
  justify-content: center;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}

.hero-stat {
  min-width: 132px;
  padding-left: 16px;
  border-left: 3px solid rgba(255, 255, 255, 0.28);
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.9rem;
}

.info-bar {
  background: var(--primary);
  color: var(--white);
}

.info-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 13px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.94rem;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--surface);
}

.section-warm {
  background: var(--warm);
}

.section-dark,
.cta-band {
  background: var(--primary-dark);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.section-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.section-dark .section-label,
.cta-band .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.section-head p,
.lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-dark .section-head p,
.cta-band p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.04fr);
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.media-frame {
  position: relative;
}

.media-frame img {
  width: 100%;
  height: clamp(320px, 34vw, 500px);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.media-frame.tall img {
  height: clamp(380px, 38vw, 540px);
  object-position: center 30%;
}

.media-frame.wide img {
  height: clamp(300px, 30vw, 430px);
}

.badge-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.badge-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.badge-row span {
  color: var(--muted);
  font-weight: 600;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

.card,
.service-card,
.step-card,
.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 33, 47, 0.06);
}

.card,
.step-card,
.contact-panel {
  padding: 24px;
}

.card h3,
.step-card h3,
.service-card h3 {
  margin-bottom: 10px;
}

.card p,
.step-card p,
.service-card p,
.contact-panel p,
.form-panel p {
  color: var(--muted);
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: clamp(205px, 17vw, 238px);
  object-fit: cover;
  object-position: center;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  flex: 1;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
  margin-top: auto;
}

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

.experience-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.experience-number {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary) 62%, var(--accent));
  box-shadow: var(--shadow);
}

.experience-number strong {
  display: block;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
}

.experience-number span {
  display: block;
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.experience-points {
  margin-top: 26px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(23, 33, 47, 0.06);
}

.review-stars {
  color: #f5b942;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
}

.review-card cite {
  display: block;
  margin-top: 18px;
  color: var(--primary-dark);
  font-style: normal;
  font-weight: 700;
}

.review-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.area-map-card,
.area-list-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 33, 47, 0.06);
  overflow: hidden;
}

.area-map-card {
  min-height: 490px;
}

.area-map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.area-map-header p {
  color: var(--muted);
  margin-top: 6px;
}

.area-map-card iframe {
  width: 100%;
  height: 390px;
  border: 0;
  display: block;
}

.area-list-card {
  padding: 24px;
}

.area-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.area-button {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.area-button strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.area-button span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.area-button:hover,
.area-button.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.area-button:hover span,
.area-button.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.feature-band {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 8px;
  padding: 36px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: inherit;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.85rem;
  font-weight: 900;
}

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

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 30px;
  align-items: start;
}

.form-panel {
  overflow: hidden;
  min-height: 681px;
  background: var(--white);
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 30px;
  align-items: start;
}

.application-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.application-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.fieldset-label {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 11px 13px;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
}

.check-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}

.consent-row.full {
  grid-column: 1 / -1;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--primary);
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-row strong {
  display: block;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 0 18px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.policy-box {
  border-left: 5px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 24px;
}

.policy-box p + p {
  margin-top: 12px;
}

.cta-band {
  padding: 72px 0;
  text-align: center;
}

.cta-band h2,
.cta-band p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  background: #101a29;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 34px;
  padding: 56px 0;
}

.site-footer h3 {
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
}

.footer-brand img {
  width: 58px;
  height: 44px;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.9rem;
}

@media (max-width: 1060px) {
  .nav-menu,
  .nav-actions {
    display: none;
  }

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

  .site-header.is-open {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 32px rgba(23, 33, 47, 0.1);
  }

  .site-header.is-open .brand,
  .site-header.is-open .menu-toggle {
    color: var(--ink);
  }

  .site-header.is-open .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-link {
    color: var(--ink);
  }

  .dropdown-panel {
    position: static;
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
  }

  .dropdown > .nav-link {
    display: none;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .split,
  .split.reverse,
  .quote-grid,
  .application-layout,
  .experience-layout,
  .service-area-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .reviews-grid,
  .county-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-bar .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    height: 74px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 50px;
    height: 38px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .site-header.is-open .nav-menu {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    padding: 104px 0 42px;
  }

  .page-hero {
    min-height: 420px;
    padding: 126px 0 56px;
  }

  h1 {
    font-size: 2.22rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-stats,
  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stat {
    min-width: 0;
  }

  .hero-stats {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .grid-3,
  .grid-4,
  .reviews-grid,
  .county-strip,
  .check-list,
  .form-grid,
  .checkbox-grid,
  .area-buttons {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 220px;
  }

  .media-frame img,
  .media-frame.tall img,
  .media-frame.wide img {
    height: 320px;
  }

  .area-map-header {
    flex-direction: column;
  }

  .area-map-card iframe {
    height: 330px;
  }

  .feature-band {
    padding: 26px;
  }

  .btn {
    width: 100%;
  }
}