/* Fondo oscuro */
.modal_260627{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;

    opacity:0;
    visibility:hidden;
    transition:.4s;
}

.modal_260627.show{
    opacity:1;
    visibility:visible;
}

/* Ventana */
.modal_260627-content{
    position:relative;
    width:auto;
	height:500px;
    max-width:700px;
    overflow:hidden;

    border-radius:20px;
    background:white;
    box-shadow:0 15px 50px rgba(0,0,0,.35);

    transform:scale(.7);
    opacity:0;

    transition:.5s;
}

.modal_260627.show .modal_260627-content{
    transform:scale(1);
    opacity:1;
}

/* Imagen */
.modal_260627-content img{
    width:auto;
    height:450px;
    object-fit:cover;
}

/* Información */
.info{
    padding:25px;
    text-align:center;
}

.info h1{
    color:#1c3d5a;
    margin-bottom:10px;
}

.info h2{
    color:#666;
    font-weight:400;
    margin-bottom:20px;
}

.info p{
    color:#444;
    margin-bottom:25px;
    line-height:1.5;
}

/* Botón */
.btn-enlace{
	position:absolute;
    display:inline-block;
    padding:15px 30px;
    background:#0a9c45;
    color:white;
    text-decoration:none;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
	top:440px;
	left:-20px;
}

.btn-enlace:hover{
    transform:translateY(-3px);
}

/* Botón cerrar */
.cerrar{
    position:absolute;
    top:10px;
    right:15px;
    color:white;
    font-size:35px;
    cursor:pointer;
    text-shadow:0 0 10px black;
}



/*   banner de abajo para platicas */
.contenedor_platica{
    width:80%;
    position:relative;
    text-align:center;
}

/* Botón */
.btn-inscribirse{
    position:absolute;
    left:50%;
    top:78%;
    transform:translateX(-50%);
    z-index:10;

    background:#0a9c45;
    color:white;
    border:none;
    padding:15px 30px;
    border-radius:30px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 4px 15px rgba(0,0,0,.3);

    opacity:0;
    animation:mostrarBoton 1s ease 1.5s forwards;
}

.btn-inscribirse:hover{
    background:#087d37;
    transform:translateX(-50%) scale(1.05);
}

/* Imagen */
.imagen-conferencia{
    max-width:100%;
    height:500px;
    width:auto;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);

    opacity:0;
    transform:translateY(80px);
    animation:entrada 1.5s ease forwards;
}

/* Animación imagen */
@keyframes entrada{
    from{
        opacity:0;
        transform:translateY(80px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Animación botón */
@keyframes mostrarBoton{
    from{
        opacity:0;
        transform:translateX(-50%) translateY(20px);
    }
    to{
        opacity:1;
        transform:translateX(-50%) translateY(0);
    }
}

/* ===== CELULAR ===== */
@media screen and (max-width:768px){

    .contenedor_platica{
        width:98%;
    }

    .imagen-conferencia{
        width:100%;
        height:auto;
    }

    .btn-inscribirse{
        top:85%;              /* Ajustar según la imagen vertical */
        width:85%;
        font-size:14px;
        padding:12px;
    }

}