/* صفحه تماس با ما — مطابق طرح فیگما */

:root {
    --cp-navy: #05052d;
    --cp-purple: #4f1c61;
    --cp-purple-soft: #ede9fe;
    --cp-purple-box: #f3ecff;
    --cp-text: #334155;
    --cp-muted: #64748b;
    --cp-yellow: #facc15;
}

.weblazem-contact-page {
    font-family: 'Dana', Tahoma, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

.weblazem-contact-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-page__topbar {
    height: 8px;
    background: var(--cp-purple);
}

.contact-page__hero {
    position: relative;
    padding: 48px 0 40px;
}

.contact-page__blob {
    position: absolute;
    top: -20px;
    left: -80px;
    width: 320px;
    height: 280px;
    background: radial-gradient(ellipse at center, #f3e8ff 0%, rgba(243, 232, 255, 0.4) 55%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.contact-page__hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
    align-items: start;
}

.contact-page__illus-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.contact-page__illus {
    width: 180px;
    height: auto;
    display: block;
}

.contact-page__quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.contact-page__quick-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cp-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-page__quick-item i {
    width: 18px;
    color: var(--cp-purple);
    text-align: center;
}

.contact-page__quick-item:hover {
    color: var(--cp-purple);
}

.contact-page__title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--cp-navy);
    margin: 0 0 20px;
    line-height: 1.4;
}

.contact-page__address {
    font-size: 15px;
    line-height: 2;
    color: var(--cp-text);
    margin: 0 0 28px;
    max-width: 520px;
}

.contact-page__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-page__social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cp-navy);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-page__social-link:hover {
    background: var(--cp-purple);
    transform: translateY(-2px);
}

/* ─── Form ─── */
.contact-page__form-wrap {
    padding: 0 0 96px;
}

.contact-page__form {
    max-width: 900px;
    margin: 0 auto;
}

.contact-page__form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-page__form-row--2 {
    grid-template-columns: 1fr 1fr;
}

.contact-page__field {
    display: flex;
    flex-direction: column;
}

.contact-page__field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--cp-navy);
    margin-bottom: 8px;
}

.contact-page__field .required {
    color: #ef4444;
    margin-right: 2px;
}

.contact-page__field input,
.contact-page__field textarea {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #f2e6f7;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 14px;
    color: var(--cp-text);
    outline: none;
    transition: box-shadow 0.2s ease;
}

.contact-page__field input:focus,
.contact-page__field textarea:focus {
    box-shadow: 0 0 0 2px rgba(79, 28, 97, 0.22);
}

.contact-page__field textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.9;
}

.contact-page__form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.contact-page__form-status {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.contact-page__form-status.is-success {
    color: #15803d;
}

.contact-page__form-status.is-error {
    color: #b45309;
}

.contact-page__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 36px;
    border: none;
    border-radius: 12px;
    background: var(--cp-yellow);
    color: var(--cp-navy);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-inline-start: auto;
}

.contact-page__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
}

.contact-page__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .contact-page__hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-page__illus-wrap {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-page__quick {
        width: auto;
    }
}

@media (max-width: 640px) {
    .contact-page__form-row--2 {
        grid-template-columns: 1fr;
    }

    .contact-page__form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-page__submit {
        width: 100%;
        margin-inline-start: 0;
    }

    .contact-page__blob {
        width: 220px;
        height: 200px;
        left: -40px;
    }
}
