:root {
  --bg: #eef1f4;
  --surface: #ffffff;
  --ink: #142033;
  --muted: #5c6b7a;
  --line: #e1e6ec;
  --brand: #0d3b56;
  --brand-dark: #082636;
  --accent: #b86a10;
  --accent-dark: #8f520c;
  --ok: #1d6b45;
  --shadow: 0 1px 2px rgba(16, 32, 48, 0.05);
  --radius: 8px;
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}

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

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

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 2rem, var(--max));
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.topbar {
  background: var(--brand-dark);
  color: #e8f3f8;
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 0 1 auto;
  padding-right: 0.5rem;
}

.logo strong {
  font-size: clamp(0.92rem, 2.8vw, 1.05rem);
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.logo strong::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-right: 0.45rem;
  background: var(--accent);
  vertical-align: -0.05em;
}

.logo span {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem 0.75rem;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.nav a:not(.btn) {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
}

.nav a[aria-current="page"]:not(.btn) {
  box-shadow: inset 0 -2px 0 var(--brand);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
  min-height: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 42px;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

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

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

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

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

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--brand);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--brand);
}

.hero {
  padding: 2.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.hero-copy,
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.hero-copy {
  padding: 1.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.18;
  text-wrap: balance;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}

.lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ok);
  flex: 0 0 auto;
}

.hero-card {
  padding: 1.35rem;
  background:
    linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 70%),
    var(--brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  height: auto;
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero-card .cta-stack {
  display: grid;
  gap: 0.7rem;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-home {
  padding-top: 1.15rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2rem 1.75rem;
  border-radius: 10px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
  border-top: 3px solid var(--accent);
}

.hero-home .hero-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.35rem 0.2rem 0.2rem;
  color: #fff;
}

.hero-home .eyebrow {
  color: #e4c48a;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 0.7rem;
  border-left: 2px solid var(--accent);
}

.hero-home h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  max-width: 16em;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-home .lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-home .trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.hero-home .trust-list li {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.btn-call {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 0.65rem 1rem 0.65rem 0.75rem;
  gap: 0.7rem;
}

.btn-call svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.btn-call small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.2;
}

.btn-call strong {
  display: block;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.btn-call:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-ghost-on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.btn-ghost-on-dark:hover {
  background: #fff;
  color: var(--brand-dark);
}

.hero-aside {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 1.25rem 1.2rem 1.1rem;
}

.hero-aside-label {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4c48a;
  font-weight: 700;
}

.hero-aside-phone {
  display: block;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-aside-phone:hover {
  color: #e4c48a;
}

.hero-aside-hours {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-aside ul {
  margin: 0.95rem 0 0;
  padding: 0.85rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-aside li {
  position: relative;
  padding: 0.32rem 0 0.32rem 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.hero-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.4rem;
  height: 1px;
  background: var(--accent);
}

.stats-home .stat strong {
  font-size: 1.65rem;
}

.home-services .card:hover {
  border-color: #c5d3de;
}

.home-services .service-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 6px;
  background: #e7eef3;
}

.floating-call {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 60;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(8, 38, 54, 0.28);
  min-height: 48px;
}

.floating-call:hover {
  background: var(--brand-dark);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  text-align: left;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

section {
  padding: 3rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  line-height: 1.15;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin-top: 0.55rem;
  background: var(--accent);
}

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

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card a.more {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--brand);
  font-weight: 700;
}

.service-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: #e8f4f9;
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

.service-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 3.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.brand-grid a,
.brand-card {
  background: #fff;
}

.brand-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-grid a:hover {
  border-color: var(--brand);
}

.brand-grid img,
.page-brand,
.brand-card > img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 100%;
}

.page-brand {
  height: 36px;
  margin: 0 0 0.85rem;
}

.brand-card > img {
  margin-bottom: 0.9rem;
}

.districts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.districts a,
.districts span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.cta-band {
  background: var(--brand-dark);
  color: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band .btn-primary,
.side-card .btn-primary,
.hero-card .btn-primary {
  background: #fff;
  color: var(--brand-dark);
}

.cta-band .btn-primary:hover,
.side-card .btn-primary:hover,
.hero-card .btn-primary:hover {
  background: #f4efe6;
  color: var(--brand-dark);
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero {
  padding: 2.1rem 0 1.35rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--brand-dark);
  max-width: 18em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: var(--brand);
  font-weight: 600;
}

.content-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 1.2rem;
  padding-bottom: 3rem;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.prose h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

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

.prose ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.side-card {
  position: sticky;
  top: 5.5rem;
  background: var(--brand-dark);
  color: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: 1.2rem;
}

.side-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.side-card p,
.side-card li {
  color: rgba(255, 255, 255, 0.9);
}

.side-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.side-card .cta-stack {
  display: grid;
  gap: 0.6rem;
}

.site-footer {
  background: #0b1726;
  color: #d7e2ec;
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 1rem;
}

.footer-grid > div:not(:first-child) h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #9fb0c0;
}

.floating-wa {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 60;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(8, 38, 54, 0.28);
  min-height: 48px;
}

.floating-wa:hover {
  filter: brightness(1.05);
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem 0 0.85rem;
    border-top: 1px solid var(--line);
    margin-top: 0.35rem;
  }

  .nav a:not(.btn) {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: #f7fafc;
    border: 1px solid var(--line);
    white-space: normal;
  }

  .nav a.btn {
    width: 100%;
    margin-top: 0.25rem;
  }

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

  .nav-wrap {
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .hero {
    padding: 1.75rem 0 1.5rem;
  }

  .hero-grid,
  .hero-panel,
  .content-layout,
  .footer-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-home h1 {
    max-width: none;
  }

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

  .side-card {
    position: static;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cta-band .hero-actions,
  .cta-band .btn {
    width: 100%;
  }

  section {
    padding: 2.25rem 0;
  }

  .page-hero {
    padding: 1.5rem 0 0.75rem;
  }

  .prose,
  .side-card {
    padding: 1.1rem;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .topbar {
    font-size: 0.8rem;
  }

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .logo span {
    display: none;
  }

  .trust-list,
  .grid-2,
  .grid-3,
  .grid-4,
  .stats {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .hero-card,
  .hero-panel {
    padding: 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-card .btn,
  .side-card .btn {
    width: 100%;
  }

  .lead {
    font-size: 0.98rem;
    max-width: none;
  }

  .cta-band h2 {
    font-size: 1.2rem;
  }

  .floating-wa,
  .floating-call {
    right: 0.75rem;
    left: auto;
    bottom: 0.75rem;
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
  }

  .footer-bottom {
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 1rem, var(--max));
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
  }
}
