/*
 * ORINEX Signature — Persian/Arabic Contact Us page.
 * Loaded after the original English stylesheet, only for FA and AR templates.
 * All overrides are scoped to main.sc-contact-en[dir="rtl"].
 */
.sc-contact-en[dir="rtl"] {
    direction: rtl !important;
    text-align: right !important;
    font-family: var(--sc-font, "Yekan Bakh Pro", Tahoma, Arial, sans-serif);
    line-height: 1.95;
}
.sc-contact-en[dir="rtl"] h1,
.sc-contact-en[dir="rtl"] h2,
.sc-contact-en[dir="rtl"] h3 {
    direction: rtl;
    text-align: right;
    font-family: var(--sc-heading-font, "Peyda", Tahoma, sans-serif) !important;
    letter-spacing: normal !important;
    word-spacing: normal;
}
.sc-contact-en[dir="rtl"] em {
    font-family: inherit !important;
    font-style: normal;
    font-weight: inherit;
    letter-spacing: normal !important;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__crumbs,
.sc-contact-en[dir="rtl"] .sc-contact-en__eyebrow,
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-signature,
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-art-footer small,
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-vertical,
.sc-contact-en[dir="rtl"] .sc-contact-en__social > p,
.sc-contact-en[dir="rtl"] .sc-contact-en__details-deco span,
.sc-contact-en[dir="rtl"] .sc-contact-en__field label {
    letter-spacing: normal;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__eyebrow,
.sc-contact-en[dir="rtl"] .sc-contact-en__crumbs,
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-signature {
    direction: rtl;
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__eyebrow { font-size: 12px; line-height: 1.8; }
.sc-contact-en[dir="rtl"] .sc-contact-en__crumbs { text-transform: none; font-size: 12px; }
.sc-contact-en[dir="rtl"] .sc-contact-en__button {
    direction: rtl;
    font-family: var(--sc-font, Tahoma, sans-serif);
    font-size: 13px;
    letter-spacing: normal;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-inner {
    direction: rtl; /* In grid, first cell (text) is right and artwork is left. */
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-copy {
    direction: rtl;
    text-align: right;
    align-items: flex-start;
    padding: 48px clamp(32px, 8vw, 145px) 42px clamp(32px, 7vw, 132px);
    background: linear-gradient(245deg,#fffcf7 0%,#f7eee3 72%,#eee0ce 100%);
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero h1 {
    font-size: clamp(43px, 4.8vw, 73px);
    line-height: 1.4;
    font-weight: 700;
    max-width: 700px;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-lead {
    line-height: 2.05;
    font-size: 15px;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-signature {
    font-size: 11px;
    line-height: 1.8;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__seal {
    direction: ltr;
    flex-shrink: 0;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-art-footer {
    left: auto;
    right: 57px;
    align-items: flex-start;
    text-align: right;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-art-footer strong {
    direction: ltr;
    text-align: left;
    letter-spacing: .19em;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__hero-vertical {
    top: 44px;
    left: 55px;
    right: auto;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 11px;
}
/* Place the form at the right and the contact-detail panel at the left. */
.sc-contact-en[dir="rtl"] .sc-contact-en__main-grid {
    direction: rtl;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__form-area,
.sc-contact-en[dir="rtl"] .sc-contact-en__details,
.sc-contact-en[dir="rtl"] .sc-contact-en__details-top,
.sc-contact-en[dir="rtl"] .sc-contact-en__field {
    direction: rtl;
    text-align: right;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__form-area h2 {
    line-height: 1.45;
    font-size: clamp(37px, 4.0vw, 58px);
}
.sc-contact-en[dir="rtl"] .sc-contact-en__details h2 {
    line-height: 1.4;
    font-size: clamp(33px, 3.1vw, 46px);
}
.sc-contact-en[dir="rtl"] .sc-contact-en__section-intro,
.sc-contact-en[dir="rtl"] .sc-contact-en__details-top > p:last-child,
.sc-contact-en[dir="rtl"] .sc-contact-en__custom-intro {
    line-height: 2.1;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__fields-row,
.sc-contact-en[dir="rtl"] .sc-contact-en__form-bottom {
    direction: rtl;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__field label {
    font-size: 13px;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__field input,
.sc-contact-en[dir="rtl"] .sc-contact-en__field textarea,
.sc-contact-en[dir="rtl"] .sc-contact-en__field select {
    direction: rtl;
    text-align: right;
    font: 14px/1.9 var(--sc-font, Tahoma, sans-serif);
}
.sc-contact-en[dir="rtl"] .sc-contact-en__field input[type="email"] {
    direction: ltr;
    text-align: left;
    font-family: Inter, Arial, sans-serif;
    letter-spacing: normal;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__field select {
    padding-left: 45px;
    padding-right: 15px;
    background-position: left 16px center;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__detail {
    direction: rtl;
    text-align: right;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__detail h3 {
    font-size: 14px;
    line-height: 1.65;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__detail a[href^="mailto:"],
.sc-contact-en[dir="rtl"] .sc-contact-en__detail a[href^="tel:"] {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
    display: inline-block;
    font-family: Inter, Tahoma, Arial, sans-serif;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__social {
    direction: rtl;
    text-align: right;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__social > p { font-size: 12px; }
.sc-contact-en[dir="rtl"] .sc-contact-en__social-links { direction: rtl; }
.sc-contact-en[dir="rtl"] .sc-contact-en__social-links a { direction: ltr; }
.sc-contact-en[dir="rtl"] .sc-contact-en__details-deco {
    right: auto;
    left: -25px;
    direction: ltr;
    text-align: left;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__end-inner {
    direction: rtl;
    text-align: right;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__end h2 {
    font-size: clamp(35px, 3.6vw, 51px);
    line-height: 1.45;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__end-links {
    direction: rtl;
}
.sc-contact-en[dir="rtl"] .sc-contact-en__end-text-link {
    direction: rtl;
    font-family: var(--sc-font, Tahoma, sans-serif);
    font-size: 13px;
}
@media (max-width: 1180px) {
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero-copy {
        padding-left: 42px;
        padding-right: 54px;
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero h1 {
        font-size: clamp(42px, 5.2vw, 66px);
    }
}
@media (max-width: 960px) {
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero-copy {
        padding: 36px 6vw 55px;
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero h1 {
        font-size: clamp(40px, 6.4vw, 62px);
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__end-links {
        align-items: flex-start;
    }
}
@media (max-width: 600px) {
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero-copy {
        padding: 27px 22px 47px;
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero h1 {
        font-size: clamp(36px, 8.3vw, 48px);
        line-height: 1.5;
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero-art-footer {
        right: 35px;
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__hero-vertical {
        left: 35px;
        top: 35px;
        font-size: 9px;
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__form-area h2 {
        font-size: clamp(35px, 8.3vw, 46px);
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__details h2 {
        font-size: clamp(32px, 7.5vw, 40px);
    }
    .sc-contact-en[dir="rtl"] .sc-contact-en__end h2 {
        font-size: clamp(33px, 7.8vw, 43px);
    }
}
/* Keep the anti-spam honeypot clipped without creating giant RTL scroll width. */
.sc-contact-en[dir="rtl"] .sc-contact-en__trap {
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    clip-path: inset(50%);
    pointer-events: none !important;
}
