:root {
  --black: #0b0b0c;
  --black-soft: #121214;
  --grey: #26262b;
  --warm-white: #f7f2ea;
  --beige: #e9dcc8;
  --gold: #c8a66a;
  --gold-soft: rgba(200, 166, 106, 0.18);
  --text: #161617;
  --muted: #6a6762;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 70px rgba(8, 8, 10, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(200, 166, 106, 0.08), transparent 35%),
    linear-gradient(180deg, #fffdf9 0%, #f5efe6 42%, #ffffff 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}

.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.font-body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.96), rgba(20, 20, 24, 0.95));
  transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s ease;
}

.preloader-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.glass-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.glass-dark {
  background: rgba(10, 10, 12, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section-shell {
  position: relative;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(200, 166, 106, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(12, 12, 14, 0.06), transparent 28%);
  pointer-events: none;
}

.hero-bg {
  background:
    linear-gradient(135deg, rgba(6, 6, 8, 0.94), rgba(6, 6, 8, 0.66)),
    url("https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.soft-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.gold-line {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
}

.neo-shadow {
  box-shadow: 0 24px 60px rgba(8, 8, 10, 0.14);
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card img {
  transition: transform 0.9s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 166, 106, 0.6), rgba(200, 166, 106, 0));
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  z-index: 80;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

.chip {
  border: 1px solid rgba(200, 166, 106, 0.22);
  background: rgba(200, 166, 106, 0.08);
}

.stat-card,
.service-card,
.testimonial-card,
.faq-item,
.contact-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat-card:hover,
.service-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 166, 106, 0.34);
  box-shadow: 0 24px 50px rgba(8, 8, 10, 0.12);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(200, 166, 106, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease;
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.project-hover-label {
  background: rgba(8, 8, 10, 0.74);
  backdrop-filter: blur(8px);
}

.nav-scrolled {
  background: rgba(11, 11, 12, 0.86) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight {
  position: absolute;
  inset: auto auto 0 0;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(70px);
  background: rgba(200, 166, 106, 0.18);
}

@media (max-width: 767px) {
  .cursor-glow {
    display: none;
  }
}
