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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   SECCIÓN 1 — HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg {
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.42) 0%,
      rgba(0,0,0,0.00) 25%,
      rgba(0,0,0,0.00) 50%,
      rgba(0,0,0,0.88) 80%,
      rgba(0,0,0,1.00) 100%
    ),
    radial-gradient(ellipse at center,
      rgba(0,0,0,0.00) 38%,
      rgba(0,0,0,0.38) 100%
    );
}

/* SOUND HINT */
.sound-hint {
  position: absolute;
  top: 2.8rem;
  right: 2.8rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,80,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: .8rem 1.6rem;
  border-radius: 10rem;
  font-size: 1.2rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.65);
  animation: hintPulse 2.5s ease-in-out infinite alternate;
  transition: opacity .4s ease, transform .4s ease;
  cursor: pointer;
}

.hint-dot {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: #e67e22;
  flex-shrink: 0;
  animation: dotBlink 1.2s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

@keyframes hintPulse {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

.sound-hint.hidden {
  opacity: 0 !important;
  transform: translateY(-.8rem) !important;
  pointer-events: none;
  animation: none;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 0 2.5rem;
  animation: contentIn 1.3s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: .2s;
}

@keyframes contentIn {
  from { opacity: 0; transform: translateY(2.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo {
  width: 19rem;
  max-width: 52vw;
  animation: logoPulse 4s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  0%   { filter: drop-shadow(0 0 2.5rem rgba(255,70,0,0.55)); }
  100% { filter: drop-shadow(0 0 6rem  rgba(255,130,0,0.95)); }
}

.eyebrow {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #ff8c30;
  opacity: 1;
  text-shadow:
    0 0 2rem rgba(0,0,0,0.9),
    0 1px 4px rgba(0,0,0,1),
    0 0 8rem rgba(255,100,0,0.4);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  letter-spacing: .06em;
  color: #fff;
  line-height: 1;
  text-shadow:
    0 0 6rem rgba(255,80,0,0.4),
    0 2px 0 rgba(0,0,0,0.5);
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  transition: opacity .5s ease, transform .5s ease;
}

.scroll-indicator span {
  font-size: 1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  animation: scrollFade 3s ease-in-out infinite;
}

.scroll-mouse {
  width: 2rem;
  height: 3.2rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10rem;
  display: flex;
  justify-content: center;
  padding-top: .5rem;
}

.scroll-mouse::before {
  content: "";
  width: .4rem;
  height: .8rem;
  background: rgba(255,255,255,0.4);
  border-radius: 10rem;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(1rem); opacity: 0; }
}

@keyframes scrollFade {
  0%, 100% { opacity: .3; }
  50%       { opacity: .65; }
}

.scroll-indicator.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(1rem);
  pointer-events: none;
}

/* ═══════════════════════════════════════
   SECCIÓN 2 — INFO
═══════════════════════════════════════ */
.info-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5.5rem;
  padding: 11rem 2rem 6rem;
  overflow: hidden;
  /* fondo oscuro con calor muy sutil */
  background:
    radial-gradient(ellipse 90% 35% at 50% 0%,   rgba(120,18,0,0.4)  0%, transparent 70%),
    radial-gradient(ellipse 55% 30% at 10% 100%,  rgba(140,35,0,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 55% 30% at 90% 100%,  rgba(140,35,0,0.25) 0%, transparent 65%),
    linear-gradient(to bottom, #000 0%, #070100 40%, #0b0100 65%, #000 100%);
}

/* ── LLAMAS — solo destellos finos, mix-blend screen ── */
.info-flames {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  /* blend mode: las llamas se comportan como luz sobre el fondo */

}

.info-flames span {
  position: absolute;
  bottom: var(--start);
  border-radius: 50% 50% 30% 30% / 60% 60% 40% 40%;
  background: linear-gradient(
    to top,
    rgba(255, 110, 0, 0.9)  0%,
    rgba(255, 160, 10, 0.5) 40%,
    rgba(255, 200, 40, 0.1) 70%,
    transparent             100%
  );
  animation: riseFlame var(--d) ease-in infinite var(--delay);
  left: var(--left);
  width: var(--w);
  height: var(--h);
  transform-origin: bottom center;
}

@keyframes riseFlame {
  0%   { transform: translateY(0);      opacity: 0; }
  8%   { transform: translateY(-2vh);   opacity: 0.85; }
  55%  { transform: translateY(-20vh);  opacity: 0.45; }
  85%  { transform: translateY(-36vh);  opacity: 0.05; }
  100% { transform: translateY(-44vh);  opacity: 0; }
}

/* glow en borde inferior */
.info-glow-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 32rem;
  background: radial-gradient(ellipse at bottom,
    rgba(190, 50, 0, 0.22) 0%,
    rgba(120, 25, 0, 0.1)  40%,
    transparent            70%
  );
  pointer-events: none;
  z-index: 0;
  animation: bottomGlow 3.5s ease-in-out infinite alternate;
}

@keyframes bottomGlow {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

/* z-index: texto sobre llamas */
.info-section > *:not(.info-flames):not(.info-glow-bottom) {
  position: relative;
  z-index: 1;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition:
    opacity  .9s cubic-bezier(0.16,1,0.3,1),
    transform .9s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* INFO SUB */
.info-sub {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 300;
  letter-spacing: .07em;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.8;
  max-width: 48rem;
}

/* META */
.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10rem;
  padding: 1.1rem 3rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  gap: 0;
}

.meta-item {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: rgba(255,255,255,0.68);
  text-transform: uppercase;
}

.meta-sep {
  color: rgba(255,80,0,0.45);
  font-size: .9rem;
  margin: 0 1.5rem;
}

/* QUOTE — protagonista de la sección */
.quote-block {
  text-align: center;
  line-height: 1.05;
}

.quote-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  letter-spacing: .04em;
  color: rgba(255,255,255,0.88);
  display: block;
}

.quote-em {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  letter-spacing: .04em;
  color: #e07020;
  display: block;
  margin-top: .3rem;
  /* resplandor sutil en el texto naranja */
  text-shadow:
    0 0 5rem rgba(220,90,0,0.45),
    0 0 12rem rgba(200,60,0,0.25);
}

/* CTA */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.8rem 6rem;
  background: linear-gradient(135deg, #a82818 0%, #d42e0e 50%, #d86a18 100%);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: .24em;
  border-radius: .6rem;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.34,1.56,0.64,1), box-shadow .3s ease;
  /* glow pulsante */
  animation: btnGlow 3s ease-in-out infinite alternate;
}

@keyframes btnGlow {
  0%   { box-shadow: 0 0 2rem rgba(200,50,0,0.45), 0 4px 20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1); }
  100% { box-shadow: 0 0 5rem rgba(220,80,0,0.75), 0 4px 25px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.15); }
}

.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 35%,
    rgba(255,255,255,0.08) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform .6s ease;
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.02);
  animation: none;
  box-shadow:
    0 0 7rem rgba(230,80,0,0.85),
    0 8px 30px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-cta:hover::before { transform: translateX(120%); }

/* ═══════════════════════════════════════
   MOBILE (único bloque)
═══════════════════════════════════════ */
@media (max-width: 600px) {

  .logo { width: 15rem; }
  .eyebrow { font-size: 1rem; letter-spacing: .35em; }
  .hero-title { font-size: clamp(2.8rem, 9vw, 4.2rem); }
  .hero-content { gap: 1.6rem; }

  .sound-hint {
    top: 1.4rem;
    right: 1.4rem;
    font-size: 1rem;
    padding: .6rem 1.2rem;
  }

  .info-section {
    gap: 4rem;
    padding: 7rem 2rem 8rem;
  }

  .info-sub {
    font-size: clamp(1.5rem, 4.5vw, 1.9rem);
    line-height: 1.7;
  }
  .info-sub br { display: none; }

  .meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 1.2rem;
    padding: 1rem 1.8rem;
    gap: .4rem .6rem;
  }
  .meta-item { font-size: 1.2rem; letter-spacing: .12em; }
  .meta-sep  { margin: 0 .6rem; font-size: .8rem; }

  .quote-text,
  .quote-em { font-size: clamp(2.6rem, 8.5vw, 4rem); letter-spacing: .03em; }

  .cta-block { width: 100%; padding: 0 1.5rem; }
  .btn-cta {
    width: 100%;
    justify-content: center;
    font-size: 2rem;
    padding: 1.8rem 2rem;
    letter-spacing: .2em;
  }

  .info-flames span:nth-child(n+40) { display: none; }
}

@media (max-width: 360px) {
  .logo { width: 13rem; }
  .quote-text, .quote-em { font-size: 2.4rem; }
}
