.mb-page{--mb-bg:#070b12;--mb-bg2:#0c1624;--mb-card:rgba(15,25,42,.7);--mb-text:#fff;--mb-muted:#b8c3d0;--mb-line:rgba(255,255,255,.12);--mb-blue:#1a73e8;--mb-cyan:#38bdf8;background:var(--mb-bg);color:var(--mb-text);font-family:inherit;overflow:hidden}.mb-page *{box-sizing:border-box}.mb-page a{text-decoration:none}.mb-local-nav{position:relative;z-index:5;background:linear-gradient(180deg,rgba(7,11,18,.96),rgba(7,11,18,.75));border-bottom:1px solid var(--mb-line)}.mb-local-nav .container{display:flex;align-items:center;justify-content:center;gap:1.5rem;min-height:48px;flex-wrap:wrap}.mb-local-nav a{color:#d9e3ed;font-size:.72rem;font-weight:700}.mb-local-nav a:hover{color:var(--mb-cyan)}.mb-wa-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 38px;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, .15);
    border: 1px solid rgba(37, 211, 102, .45);
    color: #25d366 !important;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.mb-wa-link:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

.mb-wa-link svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: currentColor;
}
.mb-hero{position:relative;min-height:calc(100vh - 48px);display:flex;align-items:center;background:linear-gradient(90deg,rgba(7,11,18,.35),rgba(7,11,18,.94)),linear-gradient(180deg,rgba(7,11,18,.72),rgba(7,11,18,.12) 45%,#070b12),var(--mb-hero);background-size:cover;background-position:center;isolation:isolate}.mb-hero-content{padding:8rem 1rem 10rem}.mb-kicker{display:block;color:var(--mb-cyan);font-size:.83rem;font-weight:800;letter-spacing:.12em;margin-bottom:.7rem}.mb-hero h1{
    /*max-width:650px;*/
    font-size:clamp(2.7rem,7vw,5.7rem);font-weight:900;line-height:1.12;margin:0 0 1rem}.mb-lead{font-size:1.2rem;color:#dbe6f1}.mb-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:2rem}.mb-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:45px;padding:.7rem 1.2rem;border-radius:999px;border:1px solid transparent;font-size:.78rem;font-weight:800;cursor:pointer;transition:.25s}.mb-btn-primary{background:linear-gradient(135deg,#1d74e8,#0e52b5);color:#fff;box-shadow:0 6px 24px rgba(29,116,232,.35)}.mb-btn-primary:hover{color:#fff;transform:translateY(-2px);box-shadow:0 8px 30px rgba(43,130,246,.58)}.mb-btn-glass{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.25);color:#fff;backdrop-filter:blur(10px)}.mb-btn-glass:hover{background:rgba(255,255,255,.17);color:#fff}.mb-scroll{position:absolute;bottom:1.7rem;inset-inline-end:5%;display:flex;flex-direction:column;align-items:center;gap:.4rem;color:#cbd5e1;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase}.mb-scroll span{width:23px;height:38px;border:2px solid #fff;border-radius:99px;position:relative}.mb-scroll span:after{content:"";position:absolute;top:6px;left:50%;width:3px;height:8px;border-radius:9px;background:var(--mb-cyan);animation:mb-wheel 1.4s infinite}.mb-features{position:relative;z-index:2;margin-top:-2.2rem;padding:0 1rem 4rem}.mb-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.mb-glass{background:var(--mb-card);backdrop-filter:blur(14px);border:1px solid var(--mb-line);transition:.35s}.mb-glass:hover {
    background: rgba(22, 38, 64, 0.82);
    border-color: rgba(56, 189, 248, 0.40);
    transform: translateY(-4px);
}
.mb-feature{min-height:155px;border-radius:1rem;padding:1.5rem;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.mb-feature h2{font-size:.92rem;margin:0;font-weight:800}.mb-feature small{color:var(--mb-muted);font-size:.7rem}.mb-section{padding:5.5rem 1rem}.mb-models{background:linear-gradient(180deg,rgba(12,22,36,.88),rgba(7,11,18,.97));border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.05)}.mb-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:2rem}.mb-heading h2,.mb-heading-line h2{font-size:clamp(1.8rem,4vw,3rem);font-weight:900;margin:0}.mb-heading p{color:var(--mb-muted);max-width:480px;margin:0}.mb-heading-line{align-items:center}.mb-heading-line:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);margin-inline-start:1.2rem}.mb-filters{display:flex;justify-content:flex-start;gap:.6rem;flex-wrap:wrap;margin-bottom:2rem}.mb-filters button{border:1px solid var(--mb-line);background:rgba(255,255,255,.05);color:#94a3b8;border-radius:999px;padding:.65rem 1.2rem;font:inherit;font-size:.74rem;font-weight:800;cursor:pointer}.mb-filters button.is-active,.mb-filters button:hover{background:var(--mb-blue);border-color:var(--mb-blue);color:#fff}.mb-model-list{display:grid;gap:1.5rem}.mb-model{display:grid;grid-template-columns:1.15fr .85fr;gap:2rem;border-radius:1.5rem;padding:1.5rem;overflow:hidden}.mb-model.is-hidden{display:none}.mb-model-image{min-height:300px;border-radius:1rem;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent);display:grid;place-items:center;overflow:hidden}.mb-model-image img{width:100%;height:100%;max-height:360px;object-fit:contain;filter:drop-shadow(0 22px 24px rgba(0,0,0,.4));transition:.4s}.mb-model:hover .mb-model-image img{transform:scale(1.04)}.mb-model-body{display:flex;flex-direction:column;justify-content:center}.mb-model-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.mb-model-head span{color:var(--mb-cyan);font:700 .75rem Arial}.mb-model-head h3{font-size:clamp(1.5rem,3vw,2.3rem);margin:0;font-weight:900;direction:ltr}.mb-tag{color:#7dd3fc;font-weight:800;font-size:.76rem}.mb-description{color:#c6d1de;line-height:1.9;font-size:.86rem}.mb-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin:1rem 0}.mb-specs div{background:rgba(255,255,255,.05);border:1px solid var(--mb-line);border-radius:.7rem;padding:.6rem;text-align:center}.mb-specs small{display:block;color:#94a3b8;font-size:.62rem}.mb-specs b{display:block;font-size:.69rem;color:#fff;margin-top:.25rem}.mb-colors{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.4rem 0 1rem;color:#9caabd;font-size:.7rem}.mb-colors strong{color:#fff}.mb-colors>div{display:flex;gap:.55rem}.mb-swatch{width:22px;height:22px;border-radius:50%;border:0;background:var(--swatch);box-shadow:0 0 0 1px rgba(255,255,255,.3);cursor:pointer;transition:.2s}.mb-swatch.is-active{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--mb-cyan);transform:scale(1.1)}.mb-model-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:auto}.mb-model-actions .mb-btn{flex:1}.mb-empty{color:var(--mb-muted);padding:2rem;border:1px dashed var(--mb-line);border-radius:1rem}.mb-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.mb-service{border-radius:1.2rem;padding:1.7rem;display:flex;flex-direction:column;min-height:270px}.mb-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.30);
    color: var(--mb-cyan);
    margin-bottom: 1rem;
}

.mb-service-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    stroke: currentColor;
}
.mb-service h3{font-size:1.1rem;margin:.7rem 0}.mb-service p{color:var(--mb-muted);font-size:.82rem;line-height:1.9;margin:0 0 1.2rem}.mb-service .mb-btn{margin-top:auto}.mb-amg{padding:6rem 1rem;min-height:360px;background:linear-gradient(90deg,rgba(7,11,18,.94),rgba(7,11,18,.55),rgba(7,11,18,.18)),url('https://images.unsplash.com/photo-1605559424843-9e4c228bf1c2?auto=format&fit=crop&w=2000&q=85') center/cover}.mb-amg h2{font-size:clamp(2rem,5vw,3.7rem);font-weight:900;margin:.3rem 0}.mb-amg p{font-size:1.3rem;color:#e2e8f0;font-weight:800;margin-bottom:1.5rem}.mb-services-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:2rem;align-items:stretch}.mb-mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}.mb-mini{border-radius:1rem;padding:1.1rem;text-align:center;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center}.mb-mini h3{font-size:.72rem;margin:1rem 0 0}.mb-dealer{min-height:310px;border-radius:1.2rem;background:linear-gradient(0deg,rgba(7,11,18,.95),rgba(7,11,18,.1)),url('https://images.unsplash.com/photo-1562141961-b5d1855d7f30?auto=format&fit=crop&w=1200&q=80') center/cover;position:relative}.mb-dealer-overlay{position:absolute;inset:auto 1.3rem 1.3rem}.mb-dealer h2{font-size:1.4rem;margin:0}.mb-dealer p{color:#cbd5e1;font-size:.8rem}.mb-branches{padding:4rem 1rem;background:var(--mb-bg2)}.mb-branches h2{font-size:2rem}.mb-branch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.mb-branch{border-radius:1rem;padding:1.3rem;display:flex;flex-direction:column;gap:.35rem}.mb-branch b{font-size:.95rem}.mb-branch span,.mb-branch small{color:var(--mb-muted);font-size:.76rem}.mb-modal{position:fixed;inset:0;z-index:2000;background:rgba(3,6,12,.86);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:1rem}.mb-modal.is-open{display:flex}.mb-modal-box{width:min(720px,100%);position:relative;background:#0d1726;border:1px solid rgba(56,189,248,.35);border-radius:1.5rem;overflow:hidden;box-shadow:0 25px 80px rgba(0,0,0,.5)}.mb-modal-box>img{width:100%;height:260px;object-fit:contain;background:linear-gradient(180deg,#172842,#0d1726)}.mb-modal-content{padding:1.5rem}.mb-modal-content h2{margin:.2rem 0 .6rem;font-size:1.8rem}.mb-modal-content p{color:#cbd5e1;line-height:1.9}.mb-modal-actions{display:flex;gap:.7rem;flex-wrap:wrap}.mb-close{position:absolute;top:.8rem;inset-inline-start:.8rem;z-index:2;width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:1.5rem;cursor:pointer}.mb-video-placeholder{padding:6rem 2rem;text-align:center}.mb-video-placeholder b{font-size:2rem}.mb-video-placeholder p{color:#cbd5e1}.mb-video-box{max-width:720px}@keyframes mb-wheel{to{transform:translateY(10px);opacity:0}}
html[data-theme="light"] .mb-page{--mb-bg:#f3f6fa;--mb-bg2:#e7edf4;--mb-card:rgba(255,255,255,.84);--mb-text:#101b2b;--mb-muted:#526274;--mb-line:rgba(15,35,55,.16)}html[data-theme="light"] .mb-models{background:#eef3f8}html[data-theme="light"] .mb-model{color:#102033}html[data-theme="light"] .mb-description,html[data-theme="light"] .mb-heading p{color:#526274}html[data-theme="light"] .mb-specs div{background:rgba(10,30,50,.06)}html[data-theme="light"] .mb-specs b,html[data-theme="light"] .mb-colors strong{color:#102033}html[data-theme="light"] .mb-local-nav{background:rgba(247,250,253,.94)}html[data-theme="light"] .mb-local-nav a{color:#26384a}
@media(max-width:991px){.mb-feature-grid{grid-template-columns:repeat(2,1fr)}.mb-model{grid-template-columns:1fr}.mb-services-layout{grid-template-columns:1fr}.mb-model-image{min-height:240px}.mb-mini-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.mb-local-nav .container{justify-content:flex-start;overflow:auto;flex-wrap:nowrap;white-space:nowrap}.mb-hero{min-height:720px}.mb-hero-content{padding-inline:1rem}.mb-features{padding-inline:.7rem}.mb-feature-grid,.mb-service-grid,.mb-branch-grid{grid-template-columns:1fr}.mb-heading{display:block}.mb-heading p{margin-top:1rem}.mb-specs{grid-template-columns:1fr}.mb-model{padding:1rem}.mb-model-head{align-items:flex-start;flex-direction:column-reverse}.mb-model-actions .mb-btn{flex:1 1 100%}.mb-scroll{display:none}.mb-section{padding-block:4rem}}
/* =====================================================
   Mercedes unified icons, buttons and themes
   ===================================================== */

/* ---------- Feature icons ---------- */

.mb-feature-icon {
    width: 52px !important;
    height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 52px !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: rgba(56, 189, 248, 0.10) !important;
    border: 1px solid rgba(56, 189, 248, 0.30) !important;
    color: #38bdf8 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mb-feature-icon svg {
    width: 29px !important;
    height: 29px !important;
    display: block !important;
    fill: none !important;
    stroke: #38bdf8 !important;
    stroke-width: 1.6 !important;
    color: #38bdf8 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---------- Service and maintenance icons ---------- */

.mb-service-icon,
.mb-mini-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    color: #38bdf8 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mb-service-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
    background: rgba(56, 189, 248, 0.10) !important;
    border: 1px solid rgba(56, 189, 248, 0.30) !important;
}

.mb-service-icon svg {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
}

.mb-mini-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    margin-bottom: .7rem !important;
    background: rgba(56, 189, 248, 0.10) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

.mb-mini-icon svg {
    width: 25px !important;
    height: 25px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
}

.mb-dealer-icon {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: .9rem !important;
    color: #ffffff !important;
    background: rgba(0, 0, 0, .35) !important;
    border-color: rgba(255, 255, 255, .70) !important;
}

.mb-dealer-icon svg {
    width: 34px !important;
    height: 34px !important;
    display: block !important;
    fill: currentColor !important;
    stroke: none !important;
}

/* ---------- Dark theme ---------- */

html[data-theme="dark"] .mb-page,
html:not([data-theme="light"]) .mb-page {
    color: #ffffff;
}

html[data-theme="dark"] .mb-feature h2,
html[data-theme="dark"] .mb-feature small,
html:not([data-theme="light"]) .mb-feature h2,
html:not([data-theme="light"]) .mb-feature small {
    color: #ffffff !important;
}

html[data-theme="dark"] .mb-feature-icon,
html:not([data-theme="light"]) .mb-feature-icon {
    background: rgba(56, 189, 248, 0.10) !important;
    border-color: rgba(56, 189, 248, 0.30) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .mb-feature-icon svg,
html:not([data-theme="light"]) .mb-feature-icon svg {
    stroke: #38bdf8 !important;
    color: #38bdf8 !important;
}

/* ---------- Light theme ---------- */

html[data-theme="light"] .mb-page {
    background: #f3f6fa !important;
    color: #101b2b !important;
}

html[data-theme="light"] .mb-feature {
    background: rgba(255, 255, 255, .92) !important;
    border-color: rgba(15, 35, 55, .16) !important;
}

html[data-theme="light"] .mb-feature h2,
html[data-theme="light"] .mb-feature small {
    color: #101b2b !important;
}

html[data-theme="light"] .mb-feature-icon {
    background: rgba(26, 115, 232, .08) !important;
    border-color: rgba(26, 115, 232, .28) !important;
    color: #1a73e8 !important;
}

html[data-theme="light"] .mb-feature-icon svg {
    stroke: #1a73e8 !important;
    color: #1a73e8 !important;
}

html[data-theme="light"] .mb-service-icon,
html[data-theme="light"] .mb-mini-icon {
    background: rgba(26, 115, 232, .08) !important;
    border-color: rgba(26, 115, 232, .22) !important;
    color: #1a73e8 !important;
}

html[data-theme="light"] .mb-service-icon svg,
html[data-theme="light"] .mb-mini-icon svg {
    stroke: #1a73e8 !important;
    color: #1a73e8 !important;
}

html[data-theme="light"] .mb-dealer-icon {
    color: #ffffff !important;
    background: rgba(0, 0, 0, .35) !important;
    border-color: rgba(255, 255, 255, .70) !important;
}

/* ---------- Hero text ---------- */

.mb-hero h1,
.mb-hero .mb-kicker,
.mb-hero .mb-lead,
.mb-hero .mb-scroll {
    color: #ffffff !important;
}

/* ---------- Buttons ---------- */

.mb-btn-primary {
    background: linear-gradient(135deg, #1d74e8 0%, #0e52b5 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 24px rgba(29, 116, 232, .45) !important;
}

.mb-btn-primary:hover {
    background: linear-gradient(135deg, #2b82f6 0%, #1660cc 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(43, 130, 246, .65) !important;
    transform: translateY(-2px);
}

.mb-btn-glass {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .25) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
}

.mb-btn-glass:hover {
    background: rgba(255, 255, 255, .18) !important;
    color: #ffffff !important;
}

/* ---------- WhatsApp ---------- */

.mb-wa-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .5rem !important;
    min-height: 38px !important;
    padding: .45rem .9rem !important;
    border-radius: 999px !important;
    background: rgba(37, 211, 102, .15) !important;
    border: 1px solid rgba(37, 211, 102, .45) !important;
    color: #25d366 !important;
    text-decoration: none !important;
}

.mb-wa-link:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.mb-wa-link svg {
    width: 17px !important;
    height: 17px !important;
    fill: currentColor !important;
}
/* =====================================================
   Final layout spacing and visible feature icons
   ===================================================== */

/* منع اقتراب محتوى الصفحة من الحواف */
.mb-page > .container,
.mb-page .container {
    width: min(1240px, calc(100% - 48px)) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* المسافة الخارجية لقسم المزايا */
.mb-features {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.mb-feature-grid {
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 20px !important;
}

/* شكل بطاقات المزايا */
.mb-feature {
    min-height: 162px !important;
    padding: 26px 20px !important;
    border-radius: 18px !important;
    text-align: center !important;
}

/* إجبار ظهور حاوية الأيقونة */
.mb-feature-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: rgba(56, 189, 248, .10) !important;
    border: 1px solid rgba(56, 189, 248, .30) !important;
    color: #38bdf8 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* إجبار ظهور SVG */
.mb-feature-icon svg {
    width: 29px !important;
    height: 29px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    fill: none !important;
    stroke: #38bdf8 !important;
    stroke-width: 1.6 !important;
    color: #38bdf8 !important;
}

/* عناوين بطاقات المزايا */
.mb-feature h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
}

/* النص الصغير تحت الضمان */
.mb-feature small {
    margin-top: 5px !important;
    color: #b8c3d0 !important;
}

/* الوضع النهاري */
html[data-theme="light"] .mb-feature {
    background: rgba(255, 255, 255, .92) !important;
    border-color: rgba(15, 35, 55, .16) !important;
}

html[data-theme="light"] .mb-feature h2 {
    color: #101b2b !important;
}

html[data-theme="light"] .mb-feature small {
    color: #526274 !important;
}

html[data-theme="light"] .mb-feature-icon {
    background: rgba(26, 115, 232, .08) !important;
    border-color: rgba(26, 115, 232, .28) !important;
    color: #1a73e8 !important;
}

html[data-theme="light"] .mb-feature-icon svg {
    stroke: #1a73e8 !important;
    color: #1a73e8 !important;
}

/* إبقاء نص الهيرو أبيض فوق الصورة */
.mb-hero h1,
.mb-hero .mb-kicker,
.mb-hero .mb-lead,
.mb-hero .mb-scroll {
    color: #ffffff !important;
}

/* تجاوب الهاتف */
@media (max-width: 991px) {
    .mb-page > .container,
    .mb-page .container {
        width: min(100% - 32px, 760px) !important;
    }

    .mb-features {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .mb-feature-grid {
        gap: 14px !important;
    }
}

@media (max-width: 650px) {
    .mb-page > .container,
    .mb-page .container {
        width: calc(100% - 24px) !important;
    }

    .mb-feature-grid {
        grid-template-columns: 1fr !important;
    }

    .mb-feature {
        min-height: 145px !important;
    }
}
/* =====================================================
   Mercedes reference feature section
   Isolated styles to avoid conflicts
   ===================================================== */

.mb-reference-features {
    position: relative;
    z-index: 20;
    margin-top: -24px;
    padding: 0 24px 64px;
    background: transparent;
}

.mb-reference-features-container {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mb-reference-feature-card {
    min-height: 162px;
    padding: 24px 20px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: rgba(15, 25, 42, .70);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        background .35s ease,
        border-color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.mb-reference-feature-card:hover {
    background: rgba(22, 38, 64, .82);
    border-color: rgba(56, 189, 248, .40);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

.mb-reference-feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;

    background: rgba(56, 189, 248, .10);
    border: 1px solid rgba(56, 189, 248, .22);
    color: #e2e8f0;
}

.mb-reference-feature-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.mb-reference-feature-card h3 {
    margin: 0;
    color: #f8fafc;
    font-size: .95rem;
    line-height: 1.7;
    font-weight: 800;
}

.mb-reference-feature-card small {
    display: block;
    margin-top: 4px;
    color: #cbd5e1;
    font-size: .70rem;
    line-height: 1.6;
}

/* الوضع النهاري */
html[data-theme="light"] .mb-reference-feature-card {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(15, 35, 55, .14);
    box-shadow: 0 8px 24px rgba(15, 35, 55, .08);
}

html[data-theme="light"] .mb-reference-feature-card:hover {
    background: #ffffff;
    border-color: rgba(26, 115, 232, .35);
    box-shadow: 0 14px 32px rgba(15, 35, 55, .14);
}

html[data-theme="light"] .mb-reference-feature-icon {
    background: rgba(26, 115, 232, .08);
    border-color: rgba(26, 115, 232, .22);
    color: #1a73e8;
}

html[data-theme="light"] .mb-reference-feature-card h3 {
    color: #101b2b;
}

html[data-theme="light"] .mb-reference-feature-card small {
    color: #526274;
}

/* الأجهزة اللوحية */
@media (max-width: 991px) {
    .mb-reference-features-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* الهاتف */
@media (max-width: 650px) {
    .mb-reference-features {
        margin-top: -16px;
        padding-right: 16px;
        padding-left: 16px;
        padding-bottom: 48px;
    }

    .mb-reference-features-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mb-reference-feature-card {
        min-height: 140px;
    }
}
/* =====================================================
   Mercedes reference feature section
   Isolated styles to avoid conflicts
   ===================================================== */

.mb-reference-features {
    position: relative;
    z-index: 20;
    margin-top: -24px;
    padding: 0 24px 64px;
    background: transparent;
}

.mb-reference-features-container {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.mb-reference-feature-card {
    min-height: 162px;
    padding: 24px 20px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: rgba(15, 25, 42, .70);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        background .35s ease,
        border-color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.mb-reference-feature-card:hover {
    background: rgba(22, 38, 64, .82);
    border-color: rgba(56, 189, 248, .40);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

.mb-reference-feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;

    background: rgba(56, 189, 248, .10);
    border: 1px solid rgba(56, 189, 248, .22);
    color: #e2e8f0;
}

.mb-reference-feature-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.mb-reference-feature-card h3 {
    margin: 0;
    color: #f8fafc;
    font-size: .95rem;
    line-height: 1.7;
    font-weight: 800;
}

.mb-reference-feature-card small {
    display: block;
    margin-top: 4px;
    color: #cbd5e1;
    font-size: .70rem;
    line-height: 1.6;
}

/* الوضع النهاري */
html[data-theme="light"] .mb-reference-feature-card {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(15, 35, 55, .14);
    box-shadow: 0 8px 24px rgba(15, 35, 55, .08);
}

html[data-theme="light"] .mb-reference-feature-card:hover {
    background: #ffffff;
    border-color: rgba(26, 115, 232, .35);
    box-shadow: 0 14px 32px rgba(15, 35, 55, .14);
}

html[data-theme="light"] .mb-reference-feature-icon {
    background: rgba(26, 115, 232, .08);
    border-color: rgba(26, 115, 232, .22);
    color: #1a73e8;
}

html[data-theme="light"] .mb-reference-feature-card h3 {
    color: #101b2b;
}

html[data-theme="light"] .mb-reference-feature-card small {
    color: #526274;
}

/* الأجهزة اللوحية */
@media (max-width: 991px) {
    .mb-reference-features-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* الهاتف */
@media (max-width: 650px) {
    .mb-reference-features {
        margin-top: -16px;
        padding-right: 16px;
        padding-left: 16px;
        padding-bottom: 48px;
    }

    .mb-reference-features-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mb-reference-feature-card {
        min-height: 140px;
    }
}
/* =====================================================
   Final light/dark theme contrast correction
   Mercedes-Benz landing page
   ===================================================== */

/* ---------- Light theme page ---------- */

html[data-theme="light"] .mb-page {
    background: #f3f6fa !important;
    color: #101b2b !important;
}

/* ---------- Section headings on light background ---------- */

html[data-theme="light"] .mb-section h2,
html[data-theme="light"] .mb-heading h2,
html[data-theme="light"] .mb-heading-line h2,
html[data-theme="light"] .mb-branches h2 {
    color: #101b2b !important;
}

html[data-theme="light"] .mb-heading p,
html[data-theme="light"] .mb-section > .container > p {
    color: #526274 !important;
}

/* ---------- Model cards remain dark in both themes ---------- */

html[data-theme="light"] .mb-model,
html[data-theme="light"] .mb-model.mb-glass {
    background: #172942 !important;
    color: #ffffff !important;
    border-color: rgba(56, 189, 248, .30) !important;
    box-shadow: 0 12px 32px rgba(15, 35, 55, .16) !important;
}

html[data-theme="light"] .mb-model:hover,
html[data-theme="light"] .mb-model.mb-glass:hover {
    background: #203956 !important;
    border-color: rgba(56, 189, 248, .55) !important;
    color: #ffffff !important;
}

/* Model title, category and counter */

html[data-theme="light"] .mb-model .mb-model-head h3,
html[data-theme="light"] .mb-model .mb-model-head span,
html[data-theme="light"] .mb-model .mb-tag {
    color: #ffffff !important;
}

html[data-theme="light"] .mb-model .mb-model-head span,
html[data-theme="light"] .mb-model .mb-tag {
    color: #38bdf8 !important;
}

/* Model description */

html[data-theme="light"] .mb-model .mb-description {
    color: #dbe7f2 !important;
}

/* Model specifications */

html[data-theme="light"] .mb-model .mb-specs div {
    background: rgba(255, 255, 255, .07) !important;
    border-color: rgba(255, 255, 255, .14) !important;
}

html[data-theme="light"] .mb-model .mb-specs small {
    color: #aebfd0 !important;
}

html[data-theme="light"] .mb-model .mb-specs b {
    color: #ffffff !important;
}

/* Vehicle colors */

html[data-theme="light"] .mb-model .mb-colors {
    color: #c5d3e0 !important;
}

html[data-theme="light"] .mb-model .mb-colors strong {
    color: #ffffff !important;
}

/* ---------- Filter buttons ---------- */

html[data-theme="light"] .mb-filters button {
    background: #ffffff !important;
    border-color: rgba(15, 35, 55, .20) !important;
    color: #26384a !important;
    box-shadow: 0 3px 10px rgba(15, 35, 55, .06);
}

html[data-theme="light"] .mb-filters button:hover {
    background: #e8f1fc !important;
    border-color: #1a73e8 !important;
    color: #145bb5 !important;
}

html[data-theme="light"] .mb-filters button.is-active {
    background: #1a73e8 !important;
    border-color: #1a73e8 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(26, 115, 232, .28);
}

/* ---------- Buttons inside model cards ---------- */

html[data-theme="light"] .mb-model .mb-btn-primary {
    background: linear-gradient(135deg, #1d74e8 0%, #0e52b5 100%) !important;
    color: #ffffff !important;
}

html[data-theme="light"] .mb-model .mb-btn-glass {
    background: rgba(255, 255, 255, .10) !important;
    border-color: rgba(255, 255, 255, .30) !important;
    color: #ffffff !important;
}

html[data-theme="light"] .mb-model .mb-btn-glass:hover {
    background: rgba(255, 255, 255, .22) !important;
    color: #ffffff !important;
}

/* ---------- Service cards in light theme ---------- */

html[data-theme="light"] .mb-service,
html[data-theme="light"] .mb-mini {
    background: #ffffff !important;
    border-color: rgba(15, 35, 55, .14) !important;
    color: #101b2b !important;
    box-shadow: 0 8px 24px rgba(15, 35, 55, .08);
}

html[data-theme="light"] .mb-service:hover,
html[data-theme="light"] .mb-mini:hover {
    background: #ffffff !important;
    border-color: rgba(26, 115, 232, .35) !important;
    box-shadow: 0 14px 32px rgba(15, 35, 55, .14);
}

html[data-theme="light"] .mb-service h3,
html[data-theme="light"] .mb-mini h3 {
    color: #101b2b !important;
}

html[data-theme="light"] .mb-service p {
    color: #526274 !important;
}

/* ---------- Feature cards in light theme ---------- */

html[data-theme="light"] .mb-reference-feature-card {
    color: #101b2b !important;
}

html[data-theme="light"] .mb-reference-feature-card h3 {
    color: #101b2b !important;
}

html[data-theme="light"] .mb-reference-feature-card small {
    color: #526274 !important;
}

/* ---------- Branch cards ---------- */

html[data-theme="light"] .mb-branches {
    background: #e7edf4 !important;
}

html[data-theme="light"] .mb-branch {
    background: #ffffff !important;
    border-color: rgba(15, 35, 55, .14) !important;
    color: #101b2b !important;
}

html[data-theme="light"] .mb-branch b {
    color: #101b2b !important;
}

html[data-theme="light"] .mb-branch span,
html[data-theme="light"] .mb-branch small {
    color: #526274 !important;
}

/* ---------- Dark theme model contrast ---------- */

html[data-theme="dark"] .mb-model,
html:not([data-theme="light"]) .mb-model {
    color: #ffffff !important;
}

html[data-theme="dark"] .mb-model .mb-description,
html:not([data-theme="light"]) .mb-model .mb-description {
    color: #c6d1de !important;
}

html[data-theme="dark"] .mb-model .mb-specs b,
html:not([data-theme="light"]) .mb-model .mb-specs b {
    color: #ffffff !important;
}

/* ---------- Hover must preserve readable text ---------- */

.mb-model:hover h3,
.mb-model:hover p,
.mb-model:hover small,
.mb-model:hover b,
.mb-model:hover span {
    text-shadow: none !important;
}

/* ---------- Keep icons visible in both themes ---------- */

.mb-reference-feature-icon,
.mb-feature-icon,
.mb-service-icon,
.mb-mini-icon {
    opacity: 1 !important;
    visibility: visible !important;
}

.mb-reference-feature-icon svg,
.mb-feature-icon svg,
.mb-service-icon svg,
.mb-mini-icon svg {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mercedes optional hero video - reversible block */
.mb-hero {
    background-color: #070b12;
    background-image: var(--mb-hero);
    background-size: cover;
    background-position: center;
}

.mb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7,11,18,.35), rgba(7,11,18,.94)),
        linear-gradient(180deg, rgba(7,11,18,.72), rgba(7,11,18,.12) 45%, #070b12);
}

.mb-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.mb-hero-content {
    position: relative;
    z-index: 2;
}

.mb-hero .mb-scroll {
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .mb-hero-video {
        display: none;
    }
}
/* End Mercedes optional hero video */

/* Mercedes back-to-top button - reversible block */
.ueaco-floating-tools {
    position: fixed;
    right: clamp(1rem, 2.2vw, 2rem);
    bottom: clamp(1rem, 2.2vw, 2rem);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
    direction: ltr;
    pointer-events: none;
}
.ueaco-floating-tools > * {
    pointer-events: auto;
}
.ueaco-float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0,0,0,.28);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    appearance: none;
}
.ueaco-float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,.34);
}
.ueaco-float-btn:focus-visible {
    outline: 3px solid rgba(255,255,255,.9);
    outline-offset: 3px;
}
.ueaco-float-btn svg {
    display: block;
    width: 29px;
    height: 29px;
    fill: currentColor;
}
.ueaco-top {
    background: #111214;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    font-size: 0;
}
.ueaco-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ueaco-top svg {
    width: 30px;
    height: 30px;
}
@media (max-width: 576px) {
    .ueaco-floating-tools {
        right: .8rem;
        bottom: .8rem;
        gap: .6rem;
    }
    .ueaco-float-btn {
        width: 52px;
        height: 52px;
    }
}
/* End Mercedes back-to-top button */

/* Shared UEACO back-to-top button override */
.ueaco-floating-tools > #ueacoTopButton.ueaco-float-btn.ueaco-top {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #111214 !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.28) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}
.ueaco-floating-tools > #ueacoTopButton.ueaco-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ueaco-floating-tools > #ueacoTopButton svg {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    fill: currentColor !important;
}
@media (max-width: 576px) {
    .ueaco-floating-tools > #ueacoTopButton.ueaco-float-btn.ueaco-top {
        width: 52px !important;
        height: 52px !important;
    }
}
