/* =========================================
   صفحه تماس با ما (Split Screen)
========================================= */
.contact-page {
    margin-top: 50px;
    margin-bottom: 80px;
}

.contact-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* -----------------------------------------
   ستون راست: اطلاعات تماس (NAP)
----------------------------------------- */
.contact-title {
    font-size: 26px;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--cta-bg);
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-content strong {
    display: block;
    color: var(--text-main);
    font-size: 16px;
    margin-bottom: 5px;
}

.info-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.sub-text {
    font-size: 13px;
    opacity: 0.8;
}

.online-badge {
    color: #2ecc71; /* رنگ سبز برای القای حس آنلاین بودن */
    font-weight: bold;
}

.phones {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.phones a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    font-family: monospace;
    transition: color 0.2s;
}

.phones a:hover {
    color: var(--cta-bg);
}

.phones .separator {
    color: var(--border-color);
}

/* نقشه استاتیک */
.static-map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    height: 200px;
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.static-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-link:hover .static-map-img {
    transform: scale(1.05);
}

.map-link:hover .map-overlay {
    opacity: 1;
}

.btn-route {
    background: var(--cta-bg);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(179, 57, 57, 0.4);
}

/* -----------------------------------------
   ستون چپ: فرم لیدساز
----------------------------------------- */
.form-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-wrapper h2 {
    font-size: 22px;
    color: var(--text-main);
    margin: 0 0 10px 0;
}

.form-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-main);
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group label .req {
    color: var(--cta-bg);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 14px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--cta-bg);
    box-shadow: 0 0 0 3px rgba(179, 57, 57, 0.1);
}

/* استایل دراپ‌داون */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▾";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.lead-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.btn-submit-cta {
    width: 100%;
    background: var(--cta-bg);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.btn-submit-cta:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 57, 57, 0.3);
}

/* -----------------------------------------
   ریسپانسیو
----------------------------------------- */
@media (max-width: 992px) {
    .contact-split-wrapper {
        grid-template-columns: 1fr; /* استک شدن در موبایل */
        gap: 40px;
    }

    .contact-info-col {
        order: 2; /* در موبایل معمولاً فرم بالاتر میاد، اما اگه میخوای اطلاعات بالا باشه order ها رو پاک کن */
    }

    .contact-form-col {
        order: 1;
    }

    .form-wrapper {
        padding: 25px;
    }
}