.banner-gallery-section {
    margin-top: 50px;
    background-color: var(--bg);
    padding: 10px 0;
}

.banner-gallery {
    display: flex;
    width: min(80%, 1600px);
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
    gap: 10px;
}

.banner-gallery-item {
    width: min(10%, 100px);
    height: 700px;
    overflow: hidden;
    border-radius: 15px;
    transition: .3s;
}

.banner-gallery-item:nth-child(2) {
    height: 650px;
}

.banner-gallery-item:nth-child(3) {
    height: 570px;
}

.banner-gallery-item:nth-child(4) {
    height: 740px;
}

.banner-gallery-item:nth-child(6) {
    height: 600px;
}

.banner-gallery-item img {
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    cursor: pointer;
}

.banner-gallery-item:hover {
    width: 90%;
}

.banner-gallery-item:hover img {
    filter: grayscale(0);
}

@media (max-width: 1400px) {
    .banner-gallery {
        display: flex;
        width: 95%;
    }
}

@media (max-width: 700px) {
    .banner-gallery {
        display: none;
    }

    .banner-gallery-section {
        margin-top: 0;
    }
}

.trust-section {
    width: 80%;
    margin: 0 auto;
}

.trust-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}


.trust-text-box {
    width: 40%;
    position: sticky;
    top: 280px;
    background: var(--bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.trust-text-box h3 {
    color: var(--accent);
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
}

.trust-text-box p {
    font-size: 16px;
    line-height: 1.6;
    color: var(wh-color);
}

.trust-banner-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-bottom: 50px;
}

.trust-banner-gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    background-color: var(--bg);
}

.trust-banner-gallery-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.trust-banner-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
}

.trust-banner-gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(1.05) contrast(1.08);
}

.trust-banner-gallery-text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 20px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.trust-banner-gallery-item.visible .trust-banner-gallery-text {
    opacity: 1;
    transform: translateY(0);
}

/* Рамка на hover */
.trust-banner-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid var(--accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trust-banner-gallery-item:hover::after {
    opacity: 0.8;
}

@media (max-width: 1500px) {
    .trust-text-box {
        top: 100px;
    }
}

@media (max-width: 1200px) {
    .trust-content {
        flex-direction: column;
    }

    .trust-text-box {
        width: 100%;
        /* margin-bottom: 30px; */
        position: relative;
        top: 0;
    }

    .trust-banner-gallery {
        width: 100%;
        gap: 30px;
    }

    .trust-banner-gallery-item {
        height: 300px;
    }
}

.application-section {
    padding: 60px 0;
    background: var(--bg);
}

.application-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.application-container-text h3 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.application-items {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.application-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    cursor: pointer;
}

.application-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.application-img {
    width: 100%;
    height: 230px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.application-item:hover img {
    transform: scale(1.06);
}

.application-title {
    text-align: center;
    padding: 18px 12px 20px;
}

.application-title a {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: 0.2s ease;
}

.application-item:hover .application-title a {
    color: var(--accent);
}

@media (max-width: 900px) {
    .application-title a {
        font-size: 16px;
    }

    .application-img {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .application-img {
        height: 180px;
    }
}