/* --- CONTACT PAGE --- */
.contact-page {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Header */
.contact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.contact-header .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}
.contact-header .page-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.contact-header .page-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}

/* Main Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 64px;
}

/* Left Panel: Info Cards */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}
.info-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}
.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand-secondary) 15%, transparent);
    color: var(--brand-secondary);
    flex-shrink: 0;
}
.info-icon i {
    width: 24px;
    height: 24px;
}
.info-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.5px;
}
.info-value,
.info-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}
a.info-value:hover {
    color: var(--brand-secondary);
}

/* Social Buttons */
.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.social-btn img {
    width: 20px;
    height: 20px;
    filter: invert(var(--icon-invert, 0));
}
:root[data-theme="dark"] .social-btn img {
    filter: invert(1);
}
.social-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}
.social-btn:hover img {
    filter: invert(1);
}

/* Right Panel: Form */
.contact-form-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.04);
}
.form-title {
    font-size: 28px;
    margin: 0 0 8px;
}
.form-subtitle {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 32px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: all 0.3s ease;
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-secondary) 15%, transparent);
    background: var(--card);
}
.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.form-submit .btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}
.form-submit:hover .btn-icon {
    transform: translate(4px, -4px);
}

/* Alerts */
.form-alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 14px;
}
.form-alert.success { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); }
.form-alert.error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

/* Map */
.map-section {
    padding-bottom: 60px;
}
.map-container {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive */
@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 24px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 300px;
    }
}
