.contact-page {
    width: 100%;
    padding: 24px 0 64px;
    background: #fff;
    font-family: Tahoma, sans-serif;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: -180px;
    left: -180px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(187, 159, 124, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.contact-page::after {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(112, 34, 131, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

/* Breadcrumb */
.contact-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 32px;
}
.contact-breadcrumb a { color: var(--text-light); text-decoration: none; transition: color 0.2s ease; }
.contact-breadcrumb a:hover { color: var(--main-color); }
.contact-breadcrumb__sep { color: #c0c2c5; }
.contact-breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* Hero */
.contact-hero { text-align: center; margin-bottom: 48px; }


.contact-hero__title {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: 700;
    line-height: 1.35;
}

.contact-hero__title span { color: var(--main-color); position: relative; }
.contact-hero__title span::after {
    content: '';
    position: absolute;
    bottom: 2px; right: 0; left: 0;
    height: 6px;
    background: var(--secondary-color);
    opacity: 0.25;
    border-radius: 3px;
    z-index: -1;
}

.contact-hero__subtitle {
    margin: 0 auto;
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 620px;
}

/* ═══════════════════════════════════════════
   Cards Grid (شماره / ایمیل / آدرس)
   ═══════════════════════════════════════════ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.contact-info-card {
    padding: 24px 20px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    text-align: center;
    align-items: center;
}

.contact-info-card:hover {
    border-color: var(--main-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(112, 34, 131, 0.1);
}

.contact-info-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(112, 34, 131, 0.1), rgba(187, 159, 124, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 22px;
    margin-bottom: 4px;
}

.contact-info-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.contact-info-card__items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

.contact-info-card__items a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.contact-info-card__items a:hover { color: var(--main-color); }

/* ═══════════════════════════════════════════
   Social
   ═══════════════════════════════════════════ */
.contact-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.contact-social__btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 20px;
}

.contact-social__btn:hover {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(112, 34, 131, 0.25);
}

.contact-social__btn--telegram:hover  { background: #229ED9; border-color: #229ED9; }
.contact-social__btn--instagram:hover { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); border-color: #dc2743; }
.contact-social__btn--whatsapp:hover  { background: #25D366; border-color: #25D366; }
.contact-social__btn--bale:hover      { background: #2ca5e0; border-color: #2ca5e0; }
.contact-social__btn--eitaa:hover     { background: #ef3f2a; border-color: #ef3f2a; }
.contact-social__btn--rubika:hover    { background: #6d00ff; border-color: #6d00ff; }

.contact-social__btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ═══════════════════════════════════════════
   Content Grid (نقشه + فرم)
   ═══════════════════════════════════════════ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 32px;
}

/* Map */
.contact-map {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: -12px 12px 0 -4px #fff, -11px 11px 0 -2px rgba(187, 159, 124, 0.4);
    min-height: 500px;
    transition: box-shadow 0.4s ease;
}

.contact-map:hover {
    box-shadow: -16px 16px 0 -4px #f5eef1, -16px 16px 0 -2px rgba(112, 34, 131, 0.4);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: block;
    border: 0;
}

/* Form */
.contact-form-wrapper {
    padding: 28px;
    background: var(--bg-soft);
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-wrapper__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.contact-form-wrapper__title i {
    color: var(--secondary-color);
    font-size: 18px;
}

.contact-form-wrapper__hint {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form__label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.contact-form__label .required {
    color: var(--danger);
    margin-right: 2px;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d9d9d9;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(112, 34, 131, 0.08);
}

.contact-form__input.is-invalid,
.contact-form__textarea.is-invalid {
    border-color: var(--danger);
}

.contact-form__textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.contact-form__error {
    font-size: 12px;
    color: var(--danger);
    min-height: 0;
    line-height: 1.4;
    display: none;
}

.contact-form__error.show {
    display: block;
}

.contact-form__submit {
    padding: 14px 24px;
    background: var(--main-color);
    color: #fff;
    border: 1.5px solid var(--main-color);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    font-family: inherit;
    align-self: flex-start;
    min-width: 180px;
}

.contact-form__submit:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-1px);
}

.contact-form__submit:active {
    transform: translateY(0);
}

.contact-form__submit i {
    font-size: 14px;
}

/* Alert */
.contact-form__alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
    display: none;
}

.contact-form__alert.show {
    display: block;
}

.contact-form__alert--success {
    background: #e8f5e9;
    color: var(--success);
    border: 1px solid #c8e6c9;
}

.contact-form__alert--error {
    background: #ffebee;
    color: var(--danger);
    border: 1px solid #f5c2c7;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 400px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .contact-page { padding: 16px 0 40px; }
    .contact-hero { margin-bottom: 32px; }
    .contact-hero__title { font-size: 20px; }
    .contact-hero__subtitle { font-size: 13px; }

    .contact-info-grid { gap: 12px; margin-bottom: 32px; }
    .contact-info-card { padding: 18px 16px; }
    .contact-info-card__icon { width: 48px; height: 48px; font-size: 20px; }
    .contact-info-card__title { font-size: 14px; }

    .contact-social { gap: 8px; margin-bottom: 32px; }
    .contact-social__btn { width: 44px; height: 44px; font-size: 18px; }
    .contact-social__btn svg { width: 20px; height: 20px; }

    .contact-content { gap: 20px; margin-bottom: 20px; }

    .contact-map {
        box-shadow: -8px 8px 0 -3px #fff, -7px 7px 0 -1px rgba(187, 159, 124, 0.4);
        border-radius: 16px;
    }

    .contact-map,
    .contact-map iframe { min-height: 320px; }

    .contact-form-wrapper { padding: 20px; border-radius: 16px; }
    .contact-form-wrapper__title { font-size: 16px; }
    .contact-form__input, .contact-form__textarea { font-size: 13px; padding: 10px 12px; }
    .contact-form__textarea { min-height: 120px; }
    .contact-form__submit { padding: 12px 20px; font-size: 14px; width: 100%; justify-content: center; }
}