div.banner {
    text-align: center;
    margin-top: 20px;
    max-width: 100%;
    overflow: hidden;
}

div.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.contenedorM {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
}

.contenedorM h1 {
    font-size: 2rem;
    margin: 40px 0 30px;
    color: #333;
    font-weight: bold;
}

.contenedorM h1 {
    max-width: 800px;
    margin: 40px auto 30px;
}

div.contenedor {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    max-width: 1200px;
}

div.contenedor > div {
    flex: 1 1 100%;
    min-width: 280px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    box-sizing: border-box;
}

div.contenedor img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

div.contenedor iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    div.contenedor {
        flex-wrap: nowrap;
    }
    div.contenedor > div {
        flex: 1 1 48%;
    }
    .img_boton img {
        height: 200px;
    }
}

section.botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 0 10px;
}

.img_boton {
    flex: 1 1 250px;
    max-width: 390px;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.img_boton:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.img_boton img {
    width: 100%;
    height: max-content;
    object-fit: contain;
}

.img_boton h1 {
    margin: 20px 15px 25px;
    font-size: 1.5rem;
    text-align: center;
}

@media (max-width: 480px) {
    .img_boton {
        flex: 1 1 150px;
        width: 20px;
    }

    .img_boton img {
        height: 150px;
        width: 180px;
    }
    .contenedorM h1 {
        font-size: 18px;
    }

    .contenedorM {
        height: auto;
        width: auto;
    }
}

.panel-triggers {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 998;
}

.trigger-btn {
    writing-mode: vertical-rl;
    padding: 18px 10px;
    border: none;
    background: #FF6961;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px 0 0 10px;
    transition: all 0.3s;
}

.trigger-btn:hover {
    filter: brightness(0.9);
}

.panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.panel-lateral {
    position: fixed;
    top: 0; right: 0;
    width: 90%;
    max-width: 480px;
    height: 100vh;
    background: #222;
    color: white;
    padding: 25px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.panel-overlay.activo { opacity: 1; visibility: visible; }
.panel-lateral.activo { transform: translateX(0); }

.btn-cerrar {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    color: white; font-size: 40px;
    cursor: pointer;
    line-height: 1;
}