:root {
  --bg: #f4f8f7;
  --surface: #ffffff;
  --text: #102323;
  --muted: #5d7070;
  --line: #dbe7e5;
  --primary: #0b2f2f;
  --primary-2: #14635f;
  --accent: #2fe6c8;
  --accent-dark: #0fae98;
  --dark: #071d1d;
  --shadow: 0 16px 36px rgba(11, 47, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  width: 292px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: 15px;
}

.nav a {
  text-decoration: none;
  color: #254141;
}

.nav a:hover {
  color: var(--accent-dark);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 30px;
  color: var(--primary);
}

.hero {
  min-height: 680px;
  color: white;
  display: flex;
  align-items: center;
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(7, 29, 29, 0.88), rgba(7, 29, 29, 0.62)),
    url("../web_images/data-hall.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero .eyebrow,
.dark .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 72px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 21px;
}

.hero-text {
  max-width: 720px;
  color: #d8eeee;
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  color: #052020;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: white;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow);
  background: #111;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroSlide 16s infinite;
}

.hero-slider .slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slider .slide:nth-child(2) {
  animation-delay: 4s;
}

.hero-slider .slide:nth-child(3) {
  animation-delay: 8s;
}

.hero-slider .slide:nth-child(4) {
  animation-delay: 12s;
}

.hero-slider img,
.card img,
.project-photo img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes heroSlide {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.stats {
  margin-top: -34px;
}

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

.stats-grid div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.stats-grid strong {
  display: block;
  color: var(--primary);
  font-size: 22px;
}

.stats-grid span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.section {
  padding: 86px 0;
}

.section-head {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 47, 47, 0.06);
}

.card img {
  height: 190px;
}

.card-body {
  padding: 22px;
}

.card p,
.features p,
.contact-card p {
  color: var(--muted);
}

.dark {
  color: white;
  background: var(--dark);
}

.dark p {
  color: #cce2e0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.project-photo img {
  max-height: 390px;
  border-radius: 8px;
}

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

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(11, 47, 47, 0.08);
}

.gallery img {
  height: 160px;
}

.gallery img.engineer1 {
  object-position: center top;
}

.gallery figcaption {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.features div {
  padding: 28px;
  border-left: 4px solid var(--accent);
  background: white;
  border-radius: 8px;
}

.cta {
  padding: 54px 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 8px;
}

.cta-box p {
  max-width: 620px;
  color: #d7eeec;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card a {
  color: var(--primary-2);
  font-weight: 800;
}

.site-footer {
  padding: 26px 0;
  color: #b3cac8;
  background: #041313;
}

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

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

  .nav {
    display: none;
    position: absolute;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 4%;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .menu-open .nav {
    display: flex;
  }

  .logo {
    width: 238px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0;
  }

  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .features,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-slider {
    height: 300px;
  }

  .cta-box {
    display: block;
  }
}

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
