:root {
  --ink: #0b2635;
  --muted: #5b7281;
  --line: #d4e7f0;
  --paper: #f3faff;
  --white: #ffffff;
  --navy: #061d2b;
  --blue: #078fc6;
  --blue-dark: #006d9f;
  --teal: #00a7d5;
  --gold: #38c4ee;
  --shadow: 0 20px 55px rgba(0, 111, 159, 0.14);
  --radius: 8px;
  --max: 1180px;
  --heading-size: clamp(1.9rem, 2vw, 2.4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 143, 198, 0.05), rgba(255, 255, 255, 0) 360px),
    var(--paper);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

main > section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 14px max(24px, calc((100% - var(--max)) / 2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-width: 0 0 1px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(6, 29, 43, 0.96) 0%, rgba(6, 84, 116, 0.72) 72%, rgba(6, 84, 116, 0) 100%);
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 29, 43, 0.96);
  box-shadow: 0 14px 35px rgba(0, 97, 140, 0.16);
}

.brand img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 143, 198, 0.24);
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #15b8e3);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 132px 0 72px;
  overflow: hidden;
  color: var(--white);
}

.hero-slider,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 7000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 26%, rgba(7, 143, 198, 0.28), rgba(7, 143, 198, 0) 38%),
    linear-gradient(90deg, rgba(6, 29, 43, 0.94) 0%, rgba(6, 58, 82, 0.78) 48%, rgba(6, 58, 82, 0.36) 100%),
    linear-gradient(0deg, rgba(6, 29, 43, 0.74), rgba(6, 29, 43, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: end;
  gap: 42px;
  width: min(calc(100% - 40px), var(--max));
  min-height: calc(100vh - 204px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.hero-title {
  margin: 16px 0 18px;
  font-size: clamp(2.45rem, 4.7vw, 4.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #12b6e3);
  box-shadow: 0 14px 32px rgba(7, 143, 198, 0.28);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(7, 24, 39, 0.54);
}

.hero-panel strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.hero-dots button {
  width: 34px;
  height: 5px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dots button.is-active {
  width: 54px;
  background: var(--teal);
}

.hero-panel span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: block;
  max-width: 860px;
  margin-bottom: 40px;
}

.section-heading h2,
.split-copy h2,
.cta-band h2,
.contact-card h2 {
  margin: 16px 0 18px;
  color: var(--ink);
  font-size: var(--heading-size);
  line-height: 1.14;
  letter-spacing: 0;
}

.split-copy h2,
.contact-card h2 {
  color: var(--ink);
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.feature-grid,
.service-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.service-card,
.project-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(16, 32, 51, 0.06);
}

.feature-card {
  min-height: 260px;
  padding: 26px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #16bde9);
  font-weight: 800;
}

.feature-card h3,
.service-card h3,
.project-card h3 {
  margin: 22px 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.feature-card p,
.service-card p,
.project-card p,
.split-copy p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.image-split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 54px;
}

.split-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--white);
}

.services {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100% - var(--max)) / 2));
  background: #eaf7fd;
}

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

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.clients {
  padding-bottom: 64px;
}

.clients .section-heading {
  max-width: 100%;
}

.clients .section-heading h2 {
  white-space: nowrap;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-inline: calc((100vw - min(100vw - 40px, var(--max))) / -2);
  padding: 8px 0;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(14vw, 140px);
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(243, 250, 255, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(243, 250, 255, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: logo-scroll 32s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-track img {
  flex: 0 0 210px;
  width: 210px;
  height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  object-fit: contain;
  filter: saturate(0.8);
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.project-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  color: var(--white);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 29, 43, 0.9), rgba(6, 94, 125, 0.14));
}

.project-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px;
}

.project-card span {
  color: #68dfff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.project-card h3 {
  margin-top: 10px;
  font-size: 1.45rem;
}

.project-card p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 58px max(20px, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark) 42%, var(--navy));
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 34px;
  padding: 36px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.contact-list a:hover {
  border-color: rgba(7, 143, 198, 0.38);
  background: #e9f8ff;
}

.contact-list span {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 56px max(20px, calc((100% - var(--max)) / 2)) 28px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, var(--navy), #031620);
}

.site-footer img {
  width: 150px;
  height: 150px;
  padding: 0;
  border-radius: var(--radius);
  background: var(--blue);
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(7, 143, 198, 0.24);
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  :root {
    --heading-size: clamp(1.5rem, 3.4vw, 1.85rem);
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 78px;
    padding: 14px 24px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    grid-column: 1 / -1;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

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

  .header-cta {
    display: none;
  }

  .hero-inner,
  .section-heading,
  .image-split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-inner {
    min-height: calc(100vh - 204px);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 6.2vw, 3.35rem);
    line-height: 1.08;
  }

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

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

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

  .project-card {
    min-height: 360px;
  }

  .logo-track img {
    flex-basis: 190px;
    width: 190px;
  }

  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }
}

@media (max-width: 620px) {
  :root {
    --heading-size: 1.55rem;
  }

  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .hero {
    padding: 98px 0 56px;
  }

  .hero-inner,
  .section {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero h1 {
    font-size: 2.08rem;
  }

  .clients .section-heading h2 {
    white-space: normal;
  }

  .hero-panel,
  .feature-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .logo-marquee {
    margin-inline: -14px;
  }

  .logo-track {
    gap: 12px;
    animation-duration: 26s;
  }

  .logo-track img {
    flex-basis: 170px;
    width: 170px;
    height: 84px;
    padding: 14px;
  }

  .section,
  .services {
    padding-top: 62px;
    padding-bottom: 62px;
  }

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

  .hero-actions {
    display: grid;
  }

  .contact-card {
    padding: 22px;
  }

  .site-footer {
    padding-top: 42px;
  }
}
