/* ==============================================
   LUMIÈRE — CSS GLOBAL
   Estilos compartidos por todas las páginas
   ============================================== */

:root {
  --black:    #080808;
  --dark:     #0d0d0d;
  --dark2:    #141414;
  --dark3:    #1c1c1c;
  --gold:     #c9a84c;
  --gold2:    #e8c97a;
  --gold-dim: rgba(201,168,76,.15);
  --white:    #f5f0e8;
  --muted:    rgba(245,240,232,.55);
  --line:     rgba(201,168,76,.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --radius:   4px;
  --radius-lg: 8px;
  --nav-h:    72px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* =====================
   CURSOR PERSONALIZADO
   ===================== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201,168,76,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .12s ease, width .3s, height .3s, opacity .3s;
}

body:hover .cursor { opacity: 1; }

/* =====================
   PARTÍCULAS
   ===================== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

/* =====================
   NAVEGACIÓN
   ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: .12em;
  color: var(--white);
  transition: color var(--transition);
}
.nav__logo:hover { color: var(--gold); }

.nav__logo-l {
  color: var(--gold);
  font-style: italic;
}

.nav__links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link--cta {
  padding: .6rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  border-radius: 2px;
  letter-spacing: .1em;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}

/* Hamburguesa */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====================
   BOTONES
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: none;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,.25);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn--ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* =====================
   LABEL DECORATIVO
   ===================== */
.label {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* =====================
   REVEAL ANIMATIONS
   ===================== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp .8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-play-state: paused;
}

.reveal-up.visible {
  animation-play-state: running;
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================
   PAGE HERO (compartido)
   ===================== */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}

.page-hero--short {
  height: 55vh;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.9) 0%, rgba(8,8,8,.4) 60%, rgba(8,8,8,.2) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

.page-hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.01em;
}

.page-hero__content em {
  font-style: italic;
  color: var(--gold);
}

/* =====================
   CTA SECTION (compartida)
   ===================== */
.cta-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
}
.cta-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,.78);
}

.cta-section__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 4rem 2rem;
}

.cta-section__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin: .5rem 0 1rem;
  line-height: 1.1;
}

.cta-section__content p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--line);
  padding: 4rem clamp(1.5rem, 5vw, 6rem) 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 1rem;
}

.footer__brand p {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.8;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links a,
.footer__contact a {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: .6rem;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.footer__bottom strong { color: var(--gold); }

/* =====================
   SCROLL PERSONALIZADO
   ===================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* =====================
   MOBILE
   ===================== */
@media (max-width: 820px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    background: rgba(8,8,8,.97);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    backdrop-filter: blur(12px);
  }

  .nav__links.open { transform: translateX(0); }
  .nav__burger { display: flex; }

  .nav__link { font-size: 1rem; }
  .nav__link--cta { width: auto; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }

  .page-hero__content { padding: 0 1.5rem; }
}

@media (max-width: 560px) {
  .btn { padding: .75rem 1.6rem; font-size: .75rem; }
}
