:root {
  --ink: #142033;
  --muted: #4f5f73;
  --line: #cad6e4;
  --panel: #eef4fa;
  --panel-strong: #e4edf7;
  --paper: #ffffff;
  --blue: #1673ff;
  --blue-deep: #0a3e8a;
  --navy: #10233f;
  --green: #2bb673;
  --gold: #c6922b;
  --shadow: 0 24px 70px rgba(24, 38, 63, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 58px);
  border-bottom: 1px solid rgba(220, 228, 237, 0.82);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(20, 32, 51, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-logo {
  display: block;
  width: 132px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(22, 115, 255, 0.22);
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 750;
}

.nav a,
.nav summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--ink);
}

.nav summary {
  list-style: none;
  cursor: pointer;
}

.nav summary::-webkit-details-marker {
  display: none;
}

.nav summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav a:hover,
.nav summary:hover,
.nav-group[open] summary {
  color: var(--blue-deep);
  background: rgba(22, 115, 255, 0.08);
}

.nav-group[open] summary::after {
  transform: rotate(225deg) translateY(2px);
}

.nav-cta {
  color: #fff;
  background: var(--blue);
}

.nav .nav-cta {
  color: #fff;
  background: var(--blue);
}

.nav .nav-cta:hover {
  color: #fff;
  background: #0d63e5;
}

.nav-group {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  min-width: 280px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(20, 32, 51, 0.16);
}

.nav-dropdown a {
  justify-content: flex-start;
  min-height: 38px;
  color: var(--ink);
  white-space: nowrap;
}

.service-card {
  scroll-margin-top: 120px;
}

.service-card:target {
  border-color: rgba(22, 115, 255, 0.72);
  box-shadow: 0 18px 44px rgba(22, 115, 255, 0.16);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 23, 0.93) 0%, rgba(8, 18, 35, 0.78) 42%, rgba(8, 18, 35, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 14, 27, 0.15) 0%, rgba(5, 14, 27, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
  padding-top: 74px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 750;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(22, 115, 255, 0.28);
}

.button.primary:hover {
  background: #0d63e5;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #b8c7d8;
  border-bottom: 1px solid #b8c7d8;
}

.trust-strip div {
  min-height: 116px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: #f7fafc;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 64px);
}

.intro {
  max-width: 980px;
  background: var(--paper);
}

.intro h2,
.section-heading h2,
.approach h2,
.about-copy h2,
.credential-copy h2,
.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.about-copy p,
.credential-copy p,
.contact p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.services,
.credentials {
  background: var(--panel-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 236px;
  padding: 26px;
  border: 1px solid #b8c7d8;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(20, 32, 51, 0.1);
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 850;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

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

.approach {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  color: #fff;
  background: var(--navy);
}

.approach .section-kicker {
  color: #7be3ac;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.steps li {
  position: relative;
  padding: 24px 0 24px 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.72);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 0;
  color: var(--gold);
  font-weight: 850;
}

.steps span {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 780;
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.about-copy p + p {
  margin-top: 16px;
}

.about-points {
  display: grid;
  gap: 14px;
}

.about-points div {
  padding: 22px;
  border: 1px solid #b8c7d8;
  border-radius: 8px;
  background: #f7fafc;
  box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points strong {
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 18px;
}

.about-points span {
  color: var(--muted);
}

.credentials {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.credential-badges {
  display: grid;
  grid-template-columns: repeat(5, minmax(136px, 1fr));
  gap: 14px;
}

.credential-badge {
  display: flex;
  min-height: 206px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  border: 1px solid #b8c7d8;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(20, 32, 51, 0.1);
  text-align: center;
}

.credential-badge img {
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
  object-fit: contain;
}

.credential-badge strong {
  display: block;
  color: var(--blue-deep);
  font-size: 16px;
  line-height: 1.25;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin: clamp(20px, 5vw, 64px);
  padding: clamp(34px, 6vw, 64px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 32, 51, 0.96), rgba(10, 62, 138, 0.92)),
    var(--ink);
  box-shadow: var(--shadow);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 28px;
}

.contact-direct a {
  color: #fff;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 48px rgba(3, 10, 22, 0.22);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #8ebcff;
  outline: 3px solid rgba(142, 188, 255, 0.28);
}

.contact-form .button {
  width: fit-content;
  min-width: 164px;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-hidden {
  display: none;
}

.form-status {
  min-height: 24px;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.form-status.is-success {
  color: #7be3ac;
}

.form-status.is-error {
  color: #ffd08a;
}

.site-footer {
  padding: 58px clamp(20px, 5vw, 64px) 24px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.98), rgba(10, 62, 138, 0.94)),
    var(--navy);
  font-size: 15px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: 38px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 850;
}

.footer-site-logo {
  width: 156px;
  height: 58px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-contact a {
  font-weight: 750;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(920px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(220, 228, 237, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button.primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.cookie-button.secondary {
  color: var(--ink);
  background: var(--paper);
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
  }

  .site-header.is-menu-open .nav {
    display: grid;
  }

  .nav a,
  .nav summary {
    justify-content: center;
    min-width: 108px;
    background: rgba(22, 115, 255, 0.04);
  }

  .nav-group {
    grid-column: 1 / -1;
  }

  .nav-group summary {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin-top: 8px;
    background: rgba(22, 115, 255, 0.05);
  }

  .nav-dropdown a {
    white-space: normal;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 96px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 12, 23, 0.95), rgba(8, 18, 35, 0.72)),
      linear-gradient(180deg, rgba(5, 14, 27, 0.08), rgba(5, 14, 27, 0.82));
  }

  .trust-strip,
  .section-heading,
  .approach,
  .about,
  .credentials,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact {
    margin: 20px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-logo {
    width: 118px;
    height: 42px;
  }

  .footer-site-logo {
    width: 148px;
    height: 54px;
  }

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

  .nav a,
  .nav summary {
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .nav-group {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 840px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 108px;
  }

  h1 {
    font-size: 42px;
  }

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

  .credential-badges {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .button {
    width: 100%;
  }

  .contact-form .button {
    width: 100%;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-bottom {
    display: grid;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-button {
    width: 100%;
  }
}
