@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-dark: #9E7A3F;
  --gold-pale: #F5EDD9;
  --ivory: #FAF6EF;
  --ivory-dark: #F0E9DC;
  --charcoal: #0E0D0A;
  --charcoal-mid: #1A1812;
  --charcoal-soft: #252318;
  --text-dark: #1A1209;
  --text-light: #EDE8DF;
  --text-muted-dark: #B8B0A4;
  --text-muted-light: #6B5F50;
  --border-gold: rgba(201, 169, 110, 0.25);
  --border-gold-strong: rgba(201, 169, 110, 0.5);
  /* legacy compat */
  --gold-mid: #C9A96E;
  --matte-dark: #0E0D0A;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--charcoal);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.loading { overflow: hidden; }
body.loaded  { overflow: auto; }

/* ── TYPOGRAPHY ── */
.font-serif    { font-family: var(--font-serif) !important; }
.font-display  { font-family: var(--font-display) !important; }

.luxury-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.luxury-divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.luxury-divider-center { margin-left: auto; margin-right: auto; }

.heading-xl {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.heading-lg {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}
.heading-gold-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
}

/* ── BUTTONS ── */
.btn-luxury-outline {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-luxury-outline:hover { background: var(--gold); color: var(--charcoal); }

.btn-luxury-solid {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background 0.3s ease, opacity 0.3s ease;
}
.btn-luxury-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ── HEADER ── */
.luxury-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: rgba(14, 13, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
  transition: background 0.3s ease;
}

/* ── NAV LINKS ── */
.nav-link {
  position: relative;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  transition: color 0.3s ease;
  padding-bottom: 3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* ── HERO ── */
.luxury-hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
.luxury-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 70% 50%, rgba(201,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── TRUST BADGE ── */
.trust-badge { display: flex; align-items: flex-start; gap: 1rem; }
.trust-badge-icon { color: var(--gold); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }

/* ── CARDS ── */
.luxury-card {
  background: var(--charcoal-soft);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.luxury-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.luxury-card-light {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 2px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.luxury-card-light:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,0,0,0.08); }

.review-card {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 2px;
  padding: 1.25rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.review-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.step-card {
  background: #fff;
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.step-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.img-card-luxury {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.img-card-luxury::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.img-card-luxury:hover::after { border-color: var(--gold); }

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0;
  background: var(--charcoal);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  will-change: opacity, visibility;
}
#loader.hide { opacity: 0; visibility: hidden; }

.brand-header {
  position: absolute;
  top: 2.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

@keyframes fadeInUpLuxury {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gradient-word {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  margin: 0.2rem 0;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(28px);
  text-align: center;
  animation: fadeInUpLuxury 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
.gradient-word.word-1 { animation-delay: 0.2s; color: var(--gold-light); }
.gradient-word.word-2 { animation-delay: 0.5s; color: var(--gold); font-style: italic; }
.gradient-word.word-3 { animation-delay: 0.8s; color: var(--gold-dark); }

.loader-ring {
  margin-top: 2rem;
  width: 34px; height: 34px;
  border: 1px solid rgba(201,169,110,0.15);
  border-top: 1px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MARQUEE ── */
.luxury-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--charcoal-mid);
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.luxury-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: fit-content;
  animation: scroll-marquee 42s linear infinite;
}
.marquee-item {
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.gola {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.45;
  flex-shrink: 0;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border-gold); }

/* ── SPARKLE ── */
.sparkle {
  position: absolute;
  width: 4px; height: 4px;
  background: radial-gradient(circle, var(--gold-light) 0%, var(--gold) 60%, transparent 100%);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  animation: sparkle-fade 0.8s ease-out forwards;
}
@keyframes sparkle-fade {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(0); opacity: 0; }
}

/* ── HERO ANIMATION ── */
.hero__animation-container { position: relative; display: inline-block; white-space: nowrap; }
.hero__animation {
  fill: none; stroke: var(--gold); stroke-width: 2;
  stroke-dasharray: 2000; stroke-dashoffset: 2000;
  stroke-linecap: round;
  animation: animateScribble 2.5s ease-out 0.8s forwards;
  height: 70px; left: -15px; opacity: 0;
  position: absolute; top: 0; transform-origin: left; z-index: 0;
  width: calc(100% + 30px);
}
@media (min-width: 768px) {
  .hero__animation { height: 85px; left: -20px; top: 5px; width: calc(100% + 40px); stroke-dasharray: 2200; stroke-dashoffset: 2200; }
}
@media (min-width: 1024px) {
  .hero__animation { height: 100px; left: -25px; top: 8px; width: calc(100% + 50px); stroke-dasharray: 2400; stroke-dashoffset: 2400; }
}
@keyframes animateScribble { to { stroke-dashoffset: 0; opacity: 1; } }
.hero__animation-container .relative { position: relative; z-index: 10; }

/* ── GRADIENT GOLD TEXT ── */
.gradient-gold-text {
  background: linear-gradient(to right, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ANIMATE FADE IN ── */
@keyframes animate-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: animate-fade-in 0.5s ease forwards; }

/* ── MUSIC TOGGLE ── */
#music-toggle {
  position: fixed; bottom: 20px; left: 20px;
  width: 40px; height: 40px;
  display: flex; justify-content: space-between; align-items: flex-end;
  cursor: pointer; z-index: 10000; padding: 8px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  background: rgba(14,13,10,0.8);
  border: 1px solid var(--border-gold);
}
.bar {
  width: 3px;
  background: linear-gradient(to top, var(--gold-dark), var(--gold), var(--gold-light));
  animation: waveBar 1s infinite ease-in-out;
  border-radius: 1px; transform-origin: bottom;
}
.bar1 { animation-delay: 0s;   height: 20%; }
.bar2 { animation-delay: 0.2s; height: 50%; }
.bar3 { animation-delay: 0.4s; height: 30%; }
@keyframes waveBar { 0%,100% { height: 20%; } 50% { height: 100%; } }

#click-doodle {
  position: fixed; bottom: 70px; left: 10px;
  z-index: 9999;
  font-family: var(--font-body); font-weight: 600; font-size: 0.63rem;
  color: var(--charcoal); background: var(--gold);
  padding: 5px 10px; border-radius: 2px; border: none;
  text-transform: uppercase; letter-spacing: 0.12em;
  animation: wiggle 3s infinite ease-in-out;
  cursor: pointer; transition: transform 0.3s ease;
}
#click-doodle:hover { transform: scale(1.05); }
@keyframes wiggle {
  0%,100% { transform: rotate(0deg); }
  25% { transform: rotate(-1.5deg); }
  75% { transform: rotate(1.5deg); }
}

/* ── WAVE ── */
.wave-container { width: 300%; height: 100%; position: absolute; bottom: 0; left: 0; z-index: 0; }
.wave { fill: none; stroke-width: 1; animation: waveMove 15s linear infinite; }
.wave1 { stroke: rgba(201,169,110,0.12); animation-duration: 25s; }
.wave2 { stroke: rgba(201,169,110,0.08); animation-duration: 18s; }
.wave3 { stroke: rgba(201,169,110,0.05); animation-duration: 12s; }
@keyframes waveMove { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }
@media (max-width: 768px) { .wave-container { width: 500%; } }
