:root {
  --orange: #f36c00;
  --orange-dark: #c94f00;
  --ink: #111827;
  --muted: #5f6673;
  --line: #e8ebef;
  --paper: #ffffff;
  --night: #090d16;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: #f7f8fa;
  overflow-x: hidden;
}

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

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  width: 100%;
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 20, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.top-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.top-strip__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 34px;
}

.top-strip a:hover,
.nav-menu a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-left: auto;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 108px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brand__logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
}

.brand__name {
  color: var(--orange);
  font-weight: 600;
  line-height: 1.15;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-weight: 700;
}

.nav-quote {
  padding: 18px 30px;
  border-radius: 6px;
  background: var(--orange);
  color: #fff !important;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-pan 18s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.72), rgba(5, 8, 16, 0.28) 58%, rgba(5, 8, 16, 0.52)),
    rgba(42, 13, 42, 0.14);
}

.hero__content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 58px;
}

.hero-card {
  width: min(780px, 100%);
  padding: 34px 34px 44px;
  background: rgba(0, 0, 0, 0.48);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.04;
  font-weight: 800;
}

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

.hero-card__copy {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 176px;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.button--primary:hover {
  background: var(--orange-dark);
}

.button--light {
  background: #fff;
  color: #1c2430;
}

.section {
  padding: 92px 0;
  background: var(--paper);
}

.section--intro,
.section--clients {
  background: #f3f5f7;
}

.intro-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 76px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.12;
}

.intro-grid p:last-child,
.contact-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

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

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card__icon {
  color: var(--orange);
  font-weight: 800;
}

.service-card h3,
.solution-list h3 {
  margin: 24px 0 12px;
  font-size: 22px;
}

.service-card p,
.solution-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

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

.proof-grid div {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 46px;
}

.proof-grid span {
  color: #d9dee7;
  line-height: 1.5;
}

.product-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.product-panel h3 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 24px;
}

.product-panel p,
.product-panel li {
  color: #d9dee7;
  line-height: 1.75;
}

.product-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.solutions {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
}

.solution-list {
  display: grid;
  gap: 18px;
}

.solution-list > div {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.client-band {
  max-width: 840px;
  text-align: center;
}

.section-copy {
  margin: 22px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.contact {
  background: #fff;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: #2d3440;
  font-weight: 700;
}

.contact-details a {
  color: var(--orange-dark);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 8px;
  background: #f3f5f7;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #2d3440;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d9dee6;
  border-radius: 6px;
  padding: 15px 16px;
  font: inherit;
}

.site-footer {
  padding: 28px 0;
  background: #080c14;
  color: #c9d0db;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

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

.footer-links a:hover {
  color: #fff;
}

.legal-header {
  position: sticky;
  top: 0;
  background: rgba(8, 12, 20, 0.96);
}

.legal-header .main-nav {
  min-height: 88px;
}

.legal-main {
  background: #f7f8fa;
}

.legal-hero {
  padding: 86px 0 48px;
  background: #080c14;
  color: #fff;
}

.legal-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
}

.legal-hero p:last-child {
  margin: 0;
  color: #c9d0db;
  font-weight: 600;
}

.legal-document {
  max-width: 980px;
  padding: 58px 0 86px;
}

.legal-document h2 {
  margin: 42px 0 14px;
  font-size: clamp(26px, 3vw, 34px);
}

.legal-document h3 {
  margin: 26px 0 10px;
  font-size: 20px;
}

.legal-document p,
.legal-document li {
  color: #3d4552;
  font-size: 17px;
  line-height: 1.8;
}

.legal-document ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.legal-document a {
  color: var(--orange-dark);
  font-weight: 700;
}

@keyframes slow-pan {
  from {
    transform: scale(1.04) translateX(-1%);
  }
  to {
    transform: scale(1.1) translateX(1%);
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: grid;
    gap: 5px;
    position: absolute;
    top: 20px;
    left: 300px;
    margin-left: 0;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.28);
    padding: 12px;
    z-index: 2;
  }

  .nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 24px;
    display: none;
    width: min(360px, calc(100vw - 48px));
    padding: 20px;
    border-radius: 8px;
    background: rgba(8, 12, 20, 0.98);
  }

  .nav-menu.is-open {
    display: grid;
    gap: 16px;
  }

  .legal-nav {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    background: transparent;
  }

  .main-nav {
    min-height: 86px;
  }

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

  .intro-grid,
  .split,
  .solutions,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
    max-width: 1320px;
  }

  .top-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 8px 0;
    font-size: 13px;
  }

  .top-strip__inner > * {
    min-width: 0;
  }

  .top-strip__inner a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .social-links {
    margin-left: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
  }

  .brand__name {
    max-width: 150px;
  }

  .hero__content {
    padding-top: 160px;
  }

  .hero-card {
    width: 348px;
    max-width: 100%;
    flex: 0 0 348px;
    padding: 24px 18px 28px;
    overflow: hidden;
  }

  .hero h1 {
    width: 300px;
    max-width: 100%;
    font-size: 34px;
  }

  .hero-card__copy {
    width: 300px;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
  }

  .button {
    width: 100%;
    max-width: 300px;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .legal-nav {
    display: none;
  }

  .legal-document {
    padding: 42px 0 64px;
  }
}

@media (max-width: 360px) {
  .nav-toggle {
    left: 246px;
  }

  .hero-card {
    width: 292px;
    flex-basis: 292px;
  }

  .hero h1,
  .hero-card__copy,
  .button {
    width: 244px;
  }
}
