/* Package 16: homepage-only visual system. Content, bindings and controls stay in Blade. */
html:has(.vh-hero) {
    --home-ink: #20204a;
    --home-navy: #282860;
    --home-gold: #d08028;
    --home-accent: #e7b663;
    --home-muted: #687084;
    --home-line: #e5e2e8;
    --home-paper: #ffffff;
    --home-wash: #f8f7f5;
    --home-shadow: 0 16px 42px rgba(32, 32, 74, .09);
    --home-radius: 1.25rem;
}

html:has(.vh-hero) body { background: var(--home-paper); }
html:has(.vh-hero) .vh-hero {
    isolation: isolate;
    background: radial-gradient(ellipse at 50% 45%, #282860 0%, #20204a 72%);
}
/* VIDEO-BRIGHTNESS FIX: no contrast() — it crushed blacks and dulled the image.
   Light saturation only: colour stays rich, brightness stays natural.            */
html:has(.vh-hero) .vh-video { object-fit: contain; object-position: center; filter: saturate(1.03); }

/* ── VIDEO-BRIGHTNESS FIX ────────────────────────────────────────────────────
   WAS: two stacked full-bleed gradients darkening the whole frame — 32% at the
   centre and 64-75% at the corners, which read as a black sheet over the video.
   This rule has the same specificity (0,2,1) as the lightened overlay in
   almumtaz-foundation.css, and this file loads LAST, so it silently cancelled
   that fix. It is now the single authoritative overlay.
   NOW: the scrim is confined to the top and bottom EDGES only — the top band
   keeps the transparent header legible, the bottom band blends into the next
   section. The middle of the frame (where the picture actually is) is fully
   clear, so the video plays at its true brightness.
   The hero copy uses text shadows for legibility without a background scrim.
   ──────────────────────────────────────────────────────────────────────────── */
html:has(.vh-hero) .vh-overlay {
    background: linear-gradient(to bottom,
        rgba(16,16,44,.40) 0%,
        rgba(16,16,44,.12) 13%,
        rgba(16,16,44,0)   30%,
        rgba(16,16,44,0)   64%,
        rgba(16,16,44,.14) 84%,
        rgba(16,16,44,.38) 100%);
}

html:has(.vh-hero) .vh-inner {
    max-width: 880px;
    padding: clamp(1.5rem, 3vw, 3rem);
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 1.5rem;
    box-shadow: 0 24px 72px rgba(12,12,40,.22) !important;
    backdrop-filter: blur(8px);
}
html:has(.vh-hero) .vh-title { color: var(--home-ink) !important; line-height: 1.2; text-wrap: balance; }
html:has(.vh-hero) .vh-desc { max-width: 68ch; margin-inline: auto; line-height: 1.9; }
html:has(.vh-hero) .vh-cta-row { justify-content: center; flex-wrap: wrap; gap: .75rem; }
html:has(.vh-hero) .vh-btn-primary,
html:has(.vh-hero) .vh-btn-secondary,
html:has(.vh-hero) .vh-btn-ghost { min-height: 48px; border-radius: 999px; }

/* Only the homepage header receives this treatment; shared inner-page header rules remain intact. */
html:has(.vh-hero) header.sticky-top .mainNav { backdrop-filter: blur(12px); }
html:has(.vh-hero) header.sticky-top .mainNav .navbar-brand .logo { max-height: 108px; width: auto; object-fit: contain; }
html:has(.vh-hero) header.sticky-top .mainNav .nav-link { transition: color .18s ease, background-color .18s ease; }
html:has(.vh-hero) header.sticky-top .mainNav .nav-link:focus-visible,
html:has(.vh-hero) header.sticky-top .mainNav .dropdown-menu a:focus-visible { outline-offset: 3px; }

/* A consistent editorial rhythm through active and conditionally rendered home sections. */
html:has(.vh-hero) .home-worker-search { background: var(--home-wash); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
html:has(.vh-hero) .hws-panel { border: 1px solid var(--home-line); border-radius: var(--home-radius); box-shadow: var(--home-shadow); padding: clamp(1.15rem, 2.5vw, 2rem); }
html:has(.vh-hero) .hws-form { gap: .85rem; }
html:has(.vh-hero) .hws-select { border-color: #d9d7e1; border-radius: .75rem; min-height: 48px; }
html:has(.vh-hero) .hws-submit { min-height: 48px; border-radius: .75rem; background: var(--home-navy); }
html:has(.vh-hero) .hws-submit:hover { background: #20204a; }

html:has(.vh-hero) .almumtaz-about,
html:has(.vh-hero) .services-hub,
html:has(.vh-hero) .countries-sec,
html:has(.vh-hero) .steps-sec,
html:has(.vh-hero) .contactForm-sec { padding-block: clamp(3.25rem, 6vw, 5.75rem); }
html:has(.vh-hero) .almumtaz-about { background: var(--home-paper); }
html:has(.vh-hero) .services-hub .sh-header,
html:has(.vh-hero) .latest-cvs-sec .container > .section-title,
html:has(.vh-hero) .countries-sec .container > .section-title,
html:has(.vh-hero) .steps-sec .container > .section-title,
html:has(.vh-hero) .contactForm-sec .ctv2-header { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
html:has(.vh-hero) .almumtaz-about-card,
html:has(.vh-hero) .services-hub .sh-feat-card,
html:has(.vh-hero) .latest-cvs-sec .lcv-card,
html:has(.vh-hero) .countries-sec .country,
html:has(.vh-hero) .contactForm-sec .ctv2-form-card,
html:has(.vh-hero) .contactForm-sec .ci-panel {
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
}
html:has(.vh-hero) .almumtaz-about-card { padding: clamp(1.25rem, 2.3vw, 2rem); }
html:has(.vh-hero) .almumtaz-about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}
html:has(.vh-hero) .almumtaz-about-copy h2 {
    margin: 0 0 1.25rem;
    color: var(--home-ink);
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    line-height: 1.3;
    text-wrap: balance;
}
html:has(.vh-hero) .almumtaz-about-copy p {
    max-width: 68ch;
    margin: 0;
    color: var(--home-muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.9;
}
html:has(.vh-hero) .almumtaz-about-visual {
    position: relative;
    min-width: 0;
    min-height: clamp(280px, 34vw, 450px);
    isolation: isolate;
}
html:has(.vh-hero) .almumtaz-about-image-main {
    display: block;
    width: 84%;
    height: 100%;
    min-height: inherit;
    margin-inline-start: auto;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(208,128,40,.24);
    border-radius: 1.5rem;
    box-shadow: 0 24px 54px rgba(32,32,74,.16);
}
html:has(.vh-hero) .almumtaz-about-image-detail {
    position: absolute;
    inset-inline-start: 0;
    bottom: -1.25rem;
    z-index: 1;
    display: block;
    width: 43%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border: 5px solid #fff;
    border-radius: 1.1rem;
    box-shadow: 0 16px 40px rgba(32,32,74,.18);
}
/* This section has Bootstrap column wrappers, while the legacy feature grid
   also applies its own three-column layout. Define the homepage grid explicitly
   and neutralize only those wrappers to prevent stacked or narrow cards. */
html:has(.vh-hero) .almumtaz-about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-inline: 0;
    margin-top: clamp(2rem, 4vw, 3.25rem) !important;
}
html:has(.vh-hero) .almumtaz-about-cards > [class*="col-"] {
    width: 100%;
    max-width: none;
    padding: 0;
}
/* Keep a fifth service card centered instead of leaving it stranded at the
   far edge of an otherwise complete four-card desktop row. */
@media (min-width: 992px) {
    html:has(.vh-hero) .services-hub .sh-features > .sh-feat-card:last-child:nth-child(4n + 1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 60px) / 4);
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    html:has(.vh-hero) .services-hub .sh-features > .sh-feat-card:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 14px) / 2);
    }
}
html:has(.vh-hero) .services-hub .sh-feat-card,
html:has(.vh-hero) .latest-cvs-sec .lcv-card,
html:has(.vh-hero) .countries-sec .country { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
html:has(.vh-hero) .services-hub .sh-feat-card:hover,
html:has(.vh-hero) .latest-cvs-sec .lcv-card:hover,
html:has(.vh-hero) .countries-sec .country:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(32,32,74,.14); }
html:has(.vh-hero) .services-hub .sh-feat-icon-wrap { border-radius: 1rem; }
html:has(.vh-hero) .latest-cvs-sec .lcv-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
html:has(.vh-hero) .latest-cvs-sec .lcv-card-img img,
html:has(.vh-hero) .countries-sec .country img { max-width: 100%; }

html:has(.vh-hero) .latest-cvs-sec,
html:has(.vh-hero) .steps-sec { background-color: var(--home-wash); }

html:has(.vh-hero) .steps-sec { background-image: linear-gradient(145deg, #f8f7f5, #f3f1f7); }
html:has(.vh-hero) .steps-sec .stps-item { border-radius: 1rem; }
html:has(.vh-hero) .musaned-sec { padding-block: clamp(3rem, 5.5vw, 5rem); }
html:has(.vh-hero) .musaned-sec .msn-card,
html:has(.vh-hero) .musaned-sec .msn-reviews { border-radius: var(--home-radius); }
html:has(.vh-hero) .contactForm-sec { background: var(--home-paper); }
html:has(.vh-hero) .contactForm-sec .ctv2-form-card,
html:has(.vh-hero) .contactForm-sec .ci-panel { padding: clamp(1.2rem, 2.6vw, 2rem); }
html:has(.vh-hero) .contactForm-sec .ci-panel-title { color: #fff !important; }
html:has(.vh-hero) .contactForm-sec .ctv2-input { min-height: 48px; border-radius: .75rem; }

html:has(.vh-hero) footer.footer { margin-top: 0; }
html:has(.vh-hero) footer.footer .footer-title { color: var(--brand-primary-strong, var(--home-ink)); }
html:has(.vh-hero) footer.footer a { text-underline-offset: .22em; }

/* The compact mobile header has a dark surface; keep the brand name legible. */
@media (max-width: 1199.98px) {
    html:has(.vh-hero) header.is-scrolled .mainNav .brand-name { color: #fff !important; }
}

/* Keep the fixed return-to-top control in the outer gutter on narrow home layouts. */
@media (max-width: 575.98px) {
    html[dir="rtl"]:has(.vh-hero) .btn-up button { right: 12px; left: auto; }
    html[dir="ltr"]:has(.vh-hero) .btn-up button { right: 12px; left: auto; }
}

@media (min-width: 1200px) {
    html:has(.vh-hero) .home-worker-search .container,
    html:has(.vh-hero) .almumtaz-about .container,
    html:has(.vh-hero) .services-hub .container,
    html:has(.vh-hero) .countries-sec .container,
    html:has(.vh-hero) .steps-sec .container,
    html:has(.vh-hero) .contactForm-sec .container { max-width: 1200px; }
}

@media (max-width: 767.98px) {
    html:has(.vh-hero) .vh-hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: 0;
        margin-top: -92px;
        padding-top: 92px;
        overflow: visible;
    }
    html:has(.vh-hero) .vh-media {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        flex: 0 0 auto;
        overflow: hidden;
        background: #20204a;
    }
    html:has(.vh-hero) .vh-video { object-fit: contain; }
    html:has(.vh-hero) .vh-img-fallback { background-size: contain; }
    /* VIDEO-BRIGHTNESS FIX (mobile): the hero stacks vertically here — the text
       sits BELOW the video, not on top of it — so the video needs no scrim at
       all for legibility. Only a faint bottom blend into .vh-body remains.     */
    html:has(.vh-hero) .vh-overlay {
        background: linear-gradient(0deg, rgba(22,22,55,.16), transparent 26%);
    }
    html:has(.vh-hero) .vh-particles { display: none; }
    html:has(.vh-hero) .vh-body {
        width: 100%;
        padding: 1.25rem 1rem 2rem;
        background: #20204a;
    }
    html:has(.vh-hero) .vh-inner {
        max-width: 620px;
        padding: 1.25rem;
        border-radius: 1.125rem;
        background: #fff !important;
    }
    html:has(.vh-hero) .vh-title { font-size: clamp(1.45rem, 6vw, 2rem); }
    html:has(.vh-hero) .vh-desc { font-size: .96rem; }
    html:has(.vh-hero) .vh-cta-row > * { flex: 1 1 100%; text-align: center; }
    html:has(.vh-hero) .home-worker-search { padding-bottom: 2.5rem; }
    html:has(.vh-hero) .hws-panel { margin-top: -1rem; padding: 1rem; }
    html:has(.vh-hero) .almumtaz-about,
    html:has(.vh-hero) .services-hub,
    html:has(.vh-hero) .countries-sec,
    html:has(.vh-hero) .steps-sec,
    html:has(.vh-hero) .contactForm-sec { padding-block: 2.75rem; }
    html:has(.vh-hero) .almumtaz-about-intro { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    html:has(.vh-hero) .almumtaz-about-visual { min-height: clamp(255px, 70vw, 390px); margin-inline: auto; width: min(100%, 540px); }
    html:has(.vh-hero) .almumtaz-about-image-main { width: 88%; }
    html:has(.vh-hero) .almumtaz-about-image-detail { bottom: -.75rem; width: 42%; border-width: 4px; }
    html:has(.vh-hero) .latest-cvs-sec .lcv-card-img { aspect-ratio: 1 / 1; }
    html:has(.vh-hero) .blog-grid { grid-template-columns: 1fr; }
    html:has(.vh-hero) .contactForm-sec .row > [class*="col-"] { min-width: 0; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html:has(.vh-hero) .vh-hero { min-height: 640px; }
    html:has(.vh-hero) .vh-video { object-fit: contain; }
    html:has(.vh-hero) .vh-body { padding: 140px 1.5rem 90px; }
    html:has(.vh-hero) .hws-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Portrait tablets: keep the copy panel below the video instead of covering its focal area. */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
    html:has(.vh-hero) .vh-hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        height: auto;
        min-height: 0;
        overflow: hidden;
    }
    html:has(.vh-hero) .vh-media {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        flex: 0 0 auto;
        overflow: hidden;
        background: #20204a;
    }
    html:has(.vh-hero) .vh-img-fallback { background-size: contain; }
    html:has(.vh-hero) .vh-body {
        width: 100%;
        padding: 1.5rem 1.5rem 4rem;
        background: #20204a;
    }
    html:has(.vh-hero) .vh-inner {
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
        padding: 1.5rem;
    }
    html:has(.vh-hero) .vh-cta-row { justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.vh-hero) *, html:has(.vh-hero) *::before, html:has(.vh-hero) *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Offers: premium navy/gold cards while preserving their price, copy and actions. */
html:has(.vh-hero) .offers-section {
    padding-block: clamp(3rem, 6vw, 5.25rem);
    background: linear-gradient(150deg, #f7f6f3 0%, #fff 56%, #f4f2f8 100%) !important;
}
html:has(.vh-hero) .offers-head { align-items: center; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
html:has(.vh-hero) .offers-kicker { color: var(--home-gold) !important; }
html:has(.vh-hero) .offers-title,
html:has(.vh-hero) .offer-body h3 { color: var(--home-ink) !important; }
html:has(.vh-hero) .offers-title { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.25; }
html:has(.vh-hero) .offers-lead { color: var(--home-muted); line-height: 1.75; }
html:has(.vh-hero) .offers-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: .65rem 1.1rem;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: #fff;
    color: var(--home-navy) !important;
}
html:has(.vh-hero) .offers-all:hover { border-color: var(--home-gold); color: var(--home-ink) !important; }
/* The offers partial's @once style block is not present in the rendered home
   response, leaving its image, badge and card structure unstyled. Keep the
   missing structural rules here, scoped to the homepage. */
html:has(.vh-hero) .offers-head { display: flex; justify-content: space-between; gap: 20px; }
html:has(.vh-hero) .offers-kicker { font-weight: 800; font-size: .85rem; }
html:has(.vh-hero) .offers-title { font-weight: 900; margin: 5px 0; }
html:has(.vh-hero) .offers-lead { margin: 0; }
html:has(.vh-hero) .offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(1rem, 2vw, 1.5rem); }
html:has(.vh-hero) .offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--home-line) !important;
    border-radius: var(--home-radius) !important;
    box-shadow: 0 12px 32px rgba(32,32,74,.08) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
html:has(.vh-hero) .offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(208,128,40,.45) !important;
    box-shadow: 0 18px 38px rgba(32,32,74,.13) !important;
}
html:has(.vh-hero) .offer-media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--home-wash); }
html:has(.vh-hero) .offer-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
html:has(.vh-hero) .offer-card:hover .offer-media img { transform: scale(1.045); }
html:has(.vh-hero) .offer-badge {
    position: absolute;
    top: 1rem;
    inset-inline-start: auto;
    inset-inline-end: 1rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    border: 1px solid rgba(208,128,40,.38);
    color: var(--home-ink) !important;
    background: #fff;
}
html:has(.vh-hero) .offer-body { display: flex; flex: 1; flex-direction: column; padding: clamp(1rem, 2vw, 1.5rem); }
html:has(.vh-hero) .offer-body h3 { line-height: 1.45; margin: 0 0 .65rem; }
html:has(.vh-hero) .offer-desc { color: var(--home-muted); line-height: 1.8; }
html:has(.vh-hero) .offer-meta {
    display: flex;
    align-items: flex-start;
    color: #79521f;
    line-height: 1.6;
    gap: .45rem;
    margin-top: auto;
    margin-bottom: 1rem;
}
html:has(.vh-hero) .offer-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
html:has(.vh-hero) .offer-btn {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .65rem .8rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    line-height: 1.35;
    text-decoration: none;
}
html:has(.vh-hero) .offer-btn-main,
html:has(.vh-hero) .offer-btn-main:hover { background: var(--home-navy) !important; color: #fff !important; }
html:has(.vh-hero) .offer-btn-light { background: var(--home-wash) !important; color: var(--home-navy) !important; border-color: var(--home-line); }
html:has(.vh-hero) .offer-btn:focus-visible,
html:has(.vh-hero) .offers-all:focus-visible { outline: 3px solid var(--home-gold); outline-offset: 3px; }
@media (max-width: 991.98px) {
    html:has(.vh-hero) .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    html:has(.vh-hero) .offers-section { padding: 48px 0; }
    html:has(.vh-hero) .offers-grid { grid-template-columns: 1fr; }
    html:has(.vh-hero) .offers-head { align-items: flex-start; flex-direction: column; }
}

/* Statistics: keep the dark canvas and gold decoration; give each verified value a clear surface. */
html:has(.vh-hero) .statistics-sec.stats-v2 {
    min-height: 0;
    padding-block: clamp(3.25rem, 6vw, 5.5rem);
    background: radial-gradient(ellipse at 50% 0%, #282860 0%, #20204a 66%, #171738 100%);
}
html:has(.vh-hero) .stats-deco { opacity: .72; }
html:has(.vh-hero) .stats-header { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
html:has(.vh-hero) .stats-tag { color: var(--home-accent, #e7b663); }
html:has(.vh-hero) .stats-big-title { color: #fff !important; font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1.3; }
html:has(.vh-hero) .stats-nums-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
    align-items: stretch;
    gap: clamp(.75rem, 1.6vw, 1.25rem);
}
html:has(.vh-hero) .stats-nums-row .stat-item {
    min-width: 0;
    padding: clamp(1.25rem, 2.2vw, 1.9rem) 1rem;
    border: 1px solid rgba(231,182,99,.25);
    border-radius: var(--home-radius);
    background: rgba(255,255,255,.055);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
html:has(.vh-hero) .stats-nums-row .stat-item + .stat-item::before { display: none; }
html:has(.vh-hero) .stats-nums-row .stat-num { color: #fff !important; font-size: clamp(2.35rem, 5.2vw, 3.6rem) !important; }
html:has(.vh-hero) .stats-nums-row .stat-label { color: #e2e4f0; line-height: 1.65; }

/* News: equal card rhythm and readable overlays without clipping the existing copy. */
html:has(.vh-hero) .blog-sec { padding-block: clamp(3rem, 5.5vw, 5rem); background: var(--home-wash); }
html:has(.vh-hero) .blog-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
html:has(.vh-hero) .blog-title { color: var(--home-ink); font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.3; }
html:has(.vh-hero) .blog-desc { color: var(--home-muted); line-height: 1.75; }
html:has(.vh-hero) .blog-grid { align-items: stretch; gap: clamp(1rem, 2vw, 1.5rem); }
html:has(.vh-hero) .blog-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(32,32,74,.08);
}
html:has(.vh-hero) .blog-card:hover { box-shadow: 0 18px 38px rgba(32,32,74,.13); }
html:has(.vh-hero) .blog-card-img { flex: 0 0 auto; aspect-ratio: 16 / 10; background: var(--home-wash); }
html:has(.vh-hero) .blog-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
html:has(.vh-hero) .blog-card-overlay { background: linear-gradient(0deg, rgba(20,20,49,.78), rgba(20,20,49,.08) 72%); }
html:has(.vh-hero) .blog-card-label { inset-inline: 1rem; bottom: 1rem; color: #fff; font-size: .98rem; line-height: 1.55; text-wrap: pretty; }
html:has(.vh-hero) .blog-card-body { flex: 1 0 auto; padding: 1rem 1.1rem 1.2rem; }
html:has(.vh-hero) .blog-card-desc { color: var(--home-muted); line-height: 1.75; }

/* Owner-supplied official Musaned profile snapshot, presented in Al-Momtaz styling. */
html:has(.vh-hero) .almumtaz-musaned-profile {
    padding-block: clamp(2.75rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, #f8f7f5, #fff 56%, #f6f4ef);
}
html:has(.vh-hero) .almumtaz-musaned-profile-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 1060px;
    margin-inline: auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: #fff;
    box-shadow: var(--home-shadow);
}
html:has(.vh-hero) .almumtaz-musaned-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 2rem);
}
html:has(.vh-hero) .almumtaz-musaned-profile-copy {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
html:has(.vh-hero) .almumtaz-musaned-profile-mark {
    display: grid;
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border-radius: 1rem;
    background: rgba(208, 128, 40, .12);
}
html:has(.vh-hero) .almumtaz-musaned-profile-mark img {
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
}
html:has(.vh-hero) .almumtaz-musaned-profile-platform {
    display: inline-block;
    margin-bottom: .25rem;
    color: var(--home-gold);
    font-size: .82rem;
    font-weight: 700;
}
html:has(.vh-hero) .almumtaz-musaned-profile-title {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    line-height: 1.45;
}
html:has(.vh-hero) .almumtaz-musaned-profile-description {
    margin: .35rem 0 0;
    color: var(--home-muted);
    line-height: 1.7;
}
html:has(.vh-hero) .almumtaz-musaned-profile-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
html:has(.vh-hero) .almumtaz-musaned-profile-panel {
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid var(--home-line);
    border-radius: 1rem;
    background: #fff;
}
html:has(.vh-hero) .almumtaz-musaned-profile-panel:first-child {
    grid-column: 1 / -1;
}
html:has(.vh-hero) .almumtaz-musaned-profile-panel h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.05rem;
    line-height: 1.45;
}
html:has(.vh-hero) .almumtaz-musaned-profile-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
html:has(.vh-hero) .almumtaz-musaned-gold-badge {
    flex: 0 0 auto;
    padding: .35rem .8rem;
    border: 1px solid rgba(208, 128, 40, .35);
    border-radius: 999px;
    background: rgba(208, 128, 40, .1);
    color: #8a4c0b;
    font-weight: 700;
}
html:has(.vh-hero) .almumtaz-musaned-metrics,
html:has(.vh-hero) .almumtaz-musaned-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
}
html:has(.vh-hero) .almumtaz-musaned-metrics > div,
html:has(.vh-hero) .almumtaz-musaned-contact-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: .5rem;
    padding: .75rem;
    border-inline-start: 1px solid var(--home-line);
}
html:has(.vh-hero) .almumtaz-musaned-metrics dt,
html:has(.vh-hero) .almumtaz-musaned-contact-grid dt {
    color: var(--home-muted);
    font-size: .9rem;
    line-height: 1.6;
}
html:has(.vh-hero) .almumtaz-musaned-metrics dd {
    margin: 0;
    color: var(--home-navy);
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.2;
}
html:has(.vh-hero) .almumtaz-musaned-review-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}
html:has(.vh-hero) .almumtaz-musaned-rating-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
html:has(.vh-hero) .almumtaz-musaned-rating-categories li {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: .55rem;
    padding: .75rem;
    border: 1px solid var(--home-line);
    border-radius: .8rem;
    color: var(--home-muted);
    font-size: .9rem;
    line-height: 1.5;
}
html:has(.vh-hero) .almumtaz-musaned-rating-stars {
    display: inline-flex;
    align-self: flex-start;
    gap: .15rem;
    direction: ltr;
    font-size: 1.1rem;
    line-height: 1;
}
html:has(.vh-hero) .almumtaz-musaned-rating-stars .is-muted { color: #dce1e7; }
html:has(.vh-hero) .almumtaz-musaned-rating-stars .is-gold { color: #e2a000; }
html:has(.vh-hero) .almumtaz-musaned-rating-stars .is-green { color: #198754; }
html:has(.vh-hero) .almumtaz-musaned-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}
html:has(.vh-hero) .almumtaz-musaned-contact-grid dd {
    margin: 0;
    color: var(--home-navy);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
html:has(.vh-hero) .almumtaz-musaned-profile-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    padding: .7rem 1.15rem;
    border: 1px solid var(--home-navy);
    border-radius: 999px;
    background: var(--home-navy);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
html:has(.vh-hero) .almumtaz-musaned-profile-link:hover {
    border-color: var(--home-gold);
    background: var(--home-gold);
    color: #fff;
}
html:has(.vh-hero) .almumtaz-musaned-profile-link:focus-visible {
    outline: 3px solid var(--home-gold);
    outline-offset: 3px;
}
html:has(.vh-hero) .almumtaz-musaned-source-note {
    margin: 0;
    padding-top: .85rem;
    border-top: 1px solid var(--home-line);
    color: var(--home-muted);
    font-size: .82rem;
    line-height: 1.7;
}

@media (max-width: 600px) {
    html:has(.vh-hero) .offers-head { align-items: flex-start; }
    html:has(.vh-hero) .offers-all { align-self: flex-start; }
    html:has(.vh-hero) .offer-actions { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    html:has(.vh-hero) .almumtaz-musaned-profile-card {
        align-items: stretch;
    }
    html:has(.vh-hero) .almumtaz-musaned-profile-header { align-items: stretch; flex-direction: column; }
    html:has(.vh-hero) .almumtaz-musaned-profile-link { width: 100%; }
    html:has(.vh-hero) .almumtaz-musaned-profile-panels { grid-template-columns: minmax(0, 1fr); }
    html:has(.vh-hero) .almumtaz-musaned-profile-panel:first-child { grid-column: auto; }
    html:has(.vh-hero) .almumtaz-musaned-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep the original About section's complete two-column/image-stack structure
   while applying the Al-Momtaz palette to its original components. */
html:has(.vh-hero) .almumtaz-about.about-v2 {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.25rem, 6vw, 5.75rem);
    background: var(--home-paper);
}
html:has(.vh-hero) .almumtaz-about .av2-top-badge {
    background: var(--home-navy);
    color: #fff;
}
html:has(.vh-hero) .almumtaz-about .av2-title,
html:has(.vh-hero) .almumtaz-about .av2-feat-title,
html:has(.vh-hero) .almumtaz-about .av2-float-text strong { color: var(--home-ink) !important; }
html:has(.vh-hero) .almumtaz-about .av2-desc,
html:has(.vh-hero) .almumtaz-about .av2-feat-desc,
html:has(.vh-hero) .almumtaz-about .av2-float-text p { color: var(--home-muted); }
html:has(.vh-hero) .almumtaz-about .av2-feat-card {
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: #fff;
    box-shadow: var(--home-shadow);
}
html:has(.vh-hero) .almumtaz-about .av2-feat-icon { background: var(--home-wash); }
html:has(.vh-hero) .almumtaz-about .av2-feat-icon i { color: var(--home-gold); }
html:has(.vh-hero) .almumtaz-about .av2-float-icon { background: var(--home-gold); }
html:has(.vh-hero) .almumtaz-about .av2-img-main-wrap {
    width: 84%;
    border: 1px solid rgba(208,128,40,.24);
    border-radius: 1.5rem;
    box-shadow: 0 24px 54px rgba(32,32,74,.16);
}
html:has(.vh-hero) .almumtaz-about .almumtaz-about-image-main {
    width: 100%;
    height: clamp(280px, 34vw, 450px);
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: inherit;
    box-shadow: none;
}
html:has(.vh-hero) .almumtaz-about .av2-img-secondary-wrap {
    width: 43%;
    border-color: #fff;
    border-radius: 1.1rem;
}
html:has(.vh-hero) .almumtaz-about .almumtaz-about-image-detail {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: inherit;
    box-shadow: none;
}
html:has(.vh-hero) .almumtaz-about .av2-float-card {
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
}

@media (max-width: 767.98px) {
    html:has(.vh-hero) .almumtaz-about .av2-top-badge-wrap { margin-bottom: 1.5rem; }
    html:has(.vh-hero) .almumtaz-about .almumtaz-about-visual { min-height: 290px; }
    html:has(.vh-hero) .almumtaz-about .almumtaz-about-image-main { height: 290px; }
    html:has(.vh-hero) .almumtaz-about .av2-img-main-wrap { width: 86%; }
    html:has(.vh-hero) .almumtaz-about .av2-img-secondary-wrap { bottom: 50px; width: 46%; }
    html:has(.vh-hero) .almumtaz-about .av2-float-card { max-width: min(290px, 80%); padding: .8rem 1rem; }
    html:has(.vh-hero) .almumtaz-about .av2-feat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    html:has(.vh-hero) .almumtaz-about-cards { grid-template-columns: 1fr; }
}

/* Original Musaned hierarchy, restyled with the approved navy/gold identity. */
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile {
    background:
        radial-gradient(circle at 12% 12%, rgba(208,128,40,.16), transparent 28%),
        linear-gradient(145deg, #171a30 0%, #20204a 58%, #111d38 100%);
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile::after {
    background:
        linear-gradient(90deg, transparent, rgba(208,128,40,.08)),
        repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 14px);
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-header,
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-card,
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-contact-card {
    border-color: rgba(255,255,255,.14);
    background-color: rgba(32,32,74,.48);
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-title,
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-card-head h3,
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-card-title {
    color: #fff !important;
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-platform::before { background: var(--home-gold); box-shadow: 0 0 0 6px rgba(208,128,40,.14); }
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-visit-btn,
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-full-profile-btn {
    background: linear-gradient(135deg, #d08028, #e3ad57);
    color: #20204a;
    box-shadow: 0 10px 26px rgba(208,128,40,.25);
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-visit-btn:hover,
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-full-profile-btn:hover {
    background: linear-gradient(135deg, #e3ad57, #f0cb8d);
    color: #20204a;
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-badge-gold { color: #20204a; }
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-stat-num,
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-contact-icon i { color: #e3ad57; }
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-stat-track span { background: linear-gradient(90deg, #d08028, #f0cb8d); }
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-pct-ring {
    background:
        radial-gradient(circle closest-side, #20204a 73%, transparent 74%),
        conic-gradient(#d08028 var(--score-deg), rgba(255,255,255,.12) 0);
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-pct-num { color: #e3ad57; }
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-stars--green i:not(.fa-regular) {
    color: #4ade80;
    filter: drop-shadow(0 3px 7px rgba(74,222,128,.22));
}
html:has(.vh-hero) .musaned-sec.almumtaz-musaned-profile .msn-contact-val:hover { color: #e3ad57; }
html:has(.vh-hero) .almumtaz-musaned-profile .almumtaz-musaned-source-note { color: rgba(255,255,255,.76); }

/* Homepage statistics: four owner-requested metrics in the existing section. */
html:has(.vh-hero) .statistics-sec.stats-v2 {
    min-height: 0;
    padding-block: clamp(4rem, 7vw, 6.5rem);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(40,40,96,.68), transparent 58%),
        linear-gradient(115deg, #021b49 0%, #061f4d 52%, #02183f 100%);
}
html:has(.vh-hero) .statistics-sec.stats-v2 .stats-deco { opacity: .16; }
html:has(.vh-hero) .statistics-sec.stats-v2 .stats-header { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
html:has(.vh-hero) .statistics-sec.stats-v2 .stats-tag {
    display: block;
    color: #e3ad57;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
}
html:has(.vh-hero) .statistics-sec.stats-v2 .stats-big-title {
    margin: .55rem 0 0;
    color: #fff !important;
    font-size: clamp(2.15rem, 4.2vw, 3.35rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.025em;
    text-shadow: 0 4px 24px rgba(0,0,0,.18);
}
html:has(.vh-hero) .statistics-sec.stats-v2 .stats-nums-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
}
html:has(.vh-hero) .statistics-sec.stats-v2 .stat-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1.15rem, 2.4vw, 2rem) clamp(.5rem, 1.4vw, 1.2rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
html:has(.vh-hero) .statistics-sec.stats-v2 .stat-item + .stat-item {
    border-inline-start: 1px solid rgba(227,173,87,.38);
}
html:has(.vh-hero) .statistics-sec.stats-v2 .stat-item + .stat-item::before { display: none; }
html:has(.vh-hero) .statistics-sec.stats-v2 .stat-num {
    margin: 0 0 .7rem;
    color: #fff !important;
    font-size: clamp(2.2rem, 4.5vw, 4rem) !important;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.035em;
    text-shadow: 0 5px 24px rgba(0,0,0,.2);
}
html:has(.vh-hero) .statistics-sec.stats-v2 .stat-label {
    color: rgba(255,255,255,.88);
    font-size: clamp(.92rem, 1.25vw, 1.08rem);
    font-weight: 500;
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
}

/* Keep the existing step circles, while making the six distinct glyphs crisp and consistent. */
html:has(.vh-hero) .steps-sec.steps-v2 .stps-circle {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-color: #282860;
    background: #fff;
    box-shadow: 0 8px 22px rgba(40,40,96,.12);
}
html:has(.vh-hero) .steps-sec.steps-v2 .stps-circle i {
    color: #b87821;
    font-size: 1.65rem;
    line-height: 1;
}
html:has(.vh-hero) .steps-sec.steps-v2 .stps-item:hover .stps-circle { background: #282860; }
html:has(.vh-hero) .steps-sec.steps-v2 .stps-item:hover .stps-circle i { color: #fff; }
html:has(.vh-hero) .steps-sec.steps-v2 .stps-connector { border-color: rgba(40,40,96,.34); }

/* Render each sales number as a readable, bidi-safe row in the homepage contact panel. */
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-phone-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
}
html:has(.vh-hero) .contactForm-sec.contact-v2 .almumtaz-sales-phone {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem .65rem;
    border: 1px solid rgba(40,40,96,.12);
    border-radius: .65rem;
    background: rgba(255,255,255,.96);
    color: #282860;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}
html:has(.vh-hero) .contactForm-sec.contact-v2 .almumtaz-sales-phone bdi {
    flex: 0 0 auto;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html:has(.vh-hero) .contactForm-sec.contact-v2 .almumtaz-sales-phone:hover {
    border-color: rgba(40,40,96,.34);
    background: #f4f3fa;
    color: #20204a;
}

/* Compact the homepage contact form while keeping its existing two-column layout. */
html:has(.vh-hero) .contactForm-sec.contact-v2 { padding-block: clamp(2.75rem, 4.8vw, 4.25rem); }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ctv2-header { margin-bottom: clamp(1.25rem, 2.3vw, 1.8rem); }
html:has(.vh-hero) .contactForm-sec.contact-v2 .row.align-items-stretch { --bs-gutter-y: 1.15rem; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ctv2-form-card,
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-panel { padding: clamp(1rem, 2vw, 1.45rem); }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-panel { gap: clamp(.85rem, 1.5vw, 1.2rem); }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-kicker { margin-bottom: .6rem; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-panel-title { margin-bottom: .45rem; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-panel-sub { line-height: 1.5; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-item { padding: .65rem .75rem; gap: .7rem; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ci-icon { width: 38px; height: 38px; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ctv2-form-card .mb-3 { margin-bottom: .8rem !important; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ctv2-form-card .mb-4 { margin-bottom: .9rem !important; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ctv2-textarea { min-height: 108px; padding-block: .65rem; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ctv2-pill { padding: .4rem .85rem; }
html:has(.vh-hero) .contactForm-sec.contact-v2 .ctv2-submit { padding: .72rem 1rem; }

@media (max-width: 767.98px) {
    html:has(.vh-hero) .statistics-sec.stats-v2 .stats-nums-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html:has(.vh-hero) .statistics-sec.stats-v2 .stat-item { min-height: 142px; padding: 1.1rem .35rem; }
    html:has(.vh-hero) .statistics-sec.stats-v2 .stat-item + .stat-item { border-inline-start: 0; }
    html:has(.vh-hero) .statistics-sec.stats-v2 .stat-item:nth-child(even) { border-inline-start: 1px solid rgba(227,173,87,.48); }
    html:has(.vh-hero) .statistics-sec.stats-v2 .stat-item:nth-child(n+3) { border-top: 1px solid rgba(227,173,87,.32); }
    html:has(.vh-hero) .statistics-sec.stats-v2 .stat-num { font-size: clamp(1.75rem, 8vw, 2.4rem) !important; }
}

@media (max-width: 380px) {
    html:has(.vh-hero) .contactForm-sec.contact-v2 .almumtaz-sales-phone { gap: .4rem; padding-inline: .5rem; font-size: .82rem; }
}
