/* =========================================================
   Smart Qore — style.css
   Mobile-first · RTL/LTR · Light theme · No frameworks
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0a1630;          /* deep navy — headings */
  --primary: #3b3fd8;      /* indigo — main actions */
  --primary-strong: #2c2fb5;
  --accent: #12c2d6;       /* cyan — highlights, stamps */
  --accent-ink: #04262c;   /* text on cyan */
  --bg: #ffffff;           /* light sections */
  --surface: #ffffff;
  --surface-2: #f4f6fa;    /* very light grey sections */
  --text: #13213f;
  --muted: #4b5a78;
  --border: #dde5f0;
  --success: #0f8a5f;
  --danger: #c0392b;

  /* "dark" sections are now soft tinted bands (light theme) */
  --dark-bg: #eef4fb;
  --dark-surface: #ffffff;
  --dark-text: #13213f;
  --dark-muted: #4b5a78;
  --tint: #f4f8fe;         /* hero / soft bands */
  --line: rgba(11, 31, 77, .1);

  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.3rem + 2vw, 2.4rem);
  --step-4: clamp(2rem, 1.3rem + 3.4vw, 3.25rem);

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 8px;
  --shadow: 0 1px 2px rgba(11, 31, 77, .06), 0 12px 32px -12px rgba(11, 31, 77, .18);

  --container: 1160px;
  --header-h: 68px;
  --section-y: clamp(4.5rem, 2.5rem + 7vw, 8.5rem);

  color-scheme: light;
}


/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
h1, h2, h3 { line-height: 1.3; color: var(--ink); font-weight: 700; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { line-height: 1.2; letter-spacing: -0.01em; }
p { max-width: 68ch; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #0fb0c3; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: #0b1f4d; }
.btn-light:hover { background: #e8eeff; color: #0b1f4d; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: var(--step--1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -14px rgba(11, 31, 77, .35); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  direction: ltr;
  flex: none;
}
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font-family: var(--font); }
.logo-word b { color: var(--primary); font-weight: 700; }

.site-nav { margin-inline-start: auto; }
.nav-list {
  display: none;
  list-style: none;
  padding: 0;
}
.nav-list a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
  padding: .5rem .2rem;
}
.nav-list a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-inline-start: auto;
}
.site-nav + .header-actions { margin-inline-start: 0; }

.lang-toggle {
  min-width: 44px;
  min-height: 40px;
  padding: .35rem .7rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step--1);
  cursor: pointer;
  color: var(--ink);
}
.lang-toggle:hover { border-color: var(--primary); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

.header-cta { display: none; }

/* Mobile menu panel */
@media (max-width: 959px) {
  .nav-open .nav-list {
    display: grid;
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1.25rem 1.25rem;
    gap: .15rem;
    box-shadow: var(--shadow);
  }
  .nav-open .nav-list a { padding: .75rem .25rem; border-bottom: 1px solid var(--border); }
  .nav-list .nav-cta-mobile { padding-top: .75rem; }
  .nav-list .nav-cta-mobile a { border: 0; }
}

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; gap: 1.6rem; }
  .nav-list .nav-cta-mobile { display: none; }
  .site-nav { margin-inline-start: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--dark-muted); }
.section-alt { background: var(--surface-2); }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head h2 { font-size: var(--step-3); margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-dark .section-head p { color: var(--dark-muted); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 5vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  opacity: .55;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem .35rem .45rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 1.25rem;
}
html[dir="rtl"] .offer-pill { padding: .35rem .45rem .35rem .9rem; }
.offer-pill:hover { border-color: var(--accent); color: var(--ink); }
.offer-pill .dot {
  display: inline-grid;
  place-items: center;
  min-width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
}
.offer-pill .dot svg { width: 15px; height: 15px; }

.hero h1 {
  font-size: var(--step-4);
  margin-bottom: 1.1rem;
  max-width: 20ch;
}
.hero-sub {
  font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-note {
  margin-top: 1.1rem;
  font-size: var(--step--1);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
}
.hero-note span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--success); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}

/* Hero visual — the ledger + ETA stamp */
.hero-visual { position: relative; max-width: 560px; width: 100%; margin-inline: auto; }
.hv-svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(11, 31, 77, .18)); }
.hv-paper { fill: var(--surface); stroke: var(--border); }
.hv-bar-bg { fill: var(--surface-2); }
.hv-line { fill: var(--border); }
.hv-line-strong { fill: color-mix(in srgb, var(--muted) 45%, transparent); }
.hv-ink { fill: var(--ink); }
.hv-primary { fill: var(--primary); }
.hv-accent { fill: var(--accent); }
.hv-accent-stroke { stroke: var(--accent); fill: none; }
.hv-primary-stroke { stroke: var(--primary); fill: none; }
.hv-muted-text { fill: var(--muted); font: 400 12px var(--font); }
.hv-ink-text { fill: var(--ink); font: 700 14px var(--font); }
.hv-stamp-text { fill: var(--accent); font: 700 13px var(--font); letter-spacing: .02em; }

.hv-stamp {
  transform-box: fill-box;
  transform-origin: center;
}
.js .hv-stamp { animation: stamp 0.55s cubic-bezier(.2, .9, .3, 1.3) .6s both; }
@keyframes stamp {
  from { opacity: 0; transform: scale(1.6) rotate(-14deg); }
  to   { opacity: 1; transform: scale(1) rotate(-8deg); }
}
.hv-stamp { transform: rotate(-8deg); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 1.25rem;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.service h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.service > p { color: var(--muted); margin-bottom: 1.1rem; }
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service .checks { margin-bottom: 1.5rem; }
.service .service-link {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.service .service-link:hover { text-decoration: underline; }

.service--featured {
  background: var(--dark-bg);
  border-color: transparent;
  color: var(--dark-text);
}
.service--featured h3 { color: #fff; }
.service--featured > p { color: var(--dark-muted); }
.service--featured .service-icon { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.service--featured .checks li { color: var(--dark-text); }
.service--featured .checks svg { color: var(--accent); }
.service-tag {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .8rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 999px;
}

@media (min-width: 760px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service--featured { grid-row: span 2; padding: 2.25rem; }
  .service--featured h3 { font-size: var(--step-2); }
}

.checks { list-style: none; padding: 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: .3rem; color: var(--primary); }

/* ---------- Why Smart Qore ---------- */
.why-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.why-item svg { width: 28px; height: 28px; color: var(--accent); margin-top: .2rem; }
.why-item h3 { font-size: var(--step-1); margin-bottom: .25rem; }
.why-item p { font-size: .975rem; }
@media (min-width: 760px) {
  .why-grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 1080px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Offer banner ---------- */
.offer {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  overflow: hidden;
}
.offer::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  inset-inline-end: -110px;
  bottom: -170px;
  border-radius: 50%;
  border: 40px solid color-mix(in srgb, var(--accent) 55%, transparent);
  pointer-events: none;
}
.offer h2 { color: #fff; font-size: var(--step-3); margin-bottom: .5rem; }
.offer p { color: #e3e5ff; font-size: 1.075rem; }
.offer-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .75rem; }
.offer-days {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 10px;
  padding: .15rem .75rem;
  margin-bottom: .9rem;
  font-size: var(--step--1);
}
@media (min-width: 860px) {
  .offer { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.5rem;
  padding-top: 4.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: 1.25rem;
  inset-inline-start: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
}
.step h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .975rem; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.35rem;
    inset-inline-start: calc(1.5rem + 2.25rem + .5rem);
    inset-inline-end: -1.25rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
  }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 2rem; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } }
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .2s;
}
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--r-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s;
  margin-top: -6px;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq-body { padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* ---------- Forms ---------- */
.contact-wrap { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-wrap { grid-template-columns: .85fr 1.15fr; gap: 4rem; } }

.contact-points { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.75rem; }
.contact-points li { display: flex; gap: .85rem; align-items: center; }
.contact-points .cp-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--accent);
}
.contact-points svg { width: 22px; height: 22px; }
.contact-points a { color: #fff; text-decoration: none; font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.contact-points a:hover { text-decoration: underline; color: #fff; }
.contact-points small { display: block; color: var(--dark-muted); font-size: .85rem; }

.form-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-card h2, .form-card h3 { color: var(--ink); }
.form-card .form-title { font-size: var(--step-1); margin-bottom: .25rem; }
.form-card .form-lead { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .925rem; color: var(--ink); }
.field .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%234b5a78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px 8px;
  background-repeat: no-repeat;
  background-position: left .9rem center;
  padding-inline-end: 2.5rem;
}
html[dir="ltr"] .field select { background-position: right .9rem center; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent);
}
.field input:user-invalid,
.field select:user-invalid { border-color: var(--danger); }
.field input[type="tel"] { direction: ltr; }
html[dir="rtl"] .field input[type="tel"],
html[dir="rtl"] .field input[type="email"] { text-align: right; }
.field-hint { font-size: .8rem; color: var(--muted); }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { margin-top: 1.25rem; display: grid; gap: .75rem; }
.form-privacy { font-size: .8rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.form-privacy svg { width: 16px; height: 16px; flex: none; color: var(--success); }
.form-status { font-size: .9rem; min-height: 1.4em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--success); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-muted);
  padding-block: 3.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer .logo-word b { color: var(--accent); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .ltr { direction: ltr; unicode-bidi: isolate; }
.footer-about { margin-top: .9rem; font-size: .95rem; max-width: 40ch; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  z-index: 60;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  right: 1.1rem;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(15, 80, 40, .55);
  transition: transform .2s, bottom .3s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll (subtle) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   ERP landing page
   ========================================================= */
.lp-hero {
  position: relative;
  padding-block: clamp(2rem, 1rem + 4vw, 4.5rem);
  background: var(--dark-bg);
  color: var(--dark-text);
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 0% 0%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 75%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 48px;
  pointer-events: none;
}
.lp-hero-grid {
  position: relative;
  display: grid;
  gap: 1.75rem;
  grid-template-areas: "head" "form" "points";
}
.lp-head { grid-area: head; }
.lp-hero-grid > .form-card { grid-area: form; }
.lp-points { grid-area: points; }
@media (min-width: 960px) {
  .lp-hero-grid {
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "head form" "points form";
    column-gap: 3.5rem;
    row-gap: 0;
  }
  .lp-head { align-self: end; }
  .lp-points { align-self: start; }
}
.lp-hero h1 {
  color: #fff;
  font-size: var(--step-4);
  margin-bottom: 1rem;
  max-width: 17ch;
}
.lp-hero .hero-sub { color: var(--dark-muted); margin-bottom: 0; }
@media (min-width: 960px) { .lp-hero .hero-sub { margin-bottom: 1.5rem; } }
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: var(--step--1);
  margin-bottom: 1.1rem;
}
.lp-badge svg { width: 16px; height: 16px; }
.module-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; list-style: none; padding: 0; }
.module-chips li {
  padding: .3rem .85rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: .9rem;
  color: #fff;
}
.lp-hero .checks li { color: var(--dark-text); }
.lp-hero .checks svg { color: var(--accent); }
.lp-hero .form-card { border-color: transparent; }

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-list {
  list-style: none;
  padding: 1.25rem 0;
  display: grid;
  gap: 1rem;
}
.trust-list li { display: flex; align-items: center; gap: .75rem; font-weight: 700; color: var(--ink); }
.trust-list svg { width: 28px; height: 28px; flex: none; color: var(--primary); }
.trust-list small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
@media (min-width: 760px) { .trust-list { grid-template-columns: repeat(3, 1fr); padding-block: 1.5rem; } }

.included {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.included li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--r-sm);
}
.included svg { width: 26px; height: 26px; color: var(--primary); margin-top: .2rem; }
.included h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.included p { color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) { .included { grid-template-columns: 1fr 1fr; } }

.modules-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.module {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.module .service-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: .85rem; }
.module .service-icon svg { width: 24px; height: 24px; }
.module h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.module p { color: var(--muted); font-size: .95rem; }
@media (min-width: 560px) { .modules-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .modules-grid { grid-template-columns: repeat(3, 1fr); } }

.after-trial {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) { .after-trial { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.after-trial .checks li { color: var(--dark-text); }
.after-trial .checks svg { color: var(--accent); }
.price-note {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  background: var(--dark-surface);
}
.price-note .pn-label { color: var(--dark-muted); font-size: .95rem; }
.price-note .pn-big { color: #fff; font-size: var(--step-2); font-weight: 700; line-height: 1.35; margin: .35rem 0 1rem; }

.final-cta { text-align: center; }
.final-cta h2 { font-size: var(--step-3); margin-bottom: .6rem; }
.final-cta p { margin-inline: auto; color: var(--muted); margin-bottom: 1.5rem; }

.lp-footer {
  padding-block: 1.75rem calc(1.75rem + 72px);
  background: var(--dark-bg);
  color: var(--dark-muted);
  font-size: .875rem;
}
.lp-footer .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.lp-footer a { color: var(--dark-text); }
@media (min-width: 760px) { .lp-footer { padding-bottom: 1.75rem; } }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  z-index: 55;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  gap: .6rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px -18px rgba(11, 31, 77, .45);
  transition: transform .3s ease;
}
.sticky-cta .btn { flex: 1; }
.sticky-cta.is-hidden { transform: translateY(110%); }
@media (min-width: 760px) { .sticky-cta { display: none; } }
.sticky-visible .wa-float { bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 760px) { .sticky-visible .wa-float { bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); } }

/* =========================================================
   Thank-you & 404
   ========================================================= */
.thanks {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding-block: 3rem;
}
.thanks-card {
  max-width: 640px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  box-shadow: var(--shadow);
}
.thanks-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
}
.thanks-icon svg { width: 38px; height: 38px; }
.thanks-card h1 { font-size: var(--step-3); margin-bottom: .6rem; }
.thanks-card > p { color: var(--muted); margin: 0 auto 1.5rem; }
.next-steps {
  list-style: none;
  padding: 0;
  text-align: start;
  display: grid;
  gap: .75rem;
  margin-bottom: 1.75rem;
  counter-reset: ns;
}
.next-steps li {
  counter-increment: ns;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  padding: .85rem 1rem;
  background: var(--surface-2);
  border-radius: var(--r-sm);
}
.next-steps li::before {
  content: counter(ns);
  display: grid; place-items: center;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: .9rem;
}
.thanks-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .sticky-cta, .nav-toggle { display: none !important; }
  .section-dark, .lp-hero, .site-footer { background: #fff; color: #000; }
}

/* =========================================================
   Added: privacy page, editable slots, uploaded images
   ========================================================= */
.legal { max-width: 760px; }
.legal h1 { font-size: var(--step-3); margin-bottom: .4rem; }
.legal h2 { font-size: var(--step-1); margin: 2rem 0 .5rem; }
.legal p { color: var(--muted); margin-bottom: .75rem; }
.legal-updated { font-size: .9rem; margin-bottom: 1.75rem !important; }
.lp-footer--plain { padding-bottom: 1.75rem; }

.footer-extra { margin-top: .45rem; }
.footer-extra:empty { display: none; }
.footer-extra .fx-label { color: var(--dark-muted); font-size: .85rem; display: block; }

.social-links { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin-top: .5rem; }
.social-links a {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 .75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff; text-decoration: none; font-size: .875rem; font-weight: 700;
}
.social-links a:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.logo-img { display: block; height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.hero-img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* =========================================================
   v3 — premium homepage: hero slider, deep navy, cyan CTAs
   ========================================================= */

/* ---------- Buttons: cyan is the action colour ---------- */
.btn { border-radius: 8px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #3dd3e3; color: var(--accent-ink); }
.btn-lg { min-height: 54px; padding: .85rem 1.7rem; font-size: 1.05rem; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: #fff; color: var(--dark-bg); border-color: #fff; }

/* Long English words behind headings must never cause sideways scroll */
.section, .hero-slider { overflow-x: hidden; overflow-x: clip; }

/* ---------- Section headings ---------- */
.section-head { position: relative; isolation: isolate; padding-top: .5rem; }
.section-head h2 {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.1rem);
  line-height: 1.25;
  margin-bottom: 1.1rem;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: var(--accent);
}
.sh-bg {
  position: absolute;
  z-index: -1;
  top: -.42em;
  inset-inline-start: -.04em;
  font-size: clamp(4.2rem, 2.6rem + 7vw, 9rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  /* painted through background-clip so it stays a pure decoration */
  color: transparent;
  background: linear-gradient(var(--ink), var(--ink));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .05;
  pointer-events: none;
  user-select: none;
  direction: ltr;
}
html[dir="rtl"] .sh-bg { direction: rtl; unicode-bidi: plaintext; }
.section-dark .sh-bg { background: linear-gradient(#fff, #fff); -webkit-background-clip: text; background-clip: text; opacity: .06; }

/* ---------- Header over the hero ---------- */
.has-hero .site-header {
  position: fixed;
  inset-inline: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo-word,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo-word b { color: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo-word b { color: var(--accent); }
@media (min-width: 960px) {
  .has-hero .site-header:not(.is-scrolled) .nav-list a { color: rgba(255, 255, 255, .88); }
  .has-hero .site-header:not(.is-scrolled) .nav-list a:hover { color: #fff; }
}
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .lang-toggle,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.has-hero .site-header.is-scrolled,
.has-hero .site-header.nav-open {
  background: var(--surface);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px -18px rgba(10, 22, 48, .45);
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  background: var(--dark-bg);
  color: #fff;
}
.hs-slides { display: grid; }
.hs-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
  min-height: 70svh;
  padding-block: calc(var(--header-h) + 2.5rem) 6rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
@media (min-width: 760px) { .hs-slide { min-height: 85vh; min-height: 85svh; } }

.hs-media { position: absolute; inset: 0; overflow: hidden; }
.hs-img { width: 100%; height: 100%; object-fit: cover; }
html[dir="ltr"] .hs-img.hs-flip { transform: scaleX(-1); }
.hs-slide.is-active .hs-media { animation: hs-kenburns 7s ease-out both; }
@keyframes hs-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

.hs-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 22, 48, .9) 0%, rgba(10, 22, 48, 0) 38%),
    linear-gradient(to left, rgba(10, 22, 48, .96) 0%, rgba(10, 22, 48, .82) 38%, rgba(10, 22, 48, .25) 72%, rgba(10, 22, 48, .1) 100%);
}
html[dir="ltr"] .hs-overlay {
  background:
    linear-gradient(to top, rgba(10, 22, 48, .9) 0%, rgba(10, 22, 48, 0) 38%),
    linear-gradient(to right, rgba(10, 22, 48, .96) 0%, rgba(10, 22, 48, .82) 38%, rgba(10, 22, 48, .25) 72%, rgba(10, 22, 48, .1) 100%);
}
@media (max-width: 759px) {
  .hs-overlay, html[dir="ltr"] .hs-overlay {
    background: linear-gradient(to top, rgba(10, 22, 48, .97) 15%, rgba(10, 22, 48, .78) 60%, rgba(10, 22, 48, .55) 100%);
  }
}

.hs-content { position: relative; z-index: 1; }
.hs-content > * { max-width: 580px; }
.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--accent);
  margin-bottom: 1rem;
}
.hs-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.hs-title {
  color: #fff;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.7rem);
  line-height: 1.22;
  max-width: 17ch;
  margin-bottom: 1.1rem;
}
html[lang="en"] .hs-title { line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; }
.hs-desc { color: #c9d4f2; font-size: clamp(1.02rem, .95rem + .45vw, 1.25rem); margin-bottom: 2rem; max-width: 44ch; }
.hs-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Text arrives in steps when a slide becomes active (JS only) */
.js .hs-slide .hs-content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .hs-slide.is-active .hs-content > * { opacity: 1; transform: none; }
.js .hs-slide.is-active .hs-content > :nth-child(1) { transition-delay: .25s; }
.js .hs-slide.is-active .hs-content > :nth-child(2) { transition-delay: .38s; }
.js .hs-slide.is-active .hs-content > :nth-child(3) { transition-delay: .5s; }
.js .hs-slide.is-active .hs-content > :nth-child(4) { transition-delay: .62s; }
.js .hs-slide.is-first .hs-content > * { transition: none; }

/* Controls (built by JS) */
.hs-controls {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hs-dots { display: flex; gap: .5rem; align-items: center; }
.hs-dot {
  position: relative;
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hs-dot::before, .hs-dot::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
}
.hs-dot::after { background: var(--accent); transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] .hs-dot::after { transform-origin: left; }
.hs-dot[aria-current="true"]::after { transform: scaleX(1); }
.hero-slider.is-playing .hs-dot[aria-current="true"]::after { animation: hs-progress var(--hs-interval, 6500ms) linear both; }
.hero-slider.is-paused .hs-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes hs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hs-arrows { display: none; gap: .5rem; margin-inline-start: auto; }
.hs-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .4);
  background: rgba(10, 22, 48, .35);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.hs-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hs-arrow svg { width: 22px; height: 22px; }
html[dir="rtl"] .hs-arrow svg { transform: scaleX(-1); }
@media (min-width: 760px) { .hs-arrows { display: flex; } }

@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-active .hs-media { animation: none; }
  .hs-slide { transition: none; }
}

/* ---------- Image cards (services) ---------- */
.services-grid { gap: 1.5rem; }
@media (min-width: 760px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  transition: box-shadow .35s ease, border-color .35s ease;
}
.service:hover { box-shadow: 0 22px 44px -24px rgba(10, 22, 48, .45); border-color: transparent; }
.card-media {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--dark-bg);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
html[dir="ltr"] .card-media img { transform: scaleX(-1); }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity .45s ease;
}
.service:hover .card-media img { transform: scale(1.06); }
html[dir="ltr"] .service:hover .card-media img { transform: scaleX(-1) scale(1.06); }
.service:hover .card-media::after { opacity: .45; }
.card-media .service-tag { z-index: 1; top: 1rem; inset-inline-end: 1rem; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.75rem; }
.card-body h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.card-body > p { color: var(--muted); margin-bottom: 1.1rem; }
.card-body .checks { margin-bottom: 1.5rem; }
.card-body .btn, .card-body .service-link { margin-top: auto; align-self: flex-start; }

/* ---------- Floating "Book a demo" (desktop only) ---------- */
.demo-float {
  position: fixed;
  z-index: 60;
  right: 1.1rem;
  bottom: calc(1.1rem + 56px + .75rem + env(safe-area-inset-bottom, 0px));
  display: none;
  align-items: center;
  min-height: 46px;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px -10px rgba(10, 22, 48, .5);
  transition: transform .2s;
}
.demo-float:hover { color: var(--accent-ink); transform: translateY(-2px); }
@media (min-width: 760px) { .demo-float { display: inline-flex; } }
.wa-float { right: 1.1rem; }

/* Softer card corners everywhere */
.form-card, .faq-item, .step, .offer, .thanks-card, .module, .included li, .price-note, .trust-strip { border-radius: 8px; }
.trust-strip { border-radius: 0; }
.hs-media--empty { background: radial-gradient(70% 70% at 20% 20%, rgba(59, 63, 216, .55), transparent 70%), radial-gradient(60% 60% at 80% 90%, rgba(18, 194, 214, .25), transparent 70%), var(--dark-bg); }
@media (max-width: 759px) {
  .hs-controls { justify-content: center; bottom: 1.25rem; }
  .hs-slide { padding-bottom: 5rem; }
}

/* =========================================================
   v4 — Light theme (all sections light, navy text, cyan/indigo accents)
   ========================================================= */
/* Soft bands that used to be dark */
.section-dark { background: linear-gradient(180deg, #f3f7fd 0%, #eaf2fb 100%); color: var(--text); }
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark .sh-bg { background: linear-gradient(var(--ink), var(--ink)); -webkit-background-clip: text; background-clip: text; opacity: .05; }
.why-grid { border-top-color: var(--line); }
.why-item { border-bottom-color: var(--line); }
.why-item svg { color: var(--primary); }

/* Featured service card */
.service--featured { background: var(--surface); border-color: var(--border); color: var(--text); }
.service--featured h3 { color: var(--ink); }
.service--featured > p { color: var(--muted); }
.service--featured .checks li { color: var(--text); }
.service--featured .checks svg { color: var(--primary); }
.service--featured .service-icon { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.card-media { background: var(--tint); }
.hs-media--empty { background: radial-gradient(70% 70% at 20% 20%, rgba(59, 63, 216, .14), transparent 70%), radial-gradient(60% 60% at 80% 90%, rgba(18, 194, 214, .16), transparent 70%), var(--tint); }

/* Contact block */
.contact-points .cp-icon { background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); }
.contact-points a, .contact-points a:hover { color: var(--ink); }
.contact-points small { color: var(--muted); }
.section-dark .form-card { border-color: var(--border); }

/* Footer */
.site-footer { background: #f3f7fd; color: var(--muted); border-top: 1px solid var(--border); }
.site-footer .logo, .site-footer h3 { color: var(--ink); }
.site-footer .logo-word b { color: var(--primary); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--primary); }
.footer-bottom { border-top-color: var(--border); }
.footer-extra .fx-label { color: var(--muted); }
.social-links a { background: #fff; border: 1px solid var(--border); color: var(--ink); }
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Header over the hero: navy text on the light hero */
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo-word { color: var(--ink); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .logo-word b { color: var(--primary); }
@media (min-width: 960px) {
  .has-hero .site-header:not(.is-scrolled) .nav-list a { color: var(--text); }
  .has-hero .site-header:not(.is-scrolled) .nav-list a:hover { color: var(--primary); }
}
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .lang-toggle,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle {
  background: rgba(255, 255, 255, .7);
  border-color: var(--border);
  color: var(--ink);
}
.has-hero .site-header.is-scrolled,
.has-hero .site-header.nav-open {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 8px 28px -20px rgba(11, 31, 77, .35);
}

/* Hero slider — light */
.hero-slider { background: var(--tint); color: var(--text); }
.hs-overlay {
  background:
    linear-gradient(to top, rgba(244, 248, 254, .95) 0%, rgba(244, 248, 254, 0) 30%),
    linear-gradient(to left, rgba(244, 248, 254, .97) 0%, rgba(244, 248, 254, .88) 38%, rgba(244, 248, 254, .2) 70%, rgba(244, 248, 254, 0) 100%);
}
html[dir="ltr"] .hs-overlay {
  background:
    linear-gradient(to top, rgba(244, 248, 254, .95) 0%, rgba(244, 248, 254, 0) 30%),
    linear-gradient(to right, rgba(244, 248, 254, .97) 0%, rgba(244, 248, 254, .88) 38%, rgba(244, 248, 254, .2) 70%, rgba(244, 248, 254, 0) 100%);
}
@media (max-width: 759px) {
  .hs-overlay, html[dir="ltr"] .hs-overlay {
    background: linear-gradient(to top, rgba(244, 248, 254, .98) 20%, rgba(244, 248, 254, .9) 60%, rgba(244, 248, 254, .82) 100%);
  }
}
.hs-eyebrow { color: #0b8fa0; }
.hs-eyebrow::before { background: var(--accent); }
.hs-title { color: var(--ink); }
.hs-desc { color: var(--muted); }
.hs-dot::before { background: rgba(11, 31, 77, .16); }
.hs-arrow { border-color: var(--border); background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(11, 31, 77, .35); }
.btn-outline-light { color: var(--ink); border-color: rgba(11, 31, 77, .25); background: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ERP landing page — light */
.lp-hero { background: linear-gradient(180deg, #f3f7fd 0%, #eaf2fb 100%); color: var(--text); }
.lp-hero::before {
  background:
    radial-gradient(70% 55% at 0% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 75%),
    linear-gradient(rgba(11, 31, 77, .05) 1px, transparent 1px) 0 0 / 100% 48px;
}
.lp-hero h1 { color: var(--ink); }
.lp-hero .hero-sub { color: var(--muted); }
.module-chips li { border-color: var(--border); background: #fff; color: var(--ink); }
.lp-hero .checks li { color: var(--text); }
.lp-hero .checks svg { color: var(--primary); }
.lp-hero .form-card { border-color: var(--border); }
.after-trial .checks li { color: var(--text); }
.after-trial .checks svg { color: var(--primary); }
.price-note { border-color: var(--border); background: #fff; box-shadow: var(--shadow); }
.price-note .pn-big { color: var(--ink); }
.lp-footer { background: #f3f7fd; border-top: 1px solid var(--border); color: var(--muted); }
.lp-footer a { color: var(--text); }

/* =========================================================
   v5 — Saudi thobe-tailoring landing page (/thobe-tailoring-system)
   Gold accent borrowed from the product banner, used sparingly
   ========================================================= */
.thobe-page { --gold: #c9a24a; --gold-ink: #5a4310; }
.th-hero {
  position: relative;
  padding-block: calc(var(--header-h) * .4 + clamp(1.5rem, 1rem + 3vw, 3.5rem)) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(201, 162, 74, .14), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(18, 194, 214, .12), transparent 70%),
    linear-gradient(180deg, #f6f9fe 0%, #eef4fb 100%);
  overflow: hidden;
}
.th-hero-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 980px) { .th-hero-grid { grid-template-columns: .95fr 1.05fr; } }
.th-copy { min-width: 0; }
.th-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: var(--step--1); color: var(--gold-ink);
  margin-bottom: 1rem;
}
.th-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.th-hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.th-lead { color: var(--muted); font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); margin-bottom: 1.75rem; max-width: 52ch; }
.th-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.th-wa { background: #fff; }
.th-wa svg { color: #1fa855; }
.th-offer { margin-top: 1.25rem; font-size: .95rem; color: var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.th-offer-tag { background: var(--gold); color: #1d1606; font-weight: 700; font-size: .8rem; padding: .15rem .65rem; border-radius: 6px; }
.th-banner { margin: 0; min-width: 0; }
.th-banner img {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(11, 31, 77, .45), 0 0 0 1px rgba(11, 31, 77, .06);
}

.th-for { background: #fff; border-block: 1px solid var(--border); }
.th-for-list {
  list-style: none; padding: 1.1rem 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.75rem;
  font-weight: 700; color: var(--ink); font-size: .95rem;
}
.th-for-list li { display: inline-flex; align-items: center; gap: .5rem; }
.th-for-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.th-features { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .th-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .th-features { grid-template-columns: repeat(3, 1fr); } }
.th-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.th-feature:hover { box-shadow: 0 22px 44px -26px rgba(11, 31, 77, .4); border-color: transparent; transform: translateY(-2px); }
.th-feature .service-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem; }
.th-feature .service-icon svg { width: 24px; height: 24px; }
.th-feature h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.th-feature p { color: var(--muted); font-size: .95rem; }

.th-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: flow; }
@media (min-width: 760px) { .th-flow { grid-template-columns: repeat(5, 1fr); } }
.th-flow li {
  counter-increment: flow;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3.6rem 1.15rem 1.25rem;
}
.th-flow li::before {
  content: counter(flow);
  position: absolute; top: 1.1rem; inset-inline-start: 1.15rem;
  display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem;
}
.th-flow li:last-child::before { background: var(--gold); color: #1d1606; }
.th-flow b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .25rem; }
.th-flow span { color: var(--muted); font-size: .92rem; line-height: 1.6; display: block; }

.th-demo { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .th-demo { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; } }
.th-demo .checks { margin-top: 1.25rem; }
.th-direct { margin-top: 1.5rem; color: var(--muted); }
.th-direct a { font-weight: 700; color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.thobe-page .site-header { background: rgba(255, 255, 255, .92); border-bottom-color: var(--border); }
