/* ==========================================================================
   Gold Cheese Morocco — Prototype Stylesheet  ·  v2 (industrial-export restyle)
   ==========================================================================

   DESIGN INTENT: reads like a serious food-manufacturing / export supplier's
   spec sheet, not a generic SaaS landing page. Blue + gold is kept because it
   is the real Gold Cheese identity, but executed with committed typography, a
   cool paper/steel neutral (no cream), flat hairline panels (no floaty ghost
   cards), an editorial kicker system (no pill eyebrows), and a masthead-style
   credential bar (no templated hero-metric strip).

   FONTS: Zilla Slab (display — mechanical, stamped-crate slab serif) + Hanken
   Grotesk (body — clean humanist grotesque). Loaded via Google Fonts in each
   page <head>; robust web-safe fallbacks keep it readable offline. At the
   WordPress build these get self-hosted and paired with Arabic companions
   (IBM Plex Sans Arabic / Cairo / Tajawal) for the EN/AR/FR system.

   RTL APPROACH: layout uses CSS LOGICAL PROPERTIES throughout (margin-inline,
   padding-inline, inset-inline, text-align:start/end, border-inline-*) so an
   Arabic <html dir="rtl"> pass is close to a font-swap, not a rewrite.
   ========================================================================== */

:root {
  /* ---- Brand palette (blue + gold identity, refined; cream removed) ---- */
  --navy:        #14324f;   /* primary brand blue */
  --navy-900:    #0c1f31;   /* ink navy — darkest surfaces */
  --navy-700:    #1c456b;   /* deep steel blue */
  --steel:       #3d5f78;   /* mid blue — secondary accents */
  --gold:        #c99a3b;   /* brass gold — accents/rules on dark */
  --gold-bright: #ddb24e;   /* lifted gold — hover */
  --gold-ink:    #8a6516;   /* dark gold — gold text on light (AA safe) */

  /* ---- Neutrals (cool, tinted toward the brand blue — NOT warm cream) ---- */
  --bg:        #ffffff;     /* base surface */
  --bg-alt:    #eef1f4;     /* cool pale steel — section alternation */
  --bg-deep:   var(--navy-900);
  --ink:       #14202b;     /* headings / strongest text */
  --body:      #37454f;     /* body copy (~7:1 on white — readable, not gray) */
  --muted:     #58656f;     /* secondary / labels (~5:1 on white) */
  --border:    #d7dee4;     /* cool hairline */
  --border-strong: #b9c4cc;

  /* ---- Type ---- */
  --font-display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Shape & depth ---- */
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1180px;
  --container-narrow: 940px;
  --shadow-hover: 0 8px 24px rgba(12, 31, 49, 0.10);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Semantic z-index scale ---- */
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-modal: 400;
  --z-toast: 600;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); }

/* Focus states — visible keyboard affordance */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

.narrow { max-width: 62ch; }
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }

/* ---------- Utility classes (migrated off inline style= so the CSP can
   drop style-src 'unsafe-inline' — do NOT reintroduce inline styles) ---------- */
/* Image media boxes */
.media-hero { width: 100%; border-radius: 4px; }
.media-glimpse { width: 100%; height: 180px; object-fit: contain; background: #ffffff; border-radius: 4px; margin-bottom: 1rem; }
.media-product { width: 100%; height: 300px; object-fit: contain; background: #ffffff; border-radius: 4px; }
.media-brand-hero { width: 100%; height: 300px; object-fit: contain; background: #f0f0f0; border-radius: 4px; }
.media-brand-card { width: 100%; height: 200px; object-fit: contain; background: #f0f0f0; border-radius: 4px 4px 0 0; }
/* Lead paragraphs (pair with .narrow). Scoped to .section-head so they out-rank
   the base `.section-head p` rule the inline styles used to override. */
.section-head p.section-lead { font-size: 1.1rem; color: var(--ink); }
.section-head p.section-lead--sm { font-size: 1.05rem; }
/* CTA-banner body copy (on dark). Scoped to out-rank `.cta-banner p`. */
.cta-banner p.cta-lead { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-inline: auto; }
.cta-banner p.cta-lead--narrow { max-width: 55ch; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Editorial kicker (deliberate brand system — replaces pill eyebrow) ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-ink);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding-block: 0.8em;
  padding-inline: 1.6em;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-bright); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.10); border-color: #fff; }

.btn-blue { background: var(--navy); color: #fff; }
.btn-blue:hover { background: var(--navy-900); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-900);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid rgba(201, 154, 59, 0.28);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.header-right { display: flex; align-items: center; gap: 1.1rem; }

.main-nav { display: flex; }
.main-nav ul { display: flex; gap: 1.7rem; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* language switcher — minimal masthead inline switch (no boxes) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.lang-switch button,
.lang-switch a {
  background: none;
  border: 0;
  color: rgba(255,255,255,0.5);
  padding: 0.1rem 0.6rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1.1;
  position: relative;
  transition: color 0.18s ease;
}
.lang-switch button + button,
.lang-switch a + a { border-inline-start: 1px solid rgba(255,255,255,0.2); }
.lang-switch button:hover:not(:disabled):not([aria-current="true"]),
.lang-switch a:hover:not([aria-current="true"]) { color: rgba(255,255,255,0.85); }
.lang-switch button[aria-current="true"],
.lang-switch a[aria-current="true"] { color: #fff; cursor: default; }
.lang-switch button[aria-current="true"]::after,
.lang-switch a[aria-current="true"]::after {
  content: "";
  position: absolute;
  inset-inline: 0.6rem;
  bottom: -5px;
  height: 2px;
  background: var(--gold);
}
.lang-switch button:disabled { color: rgba(255,255,255,0.3); cursor: not-allowed; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s var(--ease-out), background 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; inset-inline-start: 0; top: -7px; }
.nav-toggle-bars::after { position: absolute; inset-inline-start: 0; top: 7px; }
.nav-toggle:hover .nav-toggle-bars,
.nav-toggle:hover .nav-toggle-bars::before,
.nav-toggle:hover .nav-toggle-bars::after { background: var(--gold); }
.nav-toggle.is-active .nav-toggle-bars { background: transparent; }
.nav-toggle.is-active .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { transition: none; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--navy-900);
    border-top: 1px solid rgba(255,255,255,0.12);
    display: none;
    z-index: var(--z-dropdown);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1.25rem; }
  .main-nav a { display: block; padding-block: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .header-right .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .container { position: relative; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-900);
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.hero .container { display: grid; gap: 3rem; align-items: center; }
.hero-page { padding-block: clamp(3rem, 6vw, 5rem); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 1.1rem;
}
.hero-eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); flex-shrink: 0;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 52ch;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-visual { width: 100%; }

@media (min-width: 900px) {
  .hero.hero-split .container { grid-template-columns: 1.15fr 0.85fr; }
}

/* hero entrance — safe: element is visible by default, animation only enhances */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero p, .hero-ctas, .hero-eyebrow {
    animation: rise 0.7s var(--ease-out) both;
  }
  .hero-eyebrow { animation-delay: 0.02s; }
  .hero p { animation-delay: 0.12s; }
  .hero-ctas { animation-delay: 0.2s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Placeholder photo blocks (kept honest; refined) ---------- */
.photo-placeholder {
  --ph-from: var(--steel);
  --ph-to: var(--navy-900);
  background: linear-gradient(140deg, var(--ph-from), var(--ph-to));
  border: 1px solid rgba(201,154,59,0.35);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.86);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  min-height: 240px;
  padding: 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.photo-placeholder span { max-width: 30ch; }
.photo-placeholder.gold { --ph-from: var(--gold); --ph-to: #a9821c; color: var(--navy-900); }
.photo-placeholder.tall { min-height: 340px; }
.photo-placeholder.short { min-height: 150px; text-transform: none; letter-spacing: 0.02em; }

/* ---------- Sections & rhythm ---------- */
section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-alt { background: var(--bg-alt); }
.section-cream { background: var(--bg-alt); } /* legacy alias — no cream anymore */

.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Stats bar → masthead credential strip ---------- */
.stats-bar {
  background: var(--navy-900);
  padding-block: 2.25rem;
  border-block: 1px solid rgba(255,255,255,0.08);
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.5rem 0;
}
.stat {
  color: #fff;
  text-align: center;
  padding-inline: clamp(1rem, 3vw, 2.25rem);
  border-inline-start: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 130px;
}
.stat:first-child { border-inline-start: none; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.02em;
}
@media (max-width: 620px) {
  .stat { flex-basis: 40%; border-inline-start: none; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Two-up cards that stay side-by-side at EVERY width, including mobile */
.split-cards { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 480px) {
  .split-cards { gap: 0.75rem; }
  .split-cards .card { padding: 1.1rem; }
  .split-cards .card h3 { font-size: 1rem; }
  .split-cards .card p { font-size: 0.88rem; }
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Panels (flat — no ghost-card border+shadow combo) ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.card:hover {
  border-color: var(--steel);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); }
.card .card-number {
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}
/* on the alt (steel) background, panels stay white for contrast */
.section-alt .card { background: var(--bg); }

/* CTA banner */
.cta-banner {
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 3px solid var(--gold);
}
.cta-banner h2 { color: #fff; margin-bottom: 1.25rem; max-width: 24ch; margin-inline: auto; }
.cta-banner p { color: rgba(255,255,255,0.82); }

/* ---------- Products page ---------- */
.product-block {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
.product-block:last-of-type { border-bottom: none; }
@media (min-width: 900px) {
  .product-block { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .product-block.reverse .photo-placeholder { order: 2; }
}

.spec-list {
  margin: 1.5rem 0;
  border-top: 2px solid var(--ink);
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--border);
}
.spec-list dt { color: var(--ink); font-weight: 700; }
.spec-list dd { margin: 0; color: var(--muted); text-align: end; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.tag-list li {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4em 0.85em;
  border-radius: var(--radius);
}
.tag-list li a { color: var(--gold-ink); font-weight: 700; }

/* ---------- Brand grid ---------- */
.brand-hero {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.brand-hero-grid { display: grid; gap: 0; }
@media (min-width: 900px) {
  .brand-hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.brand-hero-copy { padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.brand-hero .photo-placeholder { border-radius: 0; border: none; min-height: 340px; }

.brand-tagline {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.brand-tagline-translation {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  margin-top: 0.3rem;
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.brand-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.brand-card:hover { border-color: var(--steel); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.brand-card .photo-placeholder { border-radius: 0; border: none; }
.brand-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.brand-card-body .positioning-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.brand-card-body h3 { color: var(--ink); }
.brand-card-body p { color: var(--muted); font-size: 0.95rem; }

.removable-note {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 0.55rem 0.8rem;
  margin-top: 1rem;
}

/* ---------- Trusted-by ---------- */
.logo-chip-group { margin-bottom: 2rem; }
.logo-chip-group h3 {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.logo-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.logo-chip {
  border: 1px solid var(--border-strong);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.8rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.logo-chip:hover { border-color: var(--gold); }

/* ---------- Quote block ---------- */
.quote-block {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid; gap: 2rem;
}
@media (min-width: 800px) { .quote-block { grid-template-columns: 200px 1fr; align-items: center; } }
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 1rem;
  color: #fff;
}
.quote-block cite { font-style: normal; color: var(--gold); font-weight: 700; font-size: 0.95rem; }
.avatar-placeholder {
  width: 120px; height: 120px; border-radius: var(--radius);
  background: var(--gold); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.72rem;
  text-align: center; padding: 0.5rem; margin-inline: auto;
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 950px) { .contact-layout { grid-template-columns: 1fr 1.15fr; align-items: start; } }

.detail-list { margin: 1.5rem 0; }
.detail-list li {
  display: flex; gap: 0.75rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--body);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list strong { color: var(--ink); min-width: 6.5rem; flex-shrink: 0; }

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 560px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.7em 0.85em;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { min-height: 130px; resize: vertical; }
.field-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-ink); flex-shrink: 0; font-family: var(--font-sans); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 0 1.25rem; margin: 0; color: var(--muted); }

.map-placeholder { min-height: 260px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.78);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline { color: rgba(255,255,255,0.62); max-width: 34ch; }
.footer-heading {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.92rem; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--gold); }
.social-row { display: flex; gap: 0.75rem; margin-top: 1.1rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.social-row a:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); }
.social-row svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.6);
}

/* ---------- Editorial note (internal use) ---------- */
.editorial-note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: var(--radius);
  margin-top: 1.5rem;
}
.editorial-note strong { color: var(--ink); }

/* ---------- Process timeline (connected nodes) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-step { position: relative; text-align: center; }
.timeline-node {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}
/* connecting line from this node's centre to the next node */
.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.5rem;                       /* node vertical centre */
  inset-inline-start: 50%;
  width: calc(100% + 1.5rem);        /* one column + the grid gap */
  height: 2px;
  background: var(--border-strong);
  z-index: 0;
}
.timeline-content h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.92rem; color: var(--muted); margin: 0; }

@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline-step {
    text-align: start;
    display: grid;
    grid-template-columns: 3rem 1fr;
    column-gap: 1.25rem;
    padding-bottom: 2rem;
  }
  .timeline-node { margin: 0; }
  .timeline-step:not(:last-child)::after {
    top: 3rem;                        /* below the node */
    inset-inline-start: calc(1.5rem - 1px);
    width: 2px;
    height: calc(100% - 3rem);        /* down to the next node */
  }
}

/* ---------- Icon grid (quality standards) ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two icons side-by-side on mobile */
  gap: 2rem 1.5rem;
}
@media (min-width: 900px) { .icon-grid { grid-template-columns: repeat(4, 1fr); } }

.icon-item { text-align: center; }
.icon-badge {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(201, 154, 59, 0.12);
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}
.icon-badge svg { width: 1.65rem; height: 1.65rem; }
.icon-item h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.icon-item p { font-size: 0.9rem; color: var(--muted); margin: 0; max-width: 24ch; margin-inline: auto; }

/* ---------- News / blog post cards (CMS-driven) ---------- */
.post-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.post-card:hover { border-color: var(--steel); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
/* Live blog cards (populated from the WordPress /blog REST API by script.js) */
.post-card-media { display: block; width: 100%; height: 170px; object-fit: cover; }
.post-card-body h3 a { color: inherit; text-decoration: none; }
.post-card-body h3 a:hover { color: var(--gold-ink); }
[hidden] { display: none !important; }
.post-card .photo-placeholder { border: none; border-radius: 0; min-height: 170px; }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.post-cat { color: var(--gold-ink); }
.post-meta time { color: var(--muted); font-weight: 600; }
.post-meta time::before { content: "·"; margin-inline: 0.55rem; color: var(--border-strong); }
.post-card-body h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.post-card-body p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.post-link {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s var(--ease-out), color 0.2s ease;
}
.post-link:hover { color: var(--gold-ink); gap: 0.65rem; }

/* ---------- News carousel ---------- */
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.news-head .section-head { margin-bottom: 0; max-width: 60ch; }
.carousel-controls { display: flex; gap: 0.6rem; flex-shrink: 0; }
.carousel-controls-centered { justify-content: center; }
.carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.18s var(--ease-out), color 0.18s var(--ease-out), background 0.18s var(--ease-out), opacity 0.18s ease;
}
.carousel-arrow:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-ink); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.carousel-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.news-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 4px 18px; /* room for card hover-lift and shadow */
}
.news-track::-webkit-scrollbar { display: none; }
.news-track > .post-card {
  flex: 0 0 calc((100% - 3rem) / 3); /* 3 per view (two 1.5rem gaps) */
  scroll-snap-align: start;
}
.news-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); }
@media (max-width: 900px) {
  .news-track > .post-card { flex-basis: calc((100% - 1.5rem) / 2); } /* 2 per view */
}
@media (max-width: 600px) {
  .news-track > .post-card { flex-basis: 100%; } /* 1 per view */
}
@media (prefers-reduced-motion: reduce) {
  .news-track { scroll-behavior: auto; }
}

/* ---------- Logo image (replaces the GC text lockup) — no box ---------- */
/* Sits directly on the dark header/footer, so use a white/transparent PNG. */
.logo-img { height: 48px; width: auto; display: block; }

/* ---------- Home "Our Brands" logos — plain PNGs, no boxes ---------- */
.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
@media (min-width: 700px) { .brand-logo-grid { grid-template-columns: repeat(4, 1fr); } }
.brand-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: transform 0.2s var(--ease-out);
}
.brand-logo-tile img {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(12, 31, 49, 0.25));
  transition: filter 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.brand-logo-tile:hover { transform: translateY(-3px) scale(1.03); }
.brand-logo-tile:hover img { filter: drop-shadow(0 12px 24px rgba(12, 31, 49, 0.33)); }
/* Eat&Go leads, rendered a little larger */
.brand-logo-tile--lead img { max-height: 150px; }

/* ---------- RTL / Arabic ---------- */
/* Layout is already logical (margin-inline, inset-inline, text-align:start/end),
   so dir="rtl" needs no structural overrides — only an Arabic-capable type stack,
   since the Latin display/sans fonts carry no Arabic glyphs. */
html[dir="rtl"] {
  --font-display: "Zilla Slab", "Noto Kufi Arabic", "Segoe UI", Tahoma, "Geeza Pro", sans-serif;
  --font-sans: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", -apple-system, sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  letter-spacing: 0;          /* negative tracking harms Arabic legibility */
  line-height: 1.3;
}
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .hero-eyebrow,
html[dir="rtl"] .lang-switch { letter-spacing: 0; }
/* Latin brand names and codes stay LTR inside RTL text */
html[dir="rtl"] .lang-switch a { direction: ltr; }
