:root {
  --black: #070707;
  --ink: #111113;
  --panel: #1b1b1e;
  --panel-soft: #242428;
  --red: #e31d2b;
  --red-dark: #a9101b;
  --white: #ffffff;
  --muted: #c9c9c9;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(14px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.97);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.nav,
.section-inner,
.hero-inner,
.cta-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(227, 29, 43, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #f02635;
}

.button-dark {
  background: var(--ink);
  box-shadow: none;
}

.button-dark:hover {
  background: #000000;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.button-outline.light {
  border-color: rgba(255, 255, 255, 0.42);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 136px 0 56px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.78) 45%, rgba(7, 7, 7, 0.2) 100%),
    url("pictures/8fcae740-138c-4a65-92c7-a772f7819ed6.jfif");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(0deg, var(--black), transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 720px) 320px;
  align-items: end;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 9vw, 108px);
  line-height: 0.92;
  text-transform: uppercase;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 30px;
  color: #eeeeee;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

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

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 24px;
  background: rgba(18, 18, 20, 0.86);
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
}

.hero-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

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

.section-dark {
  background: #101012;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 390px);
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.service-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 29, 43, 0.7);
}

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.service-card h3,
.check-list strong,
.contact-card h3 {
  text-transform: uppercase;
}

.service-card p,
.check-list p,
.contact-card p,
.contact-card li {
  color: var(--muted);
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  cursor: pointer;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.gallery-item-large {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 46px;
}

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

.check-list div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.check-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.check-list p {
  margin-bottom: 0;
}

.cta-section {
  padding: 76px 0;
  background:
    linear-gradient(90deg, rgba(227, 29, 43, 0.96), rgba(169, 16, 27, 0.86)),
    url("pictures/c7cc9874-97a7-4e7f-bf19-08f772cde2c2.jfif");
  background-position: center;
  background-size: cover;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-inner .eyebrow {
  color: var(--white);
}

.cta-inner .eyebrow::before {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.contact-card-red {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.contact-card h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.contact-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-card p {
  margin-bottom: 24px;
}

.contact-card strong {
  color: var(--white);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 22px 56px;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(1120px, 92vw);
  max-height: 78vh;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 30px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-caption,
.lightbox-counter {
  position: absolute;
  bottom: 18px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox-caption {
  left: 22px;
  max-width: calc(100% - 130px);
}

.lightbox-counter {
  right: 22px;
  color: var(--muted);
}

.footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer span {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    right: 16px;
    display: none;
    width: min(280px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 7, 7, 0.98);
  }

  .nav-links.is-open {
    display: grid;
    gap: 14px;
  }

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

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

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

  .cta-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav,
  .section-inner,
  .hero-inner,
  .cta-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand span:last-child {
    max-width: 170px;
    line-height: 1.05;
  }

  .hero {
    min-height: 88vh;
    padding-top: 116px;
  }

  .hero-actions .button,
  .contact-actions .button,
  .cta-inner .button {
    width: 100%;
  }

  .hero-panel,
  .services-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-rows: 238px;
  }

  .gallery-item-large {
    grid-row: span 1;
  }

  .section {
    padding: 64px 0;
  }

  .contact-card {
    padding: 24px;
  }

  .lightbox {
    padding: 82px 12px 66px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-caption {
    left: 12px;
    bottom: 70px;
    max-width: calc(100% - 24px);
  }

  .lightbox-counter {
    right: 12px;
    bottom: 70px;
  }

  .footer .section-inner {
    align-items: start;
    flex-direction: column;
  }
}
