/* ---------------------------------------------------
   SUSTAINABILITY CERTIFICATES SLIDER
--------------------------------------------------- */

.sust-certificates {
    padding: 50px 0 60px;
    background: #f7f7f7;
}

.sust-certificates-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.sust-certificates-heading {
    flex: 1;
}

.sust-certificates-header .title-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
}

.sust-certificates-header .title-line span:first-child {
    width: 24px;
    height: 1px;
    background: #888;
}

.sust-certificates-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
}

/* Slider Wrapper */
.sust-certificates-slider-wrapper {
    position: relative;
}

#sustCertificatesSwiper {
    overflow: hidden;
}

#sustCertificatesSwiper .swiper-slide {
    width: 380px;
}

/* Certificate Card */
.sust-cert-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.sust-cert-card-inner {
    position: relative;
    overflow: hidden;
}

/* Zoom Button */
.sust-cert-zoom {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sust-cert-zoom:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

/* Certificate Image */
.sust-cert-card-image {
    position: relative;
    width: 100%;
    transition: transform 0.4s ease;
}

.sust-cert-card:hover .sust-cert-card-image {
    transform: scale(1.02);
}

.sust-cert-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card Info */
.sust-cert-card-info {
    padding: 24px 0 0;
    text-align: center;
}

.sust-cert-card-title {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.sust-cert-card-code {
    display: block;
    font-size: 14px;
    color: #666;
}

/* Navigation */
.sust-certificates-nav {

}

.sust-cert-prev,
.sust-cert-next {
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    position: absolute;
    top: calc(50% - 30px);
    transform: translate(0,-50%);
}

.sust-cert-prev {
    background: #F4D324;/*#e8e8e8 */;
    color: #444;
    left: -60px;
}

.sust-cert-next {
    background: #F4D324;
    color: #1a1a1a;
    right: -60px;
}

.sust-cert-prev:hover {
    background: #d8d8d8;
}

.sust-cert-next:hover {
    background: #e5c520;
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */
@media screen and (max-width: 1600px) {
    .sust-certificates-title{ font-size: 32px; }
}

@media (max-width: 1200px) {
    #sustCertificatesSwiper .swiper-slide {
        width: 340px;
    }
}

@media (max-width: 1024px) {
    .sust-certificates {
        padding: 80px 0 100px;
    }

    .sust-certificates-title {
        font-size: 36px;
    }

    #sustCertificatesSwiper .swiper-slide {
        width: 300px;
    }

    .sust-certificates-nav {
        left: -40px;
        right: -40px;
    }
}

@media (max-width: 768px) {
    .sust-certificates {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .sust-certificates-header {
        margin-bottom: 30px;
    }

    .sust-certificates-header {
        align-items: center;
    }

    .sust-certificates-title {
        font-size: 24px;
        line-height: 32px;
    }

    #sustCertificatesSwiper {
        overflow: visible;
    }

    #sustCertificatesSwiper .swiper-slide {
        width: 280px;
    }

    .sust-cert-card {
        overflow: hidden;
    }

    .sust-cert-zoom {
        width: 44px;
        height: 44px;
        top: 12px;
        left: 12px;
    }

    .sust-certificates-nav {
        position: static;
        left: auto;
        right: auto;
        justify-content: center;
        margin-top: 20px;
    }

    .sust-cert-prev,
    .sust-cert-next {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .sust-certificates {
        padding: 30px 0;
    }

    .sust-certificates-title {
        font-size: 20px;
        line-height: 28px;
    }

    #sustCertificatesSwiper .swiper-slide {
        width: calc(100vw - 60px);
        max-width: 280px;
    }

    .sust-cert-zoom {
        width: 44px;
        height: 44px;
    }
}
