/* =====================================================================
   Molavi — public site design system (v2)
   Loaded last; owns header, hero, home sections, cards, footer and the
   shared tokens used by inner pages.
   ===================================================================== */

:root {
    --mv-bg: #0d0f12;
    --mv-bg-2: #12151a;
    --mv-surface: #171a20;
    --mv-surface-2: #1d2128;
    --mv-surface-3: #252a33;
    --mv-line: rgba(255, 255, 255, 0.07);
    --mv-line-2: rgba(255, 255, 255, 0.12);
    --mv-gold: #f5b754;
    --mv-gold-2: #e39b2d;
    --mv-gold-ink: #1a1305;
    --mv-gold-soft: rgba(245, 183, 84, 0.12);
    --mv-gold-line: rgba(245, 183, 84, 0.3);
    --mv-text: #f3f4f6;
    --mv-muted: #b9bfca;
    --mv-dim: #8f96a3;
    --mv-radius: 20px;
    --mv-radius-sm: 12px;
    --mv-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    --mv-shadow-gold: 0 14px 34px -10px rgba(245, 183, 84, 0.55);
    --mv-ease: cubic-bezier(.2, .7, .2, 1);
    --mv-header-h: 76px;
    --mv-section: 104px;

    /* keep legacy tokens in sync so older page CSS inherits the new palette */
    --site-bg: var(--mv-bg);
    --site-bg-elevated: var(--mv-bg);
    --site-surface: var(--mv-surface);
    --site-surface-2: var(--mv-surface-2);
    --site-gold: var(--mv-gold);
    --site-text: var(--mv-text);
    --site-text-muted: var(--mv-muted);
    --site-section-pad: var(--mv-section);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
    background: var(--mv-bg) !important;
    color: var(--mv-muted);
    font-size: 15px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--mv-gold); color: var(--mv-gold-ink); }

a { transition: color .2s ease; }

:focus-visible {
    outline: 2px solid var(--mv-gold);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Primitives ---------- */
.mv-gold { color: var(--mv-gold) !important; }

.mv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--mv-gold-soft);
    border: 1px solid var(--mv-gold-line);
    color: var(--mv-gold);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.6;
}
.mv-eyebrow i { font-size: 12px; }

.mv-heading {
    margin: 0 0 14px;
    color: var(--mv-text);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.mv-subheading {
    margin: 0;
    color: var(--mv-muted);
    font-size: 15px;
    max-width: 560px;
}

.mv-prose { color: var(--mv-muted); line-height: 2; }
.mv-prose p { margin-bottom: .8em; }
.mv-prose p:last-child { margin-bottom: 0; }
.mv-prose * { color: inherit !important; background: transparent !important; }

.mv-btn {
    --b-bg: transparent;
    --b-fg: var(--mv-text);
    --b-line: var(--mv-line-2);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid var(--b-line);
    background: var(--b-bg);
    color: var(--b-fg) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--mv-ease), box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.mv-btn i { font-size: .9em; transition: transform .25s var(--mv-ease); }
.mv-btn:hover { transform: translateY(-2px); }
.mv-btn:hover .fa-arrow-left,
.mv-btn:hover .fa-chevron-left { transform: translateX(-4px); }

.mv-btn--gold {
    --b-bg: linear-gradient(135deg, #ffd08a 0%, var(--mv-gold) 45%, var(--mv-gold-2) 100%);
    --b-fg: var(--mv-gold-ink);
    --b-line: transparent;
    box-shadow: var(--mv-shadow-gold);
}
.mv-btn--gold:hover { box-shadow: 0 18px 40px -10px rgba(245, 183, 84, .7); }

.mv-btn--ghost {
    --b-bg: rgba(255, 255, 255, 0.06);
    --b-line: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}
.mv-btn--ghost:hover { --b-line: var(--mv-gold); --b-fg: var(--mv-gold); }

.mv-btn--outline { --b-line: var(--mv-gold-line); --b-fg: var(--mv-gold); }
.mv-btn--outline:hover { --b-bg: var(--mv-gold); --b-fg: var(--mv-gold-ink); --b-line: var(--mv-gold); }

.mv-btn--dark { --b-bg: #111317; --b-fg: #fff; --b-line: transparent; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.mv-btn--dark:hover { --b-bg: #000; }

.mv-btn--link { --b-line: transparent; padding-inline: 6px; --b-fg: var(--mv-muted); }
.mv-btn--link:hover { --b-fg: var(--mv-gold); transform: none; }

.mv-btn--sm { padding: 8px 16px; font-size: 13px; }
.mv-btn--lg { padding: 14px 28px; font-size: 15px; }

.mv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Media wrapper with graceful fallback when the image is missing */
.mv-media {
    position: relative;
    display: block;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(245, 183, 84, .18), transparent 55%),
        linear-gradient(135deg, var(--mv-surface-3), var(--mv-surface));
}
.mv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mv-media.is-broken img { opacity: 0; }
.mv-media.is-broken::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    opacity: .5;
    background: url("/Upload/Holding/Logo/Logo-White.png") center / contain no-repeat;
    filter: grayscale(1) brightness(1.4);
}

/* ---------- Header ---------- */
.mv-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}

.mv-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .7);
    max-height: 44px;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease;
}
.mv-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.mv-topbar__info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.mv-topbar__info span,
.mv-topbar__info a { display: inline-flex; align-items: center; gap: 7px; color: inherit; white-space: nowrap; }
.mv-topbar__info a:hover { color: var(--mv-gold); }
.mv-topbar__info i { color: var(--mv-gold); font-size: 12px; }
.mv-topbar__addr { overflow: hidden; text-overflow: ellipsis; max-width: 520px; display: inline-block !important; }

.mv-nav__inner { display: flex; align-items: center; gap: 24px; height: var(--mv-header-h); transition: height .35s ease; }

.mv-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; flex-shrink: 0; }
.mv-brand__logo { width: 52px; height: 52px; object-fit: contain; transition: width .3s ease, height .3s ease; }
.mv-brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.mv-brand__text strong { color: #fff; font-size: 16px; font-weight: 700; }
.mv-brand__text small { color: var(--mv-dim); font-size: 11.5px; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mv-menu { flex: 1 1 auto; display: flex; justify-content: center; }
.mv-menu__head,
.mv-menu__foot { display: none; }
.mv-menu__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 4px; list-style: none; border-radius: 999px; }
.mv-menu__link {
    position: relative;
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color .2s ease, background .2s ease;
}
.mv-menu__link:hover { color: #fff !important; background: rgba(255, 255, 255, .06); }
.mv-menu__link.is-active { color: var(--mv-gold) !important; background: var(--mv-gold-soft); }

.mv-nav__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.mv-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.mv-call__icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mv-gold); border: 1px solid var(--mv-gold-line); background: var(--mv-gold-soft);
    transition: background .2s ease, color .2s ease;
}
.mv-call:hover .mv-call__icon { background: var(--mv-gold); color: var(--mv-gold-ink); }
.mv-call__text { display: flex; flex-direction: column; line-height: 1.3; }
.mv-call__text small { color: var(--mv-dim); font-size: 11px; }
.mv-call__text strong { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; }

.mv-burger {
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--mv-line-2);
    background: rgba(255, 255, 255, .05);
    padding: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    cursor: pointer;
}
.mv-burger span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.mv-burger span:nth-child(2) { width: 12px; margin-inline-start: 6px; }

/* blur lives on a pseudo-element so the fixed mobile drawer is not trapped inside the header */
.mv-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: rgba(13, 15, 18, .82);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 1px 0 var(--mv-line), 0 18px 40px -24px rgba(0, 0, 0, .8);
    transition: opacity .35s ease;
}
.mv-header.is-scrolled::before { opacity: 1; }
body.mv-menu-open .mv-header { z-index: 1003; }
.mv-header.is-scrolled .mv-topbar { max-height: 0; opacity: 0; border-color: transparent; }
.mv-header.is-scrolled { --mv-header-h: 66px; }
.mv-header.is-scrolled .mv-brand__logo { width: 44px; height: 44px; }

.mv-menu-backdrop {
    position: fixed; inset: 0; z-index: 1001;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

@media (max-width: 1199.98px) {
    .mv-call__text { display: none; }
    .mv-menu__link { padding: 8px 10px; font-size: 13.5px; }
    .mv-brand__text small { display: none; }
}

@media (max-width: 991.98px) {
    .mv-topbar { display: none; }
    :root { --mv-header-h: 68px; }
    .mv-call { display: none; }
    .mv-burger { display: inline-flex; }
    .mv-nav__inner { gap: 12px; }
    .mv-nav__actions { margin-inline-start: auto; }

    .mv-menu {
        position: fixed;
        top: 0; bottom: 0; right: 0;
        width: min(340px, 86vw);
        z-index: 1002;
        flex-direction: column;
        justify-content: flex-start;
        background: var(--mv-bg-2);
        border-left: 1px solid var(--mv-line);
        box-shadow: -30px 0 60px rgba(0, 0, 0, .5);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .4s var(--mv-ease), visibility .4s;
        padding: 18px;
        overflow-y: auto;
    }
    .mv-menu__head {
        display: flex; align-items: center; justify-content: space-between;
        color: #fff; font-weight: 700; padding-bottom: 14px; margin-bottom: 10px;
        border-bottom: 1px solid var(--mv-line);
    }
    .mv-menu__close {
        width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--mv-line-2);
        background: transparent; color: #fff; cursor: pointer;
    }
    .mv-menu__list { flex-direction: column; align-items: stretch; gap: 4px; padding: 0; }
    .mv-menu__link { padding: 13px 14px; border-radius: 12px; font-size: 15px; }
    .mv-menu__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; }

    body.mv-menu-open { overflow: hidden; }
    body.mv-menu-open .mv-menu { transform: translateX(0); visibility: visible; }
    body.mv-menu-open .mv-menu-backdrop { opacity: 1; visibility: visible; }
}

@media (max-width: 575.98px) {
    .mv-nav__login span { display: none; }
    .mv-nav__login { width: 44px; height: 44px; padding: 0; }
    .mv-brand__text strong { font-size: 14px; }
    .mv-brand__logo { width: 44px; height: 44px; }
}

/* ---------- Hero ---------- */
.mv-hero {
    position: relative;
    min-height: min(94vh, 880px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--mv-header-h) + 90px) 0 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--mv-bg);
}
.mv-hero__media { position: absolute; inset: 0; z-index: -1; }
.mv-hero__slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 7s linear;
}
.mv-hero__slide.is-active { opacity: 1; transform: scale(1); }
.mv-hero__media:not(:has(.mv-hero__slide)) {
    background:
        radial-gradient(900px 500px at 15% 30%, rgba(245, 183, 84, .16), transparent 60%),
        radial-gradient(700px 400px at 90% 90%, rgba(80, 110, 160, .14), transparent 60%),
        var(--mv-bg);
}
.mv-hero__shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(270deg, rgba(13, 15, 18, .96) 0%, rgba(13, 15, 18, .78) 40%, rgba(13, 15, 18, .35) 100%),
        linear-gradient(0deg, var(--mv-bg) 0%, rgba(13, 15, 18, 0) 38%),
        linear-gradient(180deg, rgba(13, 15, 18, .7) 0%, rgba(13, 15, 18, 0) 25%);
}
.mv-hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 80% 40%, #000 0%, transparent 65%);
    mask-image: radial-gradient(ellipse at 80% 40%, #000 0%, transparent 65%);
}

.mv-hero__inner { flex: 1; display: flex; align-items: center; }
.mv-hero__content { max-width: 680px; padding-bottom: 56px; }
.mv-hero__title { margin: 0 0 20px; font-weight: 700; }
.mv-hero__name, .mv-hero__caption { transition: opacity .4s ease; }
.mv-hero__caption:empty { display: none; }
.mv-hero__features--1 { grid-template-columns: 1fr !important; }
.mv-hero__features--2 { grid-template-columns: repeat(2, 1fr) !important; }
.mv-hero__features--3 { grid-template-columns: repeat(3, 1fr) !important; }
.mv-hero__features .mv-counter { font-size: 22px; line-height: 1.3; color: var(--mv-gold); }
.mv-hero:not(:has(.mv-hero__features)) .mv-hero__content { padding-bottom: 110px; }
.mv-hero__name {
    display: block;
    color: #fff;
    font-size: clamp(2.1rem, 5.2vw, 3.6rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
}
.mv-hero__caption {
    display: block;
    margin-top: 6px;
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    font-weight: 500;
    line-height: 1.7;
    background: linear-gradient(90deg, #ffd796, var(--mv-gold) 50%, #e8a33c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity .4s ease;
}
.mv-hero__lead { color: rgba(255, 255, 255, .74); font-size: 16px; line-height: 2.05; max-width: 560px; margin: 0 0 32px; }
.mv-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.mv-hero__dots { display: flex; gap: 8px; margin-top: 36px; }
.mv-hero__dots button {
    width: 26px; height: 4px; padding: 0; border: 0; border-radius: 4px;
    background: rgba(255, 255, 255, .25); cursor: pointer;
    transition: width .35s var(--mv-ease), background .3s ease;
}
.mv-hero__dots button.is-active { width: 46px; background: var(--mv-gold); }

.mv-hero__features-wrap { position: relative; z-index: 2; }
.mv-hero__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 -1px;
    padding: 0;
    list-style: none;
    border: 1px solid var(--mv-line);
    border-bottom: 0;
    border-radius: var(--mv-radius) var(--mv-radius) 0 0;
    background: rgba(18, 21, 26, .78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}
.mv-hero__features li { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.mv-hero__features li + li { border-right: 1px solid var(--mv-line); }
.mv-hero__ficon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mv-gold); background: var(--mv-gold-soft); border: 1px solid var(--mv-gold-line);
    font-size: 18px;
}
.mv-hero__features strong { display: block; color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.mv-hero__features small { display: block; color: var(--mv-dim); font-size: 12.5px; line-height: 1.6; }

@media (max-width: 991.98px) {
    .mv-hero { min-height: auto; padding-top: calc(var(--mv-header-h) + 70px); }
    .mv-hero__shade { background: linear-gradient(0deg, var(--mv-bg) 0%, rgba(13, 15, 18, .82) 45%, rgba(13, 15, 18, .65) 100%); }
    .mv-hero__features { grid-template-columns: 1fr 1fr; }
    .mv-hero__features li:nth-child(3) { border-right: 0; }
    .mv-hero__features li:nth-child(n+3) { border-top: 1px solid var(--mv-line); }
}
@media (max-width: 575.98px) {
    .mv-hero__features li { padding: 16px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
    .mv-hero__ficon { width: 40px; height: 40px; font-size: 16px; }
    .mv-hero__lead { font-size: 15px; }
    .mv-hero__cta .mv-btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.mv-section { position: relative; padding: var(--mv-section) 0; }
.mv-section--alt {
    background:
        radial-gradient(800px 340px at 0% 0%, rgba(245, 183, 84, .06), transparent 60%),
        var(--mv-bg-2);
    border-top: 1px solid var(--mv-line);
    border-bottom: 1px solid var(--mv-line);
}

.mv-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}
.mv-section-head--center { justify-content: center; text-align: center; }
.mv-section-head--center .mv-subheading { margin-inline: auto; }

@media (max-width: 767.98px) {
    :root { --mv-section: 72px; }
    .mv-section-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
    .mv-section-head--center { align-items: center; }
}

/* About */
.mv-about__text { margin-bottom: 24px; font-size: 15px; }
.mv-about__visual { position: relative; padding: 0 0 28px 28px; }
.mv-about__frame {
    aspect-ratio: 5 / 4;
    border-radius: 28px;
    border: 1px solid var(--mv-line-2);
    box-shadow: var(--mv-shadow);
}
.mv-about__frame img { transition: transform .8s var(--mv-ease); }
.mv-about__visual:hover .mv-about__frame img { transform: scale(1.04); }
.mv-about__badge {
    position: absolute;
    left: 0; bottom: 0;
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(23, 26, 32, .92);
    border: 1px solid var(--mv-gold-line);
    backdrop-filter: blur(12px);
    box-shadow: var(--mv-shadow);
}
.mv-about__badge-icon {
    width: 46px; height: 46px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ffd08a, var(--mv-gold-2)); color: var(--mv-gold-ink); font-size: 19px;
}
.mv-about__badge strong { display: block; color: #fff; font-size: 14.5px; line-height: 1.5; }
.mv-about__badge small { display: block; color: var(--mv-dim); font-size: 12px; }
.mv-about__dots {
    position: absolute; top: -18px; right: -18px; z-index: -1;
    width: 140px; height: 140px;
    background-image: radial-gradient(rgba(245, 183, 84, .45) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
}

.mv-checklist {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px;
    margin: 0 0 32px; padding: 0; list-style: none;
}
.mv-checklist li { display: flex; align-items: center; gap: 10px; color: var(--mv-text); font-size: 14.5px; }
.mv-checklist i { color: var(--mv-gold); }
@media (max-width: 575.98px) { .mv-checklist { grid-template-columns: 1fr; } }

/* Services */
.mv-service {
    height: 100%;
    display: flex; flex-direction: column;
    background: var(--mv-surface);
    border: 1px solid var(--mv-line);
    border-radius: var(--mv-radius);
    overflow: hidden;
    transition: transform .4s var(--mv-ease), border-color .3s ease, box-shadow .4s ease;
}
.mv-service:hover { transform: translateY(-6px); border-color: var(--mv-gold-line); box-shadow: var(--mv-shadow); }
.mv-service__media { aspect-ratio: 16 / 10; }
.mv-service__media img { transition: transform .8s var(--mv-ease); }
.mv-service:hover .mv-service__media img { transform: scale(1.06); }
.mv-service__media::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(23, 26, 32, .85) 0%, transparent 55%);
    pointer-events: none;
}
.mv-service__index {
    position: absolute; bottom: 14px; right: 18px; z-index: 2;
    font-size: 38px; font-weight: 700; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 183, 84, .8);
}
.mv-service__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.mv-service__title { margin: 0 0 10px; color: #fff; font-size: 18.5px; font-weight: 700; line-height: 1.6; }
.mv-service__desc {
    font-size: 14px; line-height: 1.95; margin-bottom: 18px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mv-service__link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--mv-gold) !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important;
}
.mv-service__link i { transition: transform .25s var(--mv-ease); }
.mv-service__link:hover i { transform: translateX(-4px); }

/* Process */
.mv-steps {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin: 0; padding: 0; list-style: none;
    counter-reset: none;
}
.mv-steps::before {
    content: "";
    position: absolute; top: 50px; right: 12%; left: 12%;
    border-top: 1px dashed var(--mv-gold-line);
}
.mv-step {
    position: relative;
    padding: 28px 22px 26px;
    text-align: center;
    background: var(--mv-surface);
    border: 1px solid var(--mv-line);
    border-radius: var(--mv-radius);
    transition: transform .4s var(--mv-ease), border-color .3s ease;
}
.mv-step:hover { transform: translateY(-6px); border-color: var(--mv-gold-line); }
.mv-step__icon {
    position: relative;
    width: 60px; height: 60px; margin: 0 auto 18px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--mv-surface-3); border: 1px solid var(--mv-gold-line);
    color: var(--mv-gold); font-size: 22px;
}
.mv-step__num {
    position: absolute; top: 14px; left: 16px;
    color: rgba(255, 255, 255, .08); font-size: 44px; font-weight: 700; line-height: 1;
}
.mv-step h3 { margin: 0 0 8px; color: #fff; font-size: 16.5px; font-weight: 700; }
.mv-step p { margin: 0; color: var(--mv-muted); font-size: 13.5px; line-height: 1.95; }
@media (max-width: 991.98px) {
    .mv-steps { grid-template-columns: 1fr 1fr; }
    .mv-steps::before { display: none; }
}
@media (max-width: 575.98px) { .mv-steps { grid-template-columns: 1fr; } }

/* Brands */
.mv-brands { padding: 46px 0; border-top: 1px solid var(--mv-line); border-bottom: 1px solid var(--mv-line); background: var(--mv-bg-2); }
.mv-brands__label { text-align: center; color: var(--mv-dim); font-size: 13px; margin: 0 0 22px; }
.mv-brands__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mv-brands__item {
    width: 132px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--mv-line);
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.mv-brands__item img { max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .65; transition: filter .3s ease, opacity .3s ease; }
.mv-brands__item:hover { border-color: var(--mv-gold-line); background: var(--mv-gold-soft); transform: translateY(-3px); }
.mv-brands__item:hover img { filter: none; opacity: 1; }

/* Feed cards (news / articles) */
.mv-card {
    height: 100%;
    display: flex; flex-direction: column;
    background: var(--mv-surface);
    border: 1px solid var(--mv-line);
    border-radius: var(--mv-radius);
    overflow: hidden;
    transition: transform .4s var(--mv-ease), border-color .3s ease, box-shadow .4s ease;
}
.mv-card:hover { transform: translateY(-6px); border-color: var(--mv-gold-line); box-shadow: var(--mv-shadow); }
.mv-card__media { aspect-ratio: 16 / 10; }
.mv-card__media img { transition: transform .8s var(--mv-ease); }
.mv-card:hover .mv-card__media img { transform: scale(1.06); }
.mv-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.mv-card__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--mv-gold); font-size: 12.5px; margin-bottom: 8px; }
.mv-card__title { margin: 0 0 16px; font-size: 16.5px; font-weight: 700; line-height: 1.75; }
.mv-card__title a { color: #fff !important; text-decoration: none !important; }
.mv-card__title a:hover { color: var(--mv-gold) !important; }
.mv-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--mv-muted) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.mv-card__link:hover { color: var(--mv-gold) !important; }

/* CTA */
.mv-cta-wrap { padding: 0 0 var(--mv-section); }
.mv-section + .mv-cta-wrap,
.mv-section--alt + .mv-cta-wrap { padding-top: var(--mv-section); }
.mv-cta {
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; gap: 28px;
    padding: 44px 48px;
    border-radius: 28px;
    background: linear-gradient(120deg, #ffd796 0%, var(--mv-gold) 45%, #d98a1c 100%);
    color: var(--mv-gold-ink);
    box-shadow: 0 40px 80px -30px rgba(245, 183, 84, .45);
}
.mv-cta__glow {
    position: absolute; inset: -40% auto auto -10%;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 65%);
    pointer-events: none;
}
.mv-cta::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(26, 19, 5, .12) 1.2px, transparent 1.2px);
    background-size: 16px 16px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
    mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.mv-cta__icon {
    position: relative; z-index: 1; flex-shrink: 0;
    width: 72px; height: 72px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(26, 19, 5, .9); color: var(--mv-gold); font-size: 28px;
}
.mv-cta__text { position: relative; z-index: 1; flex: 1; }
.mv-cta__text h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; color: var(--mv-gold-ink); }
.mv-cta__text p { margin: 0; color: rgba(26, 19, 5, .78); font-size: 15px; line-height: 1.9; }
.mv-cta__actions { position: relative; z-index: 1; }
@media (max-width: 767.98px) {
    .mv-cta { flex-direction: column; text-align: center; padding: 34px 24px; }
}

/* ---------- Footer ---------- */
.mv-footer {
    position: relative;
    background: #090a0c;
    border-top: 1px solid var(--mv-line);
    padding-top: 0;
    color: var(--mv-muted);
}
.mv-footer::before {
    content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: min(720px, 80%); height: 1px;
    background: linear-gradient(90deg, transparent, var(--mv-gold), transparent);
}
.mv-footer__contact {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    padding: 44px 0 40px;
    border-bottom: 1px solid var(--mv-line);
}
.mv-footer__ci {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--mv-surface);
    border: 1px solid var(--mv-line);
    text-decoration: none !important;
    min-width: 0;
    transition: border-color .25s ease, transform .25s ease;
}
a.mv-footer__ci:hover { border-color: var(--mv-gold-line); transform: translateY(-3px); }
.mv-footer__ci-icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mv-gold); background: var(--mv-gold-soft); border: 1px solid var(--mv-gold-line);
}
.mv-footer__ci > span:last-child { min-width: 0; }
.mv-footer__ci small { display: block; color: var(--mv-dim); font-size: 12px; }
.mv-footer__ci strong { display: block; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; }

.mv-footer__main { padding: 56px 0 40px; }
.mv-brand--footer { margin-bottom: 18px; }
.mv-footer__about { color: var(--mv-muted); font-size: 14px; line-height: 2.1; margin: 0 0 22px; max-width: 420px; }
.mv-footer__title { color: #fff; font-size: 15px; font-weight: 700; margin: 6px 0 18px; }
.mv-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mv-footer__links a { color: var(--mv-muted) !important; font-size: 14px; text-decoration: none !important; display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease, transform .2s ease; }
.mv-footer__links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mv-gold-line); transition: background .2s ease; }
.mv-footer__links a:hover { color: var(--mv-gold) !important; transform: translateX(-3px); }
.mv-footer__links a:hover::before { background: var(--mv-gold); }
.mv-footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mv-footer__social a {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--mv-surface); border: 1px solid var(--mv-line);
    transition: border-color .2s ease, transform .2s ease;
}
.mv-footer__social a:hover { border-color: var(--mv-gold); transform: translateY(-3px); }
.mv-footer__social img { width: 22px; height: 22px; object-fit: contain; }
.mv-footer__badges { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mv-footer__badges img { max-width: 90px; height: auto; border-radius: 10px; background: #fff; padding: 4px; }

.mv-footer__bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 20px 0 24px;
    border-top: 1px solid var(--mv-line);
    font-size: 13px; color: var(--mv-dim);
}
.mv-footer__bottom p { margin: 0; }
.mv-footer .site-designer-trigger {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid var(--mv-line-2); border-radius: 999px;
    padding: 6px 14px; color: var(--mv-muted); font-size: 12.5px; cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}
.mv-footer .site-designer-trigger:hover { border-color: var(--mv-gold); color: var(--mv-gold); }

@media (max-width: 991.98px) {
    .mv-footer__contact { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .mv-footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- Inner page hero (shared by every non-home page) ---------- */
.site-page-hero {
    padding: calc(var(--mv-header-h) + 110px) 0 64px !important;
    background:
        radial-gradient(900px 380px at 85% -10%, rgba(245, 183, 84, .16), transparent 60%),
        radial-gradient(700px 300px at 0% 110%, rgba(80, 110, 160, .12), transparent 60%),
        var(--mv-bg) !important;
    border-bottom: 1px solid var(--mv-line) !important;
}
.site-page-hero__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem) !important; }
.site-page-hero__crumb {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--mv-line);
}
@media (max-width: 991.98px) {
    .site-page-hero { padding: calc(var(--mv-header-h) + 60px) 0 44px !important; }
}

/* Inner pages: unify surfaces of legacy page CSS */
.site-section--alt { background: var(--mv-bg-2) !important; }
.site-card,
.service-card,
.home-card,
.news-card,
.blog-card,
.branch-card {
    background: var(--mv-surface) !important;
    border-color: var(--mv-line) !important;
    border-radius: var(--mv-radius) !important;
}
.site-card:hover,
.service-card:hover,
.news-card:hover,
.blog-card:hover,
.branch-card:hover { border-color: var(--mv-gold-line) !important; }

.form-control,
.form-select {
    background-color: var(--mv-surface-2) !important;
    border: 1px solid var(--mv-line-2) !important;
    border-radius: var(--mv-radius-sm) !important;
    color: var(--mv-text) !important;
}
.form-control::placeholder { color: var(--mv-dim) !important; }
.form-control:focus,
.form-select:focus {
    border-color: var(--mv-gold) !important;
    box-shadow: 0 0 0 4px var(--mv-gold-soft) !important;
}

/* ---------- Template chrome (preloader / scroll-to-top) ---------- */
.preloader-bg,
#preloader { background: var(--mv-bg) !important; }
.progress-wrap {
    border-radius: 14px !important;
    box-shadow: inset 0 0 0 1px var(--mv-line-2) !important;
    background: rgba(23, 26, 32, .85);
    backdrop-filter: blur(10px);
}
.progress-wrap svg.progress-circle path { stroke: var(--mv-gold) !important; }

/* ---------- Reveal on scroll ---------- */
.mv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--mv-ease), transform .8s var(--mv-ease); }
.mv-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .mv-reveal { opacity: 1; transform: none; }
}

/* ---------- DB-driven additions ---------- */
.mv-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mv-cert {
    height: 100%;
    display: flex; flex-direction: column;
    background: var(--mv-surface);
    border: 1px solid var(--mv-line);
    border-radius: var(--mv-radius);
    overflow: hidden;
    transition: transform .4s var(--mv-ease), border-color .3s ease, box-shadow .4s ease;
}
.mv-cert:hover { transform: translateY(-6px); border-color: var(--mv-gold-line); box-shadow: var(--mv-shadow); }
.mv-cert__media { aspect-ratio: 4 / 3; background-color: #fff; }
.mv-cert__media img { object-fit: contain; padding: 14px; transition: transform .6s var(--mv-ease); }
.mv-cert:hover .mv-cert__media img { transform: scale(1.04); }
.mv-cert__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.mv-cert__title { margin: 0 0 4px; color: #fff; font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.mv-cert__meta { display: inline-flex; align-items: center; gap: 7px; color: var(--mv-gold); font-size: 12.5px; }
.mv-cert__desc { font-size: 13px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.mv-cta__text p { display: flex; align-items: flex-start; gap: 8px; }
.mv-cta__text p + p { margin-top: 4px; }
.mv-cta__text p i { margin-top: 7px; font-size: 13px; }
.mv-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mv-btn--line-dark { --b-line: rgba(26, 19, 5, .35); --b-fg: var(--mv-gold-ink); --b-bg: rgba(255, 255, 255, .18); }
.mv-btn--line-dark:hover { --b-bg: rgba(255, 255, 255, .35); }
@media (max-width: 767.98px) {
    .mv-cta__text p { justify-content: center; }
    .mv-cta__actions { justify-content: center; }
}
@media (max-width: 575.98px) {
    .mv-hero__features[class*="--"] { grid-template-columns: 1fr 1fr !important; }
    .mv-hero__features--1 { grid-template-columns: 1fr !important; }
}

/* ---------- Header stability ---------- */
.mv-menu__link,
.mv-brand__text strong,
.mv-call__text strong,
.mv-nav__login { white-space: nowrap; }
.mv-menu { min-width: 0; }
.mv-menu__list { flex-wrap: nowrap; }
.mv-menu__list > li { flex: 0 0 auto; }
.mv-brand__logo { display: block; flex: 0 0 auto; }

@media (max-width: 1399.98px) {
    .mv-nav__inner { gap: 16px; }
    .mv-menu__link { padding-inline: 11px; font-size: 13.5px; }
    .mv-brand__text small { display: none; }
    .mv-brand__text strong { font-size: 15px; }
}
@media (max-width: 1199.98px) {
    .mv-brand__text strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
    .mv-menu__link { padding-inline: 8px; font-size: 13px; }
    .mv-nav__login span { display: none; }
    .mv-nav__login { width: 40px; height: 40px; padding: 0; }
}
@media (max-width: 991.98px) {
    .mv-brand__text strong { max-width: none; }
    .mv-menu__link { font-size: 15px; padding: 13px 14px; }
}
@media (max-width: 575.98px) {
    .mv-brand__text strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Breadcrumb ---------- */
.site-page-hero__current {
    max-width: min(46vw, 420px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
.site-page-hero__crumb { max-width: 100%; flex-wrap: nowrap !important; }
.site-page-hero__crumb a { white-space: nowrap; }

/* ---------- Visual refinement ---------- */
h1, h2, h3, .mv-heading, .site-page-hero__title { text-wrap: balance; }
p, li { text-wrap: pretty; }

.mv-nav__login:hover { transform: none; }
@media (min-width: 992px) {
    .mv-menu__list {
        background: rgba(255, 255, 255, .035);
        border: 1px solid var(--mv-line);
        backdrop-filter: blur(10px);
    }
}
.mv-menu__link.is-active { box-shadow: inset 0 0 0 1px var(--mv-gold-line); }

.mv-section-head .mv-heading::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--mv-gold-2), var(--mv-gold));
}
.mv-section-head--center .mv-heading::after { margin-inline: auto; }

.mv-card,
.mv-service,
.mv-cert,
.blog-card,
.news-card,
.service-card,
.branch-card {
    background: linear-gradient(180deg, var(--mv-surface-2), var(--mv-surface)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px -28px rgba(0, 0, 0, .9);
}
.mv-card:hover,
.mv-service:hover,
.mv-cert:hover,
.blog-card:hover,
.news-card:hover,
.service-card:hover,
.branch-card:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 28px 54px -24px rgba(0, 0, 0, .95), 0 0 0 1px var(--mv-gold-soft);
}

/* Four service cards share one row instead of leaving one alone */
@media (min-width: 1200px) {
    .row.g-4:has(> .col-xl-4:nth-child(4):last-child) > .col-xl-4 { flex: 0 0 auto; width: 25%; }
}

/* ---------- Article and news reading ---------- */
.blog-details-article,
.news-details-article {
    background: linear-gradient(180deg, var(--mv-surface-2), var(--mv-surface) 340px) !important;
    border-color: var(--mv-line) !important;
    border-radius: var(--mv-radius) !important;
    box-shadow: var(--mv-shadow);
}
.blog-details-article__meta,
.news-details-article__meta { gap: 10px !important; margin-bottom: 26px !important; }
.blog-details-article__meta > *,
.news-details-article__meta > * {
    padding: 6px 14px;
    border: 1px solid var(--mv-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: var(--mv-muted);
}
.blog-details-article__content p,
.blog-details-article__content li,
.news-details-article__content p,
.news-details-article__content li {
    color: #ccd1da !important;
    font-size: 16px !important;
    line-height: 2.15 !important;
}
.blog-details-article__content h2,
.news-details-article__content h2 {
    margin: 42px 0 14px !important;
    padding-right: 14px;
    border-right: 3px solid var(--mv-gold);
    font-size: clamp(1.2rem, 2.2vw, 1.5rem) !important;
    line-height: 1.7 !important;
}
.blog-details-article__content h3,
.news-details-article__content h3 { margin-top: 26px !important; font-size: 1.1rem !important; }
.blog-details-article__content li::marker,
.news-details-article__content li::marker { color: var(--mv-gold); }
.blog-details-article__content > p:first-child,
.news-details-article__content > p:first-child {
    color: #fff !important;
    font-size: 17.5px !important;
}
.blog-related .mv-section-head { margin-bottom: 26px; }
.blog-card__title { font-size: 1.08rem; line-height: 1.75; }

@media (max-width: 575.98px) {
    .blog-details-article__content p,
    .blog-details-article__content li { font-size: 15px !important; }
    .blog-details-article__content > p:first-child { font-size: 16px !important; }
}

/* Wide Bootstrap gutters must not exceed the container padding on phones */
@media (max-width: 767.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .mv-about__dots { display: none; }
}
