/* ========================================
   CONTACT PAGE STYLES - BRAND ALIGNED
   ======================================== */

.contact-hero {
    padding: 140px 0 80px;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Reusing grid overlay from diagnostic section for consistency */
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 700px;
    line-height: 1.6;
}

.contact-main {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

/* Info Side */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-item h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-item-link {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.info-item-link:hover {
    color: var(--primary);
}

.info-item p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Form Container */
.form-card {
    background: var(--gray-100);
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 64, 133, 0.1);
}

.input-group textarea {
    min-height: 150px;
    resize: none;
}

.btn-brand-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.btn-brand-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Map Integration */
.contact-map {
    margin-top: 5rem;
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .form-card {
        padding: 2rem;
    }

    .contact-hero {
        padding-top: 100px;
    }
}