:root {
  --navy: #002c5b;
  --gold: #ffd700;
  --charcoal: #1b1e23;
  --silver: #d7d7d7;
  --white: #ffffff;
  --deep: #2f333a;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  --glow: 0 6px 14px rgba(255, 215, 0, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  background: var(--deep);
  line-height: 1.6;
  min-height: 100vh;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #343a43 0%, #2b3037 100%);
  z-index: -2;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #001f44;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 215, 0, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(255, 215, 0, 0.15);
  color: var(--gold);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* TEMPORARY fallback — remove once white logo asset exists */
/* .navbar-logo {
  filter: brightness(0) invert(1);
} */

.brand-text {
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-size: 1.2rem;
}

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

.site-nav a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.35rem;
  flex-direction: column;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.btn {
  padding: 0.6rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.site-nav .btn-primary {
  color: #1a1a1a;
}

.site-nav .btn-primary:hover {
  color: #1a1a1a;
}

.btn-secondary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover,
.btn-secondary:hover {
  background: #f0c400;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.hero-video {
  display: block;
}

.hero-media video {
  filter: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 40%, rgba(0, 44, 91, 0.45) 0%, rgba(0, 0, 0, 0.15) 52%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(100deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 38%, rgba(0, 0, 0, 0.25) 64%, rgba(0, 0, 0, 0) 82%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%);
  backdrop-filter: saturate(1.2) contrast(1.05);
}

.hero-content {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  display: grid;
  gap: 0.85rem;
  animation: hero-fade 0.9s ease-out forwards;
}

.hero-eyebrow {
  text-transform: none;
  letter-spacing: 0.3px;
  color: var(--gold);
  font-size: 1.2rem;
  animation: hero-rise 0.9s ease-out 0.2s both;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  max-width: 680px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
  animation: hero-rise 0.9s ease-out 0.1s both;
}

.hero-sub {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: hero-rise 0.9s ease-out 0.3s both;
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 2.6rem 0 1.8rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-heading p {
  color: var(--silver);
  max-width: 420px;
}

.services {
  padding-bottom: 3.2rem;
}

.gallery {
  padding-bottom: 3.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-carousel {
  --gallery-gap: 16px;
  --gallery-visible: 4;
  --gallery-container: min(1080px, 90vw);
  --gallery-item-width: calc((var(--gallery-container) - (var(--gallery-gap) * (var(--gallery-visible) - 1))) / var(--gallery-visible));
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.gallery-mobile {
  display: none;
}

.gallery-mobile img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--gallery-item-width);
  column-gap: var(--gallery-gap);
  padding: 16px;
  animation: gallery-scroll 24s linear infinite;
  will-change: transform;
  align-items: center;
  width: max-content;
}

.gallery-track img {
  width: var(--gallery-item-width);
  height: 240px;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
  background: transparent;
}

.gallery-carousel:hover .gallery-track {
  animation-play-state: paused;
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.service-card {
  background: linear-gradient(160deg, rgba(0, 44, 91, 0.95), rgba(0, 18, 40, 0.95));
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ffd700;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.12);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.about {
  padding: 2.6rem 0 4.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.about-copy p {
  color: var(--silver);
  margin-bottom: 1.5rem;
}

.about-details {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-details h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-form {
  background: #f7f7f7;
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid #e3e3e3;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.about-form h3 {
  margin-bottom: 1rem;
  color: #1b1e23;
}

form {
  position: relative;
  display: grid;
  gap: 1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 0.9rem;
  color: #1b1e23;
  min-height: 1.2rem;
}

label span {
  display: block;
  font-size: 0.85rem;
  color: #5c5c5c;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #1b1e23;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.contact-block {
  margin-top: 1.5rem;
  color: var(--silver);
}

.map-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  margin-top: 1rem;
}

.map-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale(0.2);
}

.map-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  padding: 0.75rem 1.2rem;
  font-weight: 600;
}

.site-footer {
  background: #002c5b;
  padding: 1.6rem 0;
  margin-top: 2.4rem;
  border-top: 2px solid rgba(255, 215, 0, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.footer-legal {
  color: var(--silver);
  font-size: 0.85rem;
}

.footer-links,
.footer-social {
  display: grid;
  gap: 0.5rem;
}

.footer-links {
  justify-items: center;
}

.footer-social {
  justify-items: center;
}

.footer-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--gold);
}

.footer-link-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--silver);
  justify-content: center;
}

.footer-sep {
  color: rgba(255, 215, 0, 0.6);
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.8);
  display: grid;
  place-items: center;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: var(--silver);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.3rem, 6vw, 3.4rem);
  }

  .hero-eyebrow {
    font-size: 1rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 5%;
    flex-direction: column;
    background: rgba(2, 11, 27, 0.98);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
  }

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

  .menu-toggle {
    display: flex;
  }

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

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .gallery-carousel {
    --gallery-visible: 2;
  }

  .gallery-track img {
    object-fit: contain;
    background: #0b0f14;
  }
}

@media (min-width: 1400px) {
  .gallery-carousel {
    --gallery-visible: 4;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    text-align: center;
  }

  .footer-link-row {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .gallery-carousel {
    --gallery-visible: 4;
  }

  .gallery-track img {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .hero-eyebrow {
    font-size: 0.95rem;
  }

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

  .btn {
    width: 100%;
  }

  .site-nav a.btn {
    width: 100%;
  }

  .gallery-carousel {
    --gallery-visible: 1;
    --gallery-gap: 0px;
    --gallery-item-width: 100%;
    --gallery-container: 100%;
  }

  .gallery-track {
    display: none;
  }

  .gallery-mobile {
    display: block;
    padding: 0;
  }

  .gallery-track img {
    height: 260px;
    min-width: 0;
    width: 100%;
    object-fit: cover;
    background: transparent;
    flex: 0 0 100%;
  }

  .gallery-track {
    padding: 0;
    column-gap: 0;
    width: 100%;
  }
}
