
:root {
  --navy-950: #030b16;
  --navy-900: #061323;
  --navy-850: #091a2f;
  --navy-800: #0d2139;
  --navy-700: #102a49;
  --blue: #1f73ff;
  --blue-2: #2e82ff;
  --text: #f5f8ff;
  --muted: #98a7bb;
  --line: rgba(69, 126, 218, 0.28);
  --panel: rgba(11, 29, 50, 0.92);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 82px;
  padding: 0 clamp(18px, 5vw, 70px);
  background: rgba(8, 25, 43, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 28px 0;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-2);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 1px;
  background: var(--blue-2);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

main {
  overflow: hidden;
}

.hero,
.page-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: 96px clamp(22px, 6vw, 84px);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  min-height: 440px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3,11,22,.78) 0%,
      rgba(3,11,22,.60) 48%,
      rgba(3,11,22,.25) 100%
    ),
    linear-gradient(
      0deg,
      rgba(3,11,22,.50),
      rgba(3,11,22,.10)
    );
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.93;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.page-hero p,
.hero-subtitle,
.page-hero-content p {
  max-width: 700px;
  margin-top: 26px;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-outline {
  background: rgba(4, 15, 28, 0.32);
  color: #fff;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 86px);
  bottom: 70px;
  width: min(40vw, 560px);
  padding: 28px;
  background: rgba(4, 15, 28, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-panel img {
  width: 100%;
}

section {
  padding: 90px clamp(22px, 6vw, 84px);
}

section > h2,
.split-section h2,
.feature-grid-section h2,
.recent-projects h2,
.gallery-section h2,
.contact-section h2,
.cta-band h2,
.image-copy-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.split-section {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.copy-block p,
.about-split p,
.image-copy-band p,
.service-detail p,
.value-grid p,
.values-stack p,
.contact-info p,
.form-note {
  color: var(--muted);
  font-size: 1rem;
}

.feature-grid-section,
.dark-panel-section,
.gallery-section,
.services-detail-grid,
.contact-section,
.image-copy-band,
.recent-projects,
.cta-band {
  max-width: var(--max);
  margin: 0 auto;
}

.service-preview-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.image-card {
  min-height: 370px;
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.image-card:hover img {
  transform: scale(1.06);
  opacity: 0.78;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 11, 22, 0.92) 0%, rgba(3, 11, 22, 0.12) 70%);
}

.image-card div {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.image-card span {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.image-card p {
  margin: 0;
  color: #b6c2d2;
  font-size: 0.95rem;
}

.dark-panel-section {
  background: var(--navy-900);
  border: 1px solid var(--line);
  margin-top: 20px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 35px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-grid article,
.values-stack article {
  background: var(--navy-950);
  padding: 34px;
}

.value-grid h3,
.values-stack h3,
.service-detail h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 500;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--navy-800);
  border: 1px solid var(--line);
  margin-top: 20px;
}

.services-detail-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  padding: 0;
  margin-top: 80px;
  margin-bottom: 80px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--navy-950);
}

.service-detail.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-detail.reverse img {
  order: 2;
}

.service-detail img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.service-detail > div {
  padding: clamp(32px, 5vw, 60px);
  background: rgba(8, 25, 43, 0.76);
}

.service-detail ul {
  padding-left: 20px;
  color: #c2cad8;
}

.service-detail li {
  margin: 10px 0;
}

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

.gallery-grid figure {
  margin: 0;
  background: var(--navy-900);
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

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

.gallery-grid figcaption,
.slide figcaption {
  padding: 16px 18px;
  color: #c7d2e2;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  border: 1px solid var(--line);
  background: var(--navy-950);
  padding: 12px 16px;
  color: #c7d2e2;
}

.about-split {
  align-items: start;
}

.values-stack {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.image-copy-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--navy-800);
  border: 1px solid var(--line);
}

.image-copy-band img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.info-block {
  margin-top: 34px;
}

.info-block a {
  color: #c7d2e2;
}

.quote-form {
  background: var(--navy-900);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 44px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

label.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(72, 130, 222, 0.45);
  background: #10233b;
  color: var(--text);
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}

.full-button {
  width: 100%;
  margin-top: 22px;
}

.form-note {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.recent-projects {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-slider {
  position: relative;
  border: 1px solid var(--line);
  background: var(--navy-900);
  overflow: hidden;
}

.slider-track {
  min-height: 520px;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  cursor: zoom-in;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 11, 22, 0.82), rgba(3, 11, 22, 0.05));
  pointer-events: none;
}

.slide figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 18px;
  background: rgba(4, 15, 28, 0.72);
  border: 1px solid var(--line);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 62px;
  border: 1px solid var(--line);
  background: rgba(4, 15, 28, 0.74);
  color: var(--text);
  font-size: 2.2rem;
  cursor: pointer;
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.site-footer {
  background: #020815;
  border-top: 1px solid var(--line);
  padding: 36px clamp(22px, 6vw, 84px);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo img {
  width: 150px;
}

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

.footer-links a {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.footer-inner p {
  color: #6f7d90;
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.88);
}

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

.lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(4, 15, 28, 0.86);
  color: #fff;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .service-preview-grid,
  .value-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-panel {
    display: none;
  }
  .hero,
  .page-hero {
    min-height: 560px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 74px;
  }
  .brand img {
    width: 155px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 19, 35, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
  }
  .site-nav a.is-active::after,
  .site-nav a:hover::after {
    display: none;
  }
  .split-section,
  .service-detail,
  .service-detail.reverse,
  .image-copy-band,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .service-detail.reverse img {
    order: 0;
  }
  .cta-band,
  .section-heading-row,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero,
  .page-hero,
  section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero h1,
  .page-hero h1 {
    letter-spacing: 0.07em;
  }
  .service-preview-grid,
  .value-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .slider-track,
  .slide img {
    height: 360px;
    min-height: 360px;
  }
  .slider-arrow {
    width: 42px;
    height: 52px;
  }
  .service-detail img,
  .image-copy-band img {
    min-height: 300px;
    height: 300px;
  }
}
