:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F4C430;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.2);
  --glow-gold: rgba(212, 175, 55, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.section {
  padding: 6rem 0;
}

/* ─── Header ────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border-subtle);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: clamp(160px, 22vw, 240px);
  height: auto;
}

main {
  padding-top: 78px;
}

/* ─── Hero ──────────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, var(--glow-gold), transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.eyebrow {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 17ch;
  letter-spacing: -0.02em;
}

.typed-wrap {
  display: block;
  color: var(--accent-gold);
  min-height: 1.3em;
}

.cursor {
  animation: blink 1s steps(2, start) infinite;
  color: var(--accent-gold);
}

@keyframes blink {
  to {
    opacity: 0;
  }
}

.hero-subhead {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 1.5rem 0 2.5rem;
  max-width: 55ch;
  line-height: 1.7;
}

/* ─── Buttons ───────────────────────────────────────── */

.button {
  display: inline-block;
  text-decoration: none;
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  color: #0a0a0a;
}

.button:active {
  transform: translateY(0);
}

.button-small {
  font-size: 0.88rem;
  padding: 0.65rem 1.15rem;
}

/* ─── Stats ─────────────────────────────────────────── */

.stats-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.5;
}

.stat-card:hover {
  border-color: var(--border-gold);
}

.stat-number {
  color: var(--accent-gold);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

/* ─── Services ──────────────────────────────────────── */

#services h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.service-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-gold);
}

.service-icon {
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.service-card h3 {
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─── About ─────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.about-title {
  color: var(--accent-gold);
  margin-top: -0.5rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  font-size: 1.05rem;
}

#about p:last-child {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─── Contact / CTA ─────────────────────────────────── */

.cta-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  text-align: center;
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent-gold), transparent 90%);
  opacity: 0.4;
}

.cta-panel h2 {
  margin-bottom: 0.8rem;
}

.cta-panel p {
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

.contact-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

/* ─── Links ─────────────────────────────────────────── */

a {
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-gold-light);
}

/* ─── Footer ────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer-wrap {
  padding: 2.5rem 0;
  text-align: center;
}

.logo-small {
  margin-bottom: 0.8rem;
}

.logo-small .logo-img {
  width: clamp(130px, 18vw, 180px);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ─── Reveal Animations ─────────────────────────────── */

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

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

/* ─── Responsive ────────────────────────────────────── */

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .about-grid img {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

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

  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    min-height: 70px;
  }

  main {
    padding-top: 70px;
  }

  .hero {
    min-height: calc(100vh - 70px);
  }

  .about-grid {
    text-align: center;
  }

  .cta-panel {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .logo-img {
    width: 145px;
  }

  .button-small {
    font-size: 0.82rem;
    padding: 0.6rem 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1.4rem 1rem;
  }

  .service-card {
    padding: 1.5rem 1.3rem;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    max-width: 65%;
  }
}
