/* ==========================================================================
   PARAMA COFFEE — Design System
   Bilingual (AR default / EN toggle), fixed-video sections, glass cards,
   hero phrase rotator, scroll reveals. White base / purple primary / gold
   accents. Logical properties throughout so RTL/LTR flip automatically
   with [dir].
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  /* --- Brand --- */
  --plum:        #6A265F;
  --plum-deep:   #3E1230;
  --plum-glow:   rgba(106, 38, 95, 0.35);
  --gold:        #C69948;
  --gold-light:  #E7CE9C;
  --gold-dim:    #8A6B3B;

  /* --- Neutrals (espresso scale) --- */
  --ink:         #120C09;
  --espresso:    #1B120D;
  --espresso-2:  #241811;
  --cream:       #F7F1E6;
  --cream-dim:   #EAE0CE;
  --paper:       #FFFCF7;
  --text-soft:   rgba(247, 241, 230, 0.82);
  --text-mute:   rgba(247, 241, 230, 0.55);
  --ink-soft:    rgba(18, 12, 9, 0.78);
  --ink-mute:    rgba(18, 12, 9, 0.52);

  /* --- Type --- */
  --font-ar-display: 'Tajawal', sans-serif;
  --font-ar-body:    'IBM Plex Sans Arabic', sans-serif;
  --font-en-display: 'Outfit', sans-serif;
  --font-en-body:    'IBM Plex Sans', sans-serif;
  --font-label:      'Jost', sans-serif;

  /* --- Rhythm --- */
  --container: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,.9,.28,1);
}

html[dir="rtl"] body { font-family: var(--font-ar-body); }
html[dir="ltr"] body { font-family: var(--font-en-body); }

body {
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: var(--font-ar-display); }
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] h4 { font-family: var(--font-en-display); font-weight: 600; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* Labels / eyebrows use Jost tracked-out for EN, Tajawal medium for AR */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 12px;
}
html[dir="ltr"] .eyebrow { font-family: var(--font-label); }
html[dir="rtl"] .eyebrow { font-family: var(--font-ar-display); font-weight: 700; letter-spacing: 0; font-size: .92rem; text-transform: none; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold-dim); }
html[dir="rtl"] .eyebrow::before { order: 2; }

/* i18n text-swap: elements ship both [data-ar] and [data-en]; JS writes the
   active string into textContent based on <html lang>. See main.js */
[data-ar], [data-en] { }

/* ==========================================================================
   Skip link / focus
   ========================================================================== */
.skip-link {
  position: fixed; inset-inline-start: 12px; top: -60px; z-index: 999;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  border-radius: 8px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ==========================================================================
   Header — white base, purple text, gold touches
   ========================================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 500;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(106,38,95,.08);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 252, 247, 0.98);
  padding-block: 11px;
  box-shadow: 0 4px 24px rgba(18,12,9,.1);
}

.brand-mark { display: flex; align-items: center; height: 48px; flex: 0 0 auto; }
.brand-mark img { height: 100%; width: auto; }

.site-nav {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
}
.site-nav a {
  font-size: .92rem; color: var(--plum); opacity: .78; position: relative; padding-block: 4px;
}
html[dir="ltr"] .site-nav a { font-family: var(--font-label); font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; }
html[dir="rtl"] .site-nav a { font-family: var(--font-ar-display); font-weight: 500; }
.site-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.site-nav a:hover, .site-nav a.is-current { opacity: 1; }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.lang-toggle {
  display: flex; align-items: center; background: rgba(106,38,95,.05);
  border: 1px solid rgba(106,38,95,.22); border-radius: 999px; padding: 3px;
  font-family: var(--font-label); font-size: .72rem; letter-spacing: 1px;
}
.lang-toggle button {
  border: none; background: transparent; color: var(--ink-mute);
  padding: 6px 13px; border-radius: 999px; transition: all .25s var(--ease);
}
.lang-toggle button.is-active { background: var(--plum); color: #fff; font-weight: 600; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--plum); color: #fff; font-weight: 600;
  padding: 10px 20px; border-radius: 999px; font-size: .88rem;
  border: 1px solid rgba(198,153,72,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 6px 20px rgba(106,38,95,.22);
}
html[dir="rtl"] .btn-wa { font-family: var(--font-ar-display); font-weight: 700; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(106,38,95,.32); background: var(--plum-deep); }
.btn-wa svg { width: 16px; height: 16px; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--plum); border-radius: 2px; }

/* ==========================================================================
   Buttons (general)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
  border-radius: 999px; font-size: .95rem; font-weight: 600; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
html[dir="rtl"] .btn { font-family: var(--font-ar-display); }
html[dir="ltr"] .btn { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; }
.btn-gold {
  background: var(--plum); color: #fff; border-color: rgba(198,153,72,.4);
  box-shadow: 0 8px 24px rgba(106,38,95,.26);
}
.btn-gold:hover { transform: translateY(-2px); background: var(--plum-deep); box-shadow: 0 12px 30px rgba(106,38,95,.36); }
.btn-outline { border-color: rgba(106,38,95,.35); color: var(--plum); }
.btn-outline:hover { border-color: var(--plum); background: rgba(106,38,95,.06); color: var(--plum-deep); transform: translateY(-2px); }
.btn-ghost-light { color: var(--cream); border-color: rgba(247,241,230,.35); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn svg { width: 17px; height: 17px; }

/* ==========================================================================
   Fixed video background sections (poster fallback until real .mp4 lands)
   ========================================================================== */
.video-bg-section { position: relative; isolation: isolate; }
.video-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background-position: center; background-size: cover;
}
.video-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-bg .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,12,9,.55) 0%, rgba(18,12,9,.72) 55%, rgba(18,12,9,.92) 100%);
}
.video-bg .overlay-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 100%);
}
/* stack boundary: turns off the fixed layer once this section's content ends */
.video-bg-end { height: 1px; }

.on-video { color: var(--cream); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 120px var(--pad) 80px;
  position: relative;
}
.hero-kicker {
  font-family: var(--font-label); font-size: .76rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px; opacity: .9;
}
html[dir="rtl"] .hero-kicker { font-family: var(--font-ar-display); letter-spacing: 0; font-size: .95rem; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem); color: var(--cream); line-height: 1.08; margin-bottom: 22px;
  display: flex; flex-direction: column; align-items: center; gap: clamp(4px, 1vw, 10px);
  width: 100%; max-width: 100%;
}
.hero h1 em { font-style: normal; color: var(--gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Rotating phrase — one word visible at a time, fixed-height box so nothing
   else on the page shifts while it cycles (see main.js §4). */
.hero h1 .rotator {
  position: relative; display: block; width: 100%;
  height: 1.2em; overflow: hidden;
}
.hero h1 .rotator-inner { display: block; position: relative; width: 100%; height: 100%; }
.hero h1 .rotator-word {
  position: absolute; left: 0; right: 0; top: 0; width: 100%;
  display: block; text-align: center;
  color: var(--gold);
  opacity: 0; transform: translateY(16px); filter: blur(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease);
  pointer-events: none; white-space: nowrap;
}
.hero h1 .rotator-word.is-active { opacity: 1; transform: translateY(0); filter: blur(0); }
.hero h1 .rotator-word.is-leaving { opacity: 0; transform: translateY(-16px); filter: blur(6px); }
.hero-sub {
  max-width: 620px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-soft); margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-mute); font-family: var(--font-label); font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
html[dir="rtl"] .scroll-cue { font-family: var(--font-ar-body); letter-spacing: 0; }
.scroll-cue svg { width: 18px; height: 18px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0);} 50% { transform: translate(-50%, 8px);} }

/* ==========================================================================
   Glass cards (float over fixed video)
   ========================================================================== */
.glass-card {
  background: rgba(247, 241, 230, 0.95);
  border: 1px solid rgba(198,153,72,.25);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  max-width: 880px; margin-inline: auto;
  position: relative; isolation: isolate; /* own stacking context — see .section comment */
}
.glass-card--dark {
  background: rgba(27, 18, 13, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(198,153,72,.22);
  color: var(--cream);
}
.section-spacer { height: clamp(60px, 10vh, 140px); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Story / About sections (light, on cream)
   ========================================================================== */
/* isolation: isolate makes every section its own stacking context so that
   an EARLIER section's fixed, viewport-spanning video layer (z-index -1
   inside its own isolated context) can never out-rank a LATER section's
   plain, non-positioned content in paint order — without this, CSS's
   stacking rules let a positioned ancestor's stacking context beat later
   unpositioned siblings regardless of source order, which showed up as
   the hero video painting over the footer. No visual/layout side effect. */
.section { padding: clamp(70px, 11vw, 140px) 0; isolation: isolate; }
.section-light { background: var(--cream); color: var(--ink); }
.section-dark { background: var(--plum-deep); color: var(--cream); }
.section-head { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { margin-top: 16px; color: var(--ink-mute); font-size: 1.05rem; }
.section-dark .section-head p { color: var(--text-mute); }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-card { text-align: center; padding: 8px; }
.story-card .story-figure {
  aspect-ratio: 8/5; border-radius: var(--radius-sm); margin-bottom: 22px; overflow: hidden;
  background: linear-gradient(155deg, var(--espresso-2), var(--espresso));
  position: relative; display: flex; align-items: center; justify-content: center;
}
.story-card .story-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-card .story-figure svg { width: 46px; height: 46px; color: var(--gold); opacity: .7; position: relative; }
.story-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.story-card p { color: var(--ink-mute); font-size: .95rem; }
.section-dark .story-card p { color: var(--text-mute); }

/* ==========================================================================
   Product cards grid (home)
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(198,153,72,.18);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(18,12,9,.16); }
.product-card-media {
  aspect-ratio: 1/1; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, var(--espresso-2), var(--espresso));
  display: flex; align-items: center; justify-content: center;
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-media .origin-icon { width: 54px; height: 54px; color: var(--gold); opacity: .55; }
.product-card-tag {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: rgba(18,12,9,.55); backdrop-filter: blur(6px);
  color: var(--gold-light); font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; font-family: var(--font-label);
}
html[dir="rtl"] .product-card-tag { font-family: var(--font-ar-body); letter-spacing: 0; text-transform: none; }
.product-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-body h3 { font-size: 1.25rem; color: var(--plum); }
.product-card-body p { color: var(--ink-mute); font-size: .9rem; flex: 1; }
.product-card-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.product-card-actions .btn { padding: 10px 18px; font-size: .78rem; }
.product-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Origin icon row / feature strip
   ========================================================================== */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-item { text-align: center; padding: 22px 10px; }
.feature-item svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
.feature-item h4 { font-size: 1rem; margin-bottom: 6px; }
.feature-item p { font-size: .84rem; color: var(--ink-mute); }
.section-dark .feature-item p { color: var(--text-mute); }

/* ==========================================================================
   Product detail page
   ========================================================================== */
.pd-hero { min-height: 92svh; display: flex; align-items: flex-end; padding: 140px var(--pad) 80px; }
.pd-hero-inner { max-width: 640px; }
.pd-hero .eyebrow { color: var(--gold-light); }
.pd-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--cream); margin-bottom: 18px; }
.pd-hero p { color: var(--text-soft); font-size: 1.05rem; max-width: 520px; }

.pd-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pd-note-pill {
  border: 1px solid rgba(198,153,72,.4); color: var(--gold-light);
  padding: 7px 16px; border-radius: 999px; font-size: .8rem;
}
html[dir="rtl"] .pd-note-pill { font-family: var(--font-ar-body); }

.pd-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pd-detail-media {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--espresso-2), var(--espresso));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.pd-detail-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-detail-media svg { width: 70px; height: 70px; color: var(--gold); opacity: .5; position: relative; }
.pd-detail-text h2 { font-size: 1.9rem; margin-bottom: 18px; }
.pd-detail-text p { color: var(--ink-mute); margin-bottom: 16px; }

.pd-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.pd-spec { border-top: 1px solid rgba(198,153,72,.3); padding-top: 12px; }
.pd-spec span { display: block; font-family: var(--font-label); font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 6px; }
html[dir="rtl"] .pd-spec span { font-family: var(--font-ar-body); letter-spacing: 0; text-transform: none; font-weight: 600; }
.pd-spec strong { font-size: 1rem; font-weight: 600; }

.pd-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }

.cross-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cross-link {
  display: block; padding: 22px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid rgba(198,153,72,.18);
  transition: all .3s var(--ease);
}
.cross-link:hover { border-color: var(--gold); transform: translateY(-4px); }
.cross-link span { display: block; font-family: var(--font-label); font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 6px; }
html[dir="rtl"] .cross-link span { font-family: var(--font-ar-body); letter-spacing: 0; text-transform: none; }
.cross-link strong { font-size: 1.1rem; }

/* ==========================================================================
   Counters removed by design choice (no fabricated stats) — kept minimal.
   Contact / form
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-card {
  background: var(--paper); border: 1px solid rgba(198,153,72,.2); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
}
.contact-line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(198,153,72,.18); }
.contact-line:last-child { border-bottom: none; }
.contact-line svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; }
.contact-line span { font-family: var(--font-label); font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dim); display: block; }
html[dir="rtl"] .contact-line span { font-family: var(--font-ar-body); letter-spacing: 0; text-transform: none; }
.contact-line strong { font-size: 1rem; font-weight: 600; }

.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(198,153,72,.35); color: var(--gold-dim); transition: all .25s var(--ease);
}
.social-row a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; margin-bottom: 8px; color: var(--ink-mute); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(198,153,72,.35);
  background: var(--cream); font: inherit; color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--paper); }
/* honeypot: hidden without an off-canvas offset (a very large negative
   left/top offset can trigger a compositing bug in some headless/older
   renderers) */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.form-status { margin-top: 14px; font-size: .88rem; }
.form-status.is-ok { color: #3f7d4f; }
.form-status.is-err { color: #a3392f; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--plum-deep); color: var(--text-mute); padding: 70px 0 30px; isolation: isolate; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(198,153,72,.16); }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; max-width: 280px; color: var(--text-mute); }
.footer-col h4 { font-family: var(--font-label); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
html[dir="rtl"] .footer-col h4 { font-family: var(--font-ar-display); letter-spacing: 0; text-transform: none; font-size: .95rem; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: .9rem; color: var(--text-mute); transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 14px; font-size: .82rem; }
.footer-bottom .social-row a { width: 36px; height: 36px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .nav-burger { display: flex; }
  /* the mobile drawer already carries its own WhatsApp order button, so the
     header pill just crowds/overflows a narrow header — drop it here */
  .header-actions .btn-wa { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .pd-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cross-links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .story-grid, .feature-strip, .pd-specs { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }

  /* Product cards: swipeable slider instead of a tall stack, so browsing
     four coffees doesn't mean scrolling through a long vertical column. */
  .product-grid {
    grid-template-columns: unset; display: flex; flex-wrap: nowrap;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card { flex: 0 0 78%; scroll-snap-align: start; }

  /* Order Now + Details side by side, so each card stays short */
  .product-card-actions { flex-wrap: nowrap; }
  .product-card-actions .btn { flex: 1 1 0; padding: 10px 6px; font-size: .7rem; justify-content: center; }

  /* Footer: brand+social full width, Explore/Our Coffee paired, Contact
     full width below — instead of one long single-column stack. */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; }
  .footer-brand .social-row { justify-content: center; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .hero h1 .rotator-word { transition: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 600; background: rgba(62,18,48,.98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav a { font-size: 1.3rem; color: var(--cream); }
html[dir="rtl"] .mobile-nav a { font-family: var(--font-ar-display); }
.mobile-nav-close { position: absolute; top: 24px; inset-inline-end: 24px; background: none; border: none; color: var(--cream); }
.mobile-nav-close svg { width: 26px; height: 26px; }
