:root {
  --blue: #087cc1;
  --blue-dark: #075d91;
  --red: #ed1c24;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f7fafc;
  --white: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.narrow {
  max-width: 840px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: block;
  width: min(230px, 100%);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-menu a,
.nav-cta {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-cta:hover,
.nav-cta.active {
  color: var(--blue);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero,
.page-hero {
  padding: clamp(72px, 9vw, 116px) 0;
}

.hero {
  background: var(--soft);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.section {
  padding: clamp(62px, 8vw, 96px) 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 780;
}

p {
  color: var(--text);
}

.lead {
  max-width: 780px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.btn:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  color: var(--white);
}

.logo-panel,
.info-box,
.card,
.contact-form,
.contact-info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.logo-panel {
  padding: 24px;
}

.logo-panel img {
  margin-bottom: 28px;
}

.logo-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.logo-panel div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.logo-panel dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-panel dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  padding: 24px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card strong {
  display: block;
  margin-top: 18px;
  color: var(--blue);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.service-card h2 {
  font-size: 1.35rem;
}

.info-box {
  padding: 28px;
  border-left: 4px solid var(--red);
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
}

.check-list p::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--red);
}

.cta-strip {
  padding: 54px 0;
  color: var(--white);
  background: var(--ink);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-content h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.process-list h2 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.process-list p {
  margin-bottom: 0;
}

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

.stat-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat-grid strong {
  display: block;
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stat-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 750;
}

.quote p {
  color: var(--ink);
  font-size: 1.05rem;
}

.quote h3 {
  margin-top: 24px;
  margin-bottom: 4px;
}

.quote span {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.contact-grid {
  align-items: start;
}

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

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

.contact-form label.wide,
.contact-form .form-success {
  grid-column: 1 / -1;
}

.contact-form label > span {
  color: var(--ink);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form input {
  height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  padding: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 124, 193, .12);
}

.contact-form small {
  min-height: 18px;
  color: var(--red);
  font-size: .8rem;
}

.contact-form label.invalid input,
.contact-form label.invalid textarea {
  border-color: var(--red);
}

.contact-form button {
  width: max-content;
}

.form-success {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.contact-info {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.contact-info img {
  width: min(360px, 100%);
}

.contact-info p {
  margin-bottom: 12px;
}

.contact-info a {
  color: var(--blue);
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: rgba(255, 255, 255, .75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 44px 0 30px;
}

.footer img {
  width: min(330px, 100%);
  margin-bottom: 16px;
  background: var(--white);
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .75);
}

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

.footer p {
  color: rgba(255, 255, 255, .7);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 210px 1fr auto;
    gap: 16px;
  }

  .nav-menu {
    gap: 14px;
  }

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

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

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .brand {
    width: min(220px, calc(100vw - 92px));
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 13px 8px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .card-grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding: 58px 0;
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2rem, 12vw, 3.05rem);
  }

  .section {
    padding: 54px 0;
  }

  .actions,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .actions,
  .contact-form .btn,
  .btn {
    width: 100%;
  }

  .card-grid.three,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form label,
  .contact-form label.wide,
  .contact-form .form-success {
    grid-column: auto;
  }
}
