/* ==========================================================================
   VOGLER SKIN — هوية فوكلر البصرية فوق السمة الأساسية
   --------------------------------------------------------------------------
   الملف يغيّر الشكل والحركة فقط: الألوان، الحواف، الظلال، الخطوط، وطريقة
   الظهور. لا يُخفي وظيفة ولا يغيّر ترتيب منطق أي قسم.

   اللغة البصرية: «مخطّط هندسي» — خلفيات فاتحة بشبكة خطوط دقيقة، بطاقات
   مستديرة عائمة، أحمر فوكلر مع الأبيض والفحمي كما في العُدد نفسها، وحركات ناعمة تظهر عند التمرير
   (بدل مؤثّر العُدد عند النقر في السمة الأساسية).
   ========================================================================== */

:root {
    --vg-accent: #ff4a57;          /* أحمر ساطع: لمعة الأحمر على الأسطح الداكنة */
    --vg-navy:   #1b1b1d;          /* فحمي مقابض العُدد: الفوتر وشريط القيم */
    --vg-navy-2: #2a2a2e;
    --vg-sky:    #f6f4f4;          /* خلفيات الأقسام الفاتحة (أبيض دافئ) */
    --vg-line:   #ebe5e5;
    --vg-grid:   rgba(var(--brand-rgb), .07);
    --vg-shadow: 0 10px 30px -12px rgba(18, 18, 20, .22);
    --vg-shadow-lg: 0 24px 50px -18px rgba(18, 18, 20, .35);
    --vg-ease:   cubic-bezier(.2, .8, .2, 1);
}

body { background: #fff; letter-spacing: 0; }
h1, h2, h3, .rx-cats__title, .rx-rail__title, .rx-guides__title, .rx-values__title, .rx-branches__title {
    font-weight: 800;
}

/* ── الشريط العلوي: أحمر متدرّج، بلا علم ───────────────────── */
.rx-origin {
    background: linear-gradient(90deg, var(--brand-darker), var(--brand));
    border-block-end: 0;
    color: #fff;
}
.rx-origin__flag { display: none !important; }
.rx-origin__mark { color: var(--vg-accent); font-size: 16px; }
.rx-origin__label { color: #fff; }
.rx-origin__note { color: rgba(255, 255, 255, .78); }
.rx-origin__link { color: #fff; opacity: .9; }
.rx-origin__link:hover { opacity: 1; color: var(--vg-accent); }

/* ── الهيدر: أبيض عائم بظلّ ناعم ──────────────────────────────────────── */
.site-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 0;
    box-shadow: 0 1px 0 var(--vg-line);
    transition: box-shadow .3s var(--vg-ease);
}
.site-header.vg-scrolled { box-shadow: 0 8px 24px -14px rgba(18, 18, 20, .35); }
.header-search .input {
    border-radius: 999px;
    background: var(--vg-sky);
    border-color: transparent;
    padding-inline: 20px 52px;
}
.header-search .input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.header-search .search-btn {
    border-radius: 999px;
    background: var(--brand); color: #fff;
    inline-size: 38px; block-size: 38px;
}
.header-search .search-btn:hover { background: var(--brand-dark); color: #fff; }
.lang-switch { border-radius: 999px; }
.icon-btn { border-radius: 12px; }

/* ── شريط الأقسام: فاتح مع مؤشّر ينزلق تحت الرابط ──────────────────────── */
.nav-bar {
    background: #fff;
    border-block: 1px solid var(--vg-line);
}
.nav-bar .nav-link {
    color: var(--ink);
    font-weight: 700;
    position: relative;
}
.nav-bar .nav-link::after {
    content: ''; position: absolute; inset-inline: 16px; inset-block-end: 6px;
    block-size: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--vg-accent));
    transform: scaleX(0); transform-origin: center;
    transition: transform .35s var(--vg-ease);
}
.nav-bar .nav-link:hover, .nav-bar .nav-item:hover > .nav-link,
.nav-bar .nav-link.is-active { background: transparent; color: var(--brand); }
.nav-bar .nav-link:hover::after, .nav-bar .nav-item:hover > .nav-link::after,
.nav-bar .nav-link.is-active::after { transform: scaleX(1); }
.mega { border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--vg-shadow-lg); border-top: 3px solid var(--brand); }

/* ── الأزرار ───────────────────────────────────────────────────────────── */
.btn { border-radius: 999px; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border: 0; }
.vg-btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 800; text-decoration: none; font-size: 15px;
    transition: transform .3s var(--vg-ease), box-shadow .3s var(--vg-ease), background .3s;
}
.vg-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(var(--brand-rgb), .8); }
.vg-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(var(--brand-rgb), .9); color: #fff; }
.vg-btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--vg-line); }
.vg-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
/* لمعة تعبر الزر الأساسي كل بضع ثوانٍ */
.vg-btn--primary::before, .rx-hero__cta::before, .rx-p40__cta::before {
    content: ''; position: absolute; inset-block: 0; inset-inline-start: -60%;
    inline-size: 40%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    animation: vg-shine 4.5s ease-in-out infinite;
}
@keyframes vg-shine { 0%, 65% { inset-inline-start: -60%; } 100% { inset-inline-start: 130%; } }

/* ── البطل (بلا بانرات) ────────────────────────────────────────────────── */
.rx-hero:has(.vg-hero) { background: none; min-block-size: 0; }
.vg-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(60% 80% at 85% 20%, rgba(var(--brand-rgb), .16), transparent 70%),
        radial-gradient(40% 60% at 10% 90%, rgba(215, 31, 45, .18), transparent 70%),
        var(--vg-sky);
}
.vg-hero__grid {
    position: absolute; inset: -40px;
    background-image:
        linear-gradient(var(--vg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--vg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    animation: vg-grid-pan 30s linear infinite;
}
@keyframes vg-grid-pan { to { transform: translate(40px, 40px); } }
.vg-hero__inner {
    position: relative;
    max-inline-size: var(--container); margin-inline: auto;
    padding: clamp(40px, 7vw, 96px) var(--sp-4);
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--sp-6); align-items: center;
}
.vg-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    background: #fff; color: var(--brand); font-weight: 800; font-size: 13px;
    box-shadow: var(--vg-shadow);
}
.vg-hero__title {
    margin: 18px 0 14px; color: var(--vg-navy);
    font-size: clamp(32px, 5vw, 60px); line-height: 1.15; font-weight: 800;
}
.vg-hero__title em {
    font-style: normal; color: var(--brand);
    background: linear-gradient(transparent 62%, rgba(215, 31, 45, .55) 62%);
    padding-inline: 4px;
}
.vg-hero__text { max-inline-size: 560px; margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.9; }
.vg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.vg-hero__chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vg-hero__chips li {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 12px;
    background: rgba(255, 255, 255, .8); border: 1px solid var(--vg-line);
    color: var(--ink-2); font-weight: 700; font-size: 13px;
}
.vg-hero__chips i { color: var(--brand); font-size: 18px; }

/* الشارة الدوّارة: حلقات بسرعات متعاكسة حول حرف V */
.vg-hero__art { display: flex; justify-content: center; }
.vg-emblem { position: relative; inline-size: min(380px, 80vw); aspect-ratio: 1; }
.vg-emblem__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px dashed rgba(var(--brand-rgb), .35);
    animation: vg-spin 40s linear infinite;
}
.vg-emblem__ring--2 { inset: 12%; border-style: solid; border-color: rgba(var(--brand-rgb), .15); border-top-color: var(--vg-accent); border-width: 3px; animation-duration: 14s; animation-direction: reverse; }
.vg-emblem__ring--3 { inset: 24%; border: 1px dotted rgba(var(--brand-rgb), .45); animation-duration: 24s; }
.vg-emblem__core {
    position: absolute; inset: 32%; border-radius: 28%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--brand), var(--brand-darker));
    color: #fff; font-family: var(--font-en); font-weight: 800; font-size: clamp(48px, 7vw, 86px);
    box-shadow: var(--vg-shadow-lg), inset 0 -6px 0 var(--vg-accent);
    animation: vg-float 6s ease-in-out infinite;
}
.vg-emblem__tag {
    position: absolute; padding: 8px 14px; border-radius: 12px;
    background: #fff; color: var(--vg-navy); font-family: var(--font-en); font-weight: 800; font-size: 13px;
    box-shadow: var(--vg-shadow); white-space: nowrap;
    animation: vg-float 5s ease-in-out infinite;
}
.vg-emblem__tag--a { inset-block-start: 8%; inset-inline-start: 2%; }
.vg-emblem__tag--b { inset-block-end: 14%; inset-inline-start: -4%; animation-delay: -1.5s; }
.vg-emblem__tag--c { inset-block-start: 40%; inset-inline-end: -6%; animation-delay: -3s; border-inline-start: 3px solid var(--vg-accent); }
@keyframes vg-spin  { to { transform: rotate(360deg); } }
@keyframes vg-float { 50% { transform: translateY(-10px); } }

/* بطل البانرات (إن رُفعت): حواف مستديرة داخل الحاوية */
.rx-hero__cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 999px; }

/* ── مقدّمة الصفحة (h1) ───────────────────────────────────────────────── */
.rx-intro { background: #fff; border-block-end: 0; }
.rx-intro__inner {
    margin-block-start: -28px; position: relative;
    background: #fff; border-radius: var(--r-lg); box-shadow: var(--vg-shadow-lg);
    padding: var(--sp-5) var(--sp-6);
}
.rx-intro__title { color: var(--vg-navy); }
.rx-intro__title::before { background: linear-gradient(90deg, var(--brand), var(--vg-accent)); border-radius: 4px; }
.rx-intro__links a {
    border-radius: 999px !important; background: var(--vg-sky) !important; border-color: transparent !important;
    transition: background .25s, color .25s, transform .25s var(--vg-ease);
}
.rx-intro__links a:hover { background: var(--brand) !important; color: #fff !important; transform: translateY(-2px); }

/* ── عناوين الأقسام: في الوسط مع شريط متدرّج ─────────────────────────── */
.rx-cats__head, .rx-rail__head, .rx-guides__head, .rx-values__head, .rx-branches__head {
    position: relative;
}
.rx-cats__title, .rx-rail__title, .rx-guides__title, .rx-values__title, .rx-branches__title {
    color: var(--vg-navy) !important; font-size: clamp(22px, 2.6vw, 30px) !important;
}
.rx-cats__title::after, .rx-rail__title::after, .rx-guides__title::after,
.rx-values__title::after, .rx-branches__title::after {
    content: ''; display: block; inline-size: 56px; block-size: 4px; margin-block-start: 10px;
    border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--vg-accent));
}
.rx-cats__head, .rx-values__head, .rx-branches__head { text-align: center; }
.rx-cats__head .rx-cats__title, .rx-values__head .rx-values__title, .rx-branches__head .rx-branches__title { text-align: center; }
.rx-cats__head .rx-cats__title::after, .rx-values__head .rx-values__title::after, .rx-branches__head .rx-branches__title::after { margin-inline: auto; }

/* ── بطاقات الأقسام: عائمة بأيقونة دائرية ─────────────────────────────── */
.rx-cats { background: #fff; }
.rx-cats__card {
    border: 1px solid var(--vg-line); border-radius: var(--r-lg);
    background: linear-gradient(180deg, #fff, var(--vg-sky));
    transition: transform .4s var(--vg-ease), box-shadow .4s var(--vg-ease), border-color .3s;
}
.rx-cats__card:hover { transform: translateY(-6px); box-shadow: var(--vg-shadow-lg); border-color: rgba(var(--brand-rgb), .35); }
.rx-cats__plate { background: transparent; border-block-end: 0; aspect-ratio: 16 / 10; }
.rx-cats__fallback {
    display: inline-flex; align-items: center; justify-content: center;
    inline-size: 84px; block-size: 84px; border-radius: 50%;
    background: #fff; color: var(--brand) !important; font-size: 40px !important;
    box-shadow: 0 0 0 8px rgba(var(--brand-rgb), .06), var(--vg-shadow);
    transition: transform .5s var(--vg-ease), background .3s, color .3s;
}
.rx-cats__card:hover .rx-cats__fallback { transform: rotate(-12deg) scale(1.08); background: var(--brand); color: #fff !important; }
.rx-cats__name { font-weight: 800; color: var(--vg-navy); }
.rx-cats__count { color: var(--brand); font-weight: 700; }

/* ── بطاقة المنتج ─────────────────────────────────────────────────────── */
.product-card {
    border: 1px solid var(--vg-line); border-radius: var(--r-lg);
    transition: transform .4s var(--vg-ease), box-shadow .4s var(--vg-ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--vg-shadow-lg); }
.product-media {
    background: radial-gradient(circle at 50% 40%, #fff 0%, var(--vg-sky) 70%);
    margin: 8px; border-radius: calc(var(--r-lg) - 6px); overflow: hidden;
}
.product-media img { transition: transform .6s var(--vg-ease); }
.product-card:hover .product-media img { transform: scale(1.07) rotate(-1.5deg); }
.product-name { font-weight: 700; color: var(--vg-navy); }
.product-sku { font-family: var(--font-en); color: var(--brand); font-weight: 700; letter-spacing: .5px; }
.flag { border-radius: 999px; font-weight: 800; }
.flag-new { background: var(--brand); color: #fff; }
.product-actions .btn { border-radius: 999px; }
.wish-btn { border-radius: 50%; box-shadow: var(--vg-shadow); }

/* ── عائلة الشحن 20 فولت: فحمي مع وهج أحمر كالبطارية ─────────────────────── */
.rx-p40 {
    background:
        radial-gradient(50% 70% at 0% 0%, rgba(215, 31, 45, .18), transparent 70%),
        linear-gradient(135deg, var(--vg-navy) 0%, var(--vg-navy-2) 55%, var(--brand-darker) 100%);
}
.rx-p40::before {
    block-size: 100%; opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 32px 32px;
}
.rx-p40__volt { -webkit-text-stroke-color: rgba(255, 255, 255, .6) !important; }
.rx-p40__volt b { color: var(--vg-accent) !important; }
.rx-p40__cells i { border-radius: 4px; }
.rx-p40__cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 999px !important; background: var(--brand) !important; color: #fff !important; }

/* ── الأدلّة ──────────────────────────────────────────────────────────── */
.rx-guides { background: var(--vg-sky); }
.rx-guides__card {
    border-radius: var(--r-lg) !important; border: 1px solid var(--vg-line) !important; background: #fff !important;
    transition: transform .4s var(--vg-ease), box-shadow .4s var(--vg-ease);
}
.rx-guides__card:hover { transform: translateY(-4px); box-shadow: var(--vg-shadow-lg); }
.rx-guides__no {
    color: transparent !important; -webkit-text-stroke: 1.5px var(--brand);
    font-family: var(--font-en);
}

/* ── لماذا نحن ────────────────────────────────────────────────────────── */
.rx-values__card {
    border-radius: var(--r-lg) !important; border: 1px solid var(--vg-line) !important;
    background: #fff; position: relative; overflow: hidden;
    transition: transform .4s var(--vg-ease), box-shadow .4s var(--vg-ease);
}
.rx-values__card::before {
    content: ''; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 4px;
    background: linear-gradient(90deg, var(--brand), var(--vg-accent));
    transform: scaleX(0); transform-origin: inline-start; transition: transform .5s var(--vg-ease);
}
.rx-values__card:hover { transform: translateY(-4px); box-shadow: var(--vg-shadow-lg); }
.rx-values__card:hover::before { transform: scaleX(1); }
.rx-values__icon {
    border-radius: 16px !important; background: rgba(var(--brand-rgb), .08) !important; color: var(--brand) !important;
}
.rx-values__band {
    border-block-start: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(120deg, var(--vg-navy), var(--brand-darker));
}
.rx-values__band::before { opacity: .4; }
.rx-values__kicker { background: var(--brand) !important; color: #fff !important; border-radius: 999px !important; }
.rx-values__btn { border-radius: 999px !important; }

/* ── الفروع ───────────────────────────────────────────────────────────── */
.rx-branches__card { border-radius: var(--r-lg) !important; overflow: hidden; box-shadow: var(--vg-shadow); border-color: var(--vg-line) !important; }
.rx-branches__map, .rx-branches__mapgo, .rx-branches__chip { border-radius: 999px !important; }

/* ── الفوتر: كحلي ─────────────────────────────────────────────────────── */
.rx-footer {
    --rx-ft-bottom-bg: #0f0f10;
    --rx-ft-radius: 14px;
    background: var(--vg-navy);
    position: relative;
}
.rx-footer::before {
    content: ''; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 4px;
    background: linear-gradient(90deg, var(--brand), var(--vg-accent), var(--brand));
    background-size: 200% 100%; animation: vg-flow 8s linear infinite;
}
@keyframes vg-flow { to { background-position: 200% 0; } }
.rx-footer__socialbtn { border-radius: 50% !important; transition: transform .3s var(--vg-ease), background .3s; }
.rx-footer__socialbtn:hover { transform: translateY(-3px); background: var(--brand) !important; }
.rx-footer__sister { background: rgba(255, 255, 255, .03); }

/* ── واتساب العائم ────────────────────────────────────────────────────── */
.rx-wa__fab { border-radius: 999px !important; animation: vg-bob 3.5s ease-in-out infinite; }
@keyframes vg-bob { 50% { transform: translateY(-4px); } }

/* ── صفحات المحتوى ────────────────────────────────────────────────────── */
.page-content h2, .page-body h2 { color: var(--vg-navy); }

/* ==========================================================================
   الحركة عند التمرير — تُضاف الصنفان بواسطة js/vogler-motion.js
   ========================================================================== */
.vg-reveal { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(4px); }
.vg-reveal.vg-in {
    opacity: 1; transform: none; filter: none;
    transition: opacity .7s var(--vg-ease), transform .8s var(--vg-ease), filter .7s var(--vg-ease);
    transition-delay: var(--vg-delay, 0s);
}
/* دخول البطل عند التحميل */
.vg-hero__copy > * { animation: vg-rise .9s var(--vg-ease) both; }
.vg-hero__copy > :nth-child(2) { animation-delay: .08s; }
.vg-hero__copy > :nth-child(3) { animation-delay: .16s; }
.vg-hero__copy > :nth-child(4) { animation-delay: .24s; }
.vg-hero__copy > :nth-child(5) { animation-delay: .32s; }
.vg-emblem { animation: vg-pop 1.1s var(--vg-ease) both .2s; }
@keyframes vg-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes vg-pop  { from { opacity: 0; transform: scale(.8) rotate(-8deg); } }

/* موجة النقر: دائرة حمراء تتّسع من نقطة النقر */
.vg-ripple {
    position: fixed; z-index: 9999; pointer-events: none;
    inline-size: 14px; block-size: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    border: 2px solid var(--brand); background: rgba(var(--brand-rgb), .12);
    animation: vg-ripple .6s var(--vg-ease) forwards;
}
.vg-ripple::after {
    content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--vg-accent);
    animation: vg-dot .45s ease-out forwards;
}
@keyframes vg-ripple { to { transform: scale(5); opacity: 0; } }
@keyframes vg-dot { to { transform: scale(0); } }

/* ── شاشات صغيرة ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .vg-hero__inner { grid-template-columns: 1fr; text-align: start; }
    .vg-hero__art { order: -1; }
    .vg-emblem { inline-size: min(240px, 60vw); }
    .vg-emblem__tag--b, .vg-emblem__tag--c { display: none; }
    .rx-intro__inner { margin-block-start: 0; border-radius: 0; box-shadow: none; }
}

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

/* ==========================================================================
   واجهة على نمط voglertools.de — الهيدر الأبيض، المقدّمة الرمادية، الشريط
   الأسود بصفّ العُدد، البطاقة العائمة، والأقسام الجديدة (vg/*.njk).
   ========================================================================== */
.vg-wrap { max-inline-size: var(--container); margin-inline: auto; padding-inline: var(--sp-4); }
.vg-h2 {
    margin: 0 0 10px; text-align: center; color: var(--vg-navy);
    font-size: clamp(24px, 3vw, 36px); line-height: 1.25; font-weight: 800;
}
.vg-lead { max-inline-size: 760px; margin: 0 auto var(--sp-6); text-align: center; color: var(--ink-3); font-size: 17px; line-height: 1.8; }
.vg-btn { border-radius: 6px; }
.vg-btn--dark { background: var(--vg-navy); color: #fff; }
.vg-btn--dark:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.vg-btn--light { background: #fff; color: var(--vg-navy); border: 2px solid var(--vg-navy); }
.vg-btn--light:hover { background: var(--vg-navy); color: #fff; }
.vg-btn .mdi { font-size: 20px; }

/* ── الهيدر: صفّ أبيض واحد ───────────────────────────────────────────── */
.vg-header { position: sticky; inset-block-start: 0; z-index: 100; background: #fff; }
.vg-header__bar {
    max-inline-size: var(--container); margin-inline: auto; padding: 10px var(--sp-4);
    display: flex; align-items: center; gap: var(--sp-5); min-block-size: 76px;
}
.vg-header__brand img { block-size: 44px; inline-size: auto; }
.vg-nav { flex: 1; min-inline-size: 0; }
.vg-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.vg-nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 4px;
    padding: 26px 14px; color: var(--vg-navy); font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.vg-nav__link::after {
    content: ''; position: absolute; inset-inline: 14px; inset-block-end: 16px; block-size: 3px;
    background: var(--brand); transform: scaleX(0); transition: transform .3s var(--vg-ease);
}
.vg-nav__link:hover, .vg-nav__link.is-active, .vg-nav__item--mega:hover > .vg-nav__link,
.vg-nav__item--mega:focus-within > .vg-nav__link { color: var(--brand); }
.vg-nav__link:hover::after, .vg-nav__link.is-active::after,
.vg-nav__item--mega:hover > .vg-nav__link::after { transform: scaleX(1); }
.vg-nav__item--mega { position: static; }
.vg-mega {
    position: absolute; inset-inline: 0; inset-block-start: 100%;
    background: #fff; border-block-start: 3px solid var(--brand); box-shadow: var(--vg-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s, transform .25s var(--vg-ease), visibility .25s;
}
.vg-nav__item--mega:hover .vg-mega, .vg-nav__item--mega:focus-within .vg-mega { opacity: 1; visibility: visible; transform: none; }
.vg-mega__grid {
    max-inline-size: var(--container); margin-inline: auto; padding: var(--sp-6) var(--sp-4) var(--sp-4);
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--sp-5);
    max-block-size: 70vh; overflow: auto;
}
.vg-mega__root { display: block; margin-block-end: 8px; color: var(--vg-navy); font-weight: 800; text-decoration: none; }
.vg-mega__root:hover { color: var(--brand); }
.vg-mega__col ul { margin: 0; padding: 0; list-style: none; }
.vg-mega__col li a { display: block; padding: 4px 0; color: var(--ink-3); font-size: 14px; text-decoration: none; }
.vg-mega__col li a:hover { color: var(--brand); }
.vg-mega__all {
    display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px;
    background: var(--vg-sky); color: var(--brand); font-weight: 800; text-decoration: none;
}
.vg-header__tools { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.vg-iconbtn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    inline-size: 42px; block-size: 42px; border: 0; border-radius: 50%; background: transparent;
    color: var(--vg-navy); font-size: 24px; cursor: pointer; text-decoration: none;
    transition: background .2s, color .2s;
}
.vg-iconbtn:hover, .vg-iconbtn[aria-expanded="true"] { background: var(--vg-sky); color: var(--brand); }
.vg-iconbtn .badge { position: absolute; inset-block-start: 2px; inset-inline-end: 0; }
.vg-header .menu-toggle { display: none; }
.vg-lang {
    display: inline-flex; align-items: center; justify-content: center; min-inline-size: 42px; block-size: 34px;
    margin-inline-start: 6px; padding-inline: 10px; border: 2px solid var(--vg-navy); border-radius: 6px;
    color: var(--vg-navy); font-weight: 800; font-size: 14px; text-decoration: none;
}
.vg-lang:hover { background: var(--vg-navy); color: #fff; }
.vg-search { border-block-start: 1px solid var(--vg-line); background: #fff; }
.vg-search[hidden] { display: none; }
.vg-search__form { max-inline-size: 760px; margin: 0 auto; padding: 14px var(--sp-4); }
.vg-search__form .input { inline-size: 100%; }

/* ── المقدّمة الرمادية ───────────────────────────────────────────────── */
.vg-top { background: #f0f0f0; }
.vg-top__inner { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px); text-align: center; }
.vg-top__title {
    margin: 0 auto 16px; max-inline-size: 900px; color: var(--vg-navy);
    font-size: clamp(28px, 4.2vw, 50px); line-height: 1.2; font-weight: 800;
}
.vg-top__text { max-inline-size: 820px; margin: 0 auto; color: var(--ink-2); font-size: 18px; line-height: 1.9; }
.vg-top__actions { margin-block-start: 26px; }
.vg-top__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block-start: 26px; }
.vg-top__links a {
    padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink-2);
    font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s;
}
.vg-top__links a:hover { background: var(--brand); color: #fff; }

/* ── الشريط الأسود بصفّ العُدد ───────────────────────────────────────── */
.vg-lineup { background: radial-gradient(70% 90% at 50% 100%, #2a2a2d 0%, #000 70%); }
.vg-lineup--slides { background: #000; }
.vg-lineup__stage { position: relative; max-inline-size: 1600px; margin-inline: auto; padding-block: 24px 90px; }
.vg-lineup__img { display: block; inline-size: 100%; block-size: auto; }
.vg-lineup__badge {
    position: absolute; z-index: 1; inset-block-start: 24px; inset-inline-start: clamp(16px, 4vw, 56px);
    display: flex; align-items: center; gap: 12px; color: #fff;
}
.vg-lineup__badgetext { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; opacity: .85; }
.vg-lineup__badgetext b { font-size: 18px; opacity: 1; }
.vg-lineup__flag { display: flex; flex-direction: column; inline-size: 34px; border-radius: 3px; overflow: hidden; }
.vg-lineup__flag i { display: block; block-size: 7px; }
.vg-lineup__flag i:nth-child(1) { background: #000; outline: 1px solid #444; }
.vg-lineup__flag i:nth-child(2) { background: #dd0000; }
.vg-lineup__flag i:nth-child(3) { background: #ffce00; }

/* ── البطاقة البيضاء العائمة فوق الشريط الأسود ──────────────────────── */
.vg-consult { position: relative; z-index: 2; margin-block: -70px var(--sp-6); }
.vg-consult__card {
    max-inline-size: 860px; margin-inline: auto; padding: clamp(24px, 4vw, 44px);
    background: #fff; border-radius: 8px; box-shadow: var(--vg-shadow-lg); text-align: center;
}
.vg-consult__title { margin: 0 0 10px; color: var(--vg-navy); font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; }
.vg-consult__text { margin: 0 0 22px; color: var(--ink-3); font-size: 17px; line-height: 1.8; }

/* ── بطاقات الأقسام بصور العُدد ───────────────────────────────────────── */
.rx-cats__plate:has(.rx-cats__photo) { background: #fff; padding: 12px; display: flex; align-items: center; justify-content: center; }
.rx-cats__photo { inline-size: 100%; block-size: 100%; object-fit: contain; transition: transform .5s var(--vg-ease); }
.rx-cats__card:hover .rx-cats__photo { transform: scale(1.06); }

/* ── إعادة التدوير ───────────────────────────────────────────────────── */
.vg-eco { padding-block: clamp(40px, 6vw, 80px); background: #fff; }
.vg-eco__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-5); align-items: stretch; }
.vg-eco__art, .vg-eco__copy { border-radius: 8px; background: var(--vg-sky); padding: clamp(24px, 4vw, 48px); }
.vg-eco__art { display: flex; align-items: center; justify-content: center; }
.vg-eco__svg { inline-size: min(220px, 60%); block-size: auto; animation: vg-spin 40s linear infinite; }
.vg-eco__copy { display: flex; flex-direction: column; justify-content: center; }
.vg-eco__title { margin: 0 0 12px; color: var(--vg-navy); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
.vg-eco__text { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.9; }

/* ── لماذا فوكلر: السطر الأحمر الكبير ─────────────────────────────────── */
.rx-values__stat { display: block; margin-block: 4px 6px; color: var(--brand); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; }

/* ── أحدث التقنيات ──────────────────────────────────────────────────── */
.vg-tech { padding-block: clamp(40px, 6vw, 80px); background: var(--vg-sky); }
.vg-tech__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-6); align-items: center; margin-block-start: var(--sp-5); }
.vg-tech__blocks { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.vg-tech__block { display: flex; gap: var(--sp-4); padding: var(--sp-5); background: #fff; border-radius: 8px; box-shadow: var(--vg-shadow); }
.vg-tech__block h3 { margin: 0 0 6px; color: var(--vg-navy); font-size: 19px; }
.vg-tech__block p { margin: 0; color: var(--ink-2); line-height: 1.8; }
.vg-tech__icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    inline-size: 52px; block-size: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 28px;
}
.vg-tech__media { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: var(--vg-shadow); }
.vg-tech__media img { display: block; inline-size: 100%; block-size: auto; transition: transform .6s var(--vg-ease); }
.vg-tech__media:hover img { transform: scale(1.04); }
.vg-tech__chips { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; display: flex; gap: 6px; }
.vg-tech__chips b { padding: 5px 10px; border-radius: 4px; background: var(--vg-navy); color: #fff; font-family: var(--font-en); font-size: 12px; }
.vg-tech__chips b:first-child { background: var(--brand); }

/* ── مواقع التواصل ──────────────────────────────────────────────────── */
.vg-social { padding-block: clamp(40px, 6vw, 80px); background: #fff; }
.vg-social__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.vg-social__card {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: var(--sp-5) var(--sp-4);
    border: 1px solid var(--vg-line); border-radius: 8px; background: #fff; color: var(--vg-navy); text-decoration: none;
    transition: transform .3s var(--vg-ease), box-shadow .3s, border-color .3s;
}
.vg-social__card:hover { transform: translateY(-4px); box-shadow: var(--vg-shadow-lg); border-color: transparent; }
.vg-social__icon {
    display: inline-flex; align-items: center; justify-content: center; inline-size: 56px; block-size: 56px;
    border-radius: 50%; background: var(--vg-navy); color: #fff; font-size: 28px;
}
.vg-social__card--facebook .vg-social__icon { background: #1877f2; }
.vg-social__card--instagram .vg-social__icon { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.vg-social__card--youtube .vg-social__icon { background: #ff0000; }
.vg-social__card--telegram .vg-social__icon { background: #229ed9; }
.vg-social__card--whatsapp .vg-social__icon { background: #25d366; }
.vg-social__name { font-weight: 800; }
.vg-social__handle { color: var(--ink-3); font-size: 13px; max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1100px) {
    .vg-nav { display: none; }
    .vg-header .menu-toggle { display: inline-flex; }
    .vg-header__bar { gap: var(--sp-3); min-block-size: 64px; }
}
@media (max-width: 760px) {
    .vg-hide-sm { display: none; }
    .vg-header__brand img { block-size: 36px; }
    .vg-eco__grid, .vg-tech__grid { grid-template-columns: 1fr; }
    .vg-lineup__stage { padding-block: 56px 60px; }
    .vg-lineup__badge { inset-block-start: 12px; }
    .vg-consult { margin-block-start: -40px; }
    .vg-top__text { font-size: 16px; }
}
