/* ============================================================
   Khaled Dahlawi — Legal Office Advices
   "Counsel House" design system — classic law-firm identity
   Ivory / deep navy / restrained bronze. Serif display.
   ============================================================ */

:root {
  --bg: #F7F5F0;
  --surface: #F1EDE4;
  --card: #FFFFFF;
  --card-hover: #FFFFFF;
  --border: #E3DDD0;
  --border-strong: #D3CBB9;
  --navy: #16304F;
  --navy-deep: #0F2440;
  --navy-ink: #1A2433;
  --bronze: #8E6B2E;
  --bronze-deep: #6E521F;
  --text: #1A2433;
  --muted: #5B6270;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 2px rgba(22, 48, 79, 0.06), 0 8px 24px rgba(22, 48, 79, 0.07);
  --shadow-lift: 0 2px 6px rgba(22, 48, 79, 0.08), 0 18px 40px rgba(22, 48, 79, 0.12);
  --font-latin: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-ar-display: "Amiri", "IBM Plex Sans Arabic", serif;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-latin);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Per-language font stacks */
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="zh"] body { font-family: var(--font-zh); }
html[lang="hi"] body { font-family: var(--font-hi); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  font-family: var(--font-ar-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.55;
}
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] h4 {
  font-family: var(--font-zh);
  letter-spacing: 0;
  line-height: 1.35;
}
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 {
  font-family: var(--font-hi);
  letter-spacing: 0;
  line-height: 1.4;
}

p { margin: 0 0 1em; }
a { color: var(--bronze); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-inline-start: 16px;
  top: 12px;
  padding: 11px 16px;
  border-radius: var(--radius);
  background: var(--navy-deep);
  color: #FFFFFF;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); color: #FFFFFF; }
#main-content:focus { outline: none; }
:focus-visible {
  outline: 3px solid #B18436;
  outline-offset: 3px;
}

::selection { background: rgba(142, 107, 46, 0.22); color: var(--navy-ink); }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

main, section, .container, .form-wrap, .form-card, .form-side,
.footer-grid, .legal-body, .legal-section { min-width: 0; }
p, li, a, h1, h2, h3, h4 { overflow-wrap: anywhere; }
.menu-open { overflow: hidden; }
.section-gap { margin-top: 64px; }
.section-action { margin-top: 44px; text-align: center; }
.compact-top { margin-top: 26px; }
.btn-block { width: 100%; }

/* ---------- Reveal animation ---------- */
/* Content is visible by default. JavaScript adds motion but never gates access. */
@media (min-width: 768px) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-primary {
  background: var(--navy);
  color: #F7F5F0;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(15, 36, 64, 0.22);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(22, 48, 79, 0.05);
}
.btn-lg { padding: 16px 40px; font-size: 1.03rem; }

/* ---------- Badge / kicker ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html[lang="ar"] .badge { letter-spacing: 0; font-size: 0.85rem; }
a.badge { text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
a.badge:hover { border-color: var(--bronze); box-shadow: 0 2px 10px rgba(142,107,46,.18); }
.badge .dot {
  width: 6px; height: 6px; border-radius: 1px;
  background: var(--bronze);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247, 245, 240, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  direction: ltr; /* logo left, actions right in every language */
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 10px 24px; font-size: 0.9rem; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover { border-color: var(--navy); }
.lang-btn .chev { transition: transform 0.2s ease; }
.lang-switch.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 180px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-latin);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  min-height: 44px;
  text-align: start;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-menu button:hover { background: var(--surface); }
.lang-menu button.active { color: var(--navy); background: rgba(22, 48, 79, 0.07); font-weight: 700; }
.lang-menu button.active::after {
  content: "";
  width: 6px; height: 6px; border-radius: 1px;
  background: var(--bronze);
  transform: rotate(45deg);
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  min-width: 44px;
  min-height: 44px;
}
.burger svg:nth-child(2) { display: none; }
.burger[aria-expanded="true"] svg:nth-child(1) { display: none; }
.burger[aria-expanded="true"] svg:nth-child(2) { display: block; }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(247, 245, 240, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 90px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a.m-link {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 10px;
}
html[lang="ar"] .mobile-menu a.m-link { font-family: var(--font-ar-display); }
.mobile-menu a.m-link:hover { color: var(--bronze); }
.mobile-menu .btn { margin-top: 18px; }
.mobile-lang {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  max-width: 420px;
}
.mobile-lang button {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-family: var(--font-latin);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-lang button.active {
  color: #F7F5F0;
  border-color: var(--navy);
  background: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 56px;
  overflow: hidden;
  background: linear-gradient(180deg, #FDFCF9 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-bg { display: none; }
.hero-glow { display: none; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { text-align: start; }
.hero-art {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  background: #FFFFFF;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(142, 107, 46, 0.35);
  border-radius: 4px;
  pointer-events: none;
}
.hero-art img { display: block; width: 100%; height: auto; }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.35rem);
  margin: 26px 0 22px;
}
.hero h1 .gold { color: var(--bronze); background: none; }
.hero-sub {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 620px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Trust bar */
.trust-bar {
  margin-top: 0;
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 40px;
  padding: 22px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
  text-align: start;
}
.trust-item svg { color: var(--bronze); flex-shrink: 0; }

/* ---------- Quick contact ---------- */
.qc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.qc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 34px 26px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--navy);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.qc-card:hover { transform: translateY(-4px); border-color: var(--bronze); }
.qc-card svg { color: var(--bronze); }
.qc-card h3 { margin: 0; font-size: 1.05rem; }
.qc-value { color: var(--muted); font-size: 0.95rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 26px;
  inset-inline-start: 26px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #F7F5F0;
  border: 1px solid var(--navy-deep);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-deep); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head {
  text-align: start;
  max-width: 780px;
  margin: 0 0 44px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: 20px; }
.section-head h2 .gold { color: var(--bronze); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Digital fraud response ---------- */
.fraud-focus {
  padding-top: 64px;
  padding-bottom: 0;
  background: #FFFFFF;
}
.fraud-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(40px, 6vw, 84px);
  padding: clamp(38px, 6vw, 72px);
  background: var(--navy-deep);
  border: 1px solid #233D5D;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.fraud-panel .badge {
  color: #F4E8CB;
  border-color: rgba(244, 232, 203, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.fraud-panel .badge .dot { background: #D6B66E; }
.fraud-copy h2 {
  max-width: 720px;
  margin-top: 22px;
  color: #FFFFFF;
  font-size: clamp(1.9rem, 3.5vw, 2.65rem);
  text-align: start;
}
.fraud-copy > p {
  max-width: 680px;
  color: #D5DCE5;
  font-size: 1.05rem;
  text-align: start;
}
.fraud-panel .btn-primary {
  margin-top: 10px;
  background: #F4E8CB;
  border-color: #F4E8CB;
  color: var(--navy-deep);
}
.fraud-panel .btn-primary:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--navy-deep);
}
.fraud-copy .fraud-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #BAC5D2;
  font-size: 0.82rem;
  line-height: 1.65;
}
.fraud-steps {
  list-style: none;
  align-self: center;
  display: flex;
  flex-direction: column;
  text-align: start;
}
.fraud-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.fraud-steps li:first-child { padding-top: 0; }
.fraud-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.fraud-step-num {
  color: #D6B66E;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.fraud-steps h3 {
  margin: 0 0 6px;
  color: #FFFFFF;
  font-size: 1.1rem;
}
.fraud-steps p {
  margin: 0;
  color: #C5CED9;
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ---------- About summary (home) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  background: linear-gradient(160deg, #FFFFFF, #EFEAE0);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(142, 107, 46, 0.35);
  border-radius: 4px;
  pointer-events: none;
}
.about-photo img { width: 100%; height: auto; }
.about-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-top: 20px; }
.about-copy h2 .gold { color: var(--bronze); }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.about-copy .btn { margin-top: 14px; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  border-top-color: var(--bronze);
  box-shadow: var(--shadow-lift);
}
.card h2, .card h3 { font-size: 1.22rem; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 48, 79, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--navy);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.services-grid .card { padding: 30px 26px; }
.services-grid .card h3 { font-size: 1.08rem; }
.services-grid .card p { font-size: 0.92rem; }

/* ---------- Why me ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.why-copy p.lead { color: var(--muted); font-size: 1.08rem; }
.why-quote {
  margin: 26px 0 0;
  padding: 24px 28px;
  border-inline-start: 3px solid var(--bronze);
  background: #FFFFFF;
  border-radius: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
}
html[lang="ar"] .why-quote { font-family: var(--font-ar-display); font-style: normal; }
html[dir="rtl"] .why-quote { border-radius: 0; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy-ink);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.why-list li:hover { transform: translateY(-2px); border-color: var(--bronze); }
.why-list .tick {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142, 107, 46, 0.1);
  color: var(--bronze);
  margin-top: 2px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lift); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline: 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item.open { border-color: var(--navy); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: 0;
  color: var(--navy);
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  text-align: start;
  padding: 22px 26px;
  cursor: pointer;
}
.faq-q .faq-chev {
  flex-shrink: 0;
  color: var(--bronze);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 900px; }
.faq-a p {
  padding: 0 26px 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.faq-more { text-align: start; margin-top: 40px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-deep);
  background: var(--navy);
  text-align: start;
  padding: 64px 56px;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: #F7F5F0; }
.cta-band p { color: rgba(247, 245, 240, 0.75); max-width: 640px; margin: 0 0 34px; font-size: 1.06rem; }
.cta-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 16px; }
.cta-band .btn-primary {
  background: #F7F5F0;
  border-color: #F7F5F0;
  color: var(--navy);
}
.cta-band .btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy-deep); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.cta-band .btn-ghost {
  border-color: rgba(247, 245, 240, 0.45);
  color: #F7F5F0;
}
.cta-band .btn-ghost:hover { border-color: #F7F5F0; background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 60px;
  text-align: start;
  overflow: hidden;
  background: linear-gradient(180deg, #FDFCF9 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .hero-bg { display: none; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-top: 24px; }
.page-hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0;
}
.page-hero-inner { position: relative; }

/* ---------- About page ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  padding: 8px 18px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  background: #FFFFFF;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.split p { color: var(--muted); font-size: 1.04rem; }

/* ---------- Forms ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--shadow-card);
}
.form-wrap > .form-card { order: -1; }
#request-form { scroll-margin-top: 96px; }
.form-card h2 { font-size: 1.5rem; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--navy-ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
#c-phone {
  direction: ltr;
  text-align: left;
}
.field input::placeholder, .field textarea::placeholder { color: #6B7280; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 48, 79, 0.14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-inline-end: 44px;
}
html[dir="rtl"] .field select { background-position: left 16px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}
.form-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 22px;
  line-height: 1.6;
}
.form-note svg { flex-shrink: 0; color: var(--bronze); margin-top: 2px; }
.service-status {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #F7F3E9;
  border: 1px solid #CDBA87;
  border-inline-start: 4px solid var(--bronze);
  color: var(--navy);
}
.service-status strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}
.service-status p {
  margin: 0;
  color: var(--navy-ink);
  font-size: 0.94rem;
  line-height: 1.7;
}
.paused-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.52;
}
.paused-fields :is(input, select, textarea, button) { cursor: not-allowed; }
.form-side h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-top: 20px; }
.form-side > p { color: var(--muted); font-size: 1.05rem; }
.steps-vert { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; }
.steps-vert .step { display: flex; gap: 20px; align-items: flex-start; padding: 26px 26px; }
.steps-vert .step-num { margin-bottom: 0; flex-shrink: 0; width: 42px; height: 42px; font-size: 1.05rem; }
.steps-vert h3 { font-size: 1.08rem; margin: 0 0 6px; }
.steps-vert p { font-size: 0.93rem; }

/* Contact info cards */
.contact-cards { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.contact-card:hover { border-color: var(--bronze); transform: translateY(-2px); }
.contact-card .card-icon { width: 46px; height: 46px; border-radius: 4px; }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.contact-card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 6px; }
.contact-card a { font-weight: 600; font-size: 0.95rem; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 800px; margin-inline: 0; }
.legal-updated { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
.legal-section { margin-bottom: 44px; }
.legal-section h2 {
  font-size: 1.35rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-section h2 .num {
  color: var(--bronze);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.legal-section p { color: var(--muted); font-size: 1rem; }
.legal-section h3 { font-size: 1.08rem; margin-top: 22px; }
.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.legal-section li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--muted);
  font-size: 0.99rem;
}
.legal-section li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 1px;
  background: var(--bronze);
  transform: rotate(45deg);
}
.legal-note {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-inline-start: 3px solid var(--bronze);
  border-radius: 0;
  padding: 18px 22px;
  color: var(--navy-ink);
  font-size: 0.95rem;
  margin-top: 18px;
}
.legal-contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 16px;
}
.legal-contact-box p { margin: 0 0 8px; }
.legal-contact-box strong { color: var(--navy); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  border-top: 3px solid var(--bronze);
  padding: 72px 0 0;
  margin-top: 0;
  color: rgba(247, 245, 240, 0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand .f-sub { color: #D8B96A; font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.footer-brand p { color: rgba(247, 245, 240, 0.65); font-size: 0.93rem; max-width: 320px; }
.footer h4,
.footer-heading {
  font-family: var(--font-latin);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #F7F5F0;
  margin-bottom: 20px;
}
html[lang="ar"] .footer h4,
html[lang="ar"] .footer-heading { letter-spacing: 0; font-family: var(--font-ar); font-size: 0.95rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  color: rgba(247, 245, 240, 0.82);
  font-size: 0.94rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer ul a:hover { color: #FFFFFF; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; color: rgba(247, 245, 240, 0.82); font-size: 0.94rem; }
.footer-contact svg { color: #D8B96A; flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: rgba(247, 245, 240, 0.8); }
.footer-contact a:hover { color: #FFFFFF; }
.footer-lang p { color: rgba(247, 245, 240, 0.6); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(247, 245, 240, 0.14);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; color: rgba(247, 245, 240, 0.75); font-size: 0.88rem; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: rgba(247, 245, 240, 0.78); font-size: 0.88rem; display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: #FFFFFF; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1FAF54;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(20, 40, 70, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: translateY(-4px); color: #fff; box-shadow: 0 10px 28px rgba(31, 175, 84, 0.35); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  inset-inline-start: 50%;
  transform: translate(-50%, 20px);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-inline-start: 3px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 18px 26px;
  max-width: min(480px, calc(100vw - 48px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
html[dir="rtl"] .toast { transform: translate(50%, 20px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
html[dir="rtl"] .toast.show { transform: translate(50%, 0); }
.toast .toast-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(22, 48, 79, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast .toast-title { display: block; margin: 0 0 2px; font-size: 0.98rem; font-weight: 700; color: var(--navy); }
.toast p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- Numbers / phone always LTR ---------- */
[dir="ltr"].inline-num { display: inline-block; direction: ltr; unicode-bidi: isolate; }

.noscript-note {
  margin: var(--nav-h) auto 0;
  max-width: 760px;
  padding: 12px 20px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: start;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: start; }
  .hero-sub { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .about-grid, .why-grid, .split, .form-wrap { grid-template-columns: 1fr; gap: 44px; }
  .fraud-panel { grid-template-columns: 1fr; }
  .about-photo { max-width: 560px; margin-inline: auto; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .qc-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 56px 0; }
}

@media (max-width: 600px) {
  .hero { padding: calc(var(--nav-h) + 40px) 0 44px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: start; justify-content: flex-start; align-items: flex-start; }
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 24px; }
  .cta-actions .btn { width: 100%; }
  .trust-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-inline: 8px;
  }
  .trust-item {
    width: 100%;
    justify-content: flex-start;
    text-align: start;
  }
  .faq-q { padding: 18px 20px; font-size: 0.98rem; }
  .faq-a p { padding: 0 20px 20px; }
  .nav-logo img { height: 44px; }
  .lang-btn .lang-label { display: none; }
  .section-head { margin-bottom: 44px; }
  .fraud-focus { padding-top: 30px; }
  .fraud-panel { padding: 30px 22px; gap: 34px; border-radius: 0; }
  .fraud-copy,
  .fraud-copy h2,
  .fraud-copy > p,
  .fraud-steps,
  .fraud-steps h3,
  .fraud-steps p {
    text-align: start;
  }
  .fraud-steps li { grid-template-columns: 36px 1fr; gap: 12px; }
}

@media (max-width: 359px) {
  .container { padding-inline: 16px; }
  .form-card { padding: 26px 16px; }
  .contact-card { padding: 20px 16px; }
  .cta-band { padding-inline: 16px; }
  .legal-note, .legal-contact-box { padding-inline: 16px; }
  .nav-inner { padding-inline: 12px; }
}
