:root {
  --ink: #102033;
  --muted: #5b6b7c;
  --line: #d7e0ea;
  --paper: #f5f8fb;
  --white: #ffffff;
  --blue: #0b66d8;
  --blue-deep: #073f86;
  --blue-soft: #eaf3ff;
  --slate: #172a41;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 234, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 48px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.5rem;
}

.nav-toggle,
.nav-icon {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: #233044;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(20px, 7vw, 92px) 72px;
  color: var(--white);
  background: var(--slate);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 19, 38, 0.82), rgba(5, 19, 38, 0.46)),
    rgba(5, 19, 38, 0.28);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: #9bc8ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 5.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  background: var(--white);
  color: var(--blue-deep);
}

.logo-placeholder small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.section {
  padding: 86px clamp(20px, 7vw, 92px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--white);
}

.section h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-text p:last-child {
  color: var(--muted);
}

.section-text p:last-child {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.service-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-list li {
  padding: 22px;
  font-weight: 700;
}

.clients-section {
  background: var(--blue-soft);
  text-align: center;
}

.clients-section h2 {
  margin-inline: auto;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px clamp(28px, 6vw, 78px);
  margin-top: 34px;
  align-items: center;
}

.logo-placeholder {
  display: grid;
  width: 100%;
  min-height: 84px;
  place-items: center;
  padding: 6px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  border: 0;
  background: transparent;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.logo-placeholder.has-logo {
  background: transparent;
}

.client-logo {
  display: block;
  width: min(190px, 88%);
  max-height: 76px;
  height: auto;
  object-fit: contain;
  filter: grayscale(58%) saturate(72%) opacity(82%);
  transition:
    filter 160ms ease,
    opacity 160ms ease;
}

.client-logo h2 {
  text-align: center;
}

.align-logo {
  width: min(210px, 92%);
}

.essl-logo {
  width: min(132px, 72%);
}

.logo-placeholder:hover {
  transform: translateY(-3px);
}

.logo-placeholder:hover .client-logo {
  filter: grayscale(32%) saturate(86%) opacity(94%);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  align-items: start;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 84px);
  padding: 48px clamp(20px, 7vw, 92px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--slate);
}

.site-footer p,
.site-footer h2 {
  margin: 0;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
}

.site-footer a {
  color: inherit;
  font-weight: 700;
}

.footer-left,
.footer-company,
.site-footer address,
.contact-lines {
  display: grid;
  gap: 12px;
}

.footer-nav,
.social-links,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-nav a:hover,
.contact-lines a:hover {
  color: #9bc8ff;
}

.site-footer address {
  max-width: 660px;
  font-style: normal;
  line-height: 1.6;
}

.site-footer address strong {
  color: var(--white);
}

.footer-company {
  justify-items: end;
  text-align: right;
}

.footer-company p {
  max-width: 420px;
  line-height: 1.7;
}

.social-links {
  margin-top: 8px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.8rem;
}

.social-links a:hover {
  background: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 36px;
    height: 28px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .nav-icon {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
  }

  .nav-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--blue-deep);
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 2px;
    color: var(--ink);
    font-size: 0.92rem;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle:checked + .nav-icon + .nav-links {
    display: flex;
  }

  .nav-toggle:checked + .nav-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 88vh;
    padding-top: 116px;
  }

  .intro-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .footer-company {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 460px) {
  .logo-grid {
    grid-template-columns: 1fr;
  }
}
