/* Radeef design system — shared across all pages */

:root {
  --orange-light: #FDB44D;
  --orange-dark: #F07B1E;
  --orange-text: #C25A0C;
  --navy: #1F2430;
  --navy-2: #171B24;
  --ink: #12151B;
  --bg: #FAFAF8;
  --paper: #FFFFFF;
  --line: #ECE9E3;
  --muted: #6B6B6B;
  --whatsapp: #25D366;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --shadow: 0 2px 10px rgba(20, 20, 20, 0.05);
  --shadow-lg: 0 16px 40px rgba(20, 20, 20, 0.10);
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-en: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: var(--font-en); }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }

/* ---------- Language toggle visibility ---------- */
[data-lang="en"] { display: none !important; }
body.lang-en [data-lang="ar"] { display: none !important; }
body.lang-en [data-lang="en"] { display: block !important; }
span[data-lang="ar"], a[data-lang="ar"] { display: inline !important; }
body.lang-en span[data-lang="en"],
body.lang-en a[data-lang="en"] { display: inline !important; }

/* ---------- Nav ---------- */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--navy); font-size: 1.05rem; }
.nav-brand img { height: 34px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--navy);
}
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a.nav-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.current { color: var(--orange-text); }
.lang-switch { display: flex; gap: 4px; background: var(--bg); border-radius: 30px; padding: 4px; border: 1px solid var(--line); }
.lang-switch button {
  border: none; background: transparent; padding: 6px 14px; border-radius: 24px;
  cursor: pointer; font-size: 0.82rem; font-weight: 700; color: #888; transition: all .2s;
}
.lang-switch button.active { background: var(--navy); color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: #fff;
    padding: 18px 24px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    gap: 16px; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { align-self: stretch; text-align: center; }
  .lang-switch { align-self: flex-start; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff !important; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  border: 2px solid var(--navy); transition: all .18s; cursor: pointer;
}
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn.primary { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn.primary:hover { background: #d96c15; border-color: #d96c15; }
.btn.secondary { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn.secondary:hover { background: var(--navy); color: #fff !important; }
.btn.on-dark { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn.on-dark.ghost { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff !important; }
.btn.on-dark.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn.sm { padding: 9px 18px; font-size: 0.88rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange-text); outline-offset: 2px;
}

/* ---------- Sections / type ---------- */
section { padding: 70px 0; scroll-margin-top: 90px; }
section.tight { padding: 46px 0; }
.kicker {
  display: inline-block; color: var(--orange-text); font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
p { color: #3d3d3d; font-size: 1.02rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #4a4a4a; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.muted { color: var(--muted); }

/* ---------- Dark section ---------- */
.dark { background: var(--navy); color: #fff; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark p { color: rgba(255,255,255,0.78); }
.dark .kicker { color: var(--orange-light); }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 900px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; color: #555; flex-grow: 1; }
.card .more { margin-top: 16px; font-weight: 700; color: var(--orange-text); text-decoration: none; font-size: 0.92rem; }
.card .more:hover { text-decoration: underline; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; background: #fff6ea; color: var(--orange-text);
  border: 1px solid #f4d9b0; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.dark .badge { background: rgba(253,180,77,0.14); border-color: rgba(253,180,77,0.3); color: var(--orange-light); }

.pill-note {
  padding: 16px 20px; background: #fff6ea; border: 1px dashed var(--orange-light);
  border-radius: 12px; color: #8a5a1c; font-size: 0.95rem;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .n {
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-2); color: #ccc; padding: 50px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.85rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.footer-grid a { display: block; color: #b9b9b9; text-decoration: none; font-size: 0.9rem; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--orange-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 30px; }
.footer-brand span { color: #fff; font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #999; }

/* ---------- WhatsApp / contact FAB ---------- */
.wa-fab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40;
  background: var(--whatsapp); color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); font-size: 1.6rem; transition: transform .15s;
}
.wa-fab:hover { transform: scale(1.08); }

/* ---------- Forms ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.92rem; color: var(--navy); }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-family: inherit; font-size: 0.98rem; background: #fff; color: var(--ink);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus, select:focus { border-color: var(--orange-dark); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 700px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px; cursor: pointer;
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; background: #fff;
  transition: all .15s;
}
.choice input { width: auto; }
.choice:has(input:checked) { border-color: var(--orange-dark); background: #fff6ea; }
