/* Arkhas — shared stylesheet (LTR + RTL) */
:root {
  --brand: #0e7c66;
  --brand-dark: #0a5c4c;
  --accent: #f59e0b;
  --ink: #1a2b28;
  --muted: #5b6e6a;
  --bg: #f6faf9;
  --card: #ffffff;
  --line: #dce8e5;
  --best: #e7f6ef;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
[dir="rtl"] body, body[dir="rtl"] { font-family: "Segoe UI", Tahoma, system-ui, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px; flex-wrap: wrap;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--brand-dark); text-decoration: none; }
.logo .ar { font-size: 1.15em; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink); font-weight: 500; }
.lang-switch {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 14px; background: var(--bg); font-weight: 600;
}

/* Hero */
.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--brand-dark); margin-bottom: 12px; }
.hero p.sub { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin: 0 auto 24px; }
.stores-row { color: var(--muted); font-size: .95rem; margin-top: 18px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 1.05rem;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn.whatsapp { background: #25d366; color: #073b1c; }
.btn.whatsapp:hover { background: #1ebe57; }
.badge {
  display: inline-block; background: var(--accent); color: #3b2703;
  border-radius: 999px; padding: 2px 12px; font-size: .8rem; font-weight: 700;
  vertical-align: middle;
}

/* Sections */
section { padding: 36px 0; }
h2.section-title { font-size: 1.5rem; color: var(--brand-dark); margin-bottom: 20px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.step .num {
  display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Comparison cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { font-size: 1.1rem; }
.card .save { color: var(--brand-dark); font-weight: 700; }
.card .date { color: var(--muted); font-size: .85rem; }
.card a.more { margin-top: auto; font-weight: 600; }

/* Price table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table.prices { width: 100%; border-collapse: collapse; min-width: 560px; }
table.prices th, table.prices td { padding: 12px 16px; text-align: start; }
table.prices th {
  background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem;
}
table.prices tr + tr td { border-top: 1px solid var(--line); }
table.prices tr.best td { background: var(--best); font-weight: 600; }
.price { white-space: nowrap; font-weight: 600; }
.tag-best {
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: 1px 10px; font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.note { color: var(--muted); font-size: .9rem; }
.deal-link { font-weight: 600; white-space: nowrap; }

/* Article */
.article { padding: 40px 0; }
.article h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--brand-dark); margin-bottom: 8px; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.article p { margin-bottom: 16px; max-width: 70ch; }
.callout {
  background: var(--best); border: 1px solid var(--brand); border-radius: 14px;
  padding: 16px 20px; margin: 20px 0; font-size: 1.05rem;
}
.disclosure-line { color: var(--muted); font-size: .85rem; margin-top: 16px; }

/* Static pages */
.page { padding: 40px 0; }
.page h1 { color: var(--brand-dark); margin-bottom: 16px; }
.page h2 { color: var(--brand-dark); font-size: 1.2rem; margin: 24px 0 8px; }
.page p, .page li { margin-bottom: 10px; max-width: 75ch; }
.page ul { padding-inline-start: 24px; }

/* WhatsApp chat demo */
.phone {
  max-width: 420px; margin: 0 auto;
  background: #e5ddd5; border-radius: 22px; padding: 18px 14px;
  border: 6px solid #1f2c28; box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 85%; padding: 9px 13px; border-radius: 10px;
  font-size: .92rem; line-height: 1.5; color: #111;
  box-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.msg.out { background: #d9fdd3; margin-inline-start: auto; border-start-end-radius: 2px; }
.msg.in { background: #ffffff; margin-inline-end: auto; border-start-start-radius: 2px; }
.msg .time { display: block; text-align: end; font-size: .7rem; color: #7b8a84; margin-top: 3px; }
.demo-cta { text-align: center; margin-top: 22px; }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { font-weight: 600; cursor: pointer; color: var(--brand-dark); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Footer */
footer {
  border-top: 1px solid var(--line); background: var(--card);
  margin-top: 40px; padding: 28px 0; color: var(--muted); font-size: .9rem;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.foot-links a { color: var(--ink); }

@media (max-width: 560px) {
  .hero { padding: 36px 0 28px; }
  table.prices th, table.prices td { padding: 10px 12px; }
}
