:root {
  --navy: #003374;
  --navy-deep: #002656;
  --ink: #10243c;
  --green: #65a301;
  --green-deep: #3f6d01;
  --cyan: #0091eb;
  --muted: #2f4560;
  --line: #d7e3ee;
  --bg: #f4f8fb;
  --card: #ffffff;
  --shadow: 0 18px 44px rgba(0, 51, 116, 0.08);
  --radius: 20px;
  --wrap: 1160px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Source Sans 3", "Segoe UI", sans-serif;
  --header: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.1875rem;
  line-height: 1.65;
  color: #1a3148;
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.28;
  letter-spacing: 0;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35em;
}

p {
  margin: 0 0 0.9em;
}

a {
  color: var(--navy);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.15em;
}

li + li {
  margin-top: 0.35em;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: #d5eead;
  color: #10243c;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 8px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  width: 100%;
  padding: 56px 0;
}

.section-tight {
  width: 100%;
  padding: 28px 0 8px;
}

.kicker {
  display: block;
  margin: 0 0 12px;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-transform: none;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #24384c;
  max-width: 40rem;
}

.rule {
  width: 84px;
  height: 4px;
  border: 0;
  margin: 0 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.center-copy {
  max-width: 44rem;
}

.btn-row {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-green {
  background: var(--green-deep);
  color: #fff;
}

.btn-green:hover {
  background: #2c4e01;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: #c5d6e8;
}

.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-wa {
  background: #1faa59;
  color: #fff;
  border-color: #1faa59;
}

.btn-wa:hover {
  background: #178a47;
  color: #fff;
}

.text-link {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--green);
}

.text-link:hover {
  color: #004e9a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 227, 238, 0.9);
}

.brand-line {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #65a301 0%, #3ea318 42%, #0091eb 100%);
}

.header-bar {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 14px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  max-width: 100%;
}

.brand img {
  width: min(320px, calc(100vw - 92px));
  height: auto;
  display: block;
}

.subdiv {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.subdiv a {
  color: #0068a8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 6px 16px 14px;
}

.site-nav.is-open {
  display: block;
}

.site-nav a {
  display: block;
  padding: 13px 2px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid #edf3f8;
}

.site-nav a.is-active {
  color: var(--navy);
  box-shadow: inset 3px 0 0 var(--green);
  padding-left: 10px;
}

.nav-cta {
  margin-top: 10px;
  text-align: center;
  background: var(--navy);
  color: #fff !important;
  border-radius: 999px;
  border-bottom: 0 !important;
}

.hero {
  width: 100%;
  background:
    radial-gradient(680px 320px at 110% -10%, rgba(0, 145, 235, 0.2), transparent 60%),
    radial-gradient(520px 280px at -10% 10%, rgba(101, 163, 1, 0.18), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%);
}

.hero-grid,
.split,
.contact-grid,
.price-hero,
.footer-grid {
  display: grid;
  gap: 22px;
}

.hero-grid > *,
.split > *,
.contact-grid > *,
.price-hero > * {
  min-width: 0;
}

.hero-panel,
.card,
.service,
.step,
.form-card,
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.hero-panel {
  padding: 8px;
}

.promise {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 14px;
  border-bottom: 1px solid #edf3f8;
}

.promise:last-child {
  border-bottom: 0;
}

.promise strong {
  display: block;
  color: var(--navy);
}

.promise span,
.muted,
.card p,
.service p,
.step p,
.info-card p {
  color: var(--muted);
}

.promise em {
  font-style: normal;
  font-family: var(--display);
  font-weight: 800;
  color: var(--green-deep);
  font-size: 1.15rem;
}

.card-grid,
.service-grid,
.trio,
.stat-grid {
  display: grid;
  gap: 14px;
}

.card,
.service {
  padding: 20px;
}

.card h3,
.service h2 {
  margin-top: 10px;
}

.service h2 {
  font-size: 1.45rem;
}

.mark {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: #eef6e3;
  color: var(--green-deep);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mark.cyan {
  background: #e7f5fd;
  color: #006eab;
}

.band-soft {
  background: #fff;
}

.band-navy {
  background:
    radial-gradient(480px 220px at 100% 0%, rgba(0, 145, 235, 0.35), transparent 60%),
    linear-gradient(165deg, #003374 0%, #00224f 100%);
  color: #fff;
}

.band-navy h2,
.band-navy h3 {
  color: #fff;
}

.band-navy p,
.band-navy li {
  color: #d5e5f4;
}

.price {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 10vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  color: #fff;
}

.price small {
  font-size: 0.34em;
  letter-spacing: 0;
  color: #c6ec86;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.step {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.step.is-gate {
  border-color: #9ecff3;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--green), var(--cyan)) border-box;
  border: 2px solid transparent;
}

.step-no {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green-deep);
  margin: 0;
}

.step h3 {
  margin: 0;
}

.tag {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef6e3;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tag.gate {
  background: var(--navy);
  color: #fff;
}

.tag.pay {
  background: #e7f5fd;
  color: #00588f;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f7fbfe;
}

tr:last-child td {
  border-bottom: 0;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 1.4em;
}

.contact-grid {
  align-items: start;
}

.form-card,
.info-card {
  padding: 20px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c5d5e4;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 145, 235, 0.25);
  outline-offset: 1px;
}

.field-error,
.validation-summary-errors {
  color: #9d1c1c;
  font-size: 0.92rem;
}

.validation-summary-errors ul {
  margin: 0 0 12px;
}

.input-validation-error {
  border-color: #c44747;
}

.alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #eef8e4;
  border: 1px solid #b7dd8a;
  color: #245000;
}

.alert strong {
  display: block;
  margin-bottom: 4px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.info-list li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.info-list a {
  font-weight: 700;
}

.page-intro {
  padding-bottom: 8px;
}

.site-footer {
  width: 100%;
  background: var(--navy-deep);
  color: #d5e4f3;
  margin-top: 0;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #c6ec86;
}

.footer-grid {
  padding: 36px 0 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a,
.footer-links span {
  display: inline-block;
  padding: 5px 0;
}

.footer-brand p {
  color: #c5d7e8;
  max-width: 28rem;
}

.footer-logo {
  width: min(100%, 360px);
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.site-footer .subdiv {
  color: #fff;
  margin-bottom: 10px;
}

.site-footer .subdiv a {
  color: #d6f5a4;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0 22px;
}

.footer-base .wrap {
  display: grid;
  gap: 8px;
}

.footer-base a {
  font-weight: 700;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.wa-float {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #1faa59;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(16, 90, 40, 0.28);
}

.wa-float span {
  display: none;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.wa-float:hover {
  background: #178a47;
  color: #fff;
}

@media (min-width: 640px) {
  .btn-row {
    display: flex;
    flex-wrap: wrap;
  }

  .card-grid,
  .trio,
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: span 2;
  }

  .wa-float {
    width: auto;
    height: 56px;
    padding: 0 16px 0 14px;
  }

  .wa-float span {
    display: inline;
    font-weight: 800;
  }
}

@media (min-width: 800px) {
  .section {
    padding: 84px 0;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .price-hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
  }

  .contact-grid {
    align-items: start;
    grid-template-columns: 1.15fr 0.85fr;
  }

  .step {
    grid-template-columns: 72px 1fr auto;
    align-items: start;
    gap: 16px;
  }

  .tag {
    margin-top: 4px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.9fr 1.1fr;
    gap: 28px;
  }

  .footer-base .wrap {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .header-bar {
    padding: 14px 28px 16px;
    align-items: center;
  }

  .brand img {
    width: min(360px, 36vw);
    height: auto;
  }

  .site-nav {
    flex: 0 0 auto;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    width: auto;
  }

  .site-nav a {
    border: 0;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .site-nav a.is-active {
    box-shadow: none;
    background: #eef6e3;
    color: var(--green-deep);
    padding-left: 10px;
  }

  .site-nav a.nav-cta {
    margin: 0 0 0 8px;
    background: var(--navy);
    color: #fff;
    padding: 10px 16px;
  }

  .site-nav a.nav-cta.is-active {
    background: var(--green-deep);
    color: #fff;
    box-shadow: none;
  }

  .card-grid.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .brand img {
    width: 480px;
  }
}

@media (max-width: 639px) {
  .btn-row .btn,
  .form-card .btn,
  .info-card .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
