/* ═══════════════════════════════════════════════════════════════════
   نِظامَك — marketing site styles
   Brand identity mirrored from the merchant SPA (tailwind.config):
   primary teal #0F766E, Tajawal (AR) / Inter (EN).
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --teal: #0F766E;
  --teal-600: #0D9488;
  --teal-light: #14B8A6;
  --teal-50: #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-200: #99F6E4;
  --teal-900: #134E4A;

  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --wa: #25D366;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 118, 110, .28);
  --container: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang='en'] body { font-family: 'Inter', 'Tajawal', system-ui, sans-serif; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

/* ═══════════════ Buttons ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 118, 110, .6); }
.btn--primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(15, 118, 110, .7); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal-200); }
.btn--ghost:hover { background: var(--teal-50); border-color: var(--teal); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37, 211, 102, .6); }

/* ═══════════════ Nav ═══════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.brand-logo svg { border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(15, 118, 110, .7); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 20px; font-weight: 800; color: var(--ink); }
.brand-text em { font-style: normal; font-size: 12px; color: var(--teal); font-weight: 600; }

.nav__links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px;
  color: var(--ink-2); transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--teal-50); color: var(--teal); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  width: 42px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 700; font-size: 13px; font-family: 'Inter', sans-serif;
  color: var(--ink-2); cursor: pointer; transition: all .2s;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 38px; align-items: center; justify-content: center; background: none; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ Hero ═══════════════ */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% 0 auto 0; height: 640px; z-index: -1;
  background:
    radial-gradient(700px 340px at 78% 8%, rgba(20, 184, 166, .20), transparent 70%),
    radial-gradient(620px 320px at 12% 0%, rgba(15, 118, 110, .14), transparent 70%),
    linear-gradient(180deg, var(--teal-50), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--teal-100); color: var(--teal);
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px); font-weight: 800; line-height: 1.18;
  letter-spacing: -.5px; color: var(--ink); margin-bottom: 20px;
}
.hero__sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__ticks { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
.hero__ticks li { font-weight: 600; color: var(--ink-2); font-size: 15px; }

/* App mockup */
.hero__mock { position: relative; }
.mock {
  display: grid; grid-template-columns: 62px 1fr; height: 340px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1400px) rotateY(4deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
[dir='ltr'] .mock { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.hero__mock:hover .mock { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock__side { background: var(--teal-900); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock__logo { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--teal-light), var(--teal-200)); }
.mock__nav { width: 30px; height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.mock__nav.is-active { background: var(--teal-200); width: 34px; }
.mock__main { padding: 18px; background: var(--surface-2); }
.mock__topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mock__search { flex: 1; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.mock__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-100); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mock__kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock__kpi b { display: block; font-size: 18px; color: var(--ink); font-weight: 800; }
.mock__kpi i { display: block; width: 60%; height: 6px; border-radius: 3px; background: var(--teal-100); margin-top: 8px; }
.mock__chart { display: flex; align-items: flex-end; gap: 10px; height: 118px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mock__chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--teal-light), var(--teal)); }
.mock__badge {
  position: absolute; bottom: 18px; inset-inline-start: -14px;
  display: flex; align-items: center; gap: 8px;
  background: #fff; color: var(--teal); font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--teal-100);
}
.mock__badge svg { color: var(--teal); }

/* Trust strip */
.trust {
  margin-top: 54px; padding: 22px 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center;
}
.trust > span { color: var(--muted); font-weight: 600; font-size: 15px; }
.trust__logos { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.trust__logos b { color: var(--ink-2); font-weight: 700; font-size: 16px; }

/* ═══════════════ Sections ═══════════════ */
.section { padding: 84px 0; }
.section--alt { background: var(--surface-2); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; color: var(--teal); font-weight: 700; font-size: 14px;
  letter-spacing: .5px; margin-bottom: 12px; text-transform: uppercase;
}
.section__head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.4px; margin-bottom: 12px; }
.section__head p { color: var(--ink-2); font-size: 18px; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Feature cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; background: var(--teal-50); margin-bottom: 16px;
}
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }

/* Industry chips */
.chip-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.chip-card:hover { transform: translateY(-4px); border-color: var(--teal); background: var(--teal-50); }
.chip-card span { font-size: 34px; display: block; margin-bottom: 10px; }
.chip-card b { font-weight: 700; font-size: 16px; color: var(--ink); }

/* ═══════════════ ZATCA ═══════════════ */
.zatca { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.zatca h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; letter-spacing: -.4px; }
.zatca__copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 22px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-inline-start: 34px; font-weight: 600; color: var(--ink-2); }
.checklist li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
.zatca__card { display: grid; place-items: center; }
.invoice {
  width: 100%; max-width: 340px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg);
}
.invoice__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.invoice__top b { font-size: 18px; font-weight: 800; }
.invoice__ok { background: #DCFCE7; color: #16A34A; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.invoice__rows { display: grid; gap: 12px; margin-bottom: 22px; }
.invoice__rows span { height: 12px; border-radius: 6px; background: var(--surface-2); }
.invoice__rows span:nth-child(1) { width: 90%; }
.invoice__rows span:nth-child(2) { width: 70%; }
.invoice__rows span:nth-child(3) { width: 80%; }
.invoice__rows span:nth-child(4) { width: 55%; }
.invoice__qr { display: grid; place-items: center; padding-top: 18px; border-top: 1px dashed var(--line); }
.invoice__qr svg { border-radius: 8px; }

/* ═══════════════ Steps ═══════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 22px; margin-bottom: 16px;
  font-family: 'Tajawal', sans-serif;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ═══════════════ Pricing ═══════════════ */
.pricing { align-items: stretch; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.plan__tag {
  position: absolute; top: -13px; inset-inline-end: 24px;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 13px;
  padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.plan__for { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; flex: 1; }
.plan li { color: var(--ink-2); font-weight: 500; font-size: 15.5px; }

/* ═══════════════ FAQ ═══════════════ */
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.faq details[open] { border-color: var(--teal-200); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 17px; padding: 16px 0;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 24px; font-weight: 700; color: var(--teal);
  transition: transform .3s var(--ease); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); padding: 0 0 18px; font-size: 16px; }

/* ═══════════════ CTA band ═══════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--teal-900));
  color: #fff; padding: 76px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(255, 255, 255, .12), transparent 70%);
}
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-bottom: 12px; letter-spacing: -.4px; }
.cta-band p { font-size: 19px; opacity: .92; margin-bottom: 30px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════ Footer ═══════════════ */
.footer { background: var(--ink); color: #CBD5E1; padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.brand-text--footer b { color: #fff; font-size: 22px; }
.brand-text--footer em { color: var(--teal-200); }
.footer__brand p { color: #94A3B8; margin-top: 12px; max-width: 320px; font-size: 15px; }
.footer__col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.footer__col a { display: block; color: #94A3B8; padding: 5px 0; font-size: 15px; transition: color .2s; }
.footer__col a:hover { color: var(--teal-200); }
.footer__bottom { border-top: 1px solid #1E293B; padding-top: 22px; text-align: center; color: #64748B; font-size: 14px; }

/* ═══════════════ Scroll reveal ═══════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════ Responsive ═══════════════ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__mock { order: -1; max-width: 460px; margin-inline: auto; }
  .zatca { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 4px;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(14px);
    padding: 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .35s var(--ease); margin: 0;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 12px 14px; font-size: 16px; }
  .nav__burger { display: flex; }
  .grid--3, .steps, .pricing { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 30px; }
  .trust { flex-direction: column; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero__ticks { gap: 12px; }
  .brand-text em { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   v2 additions — SVG icons, stats, comparison, contact page + form
   ═══════════════════════════════════════════════════════════════════ */

/* Feature icons are now inline SVG (line style) instead of emoji */
.card__icon { color: var(--teal); font-size: 0; }
.card__icon svg { width: 26px; height: 26px; }

/* Hero ticks: draw the checkmark via CSS so copy stays clean */
.hero__ticks li { display: inline-flex; align-items: center; }
.hero__ticks li::before {
  content: '✓'; color: var(--teal); font-weight: 800; margin-inline-end: 7px; font-size: 15px;
}

/* Current nav link */
.nav__links a.is-current { color: var(--teal); background: var(--teal-50); }

/* Larger button */
.btn--lg { padding: 15px 28px; font-size: 17px; }

/* ── Stats band ── */
.stats {
  margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 28px;
}
.stat { text-align: center; }
.stat b {
  display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--teal);
  line-height: 1.1; font-family: 'Tajawal', sans-serif;
}
.stat span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 6px; font-weight: 500; }

/* ── Comparison table ── */
.compare {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; max-width: 900px; margin-inline: auto;
}
.compare__row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center;
  padding: 16px 22px; border-bottom: 1px solid var(--line); gap: 14px;
}
.compare__row:last-child { border-bottom: 0; }
.compare__row > span:first-child { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.compare__row--head { background: var(--surface-2); }
.compare__row--head span { font-weight: 800; color: var(--ink); text-align: center; font-size: 15px; }
.compare__row--head span:first-child { text-align: start; }
.compare__us { color: var(--teal) !important; }
.compare__no, .compare__yes { text-align: center; font-weight: 600; }
.compare__no { color: var(--muted); font-size: 14px; }
.compare__yes {
  color: #fff; background: var(--teal); width: 26px; height: 26px; border-radius: 50%;
  display: inline-grid; place-items: center; margin: 0 auto; font-weight: 800; font-size: 14px;
}
.compare__row:not(.compare__row--head) > span:nth-child(3) {
  display: flex; justify-content: center;
}

/* ── Page hero (contact) ── */
.page-hero { position: relative; padding: 64px 0 40px; text-align: center; overflow: hidden; }
.page-hero__glow {
  position: absolute; inset: -40% 0 auto 0; height: 400px; z-index: -1;
  background:
    radial-gradient(600px 280px at 70% 0%, rgba(20,184,166,.18), transparent 70%),
    linear-gradient(180deg, var(--teal-50), transparent 70%);
}
.page-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.5px; margin: 10px 0 12px; }
.page-hero p { color: var(--ink-2); font-size: 18px; max-width: 620px; margin-inline: auto; }

/* ── Contact grid ── */
.contact-sec { padding-top: 8px; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 34px; align-items: start; }
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
}

/* Form fields */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.req { color: var(--danger); margin-inline-start: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { cursor: pointer; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }
.form-status { margin-top: 12px; text-align: center; font-weight: 700; font-size: 15px; min-height: 22px; }
.form-status.is-sending { color: var(--muted); }
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: var(--danger); }

/* Aside */
.contact-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px;
}
.aside-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.aside-card .checklist li { font-size: 15px; }
.reach {
  display: flex; align-items: center; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.reach:last-child { border-bottom: 0; }
.reach__ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50);
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.reach span:last-child { display: flex; flex-direction: column; }
.reach b { font-weight: 700; font-size: 15px; color: var(--ink); }
.reach em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.reach:hover b { color: var(--teal); }

/* Responsive v2 */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 720px) {
  .compare__row { grid-template-columns: 1.4fr .8fr .8fr; padding: 14px 16px; gap: 8px; }
  .compare__row > span:first-child { font-size: 14px; }
  .compare__row--head span { font-size: 13px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}

/* ── Partner pillars (flagship value cards) ── */
.pillars { margin-top: 4px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.pillar__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-900)); color: #fff;
  margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(15, 118, 110, .75);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 9px; line-height: 1.35; }
.pillar p { color: var(--ink-2); font-size: 15px; }

/* ── Owner control & monitoring ── */
.section--spot { background: linear-gradient(180deg, #ECFDF7, var(--teal-50)); }
.control { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.control h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.4px; margin-bottom: 14px; }
.control__copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 22px; }

/* Live monitoring panel (decorative) */
.monitor {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 20px; max-width: 420px; margin-inline: auto; width: 100%;
}
.monitor__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.monitor__title { display: flex; align-items: center; gap: 10px; }
.monitor__title i { display: block; width: 96px; height: 10px; border-radius: 5px; background: var(--surface-2); }
.monitor__live {
  width: 10px; height: 10px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: mpulse 2s infinite;
}
.monitor__dots { display: flex; gap: 5px; }
.monitor__dots b { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.monitor__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.monitor__kpi { background: var(--surface-2); border-radius: 12px; padding: 12px 10px; text-align: center; }
.monitor__kpi b { display: block; font-size: 18px; font-weight: 800; color: var(--teal); font-family: 'Tajawal', sans-serif; }
.monitor__kpi i { display: block; width: 60%; height: 6px; border-radius: 3px; background: var(--teal-100); margin: 8px auto 0; }
.monitor__feed { display: grid; gap: 10px; }
.feedrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface-2); border-radius: 12px; }
.feedrow__dot { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.feedrow__dot--a { background: var(--teal-200); }
.feedrow__dot--b { background: #FDE68A; }
.feedrow__dot--c { background: #BFDBFE; }
.feedrow__lines { flex: 1; display: grid; gap: 5px; }
.feedrow__lines i { display: block; height: 7px; border-radius: 4px; background: #E2E8F0; }
.feedrow__lines i:first-child { width: 55%; background: #CBD5E1; }
.feedrow__lines i:last-child { width: 78%; }
.feedrow__time { width: 34px; height: 8px; border-radius: 4px; background: var(--teal-100); flex-shrink: 0; }

@keyframes mpulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
@media (prefers-reduced-motion: reduce) { .monitor__live { animation: none; } }

@media (max-width: 960px) {
  .control { grid-template-columns: 1fr; gap: 32px; }
  .control__visual { order: -1; }
}

/* ── Optional-service badge on pillar cards + note ── */
.pillar { position: relative; }
.pillar__badge {
  position: absolute; top: 16px; inset-inline-end: 16px;
  background: var(--teal-50); color: var(--teal); border: 1px solid var(--teal-100);
  font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: 999px;
}
.pillars__note {
  text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px;
  max-width: 760px; margin-inline: auto;
}
