:root {
  --bg-1: #090f1c;
  --bg-2: #0b1830;
  --bg-3: #070b14;
  --panel: rgba(8, 12, 22, 0.55);
  --text: #e6e8ec;
  --muted: #adb4c0;
  --gold: #cfaa58;
  --gold-soft: rgba(207, 170, 88, 0.28);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  min-height: 100vh;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(207, 170, 88, 0.1), transparent 35%),
    radial-gradient(circle at 78% 62%, rgba(207, 170, 88, 0.08), transparent 40%);
  z-index: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  margin-bottom: 2rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(7, 11, 20, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar {
  min-height: 4.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.hero {
  min-height: calc(100vh - 4.3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #d3b878;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.16;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 56ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, #a98844, #cfaa58);
  color: #0a0f1d;
  box-shadow: 0 0 0 rgba(207, 170, 88, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(207, 170, 88, 0.4);
}

.btn-secondary {
  border-color: rgba(207, 170, 88, 0.45);
  color: var(--text);
  background: rgba(207, 170, 88, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(207, 170, 88, 0.75);
  box-shadow: 0 0 18px rgba(207, 170, 88, 0.25);
}

.hero-cinematic {
  display: grid;
  place-items: center;
  min-height: 440px;
}

.scene {
  width: min(410px, 80vw);
  aspect-ratio: 3 / 4;
  position: relative;
  perspective: 1200px;
}

#heroCard {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(280px, 60vw);
  max-height: 88%;
  object-fit: contain;
  transform: scale(0.1);
  opacity: 0;
  filter: drop-shadow(0 0 0 rgba(207, 170, 88, 0));
  will-change: transform, opacity, filter;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.team-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.team-content {
  padding: 1.1rem 1.1rem 1.4rem;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(207, 170, 88, 0.35);
  box-shadow: 0 0 22px var(--gold-soft);
}

.team-card:hover img {
  transform: scale(1.045);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.review-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 0.95rem;
  padding: 1.2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(207, 170, 88, 0.3);
  box-shadow: 0 0 18px rgba(207, 170, 88, 0.2);
}

.stars {
  color: var(--gold);
  margin-bottom: 0.7rem;
  letter-spacing: 0.06em;
}

.review-card span {
  color: #d7dce5;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  color: #d6dbe3;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.social-links a:hover {
  transform: scale(1.08);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(207, 170, 88, 0.35);
}

.contact-form {
  width: min(700px, 100%);
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: #d5dae3;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 22, 0.55);
  color: var(--text);
  border-radius: 0.7rem;
  padding: 0.85rem 0.95rem;
  font: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(207, 170, 88, 0.55);
  box-shadow: 0 0 14px rgba(207, 170, 88, 0.24);
}

.final-carousel {
  padding-top: 2.7rem;
  overflow: hidden;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding: 2.2rem 0 2.6rem;
  background: rgba(7, 11, 20, 0.35);
}

.legal h3 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.legal p {
  margin: 0.18rem 0;
}

.legal a {
  color: var(--gold);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.carousel-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: max-content;
  animation: drift 150s linear infinite;
  padding: 1rem 0 0.6rem;
}

.carousel-item {
  width: 200px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  opacity: 0.5;
  transform: scale(0.84);
  transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease;
  filter: drop-shadow(0 0 0 rgba(207, 170, 88, 0));
}

.carousel-item.is-center {
  opacity: 1;
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(207, 170, 88, 0.34));
}

@keyframes drift {
  from {
    transform: translateX(-45%);
  }
  to {
    transform: translateX(0%);
  }
}

@media (max-width: 1024px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .scene {
    width: min(360px, 90vw);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-wrap: wrap;
    padding: 0.65rem 0;
  }
}

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 0.92rem;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .social-links a {
    width: 62px;
    height: 62px;
    font-size: 1.75rem;
  }
}
