.home-trust-section {
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    background: #ffffff;
}

.home-trust-section .hero-inner {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
}

.trust-panel {
    border-radius: 22px;
    padding: 1.35rem 1.35rem 1.15rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trust-panel-why {
    background: #ffffff;
    border: 1px solid rgba(0, 68, 172, 0.2);
    box-shadow: none;
}

.trust-panel-countries {
    background: linear-gradient(180deg, #f7faff 0%, #f2f7fd 100%);
    border: 1px solid rgba(0, 68, 172, 0.2);
    box-shadow: none;
}

/* Packages spacing handled by features bar section */
.home-trust-section + .home-features-bar-section {
    margin-top: 0;
}

.trust-panel-title {
    color: #0044ac;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.35;
    flex-shrink: 0;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    flex: 1;
    align-content: center;
}

.trust-feature {
    text-align: center;
    padding: 0.35rem 0.35rem 0.15rem;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.trust-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 68, 172, 0.28) 20%,
        rgba(0, 68, 172, 0.28) 80%,
        transparent 100%
    );
}

.trust-feature:hover {
    transform: translateY(-5px);
    background: rgba(0, 68, 172, 0.06);
    box-shadow: 0 10px 20px rgba(0, 38, 108, 0.08);
}

.trust-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0044ac;
    transition: color 0.25s ease;
}

.trust-feature-icon i {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.trust-feature:hover .trust-feature-icon {
    color: #0044ac;
}

.trust-feature:hover .trust-feature-icon i {
    transform: scale(1.12);
}

.trust-feature-label {
    display: block;
    color: #00266c;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    max-width: 92px;
    margin: 0 auto;
    transition: color 0.25s ease;
}

.trust-feature:hover .trust-feature-label {
    color: #0044ac;
}

.trust-flags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 0.65rem;
    padding: 0 0.15rem;
    flex: 1;
    align-content: start;
}

.trust-flag {
    text-align: center;
    padding: 0.45rem 0.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.trust-flag:hover {
    transform: translateY(-4px);
    background: rgba(0, 68, 172, 0.06);
    box-shadow: 0 8px 18px rgba(0, 38, 108, 0.08);
}

.trust-flag img {
    width: 42px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 38, 108, 0.12);
    display: block;
    margin: 0 auto 0.45rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-flag:hover img {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(0, 38, 108, 0.18);
}

.trust-flag span {
    display: block;
    color: #00266c;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.trust-flag:hover span {
    color: #0044ac;
}

.trust-flags-more {
    grid-column: 1 / -1;
    margin: 0.15rem 0 0;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(0, 68, 172, 0.1);
    text-align: center;
    color: #00266c;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

@media (max-width: 1199.98px) {
    .trust-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .trust-feature:nth-child(3n)::after {
        display: none;
    }

    .trust-feature-label {
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .home-trust-section {
        padding: 0;
    }

    .home-trust-section .hero-inner {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

    .home-trust-section + #packages {
        padding-top: 1.5rem !important;
    }

    .trust-panel {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .trust-panel-title {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .trust-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .trust-feature:nth-child(2n)::after {
        display: none;
    }

    .trust-flags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.5rem;
    }

    .trust-feature-icon {
        width: 46px;
        height: 46px;
    }

    .trust-feature-icon i {
        font-size: 1.75rem;
    }

    .trust-feature-label,
    .trust-flag span {
        font-size: 0.68rem;
    }
}
