:root {
  --navy: #0b1f33;
  --navy-2: #102b46;
  --navy-3: #173d61;
  --orange: #f5a23d;
  --orange-dark: #db8013;
  --cream: #f7f4ee;
  --white: #ffffff;
  --ink: #152130;
  --muted: #647181;
  --line: #dfe4e8;
  --shadow: 0 24px 70px rgba(7, 25, 43, 0.14);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.section {
  padding: 112px 0;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ffc06f;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 800;
  max-width: 960px;
}

h1 span {
  color: var(--orange);
}

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

h3 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 750;
}

p {
  margin-top: 0;
}

.lead {
  color: #475666;
  font-size: 1.18rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: var(--orange);
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffb04f;
  box-shadow: 0 14px 34px rgba(245, 162, 61, 0.24);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.button-ghost {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(255,255,255,0.16);
  box-shadow: none;
}

.button-light {
  border-color: var(--white);
  background: var(--white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(7, 24, 41, 0.32);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  border-color: rgba(18, 43, 68, 0.08);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 35px rgba(8, 28, 46, 0.10);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: flex;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 1;
}

.brand-mark .brand-c {
  color: var(--orange);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--orange);
  font-family: "Manrope", sans-serif;
  font-size: 0.87rem;
  letter-spacing: 0.16em;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
}

.scrolled .brand-mark {
  color: var(--navy);
}

.scrolled .brand-copy small {
  color: #647181;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.primary-nav a,
.text-link {
  position: relative;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.scrolled .primary-nav a,
.scrolled .text-link {
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

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

.scrolled .nav-toggle span:not(.sr-only) {
  background: var(--navy);
}

.hero {
  position: relative;
  display: flex;
  min-height: 880px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,18,31,0.95) 0%, rgba(4,18,31,0.77) 48%, rgba(4,18,31,0.38) 100%),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=2200&q=88") center/cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(5,20,34,0.92), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 160px;
}

.hero-content > p {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255,255,255,0.82);
  font-size: 1.22rem;
  line-height: 1.75;
}

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

.hero-metrics-wrap {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255,255,255,0.13);
  background: rgba(4,18,31,0.54);
  backdrop-filter: blur(14px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-metrics div {
  padding: 28px 26px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.hero-metrics div:first-child {
  border-left: 1px solid rgba(255,255,255,0.12);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--orange);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
}

.hero-metrics span {
  margin-top: 3px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid span {
  position: relative;
  padding: 22px 20px 22px 40px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.trust-grid span::before {
  position: absolute;
  top: 50%;
  margin-left: -22px;
  color: var(--orange-dark);
  content: "✓";
  transform: translateY(-50%);
}

.split-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 90px;
}

.split-intro h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
}

.arrow-link span {
  color: var(--orange-dark);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.arrow-link:hover span {
  transform: translateX(5px);
}

.services-section {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 58px;
}

.section-heading > div {
  max-width: 720px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 380px;
  margin-bottom: 8px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 355px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid #e4e1da;
  border-radius: var(--radius);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.service-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #b9c0c5;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 52px;
  place-items: center;
  border-radius: 14px;
  background: rgba(245,162,61,0.14);
}

.service-icon svg {
  width: 31px;
  fill: none;
  stroke: var(--orange-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-card h3 {
  margin-bottom: 14px;
}

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

.featured-card {
  border-color: var(--navy);
  background: var(--navy);
}

.featured-card h3 {
  color: #fff;
}

.featured-card p {
  color: rgba(255,255,255,0.68);
}

.featured-card .service-number {
  color: rgba(255,255,255,0.35);
}

.featured-card .service-icon {
  background: var(--orange);
}

.featured-card .service-icon svg {
  stroke: var(--navy);
}

.solutions-section {
  padding: 0;
  background: var(--navy);
}

.solutions-layout {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: 1fr 1fr;
}

.solutions-image {
  position: relative;
  min-height: 720px;
  background:
    linear-gradient(rgba(7,28,47,0.08), rgba(7,28,47,0.08)),
    url("https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1600&q=86") center/cover no-repeat;
}

.image-badge {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 138px;
  height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  text-align: center;
}

.image-badge strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
}

.image-badge span {
  font-size: 0.85rem;
}

.solutions-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px max(40px, calc((100vw - var(--container)) / 2));
}

.solutions-content h2 {
  max-width: 620px;
  color: #fff;
}

.solutions-content > p {
  max-width: 650px;
  color: rgba(255,255,255,0.7);
  font-size: 1.08rem;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin: 24px 0 36px;
}

.check-grid span {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

.check-grid span::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  content: "✓";
}

.solutions-content .button {
  align-self: flex-start;
}

.technology-section {
  background: #fff;
}

.technology-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  color: var(--navy);
}

.feature-list span {
  color: var(--muted);
  font-size: 0.93rem;
}

.data-panel {
  padding: 24px;
  border: 1px solid #dce4eb;
  border-radius: 24px;
  background: #f5f8fa;
  box-shadow: var(--shadow);
}

.data-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 22px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #327852;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #46a66e;
  box-shadow: 0 0 0 4px rgba(70,166,110,0.13);
}

.data-flow {
  display: grid;
  grid-template-columns: 1fr 50px 1.15fr 50px 1fr;
  align-items: center;
  padding: 28px 18px;
  border: 1px solid #dfe7ed;
  border-radius: 16px;
  background: #fff;
}

.flow-node {
  padding: 22px 12px;
  border: 1px solid #e2e8ed;
  border-radius: 12px;
  background: #f8fafb;
  text-align: center;
}

.flow-node span,
.flow-node strong,
.flow-node small {
  display: block;
}

.flow-node strong {
  margin: 7px 0 3px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 1.6rem;
}

.flow-node small {
  color: var(--muted);
  font-size: 0.7rem;
}

.flow-label {
  color: var(--orange-dark);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.center-node {
  border-color: var(--navy);
  background: var(--navy);
}

.center-node strong,
.center-node small {
  color: #fff;
}

.center-node small {
  color: rgba(255,255,255,0.62);
}

.flow-line {
  color: var(--orange-dark);
  font-size: 1.4rem;
  text-align: center;
}

.transaction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.transaction-grid div {
  padding: 16px 10px;
  border: 1px solid #dfe7ed;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.transaction-grid span,
.transaction-grid small {
  display: block;
}

.transaction-grid span {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
}

.transaction-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.64rem;
}

.data-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 5px 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.why-section {
  background: var(--cream);
}

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading.centered > div {
  max-width: none;
}

.section-heading.centered > p {
  max-width: 660px;
  margin: 22px auto 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dcd8d0;
  border-bottom: 1px solid #dcd8d0;
}

.why-grid article {
  padding: 40px 30px;
  border-right: 1px solid #dcd8d0;
}

.why-grid article:last-child {
  border-right: 0;
}

.why-icon {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--orange-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
}

.why-grid h3 {
  font-size: 1.2rem;
}

.why-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.location-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  margin-top: 74px;
  padding: 52px;
  border-radius: 22px;
  background: var(--navy);
}

.location-panel h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 2rem;
}

.location-panel p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.66);
}

.location-list {
  display: grid;
  align-content: center;
  gap: 10px;
}

.location-list span {
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.82);
  font-size: 0.87rem;
}

.contact-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(245,162,61,0.15), transparent 30%),
    var(--navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

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

.contact-copy h2 {
  color: #fff;
}

.contact-copy > p {
  color: rgba(255,255,255,0.68);
  font-size: 1.06rem;
}

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

.contact-details a {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.13);
}

.contact-details a:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.13);
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details small {
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details strong {
  color: #fff;
  font-size: 1.15rem;
}

.quote-form {
  padding: 42px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.form-heading span {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.form-heading small {
  color: var(--muted);
}

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

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

.form-grid label > span {
  color: #445160;
  font-size: 0.78rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  outline: none;
  background: #f9fbfc;
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

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

.form-grid textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 4px rgba(245,162,61,0.14);
}

.form-grid .invalid {
  border-color: #c84545;
  box-shadow: 0 0 0 3px rgba(200,69,69,0.1);
}

.full-width {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  margin-top: 24px;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: #2f6f4b;
  font-size: 0.86rem;
  text-align: center;
}

.site-footer {
  background: #061624;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-top p {
  max-width: 400px;
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
}

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

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

.back-to-top {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-actions .text-link {
    display: none;
  }

  .primary-nav {
    gap: 18px;
  }

  .hero {
    min-height: 820px;
  }

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

  .technology-layout,
  .contact-layout {
    gap: 50px;
  }

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

  .why-grid article:nth-child(2) {
    border-right: 0;
  }

  .why-grid article:nth-child(-n+2) {
    border-bottom: 1px solid #dcd8d0;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 86px 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(3) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 82px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 30px 28px;
    background: var(--navy);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .primary-nav a,
  .scrolled .primary-nav a {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.1rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-metrics div:nth-child(2) {
    border-right: 0;
  }

  .hero-metrics div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

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

  .split-intro,
  .technology-layout,
  .contact-layout,
  .location-panel {
    grid-template-columns: 1fr;
  }

  .split-intro {
    gap: 34px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    max-width: 620px;
    margin-top: 22px;
  }

  .solutions-layout {
    grid-template-columns: 1fr;
  }

  .solutions-image {
    min-height: 500px;
  }

  .solutions-content {
    padding: 80px 40px;
  }

  .technology-layout {
    gap: 55px;
  }

  .contact-copy {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
  }

  .footer-top p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

  .section {
    padding: 72px 0;
  }

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

  .brand-mark {
    font-size: 1.72rem;
  }

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

  .brand-copy small {
    font-size: 0.48rem;
  }

  .primary-nav {
    inset-top: 74px;
  }

  .hero {
    min-height: 880px;
    background-position: 62% center;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 250px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .hero-content > p {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics div {
    padding: 18px 14px;
  }

  .hero-metrics strong {
    font-size: 1rem;
  }

  .hero-metrics span {
    font-size: 0.68rem;
  }

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

  .trust-grid span {
    border-bottom: 1px solid #dedbd4;
    text-align: left;
  }

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

  .service-card {
    min-height: 320px;
    padding: 28px;
  }

  .solutions-image {
    min-height: 390px;
  }

  .image-badge {
    right: 20px;
    bottom: 20px;
    width: 110px;
    height: 110px;
  }

  .solutions-content {
    padding: 65px 22px;
  }

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

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .data-panel {
    padding: 14px;
    border-radius: 16px;
  }

  .data-flow {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .flow-line {
    transform: rotate(90deg);
  }

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

  .data-footer {
    display: grid;
  }

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

  .why-grid article,
  .why-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #dcd8d0;
  }

  .why-grid article:last-child {
    border-bottom: 0;
  }

  .location-panel {
    gap: 36px;
    padding: 34px 26px;
  }

  .quote-form {
    padding: 28px 20px;
  }

  .form-heading {
    display: block;
  }

  .form-heading small {
    display: block;
    margin-top: 5px;
  }

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

  .full-width {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top .button {
    justify-self: start;
  }

  .footer-bottom {
    display: grid;
  }

  .footer-bottom div {
    display: grid;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Customer login selector */
.login-selector-button,
.footer-login-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.login-selector-button {
  position: relative;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

.scrolled .login-selector-button {
  color: var(--navy);
}

.footer-login-button {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.footer-login-button:hover {
  color: var(--orange);
}

.login-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.login-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 15, 26, 0.78);
  backdrop-filter: blur(8px);
}

.login-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 46px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 35px 100px rgba(0,0,0,0.32);
  transform: translateY(16px) scale(0.98);
  transition: transform 180ms ease;
}

.login-modal.open .login-modal-dialog {
  transform: translateY(0) scale(1);
}

.login-modal-dialog h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.login-modal-dialog > p {
  color: var(--muted);
}

.login-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.login-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 22px;
}

.login-choice {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafb;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.login-choice:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 18px 44px rgba(11,31,51,0.12);
}

.login-choice-label,
.login-choice strong,
.login-choice small {
  display: block;
}

.login-choice-label {
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.login-choice strong {
  max-width: 240px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
}

.login-choice small {
  margin-top: 12px;
  color: var(--muted);
}

.login-choice-arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: var(--orange-dark);
  font-size: 1.5rem;
}

.login-help {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.login-help a {
  color: var(--navy);
  font-weight: 800;
}

body.login-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .login-modal {
    padding: 12px;
  }

  .login-modal-dialog {
    padding: 36px 22px 24px;
    border-radius: 16px;
  }

  .login-choice-grid {
    grid-template-columns: 1fr;
  }

  .login-choice {
    min-height: 180px;
  }
}
