:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #f59e0b;
  --navy: #0b1f3a;
  --navy-soft: #143660;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --container: min(1140px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 800;
}

.brand img {
  width: 178px;
  max-width: 42vw;
  height: auto;
}

.brand span {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
}

.hero,
.page-hero {
  background: linear-gradient(135deg, #08182f 0%, #123560 100%);
  color: #fff;
}

.hero {
  padding: 72px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 12ch;
}

.page-hero {
  padding: 64px 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.lead {
  margin: 18px 0 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 700;
}

.button-primary {
  background: var(--brand);
  color: #201300;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.slider-card,
.card,
.media-card,
.table-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.slider-card {
  padding: 16px;
}

.slider {
  position: relative;
  aspect-ratio: 940 / 350;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0d1420;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms ease;
}

.slide.is-active {
  opacity: 1;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.18);
  padding: 0;
}

.slider-dots button.is-active {
  background: var(--brand);
}

.section {
  padding: 76px 0;
}

.grid-three,
.gallery-grid,
.gallery-grid-large,
.contact-layout,
.split-layout {
  display: grid;
  gap: 22px;
}

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

.card,
.table-card {
  padding: 28px;
}

.card h2,
.table-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.card p,
.card li,
.card td,
.card th,
.prose p,
.prose li {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 700;
}

.page-main {
  min-height: calc(100vh - 180px);
}

.split-layout,
.contact-layout {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-stack {
  display: grid;
  gap: 22px;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.prose h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.prose p + p,
.prose ul + p,
.prose p + ul,
.prose h2 + p {
  margin-top: 12px;
}

.prose ul {
  margin: 0;
  padding-left: 20px;
}

.table-card {
  overflow-x: auto;
}

.reference-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.reference-table th,
.reference-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.reference-table th {
  color: var(--navy);
  font-size: 0.94rem;
}

.compact-top {
  margin-top: 22px;
}

.centered-copy {
  text-align: center;
}

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

.gallery-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.gallery-grid img,
.gallery-grid-large img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #dce6f5;
}

.lightbox-trigger {
  display: block;
}

.lightbox-trigger img {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lightbox-trigger:hover img,
.lightbox-trigger:focus-visible img {
  transform: translateY(-2px);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 10, 20, 0.82);
}

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

.lightbox-dialog {
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.contact-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.map-card {
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.site-footer {
  background: #081222;
  color: rgba(255, 255, 255, 0.72);
  padding: 24px 0 36px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
}

@media (max-width: 1100px) {
  .hero-layout,
  .service-block,
  .split-layout,
  .contact-layout,
  .grid-three,
  .gallery-grid,
  .gallery-grid-large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 88px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px;
    border-radius: var(--radius);
    background: #0e2748;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 10px;
  }

  .hero,
  .section,
  .page-hero {
    padding: 58px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1140px);
  }

  .card,
  .table-card,
  .slider-card {
    padding: 20px;
  }

  .brand img {
    width: 150px;
  }

  .lightbox-overlay {
    padding: 16px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}
