/* ═══════════════════════════════════════════════════════════════
   Moj Al Bahir — Dark Ocean Theme
   Deep marine base · bioluminescent accents · high contrast
   Mobile-first · RTL-aware · Logical properties only
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tokens ───────────────────────────────────────────────── */
:root {
    /* Surfaces — layered navy depths */
    --c-base:        #031E2E;
    --c-surface-1:   #06283D;
    --c-surface-2:   #0A3450;
    --c-surface-3:   #0E3F5E;
    --c-surface-hover: #123A52;

    /* Text — high contrast */
    --c-text:        #F5FAFC;
    --c-text-muted:  #9DB5C2;
    --c-text-dim:    #6B8593;

    /* Borders */
    --c-border:        rgba(245,250,252,0.08);
    --c-border-strong: rgba(245,250,252,0.14);
    --c-border-glow:   rgba(39,211,194,0.28);

    /* Accents */
    --c-seafoam:   #27D3C2;
    --c-seafoam-d: #1BA99A;
    --c-electric:  #008CFF;
    --c-cta:       #FF6B35;
    --c-cta-hov:   #FF8355;
    --c-ocean:     #075985;

    /* Semantic */
    --c-danger:  #FF5C5C;
    --c-success: #34D399;

    /* Typography */
    --font-ar: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    --font-en: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Radii */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Shadows — glow-based, not black-based */
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --shadow-md: 0 8px 28px rgba(0,0,0,.4);
    --shadow-lg: 0 24px 56px rgba(0,0,0,.5);
    --glow-seafoam: 0 0 32px rgba(39,211,194,.22);
    --glow-cta:     0 8px 24px rgba(255,107,53,.32);

    /* Spacing scale */
    --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
    --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
    --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

    /* Container */
    --container: 1280px;
    --gutter: 16px;

    --header-h: 64px;
    --announce-h: 40px;

    --dur-fast: 150ms;
    --dur-base: 250ms;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 24px; --header-h: 72px; }
}
@media (min-width: 1200px) {
    :root { --gutter: 32px; }
}

/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--c-base);
}

body {
    margin: 0;
    font-family: var(--font-ar);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(39,211,194,.10), transparent 60%),
        radial-gradient(ellipse 80% 50% at 90% 110%, rgba(0,140,255,.08), transparent 55%),
        var(--c-base);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

body.is-ltr { font-family: var(--font-en); }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--c-seafoam); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--c-electric); }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--sp-4);
    line-height: 1.15;
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: -.01em;
}
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

::selection { background: var(--c-seafoam); color: var(--c-base); }

:focus-visible {
    outline: 2px solid var(--c-seafoam);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

/* ─── Scrollbar (webkit) ──────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-base); }
::-webkit-scrollbar-thumb { background: var(--c-surface-2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-surface-3); }

/* ─── Utilities ────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    inset-inline-start: -9999px;
    top: 0;
    background: var(--c-seafoam);
    color: var(--c-base);
    padding: 10px 16px;
    z-index: 9999;
    border-radius: 0 0 var(--r-md) var(--r-md);
    font-weight: 700;
}
.skip-link:focus { inset-inline-start: 16px; }

/* Flip chevrons/arrows in RTL */
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 13px 24px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    transition: transform var(--dur-fast) var(--ease),
                background-color var(--dur-fast) var(--ease),
                color var(--dur-fast) var(--ease),
                box-shadow var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease);
    white-space: nowrap;
    min-height: 46px;
    border: 1.5px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--c-cta);
    color: #FFFFFF;
    box-shadow: var(--glow-cta);
}
.btn--primary:hover {
    background: var(--c-cta-hov);
    color: #FFFFFF;
    box-shadow: 0 10px 32px rgba(255,107,53,.42);
    transform: translateY(-1px);
}

.btn--secondary {
    background: var(--c-seafoam);
    color: var(--c-base);
    box-shadow: 0 8px 24px rgba(39,211,194,.28);
}
.btn--secondary:hover {
    background: #34E4D1;
    color: var(--c-base);
    box-shadow: 0 10px 32px rgba(39,211,194,.4);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border-strong);
}
.btn--ghost:hover {
    background: rgba(245,250,252,.06);
    color: var(--c-text);
    border-color: var(--c-seafoam);
}

.btn--ghost-light {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255,255,255,.28);
}
.btn--ghost-light:hover {
    background: rgba(255,255,255,.08);
    color: #FFFFFF;
    border-color: var(--c-seafoam);
}

.btn--block { width: 100%; }

/* ─── Announcement Bar ─────────────────────────────────────── */
.announce {
    background: linear-gradient(90deg, #021722, var(--c-ocean));
    color: rgba(245,250,252,.94);
    font-size: 13px;
    min-height: var(--announce-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-block-end: 1px solid rgba(39,211,194,.12);
    position: relative;
    z-index: 101;
}
.announce__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    text-align: center;
    width: 100%;
}
.announce__icon {
    width: 16px; height: 16px; flex-shrink: 0;
    color: var(--c-seafoam);
}
.announce strong { color: var(--c-seafoam); font-weight: 600; }

/* ─── Header (DARK) ───────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3,30,46,.9);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-block-end: 1px solid var(--c-border);
    transition: box-shadow var(--dur-base) var(--ease),
                background var(--dur-base) var(--ease);
}
.site-header.is-scrolled {
    background: rgba(3,30,46,.96);
    box-shadow: 0 8px 28px rgba(0,0,0,.4);
}

.header__main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--sp-4);
    min-height: var(--header-h);
    padding-block: var(--sp-2);
}

@media (min-width: 1024px) {
    .header__main {
        grid-template-columns: auto auto 1fr auto;
        gap: var(--sp-6);
    }
}

.header__left { display: flex; align-items: center; gap: var(--sp-3); }
.header__right { display: flex; align-items: center; gap: var(--sp-1); }

.header__menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: var(--r-md);
    color: var(--c-text);
    transition: background var(--dur-fast), color var(--dur-fast);
}
.header__menu-btn:hover {
    background: rgba(39,211,194,.1);
    color: var(--c-seafoam);
}
@media (min-width: 1024px) { .header__menu-btn { display: none; } }

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--c-text);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    white-space: nowrap;
}
.brand:hover { color: var(--c-text); }
.brand__mark {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--c-seafoam), var(--c-ocean) 75%);
    box-shadow: 0 0 20px rgba(39,211,194,.4);
    flex-shrink: 0;
}
.brand__name { font-size: 18px; letter-spacing: -.01em; }

@media (min-width: 768px) {
    .brand { font-size: 22px; }
    .brand__name { font-size: 22px; }
    .brand__mark { width: 38px; height: 38px; }
}

/* Desktop search */
.header__search {
    display: none;
    position: relative;
    max-width: 480px;
    width: 100%;
}
@media (min-width: 1024px) { .header__search { display: block; } }

.header__search input {
    width: 100%;
    height: 44px;
    padding-inline: var(--sp-4) 48px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-pill);
    background: rgba(245,250,252,.04);
    color: var(--c-text);
    font-size: 14px;
    transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
}
.header__search input::placeholder { color: var(--c-text-dim); }
.header__search input:focus {
    outline: none;
    border-color: var(--c-seafoam);
    background: rgba(245,250,252,.06);
    box-shadow: 0 0 0 4px rgba(39,211,194,.12);
}
.header__search button {
    position: absolute;
    inset-inline-end: 4px;
    top: 4px;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    transition: color var(--dur-fast), background var(--dur-fast);
}
.header__search button:hover {
    color: var(--c-seafoam);
    background: rgba(39,211,194,.1);
}

/* Icon buttons */
.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: var(--r-md);
    color: var(--c-text);
    transition: background var(--dur-fast), color var(--dur-fast);
    text-decoration: none;
}
.icon-btn:hover {
    background: rgba(39,211,194,.1);
    color: var(--c-seafoam);
}

.icon-btn__badge {
    position: absolute;
    top: 4px;
    inset-inline-end: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--c-cta);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--r-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 12px rgba(255,107,53,.5);
}

@media (max-width: 1023px) {
    .icon-btn--desktop-only { display: none; }
}

/* Language switch */
.lang-switch { position: relative; }
.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 var(--sp-3);
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-switch__btn:hover {
    background: rgba(39,211,194,.1);
    color: var(--c-seafoam);
}
.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 160px;
    background: var(--c-surface-1);
    border: 1px solid var(--c-border-strong);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--dur-fast), visibility var(--dur-fast), transform var(--dur-fast);
    z-index: 20;
}
.lang-switch.is-open .lang-switch__menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-switch__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    color: var(--c-text);
    font-size: 14px;
}
.lang-switch__menu a:hover {
    background: rgba(39,211,194,.1);
    color: var(--c-seafoam);
}
.lang-switch__menu a.is-active { color: var(--c-seafoam); font-weight: 600; }

/* ─── Desktop Navigation Row ───────────────────────────────── */
.header__nav-row {
    display: none;
    border-block-start: 1px solid var(--c-border);
}
@media (min-width: 1024px) { .header__nav-row { display: block; } }

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    min-height: 48px;
}
.main-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--r-md);
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text-muted);
    transition: color var(--dur-fast), background var(--dur-fast);
    position: relative;
}
.main-nav__link:hover {
    color: var(--c-seafoam);
    background: rgba(39,211,194,.08);
}
.main-nav__link.is-highlight {
    color: var(--c-cta);
    font-weight: 600;
}
.main-nav__link.is-highlight:hover {
    background: rgba(255,107,53,.1);
    color: var(--c-cta-hov);
}

/* ─── Mobile Drawer ────────────────────────────────────────── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3,30,46,.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base), visibility var(--dur-base);
    z-index: 200;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(88vw, 360px);
    background: var(--c-surface-1);
    border-inline-end: 1px solid var(--c-border-strong);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--dur-base) var(--ease);
    box-shadow: var(--shadow-lg);
    will-change: transform;
}
[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.is-open,
[dir="rtl"] .drawer.is-open { transform: translateX(0); }

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4);
    border-block-end: 1px solid var(--c-border);
}
.drawer__close {
    width: 40px; height: 40px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
}
.drawer__close:hover { background: rgba(39,211,194,.1); color: var(--c-seafoam); }

.drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: var(--sp-4);
}
.drawer__nav { display: flex; flex-direction: column; gap: 2px; }
.drawer__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    border-radius: var(--r-md);
    color: var(--c-text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: background var(--dur-fast), color var(--dur-fast);
}
.drawer__nav a:hover {
    background: rgba(39,211,194,.08);
    color: var(--c-seafoam);
}
.drawer__nav a.is-highlight { color: var(--c-cta); font-weight: 600; }

.drawer__footer {
    padding: var(--sp-4);
    border-block-start: 1px solid var(--c-border);
    background: var(--c-base);
}
.drawer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    font-size: 14px;
    color: var(--c-text-muted);
}
.drawer__contact a {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--c-text);
    font-weight: 500;
}
.drawer__contact a:hover { color: var(--c-seafoam); }

/* ─── Hero (DARK, with bioluminescent glow) ───────────────── */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse 70% 55% at 78% 30%, rgba(39,211,194,.16), transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 85%, rgba(0,140,255,.14), transparent 60%),
        linear-gradient(180deg, #041F31 0%, #052A42 55%, #031E2E 100%);
    color: #fff;
    overflow: hidden;
    padding-block: var(--sp-16) var(--sp-20);
    border-block-end: 1px solid var(--c-border);
}
@media (min-width: 768px) {
    .hero { padding-block: var(--sp-20) var(--sp-24); }
}
@media (min-width: 1024px) {
    .hero { padding-block: var(--sp-24) 120px; }
}

/* Subtle caustic light effect */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(39,211,194,.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 60%, rgba(0,140,255,.06) 0%, transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(39,211,194,.05) 0%, transparent 40%);
    pointer-events: none;
    animation: heroCaustic 20s ease-in-out infinite alternate;
}
@keyframes heroCaustic {
    0%   { transform: translate3d(0,0,0) scale(1); }
    100% { transform: translate3d(-2%, 1%, 0) scale(1.05); }
}

.hero__inner { position: relative; max-width: 720px; z-index: 1; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--c-seafoam);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-block-end: var(--sp-5);
    padding: 7px 16px;
    background: rgba(39,211,194,.08);
    border: 1px solid rgba(39,211,194,.3);
    border-radius: var(--r-pill);
    box-shadow: 0 0 24px rgba(39,211,194,.15);
}

.hero__title {
    font-size: clamp(40px, 8vw, 80px);
    line-height: 1.03;
    letter-spacing: -.025em;
    margin-block-end: var(--sp-5);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 60px rgba(39,211,194,.15);
}

.hero__lede {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.55;
    color: rgba(245,250,252,.82);
    max-width: 55ch;
    margin-block-end: var(--sp-8);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-block-end: var(--sp-8);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
    font-size: 13px;
    color: rgba(245,250,252,.72);
}
.hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero__meta-item svg { color: var(--c-seafoam); flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(39,211,194,.5)); }

/* ─── Sections ─────────────────────────────────────────────── */
.section {
    padding-block: var(--sp-12);
    position: relative;
}
@media (min-width: 768px) { .section { padding-block: var(--sp-16); } }
@media (min-width: 1024px) { .section { padding-block: var(--sp-20); } }

.section--alt {
    background: var(--c-surface-1);
    border-block: 1px solid var(--c-border);
}
.section--dark {
    background: #021722;
    border-block: 1px solid var(--c-border);
}
.section--dark h2 { color: #fff; }

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-block-end: var(--sp-8);
    flex-wrap: wrap;
}
.section__title {
    font-size: clamp(26px, 4vw, 40px);
    letter-spacing: -.02em;
    margin: 0;
    color: var(--c-text);
}
.section__subtitle {
    color: var(--c-text-muted);
    font-size: 15px;
    margin-block-start: var(--sp-2);
    max-width: 60ch;
}
.section__link {
    font-weight: 600;
    font-size: 14px;
    color: var(--c-seafoam);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color var(--dur-fast);
}
.section__link:hover { color: var(--c-electric); }

/* ─── Category Cards ──────────────────────────────────────── */
.cats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
}
@media (min-width: 768px) { .cats-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); } }
@media (min-width: 1024px) { .cats-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-6) var(--sp-4);
    background: linear-gradient(180deg, var(--c-surface-2) 0%, var(--c-surface-1) 100%);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    color: var(--c-text);
    text-decoration: none;
    text-align: center;
    transition: transform var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease),
                border-color var(--dur-base) var(--ease),
                background var(--dur-base) var(--ease);
    min-height: 150px;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(39,211,194,.14), transparent 60%);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease);
    pointer-events: none;
}
.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--glow-seafoam);
    border-color: var(--c-border-glow);
    color: var(--c-text);
}
.cat-card:hover::before { opacity: 1; }

.cat-card__icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(39,211,194,.28), rgba(0,140,255,.12) 70%);
    color: var(--c-seafoam);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(39,211,194,.2);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.cat-card:hover .cat-card__icon {
    transform: scale(1.08);
    box-shadow: 0 0 32px rgba(39,211,194,.4);
}
.cat-card__name {
    font-weight: 600;
    font-size: 15px;
    color: var(--c-text);
    position: relative;
    z-index: 1;
}

/* ─── Trust Strip ─────────────────────────────────────────── */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    padding-block: var(--sp-10);
    background: var(--c-base);
    border-block: 1px solid var(--c-border);
}
@media (min-width: 768px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-2);
    padding: var(--sp-3);
}
.trust-item__icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(39,211,194,.24), rgba(0,140,255,.1) 70%);
    color: var(--c-seafoam);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block-end: var(--sp-2);
    border: 1px solid rgba(39,211,194,.2);
    box-shadow: 0 0 20px rgba(39,211,194,.15);
}
.trust-item__title {
    font-weight: 600;
    font-size: 14px;
    color: var(--c-text);
}
.trust-item__text {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.45;
}

/* ─── Promo Banner ────────────────────────────────────────── */
.promo {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,107,53,.24), transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(39,211,194,.14), transparent 55%),
        linear-gradient(135deg, var(--c-surface-1), var(--c-base));
    color: #fff;
    border-radius: var(--r-xl);
    padding: var(--sp-10) var(--sp-6);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--c-border-strong);
}
@media (min-width: 768px) {
    .promo { padding: var(--sp-16) var(--sp-12); text-align: start; }
}
.promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 90%, rgba(0,140,255,.1), transparent 40%);
    pointer-events: none;
}
.promo__content { max-width: 620px; position: relative; }
.promo__tag {
    display: inline-block;
    padding: 7px 16px;
    background: var(--c-cta);
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-block-end: var(--sp-5);
    box-shadow: 0 0 24px rgba(255,107,53,.5);
}
.promo__title {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
    margin-block-end: var(--sp-4);
}
.promo__text {
    font-size: 16px;
    color: rgba(245,250,252,.78);
    margin-block-end: var(--sp-6);
    max-width: 55ch;
}

/* ─── Newsletter ──────────────────────────────────────────── */
.newsletter {
    background: #021722;
    color: #fff;
    padding-block: var(--sp-12);
    border-block-start: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
}
.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(39,211,194,.08), transparent 60%);
    pointer-events: none;
}
.newsletter__grid {
    display: grid;
    gap: var(--sp-6);
    position: relative;
}
@media (min-width: 768px) {
    .newsletter__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-10);
        align-items: center;
    }
}
.newsletter h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    margin-block-end: var(--sp-2);
}
.newsletter p { color: rgba(245,250,252,.7); margin: 0; }

.newsletter__form {
    display: flex;
    gap: var(--sp-2);
    background: rgba(245,250,252,.04);
    padding: 6px;
    border-radius: var(--r-pill);
    border: 1px solid var(--c-border-strong);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.newsletter__form:focus-within {
    border-color: var(--c-seafoam);
    box-shadow: 0 0 0 4px rgba(39,211,194,.12);
}
.newsletter__form input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding-inline: var(--sp-5);
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 15px;
}
.newsletter__form input::placeholder { color: var(--c-text-dim); }
.newsletter__form input:focus { outline: none; }
.newsletter__form button {
    height: 46px;
    padding-inline: var(--sp-6);
    border-radius: var(--r-pill);
    background: var(--c-cta);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--dur-fast), box-shadow var(--dur-fast);
}
.newsletter__form button:hover {
    background: var(--c-cta-hov);
    box-shadow: 0 0 24px rgba(255,107,53,.45);
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: #010E17;
    color: var(--c-text-muted);
    font-size: 14px;
    padding-block-start: var(--sp-16);
    border-block-start: 1px solid var(--c-border);
}
.footer__grid {
    display: grid;
    gap: var(--sp-8);
    padding-block-end: var(--sp-10);
}
@media (min-width: 600px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-10); } }

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    max-width: 380px;
}
.footer__brand .brand { color: var(--c-text); }
.footer__about {
    color: var(--c-text-muted);
    line-height: 1.6;
}

.footer__col h3 {
    color: var(--c-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-block-end: var(--sp-4);
    opacity: .75;
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col a {
    color: var(--c-text-muted);
    font-size: 14px;
    transition: color var(--dur-fast);
}
.footer__col a:hover { color: var(--c-seafoam); }

.footer__social {
    display: flex;
    gap: var(--sp-2);
}
.footer__social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245,250,252,.05);
    color: var(--c-text-muted);
    border: 1px solid var(--c-border);
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.footer__social a:hover {
    background: var(--c-seafoam);
    color: var(--c-base);
    border-color: var(--c-seafoam);
    box-shadow: 0 0 24px rgba(39,211,194,.4);
}

.footer__bottom {
    border-block-start: 1px solid var(--c-border);
    padding-block: var(--sp-5);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--c-text-dim);
}
.footer__payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
}
.footer__payments span {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding-inline: 10px;
    background: rgba(245,250,252,.05);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(245,250,252,.75);
    letter-spacing: .02em;
}

/* ─── Mobile Sticky Cart Bar ──────────────────────────────── */
.mobile-cart-bar {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    background: rgba(3,30,46,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-block-start: 1px solid var(--c-border-strong);
    padding: var(--sp-3) var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    box-shadow: 0 -8px 32px rgba(0,0,0,.5);
    z-index: 90;
    transform: translateY(120%);
    transition: transform var(--dur-base) var(--ease);
}
.mobile-cart-bar.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { .mobile-cart-bar { display: none; } }
.mobile-cart-bar__info { font-size: 13px; color: var(--c-text-muted); }
.mobile-cart-bar__total {
    font-weight: 700;
    color: var(--c-seafoam);
    font-size: 15px;
}

/* ─── Placeholder Page ─────────────────────────────────────── */
.placeholder {
    padding-block: var(--sp-20);
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.placeholder__icon {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(39,211,194,.28), rgba(0,140,255,.12) 70%);
    color: var(--c-seafoam);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block-end: var(--sp-6);
    border: 1px solid rgba(39,211,194,.25);
    box-shadow: 0 0 40px rgba(39,211,194,.25);
    animation: placeholderPulse 3s ease-in-out infinite;
}
@keyframes placeholderPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(39,211,194,.25); }
    50%      { box-shadow: 0 0 60px rgba(39,211,194,.45); }
}
.placeholder h1 {
    font-size: clamp(28px, 5vw, 44px);
    color: var(--c-text);
    margin-block-end: var(--sp-3);
}
.placeholder p {
    color: var(--c-text-muted);
    max-width: 55ch;
    margin-block-end: var(--sp-8);
}

/* ─── Error Page ──────────────────────────────────────────── */
.error-page {
    padding-block: var(--sp-20);
    text-align: center;
    min-height: 50vh;
}
.error-page h1 {
    font-size: clamp(72px, 12vw, 160px);
    line-height: 1;
    color: var(--c-seafoam);
    margin-block-end: var(--sp-4);
    text-shadow: 0 0 60px rgba(39,211,194,.4);
}
.error-page__meta { color: var(--c-text-muted); font-size: 14px; }
.error-page__trace {
    text-align: start;
    background: #010E17;
    color: #d7e3ea;
    padding: var(--sp-6);
    border-radius: var(--r-md);
    overflow: auto;
    max-height: 480px;
    font-size: 12px;
    line-height: 1.5;
    margin-block-start: var(--sp-6);
    border: 1px solid var(--c-border);
}

/* ─── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}