/* ============================================================================
   CONTACT 2026  —  .ct-*
   ----------------------------------------------------------------------------
   The "contact us" page. It shares the landing page's token set
   (landing-2026.css is loaded alongside it) and adds only what this page
   needs: the cover hero, the channel cards, the message form and its aside.

   Two things the page it replaces got wrong and this one fixes:

     * the static address tile. Locations belong to the branches — they carry
       a name, a pin, a phone and directions — so the one free-text address
       blob is gone and the branches map below carries «where we are».

     * bidi. A phone number, an e-mail and an opening-hours range are latin
       runs inside Arabic copy; without isolation the browser reorders them
       ("11:00 AM — 12:00 AM" came out as "AM — 12:00 AM 11:00"). Every such
       value here sits in .ct-ltr, which isolates it.
   ========================================================================== */

/* Latin runs (numbers, e-mail, times) inside RTL copy. */
.ct-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: start;
    font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .ct-ltr { text-align: right; }

/* --------------------------------------------------------------------- HERO */
.ct-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--lp-night);
    padding-block: clamp(52px, 10vw, 108px);
}
.ct-hero__bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(.82) brightness(.62);
    transform: scale(1.04);
}
.ct-hero__scrim {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(to top, rgba(16, 10, 6, .95) 6%, rgba(16, 10, 6, .82) 52%, rgba(16, 10, 6, .66) 100%),
        radial-gradient(72% 68% at 50% 100%, rgba(var(--lp-brand-rgb), .3), transparent 70%);
}
.ct-hero__inner { position: relative; z-index: 2; text-align: center; color: #fff; }

.ct-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px;
    border-radius: var(--lp-pill);
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 12.5px; font-weight: 800; color: #fff;
}
.ct-hero__eyebrow i { color: var(--lp-accent); font-size: 12px; }

.ct-hero__title {
    font-family: var(--lp-display);
    font-size: clamp(1.9rem, 6vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 16px 0 0;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}
html[dir="rtl"] .ct-hero__title { font-weight: 800; line-height: 1.3; text-align: center;}

.ct-hero__sub {
    margin: 14px auto 0;
    max-width: 56ch;
    font-size: clamp(.92rem, 2.4vw, 1.06rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, .82);
}

.ct-hero__actions {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 12px;
    margin-top: 26px;
}
.ct-hero__crumb {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 24px;
    font-size: 12.5px; font-weight: 700;
    color: rgba(255, 255, 255, .6);
}
.ct-hero__crumb a { color: rgba(255, 255, 255, .82) !important; text-decoration: none !important; }
.ct-hero__crumb a:hover { color: #fff !important; }
.ct-hero__crumb i { font-size: 9px; opacity: .55; }
html[dir="rtl"] .ct-hero__crumb i { transform: scaleX(-1); }

/* A whatsapp-green button on the dark hero, next to the kit's own buttons. */
.lp-btn--wa {
    background: #25D366;
    color: #0B2E18 !important;
    box-shadow: 0 16px 32px -16px rgba(37, 211, 102, .75);
}
.lp-btn--wa:hover { background: #22c15e; color: #0B2E18 !important; transform: translateY(-2px); }
.lp-btn--wa i { font-size: 16px; }

/* ----------------------------------------------------------- CHANNEL CARDS */
/* Lifted so they straddle the hero edge — the page's first real surface. */
.ct-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: calc(-1 * clamp(28px, 5vw, 52px));
    position: relative;
    z-index: 3;
}
.ct-channel {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 20px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-lg);
    box-shadow: var(--lp-sh-2);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform .28s var(--lp-ease), box-shadow .28s var(--lp-ease), border-color .28s var(--lp-ease);
}
a.ct-channel:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-sh-3);
    border-color: rgba(var(--lp-brand-rgb), .28);
}
a.ct-channel:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 3px; }

.ct-channel__icon {
    flex: 0 0 auto;
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: rgba(var(--lp-brand-rgb), .1);
    color: var(--lp-brand);
    font-size: 17px;
}
.ct-channel--wa .ct-channel__icon { background: rgba(37, 211, 102, .14); color: #12864a; }
.ct-channel--hours .ct-channel__icon { background: rgba(var(--lp-accent-rgb), .18); color: #8a6410; }

.ct-channel__body { min-width: 0; flex: 1 1 auto; }
.ct-channel__label {
    display: block;
    font-size: 11.5px; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase;
    color: var(--lp-ink-mute);
}
.ct-channel__value {
    display: block;
    margin-top: 4px;
    font-size: 15.5px; font-weight: 800;
    line-height: 1.5;
    color: var(--lp-ink);
    overflow-wrap: anywhere;
}
.ct-channel__value + .ct-channel__value { margin-top: 2px; }
.ct-channel__note {
    display: block;
    margin-top: 5px;
    font-size: 12px; font-weight: 600;
    color: var(--lp-ink-mute);
}
.ct-channel__go {
    flex: 0 0 auto;
    align-self: center;
    font-size: 12px;
    color: var(--lp-ink-mute);
    transition: transform .26s var(--lp-ease), color .26s var(--lp-ease);
}
html[dir="rtl"] .ct-channel__go { transform: scaleX(-1); }
a.ct-channel:hover .ct-channel__go { color: var(--lp-brand); transform: translateX(3px); }
html[dir="rtl"] a.ct-channel:hover .ct-channel__go { transform: scaleX(-1) translateX(3px); }

/* Live pill — open / closed right now, computed client side. */
.ct-live {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 7px;
    padding: 3px 10px;
    border-radius: var(--lp-pill);
    font-size: 11.5px; font-weight: 800;
}
/* An author display: value outranks the UA's [hidden] rule, so say it here —
   the pill must stay invisible until the script has decided open vs closed. */
.ct-live[hidden] { display: none !important; }
.ct-live__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ct-live--open   { background: rgba(22, 148, 86, .12); color: #0f7a45; }
.ct-live--closed { background: rgba(199, 62, 46, .1);  color: #b23b2c; }

/* ------------------------------------------------------------- MAIN LAYOUT */
.ct-main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: start;
}
@media (max-width: 991px) { .ct-main { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- FORM CARD */
.ct-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-xl);
    box-shadow: var(--lp-sh-2);
    padding: clamp(22px, 3.4vw, 36px);
}
.ct-card__head { margin-bottom: 22px; }
.ct-card__title {
    display: flex; align-items: center; gap: 11px;
    margin: 0;
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    font-weight: 800;
    color: var(--lp-ink);
}
.ct-card__title i { color: var(--lp-brand); font-size: .9em; }
.ct-card__sub {
    margin: 9px 0 0;
    font-size: 13.5px; line-height: 1.7;
    color: var(--lp-ink-soft);
}

.ct-flash {
    display: flex; align-items: flex-start; gap: 11px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--lp-r-md);
    background: rgba(22, 148, 86, .09);
    border: 1px solid rgba(22, 148, 86, .24);
    color: #0f7a45;
    font-size: 13.5px; font-weight: 700; line-height: 1.65;
}
.ct-flash i { margin-top: 2px; font-size: 15px; }

.ct-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 575px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-grid__full { grid-column: 1 / -1; }

.ct-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ct-label {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 800;
    color: var(--lp-ink-soft);
}
.ct-label i { font-size: 12px; color: var(--lp-brand); opacity: .85; }
.ct-label__req { color: #c0392b; font-weight: 800; }

.ct-control { position: relative; }
.ct-control > input,
.ct-control > textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--lp-line-2);
    border-radius: var(--lp-r-md);
    background: var(--lp-surface-2);
    font: inherit;
    font-size: 14.5px;
    color: var(--lp-ink);
    line-height: 1.6;
    transition: border-color .22s var(--lp-ease), background .22s var(--lp-ease), box-shadow .22s var(--lp-ease);
}
.ct-control > textarea { resize: vertical; min-height: 140px; }
.ct-control > input::placeholder,
.ct-control > textarea::placeholder { color: var(--lp-ink-mute); opacity: .75; }
.ct-control > input:hover,
.ct-control > textarea:hover { border-color: rgba(var(--lp-brand-rgb), .35); }
.ct-control > input:focus,
.ct-control > textarea:focus {
    outline: none;
    background: var(--lp-surface);
    border-color: var(--lp-brand);
    box-shadow: 0 0 0 4px rgba(var(--lp-brand-rgb), .13);
}
.ct-field.is-invalid .ct-control > input,
.ct-field.is-invalid .ct-control > textarea {
    border-color: #c0392b;
    background: rgba(192, 57, 43, .04);
}
.ct-field.is-invalid .ct-control > input:focus,
.ct-field.is-invalid .ct-control > textarea:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }

.ct-err {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700;
    color: #c0392b;
}
.ct-hint {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 11.5px; font-weight: 600;
    color: var(--lp-ink-mute);
}
.ct-count { font-variant-numeric: tabular-nums; }

.ct-form__foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--lp-line);
}
.ct-form__note {
    display: flex; align-items: center; gap: 8px;
    margin: 0;
    font-size: 12px; font-weight: 600;
    color: var(--lp-ink-mute);
}
.ct-form__note i { color: var(--lp-brand); opacity: .8; }

.ct-submit {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 30px;
    border: 0;
    border-radius: var(--lp-pill);
    background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-dark));
    color: #fff !important;
    font-size: 14.5px; font-weight: 800;
    box-shadow: var(--lp-sh-brand);
    cursor: pointer;
    transition: transform .24s var(--lp-ease), filter .24s var(--lp-ease), opacity .24s var(--lp-ease);
}
.ct-submit:hover { transform: translateY(-2px); filter: brightness(1.07); }
.ct-submit:active { transform: translateY(0) scale(.985); }
.ct-submit:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 3px; }
.ct-submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.ct-submit .ct-submit__spin { display: none; }
.ct-submit.is-busy .ct-submit__icon { display: none; }
.ct-submit.is-busy .ct-submit__spin { display: inline-block; }
html[dir="rtl"] .ct-submit .ct-submit__icon { transform: scaleX(-1); }

/* Two shared strings are stored lowercase ("call", "send now") and both land
   on a button here, where a lead cap is expected. ::first-letter touches only
   that one letter — a word like "WhatsApp" keeps its own casing, and Arabic,
   having no case, is untouched. */
.ct-submit > span::first-letter,
.ct-hero__actions .lp-btn > span::first-letter { text-transform: uppercase; }

/* The recaptcha widget is a fixed 304px box; let it shrink on a phone. */
.ct-captcha { transform-origin: left top; }
html[dir="rtl"] .ct-captcha { transform-origin: right top; }
@media (max-width: 400px) { .ct-captcha { transform: scale(.86); } }

/* ------------------------------------------------------------------ ASIDE */
.ct-aside { display: flex; flex-direction: column; gap: 16px; }

.ct-panel {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-lg);
    box-shadow: var(--lp-sh-1);
    padding: 22px;
}
.ct-panel--dark {
    background: linear-gradient(150deg, var(--lp-night), #2A1B11);
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
}
.ct-panel__title {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 8px;
    font-size: 16px; font-weight: 800;
    color: var(--lp-ink);
}
.ct-panel--dark .ct-panel__title { color: #fff; }
.ct-panel__title i { color: var(--lp-brand); font-size: .95em; }
.ct-panel--dark .ct-panel__title i { color: var(--lp-accent); }
.ct-panel__text {
    margin: 0;
    font-size: 13px; line-height: 1.75;
    color: var(--lp-ink-soft);
}
.ct-panel--dark .ct-panel__text { color: rgba(255, 255, 255, .74); }

/* Direct-contact buttons inside the dark panel. */
.ct-direct { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ct-direct__btn {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: var(--lp-r-md);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff !important;
    text-decoration: none !important;
    transition: background .24s var(--lp-ease), transform .24s var(--lp-ease), border-color .24s var(--lp-ease);
}
.ct-direct__btn:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .28);
    transform: translateY(-2px);
}
.ct-direct__btn:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }
.ct-direct__ico {
    flex: 0 0 auto;
    display: grid; place-items: center;
    width: 36px; height: 36px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    font-size: 15px;
}
.ct-direct__btn--wa .ct-direct__ico { background: rgba(37, 211, 102, .22); color: #4bf08c; }
.ct-direct__txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.35; }
.ct-direct__txt small { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .58); }
.ct-direct__txt strong { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.ct-direct__arrow { flex: 0 0 auto; font-size: 11px; opacity: .5; }
html[dir="rtl"] .ct-direct__arrow { transform: scaleX(-1); }

/* Opening-hours rows. */
.ct-hours { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ct-hours li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 13px;
    border-radius: var(--lp-r-sm);
    background: var(--lp-surface-2);
    font-size: 13px; font-weight: 700;
    color: var(--lp-ink-soft);
}
.ct-hours li span:last-child { color: var(--lp-ink); font-weight: 800; }

/* Social row. */
.ct-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.ct-social a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 13px;
    background: var(--lp-surface-2);
    border: 1px solid var(--lp-line);
    color: var(--lp-ink-soft) !important;
    font-size: 15px;
    transition: transform .24s var(--lp-ease), background .24s var(--lp-ease), color .24s var(--lp-ease), border-color .24s var(--lp-ease);
}
.ct-social a:hover {
    transform: translateY(-3px);
    background: var(--lp-brand);
    border-color: var(--lp-brand);
    color: #fff !important;
}
.ct-social a:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 3px; }

/* Small FAQ list — answers the three questions the form otherwise collects. */
.ct-faq { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ct-faq__item {
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-sm);
    background: var(--lp-surface-2);
    overflow: hidden;
}
.ct-faq__q {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 0; background: transparent;
    font: inherit; font-size: 13px; font-weight: 800; text-align: start;
    color: var(--lp-ink);
    cursor: pointer;
}
.ct-faq__q i:first-child { color: var(--lp-brand); font-size: 12px; }
.ct-faq__q .ct-faq__chev {
    margin-inline-start: auto;
    font-size: 11px; color: var(--lp-ink-mute);
    transition: transform .24s var(--lp-ease);
}
.ct-faq__item.is-open .ct-faq__chev { transform: rotate(180deg); }
.ct-faq__q:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: -2px; }
.ct-faq__a {
    padding: 0 14px 13px;
    margin: 0;
    font-size: 12.5px; line-height: 1.75;
    color: var(--lp-ink-soft);
}
.ct-faq__a[hidden] { display: none; }

/* ------------------------------------------------------------------ MOBILE */
@media (max-width: 767px) {
    .ct-channels { margin-top: -18px; gap: 12px; }
    .ct-channel { padding: 16px; border-radius: var(--lp-r-md); }
    .ct-channel__icon { width: 40px; height: 40px; font-size: 15px; }
    .ct-channel__value { font-size: 14.5px; }
    .ct-card { border-radius: var(--lp-r-lg); }
    .ct-form__foot { flex-direction: column-reverse; align-items: stretch; }
    .ct-submit { justify-content: center; width: 100%; }
    .ct-hero__actions .lp-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-channel, .ct-direct__btn, .ct-social a, .ct-submit, .ct-channel__go { transition: none !important; }
}
