body {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out;
}

/* Clase que se añadirá cuando todo esté listo */
body.loaded {
  opacity: 1;
  visibility: visible;
}
section#hero {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/*
section#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(255, 255, 255, 0.85) 35%, 
    rgba(255, 255, 255, 0.2) 55%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
}
*/
section#hero .container {
  position: relative;
  z-index: 2;
}

/*
section#hero h1 {
  color: #d97706 !important;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 1);
}

section#hero h2 {
  color: #b45309 !important; 
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 1);
  margin-bottom: 10px;
}

section#hero h3 {
  color: #1f2937 !important; 
  font-weight: 500;
  
  text-shadow: 0 1px 3px rgba(255, 255, 255, 1);
}
*/
section#hero h1 {
  color: #ffffff !important; /* Blanco puro para el título principal */
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

section#hero h2, 
section#hero h3 {
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero_nav {
  width: 100%;
  height: 100vh;
  /*background: url(../img/hero-navidad-bg.jpg) top center no-repeat;*/
  background: url(../img/28677.jpg) top center no-repeat;
  background-size: cover;
}
@media (max-width: 991.98px) {
  section#hero {
    /* Mueve el fondo hacia la derecha para que aparezcan los adornos */
    background-position: 80% center; 
    /* Opcional: añade una ligera capa translúcida oscura al fondo en móvil para que el texto resalte más aún */
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.15);
  }
}

 /* ESTILO DEL IPHONE REALISTA */
    .iphone-frame {
      position: relative;
      width: 100%;
      max-width: 270px;
      aspect-ratio: 9 / 19.5; /* Proporción moderna de pantalla iPhone */
      margin: 0 auto;
      background: #121212;
      border-radius: 46px;
      /* Bisel metálico realista del marco del iPhone */
      box-shadow: 
        0 0 0 4px #2c2d30,
        0 0 0 7px #1c1d1f,
        0 20px 40px rgba(0, 0, 0, 0.4);
      overflow: hidden;
      border: 3px solid #000;
    }

    /* Isla Dinámica (Dynamic Island) */
    .dynamic-island {
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 85px;
      height: 24px;
      background-color: #000;
      border-radius: 20px;
      z-index: 10;
      pointer-events: none;
    }

    /* Contenedor del Vídeo */
    .iphone-frame video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* CAPA DE INTERFAZ ESTILO HISTORIA / REEL */
    .story-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 16px 12px 14px 12px;
      z-index: 3;
      background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.4) 100%);
      pointer-events: none;
    }

    /* Avatar superior */
    .story-header {
      display: flex;
      align-items: center;
      margin-top: 24px; /* Espacio debajo de la isla dinámica */
      visibility:hidden;
    }

    .story-avatar {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background-color: #f38f18;
      border: 2px solid #fff;
    }

    /* Barra inferior e iconos de interacción */
    .story-footer {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .story-input-mock {
      flex: 1;
      height: 28px;
      border: 1px solid rgba(255, 255, 255, 0.7);
      border-radius: 20px;
      background: rgba(0, 0, 0, 0.2);
    }

    .story-actions {
      display: flex;
      gap: 8px;
      font-size: 1.1rem;
      color: #fff;
    }

    /* BOTÓN DE PLAY */
    .play-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(0, 0, 0, 0.2);
      cursor: pointer;
      z-index: 5;
      transition: opacity 0.3s ease;
    }

    .play-button {
      width: 60px;
      height: 60px;
      background: rgba(255, 255, 255, 0.85);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #222;
      font-size: 1.8rem;
      padding-left: 4px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      transition: transform 0.2s ease;
    }

    .play-overlay:hover .play-button {
      transform: scale(1.1);
    }

    /* Cuando el vídeo se reproduce, oculta la capa del botón Play */
    .iphone-frame.playing .play-overlay {
      opacity: 0;
      pointer-events: none;
    }
	
	.btn-orange-pill {
      background-color: #F8982D; /* Tono naranja exacto */
      color: #FFFFFF;
      font-weight: 700;
      font-size: 1.25rem;
      border-radius: 50rem; /* Bordes completamente redondeados (pill) */
      padding: 0.6rem 2rem;
      display: inline-block;
      box-shadow: none;
    }

