/* Wadi Zakho — colours drawn from the logo: deep navy W + gold Z */
:root {
  --navy-950: #071630;
  --navy-900: #0A1F40;
  --navy-800: #0E2A55;
  --navy-700: #173B70;
  --navy-100: #DCE4F0;
  --navy-50: #EEF2F8;
  --gold-700: #7F5D22;   /* gold text on light backgrounds (AA) */
  --gold-500: #B48A45;
  --gold-300: #DCC27A;
  --gold-100: #F4EAD2;
  --gold-grad: linear-gradient(100deg, #B48A45 0%, #D3B56C 55%, #DCC27A 100%);
  --cream: #FBF8F2;
  --paper: #FFFFFF;
  --ink: #12203A;
  --muted: #55607A;
  --line: #E7E0D2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(10 31 64 / .06), 0 2px 8px rgb(10 31 64 / .05);
  --shadow: 0 14px 34px -14px rgb(10 31 64 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --header-h: 84px;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, sans-serif;
  color-scheme: light;
}
html[lang="en"] { --font-head: "Roboto Slab", Georgia, serif; }

/* smooth cross-page transitions (supporting browsers) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

*, *::before, *::after { box-sizing: border-box; }
[hidden]:not(.to-top) { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--ink); overflow-x: clip;
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .5em; color: var(--navy-800); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .ic.flip { transform: scaleX(-1); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* scroll progress */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 90; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .progress span { transform-origin: right; }

.cs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding: 8px 16px; background: #B42318; color: #fff; font-size: .9rem; font-weight: 600; text-align: center; font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; direction: rtl; }
.cs-bar a { text-decoration: underline; }

/* ---------- buttons (+ click ripple) ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
.btn .ic { transition: transform .3s var(--spring); }
.btn:hover .ic.flip { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ic.flip { transform: scaleX(-1) translateX(4px); }
.btn-gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 6px 18px -8px rgb(180 138 69 / .8); }
.btn-gold:hover { box-shadow: 0 12px 28px -8px rgb(180 138 69 / .9); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); box-shadow: 0 12px 26px -12px rgb(10 31 64 / .7); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgb(255 255 255 / .55); }
.btn-ghost-light:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.btn-outline-dark { color: var(--navy-950); border: 1.5px solid rgb(7 22 48 / .45); }
.btn-outline-dark:hover { background: rgb(7 22 48 / .08); border-color: var(--navy-950); }
.btn-block { width: 100%; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; background: currentColor; opacity: .25; transform: scale(0); animation: ripple .6s var(--ease-out) forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--navy-800); transition: background-color .2s, transform .2s var(--spring); }
.icon-btn:hover { background: var(--navy-50); }
.icon-btn:active { transform: scale(.9); }
.icon-btn .ic { width: 24px; height: 24px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy-900); color: var(--navy-100); font-size: .875rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-contact { display: flex; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: var(--gold-300); }
.topbar .ic { color: var(--gold-300); }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar .lang-switch { padding: 4px 12px; border: 1px solid rgb(220 194 122 / .4); border-radius: 999px; transition: background-color .2s, color .2s; }
.topbar .lang-switch:hover { background: rgb(220 194 122 / .12); }

.header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgb(10 31 64 / .35); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header-in { height: 70px; }
.brand img { height: 60px; width: auto; transition: height .3s var(--ease), transform .3s var(--spring); }
.header.is-scrolled .brand img { height: 50px; }
.brand:hover img { transform: scale(1.04); }
.header-actions { display: none; align-items: center; gap: 4px; margin-inline-start: auto; }
.lang-mobile { min-width: 44px; min-height: 44px; justify-content: center; padding: 0 10px; border-radius: 12px; color: var(--navy-800); border: 1px solid var(--line); }

.nav { display: flex; align-items: center; gap: 8px; flex: 1; }
.nav-head { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: 10px;
  font-weight: 600; color: var(--navy-800); transition: background-color .2s, color .2s;
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--gold-grad);
  transform: scaleX(0); transition: transform .35s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(.5); }
.nav-link[aria-current="page"]::after, .drop-btn[data-active]::after { transform: scaleX(1); }
.nav-link:hover, .drop-btn[aria-expanded="true"] { background: var(--navy-50); }
.chev { width: 16px; height: 16px; transition: transform .3s var(--spring); }
.drop-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { min-height: 44px; padding-inline: 1.1em; }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 60;
  min-width: 250px; padding: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top;
  transition: opacity .2s var(--ease), transform .25s var(--ease-out), visibility 0s .25s;
}
.drop::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.drop.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop.is-open li { animation: drop-item .35s var(--ease-out) both; }
.drop.is-open li:nth-child(2) { animation-delay: .03s; } .drop.is-open li:nth-child(3) { animation-delay: .06s; }
.drop.is-open li:nth-child(4) { animation-delay: .09s; } .drop.is-open li:nth-child(5) { animation-delay: .12s; }
.drop.is-open li:nth-child(n+6) { animation-delay: .15s; }
@keyframes drop-item { from { opacity: 0; transform: translateY(-4px); } }
.drop-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 8px; font-weight: 500; transition: background-color .15s, color .15s, padding .2s var(--ease); }
.drop-link:hover { background: var(--gold-100); color: var(--navy-900); padding-inline-start: 18px; }
.drop-count { min-width: 28px; padding: 0 8px; border-radius: 999px; background: var(--navy-50); color: var(--navy-700); font-size: .8rem; text-align: center; }
.drop-link-all { justify-content: center; gap: 8px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; font-weight: 700; color: var(--gold-700); }
.mega { width: min(760px, calc(100vw - 48px)); inset-inline-start: 50%; translate: 50% 0; padding: 16px; }
[dir="ltr"] .mega { translate: -50% 0; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 10px; font-weight: 600; color: var(--navy-800); transition: background-color .15s, transform .2s var(--ease); }
.mega-link:hover { background: var(--gold-100); transform: translateX(-2px); }
[dir="ltr"] .mega-link:hover { transform: translateX(2px); }
.mega-logo { display: grid; place-items: center; width: 44px; height: 36px; flex: none; }
.mega-logo img { max-width: 44px; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.drop-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--gold-700); }
.drop-all:hover { color: var(--navy-800); }
.nav-scrim { display: none; }

/* ---------- entrance animations ---------- */
.anim-up { animation: up .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * .1s + .05s); }
@keyframes up { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } }
.anim-grow { animation: grow .9s var(--ease-out) .35s both; transform-origin: inline-start; }
@keyframes grow { from { transform: scaleX(0); } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-900); min-height: min(80vh, 740px); display: grid; align-items: center; }
.hero-bg { position: absolute; inset: -4%; z-index: -2; background: center / cover no-repeat; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 22 48 / .93) 0%, rgb(10 31 64 / .8) 45%, rgb(10 31 64 / .35) 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgb(7 22 48 / .93) 0%, rgb(10 31 64 / .8) 45%, rgb(10 31 64 / .35) 100%); }
.hero-in { padding-block: 104px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; max-width: 16ch; margin-bottom: .4em; }
html[lang="en"] .hero h1 { max-width: 20ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 255 255 / .88); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-300); font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; }
.kicker::before { content: ""; width: 36px; height: 2px; background: var(--gold-grad); }
.kicker-dark { color: var(--gold-700); }

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -52px; }
.stats-in { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; animation: up .9s var(--ease-out) .5s both; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 16px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-n { font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--font-head); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-weight: 500; margin-top: 6px; }

/* ---------- brand logo marquee ---------- */
.marquee { padding-block: 40px 8px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; gap: 20px; padding-inline-end: 20px; }
.marquee-row a { display: grid; place-items: center; width: 150px; height: 84px; padding: 12px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: transform .3s var(--spring), box-shadow .3s, border-color .3s; }
.marquee-row a:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow); border-color: var(--gold-300); }
.marquee-row img { max-height: 56px; max-width: 110px; width: auto; object-fit: contain; filter: grayscale(.25); transition: filter .3s; }
.marquee-row a:hover img { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(24px, 4vw, 44px); }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-navy { background: radial-gradient(1200px 400px at 80% 0%, var(--navy-700), transparent), var(--navy-900); color: var(--navy-100); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 48px); }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.sec-head h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--gold-grad); transform: scaleX(0); transition: transform .9s var(--ease-out) .25s; }
.js .sec-head.is-in h2::after, html:not(.js) .sec-head h2::after { transform: none; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-head-light h2 { color: #fff; }
.center-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- category cards (clean product cut-outs) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, var(--gold-100) 100%);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .4s var(--spring), box-shadow .4s var(--ease), border-color .3s;
}
.cat-card::before { content: ""; position: absolute; inset-inline: 18%; top: 14%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(220 194 122 / .35), transparent 70%); transition: transform .6s var(--ease-out); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.cat-card:hover::before { transform: scale(1.25); }
.cat-media { position: relative; display: block; padding: 22px 22px 4px; }
.cat-media img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--spring); }
.cat-card:hover .cat-media img { transform: scale(1.08) rotate(-2deg); }
.cat-body { position: relative; display: grid; gap: 2px; padding: 8px 22px 22px; }
.cat-name { font: 700 1.25rem/1.35 var(--font-head); color: var(--navy-800); }
.cat-meta { color: var(--muted); font-size: .95rem; }
.cat-go { position: absolute; bottom: 20px; inset-inline-end: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: #fff; transition: transform .35s var(--spring), background-color .3s; }
.cat-card:hover .cat-go { transform: scale(1.12); background: var(--gold-500); color: var(--navy-950); }

/* ---------- product grid & cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pgrid > li { transition: opacity .35s var(--ease), transform .35s var(--ease-out); }
.pgrid > li.is-hidden { display: none; }
.pgrid > li.is-entering { animation: pop-in .45s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 25ms); }
@keyframes pop-in { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.pcard {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.pcard:active { transform: translateY(-2px) scale(.98); transition-duration: .1s; }
.pcard-media { position: relative; display: block; padding: 18px; background: radial-gradient(circle at 50% 40%, #fff 0%, #fff 45%, var(--cream) 100%); }
.pcard-media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .5s var(--spring); }
.pcard:hover .pcard-media img { transform: scale(1.07) translateY(-4px); }
.pcard-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.pcard-brand { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-700); }
.pcard-name { font-weight: 700; color: var(--navy-800); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pcard-size { padding: 2px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-700); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pcard-cta { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; font-size: .82rem; font-weight: 700; color: var(--gold-700); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease-out); }
[dir="rtl"] .pcard-cta { transform: translateX(6px); }
.pcard:hover .pcard-cta, .pcard:focus-visible .pcard-cta { opacity: 1; transform: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search .ic { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search input { width: 100%; min-height: 48px; padding-inline: 44px 16px; font: inherit; font-size: 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgb(180 138 69 / .15); }
.chips ul, .chips-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-nav ul { padding-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; color: var(--navy-800); transition: border-color .2s, background-color .25s, color .25s, transform .2s var(--spring); }
.chip:hover { border-color: var(--gold-500); transform: translateY(-1px); }
.chip:active { transform: scale(.95); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip-n { font-size: .78rem; opacity: .7; }

/* ---------- product modal ---------- */
.pmodal { width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; }
.pmodal::backdrop { background: rgb(7 22 48 / .6); backdrop-filter: blur(4px); }
.pmodal[open] { animation: modal-in .45s var(--ease-out); }
.pmodal[open]::backdrop { animation: fade-in .3s var(--ease) both; }
.pmodal.is-closing { animation: modal-out .22s var(--ease) forwards; }
.pmodal.is-closing::backdrop { animation: fade-out .22s var(--ease) forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.pm-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100dvh - 32px); background: var(--paper); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px -20px rgb(7 22 48 / .5); }
.pm-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--navy-800); box-shadow: var(--shadow-sm); transition: transform .3s var(--spring), background-color .2s; }
.pm-close:hover { transform: rotate(90deg); background: #fff; }
.pm-media { position: relative; display: grid; place-items: center; padding: 40px; background: radial-gradient(circle at 50% 45%, #fff 0%, #fff 40%, var(--cream) 100%); }
.pm-media img { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: contain; }
.pm-media img.is-swap { animation: img-swap .45s var(--ease-out); }
@keyframes img-swap { from { opacity: 0; transform: scale(.92); } }
.pm-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--navy-800); box-shadow: var(--shadow-sm); transition: transform .25s var(--spring), background-color .2s; }
.pm-nav:hover { background: var(--gold-100); }
.pm-nav:active { transform: scale(.9); }
.pm-prev { inset-inline-start: 14px; }
.pm-next { inset-inline-end: 14px; }
.pm-prev .ic { transform: rotate(90deg); }
.pm-next .ic { transform: rotate(-90deg); }
[dir="rtl"] .pm-prev .ic { transform: rotate(-90deg); }
[dir="rtl"] .pm-next .ic { transform: rotate(90deg); }
.pm-body { display: flex; flex-direction: column; gap: 12px; padding: 40px 36px 32px; overflow-y: auto; }
.pm-body > * { animation: up .5s var(--ease-out) both; }
.pm-body > :nth-child(2) { animation-delay: .04s; } .pm-body > :nth-child(3) { animation-delay: .08s; }
.pm-body > :nth-child(4) { animation-delay: .12s; } .pm-body > :nth-child(n+5) { animation-delay: .16s; }
.pm-brand { align-self: flex-start; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-700); }
.pm-brand:hover { text-decoration: underline; }
.pm-name { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-sm { padding: 4px 12px; border-radius: 999px; background: var(--navy-800); color: #fff; font-size: .85rem; font-weight: 600; }
.chip-soft { background: var(--gold-100); color: var(--gold-700); }
.chip-sm:empty { display: none; }
.pm-note { color: var(--muted); margin: 0; }
.pm-note:empty { display: none; }
.pm-specs { display: grid; margin: 4px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pm-specs:empty { display: none; }
.pm-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; }
.pm-specs div:nth-child(odd) { background: var(--cream); }
.pm-specs dt { color: var(--muted); }
.pm-specs dd { margin: 0; font-weight: 700; color: var(--navy-800); direction: ltr; unicode-bidi: isolate; }
.pm-actions { margin-top: auto; padding-top: 8px; }
.pm-form { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); animation: up .45s var(--ease-out) both; }
.pm-form h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pm-form .field { margin-bottom: 10px; }
.qty { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); overflow: hidden; }
.qty button { width: 44px; font-size: 1.2rem; font-weight: 700; color: var(--navy-800); transition: background-color .2s; }
.qty button:hover { background: var(--gold-100); }
.qty input { flex: 1; min-width: 0; border: 0 !important; text-align: center !important; box-shadow: none !important; background: transparent !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.form-ok { margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; background: #E7F7EE; color: #0E6B3A; font-weight: 600; animation: up .4s var(--ease-out) both; }

/* ---------- brand cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.brand-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%;
  padding: 22px 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; transition: transform .35s var(--spring), box-shadow .35s var(--ease), border-color .3s;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.brand-logo { display: grid; place-items: center; width: 100%; height: 92px; margin-bottom: 8px; }
.brand-logo img { max-height: 92px; max-width: 150px; width: auto; object-fit: contain; transition: transform .45s var(--spring); }
.brand-card:hover .brand-logo img { transform: scale(1.1); }
.brand-name { font-weight: 700; color: var(--navy-800); }
.brand-meta { font-size: .875rem; color: var(--muted); }
.badge { position: absolute; top: 10px; inset-inline-end: 10px; padding: 2px 10px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); font-size: .75rem; font-weight: 700; }
.badge-inline { position: static; display: inline-block; margin-bottom: 8px; font-size: .85rem; }

/* split / values / featured */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; box-shadow: var(--shadow); transition: transform .8s var(--ease-out); }
.split-media:hover img { transform: scale(1.04); }
.split-logo { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 5vw, 56px); }
.split-logo img { box-shadow: none; }
.split-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.split-body p { color: var(--muted); font-size: 1.05rem; }
.lead-dark { color: var(--ink) !important; font-size: 1.15rem !important; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(220 194 122 / .22); transition: transform .4s var(--spring), background-color .3s, border-color .3s; }
.value:hover { transform: translateY(-6px); background: rgb(255 255 255 / .08); border-color: rgb(220 194 122 / .5); }
.value h3 { color: #fff; font-size: 1.25rem; margin-top: 16px; }
.value p { margin: 0; color: var(--navy-100); }
.value-ic { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--gold-grad); color: var(--navy-950); transition: transform .5s var(--spring); }
.value:hover .value-ic { transform: rotate(-8deg) scale(1.08); }
.values-light .value { background: var(--paper); border-color: var(--line); }
.values-light .value:hover { border-color: var(--gold-300); box-shadow: var(--shadow); }
.values-light .value h3 { color: var(--navy-800); }
.values-light .value p { color: var(--muted); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy-800); }
.feat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.feat:hover img { transform: scale(1.07); }
.feat-label { position: absolute; inset-inline-start: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .95); color: var(--navy-800); font-weight: 700; box-shadow: var(--shadow-sm); transition: transform .35s var(--spring); }
.feat:hover .feat-label { transform: translateY(-4px); }

/* CTA band */
.cta-band { background: var(--gold-grad); color: var(--navy-950); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy-950); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .2em; }
.cta-band p { margin: 0; color: var(--navy-900); font-weight: 500; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* page hero */
.page-hero { position: relative; isolation: isolate; background: var(--navy-900); color: #fff; padding-block: clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero-bg { position: absolute; inset: -4%; z-index: -2; background: center / cover no-repeat; animation: kenburns 24s ease-in-out infinite alternate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 300px at 85% 0%, rgb(180 138 69 / .25), transparent), linear-gradient(rgb(7 22 48 / .55), rgb(7 22 48 / .55)); }
.page-hero.has-img::before { background: linear-gradient(90deg, rgb(7 22 48 / .92), rgb(7 22 48 / .55)); }
[dir="rtl"] .page-hero.has-img::before { background: linear-gradient(270deg, rgb(7 22 48 / .92), rgb(7 22 48 / .55)); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin-bottom: .3em; }
.page-hero .lead { color: rgb(255 255 255 / .85); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.rule { display: block; width: 72px; height: 3px; margin-top: 20px; border-radius: 3px; background: var(--gold-grad); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: rgb(255 255 255 / .7); margin-bottom: 16px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--gold-300); }
.crumbs a:hover { color: var(--gold-300); }

/* brand page */
.brand-intro { display: flex; align-items: center; gap: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.brand-intro p { margin: 0; }
.brand-logo-lg { width: 160px; height: 110px; flex: none; margin: 0; }
.brand-logo-lg img { max-width: 160px; max-height: 110px; }

/* about */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .4s var(--spring), box-shadow .3s; }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vm-card h2 { margin-top: 16px; font-size: 1.4rem; }
.vm-card p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* contact & forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--spring), border-color .3s; }
.ccard:hover { transform: translateX(-4px); border-color: var(--gold-300); }
[dir="ltr"] .ccard:hover { transform: translateX(4px); }
.ccard h2 { font-size: 1rem; margin: 0 0 4px; }
.ccard p { margin: 0; color: var(--muted); }
.ccard a { color: var(--navy-800); font-weight: 600; }
.ccard a:hover { color: var(--gold-700); }
.ccard-ic, .ccard > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--navy-50); color: var(--navy-800); }
.ccard-wa > .ic { background: #E7F7EE; color: #128C4B; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 1.4rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy-800); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.form .field input, .form .field textarea { background: var(--cream); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgb(180 138 69 / .15); }
.field [aria-invalid="true"] { border-color: #B42318; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.err { color: #B42318; font-size: .9rem; margin: 6px 0 0; }
.form-note { color: var(--muted); font-size: .9rem; text-align: center; margin: 12px 0 0; }

/* footer */
.footer { background: var(--navy-950); color: var(--navy-100); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.5fr; gap: 32px; padding-bottom: 40px; }
.footer-brand img { height: 72px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand p { color: rgb(220 228 240 / .8); max-width: 34ch; }
.footer-h { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-list li { margin-bottom: 4px; }
.footer-list a { display: inline-flex; min-height: 36px; align-items: center; transition: color .2s, transform .25s var(--ease); }
.footer-list a:hover { color: var(--gold-300); transform: translateX(-3px); }
[dir="ltr"] .footer-list a:hover { transform: translateX(3px); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ic { color: var(--gold-300); }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(220 194 122 / .35); color: var(--gold-300); font-weight: 600; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--gold-300); color: var(--navy-950); }
.map-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgb(220 194 122 / .3); aspect-ratio: 16 / 10; background: var(--navy-900); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 40px; font-weight: 600; color: var(--gold-300); transition: color .2s; }
.map-link:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid rgb(220 228 240 / .12); font-size: .9rem; }
.footer-bottom p { margin: 0; color: rgb(220 228 240 / .7); }
.footer-bottom .lang-switch { color: var(--gold-300); min-height: 44px; }

.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .4); transition: transform .3s var(--spring); animation: wa-pulse 2.8s ease-out 2s infinite; }
.wa-float:hover { transform: scale(1.1); }
.wa-float .ic { width: 30px; height: 30px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgb(37 211 102 / .5), 0 10px 24px -8px rgb(0 0 0 / .4); } 70%, 100% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0), 0 10px 24px -8px rgb(0 0 0 / .4); } }
.to-top { position: fixed; bottom: 86px; inset-inline-end: 24px; z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: #fff; box-shadow: var(--shadow); transition: transform .3s var(--spring), opacity .3s; }
.to-top[hidden] { display: grid; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; }
.to-top:hover { transform: translateY(-3px); }

.notfound { text-align: center; }
.nf-code { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--font-head); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-cta span { display: none; }
  .nav-cta { padding-inline: .9em; }
  .nav-link { padding: 0 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .header { backdrop-filter: none; background: var(--paper); }
  .brand img, .header.is-scrolled .brand img { height: 50px; }
  .header.is-scrolled .header-in { height: var(--header-h); }
  .header-actions { display: flex; }
  .topbar .lang-switch { display: none; }
  .nav {
    position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 70;
    width: min(380px, 88vw); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); box-shadow: var(--shadow); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease-out), visibility 0s .4s;
  }
  [dir="rtl"] .nav { transform: translateX(-100%); }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav.is-open .nav-list > li { animation: up .5s var(--ease-out) both; }
  .nav.is-open .nav-list > li:nth-child(2) { animation-delay: .05s; } .nav.is-open .nav-list > li:nth-child(3) { animation-delay: .1s; }
  .nav.is-open .nav-list > li:nth-child(4) { animation-delay: .15s; } .nav.is-open .nav-list > li:nth-child(5) { animation-delay: .2s; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
  .nav-title { font: 700 1.1rem var(--font-head); color: var(--navy-800); }
  .nav-list { flex-direction: column; align-items: stretch; margin: 0; padding: 12px; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; min-height: 52px; font-size: 1.05rem; }
  .nav-link::after { inset-inline: 14px auto; width: 24px; }
  .drop, .mega { position: static; width: auto; translate: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px; transform: none; opacity: 1; visibility: visible; display: none; transition: none; }
  .drop.is-open { display: block; }
  .drop::before { display: none; }
  .drop-link { padding-inline: 24px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-link { padding-inline: 14px; }
  .nav-cta { margin: 8px 16px 24px; }
  .nav-cta span { display: inline; }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 60; background: rgb(7 22 48 / .5); animation: fade-in .3s both; }
  .nav-scrim[hidden] { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-card { grid-template-columns: 1fr; overflow-y: auto; }
  .pm-media { padding: 28px 56px; }
  .pm-media img { max-width: 300px; }
  .pm-body { overflow: visible; padding: 24px; }
}
@media (max-width: 767px) {
  .topbar-contact a:nth-child(2) { display: none; }
  .hero { min-height: 0; }
  .hero-in { padding-block: 72px 100px; }
  .stats-in { grid-template-columns: 1fr; }
  .stat + .stat { border-inline-start: 0; border-top: 1px solid var(--line); }
  .stat { flex-direction: row; justify-content: center; gap: 12px; padding: 16px; }
  .stat-l { margin: 0; }
  .split, .vm, .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brand-card { padding: 18px 10px 14px; }
  .brand-logo { height: 72px; }
  .brand-logo img { max-height: 72px; max-width: 120px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-media { padding: 14px 14px 0; }
  .cat-body { padding: 6px 14px 16px; }
  .cat-name { font-size: 1.05rem; }
  .cat-go { width: 34px; height: 34px; bottom: 14px; inset-inline-end: 12px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard-media { padding: 10px; }
  .pcard-body { padding: 10px 12px 12px; }
  .pcard-name { font-size: .92rem; }
  .pcard-cta { display: none; }
  .brand-intro { flex-direction: column; text-align: center; gap: 12px; padding: 20px; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .marquee-row a { width: 120px; height: 70px; }
  .pmodal { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .pmodal[open] { animation: sheet-in .45s var(--ease-out); }
  .pmodal.is-closing { animation: sheet-out .25s var(--ease) forwards; }
  .pm-card { border-radius: 24px 24px 0 0; max-height: 92dvh; }
  .pm-grid { grid-template-columns: 1fr; }
  .search { max-width: none; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .has-drop:hover > .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-drop:hover > .drop li { animation: drop-item .35s var(--ease-out) both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  @view-transition { navigation: none; }
}
