/* ═══════════════════════════════════════════════════════════
   Trust Center Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.trust-hero {
    position: relative;
    padding: 4.5rem 0 5rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #1A2B8C 0%, #2B3FA8 50%, #1A2B8C 100%);
    overflow: hidden;
}
.trust-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.trust-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.trust-hero .container { position: relative; z-index: 1; }
.trust-hero__icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.trust-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.5px;
}
.trust-hero__desc {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}
.trust-hero__stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 2.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.trust-hero__stat {
    flex: 1;
    padding: 1.25rem 0.75rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-hero__stat:last-child { border-right: none; }
.trust-hero__stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}
.trust-hero__stat-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* ── USP Highlights ── */
.trust-usp { padding: 3rem 0; background: #fff; }
.trust-usp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.trust-usp__card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #F8FAFC;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    transition: all 0.25s ease;
}
.trust-usp__card:hover {
    border-color: #1A2B8C;
    box-shadow: 0 4px 16px rgba(26,43,140,0.08);
    transform: translateY(-2px);
}
.trust-usp__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1A2B8C, #2B3FA8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-usp__text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.5;
    padding-top: 0.25rem;
}

/* ── Anchor Nav (sticky, scroll spy) ── */
.trust-nav {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.trust-nav__inner {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.625rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.trust-nav__inner::-webkit-scrollbar { display: none; }
.trust-nav__link {
    padding: 0.5rem 1.125rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.trust-nav__link:hover {
    background: #F0F4FF;
    color: #1A2B8C;
}
.trust-nav__link.active {
    background: #1A2B8C;
    color: #fff;
}

/* ── Section Common ── */
.trust-section { padding: 4rem 0; }
.trust-section__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 0.5rem;
}
.trust-section__subtitle {
    font-size: 0.9375rem;
    color: #6B7280;
    text-align: center;
    margin: 0 0 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.trust-section--alt-bg { background: #F7F8FB; }

/* ── Certifications ── */
.trust-certs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.trust-cert-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    overflow: hidden;
}
.trust-cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #1A2B8C;
    transition: width 0.3s ease, left 0.3s ease;
}
.trust-cert-card:hover {
    border-color: #C7D2E8;
    box-shadow: 0 8px 24px rgba(26,43,140,0.1);
    transform: translateY(-4px);
}
.trust-cert-card:hover::before {
    width: 100%;
    left: 0;
}
.trust-cert-card__verified {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10B981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-cert-card__logo {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.trust-cert-card__logo img {
    max-height: 72px;
    max-width: 130px;
    object-fit: contain;
}
.trust-cert-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1A2B8C;
    margin: 4px 0 6px;
    text-align: center;
}
.trust-cert-card__desc {
    font-size: 0.8125rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

/* ── Logo Grids (Partners & Clients) ── */
.trust-logos__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    align-items: center;
    justify-content: center;
}
.trust-logo-item {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    transition: all 0.25s ease;
    padding: 0 0.5rem;
}
.trust-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}
.trust-logo-item img {
    max-height: 56px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.25s ease;
}
.trust-logo-item:hover img {
    filter: grayscale(0);
}

/* ── Coverage Stats ── */
.trust-coverage__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.trust-coverage__card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}
.trust-coverage__card:hover {
    border-color: #C7D2E8;
    box-shadow: 0 8px 24px rgba(26,43,140,0.08);
    transform: translateY(-4px);
}
.trust-coverage__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #F0F4FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.trust-coverage__value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1A2B8C;
    margin: 0.5rem 0 0.25rem;
    line-height: 1.2;
}
.trust-coverage__label {
    font-size: 0.8125rem;
    color: #6B7280;
    font-weight: 500;
}

/* ── Testimonials ── */
.trust-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.trust-testimonial {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.trust-testimonial:hover {
    border-color: #C7D2E8;
    box-shadow: 0 8px 24px rgba(26,43,140,0.08);
    transform: translateY(-4px);
}
.trust-testimonial__quote-mark {
    font-size: 2.5rem;
    color: #1A2B8C;
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: -0.5rem;
}
.trust-testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}
.trust-testimonial__text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex: 1;
}
.trust-testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #F0F0F0;
}
.trust-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A2B8C, #2B3FA8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.trust-testimonial__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
}
.trust-testimonial__role {
    font-size: 0.75rem;
    color: #6B7280;
}

/* ── Ratings ── */
.trust-ratings__card {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 720px;
    margin: 2.5rem auto 0;
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.trust-ratings__score {
    text-align: center;
    flex-shrink: 0;
    min-width: 160px;
}
.trust-ratings__number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}
.trust-ratings__stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin: 0.625rem 0 0.375rem;
}
.trust-ratings__count {
    font-size: 0.8125rem;
    color: #9CA3AF;
}
.trust-ratings__divider {
    width: 1px;
    align-self: stretch;
    background: #E5E7EB;
}
.trust-ratings__info { flex: 1; }
.trust-ratings__info p {
    font-size: 0.9375rem;
    color: #4B5563;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}
.trust-ratings__bars {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}
.trust-ratings__bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6B7280;
}
.trust-ratings__bar-label { width: 2.5rem; flex-shrink: 0; }
.trust-ratings__bar-track {
    flex: 1;
    height: 6px;
    background: #F0F0F0;
    border-radius: 3px;
    overflow: hidden;
}
.trust-ratings__bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #F59E0B;
    transition: width 0.6s ease;
}
.trust-ratings__bar-pct { width: 2rem; text-align: right; flex-shrink: 0; font-weight: 600; }

/* ── CTA Banner ── */
.trust-cta {
    position: relative;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #1A2B8C 0%, #2B3FA8 100%);
    overflow: hidden;
}
.trust-cta::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.trust-cta .container { position: relative; z-index: 1; }
.trust-cta__title {
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
}
.trust-cta__desc {
    font-size: 0.9375rem;
    opacity: 0.9;
    max-width: 540px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.trust-cta__badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-cta__badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    opacity: 0.85;
}
.trust-cta__badge svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .trust-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .trust-hero { padding: 3rem 0 3.5rem; }
    .trust-hero__title { font-size: 1.875rem; }
    .trust-hero__desc { font-size: 1rem; }
    .trust-hero__stats {
        flex-wrap: wrap;
        gap: 0;
    }
    .trust-hero__stat {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .trust-hero__stat:nth-child(3),
    .trust-hero__stat:nth-child(4) { border-bottom: none; }
    .trust-hero__stat:nth-child(2) { border-right: none; }
    .trust-hero__stat-value { font-size: 1.5rem; }

    .trust-usp__grid { grid-template-columns: 1fr; }

    .trust-section { padding: 2.5rem 0; }
    .trust-section__title { font-size: 1.375rem; }

    .trust-coverage__grid { grid-template-columns: repeat(2, 1fr); }
    .trust-coverage__card { padding: 1.5rem 1rem; }
    .trust-coverage__value { font-size: 1.5rem; }

    .trust-testimonials__grid { grid-template-columns: 1fr; }

    .trust-ratings__card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    .trust-ratings__divider { display: none; }
    .trust-ratings__number { font-size: 2.75rem; }

    .trust-cta__title { font-size: 1.5rem; }
    .trust-cta__badges { gap: 1rem; }
}

@media (max-width: 480px) {
    .trust-hero__stats { flex-direction: column; }
    .trust-hero__stat {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .trust-hero__stat:last-child { border-bottom: none; }

    .trust-coverage__grid { grid-template-columns: 1fr; }
}
