/* ═══════════════════════════════════════════
   KAREN TOVAR PARRA — GLOBAL STYLES
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400;1,600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg:        #0a0a0d;
  --bg2:       #111116;
  --bg3:       #16161e;
  --bg4:       #1c1c26;
  --magenta:   #d444f1;
  --magenta2:  #aa22cc;
  --magenta-glow: rgba(212, 68, 241, 0.18);
  --gold:      #f5c842;
  --white:     #ffffff;
  --off:       rgba(255,255,255,0.88);
  --muted:     rgba(255,255,255,0.48);
  --faint:     rgba(255,255,255,0.1);
  --border:    rgba(255,255,255,0.08);
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Lora', serif;
  --font-mono:    'DM Mono', monospace;
  --radius: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NOISE OVERLAY ─────────────────── */
body::before {
  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='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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAV ───────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(10,10,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--magenta);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

.btn-nav {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 26px;
  border: 1.5px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  transition: all var(--transition);
}

.btn-nav:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  box-shadow: 0 0 30px var(--magenta-glow);
}

/* ── MOBILE NAV ────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── BUTTONS ───────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--magenta);
  color: var(--white);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 40px rgba(212, 68, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(212, 68, 241, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  transform: translateY(-2px);
}

/* ── EYEBROW ───────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--magenta);
  background: rgba(212, 68, 241, 0.1);
  border: 1px solid rgba(212, 68, 241, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ── SECTION WRAPPER ───────────────── */
.section {
  padding: 120px 60px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-full {
  padding: 120px 60px;
}

/* ── FADE-IN ANIMATION ─────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SOCIAL ICONS ──────────────────── */
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(212,68,241,0.08);
  transform: translateY(-2px);
}

/* ── FOOTER ────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img { height: 32px; }

.footer-copy {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--magenta); }

/* ── RESPONSIVE ────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg2);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }

  .section { padding: 80px 24px; }
  .section-full { padding: 80px 24px; }
  footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
}

/* ── LANGUAGE TOGGLE ───────────────── */
.lang-toggle {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--magenta);
  color: var(--white);
  background: rgba(212,68,241,0.08);
}

/* ── BILINGUAL POST BLOCKS ─────────── */
/* lang visibility controlled by JS */

/* lang-inline visibility controlled by JS */
