.brnb-fts {
    font-family: "Poppins", sans-serif;
}

/* Tabs */

.brnb-fts__tabs-container{ position: relative; display: flex; justify-content: center; }

.brnb-fts__tabs {
    display: flex;
    margin-bottom: 90px;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #f3f3f3;
    border-radius: 7px; 
    position: relative; 
}

.brnb-fts__tab {
    background: transparent;
    border-radius: 7px;
    padding: 10px 24px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.25s ease;

    position: relative;
    display: inline-flex;
    align-items: center;
}

@media only screen and (min-width: 481px) {

    .brnb-fts__tab:not(:first-child):not(.brnb-fts__tab--active)::before {
        content: '';
        position: absolute;
        left: -1px;
        top: 20%; /* 10% desde arriba = 80% de altura */
        height: 60%;
        width: 1px;
        background-color: #000; 
    }
}


.brnb-fts__tab--active {
    border-color: #000;
    color: #fff;
    background-color: #000;
}

/* Splide overrides */
#brnb-fts-splide .splide__pagination {
    display: none;
}

/* Slide layout */
.brnb-fts__slide {
    display: flex;
    gap: 96px;
    align-items: center;
}

/* Images */
.brnb-fts__images {
    position: relative;
    flex: 0 0 42%;
    min-height: 750px;
}

.brnb-fts__img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    position: absolute;
}

.brnb-fts__img--main {
    width: 63%;
    height: 58%;
    top: 0;
    right: 0;
    z-index: 4;
}

.brnb-fts__img--secondary {
    width: 55%;
    height: 60%;
    bottom: 0;
    left: 0;
    z-index: 3;
}

/* Decorative elements */
.brnb-fts__deco {
    position: absolute;
  border: 1px solid #355C8D;
  border-radius: 20px;
  z-index: 1;
  width: 59%;
  height: 62%;
  top: 12%;
  left: 21%;

}



/* Content */
.brnb-fts__content {
    flex: 1;
    min-width: 0;
}

.brnb-fts__label {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    text-transform: uppercase;


    color: #000000;
    display: block;
    margin-bottom: 8px;
}

.brnb-fts__heading {
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
}

.brnb-fts__text1 {
    font-weight: 500;
    font-size: 43px;
    line-height: 53px;
    letter-spacing: 0%;


    color: #000;
}

.brnb-fts__text2 {
    font-weight: 700;
    font-size: 43px;
    line-height: 53px;
    letter-spacing: 0%;


    color: #355C8D;
}

/* Features grid - override columns for this context */
.brnb-fts__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media only screen and (max-width : 1223px) { 
    
    .brnb-fts__images {
        flex: 0 0 30%;
        min-height: 350px;
    }

    .brnb-fts__slide {
        gap: 60px;        
    }

    .brnb-fts__tabs
    {
        margin-bottom: 60px;
    }

    .brnb-fts__heading {
        margin: 10px 0 25px;
        padding-top: 0;
    }



}


/* Responsive - Tablet */
@media only screen and (max-width: 1024px) {
    .brnb-fts__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brnb-fts__tab {
        padding: 9px 18px;
    }
    .brnb-fts__tabs
    { margin-bottom: 40px; }

    .brnb-fts__slide {
        gap: 30px;
    }

    .brnb-fts__images {
        flex: 0 0 30%;
        min-height: 350px;
    }

    .brnb-fts__text1,
    .brnb-fts__text2 {
        font-size: 24px;
        line-height: 32px; 
    }

    .brnb-fts__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive - Mobile: ocultar imágenes y decos, solo contenido */
@media only screen and (max-width: 768px) {
    .brnb-fts__tabs {
        gap: 8px;
        margin-bottom: 24px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .brnb-fts__grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .brnb-fts__tabs::-webkit-scrollbar {
        display: none;
    }

    .brnb-fts__tab {
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .brnb-fts__slide {
        flex-direction: column;
        gap: 0;
    }

    .brnb-fts__images {
        display: none;
    }

    .brnb-fts__content {
        width: 100%;
    }

    .brnb-fts__text1,
    .brnb-fts__text2 {
        font-size: 22px;
        line-height: 28px; 
    }

    .brnb-fts__heading {
        margin-bottom: 20px;
    }

    .brnb-fts__grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }
}

/* Responsive - Small mobile */
@media only screen and (max-width: 480px) {
    .brnb-fts__text1,
    .brnb-fts__text2 {
        font-size: 20px;
    }

    .brnb-fts__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }

    .brnb-fts__tabs
    {
        display: grid;
        column-gap: 8px; row-gap: 8px; grid-template-columns: repeat(2, 1fr);
    }

    .brnb-fts__tab {
        justify-content: center;
        line-height: 130%;
        min-height: 50px;    
    }


}



