:root {
  --white: #ffffff;
  --navy-900: #0e2544;
  --navy-800: #1c325b;
  --blue-700: #0c3e6f;
  --gold-500: #daa03d;
  --gold-400: #f3c357;
  --copper-500: #cd8d36;
  --gray-700: #6a6a6a;
  --gray-400: #c5c5c5;
  --rose-300: #f3c5c5;
  --wine-600: #a8293b;
  --coral-500: #ff635e;
  --teal-500: #2a9d8f;
  --sand-200: #f0e6d5;
  --slate-700: #31445f;
  --bg-main: #eef2f7;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 50px rgba(14, 37, 68, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--navy-900);
  background: var(--bg-main);
  line-height: 1.6;
}

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

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

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

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(28, 50, 91, 0.08);
}

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

.brand img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  color: var(--navy-800);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-radius: 6px;
  background: var(--gold-500);
  transition: width 0.28s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.7rem;
  color: var(--blue-700);
}

.hero {
  min-height: calc(100vh - 104px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background: linear-gradient(110deg, rgba(14, 37, 68, 0.9) 18%, rgba(28, 50, 91, 0.58) 56%, rgba(168, 41, 59, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: var(--white);
}

.hero h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.7vw, 4.1rem);
  line-height: 1.08;
  margin: 12px 0 16px;
}

.hero p {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  max-width: 62ch;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.92;
}

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

.btn {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  background: linear-gradient(130deg, var(--gold-400), var(--copper-500));
  color: var(--navy-900);
  box-shadow: 0 12px 24px rgba(218, 160, 61, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(218, 160, 61, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.btn-sm {
  padding: 9px 16px;
}

.section-light {
  background: linear-gradient(180deg, #f8faff 0%, #eef2f8 100%);
}

.section-dark {
  background: linear-gradient(145deg, var(--navy-900), var(--blue-700));
  color: var(--white);
}

.section-gradient {
  background: linear-gradient(125deg, #f2f5fb, #f5eddf 45%, #f7dadf);
}

.section-muted {
  background: linear-gradient(180deg, #f0f4f9 0%, #e9eff6 100%);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.asym .content-block {
  padding-right: 18px;
}

.image-stack {
  display: grid;
  gap: 16px;
}

.image-stack img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  min-height: 240px;
}

.image-stack .tilt {
  transform: rotate(-2deg);
}

.image-stack .float {
  transform: translateX(-8%) rotate(2deg);
}

.cards-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(12, 62, 111, 0.12);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 28px rgba(12, 62, 111, 0.16);
  background: #ffffff;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-700), var(--teal-500));
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.stats-layout {
  align-items: start;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 22px;
}

.counter {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold-400);
  font-weight: 700;
}

.gallery-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  grid-auto-rows: 210px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 37, 68, 0.76), rgba(14, 37, 68, 0.04));
}

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--white);
  z-index: 1;
  font-weight: 700;
  font-size: 0.9rem;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

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

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--wine-600);
  border-radius: 0 12px 12px 0;
  padding: 24px;
  color: var(--slate-700);
  box-shadow: 0 14px 26px rgba(28, 50, 91, 0.1);
}

.testimonial h4 {
  margin: 12px 0 0;
  color: var(--blue-700);
  font-size: 0.92rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-form {
  margin-top: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
  border-radius: 10px;
  padding: 12px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  line-height: 0;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 32, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 96vw);
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f9fd 0%, #edf2f8 100%);
  border: 1px solid rgba(28, 50, 91, 0.14);
  box-shadow: 0 25px 50px rgba(10, 24, 45, 0.35);
  padding: 24px;
}

.modal-panel h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.35rem;
  background: rgba(14, 37, 68, 0.08);
  color: var(--navy-900);
  cursor: pointer;
}

.legal-copy p {
  font-size: 0.5rem;
  line-height: 1.7;
  color: #253650;
  margin: 0 0 10px;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

body.modal-open {
  overflow: hidden;
}

.site-footer {
  background: #091a32;
  color: rgba(255, 255, 255, 0.9);
  padding: 18px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--gray-400);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .main-nav {
    position: absolute;
    top: 104px;
    right: 4%;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 14px;
    display: none;
    flex-direction: column;
    min-width: 210px;
    align-items: flex-start;
  }

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

  .split,
  .contact-layout,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-item.wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 74px 0;
  }

  .cards-grid,
  .gallery-grid,
  .stats-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
  }

  .brand img {
    height: 108px;
  }
}
