.botones_links_stack .botones_links__button [class^="ni-"]:before,
.botones_links_stack .botones_links__button [class*=" ni-"]:before {
    font-size: 34px !important;
}

.botones_links_stack .botones_links__button {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 17px;
    padding: 2px 6px;
    border-radius: 999px;
    background-color: #f07b02;
    color: #0e0f11;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    border: 1px solid rgba(208, 255, 113, 0.45);
    white-space: nowrap;
    min-width: 223px;
    gap: 9px;
}

.botones_links_stack .wp-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.botones_links_stack .wp-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 35px 8px 63px;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    min-width: 226px;
}

.botones_links_stack .wp-button:hover {
    background: #111;
}

.botones_links_stack .wp-button:hover .wp-label {
    color: #fff;
}

.botones_links_stack .wp-circle {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.botones_links_stack .wp-label {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

/* Stack cards scoped */
.botones_links_stack .stack-section {
    padding: 50px 20px 90px 20px;
    overflow: hidden;
}

.botones_links_stack .stack-cards {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.botones_links_stack .stack-cards > h2 {
    text-align: center;
    margin-bottom: 40px;
}

.botones_links_stack .stack-card {
    position: relative;
    width: 300px;
    min-height: 75px;
    padding: 22px 30px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -8px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, z-index 0.25s ease;
}

.botones_links_stack .stack-card:first-of-type {
    margin-top: 0;
}

.botones_links_stack .stack-card p {
    margin: 0;
}

.botones_links_stack .stack-card a {
    color: #f07b02;
    text-decoration: none;
}

.botones_links_stack .stack-number {
    position: absolute;
    top: -14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f07b02;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 5;
}

.botones_links_stack .card-left {
    transform: translateX(-18px) rotate(-3deg);
    z-index: 2;
}

.botones_links_stack .card-left .stack-number {
    left: 12px;
}

.botones_links_stack .card-right {
    transform: translateX(18px) rotate(3deg);
    z-index: 3;
}

.botones_links_stack .card-right .stack-number {
    right: 12px;
}

/* Colores y profundidad de cada tarjeta */
.botones_links_stack .stack-card:nth-of-type(1) {
    z-index: 1;
    margin-bottom: 16px;
    background-color: #f5f0ff;
}

.botones_links_stack .stack-card:nth-of-type(2) {
    z-index: 2;
    margin-bottom: 16px;
    background-color: #141c2b;
}

.botones_links_stack .stack-card:nth-of-type(3) {
    z-index: 3;
    margin-bottom: 16px;
    background-color: #f5f0ff;
}

.botones_links_stack .stack-card:nth-of-type(4) {
    z-index: 4;
    margin-bottom: 16px;
    background-color: #141c2b;
}

.botones_links_stack .stack-card:nth-of-type(5) {
    z-index: 5;
    margin-bottom: 16px;
    background-color: #f5f0ff;
}

.botones_links_stack .stack-card:nth-of-type(6) {
    z-index: 6;
    margin-bottom: 16px;
    background-color: #141c2b;
}

.botones_links_stack .stack-card:hover {
    z-index: 20;
}

.botones_links_stack .card-left:hover {
    transform: translateX(-18px) rotate(-7deg) scale(1.03);
}

.botones_links_stack .card-right:hover {
    transform: translateX(18px) rotate(7deg) scale(1.03);
}

/* Caja de texto oculta */
.botones_links_stack .stack-info {
    position: absolute;
    top: 50%;
    width: 460px;
    padding: 20px;
    border-radius: 14px;
    background: #ffffff;
    color: #111;
    text-align: left;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.95);
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 30;
}

.botones_links_stack .stack-info h2 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 10px;
    text-align: left;
    color: #111;
}

.botones_links_stack .stack-info p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    color: #111;
}

/* Impares: 1, 3, 5 aparecen a la izquierda */
.botones_links_stack .stack-card:nth-of-type(1) .stack-info,
.botones_links_stack .stack-card:nth-of-type(3) .stack-info,
.botones_links_stack .stack-card:nth-of-type(5) .stack-info {
    right: calc(100% + 35px);
}

/* Pares: 2, 4, 6 aparecen a la derecha */
.botones_links_stack .stack-card:nth-of-type(2) .stack-info,
.botones_links_stack .stack-card:nth-of-type(4) .stack-info,
.botones_links_stack .stack-card:nth-of-type(6) .stack-info {
    left: calc(100% + 35px);
}

.botones_links_stack .stack-card:hover .stack-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}
.botones_links_stack .stack-card:nth-of-type(6):hover .stack-info {
    transform: translateY(-82%) scale(1);
}
   .botones_links_stack .stack-card:nth-of-type(1):hover .stack-info {
     transform: translateY(-23%) scale(1);
   }
      .botones_links_stack .stack-card:nth-of-type(2):hover .stack-info {
     transform: translateY(-48%) scale(1);
   }
      .botones_links_stack .stack-card:nth-of-type(5):hover .stack-info {
     transform: translateY(-59%) scale(1);
   }

   .h2normal {
    font-size: 40px !important;
    margin: 0 0 40px 0 !important;
    line-height: 50px !important;
}
/* Responsive */
@media (max-width: 900px) {
    .botones_links_stack .stack-info {
        position: static;
        width: 100%;
        margin-top: 18px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .h2normal {
    font-size: 30px !important;
    line-height: 40px !important;
}

    .botones_links_stack .stack-card:hover .stack-info {
        display: block;
        transform: none;
    }

    .botones_links_stack .stack-card {
        flex-direction: column;
    }
}



