:root {
  --blue: #123c78;
  --blue-deep: #0b244a;
  --red: #e1262f;
  --ink: #17202a;
  --muted: #667080;
  --line: #d9e0e8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --steel: #e8edf2;
  --shadow: 0 18px 45px rgba(13, 30, 55, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(16px, 4vw, 46px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  max-height: 820px;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: var(--blue-deep);
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 42, .84), rgba(6, 20, 42, .42) 48%, rgba(6, 20, 42, .08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 120px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4f7fb;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(44px, 8vw, 94px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 28px;
  color: #e7edf5;
  font-size: clamp(19px, 2.2vw, 26px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, .72);
  color: var(--white);
}

.intro-band,
.services,
.proof,
.values,
.contact,
.gallery-shell {
  padding: clamp(58px, 8vw, 96px) 0;
}

.intro-band,
.values,
.gallery-shell {
  background: var(--paper);
}

.split,
.contact-layout,
.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.copy,
.proof-copy,
.contact-lead {
  color: var(--muted);
  font-size: 18px;
}

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

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 30, 55, .08);
}

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

.service h3,
.service p {
  padding: 0 18px;
}

.service h3 {
  margin-top: 18px;
  color: var(--blue);
}

.service p {
  margin-bottom: 20px;
  color: var(--muted);
}

.proof {
  background: var(--white);
}

.proof-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.proof-images img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-images img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

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

.value-grid > div {
  padding: 24px;
  background: var(--white);
  border-left: 5px solid var(--red);
  border-radius: 8px;
}

.value-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
}

.contact .section-kicker {
  color: #ffbdc1;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  font-style: normal;
}

.contact-list span {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.contact-list strong {
  color: #cdddf2;
  font-size: 13px;
  text-transform: uppercase;
}

.footer {
  padding: 24px 0;
  color: #d9e5f6;
  background: #07152a;
}

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

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

.gallery-hero {
  padding: 82px 0 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 21, 42, .92), rgba(7, 21, 42, .58)),
    url("../img/img-2954-jpg.webp") center / cover;
}

.gallery-hero h1 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 78px);
}

.gallery-hero p:not(.section-kicker) {
  max-width: 720px;
  color: #e6edf6;
  font-size: 20px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-deep);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

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

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--steel);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .22s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--white);
  background: rgba(7, 21, 42, .78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 52px 18px 70px;
  background: rgba(3, 10, 21, .92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .45);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 70px;
  border-radius: 6px;
  font-size: 52px;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.lightbox p {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  color: #e9eef6;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 980px) {
  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-layout,
  .proof-layout,
  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand img {
    width: 142px;
  }

  .nav {
    justify-content: flex-start;
    gap: 8px 16px;
    font-size: 14px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding: 70px 0 86px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(6, 20, 42, .88), rgba(6, 20, 42, .35));
  }

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

  .proof-images img:first-child {
    aspect-ratio: 4 / 3;
  }

  .button {
    width: 100%;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}
