/* ═══════════════════════════════════════
   DESIGN TOKENS
   Shared across all pages
═══════════════════════════════════════ */
:root {
  /* Gold-only palette — see COLOR.md */
  --gold: #D4A574;
  --gold-bright: #F5C469;
  --gold-muted: #C9A94E;
  --gold-dim: rgba(212, 165, 116, 0.10);
  --gold-on-light: #B8860B;

  /* System states (tiny dots only, never fills or text highlights) */
  --success: #10B981;
  --error: #EF4444;

  /* Legacy aliases — mapped to gold so existing var() refs work */
  --primary: #D4A574;
  --primary-dim: rgba(212, 165, 116, 0.10);
  --emerald: #10B981;
  --emerald-dim: rgba(16, 185, 129, 0.12);
  --coral: #EF4444;
  --coral-dim: rgba(239, 68, 68, 0.08);
  --amber: #D4A574;

  --text: #F8FAFC;
  --text-2: #94A3B8;
  --muted: #64748B;

  --bg: #0B0A12;
  --surface: #151320;
  --surface-2: #1C1A2A;
  --border: #252236;

  --radius: 16px;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ═══════════════════════════════════════
   GRAIN OVERLAY
═══════════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: overlay;
}


/* ═══════════════════════════════════════
   NAV BAR
═══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 48px;
  background: rgba(11, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-logo-the,
.nav-logo-cv {
  color: rgba(255,255,255,0.7);
}
.nav-logo:hover .nav-logo-the,
.nav-logo:hover .nav-logo-cv {
  color: rgba(255,255,255,0.9);
}
.nav-logo-one {
  color: #fff;
  background: var(--gold);
  border-radius: 3px;
  padding: 0.1em 0.25em;
  margin: 0 0.08em;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover { color: rgba(255,255,255,0.8); }
.nav-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease;
}
.nav-cta:hover {
  opacity: 0.85;
}


/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════
   SECTION DIVIDER (editorial motif)
═══════════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-divider span {
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 4px;
  user-select: none;
}


/* ═══════════════════════════════════════
   DATA-PRICE LABELS
═══════════════════════════════════════ */
[data-price] {
  white-space: nowrap;
}


/* ═══════════════════════════════════════
   PRIMARY CTA BUTTON
═══════════════════════════════════════ */
.btn-cta {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 40px;
  background: white;
  color: var(--bg);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25D366; /* WhatsApp brand — keep as-is */
}
.footer-whatsapp:hover {
  color: #5afa8b; /* WhatsApp brand hover */
}
.footer-legal {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.15);
  margin-top: 8px;
}


/* ═══════════════════════════════════════
   SHARED RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .site-nav { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .footer-inner { justify-content: center; text-align: center; }
}
