:root{
	/* PALETA */

	--morado-harmony: #8359fa;
	--verde-harmony: #00bf7d;
	--rosa-harmony: #ff8df5;
	--oscuro-harmony: #201b24;
	--claro-harmony: #f0eeff;
	--negro-puro: #000000;
	--blanco-puro: #ffffff;

}

main{
	margin-top: 0;
}

/* Aviso móvil ____________ */

/* Fondo oscuro que tapa toda la web */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fondo negro semitransparente */
    z-index: 999999; /* Por encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px); /* Efecto borroso elegante */
}

/* La cajita blanca */
.modal-caja {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    font-family: sans-serif; /* O la fuente de tu web */
    animation: aparecer 0.3s ease-out;
}

.icono-alerta {
    font-size: 40px;
    margin-bottom: 10px;
}

.modal-caja h3 {
    margin-top: 0;
    color: var(--morado-harmony);
    font-size: 1.2rem;
}

.modal-caja p {
    color: var(--negro-puro);
    font-size: 0.85rem;
    line-height: 1.5;
}

.recomendacion {
    background-color: var(--claro-harmony);
    padding: 10px;
    border-radius: 6px;
    font-size: 1.1rem !important;
    margin: 15px 0;
}

/* Botón */
.boton-entendido {
    background-color: var(--morado-harmony); 
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.boton-entendido:hover {
    background-color: var(--rosa-harmony);
}

@keyframes aparecer {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Sección 1: Ver Reel ____________ */

.S1{
    max-width: none;
    position: relative;
    overflow: hidden;
    height: 105vh;
}

.S1 .entrada{
    max-width: calc(1800*((0.873px*0.2) + (0.045vw*0.8)));
	  margin: 0 auto;
    padding-top: calc(150*((0.873px*0.2) + (0.045vw*0.8)));
}

.S1 .flex{
  margin-top: calc(200*((0.873px*0.4) + (0.045vw*0.6)));
  margin-bottom: calc(125*((0.873px*0.2) + (0.045vw*0.8)));
}

.S1 h2{
	color: var(--blanco-puro);
}

.S1 h5{
	color: var(--blanco-puro);
}

/* Botón scroll __________________*/

.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blanco-puro); /* O el color que prefieras */
  cursor: pointer;
  position: absolute;
  bottom: calc(100*0.045vw);
  z-index: 102;
}

#scroll-animation {
  width: 30px;
  height: 45px;
}

/* Vídeo fondo __________________ */

#video-fondo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  z-index: -3;
}

#overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 27, 36, 0.9);;
  pointer-events: none;
  mask-image: radial-gradient(circle 150px at center, transparent 99.9%, black 100%);
  -webkit-mask-image: radial-gradient(circle 150px at center, transparent 99.9%, black 100%);
  transition: mask-image 0.1s, -webkit-mask-image 0.1s;
  z-index: -2;
}

#ver-reel {
  position: absolute;
  width: 300px;
  height: 300px;
  z-index: 100;
  pointer-events: auto;
}

#modal-video {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#modal-video video {
  width: 90%;
  max-width: 900px;
}

#separadorHero{
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    overflow: hidden;
    z-index: 101;
}

/* Sección Cómo lo hago _________________________ */

.S3 img{
  width: calc(32*((0.873px*0.4) + (0.045vw*0.6)));
  margin-right: calc(12*((0.873px*0.4) + (0.045vw*0.6)));
}

.S3 li div{
  display: flex;
  align-items: baseline;
}

/* Sección 5 Otros Servicios _________________________________________*/

.S5 h3{
  padding-bottom: calc(16*((0.873px*0.4) + (0.045vw*0.6)));
}


















@media screen and (max-width: 992px) {

  .scroll-link {
    bottom: calc(550*0.045vw);
    display: none;
  }

  /* Sección Cómo lo hago _________________________ */

  .S3 img{
    width: calc(47*((0.873px*0.4) + (0.045vw*0.6)));
  }

}