:root {
  --ink: #162226;
  --ink-soft: #3f5056;
  --surface: #ffffff;
  --surface-alt: #f4f7f8;
  --line: #d8e1e4;
  --blue: #1975bb;
  --blue-deep: #0b4d83;
  --orange: #f27605;
  --dark: #071014;
  --shadow: 0 18px 55px rgba(7, 16, 20, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.legal-header {
  background: rgba(7, 16, 20, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(156px, 18vw, 230px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: #d9ecfb;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.92) 0%, rgba(7, 16, 20, 0.7) 42%, rgba(7, 16, 20, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 16, 20, 0.56), rgba(7, 16, 20, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 92px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--orange);
  color: #111;
}

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

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  min-height: 132px;
  padding: 32px clamp(18px, 4vw, 48px);
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--blue-deep);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
}

.section,
.process-section,
.split-section,
.tech-section,
.capabilities-section,
.testimonials-section,
.contact-section {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 82px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

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

.service-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 16, 20, 0.03);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: #e6f2fa;
  color: var(--blue-deep);
  font-size: 24px;
  font-weight: 800;
}

.service-card p,
.process-step p,
.benefit-list p,
.contact-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.process-section {
  background: var(--surface-alt);
}

.capabilities-section {
  background: var(--surface-alt);
}

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

.capability-grid article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.capability-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.capability-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.tech-section {
  background: #10191d;
  color: #fff;
}

.tech-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

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

.tech-strip article {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 252px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.tech-logo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 8;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
}

.tech-logo img {
  width: 100%;
  max-width: 190px;
  max-height: 74px;
  object-fit: contain;
}

.also-tech {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.also-tech > div:first-child p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.also-tech-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.also-tech-grid article {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.also-tech-grid img {
  width: 100%;
  max-width: 112px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.also-tech-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.tech-strip article > div:last-child > span {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tech-strip strong {
  display: block;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.tech-strip p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.process-step {
  padding: 30px;
  border-left: 4px solid var(--blue);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-step span {
  display: block;
  margin-bottom: 28px;
  color: var(--orange);
  font-weight: 900;
}

.testimonials-section {
  background:
    linear-gradient(135deg, rgba(25, 117, 187, 0.08), rgba(242, 118, 5, 0.08)),
    #fff;
}

.testimonial-carousel {
  position: relative;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 31%);
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  display: grid;
  align-content: space-between;
  scroll-snap-align: start;
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 40px rgba(7, 16, 20, 0.08);
}

.testimonial-card img {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(7, 16, 20, 0.18);
}

.testimonial-card p {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.28;
}

.testimonial-card footer {
  display: grid;
  gap: 5px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonial-card strong {
  color: var(--blue-deep);
}

.testimonial-card span {
  color: var(--ink-soft);
}

.carousel-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-deep);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7, 16, 20, 0.16);
  transform: translateY(-50%);
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--blue-deep);
  color: #fff;
}

.carousel-control.prev {
  left: -18px;
}

.carousel-control.next {
  right: -18px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 24px;
}

.benefit-list div {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 84px);
  background: var(--dark);
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: #d9ecfb;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: #d9ecfb;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 82px);
  color: #fff;
  background: #020708;
}

.site-footer a {
  color: #d9ecfb;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.legal-main {
  padding: 140px clamp(18px, 6vw, 82px) clamp(72px, 9vw, 120px);
  background: var(--surface-alt);
}

.legal-content {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--blue-deep);
  font-weight: 800;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-updated {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-content table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--ink-soft);
}

.legal-content th,
.legal-content td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  color: var(--ink);
  background: var(--surface-alt);
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(7, 16, 20, 0.96);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

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

.cookie-banner h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.cookie-banner p {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

@media (max-width: 980px) {
  .service-grid,
  .tech-strip,
  .capability-grid,
  .process,
  .intro-band {
    grid-template-columns: 1fr 1fr;
  }

  .split-section,
  .also-tech,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .also-tech-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-logo {
    width: 164px;
    max-height: 58px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(7, 16, 20, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-media {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 16, 20, 0.94) 0%, rgba(7, 16, 20, 0.7) 100%),
      linear-gradient(0deg, rgba(7, 16, 20, 0.5), rgba(7, 16, 20, 0.1));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-inline: 18px;
  }

  .intro-band,
  .service-grid,
  .tech-strip,
  .capability-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    grid-auto-columns: minmax(280px, 88%);
  }

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

  .carousel-control {
    top: auto;
    bottom: -34px;
    transform: none;
  }

  .carousel-control.prev {
    left: 0;
  }

  .carousel-control.next {
    right: 0;
  }

  .service-card {
    min-height: auto;
  }

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

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

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

@media (max-width: 420px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-form {
    padding: 18px;
  }
}
