:root {
  --bg: #f3f6f9;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #5b6b7c;
  --line: #d7e0ea;
  --brand: #0b4f6c;
  --brand-dark: #083a50;
  --accent: #e08a1e;
  --accent-dark: #c47312;
  --ok: #1f7a4c;
  --shadow: 0 12px 40px rgba(15, 27, 45, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9eef8 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #ffe8c8 0%, transparent 45%),
    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: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  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);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.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-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: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  min-height: 42px;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

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

.btn-primary {
  background: var(--accent);
  color: #1a1205;
}

.btn-primary:hover {
  background: var(--accent-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: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  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;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.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;
}

.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-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  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.5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.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;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.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.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: #e8f4f9;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.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: 50%;
  background: var(--accent);
  color: #1a1205;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.brand-cloud span,
.brand-cloud a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.brand-cloud a:hover {
  border-color: var(--brand);
  background: #e8f4f9;
  color: var(--brand);
}

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

.districts a,
.districts span {
  background: #eef6fa;
  border: 1px solid #cfe0ea;
  color: var(--brand-dark);
  border-radius: 999px;
  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: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

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

.page-hero {
  padding: 2.4rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}

.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;
  box-shadow: var(--shadow);
}

.prose h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
}

.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);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.side-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.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;
}

.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: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  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));
  }
}

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

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

  .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;
  }

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

  .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 {
    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;
  }
}
