/* Contact page — modern RTL layout */
.contact-page {
    padding-bottom: 3rem;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(239, 57, 78, 0.12), transparent 45%),
        linear-gradient(135deg, #fff7f8 0%, #ffffff 55%, #f7f8fb 100%);
    border: 1px solid #f0e8ea;
    box-shadow: 0 16px 40px rgba(26, 28, 35, 0.06);
    text-align: center;
}

.contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(239, 57, 78, 0.08);
    color: #c6283d;
    font-size: 12px;
    font-weight: 700;
}

.contact-hero__title {
    margin: 0 0 0.5rem;
    color: #1a1c23;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
}

.contact-hero__subtitle {
    margin: 0;
    color: #616475;
    font-size: 14px;
    line-height: 1.8;
    max-width: 520px;
    margin-inline: auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.15rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #ececf1;
    box-shadow: 0 10px 28px rgba(26, 28, 35, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(239, 57, 78, 0.1);
}

.contact-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(239, 57, 78, 0.08);
    color: #c6283d;
    font-size: 18px;
}

.contact-card__title {
    margin: 0;
    color: #1a1c23;
    font-size: 15px;
    font-weight: 800;
}

.contact-card__body {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.85;
}

.contact-card__body p {
    margin: 0 0 0.5rem;
}

.contact-card__body p:last-child {
    margin-bottom: 0;
}

.contact-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    direction: ltr;
}

.contact-card__link:hover {
    color: #1e3a8a;
    text-decoration: none;
}

.contact-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 0.5rem;
}

.contact-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e8eaef;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.contact-card__chip:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    text-decoration: none;
}

.contact-card--email .contact-card__icon {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-panel {
    padding: 1.5rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #ececf1;
    box-shadow: 0 12px 32px rgba(26, 28, 35, 0.05);
}

.contact-panel__title {
    margin: 0 0 1.25rem;
    color: #1a1c23;
    font-size: 1.15rem;
    font-weight: 800;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.contact-form .form-control {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #e0e0e6;
    padding: 0.65rem 0.9rem;
    font-size: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form .form-control:focus {
    border-color: #ef394e;
    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-form__submit {
    min-height: 48px;
    padding: 0 1.75rem;
    border: 0;
    border-radius: 12px;
    background: #ef394e;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease;
}

.contact-form__submit:hover {
    background: #e1213a;
}

.contact-faq .card {
    border: 1px solid #ececf1;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    background: #fff;
}

.contact-faq .card-header a {
    display: block;
    padding: 0.9rem 1rem;
    color: #1a1c23;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.contact-faq .card-body {
    padding: 0 1rem 1rem;
    color: #616475;
    font-size: 14px;
    line-height: 1.85;
}

.contact-alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 14px;
    font-weight: 600;
}

.contact-alert--success {
    background: #ecfdf3;
    border: 1px solid #86efac;
    color: #166534;
}

.contact-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.contact-empty {
    padding: 2rem;
    border-radius: 16px;
    background: #fafafb;
    border: 1px dashed #e4e6ec;
    text-align: center;
    color: #616475;
    font-size: 14px;
}

@media (max-width: 991px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 575px) {
    .contact-hero {
        padding: 1.5rem 1rem;
        border-radius: 14px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 1.15rem;
    }
}
