/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --negro: #0a0a0a;
  --gris-oscuro: #111111;
  --gris-medio: #1c1c1c;
  --gris-suave: #2a2a2a;
  --gris-claro: #777;
  --blanco: #f0ede8;
  --purpura: #6B3A9A;
  --purpura-claro: #9B5CC0;
  --naranja: #E05E00;
  --naranja-claro: #F07020;
  --gap: 52px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--negro); color: var(--blanco);
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  overflow-x: hidden; cursor: none;
}

/* ===== CURSOR ===== */
.cursor {
  width: 10px; height: 10px; background: var(--naranja);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(224,94,0,.45);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s;
}

/* ===== NAV ===== */
nav#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 20px var(--gap);
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,10,.97), transparent);
  transition: background .4s, backdrop-filter .4s;
}
nav#mainNav.scrolled {
  background: rgba(10,10,10,.97); backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 5px;
  color: var(--blanco); text-decoration: none;
}
.nav-logo span { color: var(--naranja); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--gris-claro); text-decoration: none;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  transition: color .3s; padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--naranja);
  transform: scaleX(0); transition: transform .3s;
}
.nav-links a:hover { color: var(--naranja); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blanco); }
.nav-cta {
  color: var(--naranja) !important;
  border: 1px solid var(--naranja);
  padding: 7px 18px !important;
  transition: background .3s, color .3s !important;
}
.nav-cta:hover { background: var(--naranja) !important; color: var(--negro) !important; }
.nav-cta::after { display: none !important; }

/* BURGER */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 1px;
  background: var(--blanco); transition: all .3s;
}
.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,.98); z-index: 190;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Playfair Display', serif;
  font-size: 32px; color: var(--blanco); text-decoration: none;
  transition: color .3s;
}
.nav-mobile a:hover { color: var(--naranja); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--naranja); color: var(--negro);
  padding: 14px 32px; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none; font-weight: 500;
  transition: background .3s, transform .3s; display: inline-block;
}
.btn-primary:hover { background: var(--naranja-claro); transform: translateY(-2px); }
.btn-ghost {
  color: var(--blanco); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid rgba(240,237,232,.25); padding-bottom: 4px;
  transition: color .3s, border-color .3s; display: inline-block;
}
.btn-ghost:hover { color: var(--purpura-claro); border-color: var(--purpura-claro); }

/* ===== LABELS ===== */
.section-label {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--purpura-claro); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px,3.6vw,48px); font-weight: 700; line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--naranja); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px var(--gap) 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #080808 0%, #0b0810 55%, #0f0602 100%);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 70% 50%, rgba(107,58,154,.18) 0%, transparent 65%);
}
.page-hero-label { font-size: 9px; letter-spacing: 5px; text-transform: uppercase; color: var(--naranja); margin-bottom: 20px; display: block; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px,7vw,96px); font-weight: 900; line-height: .92;
  position: relative; z-index: 1;
}
.page-hero h1 em { font-style: italic; color: var(--purpura-claro); }
.page-hero-deco {
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(160px,20vw,280px); font-weight: 900;
  color: transparent; -webkit-text-stroke: 1px rgba(107,58,154,.1);
  line-height: 1; pointer-events: none; user-select: none;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--gris-oscuro); padding: 80px var(--gap) 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(240,237,232,.08);
}
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 5px; margin-bottom: 12px; }
.footer-logo span { color: var(--naranja); }
.footer-tagline { font-size: 13px; line-height: 1.8; color: var(--gris-claro); }
.footer-col-title { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--naranja); margin-bottom: 20px; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-social a {
  font-size: 13px; color: rgba(240,237,232,.55); text-decoration: none; transition: color .3s;
}
.footer-nav a:hover, .footer-social a:hover { color: var(--blanco); }
.footer-mgmt { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.footer-email { font-size: 12px; color: var(--purpura-claro); text-decoration: none; }
.footer-bottom {
  padding: 24px 0; display: flex; justify-content: space-between;
  font-size: 10px; color: rgba(240,237,232,.28); letter-spacing: 1px;
}
.footer-bottom a { color: var(--purpura-claro); text-decoration: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }

/* ===== PHOTO FRAME ===== */
.photo-frame {
  position: relative; overflow: hidden;
  background: var(--gris-medio);
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame.no-photo img { display: none; }
.photo-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: rgba(240,237,232,.2);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
}
.photo-frame:not(.no-photo) .photo-fallback { display: none; }
.photo-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,.7); backdrop-filter: blur(4px);
  padding: 10px 16px; font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--naranja);
}
.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(107,58,154,.2) 0%, transparent 60%, rgba(224,94,0,.1) 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root { --gap: 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
