/* ============================================================
   LUVA META — PATROCINADORES
   main.css — Estilos globales
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #C6A84B;
  --gold-dim:   #7A6228;
  --gold-glow:  rgba(198,168,75,0.10);
  --ink:        #080807;
  --ink2:       #111110;
  --ink3:       #1A1A17;
  --ink4:       #242420;
  --text:       #F0ECD8;
  --text-muted: #B0A98E;
  --text-sub:   #6E6B5E;
  --border:     rgba(198,168,75,0.14);
  --border-h:   rgba(198,168,75,0.38);
  --sidebar-w:  252px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono:  'Space Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 300;
  min-height: 100vh;
  display: flex;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--ink2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--text-sub) transparent;
}

.s-logo {
  padding: 30px 22px 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.s-logo a { text-decoration: none; display: block; }
.logo-main {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 400;
  color: var(--gold); letter-spacing: 0.05em;
  display: block;
}
.logo-sub {
  font-size: 8px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 3px; display: block;
}

.s-section { padding: 14px 0 6px; }

.s-label {
  font-size: 7.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-sub);
  padding: 0 22px 8px; display: block;
}

.s-link {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 22px; font-size: 10.5px;
  letter-spacing: 0.04em; color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.s-link:hover {
  background: var(--gold-glow);
  color: var(--text);
  border-left-color: var(--gold-dim);
}
.s-link.active {
  background: var(--gold-glow);
  color: var(--gold);
  border-left-color: var(--gold);
  font-weight: 400;
}

.s-divider {
  height: 1px; background: var(--border);
  margin: 10px 22px;
}

.s-link-special {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 22px; font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-dim); text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.s-link-special:hover {
  background: var(--gold-glow);
  color: var(--gold);
}
.s-link-special svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
}

.flag { font-size: 13px; line-height: 1; flex-shrink: 0; }

.s-footer {
  margin-top: auto;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  font-size: 8.5px; letter-spacing: 0.1em;
  color: var(--text-sub); line-height: 1.9;
}
.s-footer a { color: var(--text-sub); text-decoration: none; }
.s-footer a:hover { color: var(--gold); }

/* ── MAIN WRAPPER ────────────────────────────────────────── */

.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
}

/* ── HOME ────────────────────────────────────────────────── */

.home {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 80px 60px;
  position: relative; overflow: hidden;
}
.home::after {
  content: '';
  position: absolute; top: 5%; right: -8%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(198,168,75,0.06) 0%, transparent 68%);
  pointer-events: none;
}

.h-eye {
  font-size: 9px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 26px;
  opacity: 0; animation: fu 0.7s 0.2s forwards;
}
.h-title {
  font-family: var(--font-serif);
  font-size: clamp(54px, 7.5vw, 108px);
  font-weight: 300; line-height: 0.92;
  letter-spacing: -0.015em; margin-bottom: 36px;
  opacity: 0; animation: fu 0.8s 0.4s forwards;
}
.h-title em { font-style: italic; color: var(--gold); }

.h-rule {
  width: 44px; height: 1px;
  background: var(--gold-dim);
  margin: 0 0 36px;
  opacity: 0; animation: fu 0.7s 0.5s forwards;
}
.h-body {
  max-width: 440px; font-size: 12.5px;
  line-height: 1.9; color: var(--text-muted);
  opacity: 0; animation: fu 0.8s 0.65s forwards;
}
.h-body p + p { margin-top: 13px; }

.h-stats {
  display: flex; gap: 44px; margin-top: 44px;
  opacity: 0; animation: fu 0.7s 0.85s forwards;
}
.st-n {
  font-family: var(--font-serif);
  font-size: 46px; font-weight: 300;
  color: var(--gold); line-height: 1;
}
.st-l {
  font-size: 8px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-sub); margin-top: 5px;
}

.h-cta {
  margin-top: 44px;
  opacity: 0; animation: fu 0.7s 1s forwards;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  border: 1px solid var(--border); padding: 11px 22px;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.btn-outline:hover {
  border-color: var(--border-h);
  color: var(--gold); background: var(--gold-glow);
}
.btn-outline svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* ── MOBILE HAMBURGER ────────────────────────────────────── */

.ham {
  display: none;
  position: fixed; top: 14px; right: 14px; z-index: 60;
  width: 38px; height: 38px;
  background: var(--ink2); border: 1px solid var(--border);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; cursor: pointer;
}
.ham span {
  width: 16px; height: 1px;
  background: var(--text-muted); display: block;
}
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.58); z-index: 40;
}
.overlay.on { display: block; }

/* ── ANIMATIONS ──────────────────────────────────────────── */

@keyframes fu {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fi {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 860px) {
  .sidebar {
    width: 264px;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .ham { display: flex; }
  .home { padding: 70px 26px 60px; }
}
@media (max-width: 480px) {
  .h-stats { gap: 28px; }
}