/* ═══════════════════════════════════════════════════════════════════
   KF Agency — Industry landing pages (shared)
   ───────────────────────────────────────────────────────────────────
   Minimal-chrome, conversion-focused landing pages for paid traffic.
   Bilingual (AR default, EN toggle via [data-en]/[data-ar] swap).
   Form posts to /api/lead.php with source=landing-<industry>.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --kf-display: 'Space Grotesk', 'Cairo', 'DM Sans', system-ui, sans-serif;
  --kf-body-en: 'DM Sans', system-ui, sans-serif;
  --kf-body-ar: 'Cairo', system-ui, sans-serif;
  --kf-grad: linear-gradient(120deg, #e040a0 0%, #8a5cf6 45%, #38bdf8 100%);
  --kf-grad-warm: linear-gradient(135deg, #ff6b9d 0%, #e040a0 50%, #8a5cf6 100%);
  --kf-grad-cool: linear-gradient(135deg, #8a5cf6 0%, #38bdf8 100%);

  --bg:           #ffffff;
  --bg-alt:       #faf9fd;
  --surface:      #ffffff;
  --surface-2:    #f5f3fa;
  --surface-hover:#f0ecf8;
  --border:       #ece8f5;
  --border-2:     #dad4ec;
  --border-accent:#c5b9e5;

  --heading:      #0f0d24;
  --text:         #2c2740;
  --text-dim:     #5b556f;
  --text-faint:   #8b859e;
  --accent:       #8a5cf6;
  --accent-pink:  #e040a0;
  --accent-blue:  #38bdf8;
  --success:      #16a34a;
  --danger:       #dc2626;
  --whatsapp:     #25d366;

  --shadow-sm: 0 4px 24px rgba(15,13,36,.05), 0 1px 3px rgba(15,13,36,.04);
  --shadow-md: 0 12px 48px rgba(138,92,246,.12), 0 4px 12px rgba(15,13,36,.06);
  --shadow-cta: 0 16px 44px rgba(224,64,160,.32);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--kf-body-en);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[dir="rtl"] { font-family: var(--kf-body-ar); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* Skip link */
.kf-skip { position:absolute; top:-100px; right:0; left:0; background:var(--heading); color:#fff; padding:10px 18px; z-index:9999; font-weight:700; text-align:center; transition:top .2s; }
.kf-skip:focus { top:0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.accent {
  background: var(--kf-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ═══════════════════════ TOP BAR ═══════════════════════ */
.kf-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.kf-top-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.kf-top-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--kf-display); font-weight: 700; font-size: 18px;
  color: var(--heading); letter-spacing: -.02em;
}
.kf-top-logo img { height: 30px; width: auto; }
.kf-top-actions { display: flex; align-items: center; gap: 10px; }
.kf-top-wa {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(37,211,102,.1);
  color: var(--whatsapp); font-weight: 600; font-size: 13.5px;
  border: 1px solid rgba(37,211,102,.25);
  transition: background .2s;
}
.kf-top-wa:hover { background: rgba(37,211,102,.18); }
.kf-top-wa svg { width: 14px; height: 14px; }
.kf-lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface-2); color: var(--heading);
  font-weight: 700; font-size: 13px;
  border: 1px solid var(--border-2);
  transition: background .2s, border-color .2s, color .2s;
  font-family: var(--kf-display);
  cursor: pointer;
}
.kf-lang-toggle:hover { background: var(--surface-hover); border-color: var(--border-accent); color: var(--accent); }
.kf-lang-toggle svg { width: 13px; height: 13px; opacity: .7; }

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%);
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,64,160,.15), transparent 70%);
  filter: blur(80px); z-index: 0; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -200px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.15), transparent 70%);
  filter: blur(80px); z-index: 0; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 980px; margin: 0 auto;
  padding: 0 24px; text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  color: var(--text-dim); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.hero-headline {
  font-family: var(--kf-display);
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -.035em; color: var(--heading);
  margin: 0 auto 22px; max-width: 820px;
}
body[dir="rtl"] .hero-headline { font-family: var(--kf-body-ar); font-weight: 800; line-height: 1.25; letter-spacing: 0; }
.hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7; color: var(--text-dim);
  max-width: 660px; margin: 0 auto 32px;
}

.hero-cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 22px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  line-height: 1.2;
}
.btn-primary { background: var(--kf-grad); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 52px rgba(224,64,160,.4); }
.btn-secondary { background: var(--surface); color: var(--heading); border-color: var(--border-2); }
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--border-accent); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { transform: translateY(-2px); background: #1fb858; }

.hero-microtrust {
  font-size: 13.5px; color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: center;
}
.hero-microtrust strong { color: var(--heading); font-weight: 700; }

/* ═══════════════════════ PROOF STRIP ═══════════════════════ */
.proof {
  max-width: 980px; margin: 0 auto;
  padding: 0 24px;
  margin-top: -16px; position: relative; z-index: 2;
}
.proof-band {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.proof-num {
  font-family: var(--kf-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700; line-height: 1; letter-spacing: -.04em;
  background: var(--kf-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.proof-label {
  font-size: 12.5px; color: var(--text-dim);
  font-weight: 600; line-height: 1.4;
}
@media (max-width: 720px) {
  .proof-band { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 22px 16px; }
}

/* ═══════════════════════ SECTION SCAFFOLD ═══════════════════════ */
section { padding: 80px 0; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .3em; text-transform: uppercase;
  background: var(--kf-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--kf-display);
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -.03em; color: var(--heading);
  margin-bottom: 14px;
}
body[dir="rtl"] .section-head h2 { font-family: var(--kf-body-ar); font-weight: 800; letter-spacing: 0; }
.section-head p {
  font-size: 16.5px; line-height: 1.7;
  color: var(--text-dim);
}

/* ═══════════════════════ PAIN POINTS ═══════════════════════ */
.pains { background: var(--bg-alt); }
.pains-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.pain-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-accent); }
.pain-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220,38,38,.08); color: var(--danger);
  font-size: 22px; margin-bottom: 16px;
}
.pain-card h3 {
  font-family: var(--kf-display);
  font-size: 18px; font-weight: 700;
  color: var(--heading); margin-bottom: 8px;
}
body[dir="rtl"] .pain-card h3 { font-family: var(--kf-body-ar); font-weight: 700; }
.pain-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-dim); }
@media (max-width: 800px) { .pains-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════ CAPABILITIES ═══════════════════════ */
.caps-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.cap-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; gap: 18px; align-items: flex-start;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-accent); }
.cap-icon {
  width: 48px; height: 48px; border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--kf-grad); color: #fff;
  font-family: var(--kf-display); font-weight: 800; font-size: 18px;
}
.cap-card.cool .cap-icon { background: var(--kf-grad-cool); }
.cap-card.warm .cap-icon { background: var(--kf-grad-warm); }
.cap-body h3 {
  font-family: var(--kf-display);
  font-size: 18px; font-weight: 700;
  color: var(--heading); margin-bottom: 8px;
}
body[dir="rtl"] .cap-body h3 { font-family: var(--kf-body-ar); font-weight: 700; }
.cap-body p { font-size: 14.5px; line-height: 1.65; color: var(--text-dim); }
@media (max-width: 800px) { .caps-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════ CLIENT STRIP (MARQUEE) ═══════════════════════ */
.clients {
  background: #ececf2;
  padding: 36px 0;
  border-top: 1px solid #dcdce4;
  border-bottom: 1px solid #dcdce4;
}
.clients-label {
  text-align: center; font-size: 11px; font-weight: 800;
  letter-spacing: .25em; text-transform: uppercase;
  color: #6b6878; margin-bottom: 22px;
}
.clients-marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex; gap: 48px;
  width: max-content;
  padding: 4px 0;
  animation: clientsScroll 38s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
body[dir="rtl"] .clients-track { animation-name: clientsScrollAr; }
@keyframes clientsScrollAr {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.client-name {
  font-family: var(--kf-display); font-weight: 600; font-size: 17px;
  color: #5b596c; letter-spacing: -.01em;
  white-space: nowrap; flex-shrink: 0;
  transition: color .2s;
}
.client-name:hover { color: var(--heading); }
body[dir="rtl"] .client-name { font-family: var(--kf-body-ar); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 18px 32px; width: 100%; padding: 4px 24px; }
  .clients-marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ═══════════════════════ WORK SAMPLES (placeholder) ═══════════════════════ */
.samples-placeholder {
  border: 2px dashed var(--border-2); border-radius: var(--radius);
  padding: 48px 24px; text-align: center;
  color: var(--text-faint); font-size: 14px;
  background: var(--surface-2);
}
.samples-placeholder strong { color: var(--text-dim); display: block; margin-bottom: 6px; font-size: 15px; }

/* ═══════════════════════ FORM SECTION ═══════════════════════ */
.form-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  position: relative; overflow: hidden;
}
.form-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138,92,246,.08), transparent 70%);
  filter: blur(60px); z-index: 0; pointer-events: none;
}
.form-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start;
}
body[dir="rtl"] .form-grid { direction: rtl; }
.form-lead h2 {
  font-family: var(--kf-display);
  font-size: clamp(26px, 3.6vw, 38px); font-weight: 700;
  line-height: 1.15; letter-spacing: -.03em;
  color: var(--heading); margin-bottom: 18px;
}
body[dir="rtl"] .form-lead h2 { font-family: var(--kf-body-ar); font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.form-lead > p {
  font-size: 16px; line-height: 1.7;
  color: var(--text-dim); margin-bottom: 28px;
}
.next-steps { list-style: none; padding: 0; margin: 0; }
.next-steps li {
  position: relative; padding: 14px 0 14px 52px;
  border-top: 1px solid var(--border);
  font-size: 14.5px; color: var(--text-dim); line-height: 1.55;
}
body[dir="rtl"] .next-steps li { padding: 14px 52px 14px 0; }
.next-steps li:first-child { border-top: none; padding-top: 6px; }
.next-steps li strong {
  display: block; color: var(--heading); font-weight: 700;
  font-family: var(--kf-display); margin-bottom: 2px; font-size: 15px;
}
body[dir="rtl"] .next-steps li strong { font-family: var(--kf-body-ar); font-weight: 700; }
.next-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute; left: 0; top: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--kf-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--kf-display); font-weight: 700; font-size: 14px;
}
body[dir="rtl"] .next-steps li::before { left: auto; right: 0; }
.next-steps { counter-reset: step; }
.next-steps li:first-child::before { top: 6px; }

/* Form card */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-family: var(--kf-display);
  font-size: 20px; font-weight: 700;
  color: var(--heading); margin-bottom: 6px;
}
body[dir="rtl"] .form-card h3 { font-family: var(--kf-body-ar); font-weight: 800; }
.form-card .form-intro {
  font-size: 13.5px; color: var(--text-dim); margin-bottom: 22px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--heading); margin-bottom: 6px;
  letter-spacing: .02em;
}
.field label .req { color: var(--accent-pink); margin-left: 2px; }
body[dir="rtl"] .field label .req { margin-left: 0; margin-right: 2px; }
.field input,
.field select {
  width: 100%; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border-2);
  background: var(--surface); color: var(--heading);
  font-size: 14.5px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(138,92,246,.12);
}
.field input::placeholder { color: var(--text-faint); }
.field .hint { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; clip: rect(0 0 0 0); clip-path: inset(50%); }
.honeypot label, .honeypot input { position: absolute; left: -9999px; }

.form-actions { margin-top: 22px; }
.btn-submit {
  width: 100%; padding: 15px 24px; border-radius: 999px;
  background: var(--kf-grad); color: #fff;
  font-family: var(--kf-display); font-weight: 700; font-size: 16px;
  border: none; box-shadow: var(--shadow-cta);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 52px rgba(224,64,160,.4); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.form-or {
  text-align: center; font-size: 12.5px;
  color: var(--text-faint); margin: 14px 0 10px;
  letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.btn-wa-form {
  width: 100%; padding: 13px 24px; border-radius: 999px;
  background: rgba(37,211,102,.1); color: var(--whatsapp);
  font-weight: 700; font-size: 14.5px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1.5px solid rgba(37,211,102,.3);
  transition: background .2s;
}
.btn-wa-form:hover { background: rgba(37,211,102,.18); }
.btn-wa-form svg { width: 16px; height: 16px; }

.form-success {
  display: none; text-align: center; padding: 12px 0;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(22,163,74,.12); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 18px;
}
.form-success h3 {
  font-family: var(--kf-display); font-size: 20px;
  font-weight: 700; color: var(--heading); margin-bottom: 8px;
}
body[dir="rtl"] .form-success h3 { font-family: var(--kf-body-ar); font-weight: 800; }
.form-success p { font-size: 14.5px; color: var(--text-dim); margin-bottom: 18px; }

.form-error {
  display: none; padding: 11px 14px; border-radius: var(--radius-sm);
  background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.25);
  color: var(--danger); font-size: 13.5px; margin-top: 12px;
}
.form-error.show { display: block; }

.privacy-note {
  font-size: 11.5px; color: var(--text-faint);
  text-align: center; margin-top: 14px; line-height: 1.5;
}

@media (max-width: 880px) {
  .form-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ═══════════════════════ FAQ ═══════════════════════ */
.faq { background: var(--bg-alt); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%; padding: 18px 22px;
  background: transparent; border: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--kf-display); font-weight: 700;
  font-size: 16px; color: var(--heading);
  text-align: left;
}
body[dir="rtl"] .faq-q { text-align: right; font-family: var(--kf-body-ar); font-weight: 700; }
.faq-q .chev {
  flex-shrink: 0; width: 24px; height: 24px;
  border-radius: 50%; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
  font-size: 12px; color: var(--text-dim);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--kf-grad); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 22px;
  font-size: 14.5px; line-height: 1.7; color: var(--text-dim);
  transition: max-height .25s ease, padding .25s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 22px; }

/* ═══════════════════════ CASE STORIES (portfolio style) ═══════════════════════ */
.case-stories { background: var(--bg); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  background: rgba(138,92,246,.04);
  border: 1px solid rgba(138,92,246,.1);
  border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.case-card:hover {
  transform: translateY(-2px);
  border-color: rgba(138,92,246,.3);
  box-shadow: var(--shadow-sm);
}
.case-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; gap: 10px;
}
.case-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.3px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(138,92,246,.08); color: #6d28d9;
}
.case-stat {
  font-family: var(--kf-display);
  font-size: 24px; font-weight: 700; line-height: 1.15;
  background: var(--kf-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
body[dir="rtl"] .case-stat { font-family: var(--kf-body-ar); letter-spacing: 0; line-height: 1.35; }
.case-name {
  font-family: var(--kf-display);
  font-size: 15px; font-weight: 700;
  color: var(--heading); margin-bottom: 6px;
}
body[dir="rtl"] .case-name { font-family: var(--kf-body-ar); font-weight: 700; }
.case-desc {
  font-size: 13px; line-height: 1.65;
  color: rgba(26,20,48,.6);
  flex: 1; margin: 0;
}
.case-footer { margin-top: 12px; }
.case-meta {
  font-size: 10px;
  color: rgba(26,20,48,.45);
  text-transform: uppercase; letter-spacing: 1px;
  font-weight: 600;
}
.cases-foot {
  margin-top: 28px; text-align: center;
  font-size: 13.5px; color: var(--text-faint);
}
.cases-foot a { color: var(--accent); font-weight: 700; }
.cases-foot a:hover { color: var(--accent-pink); }

/* ═══════════════════════ CREATIVE SAMPLES (autoplay videos) ═══════════════════════ */
.creative-samples { background: var(--bg-alt); }
.sample-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sample-gallery + .sample-gallery { margin-top: 16px; }
.sample-tile {
  position: relative; overflow: hidden;
  border-radius: 22px;
  min-height: 340px;
  box-shadow: 0 18px 46px rgba(17,24,39,.16);
  background: #111827;
  border: 1px solid rgba(255,255,255,.1);
  display: block;
}
.sample-tile video,
.sample-tile img {
  width: 100%; height: 100%;
  min-height: 340px;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.sample-tile:hover video,
.sample-tile:hover img { transform: scale(1.035); }
.sample-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  color: #fff;
  font-family: var(--kf-display);
  font-weight: 700; font-size: 14px;
  letter-spacing: -.01em;
}
body[dir="rtl"] .sample-overlay { font-family: var(--kf-body-ar); font-weight: 700; }
@media (max-width: 1024px) {
  .sample-gallery { grid-template-columns: repeat(2, 1fr); }
  .sample-tile, .sample-tile video, .sample-tile img { min-height: 300px; }
}
@media (max-width: 560px) {
  .sample-tile, .sample-tile video, .sample-tile img { min-height: 260px; }
}

/* ═══════════════════════ HOW WE START ═══════════════════════ */
.how-we-start { background: var(--bg-alt); }
.how-card {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.how-card::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 0;
  width: 4px; height: 100%;
  background: var(--kf-grad);
}
body[dir="rtl"] .how-card::before { left: auto; right: 0; }
.how-card p {
  font-size: 16.5px; line-height: 1.85;
  color: var(--text);
  margin: 0;
}
.how-card p + p { margin-top: 14px; }
@media (max-width: 720px) {
  .how-card { padding: 26px 22px; }
}

/* ═══════════════════════ FINAL CTA ═══════════════════════ */
.final-cta {
  background: linear-gradient(135deg, #fbf6ff 0%, #f1ebff 60%, #ebf6ff 100%);
  border-top: 1px solid var(--border);
}
.final-cta .section-inner { max-width: 880px; }
.final-cta-card {
  text-align: center;
  padding: 16px 0;
}
.final-cta-card h2 {
  font-family: var(--kf-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; line-height: 1.3;
  letter-spacing: -.02em; color: var(--heading);
  margin-bottom: 14px;
}
body[dir="rtl"] .final-cta-card h2 {
  font-family: var(--kf-body-ar); font-weight: 800; letter-spacing: 0; line-height: 1.5;
}
.final-cta-card p {
  font-size: 16px; line-height: 1.7;
  color: var(--text-dim);
  margin: 0 auto 26px; max-width: 640px;
}
.final-cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.kf-foot {
  background: var(--heading); color: #cfc8e6;
  padding: 40px 0 28px; font-size: 13.5px;
}
.kf-foot-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.kf-foot-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--kf-display); font-weight: 700; color: #fff; font-size: 16px;
}
.kf-foot-brand img { height: 26px; filter: brightness(0) invert(1); }
.kf-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.kf-foot-links a { color: #cfc8e6; transition: color .2s; }
.kf-foot-links a:hover { color: #fff; }
.kf-foot-copy { font-size: 12.5px; color: #8b85a4; }
@media (max-width: 600px) {
  .kf-foot-inner { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════ WHATSAPP FLOAT ═══════════════════════ */
.kf-wa-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 100; transition: transform .2s, box-shadow .2s;
}
body[dir="rtl"] .kf-wa-float { right: auto; left: 22px; }
.kf-wa-float:hover { transform: scale(1.07); box-shadow: 0 12px 32px rgba(37,211,102,.55); }
.kf-wa-float svg { width: 28px; height: 28px; }

/* ═══════════════════════ MOBILE ═══════════════════════ */
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .hero { padding: 48px 0 36px; }
  .form-card { padding: 24px 20px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; }
  .kf-top-inner { padding: 12px 16px; }
  .kf-top-wa span { display: none; }
}

/* RTL alignment helpers */
body[dir="rtl"] .form-grid > * { text-align: right; }
body[dir="rtl"] .pain-card,
body[dir="rtl"] .cap-card { text-align: right; }
body[dir="rtl"] .cap-card { direction: rtl; }
body[dir="rtl"] .section-head { text-align: center; }
body[dir="rtl"] .hero-inner { direction: rtl; }

/* ═══════════════════════ RESULTS STRIP (under hero) ═══════════════════════ */
.edu-results {
  max-width: 1040px; margin: 30px auto 0;
  padding: 0 24px;
}
.edu-results-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.edu-result {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  background: linear-gradient(160deg, #ffffff 0%, #faf7ff 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.edu-result::before {
  content: ''; position: absolute; top: -45px; inset-inline-end: -45px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138,92,246,.16), transparent 70%);
  pointer-events: none;
}
.edu-result:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}
.edu-result-icon {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--kf-grad); color: #fff;
  box-shadow: 0 10px 24px rgba(138,92,246,.32);
}
.edu-result.cool .edu-result-icon { background: var(--kf-grad-cool); box-shadow: 0 10px 24px rgba(56,189,248,.32); }
.edu-result.warm .edu-result-icon { background: var(--kf-grad-warm); box-shadow: 0 10px 24px rgba(224,64,160,.32); }
.edu-result-icon svg { width: 28px; height: 28px; }
.edu-result-fig { position: relative; z-index: 1; display: inline-flex; align-items: baseline; gap: 6px; }
.edu-trend {
  font-size: 24px; font-weight: 800; line-height: 1;
  color: var(--success); flex-shrink: 0;
}
.edu-result strong {
  font-family: var(--kf-display);
  font-size: clamp(38px, 4.8vw, 52px); font-weight: 800; line-height: 1;
  letter-spacing: -.03em;
  background: var(--kf-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.edu-result-label { position: relative; z-index: 1; font-size: 15px; line-height: 1.6; color: var(--text-dim); }
body[dir="rtl"] .edu-result { text-align: right; }
@media (max-width: 760px) {
  .edu-results-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════ WHO THIS IS FOR ═══════════════════════ */
.fit-section { background: var(--bg); }
.fit-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px;
}
.fit-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.fit-card.no { background: var(--surface-2); box-shadow: none; }
.fit-card h3 {
  font-family: var(--kf-display); font-size: 18px; font-weight: 700;
  color: var(--heading); margin-bottom: 18px;
}
body[dir="rtl"] .fit-card { text-align: right; }
body[dir="rtl"] .fit-card h3 { font-family: var(--kf-body-ar); font-weight: 800; }
.fit-list { list-style: none; padding: 0; margin: 0; }
.fit-list li {
  position: relative; padding-inline-start: 30px; margin-bottom: 12px;
  font-size: 15px; line-height: 1.6; color: var(--text-dim);
}
.fit-list li:last-child { margin-bottom: 0; }
.fit-list li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--success); font-weight: 800;
}
.fit-card.no .fit-list li::before { content: '×'; color: var(--text-faint); font-size: 18px; line-height: 1.3; }
@media (max-width: 760px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════ SERVICE SCOPE ═══════════════════════ */
.service-scope { background: var(--bg-alt); }
.scope-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px;
}
.scope-list li {
  position: relative; padding-inline-start: 28px;
  font-size: 15px; line-height: 1.6; color: var(--text);
}
.scope-list li::before {
  content: '→'; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--accent); font-weight: 800;
}
body[dir="rtl"] .scope-list li::before { content: '←'; }
@media (max-width: 720px) {
  .scope-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════ AUDIT REVIEW (in form column) ═══════════════════════ */
.audit-review {
  margin-top: 28px; padding: 22px 24px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.audit-review h3 {
  font-family: var(--kf-display); font-size: 16px; font-weight: 700;
  color: var(--heading); margin-bottom: 6px;
}
body[dir="rtl"] .audit-review h3 { font-family: var(--kf-body-ar); font-weight: 800; }
.audit-review p { font-size: 13.5px; line-height: 1.6; color: var(--text-dim); margin-bottom: 14px; }
.audit-review ul { list-style: none; padding: 0; margin: 0; }
.audit-review li {
  position: relative; padding-inline-start: 24px; margin-bottom: 9px;
  font-size: 13.5px; line-height: 1.55; color: var(--text-dim);
}
.audit-review li:last-child { margin-bottom: 0; }
.audit-review li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* ═══════════════════════ MOBILE STICKY CTA ═══════════════════════ */
.edu-sticky-cta {
  display: none;
  position: fixed; inset: auto 0 0 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transition: transform .25s ease;
}
.edu-sticky-cta.hide { transform: translateY(110%); }
.edu-sticky-cta a {
  display: flex; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: 999px;
  background: var(--kf-grad); color: #fff;
  font-family: var(--kf-display); font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-cta);
}
body[dir="rtl"] .edu-sticky-cta a { font-family: var(--kf-body-ar); font-weight: 800; }
@media (max-width: 720px) {
  .edu-sticky-cta { display: block; }
  body { padding-bottom: 76px; }
  .kf-wa-float { bottom: 86px; }
}

/* ═══════════════════════ HERO MONEY CHIPS ═══════════════════════ */
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 18px;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  white-space: nowrap;
}
.hero-chip b {
  font-family: var(--kf-display); font-weight: 800;
  background: var(--kf-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[dir="rtl"] .hero-chip b { font-family: var(--kf-body-ar); }

/* ═══════════════════════ CASE TREND BADGE ═══════════════════════ */
.case-badge {
  font-family: var(--kf-display);
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  padding: 3px 10px; border-radius: 999px;
  background: var(--kf-grad); color: #fff;
  box-shadow: 0 4px 12px rgba(224,64,160,.28);
}


/* ═══════════════════════ DETAILED CASE STUDY (shared) ═══════════════════════
   Moved out of per-page <style> so every industry page can use it.
   real-estate.html and product-marketing.html keep their own scoped copies;
   these rules are identical, so they coexist harmlessly. */
.re-case { background: var(--bg-alt); }
.re-case + .re-case { background: var(--bg); }
.re-case-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; margin-bottom: 40px; }
.re-case-top .lead { font-size: 17px; line-height: 1.95; color: var(--text-dim); }
.re-case-top .lead strong { color: var(--text); }
.re-case-video {
  margin: 0; border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(138, 92, 246, .35); aspect-ratio: 16 / 9; background: #0e0b1a;
}
.re-case-video video,
.re-case-video iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.re-case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.re-case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.re-case-card > h3 { font-size: 19px; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.re-case-card > h3 .pill {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); background: rgba(138, 92, 246, .1);
  padding: 5px 11px; border-radius: 999px;
}
.re-case-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.re-case-list li { display: flex; gap: 13px; }
.re-case-list .n {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; font-size: 13px; font-weight: 700;
  display: grid; place-items: center; color: #fff; font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--accent), var(--accent-pink));
}
.re-case-list .t { font-weight: 700; color: var(--text); display: block; margin-bottom: 3px; font-size: 15px; }
.re-case-list .d { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.re-case-results {
  background: linear-gradient(135deg, #15102b, #241640); color: #fff;
  border-radius: var(--radius-lg); padding: 34px 32px;
}
.re-case-results h3 { color: #fff; font-size: 20px; margin: 0 0 22px; }
.re-case-results ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.re-case-results li { display: flex; gap: 11px; font-size: 15px; line-height: 1.6; color: #e9e5f6; }
.re-case-results li .chk {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(56, 189, 248, .18); color: var(--accent-blue); font-size: 12px; font-weight: 700;
}
.re-case-lesson {
  margin: 22px 0 0; padding: 18px 22px; font-size: 15.5px; line-height: 1.8; color: var(--text-dim);
  background: #fff; border: 1px solid var(--border); border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
}
.re-case-lesson strong { color: var(--accent); }
@media (max-width: 760px) {
  .re-case-top { grid-template-columns: 1fr; }
  .re-case-video { aspect-ratio: 16 / 11; max-width: 420px; }
  .re-case-grid { grid-template-columns: 1fr; }
  .re-case-results ul { grid-template-columns: 1fr; }
}
.re-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 8px; }
.re-stats > div {
  text-align: center; padding: 22px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--bg-alt));
}
.re-stats b {
  display: block; font-family: 'Space Grotesk', sans-serif; font-size: 34px; line-height: 1; font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent-pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.re-stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-dim); line-height: 1.4; }
.re-shot { margin: 0; border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 34px 70px -28px rgba(138, 92, 246, .38); background: #fff; }
.re-shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: var(--bg-alt); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-faint); }
.re-shot-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.re-shot-bar span { margin-inline-start: 8px; letter-spacing: .02em; }
.re-shot img { display: block; width: 100%; height: auto; }
.re-shot-cap { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--text-faint); }
.re-gallery { grid-template-columns: repeat(4, 1fr) !important; }
.re-gallery .sample-tile { aspect-ratio: 4 / 5; min-height: 0 !important; }
.re-gallery .sample-tile video, .re-gallery .sample-tile img, .re-gallery .sample-tile iframe { width: 100%; height: 100%; min-height: 0 !important; border: 0; display: block; object-fit: cover; }
@media (max-width: 1024px) { .re-gallery { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .re-stats { grid-template-columns: repeat(2, 1fr); } .re-stats b { font-size: 28px; } .re-gallery { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; } }
