/* ============================================================================
   Firethramd — BBQ Charcoal · Marketing site
   Dark charcoal canvas, ember-red fire accents, logo-green as the secondary.
   RTL-first, Arabic (Tajawal). Self-contained, no framework.
   ========================================================================== */

:root {
  /* Canvas */
  --ink:        #0b0908;   /* near-black charcoal page */
  --ink-2:      #120d0b;   /* raised panel */
  --panel:      #171110;   /* cards */
  --panel-2:    #1e1614;   /* card hover / insets */
  --line:       rgba(255, 150, 90, 0.12);
  --line-strong:rgba(255, 150, 90, 0.22);

  /* Brand fire */
  --fire:       #ec0505;   /* logo red */
  --fire-deep:  #b00404;
  --ember:      #ff6a1a;   /* orange glow */
  --ember-hi:   #ff9d45;   /* bright tip */
  --leaf:       #19a349;   /* logo green — secondary accent */
  --leaf-hi:    #2fd06b;
  --gold:       #d8b46a;

  /* Type */
  --text:   #f6ece4;
  --soft:   #d9c7bb;
  --muted:  #a7948a;

  --flame: linear-gradient(180deg, #ffd27a 0%, #ff9d45 26%, #ff6a1a 52%, #ec0505 100%);
  --flame-soft: linear-gradient(135deg, #ff8a3d 0%, #ec0505 100%);

  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,0.75);
  --shadow-ember: 0 20px 50px -20px rgba(236,5,5,0.45);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Warm charcoal ambience behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 85% -5%, rgba(236,5,5,0.16), transparent 60%),
    radial-gradient(760px 480px at 8% 12%, rgba(255,106,26,0.12), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(236,5,5,0.10), transparent 62%),
    var(--ink);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; opacity: .5;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,160,90,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
section { position: relative; }

/* Fire-gradient text */
.flame-text {
  background: var(--flame);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ─── Reveal on scroll ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ─── Announcement strip ───────────────────────────────────────────── */
.topstrip {
  background: linear-gradient(90deg, var(--fire-deep), var(--fire));
  color: #fff; font-size: .82rem; font-weight: 700;
  text-align: center; padding: 7px 14px; letter-spacing: .2px;
  position: relative; z-index: 60;
}
.topstrip span { opacity: .96; }

/* ─── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(11,9,8,0.72);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(11,9,8,0.92); border-color: var(--line-strong); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; filter: drop-shadow(0 3px 10px rgba(0,0,0,.5)); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .96rem; color: var(--soft); position: relative; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--flame-soft); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 800; font-size: .98rem; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 0;
  transition: transform .2s var(--ease), box-shadow .3s, filter .2s;
  white-space: nowrap;
}
.btn-fire {
  background: var(--flame-soft); color: #fff;
  box-shadow: var(--shadow-ember), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-fire:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 24px 56px -18px rgba(236,5,5,.6); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); border-color: var(--ember); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero { min-height: 92vh; display: flex; align-items: center; padding: 70px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .5; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,9,8,.96) 10%, rgba(11,9,8,.68) 48%, rgba(11,9,8,.42) 100%),
    linear-gradient(0deg, var(--ink) 2%, transparent 42%);
}
.hero .wrap { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .82rem; letter-spacing: .5px;
  color: var(--ember-hi); text-transform: none;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,106,26,.07);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform: scale(1); } 50% { opacity:.5; transform: scale(.7); } }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 20px; }
.hero h1 .brandword { font-weight: 900; }
.hero p.lead { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--soft); max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hail-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; font-weight: 700; font-size: .92rem; color: var(--soft);
  padding: 9px 16px; border-radius: 999px;
  background: rgba(25,163,73,.10); border: 1px solid rgba(47,208,107,.28);
}
.hail-badge svg { color: var(--leaf-hi); }

/* Ember particles */
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -12px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, var(--ember-hi), var(--fire));
  box-shadow: 0 0 10px 2px rgba(255,120,30,.6);
  animation: rise linear infinite;
  opacity: 0;
}
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: .9; }
  70% { opacity: .7; }
  100% { transform: translateY(-82vh) translateX(var(--dx, 24px)) scale(.3); opacity: 0; }
}

/* ─── Feature strip ────────────────────────────────────────────────── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.strip .cell { display: flex; align-items: center; gap: 12px; padding: 22px 16px; }
.strip .cell svg { color: var(--ember); flex: 0 0 auto; }
.strip .cell b { display: block; font-size: .98rem; }
.strip .cell small { color: var(--muted); font-size: .8rem; }

/* ─── Section header ───────────────────────────────────────────────── */
.sec { padding: 92px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.kicker { font-weight: 800; letter-spacing: 2px; font-size: .78rem; color: var(--ember); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 900; line-height: 1.12; margin-bottom: 14px; letter-spacing: -0.5px; }
.sec-head p { color: var(--soft); font-size: 1.06rem; }

/* ─── Products ─────────────────────────────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.pcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--flame-soft); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.pcard:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.pcard:hover::before { transform: scaleX(1); }
.pcard .tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .5px;
  padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.tag-top  { color: #ffd9a8; background: rgba(255,106,26,.14); border: 1px solid rgba(255,106,26,.3); }
.tag-pro  { color: #bff0cf; background: rgba(25,163,73,.14); border: 1px solid rgba(47,208,107,.3); }
.tag-eco  { color: #e9d7b6; background: rgba(216,180,106,.14); border: 1px solid rgba(216,180,106,.3); }
.pcard h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.pcard .en { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .4px; margin-bottom: 12px; text-transform: uppercase; }
.pcard p { color: var(--soft); font-size: .96rem; }
.pcard .flame-ico { position: absolute; inset-inline-end: 18px; top: 20px; font-size: 1.4rem; opacity: .5; }

/* Wide product feature with photo */
.pfeature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 4px;
}
.pfeature .ph { position: relative; min-height: 340px; }
.pfeature .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pfeature .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(23,17,16,.6)); }
.pfeature .body { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.pfeature .body h3 { font-size: 1.9rem; font-weight: 900; margin-bottom: 14px; }
.pfeature .body p { color: var(--soft); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); color: var(--soft); }

/* ─── Split story ──────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip .media { order: 2; }
.split .media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,9,8,.5), transparent 55%); }
.split .copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.5px; }
.split .copy p { color: var(--soft); font-size: 1.08rem; margin-bottom: 16px; }
.split .copy .kicker { text-align: start; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--soft); font-weight: 500; }
.ticks li svg { color: var(--leaf-hi); flex: 0 0 auto; margin-top: 4px; }

/* ─── Why grid ─────────────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), border-color .3s;
}
.feat:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.feat .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,106,26,.1); border: 1px solid rgba(255,106,26,.22); margin-bottom: 18px;
  color: var(--ember-hi);
}
.feat h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .96rem; }

/* ─── App section ──────────────────────────────────────────────────── */
.appsec { padding: 90px 0; }
.appwrap {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(236,5,5,.2), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--panel));
  border: 1px solid var(--line-strong); border-radius: 28px;
  padding: 56px 52px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  overflow: hidden; position: relative;
}
.appwrap h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.appwrap p { color: var(--soft); font-size: 1.08rem; margin-bottom: 26px; max-width: 460px; }
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 12px 20px; border-radius: 14px; background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong); color: var(--text); position: relative;
}
.store svg { flex: 0 0 auto; }
.store b { display: block; font-size: 1rem; font-weight: 800; line-height: 1.1; }
.store small { font-size: .72rem; color: var(--muted); }
.store .soon { position: absolute; top: -9px; inset-inline-start: 12px; font-size: .64rem; font-weight: 800; color: #fff; background: var(--fire); padding: 2px 8px; border-radius: 999px; }
.appart { position: relative; display: grid; place-items: center; min-height: 260px; }
.appart .logo-glow {
  width: 100%; max-width: 360px;
  filter: drop-shadow(0 18px 44px rgba(236,5,5,.45));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ─── Contact band ─────────────────────────────────────────────────── */
.cband { padding: 80px 0; text-align: center; }
.cband .inner {
  background: var(--flame-soft); border-radius: 28px; padding: 60px 40px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-ember);
}
.cband .inner::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(400px 200px at 20% 120%, rgba(255,210,122,.6), transparent 60%);
}
.cband h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 900; color: #fff; margin-bottom: 14px; position: relative; }
.cband p { color: rgba(255,255,255,.92); font-size: 1.1rem; margin-bottom: 28px; position: relative; }
.cband .btn-white { background: #fff; color: var(--fire-deep); position: relative; }
.cband .btn-white:hover { transform: translateY(-2px); filter: brightness(.98); }
.cband .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cband .btn-ln { background: rgba(0,0,0,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); position: relative; }

/* ─── Footer ───────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 60px 0 34px; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.fcol h4 { font-size: .92rem; font-weight: 800; letter-spacing: .5px; margin-bottom: 16px; color: #fff; }
.fcol a, .fcol p { display: block; color: var(--muted); font-size: .94rem; margin-bottom: 10px; transition: color .2s; }
.fcol a:hover { color: var(--ember-hi); }
.fbrand img { height: 44px; margin-bottom: 16px; }
.fbrand p { max-width: 280px; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); color: var(--soft);
  transition: all .2s;
}
.socials a:hover { color: #fff; border-color: var(--ember); transform: translateY(-3px); background: rgba(236,5,5,.14); }
.fbot { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .86rem; }
.fbot .flame-text { font-weight: 800; }

/* ─── Mobile menu ──────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(8,6,5,.97);
  backdrop-filter: blur(10px); display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.5rem; font-weight: 800; padding: 14px; color: var(--soft); }
.mobile-menu a:hover { color: var(--ember-hi); }
.mobile-menu .close { position: absolute; top: 22px; inset-inline-end: 22px; background: none; border: 0; color: #fff; cursor: pointer; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .products, .why { grid-template-columns: repeat(2, 1fr); }
  .pfeature { grid-template-columns: 1fr; }
  .pfeature .ph { min-height: 240px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .media { order: 0; }
  .split .media { aspect-ratio: 16/11; }
  .appwrap { grid-template-columns: 1fr; padding: 40px 30px; }
  .appart { order: -1; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .sec { padding: 66px 0; }
  .products, .why { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .pfeature .body { padding: 30px 26px; }
  .cband .inner { padding: 44px 24px; }
}
