/* Trust Bar Visual Improvements */
.trust-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Desktop Sizes */
.trust-logo[alt='IMP Assist'] {
    max-height: 160px;
}

.trust-logo[alt='Panamerican Assist'] {
    max-height: 170px;
}

.trust-logo[alt='Productora Panamericana'] {
    max-height: 190px;
}

/* Expando specific size adjustments */
.trust-logo[alt='Expando'] {
    max-height: 35px !important;
    width: auto;
    /* Ensure aspect ratio is preserved */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .trust-grid {
        gap: var(--spacing-lg);
    }

    .trust-logo {
        max-height: 80px !important;
        opacity: 1;
    }

    /* Uniform size on mobile for alignment */
    .trust-logo[alt='IMP Assist'],
    .trust-logo[alt='Panamerican Assist'],
    .trust-logo[alt='Productora Panamericana'] {
        max-height: 80px !important;
    }

    .trust-logo[alt='Expando'] {
        max-height: 35px !important;
    }
}



/* ===================================
   New Sections (Identity, Process, Contact)
   =================================== */

/* Identity Section */
.identity-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.identity-text h2 {
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
    color: var(--navy-900);
}

.identity-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.6;
}

.identity-visual {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.identity-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/logo-header.png');
    /* Fallback or repeated pattern */
    background-size: 200px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
}

/* Process Section */
.process-section {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    counter-reset: process-counter;
    /* align-items: start; Removed to allow stretching */
}

.process-step {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: transform var(--transition-base);
    height: 100%;
    /* Fix: Force full height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-step::before {
    counter-increment: process-counter;
    content: counter(process-counter);
    width: 40px;
    height: 40px;
    background: var(--brand-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto var(--spacing-md);
}

.process-step h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--navy-900);
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Fix: Give form even more space (66%) */
    gap: var(--spacing-lg);
    /* Fix: Reduce gap */
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-lg);
    /* Fix: Reduce padding */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Contact Info Block Fix */
.contact-info-block h4,
.contact-info-block h5,
.contact-info-block p,
.contact-info-block a {
    color: #ffffff !important;
    /* Fix: Force white text */
}

.contact-info-block p,
.contact-info-block a {
    opacity: 0.9;
}

.contact-info-block a:hover {
    text-decoration: underline;
    opacity: 1;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--navy-900);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer Fix */
.footer {
    background-color: #0f172a;
    /* navy-900 equivalent */
    color: #ffffff;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    filter: brightness(0) invert(1);
    /* Fix: Make logo white */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer p {
    color: #94a3b8;
    /* slate-400 */
    font-size: 0.9rem;
}

@media (max-width: 768px) {

    .identity-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .identity-visual {
        height: 250px;
        order: -1;
        /* Show image first on mobile */
    }
}