*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #070e0a;
  color: #e7e5e4;
}

/* ─── Header ─────────────────────────────────── */
.header-glass {
  background: rgba(7, 14, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.08);
}

header.scrolled .header-glass {
  background: rgba(7, 14, 10, 0.92);
  border-bottom-color: rgba(212, 168, 83, 0.15);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.nav-link {
  color: #a8a29e;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4a853;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #d4a853;
}

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

/* ─── Gold Button ─────────────────────────────── */
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #d4a853 0%, #b8860b 50%, #d4a853 100%);
  background-size: 200% 200%;
  color: #070e0a;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.gold-button:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

/* ─── Mobile Menu ─────────────────────────────── */
#mobile-menu {
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-link {
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* ─── Service Cards ───────────────────────────── */
.service-card {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* ─── Process Cards ───────────────────────────── */
.process-card {
  opacity: 1;
}

.process-card:hover {
  transform: translateY(-4px);
}

/* ─── Testimonial Cards ───────────────────────── */
.testimonial-card {
  opacity: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ─── Scroll Reveal ───────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Decorative Line ─────────────────────────── */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #d4a853, transparent);
}

/* ─── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #070e0a;
}

::-webkit-scrollbar-thumb {
  background: #1e2d24;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d4a35;
}

/* ─── Selection ───────────────────────────────── */
::selection {
  background: rgba(212, 168, 83, 0.3);
  color: #f5f5f4;
}

/* ─── Focus Visible ───────────────────────────── */
:focus-visible {
  outline: 2px solid rgba(212, 168, 83, 0.6);
  outline-offset: 2px;
}

/* ─── Mobile Responsive ───────────────────────── */
@media (max-width: 768px) {
  .header-glass {
    background: rgba(7, 14, 10, 0.85);
  }

  #mobile-menu.open ~ .header-glass {
    background: rgba(7, 14, 10, 0.6);
  }
}
