/* Why Trust Widget Styles - Paleta tema: 30969c, 2b495a, f6aa1f */
.why-trust-widget,
.why-trust-widget * {
    box-sizing: border-box;
}

.why-trust-widget {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background-color: #2b495a;
}

.why-trust-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.9375rem;
    color: #fff;
}

.why-trust-description {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.95;
}

.why-trust-cta-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.why-trust-cta-intro .why-trust-cta-link {
    display: inline-block;
    background: #f6aa1f;
    color: #2b495a;
    padding: 0.75rem 1.875rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-trust-cta-intro .why-trust-cta-link:hover {
    background: #d8940f;
    color: #2b495a;
}

.why-trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* Centrar columnas cuando hay 2 o 3 items */
.why-trust-items.two-items {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 37.5rem;
    margin: 0 auto 2rem auto;
}

.why-trust-items.three-items {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    margin: 0 auto 2rem auto;
}

/* Paleta tema: tonos 2b495a y 30969c */
.why-trust-item {
    text-align: center;
    padding: 2rem 0.9375rem;
    color: #fff;
}

.why-trust-item:nth-child(1) {
    background-color: #2b495a;
}

.why-trust-item:nth-child(2) {
    background-color: #30969c;
}

.why-trust-item:nth-child(3) {
    background-color: #243d47;
}

.why-trust-item:nth-child(4) {
    background-color: #3aa5ac;
}

.why-trust-item-image {
    margin-bottom: 0.9375rem;
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-trust-item-image img {
    height: 5.625rem;
    width: 5.625rem;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem;
}

.why-trust-item-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.625rem;
    color: #fff;
}

.why-trust-item-description {
    color: #fff;
    line-height: 1.4;
    margin: 0;
    opacity: 0.95;
}

.why-trust-cta {
    text-align: center;
    margin-top: 1.875rem;
}

.why-trust-cta-link {
    display: inline-block;
    background: #f6aa1f;
    color: #2b495a;
    padding: 0.75rem 1.875rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-trust-cta-link:hover {
    background: #d8940f;
    color: #2b495a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .why-trust-title {
        font-size: 1.5rem;
    }
    
    .why-trust-item {
        padding: 1.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .why-trust-items {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .why-trust-widget {
        padding: 0;
    }
    
    .why-trust-item {
        padding: 1.25rem 0.75rem;
    }
}

/* Admin Styles */
.why-trust-widget-admin .why-trust-item {
    background: #f1f1f1;
    border: 1px solid #ddd;
    margin: 10px 0;
    padding: 0.9375rem;
}

.why-trust-widget-admin h4,
.why-trust-widget-admin h5 {
    margin-top: 0;
    color: #333;
}

.why-trust-image-preview img {
    border: 1px solid #ddd;
}
