/* =====================================================================
   GRIP public website (gripbh.org): home, products, product page.
   Bilingual: both languages are in the HTML, <html lang> picks one.
   Mobile first; breakpoints at 760px and 1040px.
   ===================================================================== */
:root {
    --y: #ffd016;          /* brand yellow (same as the QR page) */
    --y-hi: #ffe14d;
    --y-deep: #f2be00;
    --cream: #fffaeb;
    --cream-2: #fff3c9;
    --ink: #120f08;        /* warm near-black */
    --ink-2: #1d180c;
    --ink-3: #2a2312;
    --on-dark: #fffaeb;
    --on-dark-soft: rgba(255, 250, 235, .72);
    --on-dark-mute: rgba(255, 250, 235, .5);
    --line-dark: rgba(255, 250, 235, .12);
    --text: #1a1509;
    --text-soft: rgba(26, 21, 9, .72);
    --line: rgba(26, 21, 9, .12);
    --radius: 22px;
    --radius-sm: 14px;
    --wrap: 1200px;
    --gutter: 16px;
    --header-h: 68px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- language switching ---------- */
html[lang="ar"] .l-en, html:not([lang="ar"]) .l-ar { display: none !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--ink); color: var(--text);
    font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px; line-height: 1.6; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
    font-weight: 900; font-size: 1.02rem; letter-spacing: .01em; white-space: nowrap;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s;
}
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--y); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(255, 208, 22, .55); }
.btn-primary:hover { background: var(--y-hi); box-shadow: 0 16px 40px -10px rgba(255, 208, 22, .75); transform: translateY(-2px); }
/* light sweep across primary buttons */
.btn-primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
    transform: translateX(-120%); animation: sheen 4.8s var(--ease) 1.6s infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-ghost { background: rgba(255, 250, 235, .08); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255, 250, 235, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 250, 235, .16); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5); }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-outline:hover { background: var(--text); color: var(--cream); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fbd5a; transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }

/* ---------- header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    color: var(--on-dark);
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease-out);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.site-header.is-solid, .page-solid .site-header {
    background: rgba(18, 15, 8, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.02em; font-size: 1.25rem; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.main-nav { display: none; }
.header-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 250, 235, .1); box-shadow: inset 0 0 0 1px var(--line-dark); }
.lang-switch button { border: 0; background: none; padding: 6px 11px; border-radius: 999px; font-weight: 800; font-size: .82rem; color: var(--on-dark-soft); transition: background-color .25s, color .25s; }
.lang-switch button[aria-pressed="true"] { background: var(--y); color: var(--ink); }
.header-cta { display: none; }
.menu-toggle {
    width: 44px; height: 44px; border-radius: 999px; border: 0; display: grid; place-items: center;
    background: rgba(255, 250, 235, .1); box-shadow: inset 0 0 0 1px var(--line-dark);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    content: ""; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
    transition: transform .35s var(--ease-out), background-color .2s;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--on-dark);
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px;
    clip-path: circle(0 at calc(100% - 38px) 34px); visibility: hidden;
    transition: clip-path .6s var(--ease-out), visibility 0s linear .6s;
}
[dir="rtl"] .mobile-menu { clip-path: circle(0 at 38px 34px); }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 38px) 34px); visibility: visible; transition: clip-path .7s var(--ease-out); }
[dir="rtl"] .menu-open .mobile-menu { clip-path: circle(150% at 38px 34px); }
.menu-open { overflow: hidden; }
.mobile-menu a.menu-link {
    font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.25; padding: 4px 0;
    opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s var(--ease-out), color .2s;
}
.mobile-menu a.menu-link:hover { color: var(--y); }
.menu-open .mobile-menu a.menu-link { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .06s); }
.mobile-menu .menu-foot { margin-top: auto; display: grid; gap: 10px; opacity: 0; transition: opacity .4s .35s; }
.menu-open .mobile-menu .menu-foot { opacity: 1; }

@media (min-width: 1040px) {
    :root { --header-h: 78px; }
    .menu-toggle, .mobile-menu { display: none; }
    .main-nav { display: flex; gap: 4px; margin-inline-start: 28px; }
    .main-nav a { position: relative; padding: 8px 14px; font-weight: 800; color: var(--on-dark-soft); transition: color .25s; }
    .main-nav a::after {
        content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--y);
        transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .4s var(--ease-out);
    }
    [dir="rtl"] .main-nav a::after { --origin: right; }
    .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--on-dark); }
    .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
    .header-cta { display: inline-flex; }
    .header-login { display: inline-flex !important; }
}
.header-login { display: none !important; color: var(--on-dark-soft); font-weight: 800; padding: 8px 10px; }
.header-login:hover { color: var(--on-dark); }

/* ---------- hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
    color: var(--on-dark); overflow: hidden; isolation: isolate; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img.kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(18, 15, 8, .55) 0%, rgba(18, 15, 8, .1) 32%, rgba(18, 15, 8, .35) 58%, rgba(18, 15, 8, .96) 100%),
        linear-gradient(90deg, rgba(18, 15, 8, .62) 0%, rgba(18, 15, 8, .25) 45%, transparent 75%);
}
[dir="rtl"] .hero::after {
    background:
        linear-gradient(180deg, rgba(18, 15, 8, .55) 0%, rgba(18, 15, 8, .1) 32%, rgba(18, 15, 8, .35) 58%, rgba(18, 15, 8, .96) 100%),
        linear-gradient(270deg, rgba(18, 15, 8, .62) 0%, rgba(18, 15, 8, .25) 45%, transparent 75%);
}
.hero-inner { padding: calc(var(--header-h) + 40px) 0 clamp(64px, 11vh, 120px); }
.kicker {
    display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--y);
}
html[lang="ar"] .kicker { letter-spacing: .04em; font-size: .9rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero-title {
    margin: 18px 0 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .9;
    font-size: clamp(3.2rem, 14.5vw, 8.6rem);
}
html[lang="ar"] .hero-title { letter-spacing: 0; line-height: 1.12; font-size: clamp(2.9rem, 12.5vw, 7rem); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--y); }
.hero-sub { margin: 20px 0 0; max-width: 34rem; font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--on-dark-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .btn { min-height: 58px; padding: 0 30px; font-size: 1.08rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-weight: 800; font-size: .84rem;
    background: rgba(255, 250, 235, .08); box-shadow: inset 0 0 0 1px var(--line-dark); backdrop-filter: blur(6px);
}
.hero-pill .icon { color: var(--y); width: 16px; height: 16px; }
.scroll-cue {
    position: absolute; right: var(--gutter); bottom: 28px; display: none; align-items: center; gap: 10px;
    font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-mute);
    writing-mode: vertical-rl;
}
.scroll-cue::after { content: ""; width: 2px; height: 56px; background: linear-gradient(var(--y), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
[dir="rtl"] .scroll-cue { right: auto; left: var(--gutter); }
@media (min-width: 760px) { .scroll-cue { display: inline-flex; } }

/* branded placeholder behind the hero when no video / cover is uploaded yet */
.hero-placeholder { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(90% 70% at 70% 20%, #3a2f10 0%, var(--ink) 60%); }
.hero-placeholder .glow {
    position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(60px); opacity: .55;
    background: radial-gradient(circle, rgba(255, 208, 22, .55), transparent 65%);
    animation: drift 16s ease-in-out infinite alternate;
}
.hero-placeholder .glow.g1 { top: -20vmax; inset-inline-end: -15vmax; }
.hero-placeholder .glow.g2 { bottom: -30vmax; inset-inline-start: -20vmax; opacity: .3; animation-duration: 21s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-8vmax, 6vmax) scale(1.15); } }
.hero-placeholder .grid-lines {
    position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255, 250, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 250, 235, .05) 1px, transparent 1px);
    background-size: 64px 64px; mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent);
    -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent);
}
.hero-placeholder .wordmark {
    position: absolute; inset-inline-end: -2vw; top: calc(var(--header-h) + 2vh); font-weight: 900; line-height: .8; letter-spacing: -.06em;
    font-size: clamp(9rem, 34vw, 30rem); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 208, 22, .22); user-select: none;
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-ink2 { background: var(--ink-2); color: var(--on-dark); }
.section-cream { background: var(--cream); color: var(--text); }
.section-yellow { background: var(--y); color: var(--ink); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--y-deep); }
html[lang="ar"] .eyebrow { letter-spacing: .02em; font-size: .92rem; }
.section-dark .eyebrow, .section-ink2 .eyebrow { color: var(--y); }
.section-yellow .eyebrow { color: var(--ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { margin: 10px 0 0; font-weight: 900; letter-spacing: -.035em; line-height: 1; font-size: clamp(2.2rem, 6.4vw, 4.2rem); text-transform: uppercase; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.2; text-transform: none; }
.lead { margin: 18px 0 0; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--text-soft); max-width: 40rem; }
.section-dark .lead, .section-ink2 .lead { color: var(--on-dark-soft); }
.head-actions { display: flex; align-items: center; gap: 10px; }

/* about */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 1040px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; } }
.about-statement { font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; margin: 14px 0 0; }
html[lang="ar"] .about-statement { letter-spacing: 0; line-height: 1.35; }
.about-statement mark { background: linear-gradient(transparent 58%, var(--y) 58%); color: inherit; padding: 0 .08em; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 20px; min-height: 150px;
    background: #fff; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(70, 50, 0, .35);
    display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -26px rgba(70, 50, 0, .45); }
.stat b { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.stat span { font-weight: 700; color: var(--text-soft); line-height: 1.35; }
.stat .icon { width: 30px; height: 30px; color: var(--y-deep); }
.stat.is-dark { background: var(--ink); color: var(--on-dark); }
.stat.is-dark span { color: var(--on-dark-soft); }
.stat.is-dark .icon { color: var(--y); }
.stat.is-yellow { background: var(--y); }
.stat.is-yellow .icon { color: var(--ink); }

/* marquee */
.marquee { overflow: hidden; background: var(--y); color: var(--ink); padding: 18px 0; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font-weight: 900; font-size: clamp(1.3rem, 3.2vw, 2rem); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.marquee-item::after { content: ""; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- carousel (gallery + products) ---------- */
.carousel { position: relative; }
.carousel-track {
    display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); scroll-padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
    padding-block: 6px 18px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.gallery-track { grid-auto-columns: 84%; }
@media (min-width: 760px) { .gallery-track { grid-auto-columns: 58%; } }
@media (min-width: 1040px) { .gallery-track { grid-auto-columns: 44%; gap: 20px; } }
.carousel-nav { display: flex; gap: 8px; }
.carousel-btn {
    width: 52px; height: 52px; border-radius: 999px; border: 0; display: grid; place-items: center;
    background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit;
    transition: background-color .25s, color .25s, transform .35s var(--ease-out), opacity .25s;
}
.carousel-btn:hover { background: var(--y); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--y); transform: scale(1.06); }
.carousel-btn:disabled { opacity: .3; pointer-events: none; }
.carousel-progress { height: 3px; border-radius: 3px; background: var(--line-dark); margin-top: 18px; overflow: hidden; }
.section-cream .carousel-progress { background: var(--line); }
.carousel-progress span { display: block; height: 100%; width: var(--p, 0%); background: var(--y); border-radius: 3px; transition: width .4s var(--ease-out); }
.section-cream .carousel-progress span { background: var(--ink); }

.slide {
    position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ink-3);
    cursor: zoom-in; isolation: isolate;
}
@media (min-width: 760px) { .slide { aspect-ratio: 16 / 10; } }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.slide:hover img { transform: scale(1.06); }
.slide figcaption {
    position: absolute; inset: auto 0 0; padding: 40px 20px 18px; font-weight: 800; font-size: 1.05rem; color: var(--on-dark);
    background: linear-gradient(transparent, rgba(18, 15, 8, .85));
}
.slide .zoom-hint {
    position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
    background: rgba(18, 15, 8, .55); color: var(--on-dark); backdrop-filter: blur(6px); opacity: 0; transform: scale(.8);
    transition: opacity .3s, transform .4s var(--ease-out);
}
.slide:hover .zoom-hint { opacity: 1; transform: none; }

/* branded placeholder tile (gallery, products, product page) */
.ph {
    position: relative; overflow: hidden; display: grid; place-items: center; text-align: center;
    background: radial-gradient(120% 90% at 85% 10%, rgba(255, 208, 22, .22), transparent 55%), linear-gradient(150deg, var(--ink-3), var(--ink));
    color: var(--on-dark-mute);
}
.ph::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 250, 235, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 250, 235, .045) 1px, transparent 1px);
    background-size: 36px 36px;
}
.ph::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-100%);
    background: linear-gradient(100deg, transparent 30%, rgba(255, 250, 235, .07) 50%, transparent 70%);
    animation: shimmer 2.8s var(--ease) infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.ph-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; padding: 16px; }
.ph-inner img { width: 54px; height: 54px; border-radius: 14px; opacity: .85; }
.ph-inner .icon { width: 40px; height: 40px; color: rgba(255, 208, 22, .7); }
.ph-label { font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
html[lang="ar"] .ph-label { letter-spacing: 0; font-size: .9rem; }
.ph-light { background: radial-gradient(120% 90% at 85% 10%, rgba(255, 208, 22, .35), transparent 55%), linear-gradient(150deg, #fff6d6, var(--cream-2)); color: rgba(26, 21, 9, .45); }
.ph-light::before { background-image: linear-gradient(rgba(26, 21, 9, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 21, 9, .05) 1px, transparent 1px); }
.ph-light::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); }
.ph-light .ph-inner .icon { color: var(--y-deep); }
.slide.is-placeholder { cursor: default; }

/* ---------- benefits ---------- */
.benefit-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1040px) { .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.benefit {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 18px; min-height: 170px;
    background: rgba(255, 250, 235, .04); box-shadow: inset 0 0 0 1px var(--line-dark);
    display: flex; flex-direction: column; justify-content: flex-start; gap: 26px;
    transition: background-color .4s, transform .5s var(--ease-out);
}
.benefit::before {
    content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at var(--mx, 50%) var(--my, 0%), rgba(255, 208, 22, .16), transparent 60%);
    opacity: 0; transition: opacity .4s;
}
.benefit:hover { transform: translateY(-4px); background: rgba(255, 250, 235, .07); }
.benefit:hover::before { opacity: 1; }
.benefit-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--y); color: var(--ink); transition: transform .5s var(--ease-out); }
.benefit:hover .benefit-icon { transform: rotate(-8deg) scale(1.08); }
.benefit-icon .icon { width: 26px; height: 26px; }
.benefit h3 { margin: 0; font-size: clamp(1.08rem, 2.4vw, 1.35rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.2; }
.benefit p { margin: 6px 0 0; color: var(--on-dark-soft); font-size: .95rem; line-height: 1.45; }
@media (max-width: 420px) { .benefit p { display: none; } .benefit { min-height: 140px; } }

/* ---------- product cards ---------- */
.product-track { grid-auto-columns: 72%; }
@media (min-width: 560px) { .product-track { grid-auto-columns: 44%; } }
@media (min-width: 1040px) { .product-track { grid-auto-columns: calc((100% - 3 * 20px - 2 * max(var(--gutter), (100% - var(--wrap)) / 2)) / 4); gap: 20px; } }
.product-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-card { display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.product-media {
    position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: #fff;
    box-shadow: 0 1px 0 var(--line), 0 22px 40px -30px rgba(70, 50, 0, .45);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.product-media .ph { position: absolute; inset: 0; }
a.product-card:hover .product-media img { transform: scale(1.07); }
.product-media .view {
    position: absolute; inset-inline-end: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
    background: var(--y); color: var(--ink); transform: translateY(14px) scale(.8); opacity: 0;
    transition: transform .45s var(--ease-out), opacity .3s;
}
a.product-card:hover .product-media .view { transform: none; opacity: 1; }
.product-info { display: grid; gap: 2px; padding-inline: 4px; }
.product-name { margin: 0; font-weight: 900; font-size: 1.05rem; line-height: 1.3; }
.product-price { font-weight: 900; color: var(--y-deep); font-size: 1rem; }
.section-cream .product-price { color: #a07c00; }
.product-card.is-placeholder .product-name, .product-card.is-placeholder .product-price {
    height: 14px; border-radius: 7px; background: var(--line); width: 70%;
}
.product-card.is-placeholder .product-price { width: 34%; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .h2 { font-size: clamp(2.6rem, 9vw, 6.4rem); }
.cta-band .lead { margin-inline: auto; color: rgba(18, 15, 8, .75); }
.cta-band .hero-actions { justify-content: center; }
.cta-band .ring {
    position: absolute; border-radius: 50%; border: 2px solid rgba(18, 15, 8, .14); pointer-events: none;
    width: 70vmax; height: 70vmax; inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%);
    animation: pulse-ring 6s var(--ease) infinite;
}
[dir="rtl"] .cta-band .ring { transform: translate(50%, -50%); }
.cta-band .ring.r2 { animation-delay: 2s; } .cta-band .ring.r3 { animation-delay: 4s; }
@keyframes pulse-ring { 0% { scale: .2; opacity: 0; } 30% { opacity: 1; } 100% { scale: 1.1; opacity: 0; } }
.cta-band .wrap { position: relative; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.contact-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 26px; justify-content: space-between;
    padding: 24px; border-radius: var(--radius); min-height: 190px;
    background: rgba(255, 250, 235, .04); box-shadow: inset 0 0 0 1px var(--line-dark);
    transition: background-color .35s, transform .5s var(--ease-out), box-shadow .35s;
}
.contact-card:hover { background: var(--y); color: var(--ink); transform: translateY(-4px); box-shadow: none; }
.contact-card .top { display: flex; align-items: center; justify-content: space-between; }
.contact-card .top .icon { width: 30px; height: 30px; color: var(--y); transition: color .35s; }
.contact-card:hover .top .icon { color: var(--ink); }
.contact-card .arrow { width: 22px; height: 22px; transition: transform .45s var(--ease-out); }
.contact-card:hover .arrow { transform: rotate(-45deg); }
[dir="rtl"] .contact-card .arrow { transform: scaleX(-1); }
[dir="rtl"] .contact-card:hover .arrow { transform: scaleX(-1) rotate(-45deg); }
.contact-card h3 { margin: 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.contact-card p { margin: 4px 0 0; color: var(--on-dark-soft); font-weight: 700; transition: color .35s; }
.contact-card:hover p { color: rgba(18, 15, 8, .7); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin: 12px 0 0; max-width: 22rem; }
.site-footer h4 { margin: 0 0 10px; color: var(--on-dark); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
html[lang="ar"] .site-footer h4 { letter-spacing: 0; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer ul a { font-weight: 700; transition: color .2s; }
.site-footer ul a:hover { color: var(--y); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--on-dark-mute); }
.footer-word { font-weight: 900; letter-spacing: -.06em; line-height: .78; font-size: clamp(5rem, 24vw, 20rem); color: transparent; -webkit-text-stroke: 1px rgba(255, 250, 235, .1); margin-top: 36px; user-select: none; text-align: center; }

/* floating WhatsApp */
.float-wa {
    position: fixed; z-index: 30; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 999px;
    display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45);
    transform: scale(0); transition: transform .5s var(--ease-out);
}
.float-wa.is-in { transform: scale(1); }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; }

/* ---------- inner pages (products) ---------- */
.page-hero { background: var(--ink); color: var(--on-dark); padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero .h2 { font-size: clamp(2.6rem, 9vw, 5.6rem); }
.page-hero .glow { position: absolute; width: 50vmax; height: 50vmax; border-radius: 50%; top: -30vmax; inset-inline-end: -10vmax; background: radial-gradient(circle, rgba(255, 208, 22, .28), transparent 65%); filter: blur(40px); pointer-events: none; }
.page-hero .lead { color: var(--on-dark-soft); }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--on-dark-mute); font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.crumbs a:hover { color: var(--y); }
.empty-note { margin: 0 0 22px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--cream-2); font-weight: 800; display: inline-flex; gap: 10px; align-items: center; }

/* product page */
.product-layout { display: grid; gap: 32px; }
@media (min-width: 1040px) { .product-layout { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } .product-detail { position: sticky; top: calc(var(--header-h) + 24px); } }
.pg-main { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(70, 50, 0, .5); }
.pg-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .9s var(--ease-out); }
.pg-main img.is-active { opacity: 1; transform: none; }
.pg-main .ph { position: absolute; inset: 0; }
.pg-arrow {
    position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 999px; border: 0; display: grid; place-items: center;
    background: rgba(255, 250, 235, .9); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); z-index: 2;
    transition: transform .3s var(--ease-out);
}
.pg-arrow:hover { transform: scale(1.08); }
.pg-arrow.prev { inset-inline-start: 12px; } .pg-arrow.next { inset-inline-end: 12px; }
.pg-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.pg-thumbs button { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 0; padding: 0; opacity: .55; box-shadow: 0 0 0 2px transparent; transition: opacity .25s, box-shadow .25s; background: #fff; }
.pg-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-detail h1 { margin: 10px 0 0; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
html[lang="ar"] .product-detail h1 { letter-spacing: 0; line-height: 1.3; }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--y); font-weight: 900; font-size: 1.5rem; }
.price-tag small { font-size: .9rem; }
.product-desc { margin-top: 22px; color: var(--text-soft); font-size: 1.06rem; white-space: pre-line; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.product-note { margin-top: 14px; color: var(--text-soft); font-size: .9rem; display: flex; gap: 8px; align-items: center; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(10, 8, 4, .94); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: min(1400px, 94vw); }
.lightbox img { max-height: 80vh; width: auto; border-radius: 14px; transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: var(--on-dark-soft); font-weight: 700; }
.lightbox .lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgba(255, 250, 235, .1); color: var(--on-dark); transition: background-color .25s; }
.lightbox .lb-btn:hover { background: var(--y); color: var(--ink); }
.lightbox .lb-close { top: 18px; inset-inline-end: 18px; }
.lightbox .lb-prev { inset-inline-start: 18px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { inset-inline-end: 18px; top: 50%; translate: 0 -50%; }
.lightbox .lb-count { position: absolute; top: 30px; inset-inline-start: 24px; color: var(--on-dark-mute); font-weight: 800; letter-spacing: .1em; }

/* =====================================================================
   Motion: elements start hidden only when JS is running (html.js) and
   are revealed by IntersectionObserver (site.js). Reduced motion = none.
   ===================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [dir="rtl"] [data-reveal="left"], [dir="rtl"].js [data-reveal="left"] { transform: translateX(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-title .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .hero-in, .js .hero-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .is-loaded .hero-title .line > span { transform: none; }
.js .is-loaded .hero-in, .js .is-loaded .hero-fade { opacity: 1; transform: none; }
.hero-media { transition: opacity 1.4s var(--ease), transform 2.4s var(--ease-out); }
.js .hero:not(.is-loaded) .hero-media { opacity: 0; transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
    .js [data-reveal], .js .hero-in, .js .hero-fade, .js .hero-title .line > span, .js .hero:not(.is-loaded) .hero-media { opacity: 1 !important; transform: none !important; }
}
