/* ============================================================
   V-MOVES CINEMATIC DESIGN SYSTEM
   Light & Dark mode · Cinematic motion · Editorial typography
   ============================================================ */

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

/* ── DARK MODE TOKENS (default) ── */
:root {
  --c-bg:       #080808;
  --c-deep:     #0d0d0d;
  --c-surface:  #111111;
  --c-card:     #161616;
  --c-border:   rgba(255,255,255,0.09);
  --c-text:     #f0ece4;
  --c-muted:    #9a9088;
  --c-heading:  #ffffff;
  --c-gold:     #ff6b2b;
  --c-gold-lt:  #ff8f54;
  --c-invert:   #080808;
  --header-bg-scrolled: rgba(8,8,8,0.96);
  --nav-bg: #0d0d0d;
  --grain-opacity: 0.025;
  --f-display: 'Cormorant Garamond', serif;
  --f-body:    'Barlow', sans-serif;
  --f-cond:    'Barlow Condensed', sans-serif;
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-power:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── LIGHT MODE TOKENS ── */
[data-theme="light"] {
  --c-bg:       #f8f5f0;
  --c-deep:     #ede8e0;
  --c-surface:  #f0ebe3;
  --c-card:     #ffffff;
  --c-border:   rgba(0,0,0,0.09);
  --c-text:     #2a2520;
  --c-muted:    #8a7a68;
  --c-heading:  #1a1510;
  --c-gold:     #e85520;
  --c-gold-lt:  #ff7040;
  --c-invert:   #f8f5f0;
  --header-bg-scrolled: rgba(248,245,240,0.94);
  --nav-bg: #f0ebe3;
  --grain-opacity: 0.012;
}

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

body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

.container { width: 90%; max-width: 1280px; margin: 0 auto; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--c-heading);
  transition: color 0.4s ease;
}
h1 { font-size: clamp(3rem, 7vw, 7rem); line-height: 0.95; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.05; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
p { font-size: 1.05rem; color: var(--c-muted); line-height: 1.75; transition: color 0.4s ease; }
a { text-decoration: none; color: inherit; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 2.2em;
  font-family: var(--f-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-smooth);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary { background: var(--c-gold); color: var(--c-invert); }
.btn-primary::before { background: var(--c-gold-lt); }
.btn-primary:hover { color: var(--c-invert); transform: translateY(-2px); box-shadow: 0 20px 60px rgba(160,120,64,0.35); }

.btn-outline {
  background: transparent;
  color: var(--c-heading);
  border: 1px solid var(--c-border);
}
[data-theme="light"] .btn-outline { border-color: rgba(0,0,0,0.2); }
[data-theme="light"] header { background: rgba(248,245,240,0.92); border-bottom: 1px solid rgba(232,85,32,0.2); }
[data-theme="light"] header.scrolled { background: rgba(248,245,240,0.98); border-bottom: 1px solid rgba(232,85,32,0.3); box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
[data-theme="light"] .logo { color: #1a1510; }
[data-theme="light"] nav ul li a { color: rgba(42,37,32,0.80); font-weight: 600; }
[data-theme="light"] nav ul li a:hover, [data-theme="light"] nav ul li a.active { color: #1a1510; }
[data-theme="light"] .lang-btn { border-color: rgba(0,0,0,0.2); color: rgba(42,37,32,0.75); }
.btn-outline::before { background: rgba(160,120,64,0.07); }
.btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold); transform: translateY(-2px); }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  padding: 1.4rem 0;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,107,43,0.22);
  transition: all 0.5s var(--ease-smooth);
}
header.scrolled {
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,107,43,0.35);
  padding: 1rem 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: var(--f-display);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #ffffff;
  transition: color 0.4s ease;
}
.logo em { font-style: italic; color: var(--c-gold); }

nav ul { display: flex; list-style: none; gap: 2.5rem; }
nav ul li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;        /* ← FIXED: was 2.0rem */
  font-weight: 600;          /* ← FIXED: was 900 */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--c-gold);
  transition: width 0.3s var(--ease-smooth);
  border-radius: 2px;
}
nav ul li a:hover { color: var(--c-gold); text-shadow: 0 0 20px rgba(255,107,43,0.4); }
nav ul li a.active { color: var(--c-gold); font-weight: 700; }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.header-controls { display: flex; align-items: center; gap: 0.7rem; }

.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.75);
  font-family: var(--f-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.lang-btn:hover { border-color: var(--c-gold); color: var(--c-gold); }

/* ── THEME TOGGLE ── */
.theme-btn {
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  width: 34px; height: 34px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.theme-btn:hover { border-color: var(--c-gold); color: var(--c-gold); }
.icon-sun, .icon-moon {
  position: absolute;
  transition: all 0.45s var(--ease-smooth);
  line-height: 1;
}
/* dark default: moon visible, sun hidden */
.icon-sun  { opacity: 0; transform: translateY(-14px) rotate(90deg); }
.icon-moon { opacity: 1; transform: translateY(0) rotate(0deg); }
/* light: sun visible, moon hidden */
[data-theme="light"] .icon-sun  { opacity: 1; transform: translateY(0) rotate(0deg); }
[data-theme="light"] .icon-moon { opacity: 0; transform: translateY(14px) rotate(-90deg); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--c-heading);
  transition: all 0.3s ease;
}

/* ── PAGE HERO ── */
.page-hero {
  height: 60vh; min-height: 400px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding-bottom: 5rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s var(--ease-smooth);
}
.page-hero:hover .page-hero-bg { transform: scale(1.0); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.5) 50%, rgba(8,8,8,0.2) 100%);
}
[data-theme="light"] .page-hero-overlay {
  background: linear-gradient(to top, rgba(20,13,5,0.93) 0%, rgba(20,13,5,0.55) 50%, rgba(20,13,5,0.2) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow {
  font-family: var(--f-cond); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--c-gold); display: block; margin-bottom: 1rem;
}
/* hero heading always cream (dark overlay behind it) */
.page-hero h1 { line-height: 0.9; color: #f5f0e8 !important; }

/* ── SECTIONS ── */
section { padding: 7rem 0; }

.section-label {
  font-family: var(--f-cond); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--c-gold); display: block; margin-bottom: 1rem;
  transition: color 0.4s ease;
}
.section-divider {
  width: 40px; height: 1px;
  background: var(--c-gold);
  margin: 1.5rem 0;
  transition: background 0.4s ease;
}
.section-divider.center { margin: 1.5rem auto; }

/* ── CARD ── */
.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 2px; padding: 2.5rem;
  transition: all 0.5s var(--ease-smooth);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--c-gold);
  transition: width 0.5s var(--ease-smooth);
}
.card:hover { transform: translateY(-6px); border-color: rgba(160,120,64,0.25); }
.card:hover::before { width: 100%; }

/* ── STATS ── */
.stat-number {
  font-family: var(--f-display); font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300; color: var(--c-gold); line-height: 1; display: block;
  transition: color 0.4s ease;
}
.stat-label {
  font-family: var(--f-cond); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-muted); display: block; margin-top: 0.5rem;
  transition: color 0.4s ease;
}

/* ── FOOTER ── */
footer {
  background: var(--c-deep); border-top: 1px solid var(--c-border);
  padding: 5rem 0 2.5rem; transition: background 0.4s ease;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem;
}
.footer-brand .logo { font-size: 1.8rem; margin-bottom: 1.2rem; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 260px; }
.footer-col h4 {
  font-family: var(--f-cond); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a, .footer-col ul li {
  font-size: 0.92rem; color: var(--c-muted); transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid var(--c-border); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; }

/* ── STICKY CTA ── */
.sticky-cta { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; }
.sticky-cta a {
  display: flex; align-items: center; gap: 0.6em;
  background: var(--c-gold); color: var(--c-invert);
  font-family: var(--f-cond); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1em 1.8em; border-radius: 2px;
  box-shadow: 0 10px 40px rgba(160,120,64,0.4);
  transition: all 0.3s var(--ease-smooth);
}
.sticky-cta a:hover { background: var(--c-gold-lt); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(160,120,64,0.5); }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease-power), transform 0.8s var(--ease-power);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-family: var(--f-cond); font-size: 0.68rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 0.6rem;
}
.form-control {
  width: 100%; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: 2px;
  padding: 0.9rem 1.2rem; color: var(--c-heading);
  font-family: var(--f-body); font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.4s ease, color 0.4s ease;
}
.form-control:focus { outline: none; border-color: var(--c-gold); }
.form-control::placeholder { color: var(--c-muted); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control option { background: var(--c-card); color: var(--c-heading); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .mobile-menu-btn { display: flex; }
  nav {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--nav-bg);
    border-left: 1px solid var(--c-border);
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem;
    transition: right 0.5s var(--ease-smooth), background 0.4s ease;
    z-index: 999;
  }
  nav.open { right: 0; }
  nav ul { flex-direction: column; gap: 2rem; }
  nav ul li a { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.12em; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}