.contact-page {
    direction: rtl;
    text-align: right;
    padding: 40px 0 80px;
}

.contact-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.contact-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    border-radius: 24px;
    padding: 48px 32px;
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
}

.contact-badge {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 16px;
}

.contact-title {
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.4;
    color: #fff;
}

.contact-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 2;
    max-width: 760px;
    color: rgba(255,255,255,0.9);
}

.contact-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.contact-btn--primary {
    background: #f59e0b;
    color: #111827;
}

.contact-btn--primary:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

.contact-btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

.contact-btn--secondary:hover {
    background: rgba(255,255,255,0.08);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #eef2f7;
    height: 100%;
}

.contact-card__icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.contact-card__title {
    margin: 0 0 12px;
    font-size: 20px;
    color: #111827;
}

.contact-card__text {
    margin: 0 0 14px;
    color: #4b5563;
    line-height: 2;
    font-size: 15px;
}

.contact-card__link {
    color: #0f766e;
    text-decoration: none;
    font-weight: 700;
}

.contact-card__link:hover {
    color: #115e59;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 10px;
}

.contact-list a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
}

.contact-list a:hover {
    color: #111827;
}

.contact-status {
    display: inline-block;
    margin-top: 6px;
    background: #ecfdf5;
    color: #047857;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.contact-highlight,
.contact-form-section,
.contact-socials,
.contact-map,
.contact-faq {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #eef2f7;
}

.contact-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contact-highlight__content h2,
.contact-form-head h2,
.section-head h2 {
    margin: 0 0 14px;
    font-size: 28px;
    color: #111827;
}

.contact-highlight__content p,
.contact-form-head p,
.section-head p {
    margin: 0;
    color: #4b5563;
    line-height: 2;
}

.contact-highlight__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-highlight .contact-btn--secondary {
    color: #111827;
    border-color: #d1d5db;
}

.contact-highlight .contact-btn--secondary:hover {
    background: #f3f4f6;
}

.contact-form-head {
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    color: #111827;
    outline: none;
    transition: 0.2s ease;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.form-group--full {
    grid-column: 1 / -1;
}

.contact-btn--full {
    width: 100%;
}

.section-head {
    margin-bottom: 24px;
}

.section-head .contact-badge {
    background: #fff7ed;
    color: #c2410c;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 24px 16px;
    min-height: 140px;
    transition: 0.25s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.social-card__icon {
    font-size: 28px;
}

.social-card__title {
    color: #111827;
    font-weight: 700;
}

.contact-map__frame {
    overflow: hidden;
    border-radius: 18px;
    line-height: 0;
}

.faq-items {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    border: 0;
    background: #f9fafb;
    padding: 18px 20px;
    text-align: right;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.faq-answer {
    display: none;
    padding: 18px 20px;
    color: #4b5563;
    line-height: 2;
    background: #fff;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.ltr-text {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-highlight {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .contact-page {
        padding: 24px 0 50px;
    }

    .contact-container {
        width: min(100% - 20px, 1200px);
    }

    .contact-hero,
    .contact-highlight,
    .contact-form-section,
    .contact-socials,
    .contact-map,
    .contact-faq,
    .contact-card {
        border-radius: 18px;
    }

    .contact-hero {
        padding: 28px 18px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-info-grid,
    .form-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .contact-highlight,
    .contact-form-section,
    .contact-socials,
    .contact-map,
    .contact-faq {
        padding: 22px 18px;
    }

    .contact-highlight__content h2,
    .contact-form-head h2,
    .section-head h2 {
        font-size: 22px;
    }

    .faq-question {
        font-size: 15px;
        line-height: 1.8;
    }

    .contact-hero__actions,
    .contact-highlight__buttons {
        width: 100%;
    }

    .contact-hero__actions .contact-btn,
    .contact-highlight__buttons .contact-btn {
        width: 100%;
    }
}
