/* ═══════════════════════════════════════════════════════
   GOLDEN OIL — Premium Automotive Landing Page
   Design System & Core Styles
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
    /* Brand Colors */
    --gold: #c4a74e;
    --gold-light: #e6cc72;
    --gold-dark: #a08430;
    --gold-glow: rgba(196, 167, 78, 0.35);
    --gold-subtle: rgba(196, 167, 78, 0.1);

    /* Neutral Palette (Dark Theme - matching 3D showcase dot-grid) */
    --bg-primary: #07090e;
    --bg-secondary: #0c0f18;
    --bg-card: #121622;
    --bg-elevated: #171d2c;
    --bg-surface: #1e2536;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --dot-color: rgba(255, 255, 255, 0.15);

    /* Text Colors */
    --text-primary: #f5f5f5;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.45);
    --text-gold: var(--gold);
    --header-bg: rgba(7, 9, 14, 0.85);

    /* Functional */
    --whatsapp: #25D366;
    --link-hover: var(--gold-light);

    /* Typography */
    --font: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 800;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1280px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 600ms;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 30px rgba(196, 167, 78, 0.25);
    --shadow-gold-lg: 0 8px 60px rgba(196, 167, 78, 0.3);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}


/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font);
    font-weight: var(--font-weight-regular);
    background-color: var(--bg-primary);
    background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    background-position: center center;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--duration-normal) ease, color var(--duration-normal) ease;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .container { padding: 0 var(--space-md); }
}

/* ── Utility Classes ── */
.gold { color: var(--gold); }

/* ── Typography ── */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}
.section-header__tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid rgba(196, 167, 78, 0.15);
    padding: 0.35em 1.2em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}
.section-header__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-black);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}
.section-header__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--font);
    font-weight: var(--font-weight-bold);
    font-size: 0.95rem;
    padding: 0.75em 1.8em;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.4;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: var(--shadow-gold-lg);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn--outline:hover {
    background: var(--gold-subtle);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.3);
}
.btn--outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn--sm { font-size: 0.85rem; padding: 0.6em 1.4em; }
.btn--lg { font-size: 1.05rem; padding: 0.9em 2.2em; }

.btn__icon { flex-shrink: 0; }
.btn__icon-arrow { flex-shrink: 0; transition: transform var(--duration-fast) var(--ease-out); }
.btn:hover .btn__icon-arrow { transform: translateY(3px); }

/* ═══════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader__content {
    text-align: center;
}
.loader__logo {
    width: 180px;
    height: auto;
    margin-bottom: var(--space-xl);
    animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}
.loader__bar {
    width: 200px;
    height: 3px;
    background: var(--bg-surface);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}
.loader__bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 3px;
    animation: loaderFill 1.2s var(--ease-out) forwards;
}
@keyframes loaderFill {
    to { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border-subtle);
    height: var(--header-height);
    transition: background var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out),
                border-color var(--duration-normal) var(--ease-out);
}
.header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-md);
}
.header__logo {
    display: flex;
    align-items: center;
}
.header__logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--duration-fast), transform var(--duration-fast);
}
.header__logo:hover img { opacity: 0.85; }

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.header__nav-list {
    display: flex;
    gap: 4px;
    align-items: center;
}
.header__nav-link {
    font-size: 0.88rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    padding: 0.5em 0.8em;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}
.header__nav-link:hover, .header__nav-link.active {
    color: var(--text-primary);
    background: var(--gold-subtle);
}
.header__nav-link.active { 
    color: var(--gold); 
    font-weight: var(--font-weight-bold);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


.header__cta {
    font-size: 0.85rem;
    padding: 0.55em 1.4em;
}

/* Burger Menu */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1010;
}
.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
}
.header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1100px) {
    .header__nav { display: none; }
    .header__burger { display: flex; }
}

/* ── Mobile Nav Overlay ── */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    visibility: hidden;
}
.mobile-nav.open {
    pointer-events: all;
    visibility: visible;
}
.mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}
.mobile-nav.open .mobile-nav__backdrop { opacity: 1; }

.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-medium);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out), background-color var(--duration-normal) ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.4);
    z-index: 100000;
}
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav__header img { height: 56px; width: auto; object-fit: contain; }
.mobile-nav__close {
    font-size: 1.4rem;
    color: var(--text-secondary);
    padding: 8px;
    cursor: pointer;
    transition: color var(--duration-fast);
}
.mobile-nav__close:hover {
    color: var(--gold);
}

.mobile-nav__list {
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
}
.mobile-nav__link {
    display: block;
    padding: 0.85em 0;
    font-size: 1.05rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    transition: color var(--duration-fast), padding-right var(--duration-fast);
}
.mobile-nav__link:hover, .mobile-nav__link.active {
    color: var(--gold);
    padding-right: 6px;
}

.mobile-nav__cta {
    margin: var(--space-xl);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: calc(100% - 2 * var(--space-xl));
    font-size: 0.95rem;
    font-weight: var(--font-weight-bold);
    padding: 14px 20px;
    border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(196, 167, 78, 0.08), transparent 70%),
        radial-gradient(ellipse 50% 80% at 80% 30%, rgba(196, 167, 78, 0.05), transparent 60%),
        linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 10, 10, 0.95) 50%, var(--bg-primary) 100%);
}
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

/* Hero Content */
.hero__badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid rgba(196, 167, 78, 0.15);
    padding: 0.4em 1.2em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}
.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-black);
    line-height: 1.25;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}
.hero__title-gold {
    color: var(--gold);
    position: relative;
}
.hero__desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-2xl);
    max-width: 540px;
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}
.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.9s both;
}
.hero__brands {
    animation: fadeInUp 0.8s var(--ease-out) 1.1s both;
}
.hero__brands-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero__brands-logos {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.hero__brand-name {
    font-size: 0.95rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}
.hero__brand-divider {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* Hero Visual */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.2s var(--ease-out) 0.6s both;
}
.hero__visual-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-glow), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: heroGlow 4s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.hero__visual-logo {
    position: relative;
    z-index: 2;
    width: min(290px, 80vw);
    max-height: 290px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(196, 167, 78, 0.35));
    animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero Rings */
.hero__visual-ring {
    position: absolute;
    border: 1px solid rgba(196, 167, 78, 0.1);
    border-radius: 50%;
    animation: ringPulse 6s ease-in-out infinite;
}
.hero__visual-ring--1 { width: 300px; height: 300px; animation-delay: 0s; }
.hero__visual-ring--2 { width: 420px; height: 420px; animation-delay: 1s; }
.hero__visual-ring--3 { width: 540px; height: 540px; animation-delay: 2s; }
@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: fadeIn 1s var(--ease-out) 1.5s both;
}
.hero__scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    position: relative;
}
.hero__scroll-arrow::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* Hero Responsive */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    .hero__desc { margin: 0 auto var(--space-2xl); }
    .hero__actions { justify-content: center; }
    .hero__brands { text-align: center; }
    .hero__brands-logos { justify-content: center; }
    .hero__visual { order: -1; }
    .hero__visual-logo { width: min(220px, 60vw); max-height: 220px; height: auto; }
    .hero__visual-glow { width: 280px; height: 280px; }
    .hero__visual-ring--1 { width: 200px; height: 200px; }
    .hero__visual-ring--2 { width: 300px; height: 300px; }
    .hero__visual-ring--3 { width: 400px; height: 400px; }
}
@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   3D PRODUCT SHOWCASE & MOVING GALLERY
   Matching KI-3D Gallery aesthetic with dot grid & pop-out 3D cards
   ═══════════════════════════════════════════════════════ */
.showcase {
    position: relative;
    padding: 50px 0 65px;
    overflow: hidden;
    background-color: transparent;
}

/* Ambient Radial Glows behind gallery */
.showcase::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(196, 167, 78, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.showcase::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.showcase__header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    padding: 0 var(--space-md);
}

.showcase__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--gold);
    background: rgba(196, 167, 78, 0.1);
    border: 1px solid rgba(196, 167, 78, 0.25);
    padding: 0.35em 1.1em;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    backdrop-filter: blur(8px);
}

.showcase__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: var(--font-weight-black);
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.showcase__subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Gallery Controls & Category Filters */
.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.gallery-filter-btn {
    padding: 0.4em 1em;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--duration-fast);
}
.gallery-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0a0a0a;
    font-weight: var(--font-weight-bold);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(196, 167, 78, 0.35);
}

.gallery-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.4em 1em;
    border-radius: var(--radius-full);
    background: rgba(20, 24, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--duration-fast);
}
.gallery-action-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ── Moving Rows Wrapper & Faded Edges ── */
.gallery-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0 16px;
    z-index: 2;
    overflow: hidden;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.gallery-row {
    position: relative;
    width: 100%;
    overflow: visible;
    display: flex;
    direction: ltr;
}

.gallery-track {
    display: flex;
    gap: 14px;
    width: max-content;
    will-change: transform;
}

/* Top Row: slower, left */
.gallery-track--top {
    animation: galleryScrollTop 75s linear infinite;
}

/* Bottom Row: slower, right */
.gallery-track--bottom {
    animation: galleryScrollBottom 85s linear infinite;
}

/* Pause animation on hover or when paused class is applied */
.gallery-row:hover .gallery-track,
.gallery-track.is-paused {
    animation-play-state: paused !important;
}

@keyframes galleryScrollTop {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes galleryScrollBottom {
    0%   { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* ═══════════════════════════════════════════════════════
   PROFESSIONAL PRODUCT CARD  — image in a clean box
   ═══════════════════════════════════════════════════════ */
.oil-card {
    position: relative;
    width: 170px;
    height: 210px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    user-select: none;
    pointer-events: none;
    /* Card box */
    background: linear-gradient(160deg, rgba(28,32,46,0.95) 0%, rgba(16,19,30,0.98) 100%);
    border: 1px solid rgba(196, 167, 78, 0.18);
    border-radius: 14px;
    box-shadow:
        0 2px 12px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

/* Subtle inner glow at top */
.oil-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196,167,78,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Hidden elements */
.oil-card__pedestal,
.oil-card__floor-shadow {
    display: none;
}

/* Image wrapper fills the card with balanced internal spacing */
.oil-card__img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    pointer-events: none;
    box-sizing: border-box;
}

.oil-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* Card Caption / Label at the Bottom */
.oil-card__caption {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 0 10px 14px;
    width: 100%;
}

.oil-card__title {
    font-size: 0.86rem;
    font-weight: var(--font-weight-bold);
    color: #e2e8f0;
    line-height: 1.35;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.oil-card__sub {
    display: block;
    font-size: 0.72rem;
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}


/* ── Responsive card size for mobile ── */
@media (max-width: 768px) {
    .oil-card {
        width: 130px;
        height: 165px;
    }
}

/* ── Quick-View Product Modal ── */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.gallery-modal.open {
    opacity: 1;
    pointer-events: all;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(12px);
}

.gallery-modal__card {
    position: relative;
    z-index: 2;
    background: #11141c;
    border: 1px solid rgba(196, 167, 78, 0.25);
    border-radius: var(--radius-xl);
    width: min(720px, 95vw);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--space-2xl);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-2xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(196, 167, 78, 0.12);
    transform: scale(0.94);
    transition: transform var(--duration-normal) var(--ease-out);
}

.gallery-modal.open .gallery-modal__card {
    transform: scale(1);
}

.gallery-modal__close {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--duration-fast);
}
.gallery-modal__close:hover {
    background: var(--gold);
    color: #000;
}

.gallery-modal__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 60%, rgba(196, 167, 78, 0.12), transparent 70%), #0c0e15;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
}

.gallery-modal__img {
    max-width: 180px;
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.7));
    animation: heroFloat 5s ease-in-out infinite;
}

.gallery-modal__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-modal__brand {
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--gold);
    margin-bottom: 4px;
}

.gallery-modal__title {
    font-size: 1.45rem;
    font-weight: var(--font-weight-black);
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: var(--space-sm);
}

.gallery-modal__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.gallery-modal__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
}

.gallery-modal__spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gallery-modal__spec-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.gallery-modal__spec-val {
    font-size: 0.88rem;
    font-weight: var(--font-weight-bold);
    color: #ffffff;
}

.gallery-modal__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .gallery-modal__card {
        grid-template-columns: 1fr;
        padding: var(--space-xl);
        gap: var(--space-lg);
    }
    .gallery-modal__visual {
        padding: var(--space-lg);
    }
    .gallery-modal__img {
        max-height: 180px;
    }
    .oil-card {
        width: 130px;
        height: 165px;
    }
    .oil-card__img-wrap {
        padding: 8px;
    }
    .oil-card__img {
        padding: 4px;
        border-radius: 8px;
    }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CATEGORIES
   ═══════════════════════════════════════════════════════ */
.categories {
    padding: var(--space-5xl) 0;
    position: relative;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(196, 167, 78, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal);
}
.category-card:hover {
    border-color: rgba(196, 167, 78, 0.2);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}
.category-card:hover::before { opacity: 1; }

.category-card__visual {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}
.category-card__img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform var(--duration-normal) var(--ease-out), filter var(--duration-normal) var(--ease-out);
    filter: brightness(0) invert(0.85) sepia(1) saturate(3) hue-rotate(15deg) drop-shadow(0 0 20px rgba(196, 167, 78, 0.45));
}
.category-card:hover .category-card__img {
    transform: scale(1.15) translateY(-5px);
    filter: brightness(0) invert(0.95) sepia(1) saturate(4) hue-rotate(15deg) drop-shadow(0 0 30px rgba(196, 167, 78, 0.7));
}
.category-card__glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(196, 167, 78, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
}
.category-card__title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    position: relative;
}
.category-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    position: relative;
}
.category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--gold);
    position: relative;
    transition: gap var(--duration-fast);
}
.category-card:hover .category-card__link { gap: 0.6em; }

@media (max-width: 992px) {
    .categories__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .categories__grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ═══════════════════════════════════════════════════════
   PROMOTIONAL BANNER
   ═══════════════════════════════════════════════════════ */
.promo-banner {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}
.promo-banner__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.promo-banner__overlay {
    display: none;
}

.promo-banner__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
    background: rgba(18, 22, 34, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-4xl);
    overflow: hidden;
}
.promo-banner__content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 167, 78, 0.06), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.promo-banner__label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid rgba(196, 167, 78, 0.15);
    padding: 0.3em 1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}
.promo-banner__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: var(--font-weight-black);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}
.promo-banner__desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

/* Promo Coupon Box */
.promo-coupon-box {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(196, 167, 78, 0.08);
    border: 1px dashed rgba(196, 167, 78, 0.4);
    padding: 0.6em 1.2em;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}
.promo-coupon-box__label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}
.promo-coupon-box__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: #0a0a0a;
    border: 1px solid var(--gold);
    padding: 0.25em 0.8em;
    border-radius: var(--radius-sm);
}
.promo-coupon-box__code {
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.promo-coupon-box__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0.2em 0.5em;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
}
.promo-coupon-box__copy:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}
.promo-coupon-box__copy.copied {
    color: #4ade80;
}

.promo-banner__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}
.promo-banner__feature {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}
.promo-banner__feature svg { color: var(--gold); flex-shrink: 0; }

.promo-banner__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.promo-banner__logo {
    width: 215px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: var(--radius-xl);
    background: #ffffff;
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45),
                0 0 30px rgba(234, 179, 8, 0.15);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
    image-rendering: auto;
}
.promo-banner__logo:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55),
                0 0 40px rgba(234, 179, 8, 0.28);
}

@media (max-width: 768px) {
    .promo-banner {
        padding: var(--space-3xl) 0;
    }
    .promo-banner__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-2xl) var(--space-lg);
        justify-items: center;
        gap: var(--space-2xl);
    }
    .promo-banner__text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .promo-banner__visual {
        order: -1;
        margin: 0 auto var(--space-md);
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .promo-banner__logo {
        width: min(220px, 68vw);
        height: auto;
        max-height: 200px;
        padding: 18px 24px;
        margin: 0 auto;
        border-radius: var(--radius-xl);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45),
                    0 0 25px rgba(234, 179, 8, 0.18);
    }
    .promo-banner__title {
        font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    }
    .promo-banner__desc {
        margin: 0 auto var(--space-lg);
        text-align: center;
        max-width: 100%;
        font-size: 0.95rem;
    }
    .promo-coupon-box {
        margin: 0 auto var(--space-xl);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 340px;
        box-sizing: border-box;
    }
    .promo-coupon-box__badge {
        justify-content: center;
        width: 100%;
    }
    .promo-banner__features {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 12px;
        margin: 0 auto var(--space-2xl);
    }
    .promo-banner__feature {
        justify-content: center;
        text-align: center;
        width: 100%;
        font-size: 0.9rem;
    }
    #promo-cta {
        margin: 0 auto;
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 0.85em 1.5em;
    }
}

/* ═══════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════ */
.services {
    padding: var(--space-5xl) 0;
    position: relative;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform var(--duration-normal) var(--ease-out);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 167, 78, 0.15);
    box-shadow: var(--shadow-md);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: var(--gold-subtle);
    border: 1px solid rgba(196, 167, 78, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--duration-normal);
}
.service-card:hover .service-card__icon-wrap {
    background: rgba(196, 167, 78, 0.12);
    border-color: rgba(196, 167, 78, 0.2);
    transform: scale(1.08);
}
.service-card__icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(0.75) sepia(1) saturate(2) hue-rotate(15deg);
}

.service-card__title {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}
.service-card__desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services__cta-wrap {
    text-align: center;
    margin-top: var(--space-3xl);
}

@media (max-width: 992px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .services__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   BRANCHES SECTION
   ═══════════════════════════════════════════════════════ */
.branches {
    padding: var(--space-5xl) 0;
    background: transparent;
}

.branches__counter {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}
.branches__counter-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}
.branches__count {
    font-size: 3.5rem;
    font-weight: var(--font-weight-black);
    color: var(--gold);
    line-height: 1;
}
.branches__count-label {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-secondary);
}
.branches__counter-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.branches__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.branch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--duration-normal) var(--ease-out);
}
.branch-card:hover {
    border-color: rgba(196, 167, 78, 0.2);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}
.branch-card__icon {
    flex-shrink: 0;
    color: var(--gold);
    padding-top: 2px;
}
.branch-card__name {
    font-size: 0.88rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    color: var(--text-secondary);
}
.branch-card:hover .branch-card__name { color: var(--text-primary); }

.branches__cta-wrap {
    text-align: center;
    margin-top: var(--space-2xl);
}

@media (max-width: 992px) {
    .branches__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .branches__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   CTA BANNER (Pre-Footer)
   ═══════════════════════════════════════════════════════ */
.cta-banner {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-banner__bg {
    display: none;
}
.cta-banner__content {
    position: relative;
    z-index: 1;
}
.cta-banner__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--space-md);
}
.cta-banner__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}
.cta-banner__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}
.cta-banner__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}
.cta-banner__logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity var(--duration-fast), transform var(--duration-fast);
}
.cta-banner__logo:hover {
    opacity: 1;
    transform: scale(1.05);
}
.cta-banner__logo--oiltime {
    height: 85px;
    border-radius: var(--radius-md);
    background: #ffffff;
    padding: 6px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.cta-banner__logo-divider {
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-light);
}

@media (max-width: 480px) {
    .cta-banner__actions { flex-direction: column; align-items: center; }
    .cta-banner__actions .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: transparent;
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-4xl) 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--border-subtle);
}

.footer__logo {
    height: 85px;
    width: auto;
    margin-bottom: var(--space-lg);
    display: inline-block;
    transition: transform var(--duration-fast);
}
.footer__logo:hover {
    transform: scale(1.05);
}
.footer__brand {
    display: flex;
    flex-direction: column;
}
.footer__brand-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer__links-title {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}
.footer__links-list li { margin-bottom: var(--space-sm); }
.footer__links-list a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--duration-fast);
}
.footer__links-list a:hover { color: var(--gold); }

/* Oil Time Block */
.footer__oiltime-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-weight: var(--font-weight-bold);
    transition: color var(--duration-fast);
}
.footer__oiltime-link:hover { color: var(--gold); }
.footer__oiltime-logo {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform var(--duration-fast);
}
.footer__oiltime-link:hover .footer__oiltime-logo {
    transform: scale(1.06);
}
.footer__oiltime-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Social */
.footer__social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border-subtle);
}
.footer__social-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}
.footer__social-icons {
    display: flex;
    gap: var(--space-sm);
}
.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-out);
}
.footer__social-link:hover {
    background: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
    transform: translateY(-2px);
}
.footer__social-link--whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.footer__social-link--tiktok:hover { background: #000; border-color: #ff0050; color: #fff; box-shadow: 0 0 12px rgba(255,0,80,0.5); }

/* Footer Bottom */
.footer__bottom {
    padding: var(--space-lg) 0;
    text-align: center;
}
.footer__copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer__top {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .footer__brand {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .footer__logo {
        height: 135px;
        max-width: 260px;
        width: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-bottom: var(--space-xl);
    }
    .footer__oiltime-link { justify-content: center; }
    .footer__social-bar { flex-direction: column; gap: var(--space-md); }
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP FAB
   ═══════════════════════════════════════════════════════ */
.whatsapp-fab {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all var(--duration-normal) var(--ease-out);
    animation: fabPulse 2s ease-in-out infinite;
}
.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-fab__tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(12, 15, 24, 0.95);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: var(--font-weight-bold);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast) var(--ease-out);
}
.whatsapp-fab:hover .whatsapp-fab__tooltip {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px) {
    .whatsapp-fab {
        width: 48px;
        height: 48px;
        bottom: 16px;
        left: 16px;
        z-index: 950;
    }
    .whatsapp-fab svg {
        width: 24px;
        height: 24px;
    }
    .whatsapp-fab__tooltip {
        display: none !important;
    }
}
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL (السيكشنز متظهرش الا وانا بعمل سكرول)
   ═══════════════════════════════════════════════════════ */
.scroll-reveal-section {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(6px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s ease;
    will-change: opacity, transform, filter;
}
.scroll-reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Item-level reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle Animation */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

/* ═══════════════════════════════════════════════════════
   DYNAMIC AMBIENT LIGHTING (اضاءة بتتحرك مع الاسكرول)
   ═══════════════════════════════════════════════════════ */
.scroll-ambient-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    transition: opacity 0.6s ease;
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.glow-orb--gold {
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(196, 167, 78, 0.26) 0%, rgba(196, 167, 78, 0.08) 45%, transparent 70%);
    top: 5%;
    right: -100px;
}
.glow-orb--blue {
    width: 800px;
    height: 800px;
    /* Warm golden-amber tone to maintain unified golden ambiance across the whole page */
    background: radial-gradient(circle, rgba(212, 160, 23, 0.18) 0%, rgba(180, 130, 25, 0.05) 50%, transparent 70%);
    top: 45%;
    left: -150px;
}
.glow-orb--accent {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.18) 0%, rgba(196, 167, 78, 0.04) 55%, transparent 70%);
    top: 75%;
    right: 15%;
}


/* ═══════════════════════════════════════════════════════
   UNIFIED CONTINUOUS BACKGROUND ARCHITECTURE
   The entire site exists within ONE uninterrupted dark illuminated canvas.
   ═══════════════════════════════════════════════════════ */
.hero, .hero__bg, .hero__gradient,
.showcase, .categories, .promo-banner, .promo-banner__bg, .promo-banner__overlay,
.services, .branches, .cta-banner, .cta-banner__bg, .footer,
.page-hero, .contact-section, .about-section, .franchise-hero, .franchise-timeline-section,
section, main {
    background-color: transparent !important;
    background-image: none !important;
    position: relative;
    z-index: 2;
}

/* Ensure no harsh horizontal background borders between sections */
.showcase, .categories, .services, .branches, .cta-banner {
    border-top: none !important;
    border-bottom: none !important;
}

/* Form Select & Option Styling for Guaranteed Legibility in Dark Theme */
select,
select.form-control,
.contact-form-card select {
    background-color: #0e121c !important;
    color: #f5f5f5 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
select option,
.contact-form-card select option {
    background-color: #121622 !important;
    color: #ffffff !important;
    padding: 10px !important;
}

/* ═══════════════════════════════════════════════════════
   BRANCHES SLIDER COMPONENT
   ═══════════════════════════════════════════════════════ */
.branches-slider-container {
    position: relative;
    width: 100%;
    margin-top: var(--space-xl);
}
.branches-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}
.branch-filter-btn {
    padding: 0.45em 1.25em;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    user-select: none;
}
.branch-filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--gold);
}
.branch-filter-btn.active {
    background: var(--gold);
    color: #07090e;
    font-weight: var(--font-weight-bold);
    border-color: var(--gold);
    box-shadow: 0 4px 18px var(--gold-glow);
}

.branches-slider-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding: 0 4px;
}
.branches-slider-hint {
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.branches-slider-hint strong {
    color: var(--gold);
}
.branches-nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}
.branches-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 22, 34, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(196, 167, 78, 0.35);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}
.branches-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(196, 167, 78, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.branches-nav-btn:hover {
    background: var(--gold);
    color: #07090e;
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(196, 167, 78, 0.45);
}
.branches-nav-btn:hover::before {
    opacity: 1;
}
.branches-nav-btn:active {
    transform: scale(0.96);
}
.branches-nav-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}
.branches-nav-btn:hover svg {
    stroke: #07090e;
}

.branches-slider-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 10px 4px 24px;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}
.branches-slider-viewport::-webkit-scrollbar {
    display: none;
}
.branches-slider-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.branches-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    transition: transform var(--duration-normal) var(--ease-out);
}
.branch-slide-card {
    width: 325px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.branch-slide-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 16px 40px var(--gold-glow);
}
.branch-slide-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}
.branch-slide-card__city {
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid rgba(196, 167, 78, 0.28);
    padding: 4px 14px;
    border-radius: var(--radius-full);
}
.branch-slide-card__pin {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-subtle);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--duration-fast);
}
.branch-slide-card:hover .branch-slide-card__pin {
    background: var(--gold);
    color: #07090e;
    transform: scale(1.1);
}
.branch-slide-card__title {
    font-size: 1.15rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 10px;
}
.branch-slide-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.branch-slide-card__badge-live {
    display: none !important;
}
.branch-slide-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: var(--gold-subtle);
    color: var(--gold);
    border: 1px solid rgba(196, 167, 78, 0.35);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: var(--font-weight-bold);
    transition: all var(--duration-fast);
}
.branch-slide-card:hover .branch-slide-card__btn {
    background: var(--gold);
    color: #07090e;
    border-color: var(--gold);
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* ═══════════════════════════════════════════════════════
   PAGE HERO & COMMON INNER PAGE STYLES
   ═══════════════════════════════════════════════════════ */
.page-hero {
    padding: calc(var(--header-height) + 50px) 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(196, 167, 78, 0.12) 0%, transparent 70%);
}
.page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--gold);
    background: var(--gold-subtle);
    border: 1px solid rgba(196, 167, 78, 0.28);
    padding: 0.4em 1.3em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}
.page-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: var(--space-md);
}
.page-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}
.page-hero__breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.page-hero__breadcrumbs a {
    color: var(--gold);
    transition: color var(--duration-fast);
}
.page-hero__breadcrumbs a:hover {
    color: var(--gold-light);
}

/* ═══════════════════════════════════════════════════════
   ABOUT PAGE STYLES (من نحن)
   ═══════════════════════════════════════════════════════ */
.about-section {
    padding: 40px 0 90px;
}
.about-story-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 48px);
    margin-bottom: var(--space-3xl);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}
.about-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--gold-subtle) 0%, transparent 70%);
    pointer-events: none;
}
.about-story-card__title {
    font-size: 1.8rem;
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}
.about-story-card__p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-md);
}

/* Values & Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: var(--space-3xl);
}
.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 12px 35px var(--gold-glow);
}
.pillar-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gold-subtle);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}
.pillar-card__title {
    font-size: 1.35rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}
.pillar-card__desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats Counter Banner */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: var(--space-3xl);
}
.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
}
.stat-box__num {
    font-size: 2.8rem;
    font-weight: var(--font-weight-black);
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 6px;
    font-family: var(--font);
}
.stat-box__label {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE STYLES (تواصل معنا)
   ═══════════════════════════════════════════════════════ */
.contact-section {
    padding: 40px 0 90px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    margin-bottom: var(--space-3xl);
}
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Breadcrumb Trail */
.breadcrumb-trail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}
.breadcrumb-trail a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--duration-fast);
}
.breadcrumb-trail a:hover {
    color: var(--gold-light);
}
.breadcrumb-trail .current {
    color: var(--text-secondary);
}

.contact-info-cards,
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-card,
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all var(--duration-fast);
    box-shadow: var(--card-shadow);
}
.contact-card:hover,
.contact-info-card:hover {
    border-color: var(--gold);
    transform: translateX(-4px);
}
.contact-card__icon,
.contact-info-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gold-subtle);
    border: 1px solid rgba(196, 167, 78, 0.28);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card__icon svg,
.contact-info-card__icon svg {
    width: 24px;
    height: 24px;
}
.contact-card__content h3 {
    font-size: 1.15rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 6px;
}
.contact-card__content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}
.contact-card__link {
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    color: var(--gold);
    text-decoration: none;
    transition: color var(--duration-fast);
}
.contact-card__link:hover {
    color: var(--gold-light);
}
.contact-info-card:hover {
    border-color: var(--gold);
    transform: translateX(-4px);
}
.contact-info-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gold-subtle);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-card__title {
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    margin-bottom: 4px;
}
.contact-info-card__val {
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--card-shadow);
}
.contact-form-card__title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 8px;
}
.contact-form-card__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.form-group-custom {
    margin-bottom: 20px;
}
.form-label-custom {
    display: block;
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 8px;
}
.form-input-custom,
.form-textarea-custom,
.form-select-custom {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--duration-fast);
}
.form-input-custom:focus,
.form-textarea-custom:focus,
.form-select-custom:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
    background: var(--bg-card);
}
.form-row-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row-custom { grid-template-columns: 1fr; }
}

/* FAQ Accordion */
.faq-section {
    margin-top: var(--space-4xl);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-fast);
}
.faq-item.active {
    border-color: var(--gold);
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    cursor: pointer;
}
.faq-arrow {
    transition: transform var(--duration-normal);
    color: var(--gold);
    flex-shrink: 0;
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
    padding: 0 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════
   FRANCHISE PAGE STYLES (الامتياز التجاري)
   ═══════════════════════════════════════════════════════ */
.franchise-hero-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-3xl);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
}
.franchise-hero-banner img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.franchise-hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 5vw, 48px);
}
.franchise-hero-banner__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: var(--font-weight-black);
    color: #ffffff;
    margin-bottom: 8px;
}
.franchise-hero-banner__tagline {
    font-size: 1.1rem;
    color: var(--gold-light);
}

/* ═══════════════════════════════════════════════════════
   FRANCHISE COSTS & TIMELINE LUXURY STYLES
   ═══════════════════════════════════════════════════════ */
.franchise-costs-section {
    position: relative;
    z-index: 2;
}
.franchise-costs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1140px;
    margin: 0 auto;
}
@media (max-width: 992px) {
    .franchise-costs-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}
.franchise-cost-card {
    background: rgba(18, 22, 34, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(196, 167, 78, 0.2);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    text-align: right;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.franchise-cost-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(196, 167, 78, 0.2);
}
.franchise-cost-card--featured {
    background: linear-gradient(180deg, rgba(28, 35, 54, 0.85) 0%, rgba(18, 22, 34, 0.9) 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(196, 167, 78, 0.25);
    transform: scale(1.02);
}
.franchise-cost-card--featured:hover {
    transform: scale(1.02) translateY(-8px);
}
.franchise-cost-card__crown {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #07090e;
    font-size: 0.78rem;
    font-weight: var(--font-weight-black);
    text-align: center;
    padding: 6px 12px;
    letter-spacing: 0.05em;
}
.franchise-cost-card--featured .franchise-cost-card__header {
    margin-top: 14px;
}
.franchise-cost-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.franchise-cost-card__icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(196, 167, 78, 0.12);
    border: 1px solid rgba(196, 167, 78, 0.3);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast);
}
.franchise-cost-card:hover .franchise-cost-card__icon-wrap {
    background: var(--gold);
    color: #07090e;
    transform: scale(1.1);
}
.franchise-cost-card__badge {
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    color: var(--gold-light);
    background: rgba(196, 167, 78, 0.1);
    border: 1px solid rgba(196, 167, 78, 0.25);
    padding: 0.3em 1em;
    border-radius: var(--radius-full);
}
.franchise-cost-card__badge--featured {
    color: #07090e;
    background: var(--gold);
    border-color: var(--gold);
}
.franchise-cost-card__title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.4;
}
.franchise-cost-card__price {
    font-size: 1.85rem;
    font-weight: var(--font-weight-black);
    color: var(--gold);
    font-family: var(--font);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
    direction: ltr;
    text-align: right;
}
.franchise-cost-card__currency {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-secondary);
}
.franchise-cost-card__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 22px;
}
.franchise-cost-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.franchise-cost-card__features li {
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.franchise-cost-card__features li span {
    color: var(--gold);
    font-weight: 900;
}

/* Timeline Progression Steps */
.franchise-timeline-section {
    position: relative;
    z-index: 2;
    background: transparent;
    border-top: 1px solid rgba(196, 167, 78, 0.12);
}
.timeline-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
@media (max-width: 1100px) {
    .timeline-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .timeline-steps-grid {
        grid-template-columns: 1fr;
    }
}
.timeline-step-card {
    background: rgba(18, 22, 34, 0.7);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-step-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(196, 167, 78, 0.15);
}
.timeline-step-card__number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.6rem;
    font-weight: var(--font-weight-black);
    color: rgba(196, 167, 78, 0.18);
    font-family: monospace;
}
.timeline-step-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(196, 167, 78, 0.12);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}
.timeline-step-card:hover .timeline-step-card__icon {
    background: var(--gold);
    color: #07090e;
    transform: scale(1.1);
}
.timeline-step-card__title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 10px;
}
.timeline-step-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Franchise VIP WhatsApp Box (No Form Requirement) */
.franchise-whatsapp-box {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(196, 167, 78, 0.15) 100%), var(--bg-card);
    border: 2px solid rgba(196, 167, 78, 0.4);
    border-radius: var(--radius-xl);
    padding: clamp(32px, 6vw, 56px);
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(196, 167, 78, 0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-4xl);
}
.franchise-whatsapp-box__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--whatsapp);
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 0.4em 1.4em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}
.franchise-whatsapp-box__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    margin-bottom: 12px;
}
.franchise-whatsapp-box__desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}
.btn--whatsapp-vip {
    background: #25D366;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 0.9em 2.6em;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: var(--font-weight-bold);
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.btn--whatsapp-vip:hover {
    background: #20bd5a;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}
.franchise-whatsapp-box__guarantee {
    margin-top: 18px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .franchise-whatsapp-box {
        padding: 32px 16px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .btn--whatsapp-vip {
        width: 100% !important;
        max-width: 320px !important;
        font-size: 1.02rem !important;
        padding: 14px 20px !important;
        gap: 8px !important;
        justify-content: center !important;
        margin: 0 auto !important;
        white-space: normal !important;
        line-height: 1.4 !important;
    }
    .btn--whatsapp-vip svg {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
    }
}


/* ═══════════════════════════════════════════════════════
   BRAND MARQUEE — Infinite Scroll Strip
   ═══════════════════════════════════════════════════════ */

.brand-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--bg-primary);
    /* Subtle dot texture */
    background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 48px 0;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    direction: ltr !important; /* Force LTR so coordinates never invert in RTL layouts */
}

/* Edge fade masks for premium look */
.brand-marquee::before,
.brand-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.brand-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.brand-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* Track holds both groups side by side */
.brand-marquee__track {
    display: flex;
    width: max-content;
    direction: ltr !important;
    animation: marquee-scroll 45s linear infinite;
    will-change: transform;
}

/* Each group is a full set of logos */
.brand-marquee__group {
    display: flex;
    align-items: center;
    gap: 72px;
    padding: 0 36px;
    flex-shrink: 0;
}

/* Logo images */
.brand-marquee__logo {
    height: 36px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.35;
    filter: brightness(1.1);
    transition: opacity var(--duration-normal) var(--ease-out),
                filter var(--duration-normal) var(--ease-out);
    user-select: none;
    -webkit-user-drag: none;
}

.brand-marquee__logo:hover {
    opacity: 0.65;
    filter: brightness(1.4);
}

/* Keyframe: scroll seamlessly by exactly 50% so group 2 seamlessly replaces group 1 */
@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Pause on hover for accessibility */
.brand-marquee:hover .brand-marquee__track {
    animation-play-state: paused;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .brand-marquee {
        padding: 36px 0;
    }
    .brand-marquee__group {
        gap: 56px;
        padding: 0 28px;
    }
    .brand-marquee__logo {
        height: 30px;
    }
    .brand-marquee__track {
        animation-duration: 42s;
    }
}

@media (max-width: 768px) {
    .brand-marquee {
        padding: 28px 0;
    }
    .brand-marquee__group {
        gap: 44px;
        padding: 0 22px;
    }
    .brand-marquee__logo {
        height: 26px;
    }
    .brand-marquee::before,
    .brand-marquee::after {
        width: 60px;
    }
    .brand-marquee__track {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .brand-marquee {
        padding: 22px 0;
    }
    .brand-marquee__group {
        gap: 36px;
        padding: 0 18px;
    }
    .brand-marquee__logo {
        height: 22px;
    }
    .brand-marquee::before,
    .brand-marquee::after {
        width: 40px;
    }
    .brand-marquee__track {
        animation-duration: 25s;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .brand-marquee__track {
        animation-play-state: paused;
    }
}

/* ═══════════════════════════════════════════════════════
   CONTACT FORM - PREFERRED CONTACT TIME PILLS
   ═══════════════════════════════════════════════════════ */
.preferred-time-group {
    margin-bottom: 20px;
}
.preferred-time-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.preferred-time-label svg {
    color: var(--gold);
}
.preferred-time-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.time-option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    text-align: center;
    user-select: none;
}
.time-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.time-option-card__icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color var(--duration-fast), transform var(--duration-fast);
}
.time-option-card__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color var(--duration-fast);
}
.time-option-card__sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: monospace, sans-serif;
    letter-spacing: 0.02em;
    transition: color var(--duration-fast);
}
.time-option-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(196, 167, 78, 0.4);
    transform: translateY(-2px);
}
.time-option-card:hover .time-option-card__icon {
    color: var(--gold);
    transform: scale(1.1);
}
/* Active state when radio is checked */
.time-option-card:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, rgba(196, 167, 78, 0.18) 0%, rgba(196, 167, 78, 0.05) 100%);
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(196, 167, 78, 0.22), inset 0 0 12px rgba(196, 167, 78, 0.08);
}
.time-option-card:has(input[type="radio"]:checked) .time-option-card__icon {
    color: var(--gold);
    transform: scale(1.15);
}
.time-option-card:has(input[type="radio"]:checked) .time-option-card__title {
    color: #ffffff;
}
.time-option-card:has(input[type="radio"]:checked) .time-option-card__sub {
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 480px) {
    .preferred-time-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .time-option-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 14px;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════════════
   GLOBAL MOBILE RESPONSIVENESS (All mobile screen sizes)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 16px;
    }

    /* Headlines & Subtitles fluid sizing */
    h1, .hero__title {
        font-size: clamp(1.85rem, 7.5vw, 2.35rem) !important;
        line-height: 1.25 !important;
    }

    h2, .section-header__title, .showcase__title {
        font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
        line-height: 1.3 !important;
    }

    .section-header__desc, .showcase__subtitle, .hero__desc {
        font-size: 0.92rem !important;
        line-height: 1.65 !important;
    }

    /* Buttons full width on small screens for easy touch */
    .btn--lg {
        padding: 0.85em 1.6em;
        font-size: 0.95rem;
    }

    /* Modal responsiveness */
    .gallery-modal__card {
        width: 94vw !important;
        max-height: 90vh !important;
        padding: var(--space-lg) !important;
    }

    /* Ensure tables / tabs / galleries don't cause page-level horizontal overflow */
    .table-responsive,
    .gallery-wrapper {
        max-width: 100vw;
    }
}

