/* =========================================================================
   Loqma.sa — production stylesheet
   Brand: teal #2f8a85 · coral #d85c45 · cream #fbf8f2 · ink #1f2421
   ========================================================================= */

:root {
  --color-ink: #1f2421;
  --color-ink-2: #4a5350;
  --color-ink-3: #7f867f;
  --color-cream: #e9f4ee;
  --color-cream-2: #d6e9df;
  --color-line: #c4ddd0;
  --color-teal: #2f8a85;
  --color-teal-dk: #21655f;
  --color-coral: #d85c45;
  --color-coral-dk: #b94835;
  --color-paper: #ffffff;

  --font-display: "Bricolage Grotesque", "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-1: 0 1px 2px rgba(31, 36, 33, 0.04), 0 2px 8px rgba(31, 36, 33, 0.04);
  --shadow-2: 0 8px 28px rgba(31, 36, 33, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47, 138, 133, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-cream);
  font-weight: 600;
  font-size: 14px;
  transform: translateY(-140%);
  transition: transform .15s ease;
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); }

section[id], footer[id] { scroll-margin-top: 92px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
p  { margin: 0; text-wrap: pretty; }
small { color: var(--color-ink-3); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-coral);
}
.kicker::before, .kicker::after {
  content: ""; width: 26px; height: 1.5px; background: currentColor; display: inline-block;
}
.kicker::after { display: none; } /* default: line only on the left */
.kicker.center::after { display: inline-block; }

/* ===== Buttons =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-coral); color: var(--color-paper);
}
.btn-primary:hover { background: var(--color-coral-dk); transform: translateY(-1px); }
.btn-secondary {
  background: var(--color-ink); color: var(--color-paper);
}
.btn-secondary:hover { background: #000; transform: translateY(-1px); }
.btn-outline {
  border-color: var(--color-ink); color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: var(--color-paper); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn .arrow { font-size: 14px; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Header / Nav ====================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(233, 244, 238, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--color-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--color-teal);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.brand-mark {
  width: 40px; height: 40px;
  background: var(--color-teal);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 15px; font-weight: 500;
}
.nav-links a { color: var(--color-ink); position: relative; }
.nav-links a:hover, .nav-links a.is-active { color: var(--color-teal); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--color-coral); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--color-ink-2);
  background: transparent;
}
.lang-toggle:hover { border-color: var(--color-ink); color: var(--color-ink); }
.nav-toggle {
  display: none;
  background: transparent; border: 0;
  padding: 8px; border-radius: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ===== Hero ============================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--color-cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(140% 80% at 100% 0%, #f6c5b8 0%, transparent 50%),
    radial-gradient(120% 90% at 0% 100%, #b8dfdb 0%, transparent 55%),
    linear-gradient(160deg, var(--color-teal) 0%, var(--color-teal-dk) 100%);
}
.hero-bg img,
.hero-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  pointer-events: none;
}
.hero-bg .hero-video {
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.06) brightness(0.86);
}
.hero-bg .photo-slot {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(31,36,33,0.20) 0%, transparent 30%, rgba(31,36,33,0.55) 75%, rgba(31,36,33,0.85) 100%),
    linear-gradient(90deg, rgba(31,36,33,0.45) 0%, transparent 55%);
}
.hero-inner {
  position: relative;
  width: 100%;
  padding: 140px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: 48px;
  align-items: end;
}
.hero-copy { max-width: 720px; }
.hero-copy .kicker { color: #f6c5b8; }
.hero-copy h1 {
  margin-top: 18px;
  color: var(--color-cream);
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-copy h1 .accent { color: #f6c5b8; font-style: italic; font-weight: 500; }
.hero-copy .lede { margin-top: 22px; font-size: 19px; color: rgba(251,248,242,0.92); max-width: 56ch; }
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas .btn-secondary { background: var(--color-coral); border-color: var(--color-coral); color: var(--color-paper); }
.hero-ctas .btn-secondary:hover { background: var(--color-coral-dk); }
.hero-ctas .btn-outline { border-color: rgba(251,248,242,0.6); color: var(--color-cream); }
.hero-ctas .btn-outline:hover { background: var(--color-cream); color: var(--color-ink); border-color: var(--color-cream); }
.hero-play {
  display: inline-flex; align-items: center; gap: 14px;
  background: transparent; border: 0;
  color: var(--color-cream);
  font: inherit; font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0; cursor: pointer;
}
.hero-play .play-dot {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-coral);
  box-shadow: var(--shadow-2);
  transition: transform .2s, background .2s;
}
.hero-play:hover .play-dot { transform: scale(1.06); background: var(--color-cream); }
.hero-play .play-dot svg { width: 22px; height: 22px; margin-left: 3px; }
.hero-play .play-label { line-height: 1.3; text-align: left; }
.hero-play .play-label small { display: block; color: rgba(251,248,242,0.7); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }

/* ===== Trust strip ======================================================= */
.trust {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-paper);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.trust-cell { text-align: center; padding: 6px 8px; }
.trust-cell .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--color-teal);
  line-height: 1;
  display: block;
}
.trust-cell .label {
  margin-top: 6px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-ink-3);
}

/* ===== Section wrapper =================================================== */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::after { display: inline-block; }
.section-head h2 { margin-top: 14px; }
.section-head .sub { color: var(--color-ink-2); margin-top: 14px; font-size: 17.5px; }
.section-cream { background: var(--color-cream-2); }
.section-ink { background: var(--color-ink); color: var(--color-cream); }
.section-ink h2, .section-ink h3 { color: var(--color-cream); }
.section-ink .sub { color: rgba(251,248,242,0.7); }

/* ===== Product ranges (3-up) ============================================ */
.ranges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.range-card {
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--color-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.range-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.range-card .media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #fff 0%, var(--color-cream-2) 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink-3);
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase;
}
.range-card .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.range-card .media .media-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 36, 33, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(251, 248, 242, 0.95);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.range-card .media.teal {
  background: linear-gradient(160deg, #b8dfdb 0%, var(--color-teal) 100%);
  color: rgba(255,255,255,0.85);
}
.range-card .media.coral {
  background: linear-gradient(160deg, #f6c5b8 0%, var(--color-coral) 100%);
  color: rgba(255,255,255,0.85);
}
.range-card .media.cream {
  background: linear-gradient(160deg, #fdf2dc 0%, #e9c97a 100%);
  color: rgba(31,36,33,0.6);
}
.range-card .body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.range-card .row-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.range-card .row-top .tag {
  font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  background: var(--color-cream-2);
  color: var(--color-teal);
  letter-spacing: 0.04em;
}
.range-card p { color: var(--color-ink-2); font-size: 15.5px; }
.range-card .more {
  margin-top: auto;
  color: var(--color-coral);
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px;
}
.range-card .more:hover { color: var(--color-coral-dk); }

/* ===== Product detail page =============================================== */
.crumbs { font-size: 14px; color: var(--color-ink-3); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--color-ink-3); }
.crumbs a:hover { color: var(--color-teal); }
.crumbs .sep { color: var(--color-line); }
.crumbs .current { color: var(--color-ink); font-weight: 600; }

.product-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.product-figure { background: var(--color-paper); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-1); display: flex; align-items: center; justify-content: center; }
.product-figure img { margin: 0 auto; max-height: 360px; width: auto; }
.product-copy h1 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 46px); line-height: 1.05; margin: 10px 0 0; }
.product-copy .lede { margin-top: 18px; color: var(--color-ink-2); font-size: 18px; }
.product-meta { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.product-meta .pill { background: var(--color-cream-2); color: var(--color-ink-2); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; }
.product-meta .pill strong { color: var(--color-teal); }

.flavour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.flavour-card {
  display: flex; gap: 22px;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.flavour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.flavour-figure {
  flex: 0 0 132px; align-self: center;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 12px; overflow: visible; position: relative; cursor: zoom-in;
}
.flavour-figure.teal, .flavour-figure.coral, .flavour-figure.cream { background: var(--color-paper); }
.flavour-figure img {
  max-height: 150px; width: auto; margin: 0;
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
[dir="rtl"] .flavour-figure img { transform-origin: right center; }
@media (hover: hover) and (pointer: fine) {
  .flavour-figure:hover { z-index: 7; }
  .flavour-figure:hover img { transform: scale(4); box-shadow: var(--shadow-2); }
}
.flavour-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.flavour-tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(47, 138, 133, 0.10);
  border-radius: 999px; padding: 4px 11px;
}
.flavour-body h3 { font-family: var(--font-display); font-size: 21px; margin: 2px 0 0; line-height: 1.15; }
.flavour-sub { font-weight: 600; color: var(--color-ink); font-size: 13.5px; margin: 0; }
.flavour-desc { color: var(--color-ink-2); font-size: 14.5px; margin: 4px 0 0; }
.comp { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.comp li { background: var(--color-cream-2); color: var(--color-ink-2); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; }

/* flavour image gallery + hover-zoom */
.flavour-gallery { margin-top: 16px; display: flex; gap: 10px; align-items: flex-end; }
.flavour-thumb {
  width: 74px; height: 74px; flex: 0 0 auto;
  border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  background: var(--color-paper); overflow: hidden; cursor: zoom-in; position: relative;
  transform-origin: center bottom;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.flavour-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
@media (hover: hover) and (pointer: fine) {
  .flavour-thumb:hover, .flavour-thumb:focus-visible {
    transform: scale(4); box-shadow: var(--shadow-2); border-color: var(--color-teal); z-index: 6; outline: none;
  }
}
.flavour-thumb:focus-visible { border-color: var(--color-teal); outline: 2px solid var(--color-teal); outline-offset: 2px; }

/* ===== Media center (partner downloads) ========================= */
.media-center { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; }
.media-figure { display: flex; justify-content: center; }
.media-figure img { max-height: 520px; width: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.media-copy .lede { margin-top: 16px; color: var(--color-ink-2); font-size: 18px; max-width: 52ch; }
.media-links { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.drive-link {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--color-paper);
  border: 1px solid var(--color-line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.drive-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--color-teal); }
.drive-ico { width: 42px; height: 42px; flex: 0 0 auto; }
.drive-link .txt { display: flex; flex-direction: column; gap: 2px; }
.drive-link .txt strong { font-size: 16px; color: var(--color-ink); font-weight: 600; }
.drive-link .txt small { font-size: 13px; color: var(--color-ink-3); }
.drive-link .go { margin-inline-start: auto; color: var(--color-teal); font-size: 18px; flex: 0 0 auto; }

@media (max-width: 820px) { .media-center { grid-template-columns: 1fr; gap: 32px; } .media-figure img { max-height: 380px; } }

/* ===== E-store feature ========================================= */
.estore {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: var(--color-paper); border: 1px solid var(--color-line);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-2);
}
.estore-copy { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.estore-copy h2 { margin: 6px 0 0; }
.estore-copy .lede { color: var(--color-ink-2); font-size: 18px; margin-top: 14px; max-width: 52ch; }
.estore-cta { margin-top: 28px; }
.estore-cta .ext { font-size: 15px; margin-inline-start: 6px; display: inline-block; }
.estore-figure { display: block; overflow: hidden; }
.estore-figure img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; transition: transform .45s ease; }
.estore-figure:hover img { transform: scale(1.04); }
@media (max-width: 820px) {
  .estore { grid-template-columns: 1fr; }
  .estore-figure { order: -1; }
  .estore-figure img { min-height: 220px; max-height: 300px; }
  .estore-copy { padding: 34px; }
}

@media (max-width: 980px) { .flavour-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .product-intro { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) {
  .flavour-card { flex-direction: column; }
  .flavour-figure { flex-basis: auto; align-self: stretch; }
  .flavour-figure img { max-height: 220px; }
  .flavour-gallery { gap: 12px; }
  .flavour-thumb { width: 88px; height: 88px; }
}

/* ===== Image lightbox (tap to view, great on mobile) =========== */
.flavour-figure img, .flavour-thumb, .product-figure img { -webkit-tap-highlight-color: transparent; }
.img-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center;
  background: rgba(20, 24, 21, 0.86); padding: 20px;
  cursor: zoom-out; -webkit-tap-highlight-color: transparent;
  opacity: 0; transition: opacity .2s ease;
}
.img-lightbox.open { display: flex; opacity: 1; }
.img-lightbox img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  background: var(--color-paper); border-radius: 14px; padding: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  animation: lb-in .22s ease;
}
@keyframes lb-in { from { transform: scale(.94); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.img-lightbox .lb-close {
  position: absolute; top: 14px; right: 16px;
  width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.14); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.img-lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.28); }
[dir="rtl"] .img-lightbox .lb-close { right: auto; left: 16px; }
@media (prefers-reduced-motion: reduce) { .img-lightbox, .img-lightbox img { transition: none; animation: none; } }

/* ===== Story (split + accordion) ========================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
.story-copy { max-width: 820px; }
.story-copy p { color: var(--color-ink-2); margin-top: 20px; font-size: 17px; max-width: 70ch; }
.story-copy p + p { margin-top: 14px; }
.story-copy .actions { margin-top: 28px; }
.story-acc { display: flex; flex-direction: column; }
.story-acc details {
  border-top: 1px solid var(--color-line);
  padding: 22px 0;
}
.story-acc details:last-child { border-bottom: 1px solid var(--color-line); }
.story-acc summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
}
.story-acc summary::-webkit-details-marker { display: none; }
.story-acc summary .ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink-2);
  flex: 0 0 32px;
  transition: transform .2s, border-color .2s, color .2s;
}
.story-acc details[open] summary .ico { background: var(--color-coral); border-color: var(--color-coral); color: var(--color-paper); transform: rotate(45deg); }
.story-acc .panel { color: var(--color-ink-2); margin-top: 14px; font-size: 16px; max-width: 60ch; }

/* ===== Promise =========================================================== */
.promise {
  text-align: center;
  padding: 120px 0;
  position: relative;
}
.promise blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  max-width: 22ch;
  margin: 24px auto 0;
  letter-spacing: -0.01em;
}
.promise blockquote .accent { color: var(--color-coral); font-style: italic; }
.promise .sig { margin-top: 24px; color: rgba(251,248,242,0.7); font-size: 14px; }

/* ===== FAQ =============================================================== */
.faq { max-width: 1060px; margin-inline: auto; }
.rich { display: flex; flex-direction: column; gap: 16px; }
.rich h3 { margin-top: 10px; }
.rich h4 { margin: 8px 0 0; font-size: 18px; }
.rich ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.rich li { color: var(--color-ink-2); }
.rich strong { color: var(--color-ink); }
html[dir="rtl"] .rich ul { padding-left: 0; padding-right: 1.2em; }

.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-ink);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: rgba(47, 138, 133, 0.06); }
.acc .acc-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-2);
  flex: 0 0 32px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  position: relative;
}
.acc .acc-ico::before,
.acc .acc-ico::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.acc .acc-ico::after { transform: rotate(90deg); }
.acc[open] > summary .acc-ico { background: var(--color-coral); border-color: var(--color-coral); color: var(--color-paper); transform: rotate(45deg); }
.acc-content { height: 0; overflow: hidden; }
.acc[open] > .acc-content { height: auto; }
.acc-inner { padding: 0 20px 18px; color: var(--color-ink-2); }
.acc-inner p { margin-top: 12px; }
.acc-inner p:first-child { margin-top: 0; }
.acc-inner ul { margin: 12px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.acc-inner strong { color: var(--color-ink); }
.acc-inner a { color: var(--color-teal); font-weight: 600; }
.acc-inner a:hover { color: var(--color-teal-dk); }
.acc-nested { margin-top: 12px; }
.acc-nested > summary { font-size: 18px; padding: 14px 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em; }
.acc-nested .acc-inner { padding: 0 16px 16px; }
html[dir="rtl"] .acc-inner ul { padding-left: 0; padding-right: 1.2em; }

/* ===== Contact =========================================================== */
.contact-card {
  background: var(--color-paper);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--color-line);
}
.contact-card h2 { margin-top: 14px; }
.contact-card .lede { color: var(--color-ink-2); margin-top: 14px; max-width: 38ch; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--color-cream);
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font: inherit;
  color: var(--color-ink);
  transition: border-color .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-teal);
}
.contact-form button { margin-top: 6px; align-self: flex-start; }
.form-note {
  margin-top: 8px;
  color: var(--color-ink-2);
  font-size: 14px;
}

/* ===== Footer ============================================================ */
.site-footer {
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid .brand { color: var(--color-cream); }
.footer-grid .brand-mark { background: var(--color-cream); color: var(--color-teal); }
.footer-grid .brand-logo { height: 34px; }
.footer-grid p { color: rgba(251,248,242,0.65); margin-top: 18px; font-size: 15px; max-width: 36ch; }
.footer-grid h4 {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a { color: rgba(251,248,242,0.85); font-size: 15px; }
.footer-grid ul a:hover { color: var(--color-cream); }
.footer-grid ul li { color: rgba(251,248,242,0.85); font-size: 15px; }
.footer-grid ul li.vat { display: flex; align-items: center; gap: 8px; color: rgba(251,248,242,0.85); font-size: 15px; }
.footer-grid .vat-icon { height: 26px; width: auto; display: block; flex: 0 0 auto; }
.footer-grid ul li.wa a { display: flex; align-items: center; gap: 8px; }
.footer-grid .wa-icon { width: 20px; height: 20px; border-radius: 5px; flex: 0 0 auto; }

/* WhatsApp contact button */
.btn-whatsapp { background: var(--color-paper); border: 1px solid #25D366; color: #0f7a3d; gap: 9px; }
.btn-whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.btn-whatsapp img { width: 20px; height: 20px; border-radius: 5px; }
.contact-card .btn-whatsapp { margin-top: 18px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(251,248,242,0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(251,248,242,0.6);
  flex-wrap: wrap; gap: 16px;
}
/* Legal / company information (for business verification) */
.footer-legal {
  margin-top: 48px;
  padding: 28px 28px 22px;
  border: 1px solid rgba(251,248,242,0.14);
  border-radius: var(--radius);
  background: rgba(251,248,242,0.04);
}
.footer-legal h4 {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-coral);
  margin: 0 0 18px;
}
.legal-grid {
  font-style: normal;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.2fr 1.2fr;
  gap: 24px 32px;
}
.legal-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.legal-item .lbl {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(251,248,242,0.5);
}
.legal-item .lbl-sub { margin-top: 10px; }
.legal-item .val {
  color: var(--color-cream); font-size: 15px; font-weight: 600;
  overflow-wrap: break-word;
}
.legal-item .val[dir="ltr"], .legal-vat { white-space: nowrap; }
html[dir="rtl"] .legal-item .val[dir="ltr"] { text-align: right; }
html:not([dir="rtl"]) .legal-item .val[dir="rtl"] { text-align: left; }
.legal-item a.val:hover { color: var(--color-coral); }
.legal-item .val-sub { color: rgba(251,248,242,0.7); font-size: 14px; overflow-wrap: anywhere; }
html[dir="rtl"] .legal-item .val-sub { text-align: right; }
.legal-vat { display: inline-flex; align-items: center; gap: 8px; }
.legal-vat .vat-icon { height: 24px; width: auto; flex: 0 0 auto; }
.legal-note {
  margin: 22px 0 0; padding-top: 16px;
  border-top: 1px solid rgba(251,248,242,0.1);
  font-size: 13px; color: rgba(251,248,242,0.6);
}
@media (max-width: 960px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .legal-grid { grid-template-columns: 1fr; }
  .footer-legal { padding: 22px 18px 18px; }
}

.socials { display: flex; gap: 14px; }
.socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(251,248,242,0.08);
  border-radius: 50%;
  color: var(--color-cream);
  transition: background .15s;
}
.socials a:hover { background: var(--color-coral); }
.socials svg { width: 17px; height: 17px; }

/* ===== Responsive ======================================================== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-cream); border-bottom: 1px solid var(--color-line);
    padding: 20px 24px; gap: 14px;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 120px 0 64px; }
  .story-grid, .contact-card { grid-template-columns: 1fr; gap: 40px; }
  .contact-card { padding: 36px; }
  .ranges { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .promise { padding: 80px 0; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .hero-bg video { display: none; }
}

/* ===== RTL / Arabic ====================================================== */
html[dir="rtl"] body {
  font-family: "Tajawal", "Manrope", system-ui, sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .brand {
  font-family: "Tajawal", "Bricolage Grotesque", sans-serif;
  letter-spacing: 0;
}
/* Flip directional glyphs */
html[dir="rtl"] .arrow,
html[dir="rtl"] .range-card .more span,
html[dir="rtl"] .btn .arrow {
  display: inline-block;
  transform: scaleX(-1);
}
/* Kicker decorative line: kicker still uses ::before — in RTL it flows to
   the right side automatically; just hide the always-off ::after rule. */
html[dir="rtl"] .kicker.center::after { display: inline-block; }
/* Hero side gradient should fade from the LEFT (away from copy on the right) */
html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(31,36,33,0.20) 0%, transparent 30%, rgba(31,36,33,0.55) 75%, rgba(31,36,33,0.85) 100%),
    linear-gradient(270deg, rgba(31,36,33,0.45) 0%, transparent 55%);
}
/* Story accordion summary spacing inverts cleanly via flex; no extra fix */
html[dir="rtl"] .story-acc summary .ico { transform: none; } /* don't flip the + */
html[dir="rtl"] .story-acc details[open] summary .ico { transform: rotate(45deg); }
