/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --black: #080808;
  --black-2: #111111;
  --gold: #C8960C;
  --gold-light: #FFD700;
  --gold-glow: rgba(200, 150, 12, 0.25);
  --gold-line: rgba(200, 150, 12, 0.4);
  --white: #f0f0f0;
  --white-dim: rgba(240, 240, 240, 0.6);
}

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

/* Durante el scroll, pausar animaciones con box-shadow/text-shadow fuera del hero
   (no GPU-composited). Las del hero usan filter con will-change: filter → compositor. */
body.is-scrolling .reserva-frase,
body.is-scrolling #b-reserva .btn-main,
body.is-scrolling #b-reserva .btn-main::before,
body.is-scrolling .reserva-ambient,
body.is-scrolling .badge-exclusivo,
body.is-scrolling .badge-exclusivo::before,
body.is-scrolling #b-strip,
body.is-scrolling .btn-shake-wrap,
body.is-scrolling .btn-halo-burst {
  animation-play-state: paused;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  overflow-anchor: none;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  cursor: auto;
}

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

/* =============================================
   CURSOR
   ============================================= */
.cursor { display: none; }



/* =============================================
   NAV
   ============================================= */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background 0.5s ease, padding 0.4s ease;
}

#nav.scrolled {
  background: rgba(6, 6, 8, 0.96);
  padding: 16px 48px;
  border-bottom: 1px solid var(--gold-line);
}

.nav-logo img {
  height: 44px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
  transition: filter 0.3s ease;
}
.nav-logo:hover img { filter: drop-shadow(0 0 16px var(--gold)); }

#nav.scrolled .nav-logo img {
  filter: drop-shadow(0 0 10px rgba(200, 150, 12, 0.55)) drop-shadow(0 0 28px rgba(200, 150, 12, 0.25));
}
#nav.scrolled .nav-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 36px rgba(255, 215, 0, 0.35));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(8, 8, 8, 0.78);
  transition: color 0.3s ease;
  position: relative;
}

#nav.scrolled .nav-links a {
  color: var(--gold);
}

.nav-small {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.7;
  line-height: 1;
  text-transform: uppercase;
}

.nav-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: filter 0.3s ease;
}

#nav.scrolled .nav-links a .nav-big {
  background: none;
  -webkit-text-fill-color: var(--gold);
  filter: none;
}

#nav.scrolled .nav-links a:hover .nav-big {
  background: linear-gradient(
    180deg,
    #6B4A0A 0%,
    #B8860B 10%,
    #D4A017 20%,
    #FFD700 32%,
    #FFF8C0 43%,
    #FFFFFF 50%,
    #FFF8C0 57%,
    #FFD700 68%,
    #D4A017 80%,
    #9A6E0A 90%,
    #5C3D08 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 32px rgba(255, 215, 0, 0.4));
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px var(--gold);
}

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

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-video {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-flash {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 150;
}

.hero-shockwave {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  left: calc(50% - 350px);
  top: calc(50% - 350px);
  background: radial-gradient(circle,
    transparent 25%,
    rgba(255, 255, 255, 0.45) 40%,
    rgba(255, 255, 255, 0.2)  54%,
    rgba(255, 255, 255, 0.06) 68%,
    transparent 82%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.hero-logo {
  max-height: 30vh;
  width: auto;
  max-width: min(220px, 42vw);
  animation: heroEntrance 2.0s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
  will-change: transform, opacity;
}

@keyframes heroEntrance {
  0%   { opacity: 0; transform: scale(0.03) translateY(-38vh); }
  3%   { opacity: 0.2; }
  52%  { opacity: 1; transform: scale(3.8) translateY(-38vh); }
  85%  { transform: scale(1.06) translateY(0); }
  90%  { transform: scale(1) translateY(0); }
  100% { transform: scale(1) translateY(0); }
}

@keyframes logo-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 55px rgba(200,150,12,0.85)) drop-shadow(0 0 110px rgba(200,150,12,0.4)) drop-shadow(0 0 22px rgba(255,215,0,0.65));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 72px rgba(200,150,12,0.98)) drop-shadow(0 0 145px rgba(200,150,12,0.55)) drop-shadow(0 0 30px rgba(255,215,0,0.88));
    transform: scale(1.045);
  }
}

.hero-logo.glow-active {
  animation: logo-glow-pulse 2.8s ease-in-out infinite;
  will-change: filter, transform;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.scroll-indicator span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* flags en el nav */
.nav-flags{
  display:flex;align-items:center;gap:6px;
  margin-left:24px;
  padding-left:20px;
  border-left:1px solid var(--gold-line);
}
.nav-flags span{
  font-size:18px;
  cursor:pointer;
  opacity:.7;
  transition:opacity .2s, transform .2s;
  line-height:1;
}
.nav-flags span:hover{
  opacity:1;
  transform:scale(1.2);
}

.red-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  transition: color 0.3s ease;
}

.red-link svg { width: 18px; height: 18px; }

.red-link:hover { color: var(--gold-light); }


/* =============================================
   EMPRESA
   ============================================= */
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.body-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.body-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}


/* =============================================
   RESPONSIVE (MOBILE)
   ============================================= */
/* ── HAMBURGER + MOBILE NAV OVERLAY ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,215,0,.85);
  border-radius: 2px;
  transition: transform .28s ease, opacity .28s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(4,3,2,.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
#nav-mobile-overlay.open { display: flex; }
#nav-mobile-overlay a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}
#nav-mobile-overlay a:hover { color: #fff; }

@media (max-width: 768px) {
  #nav { padding: 20px 24px; }
  #nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none !important; }
  .nav-flags { display: none; }
  .nav-hamburger { display: flex; }

  #sound-btn { display: none; }

  #b-cards { padding: 80px 20px; }
  #b-experiencia { padding: 80px 20px; }
  #b-reserva { padding: 80px 24px; }
  #b-post { padding: 80px 24px; }
  #b-strip { padding: 40px 20px; }

  .footer-extra-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-extra .foot-redes { justify-content: center; }
  .footer-extra .foot-brand { align-items: center; }

  .exp-carrusel-dots .dot { width: 10px; height: 10px; }

  .hero-logo.glow-active { animation: none !important; filter: drop-shadow(0 0 40px rgba(200,150,12,.7)); }
  .hero-frase-1.visible span,
  .hero-frase-2.visible span,
  .hero-frase-3.visible span { animation: none !important; }
  .cursor { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}
