.popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem; /* reduce padding para pantalla pequeña */
  overflow-y: auto; /* permite scroll si el popup es más alto */
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 8rem 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh; /* límite de altura */
  overflow-y: auto; /* scroll interno si el contenido supera el contenedor */
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.video-wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.video-img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.wrapper-icon-youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

.wrapper-icon-youtube svg {
  width: 50%;
  height: 50%;
  fill: white;
}

.popup-boton {
  padding: 10px 20px;
  border: none;
  background-color: #009ADA;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
}

.contacto-wrapper {
    padding: 0 4rem ;
}

@media screen {
    
}
.contacto-wrapper p{
    font-size: 1.5rem;
    line-height: 1.5;
}

.popup-bold {
    text-align: center;
    font-weight: 700;
}

.popup-miscelanea {
    font-size: 1rem;
    font-style: italic;
}

/* Para pantallas de celulares (max-width: 768px) */
@media (max-width: 768px) {
    .contacto-wrapper {
        padding: 0 1rem; /* menos padding lateral en móviles */
    }
}

/* Para pantallas muy pequeñas (por ejemplo, < 480px) */
@media (max-width: 480px) {
    .contacto-wrapper {
        padding: 0 0.5rem;
    }
}