/* NUQAFOODS.COM — shared tokens & primitives
   Palette and type are fixed by PROJECT_BRIEF.md §3. Do not add colors here. */

/* Brand fonts (self-hosted): HT Rakik for Arabic, Roca Two for Latin */
@font-face { font-family: 'HT Rakik'; font-weight: 300; font-display: swap; src: url('../fonts/HTRakik-Light.woff2') format('woff2'); }
@font-face { font-family: 'HT Rakik'; font-weight: 400; font-display: swap; src: url('../fonts/HTRakik-Regular.woff2') format('woff2'); }
@font-face { font-family: 'HT Rakik'; font-weight: 500; font-display: swap; src: url('../fonts/HTRakik-Medium.woff2') format('woff2'); }
@font-face { font-family: 'HT Rakik'; font-weight: 700; font-display: swap; src: url('../fonts/HTRakik-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Roca Two'; font-weight: 100; font-display: swap; src: url('../fonts/RocaTwoThin.woff2') format('woff2'); }
@font-face { font-family: 'Roca Two'; font-weight: 300; font-display: swap; src: url('../fonts/RocaTwoLight.woff2') format('woff2'); }
@font-face { font-family: 'Roca Two'; font-weight: 400; font-display: swap; src: url('../fonts/RocaTwoRegular.woff2') format('woff2'); }
@font-face { font-family: 'Roca Two'; font-weight: 700; font-display: swap; src: url('../fonts/RocaTwoBold.woff2') format('woff2'); }
@font-face { font-family: 'Roca Two'; font-weight: 800; font-display: swap; src: url('../fonts/RocaTwoHeavy.woff2') format('woff2'); }
@font-face { font-family: 'Roca Two'; font-weight: 900; font-display: swap; src: url('../fonts/RocaTwoBlack.woff2') format('woff2'); }

:root {
  --cream: #FBF6ED;
  --cream-2: #F3EBDC;          /* one step darker, for surfaces/borders */
  --ink: #1A1A1A;
  --ink-60: rgba(26, 26, 26, .62);
  --line: rgba(26, 26, 26, .14);
  --red: #E63B2E;
  --mustard: #E8A83C;
  --olive: #3F5B3F;

  --font-display: 'HT Rakik', 'Roca Two', system-ui, sans-serif;
  --font-body: 'HT Rakik', 'Roca Two', system-ui, sans-serif;
  --w-display: 700;   /* HT Rakik tops out at Bold */

  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-pill: 999px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }

/* English: Roca Two carries both display and body */
html[lang="en"] { --font-display: 'Roca Two', 'HT Rakik', system-ui, sans-serif; --font-body: 'Roca Two', 'HT Rakik', system-ui, sans-serif; --w-display: 800; }
html[lang="en"] body { font-size: 16px; }
html[lang="en"] .display { letter-spacing: -0.01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  gap: 24px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
}
.site-header .logo img { height: 34px; width: auto; }
.site-nav { display: none; gap: 28px; margin-inline: auto; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.site-nav a { opacity: .78; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

.lang-toggle {
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .04em;
  padding: 8px 12px; border: 2px solid var(--ink); border-radius: var(--radius-pill);
  transition: background .2s, color .2s;
}
.lang-toggle:hover { background: var(--ink); color: var(--cream); }

/* mobile menu */
.menu-toggle { display: inline-grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 2px solid var(--ink); border-radius: 50%; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
  .site-header.menu-open .site-nav { display: flex; flex-direction: column; gap: 6px; position: absolute; top: 100%; inset-inline: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); font-size: 1.1rem; }
  .site-header.menu-open .site-nav a { padding: 10px 6px; border-bottom: 1px solid var(--line); opacity: 1; }
  .site-header.menu-open .site-nav a:last-child { border-bottom: 0; }
}
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 8px 24px -10px rgba(230,59,46,.55); }
.btn-primary:hover { background: #d3301f; border-color: #d3301f; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-wa { background: var(--olive); color: #fff; border-color: var(--olive); min-height: 44px; width: 44px; padding: 0; border-radius: 50%; }
.btn-wa .wa-svg { width: 22px; height: 22px; fill: currentColor; }
.btn-wa:hover { background: #33492f; border-color: #33492f; }
.btn .ico { font-size: 1.15em; line-height: 1; }

/* ---------- Text primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .02em; color: var(--ink-60);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

.display {
  font-weight: var(--w-display); line-height: 1.12;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  text-wrap: balance;
}
.display .accent { color: var(--red); }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--ink-60); max-width: 34ch; margin: 0; line-height: 1.7; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--ink-60); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: "✓"; color: var(--olive); font-weight: 900; }

/* Review-only stub for the section that follows the hero */
.next-stub {
  margin: 0; padding: 40px var(--gutter);
  border-top: 1px dashed var(--line);
  color: var(--ink-60); font-family: var(--font-display); font-weight: 700; text-align: center;
  background: var(--cream-2);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
