#sobremi{
    position: relative;
    padding-bottom: 0;
}
.icons {
 position: absolute;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 10px;
 height: 100%;
 left: 0;
 top: 50%;
 transform: translateY(-50%);
 }

 .icon-container {
    padding: 20px;
    width: 100px;
    height: 100px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
 }

.icon-container:nth-child(1) {
    background-color: #00BE95;
}
.icon-container:nth-child(2) {
    background-color: #5E51CD
}

.icon-container:nth-child(3) {
    background-color: #87A6EA;
}
.icon-container:nth-child(4) {
    background-color: #201740;
}
.icon-container:nth-child(5) {
    background-color: #00BE95;
}
.icon-container:nth-child(3) img {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}



 .icon-container img {
    width: 36px;
    height: auto;
 }

/* Panel deslizante a la derecha de los íconos */
.icon-panel {
    position: absolute;
    left: 120px;
    top: 50%;
    transform: translateY(-50%) scaleX(0.96);
    transform-origin: left center;
    background-color: #00BE95;
    color: #ffffff;
    border-radius: 22px;
    width: clamp(280px, 60vw, 760px);
    max-height: 85%;
    padding: 24px 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    overflow-y: auto;
    transition: opacity .35s ease, transform .35s ease;
}

.icon-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scaleX(1);
}

.icon-panel h3 {
    margin: 0 0 8px 0;
    font-weight: 700;
}

.icon-panel p, .icon-panel li {
    color: #ffffff;
}

.icon-panel .close-panel {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(255,255,255,.18);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

/* Variante para fondos claros: cambia color de texto y botón */
.icon-panel.light-surface {
    color: #1F1740;
}
.icon-panel ul{
    padding-left: 20px;
}

.icon-panel li {
    list-style: disc;
}

.icon-panel.light-surface p,
.icon-panel.light-surface li,
.icon-panel.light-surface a {
    padding-left: 20px;
}
.icon-panel.light-surface .close-panel {
    background: rgba(0,0,0,.18);
    color: #1F1740;
}

/* Estado visual del ícono activo */
.icon-container.active {
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
    transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 991px) {
    .icon-panel {
        left: 110px;
        width: calc(100% - 130px);
        max-height: 70%;
    }
}

@media (max-width: 575px) {
    .icons {
        gap: 6px;
    }
    .icon-container {
        width: 72px;
        height: 72px;
    }
    .icon-panel {
        left: 86px;
        width: calc(100% - 100px);
        padding: 16px 18px;
        border-radius: 16px;
    }
}

/* Video embebido dentro del panel */
.icon-panel .panel-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    margin-top: 8px;
}