* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: 'Raleway', sans-serif; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: #000; }

/* =======================
   HERO fijo a pantalla completa
======================= */
.hero{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #111;
  z-index: 0;
}

.hero img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center center;
  will-change: transform;
  transform: translateY(0);
}

/* Oscurecido más notorio */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.35) 40%,
      rgba(0,0,0,0.55) 100%
    );
}

/* Contenedor textos */
.hero-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 0 18px;
}

.stack{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  will-change: transform, opacity;
}

/* Guardá la fecha (pill) */
.save{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(13px, 3.6vw, 15px);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;

  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;

  background: #0f243a;
  border: 1px solid rgba(255,255,255,0.25);

  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.save:hover{
  background: #153556;
  transform: translateY(-1px);
}

.save:active{
  transform: translateY(0px) scale(0.99);
}

/* Ajuste extra para teléfonos chicos */
@media (max-width: 380px){
  .save{
    font-size: 13px;
    letter-spacing: 2.5px;
    padding: 10px 18px;
  }
}

/* Marca (arco + nombres) */
.hero-mark{
  position: relative;
  width: min(620px, 94vw);
  margin: 6px auto 0 auto;
}

.ring{
  width: 100%;
  margin: 0 auto;
  pointer-events: none;
}

.ring svg{
  width: 100%;
  height: auto;
  display: block;
}

/* Texto en arco */
.ring-text{
  fill: rgba(255,255,255,0.95);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 10px;
  font-size: 24px;
  text-transform: uppercase;
}

/* Nombres */
.names-block{
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.names-line{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.names{
  font-family: 'Shadows Into Light', cursive;
  font-size: clamp(34px, 7.2vw, 64px);
  font-weight: 400;
  letter-spacing: 1.8px;
  line-height: 1.05;
}

.names-sep{
  font-family: 'Shadows Into Light', cursive;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 400;
  opacity: 0.95;
  transform: translateY(2px);
}

/* Flecha scroll: más cerca del nombre */
.scroll-indicator{
  position: absolute;
  left: 50%;
  bottom: 70px; /* MÁS ARRIBA que antes */
  z-index: 3;

  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;

  font-size: 34px;
  color: rgba(255,255,255,0.9);

  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;

  cursor: pointer;
  user-select: none;

  transform: translate(-50%, 0);
  animation: bob2 1.6s ease-in-out infinite;
  transition: transform .25s ease, background .25s ease;
}

.scroll-indicator:hover{
  transform: translate(-50%, 0) scale(1.12);
  background: rgba(255,255,255,0.12);
}

@keyframes bob2{
  0%,100% { transform: translate(-50%, 0); opacity: .92; }
  50%     { transform: translate(-50%, 8px); opacity: .68; }
}

/* Mobile: flecha aún más cerca */
@media (max-width: 480px){
  .scroll-indicator{ bottom: 52px; }
  .ring-text{ font-size: 20px; letter-spacing: 9px; }
}

/* Contenido por encima del hero */
.content{
  position: relative;
  z-index: 5;
  margin-top: 100vh;
}

/* =======================
   SECCIÓN 2: COUNTDOWN
======================= */
.countdown-section{
  width: 100%;
  background: #0f243a;
  color: #fff;
  padding: 80px 20px 65px;
  text-align: center;
}

.countdown-intro{
  font-size: 20px;
  letter-spacing: 1px;
  opacity: .92;
  margin-bottom: 18px;
}

/* Fecha pill */
.date-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(18px, 3.2vw, 24px);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;

  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);

  margin: 18px 0 30px 0;
}

@media (max-width: 420px){
  .date-pill{ letter-spacing: 3px; }
}

.countdown-line{
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-size: clamp(18px, 4vw, 32px);
  font-weight: 300;
  margin-bottom: 12px;
}

.countdown-line strong{
  font-weight: 600;
  font-size: clamp(28px, 6vw, 48px);
}

.sep{ opacity: .7; }

.countdown-foot{
  margin-top: 6px;
  font-size: 14px;
  opacity: .85;
  line-height: 1.6;
}

/* =======================
   SECCIÓN 3: PAPEL + SIN TARJETAS
======================= */
.details-section{
  padding: 85px 20px 105px;
  background: #f6f2ea;
  position: relative;
  overflow: hidden;
}

.details-section::before{
  content:"";
  position:absolute;
  top:-8%;
  left:-8%;
  width:116%;
  height:116%;
  background-image: url("paper-texture.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events:none;
  z-index: 0;
}

.details-wrap{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.detail-icon{
  width: 160px;
  height: 160px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.detail-item h3{
  letter-spacing: 4px;
  font-size: 18px;
  margin-bottom: 14px;
  color: #111;
}

.detail-item p{
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.82;
  margin-bottom: 26px;
  color: #222;
}

.detail-link{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;

  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;

  background: #b59a6a;
  color: #fff;

  border: 1px solid rgba(80,55,20,0.25);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}

.detail-link:hover{
  transform: translateY(-1px);
  filter: brightness(0.95);
  background: #aa8f61;
}

.detail-link:active{
  transform: translateY(0px);
}

/* Responsive sección 3 */
@media(max-width:800px){
  .details-wrap{
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

/* Tablet */
@media (max-width: 768px){
  .detail-icon{
    width: 140px;      /* antes 120px */
    height: 140px;
  }
}

/* Mobile */
@media (max-width: 420px){
  .detail-icon{
    width: 150px;      /* antes 132px */
    height: 150px;
  }
}

/* =======================
   ANIMACIÓN "APARECER DESDE ABAJO"
   (se aplica con JS; se repite al entrar/salir)
======================= */
.reveal{
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =======================
   BOTÓN MÚSICA
======================= */
.music-btn{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(15,36,58,0.55);
  color: #fff;

  display: grid;
  place-items: center;

  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(6px);

  transition: transform .18s ease, background .18s ease;
}

.music-btn:hover{
  transform: scale(1.05);
  background: rgba(15,36,58,0.70);
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .scroll-indicator{ animation: none; }
  .reveal{ transition: none; }
}
