:root {
  --navy: #08233f;
  --navy-2: #113a5c;
  --teal: #2fc8bd;
  --red: #c7223d;
  --ink: #142033;
  --muted: #5d6978;
  --line: #dfe7ee;
  --soft: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 35, 63, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  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;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 231, 238, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand img {
  width: 168px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 650;
  color: var(--navy);
}

.desktop-nav a,
.desktop-nav button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  padding: 12px 13px;
  border-radius: 6px;
  cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav a:focus-visible,
.desktop-nav button:focus-visible {
  background: var(--soft);
  outline: 0;
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  margin-left: 8px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--teal) !important;
  color: var(--navy) !important;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.18s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 11px 12px;
  color: var(--ink);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 23px;
  height: 3px;
  margin: auto;
  background: var(--navy);
  border-radius: 10px;
  content: "";
}

.mobile-toggle span::before {
  transform: translateY(-8px);
}

.mobile-toggle span::after {
  transform: translateY(5px);
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  font-weight: 700;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--soft);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 46%, rgba(255, 255, 255, 0.32) 74%, rgba(255, 255, 255, 0.12) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  content: "";
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 720px;
}

.hero-content {
  width: min(720px, 100%);
  padding: 72px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  background: var(--teal);
  content: "";
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--navy);
}

.button.secondary {
  background: var(--navy);
  color: var(--white);
}

.button.ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 35, 63, 0.12);
  outline: 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 740px;
  margin-top: 44px;
}

.proof-item {
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(223, 231, 238, 0.9);
  border-radius: 8px;
}

.proof-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.3rem;
}

.proof-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 92px 0;
}

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

.section.navy {
  background: var(--navy);
  color: var(--white);
}

.section.navy h2,
.section.navy h3 {
  color: var(--white);
}

.section-header {
  max-width: 780px;
  margin: 0 0 42px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  color: var(--red);
  font-weight: 850;
  text-transform: uppercase;
}

.section h2,
.page-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

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

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

.card {
  height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.soft .card {
  background: var(--white);
}

.navy .card {
  color: var(--ink);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card a {
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.number-card {
  border-top: 4px solid var(--teal);
}

.number-card .num {
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 850;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 900;
  content: "✓";
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
}

.timeline {
  counter-reset: step;
}

.timeline .card {
  position: relative;
}

.timeline .card::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  counter-increment: step;
  content: counter(step);
}

.cta-band {
  padding: 46px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.page-hero {
  padding: 88px 0 68px;
  background: linear-gradient(135deg, #f8fbfd 0%, #eef5f8 100%);
}

.page-hero .lead {
  max-width: 820px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
}

.side-panel {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.side-panel a {
  display: block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 800;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
  align-items: start;
}

.case-study + .case-study {
  margin-top: 22px;
}

.case-meta {
  color: var(--red);
  font-weight: 850;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}

.contact-options {
  display: grid;
  gap: 16px;
}

.contact-link {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-link strong {
  display: block;
  color: var(--navy);
}

.contact-link span {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 780;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}

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

.simulator-result {
  min-height: 96px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
}

.legal-content h3 {
  margin: 28px 0 8px;
}

.site-footer {
  padding: 58px 0 28px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

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

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

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

  .mobile-nav.is-open {
    display: block;
  }

  .hero,
  .hero .container {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 62%, #fff 100%),
      var(--hero-image);
    background-position: center top;
  }

  .hero-content {
    padding: 72px 0 58px;
  }

  .hero-proof,
  .grid-3,
  .grid-4,
  .page-layout,
  .contact-grid,
  .case-study,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

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

  .brand img {
    width: 138px;
  }

  .nav-wrap {
    min-height: 66px;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .proof-item,
  .card,
  .cta-band {
    padding: 20px;
  }
}
