.d-none {
    display: none;
}

/* CARD INICIO */
.categories-section {
    background: #efefef;
}

.categories-section h2 {
    color: black;
}

.category-card {
    background: #fff;
    padding: 23px 29px;
    min-height: 240px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    /* aumentar el tamaño de la card */
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* TEXTO */
.category-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #6b6b6b;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.category-content a {
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

/* IMAGEN */
.category-card img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.category-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 80px;
    background: #f5b400;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);

    transform: scaleX(0);
    transform-origin: right bottom;
    transition: transform 0.5s ease-in-out;
}

.category-card:hover::after {
    transform: scaleX(1);
}

.tag-measure-wrapper {
    background-color: #ffbb00;
    padding: 5px;
    font-size: 13px;
    color: black;
    margin: 5px;
    text-align: center;
    justify-content: center
}


/* CARD FIN */

@media (min-width: 992px) {
    .category-content h3 {
        position: relative;
        font-size: 30px;
        font-weight: 700;
        color: #6b6b6b;
        line-height: 1.1;
        margin-bottom: 15px;
        z-index: 3;
    }

    .category-card img {
        position: absolute;
        right: 0;
        max-width: 180px;
        height: auto;
        object-fit: contain;
        z-index: 0;
    }
}

@media (max-width: 991px) {
    .category-content h3 {
        font-size: 28px;
    }

    .category-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .category-card img {
        max-width: 150px;
    }
}

@media (max-width: 575px) {
    .category-content h3 {
        font-size: 24px;
    }
}

/* PROVIDER SLIDER */

.providers-section {
    background-color: #262626;
}

.providers-section h2 {
    color: white;
}

.provider-slider-wrapper {
    padding: 40px 0;
    background-color: transparent;
}

.provider-slider-container {
    position: relative;
}

.provider-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.provider-slider-prev,
.provider-slider-next {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.provider-slider-prev:hover,
.provider-slider-next:hover {
    background-color: #fff;
    transform: scale(1.1);
}

.provider-slider-prev {
    margin-left: -20px;
}

.provider-slider-next {
    margin-right: -20px;
}

.provider-slide {
    padding: 15px;
}

.provider-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.provider-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.provider-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.provider-card:hover .provider-image img {
    transform: scale(1.05);
}

.provider-info {
    padding: 20px;
    text-align: center;
}

.provider-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.provider-link {
    display: inline-block;
    background-color: #f5b400;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.provider-link:hover {
    background-color: #e0a300;
    color: white;
}

/* Responsive styles */
@media (max-width: 991px) {
    .provider-slider-nav {
        display: none !important;
    }

    .provider-slider-wrapper {
        padding: 30px 0;
    }

    .provider-image {
        height: 180px;
    }

    .provider-name {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .provider-slider-wrapper {
        padding: 20px 0;
    }

    .provider-image {
        height: 150px;
    }

    .provider-name {
        font-size: 15px;
    }

    .provider-link {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .provider-image {
        height: 120px;
    }

    .provider-info {
        padding: 15px;
    }

    .provider-slider-prev,
    .provider-slider-next {
        width: 35px;
        height: 35px;
    }
}

/* NEWSLETTER SECTION INICIO */

.newsletter {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    background: #f1f1f1;
    overflow: hidden;
}

/* CONTENIDO */
.newsletter__content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.newsletter__eyebrow {
    color: black;
    margin-bottom: 1rem;
}

.newsletter__title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 400;
}

.newsletter__title span {
    color: #ffb400;
    font-weight: 600;
}

.newsletter__btn {
    background: #ffb400;
    color: #fff;
    padding: 0.9rem 2.2rem;
    font-size: 2.1rem;
    letter-spacing: 2px;
    font-weight: 600;
    width: fit-content;
    text-decoration: none;
    transition: background 0.3s ease;
}

.newsletter__btn:hover {
    background: #e0a000;
}

/* IMAGEN */
.newsletter__image {
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.newsletter__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img.btn-whatsapp {
    display: block !important;
    position: fixed;
    z-index: 9999999;
    bottom: 20px;
    left: 20px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .newsletter {
        grid-template-columns: 1fr;
    }

    .newsletter__image {
        clip-path: none;
        height: 260px;
    }

    .newsletter__content {
        padding: 2.5rem;
        text-align: center;
        align-items: center;
    }
}


/* NEWSLETTER SECTION FIN */

/* Social networks */

.social-media {
    display: flex;
    justify-content: space-evenly;
}

.social-media li a i {
    font-size: 24px;
    color: #fff;
}