/* ==========================================================================
   Asoug CL — site header, footer and home page sections
   All selectors are prefixed with .acl- so they never collide with the
   legacy theme stylesheets still loaded by the layout.
   ========================================================================== */

:root {
    --acl-primary: #6b2bd9;
    --acl-primary-dark: #5a1fc4;
    --acl-accent: #8b5cf6;
    --acl-accent-soft: #f3edff;
    --acl-ink: #16112b;
    --acl-text: #4a4e5c;
    --acl-muted: #6b7080;
    --acl-line: #ecebf3;
    --acl-surface: #ffffff;
    --acl-surface-alt: #f7f7fb;
    --acl-green: #10b981;
    --acl-green-soft: #dcf5ec;
    --acl-footer: #1a0f2e;
    --acl-radius: 20px;
    --acl-shadow: 0 24px 60px -24px rgba(53, 22, 120, .28);
    --acl-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.acl-page {
    font-family: var(--acl-font);
    color: var(--acl-text);
    background: var(--acl-surface);
    -webkit-font-smoothing: antialiased;
}

.acl-page h1, .acl-page h2, .acl-page h3, .acl-page h4, .acl-page h5 {
    font-family: var(--acl-font);
    color: var(--acl-ink);
    letter-spacing: -0.02em;
    margin: 0;
}

/* :where() keeps this reset at single-class specificity so component classes (e.g. .acl-lead) can set their own margins. */
.acl-page :where(p) { margin: 0; }
.acl-page a { text-decoration: none; }
.acl-page img { max-width: 100%; display: block; }

.acl-container {
    width: 100%;
    max-width: 1452px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Buttons & small pieces ---------- */
.acl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    border: 0;
    cursor: pointer;
    transition: background-color .2s, transform .2s, box-shadow .2s;
}

.acl-btn-primary {
    background: var(--acl-primary);
    color: #fff !important;
    box-shadow: 0 10px 24px -10px rgba(107, 43, 217, .7);
}

.acl-btn-primary:hover { background: var(--acl-primary-dark); transform: translateY(-1px); }
.acl-btn-sm { padding: 10px 22px; font-size: 15px; }
.acl-btn i { font-size: 13px; }
[dir="rtl"] .acl-btn .bi-chevron-right { transform: scaleX(-1); }

.acl-accent { color: var(--acl-accent); }
.acl-primary { color: var(--acl-primary); }

.acl-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.acl-check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--acl-ink); font-weight: 500; }
.acl-check-list li::before {
    content: "\F26E";
    font-family: 'bootstrap-icons';
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--acl-green-soft);
    color: var(--acl-green);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.acl-section { padding: 110px 0; }
.acl-section-alt { background: var(--acl-surface-alt); }

/* ==========================================================================
   Header
   ========================================================================== */
.acl-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
    font-family: var(--acl-font);
}

.acl-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 104px;
    border-bottom: 1px solid var(--acl-line);
}

.acl-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; color: var(--acl-ink); letter-spacing: -0.03em; }
.acl-logo:hover { color: var(--acl-ink); }
.acl-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #8b4cf0, #5b21d6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 14px -6px rgba(91, 33, 214, .8);
}
.acl-logo img { max-height: 44px; width: auto; }
.acl-logo .acl-primary { color: var(--acl-accent); }

.acl-nav { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; margin-inline-end: auto; }
.acl-nav a {
    position: relative;
    color: #3a3d4a;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    white-space: nowrap;
    transition: color .2s;
}
.acl-nav a:hover, .acl-nav a.active { color: var(--acl-primary); }
.acl-nav a.active::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--acl-primary);
}

.acl-header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.acl-nav + .acl-header-actions { margin-inline-start: 0; }

.acl-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--acl-line);
    background: #f6f6fa;
    color: var(--acl-ink);
    font-size: 13px;
    font-weight: 600;
}
.acl-lang-btn::after { display: none; }
.acl-lang-btn .bi-chevron-down { font-size: 10px; color: var(--acl-muted); }
.acl-lang-menu { border-radius: 14px; border: 1px solid var(--acl-line); box-shadow: var(--acl-shadow); padding: 6px; min-width: 150px; font-family: var(--acl-font); }
.acl-lang-menu .dropdown-item { border-radius: 9px; font-size: 14px; padding: 8px 12px; }
.acl-lang-menu .dropdown-item.active { background: var(--acl-accent-soft); color: var(--acl-primary); }

.acl-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--acl-line);
    background: #fff;
    color: var(--acl-ink);
    font-size: 22px;
    align-items: center;
    justify-content: center;
}

.acl-offcanvas { font-family: var(--acl-font); }

/* ==========================================================================
   Hero
   ========================================================================== */
.acl-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 120px;
    background:
        radial-gradient(900px 500px at 85% 35%, rgba(196, 167, 255, .35), transparent 60%),
        linear-gradient(180deg, #f8f6fd 0%, #f1ecfb 100%);
}

.acl-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.acl-hero-brand { font-size: 56px; font-weight: 800; line-height: 1.05; color: var(--acl-primary); letter-spacing: -0.035em; margin-bottom: 8px; }
.acl-hero h1 { font-size: 56px; line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
.acl-hero-text { margin: 24px 0 34px; font-size: 19px; line-height: 1.5; max-width: 580px; color: var(--acl-text); }

.acl-hero-visual { position: relative; justify-self: end; width: 100%; max-width: 580px; }
.acl-hero-visual::before {
    content: "";
    position: absolute;
    inset: -40px -60px;
    background: radial-gradient(closest-side, rgba(168, 120, 255, .35), transparent);
    z-index: 0;
}
.acl-hero-card {
    position: relative;
    z-index: 1;
    aspect-ratio: 576 / 526;
    border-radius: 22px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, .85);
    box-shadow: var(--acl-shadow);
}
.acl-hero-card > img { width: 100%; height: 100%; object-fit: cover; }

.acl-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px -12px rgba(30, 10, 80, .4);
    font-size: 12.5px;
    line-height: 1.2;
    color: var(--acl-ink);
    font-weight: 600;
}
.acl-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--acl-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.acl-chip-solutions { top: 24px; inset-inline-start: 24px; }
.acl-chip-solutions div span { display: block; color: var(--acl-primary); }
.acl-chip-ai { top: 32px; inset-inline-end: 24px; padding: 10px 12px; }
.acl-bars { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; }
.acl-bars i { width: 5px; border-radius: 3px; background: #c4a6ff; }
.acl-bars i:nth-child(1) { height: 9px; }
.acl-bars i:nth-child(2) { height: 15px; }
.acl-bars i:nth-child(3) { height: 12px; }
.acl-bars i:nth-child(4) { height: 20px; background: var(--acl-accent); }
.acl-bars i:nth-child(5) { height: 26px; background: var(--acl-primary); }
.acl-ai-badge { width: 36px; height: 36px; border-radius: 10px; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

.acl-chip-status {
    inset-inline: 18px;
    bottom: 18px;
    padding: 14px 16px;
    justify-content: space-between;
}
.acl-chip-status .acl-status-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acl-chip-status .bi { color: var(--acl-accent); font-size: 18px; }
.acl-chip-status small { display: block; font-weight: 400; color: var(--acl-muted); font-size: 11px; margin-top: 2px; }
.acl-online { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: #e8f9f1; color: #0f9d6b; border: 1px solid #b9ecd6; font-size: 12px; font-weight: 600; }

/* ==========================================================================
   Procurement (image + text)
   ========================================================================== */
.acl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.acl-media { position: relative; }
.acl-media-frame { border-radius: var(--acl-radius); overflow: hidden; aspect-ratio: 680 / 460; box-shadow: var(--acl-shadow); }
.acl-media-frame img { width: 100%; height: 100%; object-fit: cover; }

.acl-float-card {
    position: absolute;
    inset-inline-end: 30px;
    bottom: -26px;
    width: min(290px, 46%);
    padding: 20px;
    border-radius: 16px;
    background: #f4f5f8;
    box-shadow: 0 24px 50px -20px rgba(20, 10, 60, .35);
}
.acl-float-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--acl-ink); text-transform: uppercase; }
.acl-float-card-head i { width: 32px; height: 32px; border-radius: 8px; background: #c9b0ff; color: var(--acl-primary-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.acl-float-card .acl-check-list { gap: 9px; }
.acl-float-card .acl-check-list li { font-size: 13px; }

.acl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--acl-accent-soft);
    border: 1px solid #e5d9ff;
    color: var(--acl-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.acl-split h2 { font-size: 36px; line-height: 1.12; font-weight: 800; }
.acl-lead { font-size: 16.5px; line-height: 1.5; margin: 22px 0 32px; color: var(--acl-text); max-width: 580px; }

/* ==========================================================================
   Marketplace
   ========================================================================== */
.acl-market-grid { display: grid; grid-template-columns: 0.75fr 1fr; gap: 48px; align-items: center; }
.acl-icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 40px; box-shadow: 0 10px 22px -10px rgba(107, 43, 217, .8); }
.acl-kicker { display: block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acl-primary); margin-bottom: 26px; }
.acl-market-intro h2 { font-size: 36px; line-height: 1.12; font-weight: 800; white-space: pre-line; }
.acl-market-intro .acl-lead { margin: 44px 0 64px; }

.acl-market-board { background: #fff; border: 1px solid var(--acl-line); border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; }
.acl-market-feature, .acl-market-card { border: 1px solid #f0eff5; border-radius: 16px; background: #fdfdfe; }
.acl-market-feature { grid-row: span 3; padding: 16px 16px 18px; display: flex; flex-direction: column; }
.acl-market-feature-img { border-radius: 10px; overflow: hidden; aspect-ratio: 265 / 175; }
.acl-market-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.acl-market-feature h3 { font-size: 15px; font-weight: 700; margin-top: 22px; }
.acl-market-feature p { font-size: 12.5px; line-height: 1.45; color: var(--acl-muted); margin-top: 8px; }
.acl-market-feature .acl-check-list { margin: 22px 0 24px; gap: 10px; }
.acl-market-feature .acl-check-list li { font-size: 13px; }
.acl-market-feature .acl-btn { margin-top: auto; align-self: flex-start; }

.acl-market-card { padding: 12px; text-align: start; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; font-family: inherit; }
.acl-market-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(53, 22, 120, .45); }
.acl-market-card.is-active { border-color: var(--acl-accent); box-shadow: 0 0 0 3px rgba(139, 92, 246, .14); }
.acl-market-card .acl-thumb { border-radius: 8px; overflow: hidden; aspect-ratio: 180 / 96; }
.acl-market-card .acl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.acl-market-card span { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--acl-ink); line-height: 1.25; }

/* ==========================================================================
   Sectors marquee
   ========================================================================== */
.acl-sectors { padding: 150px 0 120px; overflow: hidden; }
.acl-sectors-title { text-align: center; font-size: 36px; font-weight: 800; margin-bottom: 56px !important; }
.acl-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.acl-marquee + .acl-marquee { margin-top: 40px; }
.acl-marquee-track { display: flex; gap: 20px; padding-inline-end: 20px; flex-shrink: 0; animation: acl-scroll 55s linear infinite; }
.acl-marquee.is-reverse .acl-marquee-track { animation-direction: reverse; }
.acl-marquee:hover .acl-marquee-track { animation-play-state: paused; }
.acl-sector { width: 220px; flex: 0 0 220px; text-align: center; }
.acl-sector-img { height: 170px; border-radius: 14px; overflow: hidden; }
.acl-sector-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acl-sector:hover .acl-sector-img img { transform: scale(1.06); }
.acl-sector span { display: block; margin-top: 22px; font-size: 19px; font-weight: 600; color: #262a36; line-height: 1.3; }

@keyframes acl-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
[dir="rtl"] .acl-marquee-track { animation-name: acl-scroll-rtl; }
@keyframes acl-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
    .acl-marquee-track { animation: none; }
    .acl-marquee { overflow-x: auto; }
}

/* ==========================================================================
   Integration
   ========================================================================== */
.acl-integration-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 100px; }
.acl-integration-head h2 { font-size: 60px; line-height: 1.18; font-weight: 700; max-width: 620px; }
.acl-integration-head h3 { font-size: 24px; line-height: 1.3; font-weight: 700; margin-top: 44px; max-width: 560px; }
.acl-integration-head p { font-size: 16.5px; line-height: 1.45; margin-top: 22px; max-width: 600px; }

.acl-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.acl-service {
    display: block;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--acl-line);
    background: #fff;
    transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.acl-service:hover, .acl-service.is-featured { border-color: var(--acl-accent); background: linear-gradient(180deg, #fff, #f6f0ff); box-shadow: 0 16px 40px -24px rgba(107, 43, 217, .45); }
.acl-service:hover h4, .acl-service.is-featured h4 { color: var(--acl-accent); }
.acl-service-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--acl-accent-soft); color: var(--acl-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.acl-service-icon i { font-size: 20px; }
.acl-service h4 { font-size: 20px; line-height: 1.2; font-weight: 600; margin-top: 30px !important; transition: color .25s; }
.acl-service p { font-size: 16px; line-height: 1.5; margin-top: 20px; color: var(--acl-text); }
.acl-services-page[hidden] { display: none; }

/* ==========================================================================
   Join
   ========================================================================== */
.acl-join h2 { font-size: 60px; line-height: 1.18; font-weight: 700; }
.acl-join .acl-lead { margin: 36px 0 22px; font-size: 16.5px; }
.acl-join-subtitle { font-size: 24px; font-weight: 700; color: var(--acl-green) !important; margin-bottom: 34px !important; }
.acl-join .acl-check-list { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 18px; margin-bottom: 40px; max-width: 520px; }
.acl-join .acl-check-list li { font-size: 13px; }
.acl-join-photo { border-radius: var(--acl-radius); overflow: hidden; aspect-ratio: 700 / 600; }
.acl-join-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Footer
   ========================================================================== */
.acl-footer { background: var(--acl-footer); color: #c9c3d8; font-family: var(--acl-font); padding: 66px 0 40px; }
.acl-footer-grid { display: grid; grid-template-columns: 1.95fr 1fr 1.5fr 1.4fr; gap: 32px; padding-bottom: 54px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.acl-footer .acl-logo { color: #fff; }
.acl-footer .acl-logo .acl-primary { color: #b48cff; }
.acl-footer-tagline { margin-top: 26px; font-size: 15px; line-height: 1.55; max-width: 380px; color: #c9c3d8; }
.acl-socials { display: flex; gap: 12px; margin-top: 32px; }
.acl-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #d6d0e4; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.acl-socials a:hover { background: var(--acl-primary); color: #fff; }
.acl-footer h5 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.acl-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.acl-footer-links a { color: #c9c3d8; font-size: 13.5px; transition: color .2s; }
.acl-footer-links a:hover { color: #fff; }
.acl-footer-note { font-size: 12.5px; line-height: 1.55; margin-bottom: 18px; }
.acl-subscribe { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 4px; padding-inline-start: 16px; }
.acl-subscribe input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--acl-ink); }
.acl-subscribe button { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; border: 0; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
[dir="rtl"] .acl-subscribe button i { transform: scaleX(-1); }
.acl-footer .acl-lang-btn { margin-top: 20px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); }
.acl-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 36px; font-size: 13px; }
.acl-footer-bottom nav { display: flex; align-items: center; gap: 24px; }
.acl-footer-bottom nav a { color: #c9c3d8; }
.acl-footer-bottom nav a:hover { color: #fff; }
.acl-footer-bottom nav span { opacity: .6; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1399px) {
    .acl-nav { gap: 18px; }
    .acl-nav a { font-size: 14px; }
    .acl-hero h1, .acl-hero-brand { font-size: 48px; }
    .acl-integration-head h2, .acl-join h2 { font-size: 50px; }
}

@media (max-width: 1199px) {
    .acl-nav, .acl-header-actions .acl-lang, .acl-header-actions .acl-btn { display: none; }
    .acl-nav-toggle { display: inline-flex; }
    .acl-header-inner { height: 80px; }
    .acl-hero-grid, .acl-split, .acl-market-grid { grid-template-columns: 1fr; gap: 56px; }
    .acl-hero-visual { justify-self: center; }
    .acl-services-grid { grid-template-columns: repeat(2, 1fr); }
    .acl-footer-grid { grid-template-columns: 1fr 1fr; }
    .acl-market-intro .acl-lead { margin: 24px 0 32px; }
}

@media (max-width: 767px) {
    .acl-section { padding: 72px 0; }
    .acl-hero { padding: 64px 0 80px; }
    .acl-hero h1, .acl-hero-brand { font-size: 36px; }
    .acl-hero-text { font-size: 16px; }
    .acl-split h2, .acl-market-intro h2, .acl-sectors-title { font-size: 28px; }
    .acl-integration-head { flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
    .acl-integration-head h2, .acl-join h2 { font-size: 36px; }
    .acl-integration-head h3 { font-size: 20px; margin-top: 24px; }
    .acl-services-grid { grid-template-columns: 1fr; }
    .acl-market-board { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
    .acl-market-feature { grid-column: 1 / -1; grid-row: auto; }
    .acl-float-card { position: relative; inset-inline-end: auto; bottom: auto; width: auto; margin: -40px 16px 0; }
    .acl-sectors { padding: 72px 0; }
    .acl-sector { width: 160px; flex-basis: 160px; }
    .acl-sector-img { height: 124px; }
    .acl-sector span { font-size: 15px; margin-top: 12px; }
    .acl-join .acl-check-list { grid-template-columns: 1fr; }
    .acl-footer-grid { grid-template-columns: 1fr; }
    .acl-chip { font-size: 11px; }
    .acl-chip-ai { display: none; }
}

/* Arabic: Plus Jakarta Sans has no Arabic glyphs, so pair it with IBM Plex Sans Arabic. */
[dir="rtl"] {
    --acl-font: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif;
}
[dir="rtl"] .acl-page h1, [dir="rtl"] .acl-page h2, [dir="rtl"] .acl-page h3,
[dir="rtl"] .acl-page h4, [dir="rtl"] .acl-page h5, [dir="rtl"] .acl-hero-brand { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .acl-kicker, [dir="rtl"] .acl-footer h5 { letter-spacing: 0; }

/* ==========================================================================
   Inner pages (About Us and later pages)
   ========================================================================== */
.acl-page-banner { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 56px 0 58px; background: radial-gradient(520px 220px at 15% 0%, rgba(167, 139, 250, .28), transparent 70%), radial-gradient(480px 220px at 85% 100%, rgba(236, 72, 153, .16), transparent 70%), #3E006D; }
.acl-page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; }
.acl-page-banner h1 { font-size: 40px; font-weight: 700; color: #fff !important; }
.acl-page-banner nav { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .55); display: flex; justify-content: center; gap: 6px; }
.acl-page-banner nav a { color: rgba(255, 255, 255, .75); }
.acl-page-banner nav [aria-current="page"] { color: #fff; font-weight: 500; }
.acl-page-banner nav a:hover { color: #fff; text-decoration: underline; }

.acl-spaced-kicker { display: block; font-size: 16px; letter-spacing: .75em; color: var(--acl-accent); margin-bottom: 40px; }
.acl-display { font-size: 60px !important; line-height: 1.18 !important; font-weight: 700 !important; }
.acl-about-intro .acl-lead { font-size: 16px; max-width: 690px; margin: 40px 0 34px; }
.acl-about-intro .acl-lead.mt-0 { margin-top: 0; }
.acl-media-tall { aspect-ratio: 580 / 465; background: #d9d9d9; box-shadow: none; }
.acl-pt-0 { padding-top: 0 !important; }
.acl-center { text-align: center; }
.acl-center .acl-lead { margin-inline: auto; }

.acl-section-head { max-width: 720px; margin-bottom: 56px; }
.acl-section-head .acl-lead { margin: 28px 0 0; font-size: 16px; }
.acl-section-title { text-align: center; font-size: 40px; font-weight: 700; margin-bottom: 40px !important; }

/* Vision & mission */
.acl-section-lilac { background: #efe8f9; }
.acl-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acl-vm-card { position: relative; overflow: hidden; border-radius: 20px; padding: 44px 36px 46px; color: rgba(255, 255, 255, .86); }
.acl-vm-card h3 { color: #fff !important; font-size: 20px; font-weight: 700; letter-spacing: .04em !important; text-transform: uppercase; margin: 24px 0 22px !important; }
.acl-vm-card p { font-size: 16px; line-height: 1.5; max-width: 570px; }
.acl-vm-icon { width: 52px; height: 52px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.acl-vm-vision { background: radial-gradient(160px 120px at 70% 15%, rgba(212, 160, 23, .22), transparent), linear-gradient(135deg, #0f1f3d, #1e3563); }
.acl-vm-vision .acl-vm-icon { background: rgba(212, 160, 23, .18); border: 1px solid rgba(212, 160, 23, .35); color: #d4a017; }
.acl-vm-vision h3 { color: #d4a017 !important; }
.acl-vm-mission { background: linear-gradient(135deg, #1e40af, #2563eb); }
.acl-vm-mission .acl-vm-icon { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }

/* Check lists */
.acl-check-columns { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 22px; max-width: 560px; }
.acl-check-columns li, .acl-check-roomy li { align-items: flex-start; line-height: 1.35; }
.acl-check-columns li::before, .acl-check-roomy li::before { margin-top: 1px; }
.acl-check-roomy { gap: 18px; max-width: 470px; }
.acl-lead-tight { margin: 22px 0 34px !important; font-size: 17px !important; }

/* Ecosystem cards */
.acl-service-soft { background: #f9fafb; }
.acl-service-soft h4 { margin-top: 32px !important; }

/* Industries heading on inner pages */
.acl-sectors-subtitle { text-align: center; max-width: 560px; margin: -36px auto 56px !important; font-size: 15px; line-height: 1.6; color: var(--acl-text); }


/* Commitment banner */

@media (max-width: 1199px) {
    .acl-display, .acl-commitment h2 { font-size: 46px !important; }
    .acl-vm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .acl-page-banner { padding: 40px 0; }
    .acl-page-banner h1 { font-size: 30px; }
    .acl-spaced-kicker { letter-spacing: .4em; margin-bottom: 20px; }
    .acl-display, .acl-commitment h2 { font-size: 32px !important; }
    .acl-check-columns { grid-template-columns: 1fr; }
    .acl-sectors-subtitle { margin-top: -24px !important; margin-bottom: 36px !important; }
}

[dir="rtl"] .acl-spaced-kicker { letter-spacing: .3em; }

/* Rule: in every image + text section, the image comes first once the columns stack (tablet/mobile). */
@media (max-width: 1199px) {
    .acl-split > .acl-media,
    .acl-split > .acl-media-frame,
    .acl-split > .acl-join-photo,
    .acl-hero-grid > .acl-hero-visual { order: -1; }
}

/* ==========================================================================
   Our Services page
   ========================================================================== */
.acl-orange { color: #f59e0b; }
.acl-badge-caps { text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 12px; margin-bottom: 14px; }
.acl-lead-flush { margin-top: 12px !important; font-size: 17px !important; }

/* Service cards grid */
.acl-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.acl-svc { position: relative; display: flex; flex-direction: column; border: 1px solid #e7e7ef; border-radius: 22px; background: #fff; padding: 32px 32px 40px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: box-shadow .25s, transform .25s; }
.acl-svc:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(53, 22, 120, .4); }
.acl-svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.acl-svc-num { width: 40px; height: 40px; border-radius: 10px; background: var(--acl-accent-soft); color: var(--acl-primary); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.acl-svc-tag { margin-inline-start: auto; padding: 4px 12px; border-radius: 999px; background: #f3f4f6; color: #374151; font-size: 13px; font-weight: 500; }
.acl-svc-badge { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.acl-svc h3 { font-size: 22px !important; font-weight: 600 !important; line-height: 1.3 !important; }
.acl-svc-subtitle { color: var(--acl-primary); font-size: 14px; font-weight: 500; margin-top: 4px !important; max-width: 340px; }
.acl-svc-desc { font-size: 14px; line-height: 1.55; color: var(--acl-text); margin-top: 14px !important; padding-bottom: 14px; border-bottom: 1px solid #eef0f4; max-width: 330px; }
.acl-svc-body { margin-top: 26px; }
.acl-svc-body h4 { display: flex; align-items: center; gap: 8px; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .03em !important; text-transform: uppercase; color: #475467 !important; margin-bottom: 12px !important; }

.acl-svc-list { list-style: none; margin: 0; padding: 0; }
.acl-svc-list-bullets { display: grid; gap: 6px; }
.acl-svc-list-bullets li { position: relative; padding-inline-start: 14px; font-size: 14px; color: #344054; line-height: 1.35; }
.acl-svc-list-bullets li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--acl-accent); }
.acl-svc-list-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.acl-svc-list-chips li { padding: 6px 8px; border-radius: 6px; border: 1px solid #edf0f4; background: #f8f9fb; font-size: 14px; color: #344054; line-height: 1.3; }
.acl-svc-list-chips li.is-wide { grid-column: 1 / -1; background: var(--acl-accent-soft); border-color: #ebe2ff; color: var(--acl-primary); }
.acl-svc-list-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.acl-svc-list-tags li { padding: 4px 10px; border-radius: 6px; border: 1px solid #e4e7ec; background: #f9fafb; font-size: 12.5px; color: #344054; }
.acl-svc-list-modules { display: flex; flex-wrap: wrap; gap: 10px; }
.acl-svc-list-modules li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 10px; background: #fff; border: 1px solid #ede8fb; font-size: 14px; color: #1f2937; min-width: 250px; }
.acl-svc-list-modules li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acl-primary); flex: 0 0 8px; }
.acl-svc-list-modules li.is-accent { background: var(--acl-primary); border-color: var(--acl-primary); color: #fff; }
.acl-svc-list-modules li.is-accent::before { background: #fff; }
.acl-svc-list-modules li.is-dark { background: #4c1d95; border-color: #4c1d95; color: #fff; flex-basis: 100%; }
.acl-svc-list-modules li.is-dark::before { content: "\F46D"; font-family: "bootstrap-icons"; width: auto; height: auto; background: none; flex: 0 0 auto; font-size: 14px; }

.acl-svc-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; border-top: 1px solid #eef0f4; font-size: 14px; color: #667085; }
.acl-svc-link { color: var(--acl-primary); font-weight: 600; }
[dir="rtl"] .acl-svc-footer .bi-arrow-right { transform: scaleX(-1); }

/* Anchor card: wide, dark */
.acl-svc-anchor { grid-column: span 2; border: 0; color: rgba(255, 255, 255, .82); background:
    radial-gradient(420px 320px at 90% 15%, rgba(124, 58, 237, .35), transparent 70%),
    linear-gradient(145deg, #4c1d95 0%, #2e1065 45%, #180f2e 100%); }
.acl-svc-anchor h3 { color: #fff !important; font-size: 32px !important; font-weight: 700 !important; }
.acl-svc-anchor .acl-svc-num { width: 48px; height: 48px; font-size: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.acl-svc-anchor .acl-svc-badge { background: rgba(139, 92, 246, .25); border: 1px solid rgba(167, 139, 250, .45); color: #e9ddff; }
.acl-svc-anchor .acl-svc-tag { background: none; color: rgba(255, 255, 255, .78); padding: 0; }
.acl-svc-anchor .acl-svc-subtitle { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: none; }
.acl-svc-anchor .acl-svc-desc { color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 640px; border-color: rgba(255, 255, 255, .12); }
.acl-svc-anchor .acl-svc-body h4 { color: rgba(255, 255, 255, .78) !important; }
.acl-svc-anchor .acl-svc-list-chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .9); padding: 8px 12px 8px 26px; position: relative; }
.acl-svc-anchor .acl-svc-list-chips li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; inset-inline-start: 8px; top: 6px; font-size: 12px; color: #a78bfa; }
[dir="rtl"] .acl-svc-anchor .acl-svc-list-chips li { padding: 8px 26px 8px 12px; }
.acl-svc-anchor .acl-svc-footer { border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .78); margin-top: 32px; }

/* Catalog card */
.acl-svc-catalog { align-self: stretch; }
.acl-svc-catalog .acl-svc-tag { background: var(--acl-accent-soft); color: var(--acl-primary); }

/* Highlight card */
.acl-svc-highlight { border: 2px solid #ddd0fd; background: linear-gradient(180deg, #faf7ff 0%, #f3edff 100%); box-shadow: 0 30px 60px -36px rgba(107, 43, 217, .55); }
.acl-svc-highlight .acl-svc-num { width: 44px; height: 44px; background: var(--acl-primary); color: #fff; box-shadow: 0 8px 16px -8px rgba(107, 43, 217, .8); }
.acl-svc-highlight .acl-svc-badge { background: #ede5ff; border: 1px solid #c9b3ff; color: var(--acl-primary); }
.acl-svc-highlight .acl-svc-tag { margin-inline-start: 0; background: none; padding: 0; color: #667085; }
.acl-svc-highlight h3 { font-size: 26px !important; }
.acl-svc-highlight .acl-svc-subtitle { font-size: 16px; max-width: none; }
.acl-svc-highlight .acl-svc-desc { font-size: 16px; max-width: none; }
.acl-svc-highlight .acl-svc-body h4 { color: var(--acl-primary) !important; }

/* Why choose rows */
.acl-feature-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acl-feature-rows li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #eef0f5; font-size: 15px; font-weight: 500; color: #344054; }
.acl-feature-rows li i { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 6px; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

/* CTA band */
.acl-cta-band { border-radius: 22px; padding: 50px; color: rgba(255, 255, 255, .82); background: linear-gradient(90deg, #4c1d95 0%, #5b21b6 45%, #3b1a7a 75%, #1e1b4b 100%); box-shadow: 0 20px 40px -24px rgba(30, 10, 80, .6); }
.acl-cta-kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.acl-cta-band h2 { color: #fff !important; font-size: 36px; font-weight: 700; margin-top: 18px !important; }
.acl-cta-band p { max-width: 680px; margin-top: 10px; font-size: 18px; line-height: 1.55; }
.acl-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.acl-cta-actions .acl-btn { border-radius: 10px; font-size: 15px; padding: 14px 24px; }
.acl-btn-white { background: #fff; color: #4c1d95 !important; }
.acl-btn-white:hover { background: #f3edff; }
.acl-btn-violet { background: #6d28d9; border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; }
.acl-btn-violet:hover { background: #7c3aed; }
.acl-btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .9) !important; }
.acl-btn-ghost:hover { background: rgba(255, 255, 255, .08); }

@media (max-width: 1199px) {
    .acl-svc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .acl-svc-grid { grid-template-columns: 1fr; gap: 16px; }
    .acl-svc-anchor { grid-column: auto; }
    .acl-svc { padding: 24px 20px 28px; }
    .acl-svc-anchor h3 { font-size: 24px !important; }
    .acl-svc-list-chips { grid-template-columns: 1fr; }
    .acl-svc-list-modules li { min-width: 0; flex: 1 1 100%; }
    .acl-feature-rows { grid-template-columns: 1fr; }
    .acl-cta-band { padding: 32px 22px; }
    .acl-cta-band h2 { font-size: 26px; }
    .acl-cta-band p { font-size: 16px; }
    .acl-cta-actions .acl-btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Finance & Training pages
   ========================================================================== */
.acl-grid-title { font-size: 24px !important; font-weight: 700 !important; margin-bottom: 48px !important; }

/* Compact icon cards (title only) */
.acl-service-compact { padding: 24px 24px 26px; }
.acl-service-compact h4 { margin-top: 26px !important; font-size: 20px; line-height: 1.25; }

/* Photo cards */
.acl-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.acl-photo-card { padding: 18px 18px 24px; border-radius: 16px; border: 1px solid var(--acl-line); background: #f9fafb; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.acl-photo-card:hover { border-color: var(--acl-accent); background: linear-gradient(180deg, #fff, #f6f0ff); box-shadow: 0 16px 40px -24px rgba(107, 43, 217, .45); }
.acl-photo-card-img { border-radius: 12px; overflow: hidden; aspect-ratio: 290 / 200; }
.acl-photo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acl-photo-card:hover .acl-photo-card-img img { transform: scale(1.05); }
.acl-photo-card h4 { margin-top: 22px !important; font-size: 20px; font-weight: 600; line-height: 1.25; transition: color .25s; }
.acl-photo-card:hover h4 { color: var(--acl-accent); }

@media (max-width: 1199px) {
    .acl-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .acl-grid-title { margin-bottom: 28px !important; }
    .acl-photo-grid { grid-template-columns: 1fr; }
    .acl-service-compact h4, .acl-photo-card h4 { font-size: 18px; }
}

/* ==========================================================================
   Marketplace (catalog) — classes prefixed .mk-
   ========================================================================== */
.mk-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #10b981; margin-inline-end: 6px; vertical-align: middle; }

/* Hero */
.mk-hero { background: #f4f2fb; padding: 90px 0 84px; }
.mk-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mk-hero-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #e6defc; color: #4c1d95; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.mk-hero-badge .mk-dot { background: var(--acl-primary); }
.mk-hero h1 { font-size: 36px !important; font-weight: 700 !important; line-height: 1.2 !important; margin: 14px 0 10px !important; max-width: 480px; }
.mk-hero p { font-size: 16px; line-height: 1.5; max-width: 760px; color: var(--acl-text); }
.mk-hero-stat { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: 0 6px 20px -12px rgba(30, 20, 80, .35); }
.mk-hero-stat > i { width: 34px; height: 34px; border-radius: 6px; background: #e3f3ea; color: #166534; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.mk-hero-stat small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--acl-muted); letter-spacing: .03em; }
.mk-hero-stat strong { font-size: 16px; color: var(--acl-ink); font-weight: 600; }

/* Search + chips */
.mk-catalog { padding: 80px 0 110px; }
.mk-search { display: flex; gap: 4px; padding: 4px; border: 1px solid #e4e1ef; border-radius: 6px; background: #fff; }
.mk-search-cat, .mk-search-input { display: flex; align-items: center; gap: 10px; background: #f3f1fa; border-radius: 4px; padding: 0 16px; margin: 0; }
.mk-search-cat { flex: 0 0 auto; }
.mk-search-cat select { border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--acl-ink); padding: 14px 0; outline: 0; max-width: 240px; font-family: inherit; }
.mk-search-input { flex: 1; min-width: 0; }
.mk-search-input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 0; font-size: 15px; color: var(--acl-ink); outline: 0; font-family: inherit; }
.mk-search-input > i, .mk-search-cat > i { color: var(--acl-muted); }
.mk-search-clear { color: var(--acl-muted); }
.mk-search-btn { flex: 0 0 auto; border: 0; border-radius: 4px; background: var(--acl-primary); color: #fff; font-weight: 600; font-size: 15px; padding: 0 40px; font-family: inherit; }
.mk-search-btn:hover { background: var(--acl-primary-dark); }

.mk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.mk-chips-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6b7080; margin-inline-end: 4px; }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 4px; border: 1px solid #eceaf2; background: #fff; color: #374151; font-size: 12.5px; font-weight: 500; transition: background-color .2s, color .2s; }
.mk-chip:hover { color: var(--acl-primary); }
.mk-chip.is-on { background: #e6defc; border-color: #e6defc; color: #4c1d95; font-weight: 600; }
.mk-chip i { color: inherit; }
.mk-reset-all { margin-inline-start: auto; font-size: 12.5px; font-weight: 600; color: var(--acl-primary); }

.mk-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 70px 0 18px; flex-wrap: wrap; }
.mk-results-head p { font-size: 13px; color: var(--acl-muted); }
.mk-results-head p strong { font-size: 18px; color: var(--acl-ink); margin-inline-end: 4px; }
.mk-results-tools { display: flex; align-items: center; gap: 16px; }
.mk-sort { display: flex; align-items: center; gap: 10px; margin: 0; }
.mk-sort label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--acl-muted); margin: 0; }
.mk-sort select { border: 0; background: #f6f6fa; border-radius: 6px; padding: 8px 12px; font-weight: 500; font-size: 14px; color: var(--acl-ink); font-family: inherit; }
.mk-view-toggle { display: flex; gap: 4px; }
.mk-view-toggle a { width: 28px; height: 28px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--acl-primary); }
.mk-view-toggle a.is-on { background: var(--acl-primary); color: #fff; }

/* Board: sidebar + results */
.mk-board { display: grid; grid-template-columns: 318px 1fr; gap: 32px; align-items: start; padding: 24px; border-radius: 26px; background: #f2f3f6; }
.mk-sidebar { display: grid; gap: 24px; }
.mk-panel { background: #fff; border-radius: 12px; padding: 18px 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.mk-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.mk-panel-head h2 { display: flex; align-items: center; gap: 10px; font-size: 17px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.mk-panel-head h2 i { color: var(--acl-primary); }
.mk-count-pill { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ece8f8; color: var(--acl-primary); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.mk-cat-list, .mk-subcats { list-style: none; margin: 0; padding: 0; }
.mk-cat { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 4px; color: #374151; font-size: 13.5px; transition: background-color .2s; }
.mk-cat:hover { background: #f6f4fd; color: #374151; }
.mk-cat i { color: #6b7080; font-size: 15px; }
.mk-cat span { flex: 1; }
.mk-cat em { font-style: normal; color: #6b7080; font-size: 15px; }
.mk-cat.is-active { background: #e9e3fd; color: var(--acl-primary); font-weight: 500; }
.mk-cat.is-active i { color: var(--acl-primary); }
.mk-cat.is-active em { background: #4c1d95; color: #fff; border-radius: 3px; padding: 0 6px; font-size: 14px; }
.mk-subcats { margin: 4px 0 8px; }
.mk-subcats a { display: flex; justify-content: space-between; padding: 5px 8px 5px 66px; font-size: 13.5px; color: #4b5563; }
[dir="rtl"] .mk-subcats a { padding: 5px 66px 5px 8px; }
.mk-subcats a.is-active, .mk-subcats a:hover { color: var(--acl-primary); }
.mk-subcats em { font-style: normal; color: #9aa0ac; font-size: 13px; }

.mk-reset { font-size: 12.5px; font-weight: 600; color: var(--acl-primary); }
.mk-filter-group { border-top: 0; padding: 10px 0; }
.mk-filter-group summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--acl-ink); margin-bottom: 8px; }
.mk-filter-group summary::-webkit-details-marker { display: none; }
.mk-filter-group summary i { font-size: 11px; color: var(--acl-muted); transition: transform .2s; }
.mk-filter-group:not([open]) summary i { transform: rotate(180deg); }
.mk-check { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; font-size: 13px; color: #374151; cursor: pointer; margin: 0; }
.mk-check input { margin-top: 2px; width: 15px; height: 15px; accent-color: var(--acl-primary); flex: 0 0 15px; }
.mk-check span { flex: 1; line-height: 1.35; }
.mk-check em { font-style: normal; font-size: 11px; color: #9aa0ac; }
.mk-check .mk-stars { flex: 0 0 auto; color: #f59e0b; font-size: 11px; letter-spacing: 1px; }
.mk-segment { display: flex; justify-content: space-between; gap: 6px; padding-top: 14px; }
.mk-segment label { margin: 0; cursor: pointer; }
.mk-segment input { position: absolute; opacity: 0; pointer-events: none; }
.mk-segment span { font-size: 12.5px; color: #6b7080; }
.mk-segment input:checked + span { color: var(--acl-primary); font-weight: 600; }
.mk-segment input:focus-visible + span { outline: 2px solid var(--acl-accent); outline-offset: 2px; }
.mk-apply { width: 100%; margin-top: 14px; border: 0; border-radius: 4px; background: #e6defc; color: #4c1d95; font-weight: 600; font-size: 14px; padding: 11px; font-family: inherit; }
.mk-apply:hover { background: #d9cdfb; }
.mk-clear { display: block; text-align: center; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--acl-muted); }

.mk-tender { border-radius: 6px; padding: 18px 16px 20px; color: rgba(255, 255, 255, .85); background: linear-gradient(160deg, #6d28d9, #5b21b6 60%, #4c1d95); }
.mk-tender-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.mk-tender h3 { color: #fff !important; font-size: 17px !important; font-weight: 600 !important; margin: 14px 0 8px !important; letter-spacing: 0 !important; }
.mk-tender p { font-size: 12.5px; line-height: 1.5; }
.mk-tender-btn { width: 100%; margin-top: 14px; border: 0; border-radius: 4px; background: #fff; color: #4c1d95; font-weight: 600; font-size: 13px; padding: 9px; font-family: inherit; }

/* Groups & grids */
.mk-main { min-width: 0; }
.mk-group + .mk-group { margin-top: 56px; }
.mk-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 8px 0 18px; }
.mk-group-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--acl-primary); }
.mk-group-head h2 { font-size: 24px !important; font-weight: 600 !important; line-height: 1.3 !important; margin-top: 6px !important; max-width: 560px; letter-spacing: -0.01em !important; }
.mk-group-head p { font-size: 13px; line-height: 1.5; color: var(--acl-text); max-width: 540px; margin-top: 14px; }
.mk-view-all { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--acl-primary); white-space: nowrap; }
.mk-view-all.is-pill { padding: 8px 22px; border-radius: 999px; background: #e9e8f2; }
[dir="rtl"] .mk-view-all i, [dir="rtl"] .mk-custom-rfq .bi-arrow-right { transform: scaleX(-1); display: inline-block; }

.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-grid-wide, .mk-grid-list { grid-template-columns: repeat(2, 1fr); }

/* Card */
.mk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eceef3; border-radius: 10px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.mk-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(40, 20, 100, .45); }
.mk-card-img { position: relative; height: 190px; background: #eef0f4; }
.mk-card-img img { width: 100%; height: 100%; object-fit: cover; }
.mk-ribbon { position: absolute; top: 10px; inset-inline-start: 10px; padding: 3px 8px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: #fff; background: var(--acl-primary); }
.mk-ribbon-green { background: #15803d; }
.mk-ribbon-lilac { background: #ede7ff; color: #4c1d95; }
.mk-avail { position: absolute; top: 10px; inset-inline-end: 10px; padding: 3px 8px; font-size: 11px; color: #1f2937; background: #fff; }
.mk-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.mk-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-type { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--acl-primary); }
.mk-sku { font-size: 11px; color: #8a8f9c; white-space: nowrap; }
.mk-card h3 { font-size: 16.5px !important; font-weight: 600 !important; line-height: 1.45 !important; letter-spacing: 0 !important; margin-top: 8px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #6b7080; }
.mk-rating .mk-stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; }
.mk-rating strong { color: var(--acl-ink); font-weight: 600; }
.mk-specs { margin: 14px 0 0; padding: 10px 8px; border-radius: 4px; background: #f6f7fa; display: grid; gap: 4px; }
.mk-specs div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.mk-specs dt { font-weight: 400; color: #8a8f9c; }
.mk-specs dd { margin: 0; color: var(--acl-ink); text-align: end; }
.mk-specs dd.is-highlight, .mk-stat-boxes strong.is-highlight { color: var(--acl-primary); }
.mk-summary { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #4b5563; }
.mk-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.mk-price small { display: block; font-size: 10px; text-transform: uppercase; color: #6b7080; letter-spacing: .02em; }
.mk-price strong { font-size: 19px; font-weight: 600; color: var(--acl-ink); white-space: nowrap; }
.mk-price strong span { font-size: 12px; font-weight: 400; color: #8a8f9c; margin-inline-start: 2px; }
.mk-card-foot .acl-btn { border-radius: 4px; padding: 9px 16px; font-size: 14px; gap: 6px; box-shadow: none; flex: 0 0 auto; }
.mk-card-foot .acl-btn i { font-size: 12px; }

/* Wide card */
.mk-card-wide { flex-direction: row; }
.mk-card-wide .mk-card-img { flex: 0 0 45%; height: auto; min-height: 300px; }
.mk-card-wide .mk-card-img img { position: absolute; inset: 0; }
.mk-card-wide .mk-ribbon-green { background: #14532d; }

/* Feature card */
.mk-card-feature { display: grid; grid-template-columns: 395px 1fr; gap: 24px; padding: 24px; }
.mk-card-feature:hover { transform: none; }
.mk-card-feature .mk-card-img { height: auto; min-height: 315px; border-radius: 6px; overflow: hidden; }
.mk-card-feature .mk-card-img img { position: absolute; inset: 0; }
.mk-card-feature .mk-card-img::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(91, 33, 182, .85)); }
.mk-image-note { position: absolute; z-index: 1; bottom: 16px; inset-inline-start: 16px; color: #fff; font-size: 12.5px; font-weight: 600; }
.mk-card-feature .mk-card-body { padding: 0; }
.mk-card-feature .mk-card-meta { justify-content: flex-start; }
.mk-plan-badge { padding: 3px 10px; border-radius: 4px; background: #ede7ff; color: #4c1d95; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.mk-card-feature h3 { font-size: 19px !important; -webkit-line-clamp: 3; }
.mk-card-feature .mk-summary { font-size: 14.5px; color: #374151; }
.mk-stat-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mk-stat-boxes div { padding: 10px 8px; border-radius: 4px; background: #f3f4fb; }
.mk-stat-boxes small { display: block; font-size: 11px; text-transform: uppercase; color: #8a8f9c; }
.mk-stat-boxes strong { font-size: 13.5px; font-weight: 600; color: var(--acl-ink); }
.mk-stat-boxes strong.is-highlight { color: #166534; }
.mk-card-feature .mk-price strong { color: var(--acl-primary); }

/* Load more, empty, custom RFQ */
.mk-load { text-align: center; margin-top: 64px; }
.mk-load-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 40px; border: 0; border-radius: 4px; background: #e6e3fb; color: #4c1d95; font-weight: 600; font-size: 14px; font-family: inherit; }
.mk-load-btn:hover { background: #d9d4f7; color: #4c1d95; }
.mk-load-btn:disabled { opacity: .6; }
.mk-load p { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; font-size: 12.5px; color: #4b5563; }
.mk-progress { width: 96px; height: 5px; border-radius: 99px; background: #e6e3fb; overflow: hidden; }
.mk-progress span { display: block; height: 100%; background: var(--acl-primary); border-radius: 99px; }
.mk-empty { text-align: center; padding: 64px 24px; background: #fff; border-radius: 12px; }
.mk-empty > i { font-size: 32px; color: var(--acl-accent); }
.mk-empty h3 { font-size: 20px !important; margin: 14px 0 8px !important; }
.mk-empty p { color: var(--acl-muted); margin-bottom: 20px !important; }
.mk-custom-rfq { display: flex; align-items: center; gap: 18px; margin-top: 64px; padding: 24px; border-radius: 6px; background: linear-gradient(100deg, #e1e1fb, #ece9fb 60%, #f5f3fd); }
.mk-custom-rfq-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 4px; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; align-self: flex-start; }
.mk-custom-rfq div { flex: 1; }
.mk-custom-rfq h3 { font-size: 19px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.mk-custom-rfq p { font-size: 15px; line-height: 1.5; color: #4b5563; margin-top: 6px; max-width: 460px; }
.mk-custom-rfq .acl-btn { border-radius: 4px; box-shadow: none; flex: 0 0 auto; }

/* RFQ modal */
.mk-rfq { font-family: var(--acl-font); border-radius: 14px; }
.mk-rfq .modal-title { font-weight: 700; color: var(--acl-ink); }
.mk-rfq-product { margin: 4px 0 0; font-size: 13px; color: var(--acl-primary); font-weight: 500; }
.mk-rfq .form-label { font-size: 13px; font-weight: 600; color: #374151; }

@media (max-width: 1399px) {
    .mk-grid { grid-template-columns: repeat(2, 1fr); }
    .mk-card-feature { grid-template-columns: 1fr; }
    .mk-card-feature .mk-card-img { min-height: 260px; }
}

@media (max-width: 1199px) {
    .mk-board { grid-template-columns: 1fr; padding: 16px; }
    .mk-grid-wide, .mk-grid-list { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .mk-hero { padding: 48px 0; }
    .mk-hero-inner { flex-direction: column; align-items: flex-start; }
    .mk-hero h1 { font-size: 28px !important; }
    .mk-catalog { padding: 40px 0 72px; }
    .mk-search { flex-wrap: wrap; }
    .mk-search-cat, .mk-search-input { flex: 1 1 100%; }
    .mk-search-cat select { max-width: none; width: 100%; }
    .mk-search-btn { flex: 1 1 100%; padding: 12px; }
    .mk-results-head { margin-top: 36px; }
    .mk-board { border-radius: 16px; padding: 12px; gap: 20px; }
    .mk-grid { grid-template-columns: 1fr; }
    .mk-group-head { flex-direction: column; align-items: flex-start; }
    .mk-card-wide { flex-direction: column; }
    .mk-card-wide .mk-card-img { flex-basis: auto; min-height: 200px; }
    .mk-card-feature { padding: 16px; }
    .mk-stat-boxes { grid-template-columns: 1fr; }
    .mk-custom-rfq { flex-direction: column; align-items: flex-start; }
    .mk-card-foot { flex-wrap: wrap; }
}

/* ==========================================================================
   Submit Requirements form — classes prefixed .rq-
   ========================================================================== */
.rq-page { background: #f8f7fd; padding: 70px 0 110px; }
.rq-page .acl-container { max-width: 1232px; }
.rq-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.rq-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #ede5ff; color: var(--acl-primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.rq-head h2 { font-size: 48px !important; font-weight: 700 !important; margin-top: 16px !important; }
.rq-subtitle { font-size: 20px; color: #374151; margin-top: 10px !important; }
.rq-lead { font-size: 16px; line-height: 1.5; color: var(--acl-muted); margin-top: 18px !important; }
.rq-confidential { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 18px; border-radius: 12px; border: 1px solid #e6dbfd; background: #f6f1ff; text-align: start; }
.rq-confidential > i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.rq-confidential p { font-size: 14px; line-height: 1.45; color: #3b1f73; }
.rq-confidential strong { color: var(--acl-primary); font-weight: 600; }

.rq-form { display: grid; gap: 32px; }
.rq-product { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid #ddd0fd; background: #fff; }
.rq-product img { width: 84px; height: 56px; border-radius: 8px; object-fit: cover; }
.rq-product div { flex: 1; min-width: 0; }
.rq-product small { display: block; font-size: 12px; color: var(--acl-muted); }
.rq-product strong { display: block; color: var(--acl-ink); font-weight: 600; }
.rq-product span { font-size: 12px; color: var(--acl-muted); }
.rq-product-remove { font-size: 13px; color: var(--acl-muted); white-space: nowrap; }
.rq-product-remove:hover { color: #dc2626; }

.rq-card { background: #fff; border: 1px solid #ecebf3; border-radius: 22px; padding: 44px 40px; }
.rq-card-head { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid #f0eff5; }
.rq-step { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: #f1ebff; color: var(--acl-primary); font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.rq-card-head h3 { font-size: 26px !important; font-weight: 600 !important; letter-spacing: -0.01em !important; }
.rq-card-head p { font-size: 14px; color: #4b5563; margin-top: 2px !important; }
.rq-divider { height: 1px; background: #f0eff5; margin: 26px 0; }

.rq-grid { display: grid; gap: 22px 24px; }
.rq-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rq-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rq-cols-4 { grid-template-columns: repeat(4, 1fr); }
.rq-cols-5 { grid-template-columns: repeat(5, 1fr); }
.rq-span-2 { grid-column: span 2; }
.rq-field label, .rq-fieldset legend, .rq-label { display: block; font-size: 14px; font-weight: 500; color: #1f2937; margin-bottom: 10px; float: none; width: auto; padding: 0; }
.rq-field label em, .rq-fieldset legend em { font-style: normal; color: #e11d48; }
.rq-field input:not([type=file]), .rq-field textarea, .rq-phone {
    width: 100%; border: 1px solid #e3e5eb; border-radius: 8px; background: #fff; padding: 12px 16px; font-size: 14px; color: var(--acl-ink); font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.rq-field textarea { min-height: 86px; resize: vertical; }
.rq-field input::placeholder, .rq-field textarea::placeholder { color: #9aa0ac; }
.rq-field input:focus, .rq-field textarea:focus, .rq-phone:focus-within { outline: 0; border-color: var(--acl-accent); box-shadow: 0 0 0 3px rgba(139, 92, 246, .15); }
.rq-field input[type=file] { font-size: 14px; }
.rq-phone { display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.rq-phone span { font-size: 13px; font-weight: 600; color: #6b7080; }
.rq-phone input { border: 0 !important; box-shadow: none !important; padding: 12px 0 !important; }
.rq-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rq-hint { display: block; font-size: 14px; font-weight: 400 !important; color: #4b5563; margin: 0 0 12px; }
.rq-error { display: block; margin-top: 6px; font-size: 12.5px; color: #dc2626; }

.rq-sub { display: flex; align-items: center; gap: 8px; font-size: 16px !important; font-weight: 600 !important; letter-spacing: 0 !important; margin: 28px 0 14px !important; }
.rq-card-head + .rq-sub { margin-top: 0 !important; }
.rq-sub i { color: var(--acl-primary); }

.rq-options { display: grid; gap: 12px; }
.rq-option { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 14px; border: 1px solid #e3e5eb; border-radius: 8px; background: #fff; font-size: 14px; color: #374151; cursor: pointer; margin: 0; transition: border-color .2s, background-color .2s; }
.rq-option:hover { border-color: #cdb8fb; }
.rq-option input { flex: 0 0 16px; width: 16px; height: 16px; accent-color: var(--acl-primary); margin: 0; }
.rq-option:has(input:checked) { border-color: var(--acl-accent); background: #f8f4ff; color: #3b1f73; }
.rq-option:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(139, 92, 246, .2); }
.rq-inline { display: flex; gap: 24px; margin-bottom: 18px; }
.rq-inline label { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0; cursor: pointer; }
.rq-inline input { accent-color: var(--acl-primary); width: 16px; height: 16px; }

.rq-submit { border-radius: 22px; border: 1px solid #e6dbfd; background: linear-gradient(120deg, #fff, #f6f0ff); padding: 32px; }
.rq-consent { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #1f2937; cursor: pointer; margin: 0; }
.rq-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--acl-primary); }
.rq-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid #ece4fb; }
.rq-secure { font-size: 12.5px; color: #6b7080; }
.rq-secure i { color: var(--acl-primary); margin-inline-end: 4px; }
.rq-submit .acl-btn { border-radius: 14px; padding: 16px 40px; }
[dir="rtl"] .rq-submit .bi-arrow-right { transform: scaleX(-1); }

.rq-success { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid #d9f2e6; border-radius: 22px; padding: 56px 32px; }
.rq-success > i { font-size: 48px; color: #10b981; }
.rq-success h3 { font-size: 26px !important; margin: 16px 0 10px !important; }
.rq-success p { color: #4b5563; line-height: 1.55; }
.rq-ref { margin-top: 16px !important; }
.rq-ref strong { color: var(--acl-primary); letter-spacing: .04em; }
.rq-success-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.acl-btn-ghost-dark { background: transparent; border: 1px solid #ddd6f3; color: var(--acl-primary) !important; }
.acl-btn-ghost-dark:hover { background: #f6f1ff; }

@media (max-width: 1199px) {
    .rq-cols-4, .rq-cols-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .rq-page { padding: 40px 0 72px; }
    .rq-head h2 { font-size: 32px !important; }
    .rq-subtitle { font-size: 17px; }
    .rq-card { padding: 24px 18px; border-radius: 16px; }
    .rq-card-head h3 { font-size: 21px !important; }
    .rq-cols-2, .rq-cols-3, .rq-cols-4, .rq-cols-5 { grid-template-columns: 1fr; }
    .rq-options.rq-cols-3, .rq-options.rq-cols-4, .rq-options.rq-cols-5 { grid-template-columns: 1fr 1fr; }
    .rq-span-2 { grid-column: auto; }
    .rq-submit { padding: 22px 18px; }
    .rq-consent { font-size: 14px; }
    .rq-submit .acl-btn { width: 100%; justify-content: center; }
}

@media (max-width: 479px) {
    .rq-options.rq-cols-3, .rq-options.rq-cols-4, .rq-options.rq-cols-5 { grid-template-columns: 1fr; }
}

/* Join Now (reuses the .rq- form styles) */
.rq-required { font-style: normal; color: #e11d48; font-size: 18px; }
.rq-declaration { font-size: 22px !important; font-weight: 600 !important; margin-bottom: 14px !important; }

/* ==========================================================================
   Contact Us
   ========================================================================== */
.ct-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.ct-main .acl-lead { margin: 28px 0 32px; font-size: 16px; }
.ct-channels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-channels li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--acl-line); border-radius: 14px; background: #fff; min-width: 0; }
.ct-channel-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--acl-accent-soft); color: var(--acl-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.ct-channels small { display: block; font-size: 12px; color: var(--acl-muted); }
.ct-channels div > a, .ct-channels div > span { display: block; font-size: 15px; font-weight: 600; color: var(--acl-ink); overflow-wrap: anywhere; }
.ct-channels a:hover { color: var(--acl-primary); }
[dir="rtl"] .ct-channels a[dir="ltr"] { text-align: right; }
.ct-form-card { background: #fff; border: 1px solid var(--acl-line); border-radius: 22px; padding: 36px; box-shadow: var(--acl-shadow); }
.ct-form-card h3 { font-size: 26px !important; font-weight: 700 !important; }
.ct-form-card > p { font-size: 14px; color: var(--acl-muted); margin: 6px 0 24px !important; }
.ct-submit { margin-top: 24px; width: 100%; justify-content: center; border-radius: 12px; }
.ct-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-path { display: flex; flex-direction: column; }
.ct-path p { flex: 1; }
.ct-path-link { margin-top: 20px; font-weight: 600; font-size: 15px; color: var(--acl-primary); }
[dir="rtl"] .ct-path-link i { display: inline-block; transform: scaleX(-1); }
.ct-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.85); }

@media (max-width: 1199px) {
    .ct-grid { grid-template-columns: 1fr; gap: 40px; }
    .ct-paths { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .ct-channels, .ct-paths { grid-template-columns: 1fr; }
    .ct-form-card { padding: 24px 18px; }
    .ct-map iframe { height: 300px; }
}
.acl-section-head.acl-center { margin-inline: auto; }

/* Policy pages */
.policy-body { max-width: 860px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--acl-text); }
.policy-body h2 { font-size: 22px !important; font-weight: 700 !important; margin: 36px 0 12px !important; }
.policy-body h2:first-child { margin-top: 0 !important; }
.policy-body p { margin-bottom: 12px !important; }
.policy-body ul { padding-inline-start: 22px; margin-bottom: 12px; }
.policy-body li { margin-bottom: 6px; }
.policy-updated { margin-top: 40px !important; font-size: 13px; color: var(--acl-muted); }

/* ==========================================================================
   Smoothness pass: scrolling, header, motion, spacing rhythm
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Header lifts off the page once you scroll. */
.acl-header { transition: box-shadow .3s ease, background-color .3s ease; }
.acl-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(30, 15, 80, .35); }
.acl-header.is-scrolled .acl-header-inner { border-bottom-color: transparent; }
.acl-header-inner { transition: height .3s ease; }
@media (min-width: 1200px) {
    .acl-header.is-scrolled .acl-header-inner { height: 84px; }
}

/* Consistent, softer interactions. */
.acl-btn { transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.acl-btn:hover { transform: translateY(-2px); }
.acl-btn:active { transform: translateY(0); }
.acl-btn-primary:hover { box-shadow: 0 14px 28px -12px rgba(107, 43, 217, .75); }
.acl-btn:focus-visible, .acl-market-card:focus-visible, .acl-nav a:focus-visible { outline: 3px solid rgba(139, 92, 246, .45); outline-offset: 3px; }
.acl-service, .acl-photo-card, .mk-card, .acl-market-card { will-change: transform; }
.acl-service:hover { transform: translateY(-4px); }
.acl-service { transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.acl-media-frame img, .acl-join-photo img, .acl-hero-card > img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.acl-media-frame:hover img, .acl-join-photo:hover img { transform: scale(1.03); }

/* Home rhythm: the hero heading block breathes, and section gaps are even. */
.acl-hero-brand { margin-bottom: 14px; }
.acl-hero h1 { line-height: 1.1; }
.acl-split h2 { line-height: 1.2; }
.acl-market-intro .acl-icon-tile { margin-bottom: 28px; }
.acl-market-intro .acl-kicker { margin-bottom: 18px; }
.acl-market-intro .acl-lead { margin: 28px 0 40px; }
.acl-sectors { padding: 110px 0; }
.acl-integration-head { margin-bottom: 64px; }
.acl-join .acl-lead { margin: 28px 0 22px; }

/* Marketplace preview: the featured panel cross-fades when a card is picked. */
.acl-market-feature > * { transition: opacity .25s ease; }
.acl-market-feature.is-swapping > * { opacity: 0; }

@media (max-width: 767px) {
    html { scroll-padding-top: 90px; }
    .acl-sectors { padding: 72px 0; }
    .acl-hero-brand { margin-bottom: 8px; }
}
.acl-market-feature h3 { font-size: 17px !important; line-height: 1.35 !important; letter-spacing: 0 !important; }

/* About - What We Offer: compact two-column list that fills column-first, level with the photo. */
.acl-offer .acl-split { align-items: center; }
.acl-offer .acl-lead { font-size: 17px; margin: 24px 0 30px; max-width: 560px; }
.acl-offer-list {
    grid-template-rows: repeat(var(--offer-rows, 7), auto);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    column-gap: 32px;
    row-gap: 14px;
    max-width: 600px;
}
/* !important: an older theme rule otherwise overrides the list text size. */
.acl-offer-list li { align-items: flex-start; font-size: 13.5px !important; line-height: 1.35 !important; font-weight: 500; color: #2b2f3a; }
.acl-offer-list li::before { margin-top: 0; }
.acl-offer .acl-join-photo { aspect-ratio: 700 / 600; max-height: 600px; }

@media (max-width: 767px) {
    .acl-offer-list { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: 1fr; }
    .acl-offer-list li { font-size: 14px !important; }
}
[dir="rtl"] .acl-offer-list { row-gap: 20px; }
[dir="rtl"] .acl-offer-list li { font-size: 15.5px !important; line-height: 1.5 !important; }

/* Section head whose title and description each stay on one line on desktop (wraps on smaller screens). */
.acl-head-wide { max-width: none; }
.acl-head-wide .acl-lead { max-width: none; }
@media (min-width: 1200px) {
    .acl-head-wide h2, .acl-head-wide .acl-lead { white-space: nowrap; }
}

/* ==========================================================================
   Heading scale (tablet/desktop): ~20% smaller than the original sizes.
   Phone sizes (<768px) are unchanged. Kept last so it overrides the per-section sizes above.
   ========================================================================== */
@media (min-width: 768px) {
    .acl-hero h1, .acl-hero-brand { font-size: 46px !important; }
    .acl-display, .acl-split .acl-display, .acl-integration-head h2, .acl-join h2, .acl-commitment h2 { font-size: 48px !important; }
    .rq-head h2 { font-size: 40px !important; }
    .acl-page-banner h1, .acl-section-title { font-size: 34px !important; }
    .acl-split h2, .acl-market-intro h2, .acl-sectors-title, .acl-cta-band h2, .mk-hero h1 { font-size: 30px !important; }
    .acl-svc-anchor h3 { font-size: 28px !important; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .acl-hero h1, .acl-hero-brand { font-size: 40px !important; }
    .acl-display, .acl-split .acl-display, .acl-integration-head h2, .acl-join h2, .acl-commitment h2 { font-size: 40px !important; }
}

/* About - Our Partners: icon cards, 4 per row, last row centred. */
.acl-partner-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.acl-partner-card {
    flex: 0 0 calc((100% - 60px) / 4);
    display: flex; align-items: center; gap: 16px;
    min-height: 92px; padding: 18px 20px;
    background: #fff; border: 1px solid var(--acl-line); border-radius: 16px;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.acl-partner-card:hover { border-color: var(--acl-accent); transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(107, 43, 217, .5); }
.acl-partner-icon {
    flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px;
    background: var(--acl-accent-soft); color: var(--acl-primary);
    display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
    transition: background-color .3s ease, color .3s ease;
}
.acl-partner-card:hover .acl-partner-icon { background: var(--acl-primary); color: #fff; }
.acl-partner-name { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--acl-ink); }

@media (max-width: 1199px) { .acl-partner-card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 767px) {
    .acl-partner-grid { gap: 12px; }
    .acl-partner-card { flex-basis: calc((100% - 12px) / 2); min-height: 76px; padding: 14px; gap: 12px; }
    .acl-partner-icon { flex-basis: 42px; width: 42px; height: 42px; font-size: 18px; border-radius: 12px; }
    .acl-partner-name { font-size: 14px; }
}
@media (max-width: 479px) { .acl-partner-card { flex-basis: 100%; } }
.acl-partner-card { background: #f9fafb; }
.acl-partner-card:hover { background: #fff; }

/* About - Our Commitment: brand gradient panel with glows, dot texture, pillars and actions. */
.acl-commitment {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: 32px; padding: 96px 56px 88px; text-align: center; color: #fff;
    background:
        radial-gradient(520px 320px at 12% 0%, rgba(167, 139, 250, .45), transparent 70%),
        radial-gradient(480px 360px at 92% 100%, rgba(236, 72, 153, .22), transparent 70%),
        linear-gradient(135deg, #2e1065 0%, #4c1d95 45%, #6b2bd9 100%);
    box-shadow: 0 40px 80px -40px rgba(46, 16, 101, .65);
}
.acl-commitment::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.acl-commitment-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
    font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff;
}
[dir="rtl"] .acl-commitment-badge { letter-spacing: 0; }
.acl-commitment h2 { color: #fff !important; font-weight: 700 !important; margin-top: 20px !important; }
.acl-commitment .acl-commitment-text { max-width: 860px; margin: 22px auto 0; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .82); }

.acl-commitment-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px auto 0; max-width: 1080px; text-align: start; }
.acl-commitment-pillar {
    padding: 26px 24px; border-radius: 20px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: background-color .3s ease, transform .3s ease, border-color .3s ease;
}
.acl-commitment-pillar:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); transform: translateY(-4px); }
.acl-commitment-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--acl-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.acl-commitment-pillar h3 { color: #fff !important; font-size: 20px !important; font-weight: 600 !important; letter-spacing: 0 !important; margin-top: 18px !important; }
.acl-commitment-pillar p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .75); }

.acl-commitment-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.acl-commitment-actions .acl-btn { padding: 15px 30px; }
.acl-commitment-actions .acl-btn-ghost { border-color: rgba(255, 255, 255, .45); }
[dir="rtl"] .acl-commitment-actions .bi-arrow-right { transform: scaleX(-1); }

@media (max-width: 991px) {
    .acl-commitment-pillars { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 767px) {
    .acl-commitment { border-radius: 24px; padding: 56px 20px 48px; }
    .acl-commitment .acl-commitment-text { font-size: 15.5px; }
    .acl-commitment-pillars { margin-top: 36px; }
    .acl-commitment-actions .acl-btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Feature cards (Finance services, Recruitment services)
   ========================================================================== */
.acl-feature-section .acl-section-head { margin-bottom: 48px; }
.acl-feature-section .acl-section-head .acl-lead { margin-top: 16px; }
.acl-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.acl-feature-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    padding: 28px 24px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--acl-line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.acl-feature-card::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 4px;
    background: linear-gradient(90deg, var(--acl-primary), #c084fc);
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
[dir="rtl"] .acl-feature-card::before { transform-origin: right; }
.acl-feature-card:hover { transform: translateY(-6px); border-color: #ddd0fd; box-shadow: 0 24px 48px -28px rgba(107, 43, 217, .55); }
.acl-feature-card:hover::before { transform: scaleX(1); }
.acl-feature-top { display: flex; align-items: flex-start; justify-content: space-between; }
.acl-feature-icon {
    width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff; background: linear-gradient(135deg, #8b5cf6, var(--acl-primary-dark));
    box-shadow: 0 12px 22px -12px rgba(107, 43, 217, .8);
}
.acl-feature-num { font-size: 15px; font-weight: 700; color: #d9cdf7; letter-spacing: .04em; transition: color .3s ease; }
.acl-feature-card:hover .acl-feature-num { color: var(--acl-primary); }
.acl-feature-card h3 { font-size: 19px !important; font-weight: 600 !important; line-height: 1.3 !important; letter-spacing: 0 !important; margin-top: 24px !important; }
.acl-feature-card p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--acl-muted); }

.acl-cta-strip {
    display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 26px 30px; border-radius: 20px;
    background: linear-gradient(100deg, #efe8fd, #f8f5ff 60%, #fff); border: 1px solid #e6dbfd;
}
.acl-cta-strip-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.acl-cta-strip div { flex: 1; }
.acl-cta-strip h3 { font-size: 20px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.acl-cta-strip p { margin-top: 4px; font-size: 15px; color: var(--acl-text); }
.acl-cta-strip .acl-btn { flex: 0 0 auto; }
[dir="rtl"] .acl-cta-strip .bi-arrow-right { transform: scaleX(-1); }

@media (max-width: 1199px) { .acl-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
    .acl-feature-grid { grid-template-columns: 1fr; gap: 14px; }
    .acl-feature-card { padding: 22px 20px; }
    .acl-cta-strip { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
    .acl-cta-strip .acl-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Photo cards (Training programs, Events)
   ========================================================================== */
.acl-pcard-section .acl-section-head { margin-bottom: 48px; }
.acl-pcard-section .acl-section-head .acl-lead { margin-top: 16px; }
.acl-pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acl-pcard {
    display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff;
    border: 1px solid var(--acl-line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.acl-pcard:hover { transform: translateY(-6px); border-color: #ddd0fd; box-shadow: 0 26px 50px -30px rgba(107, 43, 217, .55); }
.acl-pcard-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.acl-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.acl-pcard:hover .acl-pcard-img img { transform: scale(1.06); }
.acl-pcard-img::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(30, 15, 70, .45)); pointer-events: none; }
.acl-pcard-num {
    position: absolute; z-index: 1; top: 14px; inset-inline-start: 14px;
    padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
    color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.acl-pcard-body { position: relative; padding: 22px 22px 26px; }
.acl-pcard-body::before { content: ""; position: absolute; top: 0; inset-inline-start: 22px; width: 36px; height: 3px; border-radius: 3px; background: var(--acl-primary); transition: width .35s ease; }
.acl-pcard:hover .acl-pcard-body::before { width: 72px; }
.acl-pcard h3 { font-size: 19px !important; font-weight: 600 !important; line-height: 1.3 !important; letter-spacing: 0 !important; margin-top: 10px !important; transition: color .3s ease; }
.acl-pcard:hover h3 { color: var(--acl-primary) !important; }
.acl-pcard p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--acl-muted); }

@media (max-width: 1199px) { .acl-pcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .acl-pcard-grid { grid-template-columns: 1fr; gap: 16px; } }
.acl-pcard-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.acl-pcard-grid-4 .acl-pcard h3 { font-size: 18px !important; }
@media (max-width: 1199px) { .acl-pcard-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .acl-pcard-grid-4 { grid-template-columns: 1fr; } }
/* Contact channel icon tiles: keep the icon centred in its tile (theme styles otherwise leak in). */
.ct-channels .ct-channel-icon { display: inline-flex !important; align-items: center; justify-content: center; }
.ct-channels .ct-channel-icon i { display: block; line-height: 1; font-size: 19px; color: var(--acl-primary); }
.ct-channels li:hover .ct-channel-icon { background: var(--acl-primary); }
.ct-channels li:hover .ct-channel-icon i { color: #fff; }
.ct-channel-icon, .ct-channel-icon i { transition: background-color .25s ease, color .25s ease; }
.ct-channels li { transition: border-color .25s ease, box-shadow .25s ease; }
.ct-channels li:hover { border-color: #ddd0fd; box-shadow: 0 14px 30px -22px rgba(107, 43, 217, .45); }

/* ==========================================================================
   Marketplace - short product order page (.od-)
   ========================================================================== */
.od-page { padding-top: 48px; }
.od-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--acl-primary); }
[dir="rtl"] .od-back i { transform: scaleX(-1); }
.od-grid { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: start; }
.od-summary { position: sticky; top: 110px; background: #fff; border: 1px solid var(--acl-line); border-radius: 20px; overflow: hidden; }
.od-product-img { aspect-ratio: 4 / 3; background: #eef0f4; }
.od-product-img img { width: 100%; height: 100%; object-fit: cover; }
.od-product-body { padding: 22px; }
.od-product-body h2 { font-size: 20px !important; font-weight: 600 !important; line-height: 1.4 !important; letter-spacing: 0 !important; margin: 6px 0 4px !important; }
.od-price, .od-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef0f4; }
.od-price span, .od-total > span { font-size: 13px; color: var(--acl-muted); }
.od-price strong { font-size: 20px; font-weight: 600; color: var(--acl-ink); }
.od-price small { font-size: 12px; font-weight: 400; color: var(--acl-muted); margin-inline-start: 2px; }
.od-total { margin-top: 10px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--acl-accent-soft); }
.od-total strong { font-size: 22px; font-weight: 700; color: var(--acl-primary); }
.od-note { margin-top: 12px !important; font-size: 12.5px; line-height: 1.5; color: var(--acl-muted); }

.od-form { padding: 32px; }
.od-form-title { font-size: 22px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.od-form-text { margin: 4px 0 22px !important; font-size: 14px; color: var(--acl-muted); }
.od-qty { margin-bottom: 22px; }
.od-stepper { display: inline-flex; align-items: stretch; border: 1px solid #e3e5eb; border-radius: 10px; overflow: hidden; }
.od-stepper button { width: 46px; border: 0; background: #f6f6fa; color: var(--acl-ink); font-size: 16px; }
.od-stepper button:hover { background: var(--acl-accent-soft); color: var(--acl-primary); }
.rq-field .od-stepper input { width: 110px; border: 0 !important; border-radius: 0 !important; text-align: center; font-weight: 600; font-size: 16px; box-shadow: none !important; -moz-appearance: textfield; }
.od-stepper input::-webkit-outer-spin-button, .od-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.od-submit { width: 100%; justify-content: center; margin-top: 24px; border-radius: 12px; }
.od-alt { margin-top: 16px !important; text-align: center; font-size: 13.5px; color: var(--acl-muted); }
.od-alt a { color: var(--acl-primary); font-weight: 600; }

@media (max-width: 991px) {
    .od-grid { grid-template-columns: 1fr; }
    .od-summary { position: static; }
}
@media (max-width: 767px) { .od-form { padding: 22px 18px; } }

/* ==========================================================================
   Home - Integration with digital platforms (dark band, glass cards)
   ========================================================================== */
.int-section {
    position: relative; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(700px 420px at 0% 0%, rgba(139, 92, 246, .35), transparent 70%),
        radial-gradient(600px 420px at 100% 100%, rgba(236, 72, 153, .16), transparent 70%),
        linear-gradient(160deg, #150a2b 0%, #2a1060 55%, #3b1a7a 100%);
}
.int-section::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.int-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.int-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
[dir="rtl"] .int-badge { letter-spacing: 0; }
.int-head h2 { color: #fff !important; font-size: 44px !important; line-height: 1.2 !important; font-weight: 700 !important; margin-top: 18px !important; }
.int-highlight { background: linear-gradient(90deg, #c4b5fd, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.int-head-side h3 { color: #fff !important; font-size: 21px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.int-head-side p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.int-head-side .acl-btn { margin-top: 22px; }
[dir="rtl"] .int-head-side .bi-arrow-right { transform: scaleX(-1); }

.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.int-grid[hidden] { display: none; }
.int-card {
    position: relative; display: flex; flex-direction: column; padding: 26px 24px 28px; border-radius: 20px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.int-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: rgba(196, 181, 253, .55); box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .7); }
.int-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.int-card-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 23px; color: #fff; background: linear-gradient(135deg, #a78bfa, #6b2bd9); box-shadow: 0 12px 24px -12px rgba(139, 92, 246, .9); }
.int-card-icon i { color: #fff; }
.int-card-num { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .3); transition: color .3s ease; }
.int-card:hover .int-card-num { color: #c4b5fd; }
.int-card h4 { color: #fff !important; font-size: 18.5px !important; font-weight: 600 !important; line-height: 1.3 !important; letter-spacing: 0 !important; margin-top: 22px !important; }
.int-card p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .66); }

@media (max-width: 1199px) {
    .int-head { grid-template-columns: 1fr; gap: 20px; }
    .int-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .int-head { margin-bottom: 36px; }
    .int-head h2 { font-size: 30px !important; }
    .int-grid { grid-template-columns: 1fr; gap: 14px; }
    .int-card { padding: 22px 20px; }
}

/* ==========================================================================
   User area (.ud-): layout, dashboard, requests, legacy forms
   ========================================================================== */
.ud-page { background: #f8f7fd; padding: 48px 0 100px; }
.ud-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.ud-layout-guest { grid-template-columns: 1fr; }
.ud-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.ud-profile { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--acl-line); border-radius: 18px; }
.ud-avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #8b5cf6, var(--acl-primary-dark)); }
.ud-profile-text { min-width: 0; display: grid; gap: 2px; }
.ud-profile-text strong { color: var(--acl-ink); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ud-profile-text small { color: var(--acl-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ud-company i { margin-inline-end: 4px; }
.ud-nav { display: grid; padding: 8px; background: #fff; border: 1px solid var(--acl-line); border-radius: 18px; }
.ud-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: #374151; transition: background-color .2s, color .2s; }
.ud-nav a i { font-size: 17px; color: #8a8f9c; transition: color .2s; }
.ud-nav a:hover { background: #f6f3fe; color: var(--acl-primary); }
.ud-nav a.is-active { background: var(--acl-accent-soft); color: var(--acl-primary); font-weight: 600; }
.ud-nav a:hover i, .ud-nav a.is-active i { color: var(--acl-primary); }
.ud-nav .ud-nav-logout { margin-top: 6px; border-top: 1px solid #f0eff5; border-radius: 0 0 12px 12px; color: #dc2626; }
.ud-nav .ud-nav-logout i { color: #dc2626; }
.ud-nav .ud-nav-logout:hover { background: #fef2f2; color: #b91c1c; }
.ud-side-cta { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #4c1d95, var(--acl-primary)); }
.ud-side-cta > i { font-size: 22px; }
.ud-side-cta strong { display: block; font-size: 14.5px; color: #fff; }
.ud-side-cta small { display: block; font-size: 12px; color: rgba(255, 255, 255, .75); }
.ud-side-cta:hover { color: #fff; filter: brightness(1.08); }

.ud-main { min-width: 0; display: grid; gap: 24px; align-content: start; }
.ud-welcome {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 32px; border-radius: 22px; color: rgba(255, 255, 255, .8);
    background: radial-gradient(420px 220px at 90% 0%, rgba(236, 72, 153, .25), transparent 70%), linear-gradient(135deg, #2e1065, #6b2bd9);
}
.ud-welcome-kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #ddd6fe; }
[dir="rtl"] .ud-welcome-kicker { letter-spacing: 0; }
.ud-welcome h2 { color: #fff !important; font-size: 28px !important; font-weight: 700 !important; margin: 6px 0 6px !important; }
.ud-welcome p { font-size: 15px; max-width: 520px; }
.ud-welcome .acl-btn { flex: 0 0 auto; }
[dir="rtl"] .ud-welcome .bi-arrow-right, [dir="rtl"] .ud-card-head .bi-arrow-right, [dir="rtl"] .ud-action-arrow, [dir="rtl"] .ud-partner .bi-arrow-right { transform: scaleX(-1); display: inline-block; }

.ud-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ud-stat { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--acl-line); border-radius: 18px; }
.ud-stat-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; }
.ud-stat strong { display: block; font-size: 26px; line-height: 1.1; color: var(--acl-ink); }
.ud-stat small { font-size: 13px; color: var(--acl-muted); }
.ud-stat-purple .ud-stat-icon { background: #f1ebff; color: var(--acl-primary); }
.ud-stat-blue .ud-stat-icon { background: #e0edff; color: #1d4ed8; }
.ud-stat-amber .ud-stat-icon { background: #fef3c7; color: #b45309; }
.ud-stat-green .ud-stat-icon { background: #dcfce7; color: #15803d; }

.ud-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.ud-stack { display: grid; gap: 24px; }
.ud-card { background: #fff; border: 1px solid var(--acl-line); border-radius: 20px; padding: 22px 24px; }
.ud-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ud-card-head h3 { font-size: 18px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.ud-card-head a { font-size: 13.5px; font-weight: 600; color: var(--acl-primary); white-space: nowrap; }

.ud-req { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #f0eff5; }
.ud-card-head + .ud-req { border-top: 0; padding-top: 4px; }
.ud-req-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--acl-accent-soft); color: var(--acl-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.ud-req-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ud-req-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ud-req-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.ud-req-ref { font-weight: 700; color: var(--acl-primary); letter-spacing: .03em; }
.ud-req-type { color: var(--acl-muted); }
.ud-req-main strong { font-size: 14.5px; font-weight: 600; color: var(--acl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ud-req-main small { font-size: 12.5px; color: var(--acl-muted); }

.ud-pill { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ud-pill-blue { background: #e0edff; color: #1d4ed8; }
.ud-pill-amber { background: #fef3c7; color: #b45309; }
.ud-pill-purple { background: #f1ebff; color: var(--acl-primary); }
.ud-pill-green { background: #dcfce7; color: #15803d; }
.ud-pill-grey { background: #f1f2f6; color: #4b5563; }

.ud-empty { text-align: center; padding: 30px 12px 18px; }
.ud-empty > i { font-size: 34px; color: #c4b5fd; }
.ud-empty p { margin: 10px 0 18px !important; color: var(--acl-muted); }

.ud-actions { display: grid; gap: 10px; }
.ud-action { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #f0eff5; border-radius: 14px; color: var(--acl-ink); transition: border-color .2s, background-color .2s; }
.ud-action:hover { border-color: #ddd0fd; background: #faf8ff; color: var(--acl-ink); }
.ud-action-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--acl-accent-soft); color: var(--acl-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.ud-action > span:nth-child(2) { flex: 1; min-width: 0; }
.ud-action strong { display: block; font-size: 14px; font-weight: 600; }
.ud-action small { display: block; font-size: 12.5px; color: var(--acl-muted); }
.ud-action-arrow { color: #b8b3c8; font-size: 13px; }

.ud-partner p { font-size: 14px; color: var(--acl-text); margin-bottom: 14px !important; line-height: 1.55; }
.ud-partner-company { font-weight: 600; color: var(--acl-ink) !important; margin-bottom: 6px !important; }
.ud-ticket { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #f0eff5; font-size: 13.5px; color: var(--acl-ink); }
.ud-card-head + .ud-ticket { border-top: 0; }
.ud-ticket small { flex: 0 0 auto; color: var(--acl-muted); font-size: 12px; }
.ud-ticket:hover { color: var(--acl-primary); }
.ud-pagination { margin-top: 18px; }

/* Older Bootstrap pages (profile, password, support) shown inside the new layout */
.ud-legacy { padding: 28px; }
.ud-legacy .form-label { font-size: 14px; font-weight: 500; color: #1f2937; }
.ud-legacy .form-control, .ud-legacy .form-select { border: 1px solid #e3e5eb; border-radius: 10px; padding: 11px 14px; font-size: 14px; box-shadow: none; }
.ud-legacy .form-control:focus { border-color: var(--acl-accent); box-shadow: 0 0 0 3px rgba(139, 92, 246, .15); }
.ud-legacy .btn-base, .ud-legacy .btn--base { background: var(--acl-primary); border: 0; color: #fff; border-radius: 12px; padding: 12px 20px; font-weight: 600; }
.ud-legacy .btn-base:hover, .ud-legacy .btn--base:hover { background: var(--acl-primary-dark); color: #fff; }
.ud-legacy .card { border: 0; box-shadow: none; background: transparent; }
.ud-legacy .card-body { padding: 0; }
.ud-legacy .row.justify-content-center > [class*="col-md-6"] { flex: 0 0 100%; max-width: 560px; }
.ud-legacy .table { margin: 0; }
.ud-legacy .table th { font-size: 13px; font-weight: 600; color: var(--acl-muted); border-bottom-color: #f0eff5; }
.ud-legacy .table td { vertical-align: middle; font-size: 14px; border-color: #f0eff5; }

/* Post-signup profile step */
.ud-onboard .rq-head h2 { font-size: 36px !important; }
.ud-onboard-card { max-width: 680px; margin: 0 auto; }
.ud-onboard-types { margin: 22px 0; }
.ud-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ud-type { margin: 0; cursor: pointer; }
.ud-type input { position: absolute; opacity: 0; pointer-events: none; }
.ud-type span { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid #e3e5eb; border-radius: 12px; font-size: 14px; font-weight: 500; color: #374151; transition: border-color .2s, background-color .2s, color .2s; }
.ud-type span i { font-size: 18px; color: var(--acl-primary); }
.ud-type input:checked + span { border-color: var(--acl-primary); background: var(--acl-accent-soft); color: var(--acl-primary); }
.ud-type input:focus-visible + span { box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }

@media (max-width: 1199px) {
    .ud-layout { grid-template-columns: 1fr; }
    .ud-side { position: static; }
    .ud-nav { grid-template-columns: repeat(3, 1fr); }
    .ud-nav .ud-nav-logout { margin-top: 0; border-top: 0; border-radius: 12px; }
    .ud-side-cta { display: none; }
    .ud-stats { grid-template-columns: repeat(2, 1fr); }
    .ud-cols { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .ud-page { padding: 28px 0 64px; }
    .ud-nav { grid-template-columns: 1fr 1fr; }
    .ud-welcome { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .ud-welcome h2 { font-size: 22px !important; }
    .ud-stats { gap: 10px; }
    .ud-stat { padding: 14px; }
    .ud-stat strong { font-size: 22px; }
    .ud-card, .ud-legacy { padding: 18px 16px; }
}

/* Profile photo uploader in the user area (round avatar; click to change). */
.ud-legacy .user-profile-img { width: 120px; flex: 0 0 120px; }
.ud-legacy .image-upload-wrapper { position: relative; width: 120px; height: 120px; }
.ud-legacy .image-upload-preview { width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--acl-line), 0 10px 24px -14px rgba(53, 22, 120, .5); background-color: var(--acl-accent-soft); }
.ud-legacy .image-upload-input { position: absolute; width: 0; height: 0; opacity: 0; }
.ud-legacy .image-upload-wrapper label { position: absolute; inset: 0; margin: 0; cursor: pointer; border-radius: 50%; }
.ud-legacy .image-upload-wrapper label::after {
    content: "\F220"; font-family: "bootstrap-icons"; position: absolute; bottom: 2px; inset-inline-end: 2px;
    width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--acl-primary); color: #fff; font-size: 15px; border: 3px solid #fff;
}
.ud-legacy .profile-information { display: grid; align-content: center; gap: 2px; }
.ud-legacy .profile-information p { margin: 0; font-size: 14px; color: var(--acl-muted); }
.ud-legacy .profile-information p:first-child { font-size: 18px; font-weight: 700; color: var(--acl-ink); }

/* ==========================================================================
   Fixed header: always visible while scrolling (desktop and mobile).
   position: fixed (not sticky) because older theme styles set overflow on
   page wrappers, which silently breaks sticky positioning.
   ========================================================================== */
:root { --acl-header-h: 104px; }
.acl-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; padding: 0; width: auto; }
body.acl-page { padding-top: var(--acl-header-h); }
html { scroll-padding-top: calc(var(--acl-header-h) + 16px); }
@media (max-width: 1199px) { :root { --acl-header-h: 80px; } }
/* The scrolled header shrinks on desktop; keep the offset in step so nothing jumps. */
@media (min-width: 1200px) {
    .acl-header.is-scrolled .acl-header-inner { height: 84px; }
}
/* Mobile menu and modals must open above the fixed header. */
.offcanvas-backdrop { z-index: 1040; }
.offcanvas { z-index: 1045; }
.modal { z-index: 1055; }

/* ==========================================================================
   Header top bar: contact, language, sign in (part of the fixed header)
   ========================================================================== */
.acl-topbar { background: #3E006D; color: rgba(255, 255, 255, .8); font-size: 13px; }
.acl-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.acl-topbar-contact, .acl-topbar-actions { display: flex; align-items: center; gap: 18px; min-width: 0; }
.acl-topbar a, .acl-topbar-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 500; white-space: nowrap; background: none; border: 0; padding: 0; font-family: inherit; transition: color .2s; }
.acl-topbar a:hover, .acl-topbar-link:hover { color: #fff; }
.acl-topbar i { font-size: 13px; color: #c4b5fd; }
.acl-topbar .dropdown-toggle::after { display: none; }
.acl-topbar-caret { font-size: 10px !important; }
.acl-topbar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .25); }
.acl-topbar .acl-lang-menu { margin-top: 8px !important; }

/* The header is now top bar (40px) + main row. */
:root { --acl-header-h: 144px; }
@media (max-width: 1199px) {
    :root { --acl-header-h: 116px; }
    .acl-topbar-inner { height: 36px; }
}
@media (max-width: 767px) {
    .acl-topbar-contact { display: none; }
    .acl-topbar-inner { justify-content: flex-end; }
    .acl-topbar-hide-sm { display: none !important; }
    .acl-topbar-actions { gap: 14px; }
}

/* Language pill (top bar): "En/Ar" + translate icon, one click switches language. */
.acl-topbar a.acl-lang-pill {
    display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px;
    background: #ececf1; color: #2b2f3a; font-size: 13px; font-weight: 700; letter-spacing: .01em;
    transition: background-color .2s, color .2s, transform .2s;
}
.acl-topbar a.acl-lang-pill i { color: #2b2f3a; font-size: 15px; }
.acl-topbar a.acl-lang-pill:hover { background: #fff; color: var(--acl-primary); transform: translateY(-1px); }
.acl-topbar a.acl-lang-pill:hover i { color: var(--acl-primary); }
.acl-topbar a.acl-lang-pill:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }

/* ==========================================================================
   Mobile menu (offcanvas)
   ========================================================================== */
.acl-offcanvas { width: min(88vw, 380px) !important; border: 0 !important; background: #fff; box-shadow: 0 0 60px rgba(20, 8, 50, .35); }
.acl-oc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--acl-line); }
.acl-oc-head .acl-logo img { max-height: 40px; }
.acl-oc-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--acl-line); background: #fff; color: var(--acl-ink); font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.acl-oc-close:hover { background: var(--acl-accent-soft); color: var(--acl-primary); }
.acl-oc-body { display: flex; flex-direction: column; gap: 18px; padding: 18px; overflow-y: auto; }

.acl-oc-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acl-oc-auth .acl-btn { justify-content: center; padding: 11px 12px; font-size: 14px; border-radius: 12px; }
.acl-oc-btn-outline { background: #fff; border: 1px solid #ddd0fd !important; color: var(--acl-primary) !important; }
.acl-oc-btn-outline:hover { background: var(--acl-accent-soft); }
.acl-oc-account { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--acl-accent-soft); color: var(--acl-ink); }
.acl-oc-account:hover { color: var(--acl-ink); }
.acl-oc-avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--acl-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.acl-oc-account span:nth-child(2) { flex: 1; min-width: 0; }
.acl-oc-account strong { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acl-oc-account small { display: block; font-size: 12.5px; color: var(--acl-primary); }

.acl-offcanvas .acl-mobile-nav { display: grid; gap: 2px; }
.acl-offcanvas .acl-mobile-nav a {
    display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 0;
    font-size: 15px; font-weight: 500; color: #2b2f3a; transition: background-color .2s, color .2s;
}
.acl-offcanvas .acl-mobile-nav a > i:first-child { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: #f4f4f8; color: #6b7080; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; transition: background-color .2s, color .2s; }
.acl-offcanvas .acl-mobile-nav a span { flex: 1; }
.acl-oc-chev { font-size: 12px; color: #c3c0cf; }
[dir="rtl"] .acl-oc-chev { transform: scaleX(-1); }
.acl-offcanvas .acl-mobile-nav a:hover { background: #f8f6fe; color: var(--acl-primary); }
.acl-offcanvas .acl-mobile-nav a.active { background: var(--acl-accent-soft); color: var(--acl-primary); font-weight: 600; }
.acl-offcanvas .acl-mobile-nav a.active > i:first-child, .acl-offcanvas .acl-mobile-nav a:hover > i:first-child { background: var(--acl-primary); color: #fff; }
.acl-offcanvas .acl-mobile-nav a.active .acl-oc-chev { color: var(--acl-primary); }

.acl-oc-foot { margin-top: auto; display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--acl-line); }
.acl-oc-lang { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #2b2f3a; }
.acl-oc-lang:hover { color: var(--acl-primary); }
.acl-lang-pill-static { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #ececf1; color: #2b2f3a; font-size: 13px; font-weight: 700; }
.acl-oc-contact { display: grid; gap: 8px; }
.acl-oc-contact a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--acl-muted); overflow-wrap: anywhere; }
.acl-oc-contact a i { color: var(--acl-primary); }
.acl-oc-contact a:hover { color: var(--acl-primary); }
.acl-oc-logout { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #dc2626; }
.acl-oc-logout:hover { color: #b91c1c; }

/* ==========================================================================
   Small-screen header (<=1199px): one row - logo, En/Ar pill, Sign In pill, menu.
   The purple top bar is desktop-only.
   ========================================================================== */
.acl-hdr-mobile { display: none !important; }
@media (max-width: 1199px) {
    .acl-topbar { display: none; }
    :root { --acl-header-h: 72px; }
    .acl-header-inner { height: 72px; gap: 10px; }
    .acl-header-actions { gap: 8px; margin-inline-start: auto !important; }
    .acl-hdr-mobile { display: inline-flex !important; }
    .acl-hdr-pill {
        align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
        background: #ececf1; color: #2b2f3a; font-size: 14px; font-weight: 700; white-space: nowrap;
        transition: background-color .2s, color .2s;
    }
    .acl-hdr-pill i { font-size: 18px; color: var(--acl-primary); }
    .acl-hdr-pill:hover, .acl-hdr-pill:focus-visible { background: var(--acl-accent-soft); color: var(--acl-primary); }
    .acl-nav-toggle { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #ececf1; color: #2b2f3a; font-size: 20px; }
    .acl-nav-toggle:hover { background: var(--acl-accent-soft); color: var(--acl-primary); }
    .acl-header .acl-logo img { max-height: 40px; }
}
@media (max-width: 399px) {
    .acl-hdr-pill { padding: 0 11px; font-size: 13px; }
    .acl-hdr-pill span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; }
}
