﻿:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #f0f5ff;
  --text: #102a43;
  --text-muted: #415a77;
  --soft: #627d98;
  --primary: #1f4d7a;
  --primary-dark: #193f64;
  --accent: #f6a01a;
  --accent-dark: #c77f16;
  --accent-soft: #fff1da;
  --border: #dce4ef;
  --shadow: 0 24px 80px rgba(15, 40, 75, 0.12);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(246, 160, 26, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(31, 77, 122, 0.08), transparent 18%),
    var(--bg);
  color: var(--text);
}

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

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

button,
a.button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

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

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(15, 40, 75, 0.12);
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.brand-tagline {
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}

.navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.icon-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.navbar-toggle.open .icon-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navbar-toggle.open .icon-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.open .icon-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem 2rem;
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-dark);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.hero-text {
  margin: 1.5rem 0 2rem;
  max-width: 44rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #102a43;
  box-shadow: 0 18px 30px rgba(246, 160, 26, 0.16);
}

.button-secondary {
  background: linear-gradient(180deg, rgba(31, 77, 122, 0.1), rgba(31, 77, 122, 0.05));
  border-color: rgba(31, 77, 122, 0.18);
  color: var(--primary-dark);
}

.hero-image {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(246, 160, 26, 0.12), rgba(31, 77, 122, 0.08));
}

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

.section-header {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-subtitle {
  margin: 0;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 800;
  color: #dfac34;
}

.section-header h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
  color: var(--primary-dark);
}

overview,
.values,
.services,
.projects,
.equipment,
.team,
.contact {
  padding: 4rem 2rem;
}

overview-grid,
.values-list,
.service-grid,
.project-grid,
.equipment-grid,
.team-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

overview-card,
.service-card,
.project-card,
.team-grid article,
.equipment-grid article,
.contact-grid > div {
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(15, 40, 75, 0.08);
}

overview-card {
  border-left: 6px solid var(--accent);
}

.service-card {
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(246, 160, 26, 0.95), rgba(31, 77, 122, 0.95));
}

.service-card h3,
.project-card h3,
.team-grid h3,
.equipment-grid h3,
.contact-grid p {
  margin: 0 0 0.75rem;
}

.service-card h3,
.overview-card h3,
.project-card h3,
.team-grid h3,
.equipment-grid h3 {
  color: var(--primary-dark);
}

overview-card p,
.service-card p,
.project-card p,
.team-grid p,
.equipment-grid p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.values {
  background: linear-gradient(180deg, rgba(255, 241, 218, 0.9), rgba(255, 255, 255, 0.95));
  padding-top: 3rem;
}

.values-copy {
  max-width: 42rem;
}

.values-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.values-list article {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.values-list article h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.values-list article p,
.values-list article ul {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.values-list article ul {
  padding-left: 1.2rem;
}

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

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

.project-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.project-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.project-card div {
  padding-top: 1rem;
}

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

.equipment-grid article {
  border-left: 6px solid rgba(31, 77, 122, 0.9);
}

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

.team-grid article {
  min-height: 190px;
}

.team-grid article:nth-child(odd) {
  background: var(--surface-strong);
}

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

.contact-grid > div {
  background: linear-gradient(135deg, rgba(31, 77, 122, 0.05), rgba(246, 160, 26, 0.08));
}

.contact-grid p {
  margin: 0.35rem 0 0;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  background: linear-gradient(180deg, rgba(31, 77, 122, 0.05), transparent);
}

.projects {
  background: rgba(31, 77, 122, 0.04);
}

.team {
  background: rgba(246, 160, 26, 0.06);
}

.equipment {
  background: rgba(31, 77, 122, 0.03);
}

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

  .overview-grid,
  .values-list,
  .service-grid,
  .project-grid,
  .equipment-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(31, 41, 55, 0.08);
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 20px 40px rgba(15, 40, 75, 0.12);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 12;
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
    color: var(--primary-dark);
    font-size: 1rem;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .navbar-toggle {
    display: inline-flex;
  }

  .navbar-toggle .icon-bar {
    background: var(--primary-dark);
  }

  .site-nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-image {
    min-height: 300px;
  }
}
