/* ═══════════════════════════════════════
   ROZADA GLOBAL — SHARED STYLES
   Used across all pages
═══════════════════════════════════════ */

:root {
  --navy:        #111b27;
  --navy-mid:    #1a2535;
  --navy-panel:  #2c3e50;
  --navy-light:  #34495e;
  --gold:        #c9a96e;
  --gold-bright: #e2c99a;
  --gold-pale:   #f5ead8;
  --gold-dim:    rgba(201,169,110,0.15);
  --gold-border: rgba(201,169,110,0.22);
  --cream:       #f8f5f0;
  --cream-dim:   rgba(248,245,240,0.72);
  --cream-faint: rgba(248,245,240,0.38);
  --muted:       #7a8fa6;
  --white:       #ffffff;
  --easing:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.65;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' 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='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }
.section { padding: 130px 0; }
.section-sm { padding: 80px 0; }

/* ── Typography ── */
.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
}
.label::before { content: ''; display: block; width: 36px; height: 1px; background: var(--gold); }
.label-center { justify-content: center; }
.label-center::before, .label-center::after {
  content: ''; display: block; width: 36px; height: 1px; background: var(--gold); flex-shrink: 0;
}

.h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300; line-height: 1.08; color: var(--white);
}
.h2 em { font-style: italic; color: var(--gold); }

/* ── Buttons ── */
.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; transition: all 0.35s var(--easing);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-110%);
  transition: transform 0.4s var(--easing);
}
.btn:hover::after { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { box-shadow: 0 12px 40px rgba(201,169,110,0.3); }

.btn-outline { color: var(--gold); border: 1px solid var(--gold-border); background: transparent; }
.btn-outline:hover { border-color: var(--gold); background: var(--gold-dim); }

.btn-ghost {
  color: var(--gold); padding: 0;
  font-size: 11px; letter-spacing: 0.25em;
  border-bottom: 1px solid rgba(201,169,110,0.35);
  padding-bottom: 3px;
}
.btn-ghost:hover { color: var(--gold-bright); border-color: var(--gold-bright); transform: none; }
.btn-ghost::after { display: none; }

.arrow { font-size: 16px; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── Navigation ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  background: rgba(17,27,39,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gold-border);
  transition: height 0.3s ease;
}
#nav.scrolled { height: 64px; }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 300;
  letter-spacing: 0.14em; color: var(--white);
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 40px; list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim); transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 24px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 1px; background: var(--cream); transition: all 0.3s ease; }

@media (max-width: 960px) {
  #nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ── Mobile Menu ── */
#mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--navy);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 36px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300;
  color: var(--white); transition: color 0.25s ease;
}
#mobile-menu a:hover { color: var(--gold); }
.menu-close { position: absolute; top: 24px; right: 24px; font-size: 28px; color: var(--cream); cursor: pointer; }

/* ── Ticker ── */
.ticker-bar { background: var(--gold); padding: 13px 0; overflow: hidden; }
.ticker-track {
  display: flex;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--navy); padding: 0 44px; flex-shrink: 0;
}
.ticker-sep { color: rgba(17,27,39,0.4); }

/* ── Footer ── */
footer { background: var(--navy); border-top: 1px solid var(--gold-border); padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .nav-logo { font-size: 28px; margin-bottom: 20px; display: block; }
.footer-brand p { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 280px; margin-bottom: 28px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); transition: all 0.3s ease;
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; font-weight: 300; color: var(--muted); transition: color 0.25s ease; }
.footer-col ul a:hover { color: var(--cream-dim); }
.footer-bottom {
  padding-top: 40px; border-top: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 13px; font-weight: 300; color: var(--muted); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { font-size: 13px; font-weight: 300; color: var(--muted); transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--cream-dim); }

@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}
.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; }

/* ── SAFETY NET: reveal fallback if JS blocked or slow ── */
/* Elements become visible via JS .visible class.
   This animation fires after 0.5s as a guaranteed fallback. */
@keyframes revealFallback {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: revealFallback 0.8s ease 0.5s both;
}
/* Once JS adds .visible, the transition takes over cleanly */
.reveal.visible {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}
