/* ==========================================================================
   Madam Oud — Luxury agarwood. Dark ebony + champagne gold + Kufic geometry.
   Logical properties everywhere so Arabic (RTL) mirrors automatically.
   ========================================================================== */
:root {
  --ink: #080908; --ink-2: #0f110d; --ink-3: #171a13; --ink-4: #26201626;
  --line: rgba(111, 184, 29, .24); --line-soft: rgba(111, 184, 29, .12);
  --gold: #6fb81d; --gold-2: #a6dc5a; --gold-3: #3f7a0f;
  --ivory: #f7f8f3; --cream: #f1f3ea; --cream-2: #e4e8d8; --paper: #fbfcf7;
  --text: #e8ebe1; --muted: #aeb4a2; --text-dark: #12150e; --muted-dark: #5b6150;
  --leaf: #6fb81d;
  --r: 18px; --maxw: 1200px; --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%236fb81d' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M36 0 72 36 36 72 0 36z'/%3E%3Cpath d='M36 14 58 36 36 58 14 36z'/%3E%3Crect x='28' y='28' width='16' height='16'/%3E%3C/g%3E%3C/svg%3E");
}
html[lang="ar"] {
  --font-display: 'Amiri', 'Noto Naskh Arabic', 'Scheherazade New', 'Times New Roman', serif;
  --font-body: 'Tajawal', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.95; font-size: 1.125rem; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; color: var(--ivory); letter-spacing: .005em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.45; letter-spacing: 0; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.3rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.center { text-align: center; margin-top: 3rem; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

/* ---------- announcement + header ---------- */
.announce { background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-3)); color: var(--ink); text-align: center; font-size: .92rem; font-weight: 500; padding: 8px 16px; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce[hidden] { display: none; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(8, 9, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: background .3s; }
.site-header.is-scrolled { background: rgba(8, 9, 8, .94); border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 46px; width: auto; background: #fff; padding: 4px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { white-space: nowrap; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .22em; font-weight: 600; color: var(--ivory); }
.brand-text i { font-style: normal; font-size: .62rem; letter-spacing: .5em; color: var(--gold); margin-top: 5px; }
html[lang="ar"] .brand-text b, html[lang="ar"] .brand-text i { letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.nav a { white-space: nowrap; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); padding: 6px 0; position: relative; }
html[lang="ar"] .nav a { letter-spacing: 0; font-size: 1rem; text-transform: none; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:hover { color: var(--gold-2); }
.nav-products { color: var(--gold) !important; }
.hdr-end { display: flex; align-items: center; gap: 12px; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { font-size: .74rem; letter-spacing: .08em; font-weight: 500; min-width: 36px; text-align: center; padding: 5px 9px; border-radius: 999px; color: var(--muted); font-family: var(--font-body); }
.langs a[aria-current="true"] { background: var(--gold); color: var(--ink); }
.langs a:not([aria-current]):hover { color: var(--gold-2); }
.burger, .drawer-close { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--gold-2); cursor: pointer; }
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(8, 7, 5, .97); backdrop-filter: blur(8px); display: flex; }
.drawer[hidden] { display: none; }
.drawer-inner { margin: auto; width: min(420px, 88vw); text-align: center; position: relative; padding: 60px 0; }
.drawer-close { display: inline-flex; position: absolute; top: 18px; inset-inline-end: 4px; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 36px; }
.drawer nav a { font-family: var(--font-display); font-size: 2rem; padding: 8px; color: var(--ivory); }
.drawer nav a:hover { color: var(--gold); }
.langs-lg { margin: 0 auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 15px 30px; font-size: .86rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s; line-height: 1.2; }
html[lang="ar"] .btn { letter-spacing: 0; font-size: 1.02rem; text-transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .74rem; }
.btn-gold { background: linear-gradient(135deg, #a6dc5a, #6fb81d 52%, #4f9212); color: #0a1203; box-shadow: 0 8px 30px -10px rgba(111, 184, 29, .6); }
.btn-gold:hover { box-shadow: 0 14px 38px -10px rgba(111, 184, 29, .85); filter: brightness(1.05); }
.btn-ghost { border-color: var(--gold); color: var(--gold-2); background: transparent; }
.btn-ghost:hover { background: rgba(111, 184, 29, .12); }
.btn-dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-dark:hover { background: #1b2015; }
.btn-ghost-dark { border-color: rgba(18, 21, 14, .45); color: var(--text-dark); }
.btn-ghost-dark:hover { background: rgba(18, 21, 14, .06); }
.hdr-cta span { letter-spacing: .1em; }

/* ---------- shared bits ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.4rem; font-weight: 500; }
html[lang="ar"] .eyebrow { letter-spacing: .02em; font-size: 1rem; text-transform: none; }
.eyebrow-mark { width: 9px; height: 9px; background: var(--leaf); display: inline-block; flex: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40ch; }
html[lang="ar"] .lead { max-width: 44ch; }
.fineprint { font-size: .86rem; color: var(--muted); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-light { background: var(--cream); color: var(--text-dark); background-image: var(--pattern); background-size: 72px; }
.section-light h2, .section-light h3, .section-light h4 { color: var(--text-dark); }
.section-light .section-head p, .section-light .lead { color: var(--muted-dark); }
.section-light .eyebrow { color: #3f7a0f; }
.section-dark { background: var(--ink-2); }
.section-dark.oil { background: radial-gradient(900px 600px at 85% 20%, rgba(111, 184, 29, .12), transparent 60%), var(--ink-2); }
.hero-pattern { position: absolute; inset: 0; background-image: var(--pattern); background-size: 72px; -webkit-mask-image: radial-gradient(70% 80% at 80% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 80% at 80% 30%, #000 20%, transparent 75%); pointer-events: none; }
.arch { margin: 0; position: relative; border-radius: 999px 999px 18px 18px; }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; aspect-ratio: 3 / 4; background: var(--ink-3); }
.arch::before { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(111, 184, 29, .5); border-radius: 999px 999px 26px 26px; z-index: -1; }
.arch figcaption { position: absolute; inset-inline: 14px; bottom: 14px; font-size: .78rem; letter-spacing: .04em; color: var(--ivory); background: rgba(8, 9, 8, .62); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 10px; text-align: center; line-height: 1.4; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 640px at 78% 18%, rgba(111, 184, 29, .16), transparent 62%), radial-gradient(700px 500px at 5% 95%, rgba(127, 184, 42, .07), transparent 60%), var(--ink); padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; }
.hero h1 { margin-bottom: .4em; }
.hero h1 { background: linear-gradient(180deg, #ffffff 25%, #b9e27a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.facts { list-style: none; margin: 3rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--line); display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.facts li { display: flex; flex-direction: column; }
.facts b { font-family: var(--font-display); font-size: 2.8rem; font-weight: 500; color: var(--gold-2); line-height: 1; }
.facts span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
html[lang="ar"] .facts span { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.hero-art { position: relative; padding-block: 14px; }
.hero-art .arch-xl { width: min(100%, 440px); margin-inline-start: auto; }
.hero-art .arch-sm { position: absolute; width: 38%; inset-inline-start: 2%; bottom: 7%; border: 6px solid var(--ink); border-radius: 999px 999px 16px 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.hero-art .arch-sm img { aspect-ratio: 3 / 4; }
.hero-art .arch-sm::before { inset: -14px; }
.hero-origin { position: absolute; inset-inline-end: 0; bottom: -4px; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); background: rgba(8, 9, 8, .8); padding: 8px 14px; border-radius: 999px; }
html[lang="ar"] .hero-origin { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.hero-scroll { display: none; }
.trustbar { border-block: 1px solid var(--line); background: var(--ink-2); }
.trustbar ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 38px; }
.trustbar li { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .trustbar li { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.trustbar .ic { color: var(--gold); width: 18px; height: 18px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.14rem; max-width: 56ch; }
.about-copy h2 { max-width: 14ch; }
html[lang="ar"] .about-copy h2 { max-width: none; }
.about-cards { display: grid; gap: 20px; }
.card-dark { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.card-dark h3 { color: var(--gold-2); margin-bottom: .6em; }
.card-dark p { color: var(--muted); margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.ticks li { padding-inline-start: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ---------- collections ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; display: block; background: var(--ink-3); isolation: isolate; box-shadow: 0 20px 40px -24px rgba(18, 21, 14, .6); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: -2; }
.cat-card:hover img { transform: scale(1.07); }
.cat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 8, 0) 30%, rgba(8, 9, 8, .88) 100%); z-index: -1; }
.cat-body { position: absolute; inset-inline: 0; bottom: 0; padding: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ivory); }
.cat-body b { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; font-weight: 600; }
html[lang="ar"] .cat-body b { font-size: 1.3rem; line-height: 1.4; }
.cat-body small { font-size: .84rem; line-height: 1.45; color: rgba(246, 239, 225, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-body em { font-style: normal; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
html[lang="ar"] .cat-body em { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.cat-body em .ic { width: 16px; height: 16px; transition: transform .3s; }
.cat-card:hover em .ic { transform: translateX(4px); }
[dir="rtl"] .cat-card:hover em .ic { transform: scaleX(-1) translateX(4px); }

/* ---------- oil ---------- */
.oil-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.grades { list-style: none; margin: 2rem 0 1.4rem; padding: 0; display: grid; gap: 4px; }
.grades li { display: flex; gap: 18px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .55), transparent 42%), var(--sw); box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3px var(--gold); flex: none; margin-top: 2px; }
.grades b { font-family: var(--font-display); font-size: 1.4rem; color: var(--ivory); font-weight: 600; }
.grades small { font-family: var(--font-body); font-size: .7rem; letter-spacing: .12em; color: var(--gold); margin-inline-start: 8px; font-weight: 500; }
.grades p { margin: 2px 0 0; color: var(--muted); font-size: .98rem; }
.oil-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.oil-art .arch-xl { width: min(100%, 460px); margin-inline: auto; }

/* ---------- craft ---------- */
.craft { background: var(--ink); }
.craft-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.craft-art { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: end; }
.craft-art .arch:first-child { margin-bottom: 18%; }
.craft-art .arch img { aspect-ratio: 9 / 16; }
.craft-art .arch:last-child img { aspect-ratio: 3 / 4; }
.steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line-soft); }
.steps li:last-child { border-bottom: 1px solid var(--line-soft); }
.step-n { font-family: var(--font-display); font-size: 2.8rem; color: var(--gold); line-height: 1; opacity: .9; }
.steps h3 { margin-bottom: .3em; font-size: 1.55rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- partner + form ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.partner p { color: var(--muted-dark); font-size: 1.12rem; }
.note-box { display: flex; gap: 14px; align-items: flex-start; border: 1px solid rgba(143, 111, 51, .4); background: rgba(111, 184, 29, .12); border-radius: 14px; padding: 16px 18px; font-size: .96rem !important; margin-top: 1.6rem; color: #2f4a12 !important; }
.note-box .ic { color: #3f7a0f; margin-top: 3px; }
.enquiry { background: var(--paper); border: 1px solid rgba(18, 21, 14, .12); border-radius: 22px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 30px 60px -36px rgba(18, 21, 14, .45); }
.enquiry h3 { margin-bottom: 1rem; }
.enquiry label { display: block; margin-bottom: 16px; }
.enquiry label span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 6px; }
html[lang="ar"] .enquiry label span { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; background: #fff; border: 1px solid rgba(18, 21, 14, .2); border-radius: 12px; padding: 13px 14px; color: var(--text-dark); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-err { color: #9c2f22 !important; font-size: .95rem !important; margin: 0 0 10px !important; }

/* ---------- certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.cert { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.cert::after { content: ""; position: absolute; inset-inline-end: -26px; top: -26px; width: 90px; height: 90px; border: 1px solid var(--line); transform: rotate(45deg); opacity: .6; }
.cert-kind { align-self: flex-start; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 12px; font-weight: 500; }
html[lang="ar"] .cert-kind { letter-spacing: 0; font-size: .85rem; text-transform: none; }
.cert h3 { font-size: 1.32rem; margin: 0; }
.cert dl { margin: auto 0 0; display: grid; gap: 8px; }
.cert dl div { display: grid; gap: 1px; }
.cert dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .cert dt { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.cert dd { margin: 0; color: var(--text); font-size: .98rem; word-break: break-word; }
.cert dd[dir="ltr"] { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
html[dir="rtl"] .cert dd[dir="ltr"] { text-align: right; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid rgba(18, 21, 14, .12); border-radius: 16px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--text-dark); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; color: #3f7a0f; transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted-dark); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list li > .ic { width: 46px; height: 46px; padding: 12px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); flex: none; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .contact-list small { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.contact-list a, .contact-list span { color: var(--ivory); font-size: 1.12rem; word-break: break-word; }
.contact-list a:hover { color: var(--gold-2); }
.social-title { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
html[lang="ar"] .social-title { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.social-row, .foot-social { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 12px; color: var(--ivory); font-size: .94rem; transition: background .3s, border-color .3s; }
[dir="rtl"] .social { padding: 8px 12px 8px 18px; }
.social .ic { color: var(--gold); width: 20px; height: 20px; }
.social small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.social span { line-height: 1.25; }
.social:not(.is-plain):hover { background: rgba(111, 184, 29, .12); border-color: var(--gold); }
.contact-side { display: grid; gap: 26px; }
.contact-side .arch { width: min(100%, 360px); margin-inline: auto; }
.contact-side .arch img { aspect-ratio: 3 / 4; object-position: 40% 55%; }
.map { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; filter: grayscale(.35) contrast(1.05) brightness(.92); }
.map-link { position: absolute; inset-inline-end: 12px; bottom: 12px; display: inline-flex; gap: 8px; align-items: center; background: var(--ink); color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .82rem; }
.map-link .ic { width: 16px; height: 16px; }

/* ---------- footer ---------- */
.site-footer { background: #070605; border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.foot-brand img { width: 110px; height: auto; margin-bottom: 14px; background: #fff; padding: 6px; border-radius: 10px; }
.foot-tag { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-2); margin-bottom: 1.2rem; }
.site-footer h4 { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 500; margin-bottom: 1rem; }
html[lang="ar"] .site-footer h4 { letter-spacing: 0; text-transform: none; font-size: 1rem; font-family: var(--font-body); }
.foot-nav a { display: block; color: var(--text); padding: 4px 0; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--gold-2); }
.foot-contact p { margin: 0 0 8px; color: var(--muted); }
.foot-contact a { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--line-soft); margin-top: 48px; padding-block: 26px 40px; display: grid; gap: 10px; }
.foot-bottom p { margin: 0; font-size: .88rem; color: var(--muted); max-width: 90ch; }
.foot-bottom .copy { color: #8b816d; }
.wa-float { position: fixed; z-index: 70; inset-inline-end: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #a6dc5a, #6fb81d 55%, #4f9212); color: #0a1203; box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- products page ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(800px 400px at 80% 0%, rgba(111, 184, 29, .15), transparent 60%), var(--ink); padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.crumbs { display: flex; gap: 10px; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
html[lang="ar"] .crumbs { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.crumbs a:hover { color: var(--gold-2); }
.nf { min-height: 60vh; display: grid; align-items: center; }
.toolbar { display: grid; gap: 18px; margin-bottom: 18px; }
.search { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid rgba(18, 21, 14, .18); border-radius: 999px; padding: 4px 20px; color: var(--muted-dark); max-width: 520px; }
.search input { flex: 1; border: 0; background: transparent; outline: 0; padding: 12px 0; color: var(--text-dark); min-width: 0; }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(111, 184, 29, .25); }
.chips-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip { flex: none; background: transparent; border: 1px solid rgba(18, 21, 14, .28); color: var(--text-dark); border-radius: 999px; padding: 9px 20px; font-size: .88rem; cursor: pointer; transition: all .25s; white-space: nowrap; }
.chip:hover { border-color: var(--gold-3); background: rgba(111, 184, 29, .16); }
.chip.is-active { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.count { color: var(--muted-dark); font-size: .92rem; margin: 6px 0 24px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.pcard { background: var(--paper); border: 1px solid rgba(18, 21, 14, .1); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(18, 21, 14, .55); }
.pcard[hidden] { display: none; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--ink); color: var(--gold-2); border: 1px solid var(--gold); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 500; }
html[lang="ar"] .badge { letter-spacing: 0; font-size: .8rem; text-transform: none; }
.badge-promo { background: #7a2a20; border-color: #d98a7e; color: #ffe6df; }
.badge-baru { background: #28411a; border-color: #8fc44a; color: #e7f7cf; }
.badge-inline { position: static; margin-inline-start: 8px; vertical-align: middle; }
.pcard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-cat { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #3f7a0f; margin: 0; font-weight: 500; }
html[lang="ar"] .pcard-cat { letter-spacing: 0; font-size: .88rem; text-transform: none; }
.pcard h3 { font-size: 1.5rem; margin: 0; color: var(--text-dark); }
.pcard h3 a:hover { color: #3f7a0f; }
.pcard-desc { margin: 0; color: var(--muted-dark); font-size: .96rem; line-height: 1.6; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(18, 21, 14, .22); border-radius: 999px; padding: 5px 13px; font-size: .84rem; color: var(--text-dark); background: rgba(111, 184, 29, .1); line-height: 1.4; }
.chips-sm { margin-top: auto; padding-top: 6px; }
.chips-sm li { font-size: .76rem; padding: 3px 10px; }
.empty { text-align: center; color: var(--muted-dark); padding: 60px 0; }

/* ---------- product modal ---------- */
.pmodal { padding: 0; border: 0; background: transparent; width: min(1060px, 94vw); max-width: none; max-height: 94vh; color: var(--text-dark); overflow: visible; }
.pmodal::backdrop { background: rgba(5, 4, 3, .78); backdrop-filter: blur(6px); }
.pm-shell { position: relative; background: var(--cream); border-radius: 24px; max-height: 92vh; overflow: auto; padding: clamp(18px, 3vw, 36px); border: 1px solid var(--gold); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9); animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.pm-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(18, 21, 14, .3); background: var(--paper); color: var(--text-dark); display: grid; place-items: center; cursor: pointer; }
.pm-close:hover { background: var(--ink); color: var(--gold-2); }
.pm-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(22px, 4vw, 48px); align-items: start; }
.pm-main { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream-2); }
.pm-main img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pm-thumbs button { flex: none; width: 66px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--cream-2); opacity: .75; }
.pm-thumbs button.is-active { border-color: var(--gold-3); opacity: 1; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-info h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--text-dark); margin: .15em 0 .4em; padding-inline-end: 40px; }
.pm-desc { color: #2a3022; font-size: 1.04rem; }
.pm-block { margin: 20px 0; }
.pm-block h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: #3f7a0f; margin-bottom: 10px; font-weight: 500; }
html[lang="ar"] .pm-block h4 { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.pm-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-dark); margin: 22px 0 6px; font-weight: 600; }
.pm-note { font-size: .9rem; color: #4a5240; border-inline-start: 2px solid var(--gold); padding-inline-start: 14px; margin: 14px 0; }
.pm-avail { font-size: .84rem; color: var(--muted-dark); }
.pm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { display: none; }
  * { animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-cta span { display: none; }
  .hdr-cta { padding: 10px 12px; }
}
@media (max-width: 920px) {
  .hero-grid, .about-grid, .oil-grid, .craft-grid, .partner-grid, .contact-grid, .pm-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .oil-art { order: -1; }
  .hero-art .arch-xl { margin-inline: auto; width: 82%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .craft-art { max-width: 520px; margin-inline: auto; }
  .pm-main { aspect-ratio: 1 / 1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hdr { gap: 8px; }
  .hdr-cta { display: none; }
  .hdr-end { gap: 8px; }
  .brand-text i { display: none; }
  .brand-text b { font-size: .92rem; letter-spacing: .06em; }
  .brand-mark { height: 38px; }
  .brand { gap: 8px; min-width: 0; }
  .hdr { min-height: 66px; }
  .brand-text b { font-size: 1.2rem; letter-spacing: .16em; }
  .brand-mark { height: 38px; }
  .langs a { min-width: 32px; padding: 5px 7px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-body { padding: 14px; }
  .cat-body b { font-size: 1.15rem; }
  .cat-body small { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard-body { padding: 14px 14px 18px; }
  .pcard h3 { font-size: 1.2rem; }
  .pcard-desc { display: none; }
  .badge { font-size: .6rem; padding: 4px 9px; top: 10px; inset-inline-start: 10px; }
  .steps li { grid-template-columns: 52px 1fr; }
  .step-n { font-size: 2.2rem; }
  .facts b { font-size: 2.3rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { padding: 14px 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .pm-shell { border-radius: 18px; }
  .pm-info h2 { padding-inline-end: 0; margin-top: .6em; }
  .map iframe { height: 230px; }
}

/* header fit fixes */
@media (min-width: 0px) { .hdr-cta span { display: none; } .hdr-cta { padding: 10px 12px; } .nav { gap: 14px; } .nav a { font-size: .74rem; letter-spacing: .1em; } }
@media (max-width: 600px) { .brand-text b { font-size: .8rem; letter-spacing: .04em; } .langs a { min-width: 28px; padding: 5px 6px; font-size: .68rem; } .burger { width: 40px; height: 40px; } }
.brand-text b { font-size: 1.3rem; letter-spacing: .14em; }
@media (min-width: 1321px) { .nav { gap: 18px; } }

.social .soc-l { display: block; }
