:root {
  --background: #f7f7f5;
  --surface: #ffffff;
  --text: #111111;
  --muted: #626262;
  --border: #deded9;
  --accent: #0045bf;
  --accent-bright: #1765d8;
  --accent-dark: #00399e;
  --dark: #101010;
  --dark-soft: #181818;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

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

.sr-only,
.hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(247, 247, 245, 0.95);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-logo,
.footer-logo {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-image: url("/logo-mark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 155%;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 0.94rem;
  font-weight: 800;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:not(.button):hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding: 86px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light { color: #76a9ff; }

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

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.22rem;
  font-weight: 800;
}

.hero-intro {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.17rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.text-link {
  font-weight: 800;
  text-underline-offset: 5px;
}

.trust-list {
  display: flex;
  gap: 12px 26px;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.trust-list li {
  position: relative;
  padding-left: 18px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-logo-wrap {
  display: grid;
  place-items: center;
  min-height: 440px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 69, 191, 0.07), transparent 58%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-logo {
  width: min(100%, 500px);
  aspect-ratio: 1;
  object-fit: contain;
}

.section { padding: 110px 0; }

.section-dark {
  background: var(--dark);
  color: #fff;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 90px;
  align-items: start;
}

.services-heading {
  position: sticky;
  top: 122px;
}

.services-heading h2 { max-width: 540px; }

.services-heading > p:not(.eyebrow) {
  max-width: 500px;
  color: #bcbcbc;
}

.service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.service-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.service-row h3 { margin-bottom: 8px; }

.service-row p {
  max-width: 620px;
  margin-bottom: 0;
  color: #bdbdbd;
  font-size: 0.93rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.benefit-list {
  border-top: 1px solid rgba(255,255,255,0.14);
}

.benefit-list article {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.benefit-list h3 { margin-bottom: 0; }

.benefit-list p {
  margin-bottom: 0;
  color: #b9b9b9;
}

.benefit-list-light { border-top-color: var(--border); }
.benefit-list-light article { border-bottom-color: var(--border); }
.benefit-list-light p { color: var(--muted); }

.contact-section { background: #ecece8; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.contact-details a,
.contact-details address {
  display: grid;
  text-decoration: none;
}

.contact-details span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-details strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 0.96rem;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfbfa;
  color: var(--text);
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 69, 191, 0.12);
}

.contact-form .button { justify-self: start; }

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.site-footer {
  padding: 48px 0;
  background: var(--dark-soft);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px 50px;
  align-items: end;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 54px;
  height: 54px;
  background-color: #fff;
}

.footer-inner p {
  margin: 6px 0 0;
  color: #a8a8a8;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.84rem;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--dark);
}

.thanks-card {
  width: min(100%, 680px);
  padding: 48px;
  border-radius: 28px;
  background: var(--surface);
  text-align: center;
}

.thanks-card h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.thanks-card p { color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid,
  .services-layout,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 44px; }

  .hero-logo-wrap { min-height: 360px; }

  .hero-logo { width: min(100%, 430px); }

  .services-heading,
  .contact-copy {
    position: static;
  }

  .services-layout,
  .split-grid {
    gap: 52px;
  }
}

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

  .site-header { background: var(--background); }

  .header-inner { min-height: 72px; }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy small { display: none; }

  .brand-copy strong { font-size: 0.82rem; }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .primary-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--background);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a { padding: 14px 4px; }

  .primary-nav .button { margin-top: 8px; }

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

  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }

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

  .hero { padding: 58px 0 68px; }

  h1 { font-size: clamp(3rem, 15vw, 4.9rem); }

  .hero-logo-wrap {
    min-height: 300px;
    border-radius: 22px;
  }

  .section { padding: 78px 0; }

  .service-row {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .service-number {
    width: 42px;
    height: 42px;
  }

  .benefit-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-form { padding: 24px; }

  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
