/* ============================================================
   ApplAI Consulting - main.css (v9, bilingual)
   Design system: tokens, components, RTL, motion.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --indigo-900: #0C0E2A;
  --indigo-700: #2A30A0;
  --indigo-500: #3A43C6;
  --indigo-50:  #EEF0FB;
  --cyan-500:   #56C2E6;
  --cyan-600:   #2FA8D0;
  --magenta-500:#C73D99;

  /* Neutrals */
  --ink-900: #0D1126;
  --ink-700: #2B2B3A;
  --ink-500: #4A4A5E;
  --ink-300: #8C8CA0;
  --ink-200: #C9CCDB;
  --ink-100: #E2E4EF;
  --bg:      #FFFFFF;
  --bg-soft: #F7F8FC;
  --bg-tint: #F0F3FA;

  /* Semantic */
  --color-primary: var(--indigo-500);
  --color-cta:     var(--cyan-500);
  --color-accent:  var(--magenta-500);
  --color-text:    var(--ink-700);
  --color-text-light: var(--ink-500);
  --color-text-muted: var(--ink-300);
  --color-border:  var(--ink-100);
  --color-bg:      var(--bg);
  --color-bg-soft: var(--bg-soft);

  /* Typography */
  --font-heading: 'Nunito Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body:    'Assistant', system-ui, -apple-system, Segoe UI, sans-serif;
  --fz-xs: 0.82rem;
  --fz-sm: 0.92rem;
  --fz-md: 1rem;
  --fz-lg: 1.12rem;
  --fz-xl: 1.4rem;
  --fz-h3: 1.35rem;
  --fz-h2: 2.2rem;
  --fz-h1: 3rem;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 88px;

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --transition: 0.25s ease;
  --transition-slow: 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(12, 14, 42, 0.06);
  --shadow:    0 8px 28px rgba(12, 14, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 14, 42, 0.12);

  /* Header */
  --header-h: 96px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--indigo-50); color: var(--indigo-900); }

/* ---------- 3. Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: var(--container-narrow); }
section { padding: 76px 0; }
.section-tight { padding: 36px 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.1vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-cta);
  margin-bottom: var(--sp-4);
  line-height: 1.1;
  text-shadow: 0 8px 24px rgba(86,194,230,0.16);
}

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--indigo-900);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, var(--fz-h1)); }
h2 { font-size: clamp(1.8rem, 3.6vw, var(--fz-h2)); }
h3 { font-size: var(--fz-h3); }
h4 { font-size: var(--fz-lg); }
p  { color: var(--color-text-light); line-height: 1.72; font-size: var(--fz-md); }
.lead { font-size: var(--fz-lg); color: var(--color-text); }

.section-title { text-align: center; margin-bottom: var(--sp-3); }
.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-7);
  color: var(--color-text-light);
  font-size: var(--fz-lg);
}
.section-sub {
  font-size: var(--fz-lg);
  color: var(--color-text-light);
  margin-top: 8px;
  margin-bottom: 0;
}
.required { color: #e53e3e; font-weight: 700; }
.founders-subtitle { white-space: nowrap; max-width: none; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body); font-size: var(--fz-md); font-weight: 700;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--color-cta); color: #fff; box-shadow: 0 6px 18px rgba(86,194,230,0.32); }
.btn-primary:hover { background: var(--cyan-600); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(86,194,230,0.4); color: #fff; }
.btn-dark { background: var(--indigo-900); color: #fff; }
.btn-dark:hover { background: var(--indigo-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--indigo-900); border: 1.5px solid var(--ink-100); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(12,14,42,0.06);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  direction: ltr;
  height: var(--header-h);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 24px;
}
.logo { display: flex; align-items: center; grid-column: 1; justify-self: start; }
.logo-img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; grid-column: 2; justify-self: center; }
.main-nav a { font-size: 0.95rem; color: var(--ink-700); font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: 14px; grid-column: 4; justify-self: end; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 700;
  color: var(--indigo-900);
  padding: 8px 14px;
  min-width: 62px;
  justify-content: center;
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  transition: all var(--transition);
}
.lang-switch:hover { border-color: var(--color-primary); color: var(--color-primary); }
.lang-globe { width: 16px; height: 16px; stroke: currentColor; }

.mobile-menu-toggle { display: none; padding: 8px; grid-column: 3; justify-self: end; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-700); margin: 5px 0; transition: all var(--transition); }
body.menu-open .mobile-menu-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-menu-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .mobile-menu-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* page top spacer */
main { padding-top: var(--header-h); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 10vw, 120px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 14, 42, 0.82) 0%, rgba(12, 14, 42, 0.72) 45%, rgba(6, 8, 28, 0.88) 100%),
    url("../../images/bg/background.jpg.avif") center center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 20%, rgba(86,194,230,0.22), transparent 60%),
    radial-gradient(35% 50% at 10% 90%, rgba(199,61,153,0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg, #56C2E6, #C73D99); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,0.82); margin-top: 18px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta-item { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.hero-meta-item strong { color: #fff; font-weight: 800; font-size: 1.6rem; display: block; line-height: 1; margin-bottom: 4px; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: var(--sp-6);
  backdrop-filter: blur(8px);
}
.hero-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 12px; }
.hero-card-list li {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85); font-size: 0.96rem;
}
.hero-card-list li:last-child { border: 0; }
.hero-card-list li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 3px;
  background: linear-gradient(135deg, #56C2E6, #3A43C6);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
}

/* ---------- 8. Trust strip ---------- */
.trust-strip { padding: 20px 0 20px; background: var(--bg); border-bottom: 1px solid var(--ink-100); }
.trust-label { text-align: center; font-size: var(--fz-xs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-300); font-weight: 700; margin-bottom: 14px; }
.logo-carousel {
  direction: ltr;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  overflow: hidden;
}
.logo-track {
  display: flex; gap: 56px; align-items: center;
  animation: scroll-x 38s linear infinite;
  width: max-content;
  will-change: transform;
}
.logo-track img { height: 38px; width: auto; max-height: 42px; max-width: 140px; object-fit: contain; opacity: 0.78; filter: grayscale(100%); transition: all var(--transition); }
.logo-track img:hover { opacity: 1; filter: grayscale(0%); }
/* Per-logo size balancing – equalise perceived text size */
/* Wide / text-dominant logos → shrink */
.logo-track img[src*="lotem"]       { height: 26px; max-height: 26px; }
.logo-track img[src*="TASC"]        { height: 38px; max-height: 38px; }
.logo-track img[src*="amdocs"]      { height: 32px; max-height: 32px; }
.logo-track img[src*="maccabident"] { height: 32px; max-height: 32px; }
/* Medium-wide logos → slight trim */
.logo-track img[src*="algosec"]     { height: 36px; max-height: 36px; }
.logo-track img[src*="rashi"]       { height: 40px; max-height: 40px; }
/* Square / circular logos → enlarge */
.logo-track img[src*="taxes"]       { height: 50px; max-height: 50px; }
.logo-track img[src*="ruppin"]      { height: 50px; max-height: 50px; }
.logo-track img[src*="bennygoren"]  { height: 46px; max-height: 46px; }
.logo-track img[src*="mekar"]       { height: 46px; max-height: 46px; }
.logo-track img[src*="avoda"]       { height: 44px; max-height: 44px; }
.logo-track img[src*="mizrahi"]     { height: 44px; max-height: 44px; }
.logo-track img[src*="7is"]         { height: 38px; max-height: 38px; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 9. Stats ---------- */
.stats { background: var(--bg-soft); }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center;
  max-width: 960px; margin: 0 auto;
}
.stat-num {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  background: linear-gradient(135deg, var(--indigo-500), var(--cyan-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 0.95rem; color: var(--color-text-light); }

/* ---------- 10. Service cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative; overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--indigo-500), var(--cyan-500));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition-slow);
}
.service-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .num { font-family: var(--font-heading); font-weight: 800; color: var(--cyan-500); font-size: 0.95rem; letter-spacing: 0.1em; }
.service-card h3 { color: var(--indigo-900); margin-bottom: 6px; }
.service-card p { font-size: 0.97rem; }
.service-card .more { margin-top: auto; padding-top: 14px; color: var(--color-primary); font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .more::after { content: "→"; transition: transform var(--transition); }
.service-card:hover .more::after { transform: translateX(4px); }
/* Non-link service cards */
div.service-card { cursor: default; }
div.service-card:hover { transform: none; box-shadow: none; border-color: var(--ink-100); }
div.service-card:hover::before { transform: scaleX(0); }

/* ---------- 11. Differentiators ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.diff-item { padding: var(--sp-5); }
.diff-item .diff-num { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--cyan-500); margin-bottom: 10px; }
.diff-item h3 { font-size: 1.18rem; margin-bottom: 8px; }

/* ---------- 12. Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: stretch; }
.team-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius);
  overflow: hidden; transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-body { padding: var(--sp-5) var(--sp-6) var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.team-role { font-size: var(--fz-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-600); font-weight: 700; margin-bottom: 6px; }
.team-name { color: var(--indigo-900); margin-bottom: 12px; }
.team-bio { font-size: 0.97rem; color: var(--color-text-light); margin-bottom: 16px; flex: 1; }
.team-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.9rem; }
.team-links a { color: var(--color-text-light); }
.team-links a:hover { color: var(--color-primary); }
.team-social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink-100); }
.team-social:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---------- 13. Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: var(--sp-5); background: #fff; border-radius: var(--radius); border: 1px solid var(--ink-100); position: relative; }
.step .num { position: absolute; top: -16px; inset-inline-start: var(--sp-5); width: 36px; height: 36px; border-radius: 50%; background: var(--indigo-900); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-heading); }
.step h4 { margin: 18px 0 8px; }

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--ink-100); }
.faq-q {
  width: 100%; text-align: start;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.06rem;
  color: var(--indigo-900);
}
.faq-q::after {
  content: "+"; font-size: 1.6rem; line-height: 1; color: var(--color-primary);
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow); }
.faq-a-inner { padding: 0 0 22px; color: var(--color-text-light); font-size: 0.98rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 600px; }

/* ---------- 15. CTA banner ---------- */
.cta-banner {
  background: radial-gradient(120% 100% at 0% 0%, #1A1F6B 0%, #0C0E2A 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.78); }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- 16. Forms ---------- */
.contact-section { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { margin-bottom: 12px; }
.contact-detail { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--ink-700); }
.contact-detail a { color: var(--ink-700); font-weight: 600; }
.contact-detail a:hover { color: var(--color-primary); }
.contact-form { background: #fff; padding: var(--sp-6); border-radius: var(--radius); border: 1px solid var(--ink-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: var(--fz-sm); font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; color: var(--ink-700);
  background: var(--bg-soft);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: 0; border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 3px rgba(58,67,198,0.12); }
.form-status { margin-top: 12px; font-size: 0.92rem; }
.form-status.success { color: #1F8A4C; }
.form-status.error { color: #B72D2D; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--indigo-900); color: rgba(255,255,255,0.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-img { height: 56px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-col ul li { padding: 5px 0; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.93rem; }
.footer-col a:hover { color: var(--cyan-500); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ---------- 18. Article pages ---------- */
.article-hero { background: var(--bg-soft); padding: calc(var(--header-h) + 56px) 0 56px; }
.article-hero .crumbs { color: var(--color-text-muted); font-size: 0.88rem; margin-bottom: 12px; }
.article-hero h1 { color: var(--indigo-900); max-width: 820px; }
.article-hero .meta { margin-top: 12px; color: var(--color-text-muted); font-size: 0.92rem; }
.article-body { max-width: 760px; margin: 0 auto; padding: 56px 32px; }
.article-body p { margin-bottom: 18px; font-size: 1.06rem; }
.article-body h2 { margin: 32px 0 14px; font-size: 1.6rem; }
.article-body h3 { margin: 24px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 18px 1.2em; }
.article-body ul li, .article-body ol li { margin-bottom: 8px; padding-left: 4px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-inline-start: 3px solid var(--color-cta);
  padding: 8px 18px; margin: 18px 0;
  color: var(--ink-700); font-style: italic;
}

.insights-section { padding: 28px 0 72px; }
.insights-section + .insights-section { padding-top: 0; }
.insights-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 28px;
}
.insights-section-head h2 { margin-bottom: 10px; }
.insights-section-head p { max-width: 720px; color: var(--color-text); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card {
  display: flex; flex-direction: column; gap: 16px; min-height: 100%;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.insight-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.insight-card.is-featured { background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%); }
.insight-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--indigo-700), var(--cyan-600)); }
.insight-thumb img { width: 100%; height: 100%; object-fit: cover; }
.insight-body { padding: 22px; }
.insight-tag { font-size: var(--fz-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-600); font-weight: 700; }
.insight-card h3 { font-size: 1.12rem; margin: 0; color: var(--indigo-900); }
.insight-card p { font-size: 0.95rem; color: var(--color-text); }
.insight-meta { margin-top: 14px; font-size: 0.82rem; color: var(--color-text-muted); }
.insight-card .meta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-top: auto;
}
.insight-source { font-size: 0.82rem; color: var(--color-text-muted); }
.insight-card .btn { width: auto; }

/* ---------- 19. Service detail page ---------- */
.svc-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 54px) 0 54px;
  background:
    linear-gradient(135deg, rgba(12, 14, 42, 0.86) 0%, rgba(30, 41, 160, 0.72) 45%, rgba(12, 14, 42, 0.88) 100%),
    url("../../images/bg/background.jpg.avif") center center / cover no-repeat;
}
.svc-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 55% at 80% 18%, rgba(86,194,230,0.16), transparent 60%),
    radial-gradient(32% 44% at 12% 88%, rgba(199,61,153,0.14), transparent 60%);
  pointer-events: none;
}
.svc-hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.svc-hero h1 { color: #fff; }
.svc-hero p.lead { margin-top: 14px; color: rgba(255,255,255,0.82); }
.svc-hero .breadcrumbs { font-size: 0.86rem; color: rgba(255,255,255,0.64); margin-bottom: 14px; }
.svc-hero .breadcrumbs a:hover { color: #fff; }
.svc-hero .btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.26);
}
.svc-hero .btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.svc-summary {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.svc-summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 0.95rem; }
.svc-summary dt { color: var(--color-text-muted); font-weight: 600; }
.svc-summary dd { color: var(--ink-700); }

.svc-block { padding: 64px 0; }
.svc-block.alt { background: var(--bg-soft); }
.svc-block h2 { margin-bottom: 16px; }
.svc-block .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.svc-list li {
  position: relative; padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--ink-100); font-size: 1rem; color: var(--ink-700);
}
.svc-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 16px;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--cyan-500), var(--indigo-500));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
}

/* ---------- 20. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .logo-track { animation: none; }
}

/* ---------- 21. RTL ---------- */
html[dir="rtl"] body { font-family: var(--font-body); }
html[dir="rtl"] .main-nav { direction: rtl; }
html[dir="rtl"] .main-nav a { text-align: right; }
html[dir="rtl"] .hero-meta-item strong { text-align: start; }
html[dir="rtl"] .service-card .more::after { content: "←"; }
html[dir="rtl"] .service-card:hover .more::after { transform: translateX(-4px); }
html[dir="rtl"] .step .num { inset-inline-start: var(--sp-5); }
html[dir="rtl"] .cta-banner-actions { justify-content: flex-start; }
html[dir="rtl"] .insights-section-head { align-items: flex-start; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: auto 1fr auto auto; padding: 0 20px; gap: 14px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 18px 24px; border-top: 1px solid var(--ink-100); box-shadow: var(--shadow); }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--ink-100); width: 100%; }
  body.menu-open .main-nav { display: flex; }
  .mobile-menu-toggle { display: block; }
.logo-img { height: 44px; }

  section { padding: 52px 0; }
  .container { padding: 0 22px; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 18px; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 36px; }
  .cta-banner-actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .insights-section-head { flex-direction: column; align-items: flex-start; margin-bottom: 22px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card { padding: 20px; }
  .svc-hero .container { grid-template-columns: 1fr; gap: 28px; }
  .svc-block .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   WORKSHOP DESIGN SYSTEM (ported components)
   ============================================================ */

/* Aliases */
:root {
  --color-white: var(--bg);
  --color-dark: var(--indigo-900);
}

/* --- Page Hero --- */
.page-header {
  position: relative; min-height: 192px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, #0b0f3b 0%, #1e29a0 40%, #3a43c6 70%, #5a6adf 100%);
  overflow: hidden; margin-top: var(--header-h);
}
.page-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,59,0.15) 0%, rgba(11,15,59,0.4) 60%, rgba(11,15,59,0.6) 100%); z-index: 1; }
.page-header .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-header .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.page-header .container { position: relative; z-index: 2; padding-top: 34px; padding-bottom: 26px; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; letter-spacing: -0.01em; }
.page-header .page-header-sub { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 600px; margin: 0 auto 28px; line-height: 1.65; }
.page-header .page-header-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-cta);
  background: rgba(86,194,230,0.12); padding: 6px 16px; margin-bottom: 16px; border-radius: 999px;
}
.page-header .page-header-sub--large { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 700; color: var(--color-cta); margin-bottom: 12px; letter-spacing: 0.01em; }

.home-hero {
  min-height: 23vh;
  margin-top: 0;
}
.home-hero .container {
  padding-top: 23px;
  padding-bottom: 19px;
  max-width: 1300px;
}
.home-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  line-height: 0.95;
  white-space: nowrap;
}
.home-hero .page-header-sub {
  max-width: 700px;
  margin-left: auto; margin-right: auto;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
  white-space: normal;
}
.home-hero .hero-stats-stacked {
  margin-top: 20px;
  padding: 14px 28px;
}

/* --- Stacked Hero Stats --- */
.hero-stats-stacked {
  display: inline-flex; align-items: center; gap: 20px;
  justify-content: center; padding: 18px 36px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; margin-top: 28px;
}
.hero-stacked-num .counter-value {
  font-family: var(--font-heading); font-size: 4rem; font-weight: 800;
  color: var(--color-cta); line-height: 1;
}
.hero-stacked-labels {
  display: flex; flex-direction: column; gap: 2px;
  border-left: 2px solid rgba(255,255,255,0.18); padding-left: 18px;
}
.hero-stacked-line {
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600;
  color: rgba(255,255,255,0.85); letter-spacing: 0.02em; line-height: 1.4;
}

/* --- Highlight Cards --- */
.highlights-section {
  padding: var(--sp-8) 0; background: var(--color-bg-soft);
}
.highlights-section h2 { text-align: center; margin-bottom: 16px; }
.highlights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--sp-6);
}
.highlight-card {
  background: var(--color-bg); padding: 0; overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s ease; position: relative; border-radius: var(--radius-sm);
}
.highlight-card:hover {
  border-color: var(--color-cta);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(58,67,198,0.1);
}
.highlight-card-top {
  height: 4px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-primary));
  transition: height 0.3s ease;
}
.highlight-card:hover .highlight-card-top { height: 6px; }
.highlight-card-body { padding: 24px 24px 22px; text-align: left; }
.highlight-card-num {
  font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800;
  color: var(--color-cta); opacity: 0.45; line-height: 1; margin-bottom: 10px;
  transition: opacity 0.3s ease;
}
.highlight-card:hover .highlight-card-num { opacity: 0.7; }
.highlight-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.highlight-card p { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.65; }

/* === Why ApplAI: WOW redesign === */
.why-section {
  position: relative; overflow: visible;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(86,194,230,0.10), transparent 60%),
    radial-gradient(50% 50% at 95% 100%, rgba(199,61,153,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
  padding-top: var(--sp-8); padding-bottom: var(--sp-9);
}
.why-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(58,67,198,0.05) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
}
.why-section > .container { position: relative; z-index: 2; }
.why-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.why-intro {
  position: sticky;
  top: calc(var(--header-h) + 42px);
  padding: 28px 0 10px;
  align-self: start;
  height: max-content;
}
.why-section .eyebrow { display: block; text-align: start; }
.why-section h2.section-title {
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--indigo-700) 50%, var(--cyan-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(1.22rem, 1.85vw, 1.72rem);
  max-width: none;
  white-space: normal;
  margin-bottom: 18px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-align: start;
}
.services-story-intro .section-title {
  font-size: clamp(1.22rem, 1.85vw, 1.72rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.why-section .highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 20px;
  margin-top: 0;
  align-content: start;
  max-width: 420px;
  width: 100%;
  justify-self: start;
}
.why-section .highlight-card {
  position: relative;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(12,14,42,0.06);
  border-radius: 22px;
  padding: 0; overflow: hidden;
  transition: transform .55s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .35s ease;
  isolation: isolate;
  min-height: 220px;
}
.why-section .highlight-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--cyan-500), var(--indigo-500), var(--magenta-500));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease; pointer-events: none; z-index: 1;
}
.why-section .highlight-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 30px 70px rgba(58,67,198,0.18), 0 0 0 1px rgba(86,194,230,0.18);
}
.why-section .highlight-card:hover::after { opacity: 1; }
.why-section .highlight-card:nth-child(1) { transform: none; }
.why-section .highlight-card:nth-child(2) {
  transform: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(239,245,255,0.92) 100%);
  box-shadow: 0 24px 60px rgba(58,67,198,0.12);
}
.why-section .highlight-card:nth-child(3) { transform: none; }
.why-section .highlight-card:nth-child(2)::before {
  content: '';
  position: absolute;
  inset: auto 20% -70px 20%;
  height: 140px;
  background: radial-gradient(circle, rgba(86,194,230,0.28), transparent 68%);
  filter: blur(18px);
  z-index: 0;
}
.why-section .highlight-card-top {
  height: 0; background: none; position: absolute; inset: 0;
  background:
    radial-gradient(140% 90% at 50% 0%, rgba(86,194,230,0.16), transparent 60%);
  opacity: 0; transition: opacity .45s ease; z-index: 0;
}
.why-section .highlight-card:hover .highlight-card-top { opacity: 1; height: 100%; }
.why-section .highlight-card-body {
  position: relative; z-index: 2;
  padding: 24px 24px 24px;
  text-align: left;
}
html[dir="rtl"] .why-section .highlight-card-body { text-align: right; }
.why-section .highlight-card-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--cyan-500), var(--indigo-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.32; margin-bottom: 18px;
  transition: opacity .4s ease, transform .55s cubic-bezier(.16,1,.3,1), letter-spacing .4s ease;
}
.why-section .highlight-card:hover .highlight-card-num {
  opacity: 1; transform: translateY(-2px); letter-spacing: -0.01em;
}
.why-section .highlight-card h3 {
  font-size: 1.16rem; margin: 0 0 10px;
  color: var(--indigo-900);
  font-weight: 800;
  line-height: 1.2;
}
.why-section .highlight-card p {
  display: block;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--color-text-light);
  margin: 0;
}
.why-section .highlight-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(86,194,230,0.18), rgba(58,67,198,0.18));
  border: 1px solid rgba(58,67,198,0.18);
  color: var(--color-primary);
  margin-bottom: 12px;
  transition: transform .55s cubic-bezier(.16,1,.3,1), background .35s ease, color .35s ease, border-color .35s ease, box-shadow .45s ease;
}
.why-section .highlight-card-icon svg {
  width: 20px; height: 20px;
}
.why-section .highlight-card:hover .highlight-card-icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-primary) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(86,194,230,0.32);
}
.why-section .highlight-card-num {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.7rem;
  margin: 0;
  opacity: 0.18;
}
html[dir="rtl"] .why-section .highlight-card-num { right: auto; left: 18px; }
.why-section .highlight-card:hover .highlight-card-num {
  opacity: 0.6; transform: translateY(-2px); letter-spacing: -0.01em;
}
.why-section .highlight-card-body {
  padding: 24px 22px 22px;
  position: relative;
  z-index: 2;
}
.why-section .cta-prompt { padding: 24px 0 0; }

/* === Services story layout === */
.services-story {
  position: relative;
  background:
    radial-gradient(48% 42% at 100% 8%, rgba(86,194,230,0.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  padding-top: calc(var(--sp-8) + 8px);
  padding-bottom: calc(var(--sp-9) + 56px);
}
.services-story-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}
.services-story-intro {
  position: sticky;
  top: calc(var(--header-h) + 42px);
  padding-top: 18px;
}
.services-story-intro .eyebrow,
.services-story-intro .section-title,
.services-story-intro .section-cta-link {
  text-align: start;
}
.services-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 278px));
  gap: 28px;
  align-items: stretch;
  grid-auto-rows: 1fr;
  justify-content: start;
  max-width: 890px;
}
.services-story-grid .service-card {
  min-height: 0;
  border-radius: 26px;
  padding: 28px 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,248,255,0.98) 100%);
  box-shadow: 0 18px 44px rgba(12,14,42,0.08);
  height: 100%;
  min-height: 350px;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(58,67,198,0.08);
  overflow: hidden;
}
.services-story-grid .service-card:hover {
  transform: translateY(-10px) scale(1.02);
}
.services-story-grid .service-card .num {
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.services-story-grid .service-card h3 {
  font-size: 1.26rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
.services-story-grid .service-card p {
  font-size: 1.04rem;
  line-height: 1.72;
}
.services-story-grid .service-card .more {
  margin-top: auto;
}
.services-story-grid .service-card:nth-child(1) {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(86,194,230,0.16), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(242,248,255,0.98) 100%);
}
.services-story-grid .service-card:nth-child(2) {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(58,67,198,0.13), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,245,255,0.98) 100%);
}
.services-story-grid .service-card:nth-child(3) {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(199,61,153,0.10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,245,251,0.98) 100%);
}
.services-story-grid .service-card:nth-child(4) {
  background:
    radial-gradient(130% 90% at 0% 100%, rgba(58,67,198,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(243,247,255,0.98) 100%);
}
.services-story-grid .service-card:nth-child(5) {
  background:
    radial-gradient(130% 90% at 100% 100%, rgba(86,194,230,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(242,250,255,0.98) 100%);
}
.services-story-grid .service-card:nth-child(6) {
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(199,61,153,0.11), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,245,249,0.98) 100%);
}
.services-story-grid .service-card:nth-child(1),
.services-story-grid .service-card:nth-child(4) {
  transform: rotate(-1deg);
}
.services-story-grid .service-card:nth-child(2),
.services-story-grid .service-card:nth-child(5) {
  transform: translateY(18px);
}
.services-story-grid .service-card:nth-child(3),
.services-story-grid .service-card:nth-child(6) {
  transform: rotate(1deg);
}
.services-story-grid .service-card:nth-child(1):hover,
.services-story-grid .service-card:nth-child(2):hover,
.services-story-grid .service-card:nth-child(3):hover,
.services-story-grid .service-card:nth-child(4):hover,
.services-story-grid .service-card:nth-child(5):hover,
.services-story-grid .service-card:nth-child(6):hover {
  transform: translateY(-10px) scale(1.02);
}

/* === Generic staged-scroll sections === */
.scroll-stage .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.scroll-stage-intro {
  position: sticky;
  top: calc(var(--header-h) + 42px);
  padding-top: 18px;
  align-self: start;
  padding-bottom: 20px;
  z-index: 5;
  background:
    linear-gradient(180deg, rgba(247,248,252,0.98) 0%, rgba(247,248,252,0.95) 72%, rgba(247,248,252,0) 100%);
}
.scroll-stage-intro .eyebrow,
.scroll-stage-intro h2,
.scroll-stage-intro .section-title,
.scroll-stage-intro .section-subtitle,
.scroll-stage-intro p {
  text-align: start;
  margin-left: 0;
  margin-right: 0;
}
.scroll-stage-intro .section-subtitle,
.scroll-stage-intro p {
  max-width: 560px;
}
.scroll-stage-track {
  max-width: 560px;
  width: 100%;
  justify-self: start;
}
.scroll-stage .highlights-grid,
.scroll-stage .outcomes-grid,
.scroll-stage .logistics-grid {
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 0;
}
.scroll-stage .stepper {
  max-width: 560px;
  margin: 0;
}
.scroll-stage .faq-list {
  max-width: 560px;
  margin: 0;
}
.scroll-stage .section-cta-link {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding-bottom: 8px;
}

/* --- Vertical Stepper --- */
.process-section { padding: var(--sp-8) 0; background: var(--color-bg); }
.process-section h2 { text-align: center; margin-bottom: var(--sp-6); }
.stepper {
  display: flex; flex-direction: column; gap: 0; position: relative;
  max-width: 640px; margin: 0 auto; padding-left: 40px;
}
.stepper::before {
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px; background: var(--color-border);
}
.stepper .step {
  position: relative; text-align: left;
  padding: 0 0 36px 36px;
  border: 0; background: none;
}
.stepper .step:last-child { padding-bottom: 0; }
.stepper .step .num,
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-bg-soft); border: 3px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--color-text-muted);
  transition: all 0.4s ease;
  position: absolute; left: -40px; top: 0; z-index: 2;
  margin: 0;
}
.stepper .step:hover .num,
.stepper .step:hover .step-circle {
  background: var(--color-cta); border-color: var(--color-cta);
  color: #fff; transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(86,194,230,0.35);
}
.stepper .step h4 { font-size: 1.05rem; margin-bottom: 6px; padding-top: 6px; }
.stepper .step p { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.65; max-width: 480px; }

/* --- Scope two-col + sticky sidebar --- */
.scope-section { padding: var(--sp-8) 0; background: var(--color-bg); }
.scope-section h2 { margin-bottom: 20px; font-size: 1.7rem; }
.scope-two-col {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start;
}
.scope-main p { font-size: 0.96rem; line-height: 1.78; margin-bottom: 16px; }
.scope-main h3 {
  margin-top: 28px; margin-bottom: 14px; font-size: 1.1rem;
  color: var(--color-primary); position: relative; padding-left: 16px;
}
.scope-main h3::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--color-cta); border-radius: 2px; }
.scope-main ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.scope-main ul li { font-size: 0.94rem; color: var(--color-text-light); padding-left: 24px; position: relative; line-height: 1.65; }
.scope-main ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-cta); opacity: 0.7; }
.scope-sidebar {
  background: var(--color-bg-soft); padding: 36px 32px;
  border-top: 4px solid var(--color-cta);
  position: sticky; top: 100px; border-radius: var(--radius-sm);
}
.scope-sidebar h3 { font-size: 1rem; margin-bottom: 14px; }
.scope-sidebar ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.scope-sidebar ul li { font-size: 0.9rem; color: var(--color-text-light); padding-left: 22px; position: relative; line-height: 1.55; }
.scope-sidebar ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--color-cta); font-weight: 700; font-size: 0.85rem; }
.scope-sidebar .sidebar-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.scope-sidebar .sidebar-label:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.scope-sidebar .sidebar-value { font-size: 0.95rem; color: var(--color-text); font-weight: 600; }

/* --- Service contact form --- */
.service-contact-section { padding: var(--sp-8) 0; background: var(--color-bg-soft); }
.service-contact-section h2 { text-align: center; margin-bottom: 12px; }
.service-contact-section > .container > p { text-align: center; margin-bottom: 36px; max-width: 460px; margin-left: auto; margin-right: auto; }
.service-contact-form {
  max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--color-bg); padding: 40px 36px;
  border-top: 4px solid var(--color-cta);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border-radius: var(--radius-sm);
}
.service-contact-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.service-contact-form .form-group label { font-size: 0.8rem; font-weight: 600; color: var(--color-text); }
.service-contact-form .form-group input,
.service-contact-form .form-group textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 0.95rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg); color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-contact-form .form-group input:focus,
.service-contact-form .form-group textarea:focus {
  outline: none; border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(86,194,230,0.18);
}
.service-contact-form .btn-primary { margin-top: 8px; align-self: stretch; }

/* --- Section CTA link --- */
.section-cta-link { text-align: center; margin-top: 28px; }
.section-cta-link a {
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 700;
  color: var(--color-primary); transition: color var(--transition);
}
.section-cta-link a:hover { color: var(--color-cta); }

/* --- Outcomes --- */
.outcomes-section { padding: var(--sp-8) 0; text-align: center; background: var(--color-bg); }
.outcomes-section h2 { margin-bottom: 16px; }
.outcomes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; max-width: 1040px; margin: var(--sp-6) auto 0; text-align: left;
}
.outcome-item {
  padding: 28px 24px; background: var(--color-bg-soft);
  border-left: 3px solid var(--color-cta);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.outcome-item:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(58,67,198,0.08); }
.outcome-num {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800;
  color: var(--color-cta); opacity: 0.28; line-height: 1; margin-bottom: 12px;
}
.outcome-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.outcome-item p { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.65; }

/* --- Audience cards --- */
.audience-section { padding: var(--sp-8) 0; text-align: center; background: var(--color-bg-soft); }
.audience-section h2 { margin-bottom: 16px; }
.audience-text { font-size: 1.05rem; color: var(--color-text-light); line-height: 1.75; max-width: 660px; margin: 0 auto var(--sp-6); }
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 940px; margin: 0 auto;
}
.audience-card {
  padding: 36px 28px 32px; text-align: center;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-bottom: 3px solid var(--color-cta);
  transition: all 0.35s ease; border-radius: var(--radius-sm);
}
.audience-card:hover {
  border-color: var(--color-cta); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(58,67,198,0.1);
}
.audience-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cta), var(--color-primary));
  color: #fff; font-family: var(--font-heading); font-size: 0.8rem;
  font-weight: 800; letter-spacing: 0.04em; margin-bottom: 18px;
}
.audience-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.audience-card p { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.65; }

/* --- Dark mid-page CTA Banner --- */
.cta-banner-dark {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a1f5e 100%);
  text-align: center;
}
.cta-banner-dark h2 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner-dark p { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* --- Highlight Cards: 4-col variant --- */
.highlights-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Inline CTA prompt (between sections) --- */
.cta-prompt {
  text-align: center; padding: 28px 0; font-size: 1.05rem;
  color: var(--color-text);
}
.cta-prompt a {
  color: var(--color-primary); font-weight: 700;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.cta-prompt a:hover { color: var(--color-cta); border-bottom-color: var(--color-cta); }

/* ============================================================
   RTL adjustments for workshop components
   ============================================================ */
html[dir="rtl"] .highlight-card-body { text-align: right; }
html[dir="rtl"] .outcome-item {
  text-align: right; border-left: none; border-right: 3px solid var(--color-cta);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
html[dir="rtl"] .stepper { padding-left: 0; padding-right: 40px; }
html[dir="rtl"] .stepper::before { left: auto; right: 27px; }
html[dir="rtl"] .stepper .step { text-align: right; padding-left: 0; padding-right: 36px; }
html[dir="rtl"] .stepper .step .num,
html[dir="rtl"] .stepper .step .step-circle { left: auto; right: -40px; }
html[dir="rtl"] .scope-main h3 { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .scope-main h3::before { left: auto; right: 0; }
html[dir="rtl"] .scope-main ul li { padding-left: 0; padding-right: 24px; }
html[dir="rtl"] .scope-main ul li::before { left: auto; right: 0; }
html[dir="rtl"] .scope-sidebar ul li { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .scope-sidebar ul li::before { left: auto; right: 0; }
html[dir="rtl"] .hero-stacked-labels {
  border-left: none; border-right: 2px solid rgba(255,255,255,0.18);
  padding-left: 0; padding-right: 18px;
}

/* Workshop responsive */
@media (max-width: 1024px) {
  .scope-two-col { gap: 36px; }
  .highlights-grid { gap: 18px; }
  .highlights-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .scope-two-col { grid-template-columns: 1fr; }
  .scope-sidebar { position: static; }
  .highlights-grid, .highlights-grid--4 { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .outcomes-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .audience-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .stepper { padding-left: 30px; }
  .stepper::before { left: 20px; }
  .stepper .step .num, .stepper .step .step-circle { left: -30px; width: 44px; height: 44px; font-size: 0.95rem; }
  .stepper .step { padding-left: 28px; }
  html[dir="rtl"] .stepper { padding-left: 0; padding-right: 30px; }
  html[dir="rtl"] .stepper::before { left: auto; right: 20px; }
  html[dir="rtl"] .stepper .step .num, html[dir="rtl"] .stepper .step .step-circle { left: auto; right: -30px; }
  html[dir="rtl"] .stepper .step { padding-left: 0; padding-right: 28px; }
  .hero-stats-stacked { padding: 16px 24px; gap: 16px; }
  .hero-stacked-num .counter-value { font-size: 3rem; }
  .hero-stacked-line { font-size: 0.88rem; }
  .page-header { min-height: 120px; }
  .page-header h1 { font-size: 2rem; }
  .home-hero { min-height: 120px; }
  .home-hero .container { padding-top: 20px; padding-bottom: 18px; }
  .service-contact-form { padding: 28px 22px; }
  .scroll-stage .container {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .scroll-stage-intro {
    position: static;
    padding-top: 0;
  }
  .scroll-stage-intro .eyebrow,
  .scroll-stage-intro h2,
  .scroll-stage-intro .section-title,
  .scroll-stage-intro .section-subtitle,
  .scroll-stage-intro p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .scroll-stage-track {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }
}

/* === SERVICE PAGE: extra workshop components === */
.hero-stats-stacked--alt {
  background: rgba(255,255,255,0.06);
  border-color: rgba(86,194,230,0.30);
}

/* Workshop FAQ */
.faq-section { padding: var(--sp-8) 0; background: var(--color-bg-soft); }
.faq-section h2 { text-align: center; margin-bottom: 36px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list .faq-item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; transition: all .25s ease; }
.faq-list .faq-item.open { border-color: var(--color-cta); box-shadow: 0 8px 24px rgba(58,67,198,0.06); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: transparent; border: 0; cursor: pointer; text-align: left; font: inherit; font-weight: 700; color: var(--color-text); font-size: 1rem; }
html[dir="rtl"] .faq-question { text-align: right; }
.faq-chevron { transition: transform .25s ease; flex-shrink: 0; color: var(--color-cta); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 22px 20px; color: var(--color-text-light); font-size: 0.95rem; line-height: 1.7; margin: 0; }
.faq-item.open .faq-answer { max-height: 600px; }

/* Logistics */
.logistics-section { padding: var(--sp-8) 0; background: var(--color-bg-soft); }
.logistics-section h2 { text-align: center; margin-bottom: 16px; }
.logistics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--sp-6); }
.logistics-col { background: var(--color-bg); border: 1px solid var(--color-border); padding: 28px 24px; border-radius: var(--radius-sm); }
.logistics-icon { font-size: 1.8rem; color: var(--color-cta); margin-bottom: 12px; }
.logistics-col h3 { font-size: 1.05rem; margin-bottom: 14px; }
.logistics-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.logistics-col ul li { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.6; padding-left: 18px; position: relative; }
.logistics-col ul li::before { content: "•"; color: var(--color-cta); position: absolute; left: 0; font-weight: 700; }
html[dir="rtl"] .logistics-col ul li { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .logistics-col ul li::before { left: auto; right: 0; }

/* About panel */
.about-section { padding: var(--sp-8) 0; }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-inner h2 { margin-bottom: 16px; }
.about-lead { font-size: 1.05rem; color: var(--color-text-light); line-height: 1.8; margin-bottom: 14px; }

/* Form success */
.form-success { max-width: 600px; margin: 0 auto; text-align: center; padding: 36px 28px; background: var(--color-bg); border: 1px solid var(--color-cta); border-radius: var(--radius-md); }
.form-success-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(86,194,230,0.12); display: flex; align-items: center; justify-content: center; }
.form-success-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--color-cta); stroke-width: 3; }
.form-success h3 { font-size: 1.15rem; margin-bottom: 8px; }
.form-success p { font-size: 0.95rem; color: var(--color-text-light); }

/* CTA banner workshop variant */
.cta-banner-mid { padding: var(--sp-8) 0; background: linear-gradient(160deg, #0b0f3b 0%, #1e29a0 50%, #3a43c6 100%); text-align: center; color: #fff; }
.cta-banner-mid h2 { color: #fff; margin-bottom: 12px; }
.cta-banner-mid p { color: rgba(255,255,255,0.75); margin-bottom: 22px; }

@media (max-width: 820px) {
  .logistics-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   POLISH: contact icons, focus rings, hero stat counter,
   reveal stagger, reduced-motion, mobile spacing
   ============================================================ */

/* --- Contact: circular icon badges (LinkedIn / email) --- */
.contact-detail {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 0; color: var(--ink-700);
}
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ink-100);
  background: #fff;
  color: var(--indigo-900);
  font-family: var(--font-heading); font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0;
  transition: all var(--transition);
  flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; fill: currentColor; }
.contact-detail:hover .contact-icon {
  border-color: var(--color-cta);
  color: var(--color-cta);
  background: rgba(86,194,230,0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(86,194,230,0.18);
}

/* --- Focus visible: accessible keyboard outline everywhere --- */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq-q:focus-visible,
.faq-question:focus-visible,
.team-social:focus-visible,
.contact-detail:focus-visible,
.lang-switch:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* --- Hero counter: keep cyan + smooth tabular --- */
.hero-stacked-num .counter-value { font-variant-numeric: tabular-nums; }
.stat-num.counter-value { font-variant-numeric: tabular-nums; }

/* --- Reveal stagger inside grids (cards animate in sequence) --- */
.highlights-grid .reveal:nth-child(1) { transition-delay: 0s; }
.highlights-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.highlights-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.highlights-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-story-grid .reveal:nth-child(1),
.services-story-grid .reveal:nth-child(2),
.services-story-grid .reveal:nth-child(3) { transition-delay: 0s; }
.services-story-grid .reveal:nth-child(4),
.services-story-grid .reveal:nth-child(5),
.services-story-grid .reveal:nth-child(6) { transition-delay: 0.12s; }
.stats-grid .reveal:nth-child(1) { transition-delay: 0s; }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* --- Service card subtle gradient sheen on hover --- */
.service-card { isolation: isolate; }
.service-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(86,194,230,0.08), transparent 60%);
  opacity: 0; transition: opacity .35s ease; z-index: 0;
}
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

/* --- Reduced motion: respect user preference everywhere --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .logo-track { animation: none; transform: none; }
  .why-section .highlight-card:hover { transform: none; }
}

/* --- Mobile spacing audit: tighten section rhythm + ensure readability --- */
@media (max-width: 820px) {
  section { padding: 44px 0; }
  .home-hero .container { padding-top: 20px; padding-bottom: 18px; }
  .home-hero .page-header-sub { font-size: 1.08rem; }
  .why-section { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
  .why-story,
  .services-story-shell { grid-template-columns: 1fr; gap: 22px; }
  .why-intro,
  .services-story-intro { position: static; padding-top: 0; }
  .why-section .eyebrow,
  .why-section h2.section-title,
  .services-story-intro .eyebrow,
  .services-story-intro .section-title,
  .services-story-intro .section-cta-link { text-align: center; }
  .why-section .highlights-grid { gap: 18px; }
  .why-section .highlight-card-body { padding: 28px 22px 26px; }
  .why-section .highlight-card-num { font-size: 3rem; margin-bottom: 12px; }
  .services-story-grid { grid-template-columns: 1fr; }
  .services-story-grid .service-card:nth-child(1),
  .services-story-grid .service-card:nth-child(2),
  .services-story-grid .service-card:nth-child(3),
  .services-story-grid .service-card:nth-child(4),
  .services-story-grid .service-card:nth-child(5),
  .services-story-grid .service-card:nth-child(6) { transform: none; }
  .eyebrow { font-size: 1.18rem; margin-bottom: 10px; }
  .section-title { padding: 0 6px; }
  .stats-grid { gap: 22px; }
  .contact-grid { gap: 28px; }
  .footer-grid { gap: 24px; }
  .contact-icon { width: 34px; height: 34px; font-size: 0.85rem; }
  .founders-subtitle { white-space: normal; }
}
@media (max-width: 480px) {
  .home-hero .hero-stats-stacked { padding: 12px 20px; gap: 14px; }
  .hero-stacked-num .counter-value { font-size: 2.6rem; }
  .why-section .highlight-card-num { font-size: 2.6rem; }
}

/* ============================================================
   ROUND 2: bolder inline CTAs, stacked contact, smaller logo
   ============================================================ */

/* Logo: -30% (56→39, 44→31) */
.site-header .logo-img { height: 39px; }
.footer-brand .logo-img { height: 56px; width: auto; }
@media (max-width: 768px) {
  .site-header .logo-img { height: 31px; }
  .footer-brand .logo-img { height: 44px; }
}

/* Inline "Let's talk" CTA — pill button, animated arrow */
.cta-prompt { padding: var(--sp-7) 0 0; }
.cta-prompt a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  font-family: var(--font-heading);
  font-size: 1.26rem; font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cta) 100%);
  border-bottom: 0;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 36px rgba(58,67,198,0.28), inset 0 0 0 1px rgba(255,255,255,0.12);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, background .35s ease;
  position: relative; overflow: hidden;
}
.cta-prompt a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: translateX(-140%);
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.cta-prompt a::after {
  content: '→';
  display: inline-block;
  font-size: 1.15em; line-height: 1;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
html[dir="rtl"] .cta-prompt a::after { content: '←'; }
.cta-prompt a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-primary) 100%);
  box-shadow: 0 18px 48px rgba(86,194,230,0.42), inset 0 0 0 1px rgba(255,255,255,0.18);
  border-bottom: 0;
  color: #fff;
}
.cta-prompt a:hover::before { transform: translateX(140%); }
.cta-prompt a:hover::after { transform: translateX(6px); }
html[dir="rtl"] .cta-prompt a:hover::after { transform: translateX(-6px); }

/* Services "Not sure which one fits?" — bolder pill */
.section-cta-link { margin-top: 40px; }
.section-cta-link a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px;
  font-family: var(--font-heading);
  font-size: 1.14rem; font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(58,67,198,0.96) 0%, rgba(86,194,230,0.96) 100%);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  letter-spacing: 0.005em;
  box-shadow: 0 14px 38px rgba(58,67,198,0.22);
  transition: all .35s cubic-bezier(.16,1,.3,1);
}
.section-cta-link a:hover {
  background: linear-gradient(135deg, rgba(86,194,230,1) 0%, rgba(58,67,198,1) 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 48px rgba(86,194,230,0.34);
}

/* Contact details — stacked vertically, circle ALWAYS on the LEFT */
.contact-info .contact-detail {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
}
.contact-info .contact-detail + .contact-detail { margin-top: 4px; }
.contact-info .contact-detail a {
  unicode-bidi: plaintext;
}

/* ============================================================
   SCROLL-DRIVEN REVEALS — directional, staggered, eye-catching
   ============================================================ */

/* Scroll progress bar at top of viewport */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--color-cta), var(--color-primary), var(--color-accent));
  z-index: 9999;
  transition: width 0.08s linear;
  box-shadow: 0 0 14px rgba(86,194,230,0.45);
}

/* Directional reveals — base hidden state */
.reveal-left  { opacity: 0; transform: translateX(-60px);   transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.reveal-right { opacity: 0; transform: translateX(60px);    transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.reveal-zoom  { opacity: 0; transform: scale(0.85);         transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.reveal-blur  { opacity: 0; filter: blur(14px); transform: translateY(20px); transition: opacity 1s ease, filter 1s ease, transform 1s ease; }
.reveal-seq-item {
  opacity: 0;
  transform: translateY(48px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(.16,1,.3,1),
    transform 0.9s cubic-bezier(.16,1,.3,1),
    filter 0.9s ease;
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible,
.reveal-seq-item.visible { opacity: 1; transform: none; }
.reveal-blur.visible { opacity: 1; filter: none; transform: none; }
.reveal-seq-item.visible { filter: none; }

html[dir="rtl"] .reveal-left  { transform: translateX(60px); }
html[dir="rtl"] .reveal-right { transform: translateX(-60px); }

/* Section enter — whole section fades & rises into view */
.section-enter {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.16,1,.3,1);
}
.section-enter.in-view {
  opacity: 1; transform: none;
}

/* Highlight cards - alternating slide directions for cinema feel */
.why-section .highlights-grid .highlight-card.reveal-seq-item {
  transition:
    opacity 0.88s cubic-bezier(.16,1,.3,1),
    transform 0.88s cubic-bezier(.16,1,.3,1),
    filter 0.88s ease,
    clip-path 0.88s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity, filter, clip-path;
}
.why-section .highlights-grid .highlight-card.reveal-seq-item:not(.visible):nth-child(1) {
  transform: translateY(34px) translateX(-30px) rotate(-2deg) scale(0.95);
  filter: blur(8px);
  clip-path: inset(12% 0 0 0 round 22px);
}
.why-section .highlights-grid .highlight-card.reveal-seq-item:not(.visible):nth-child(2) {
  transform: translateY(44px) scale(0.93);
  filter: blur(12px);
  clip-path: inset(16% 0 0 0 round 22px);
}
.why-section .highlights-grid .highlight-card.reveal-seq-item:not(.visible):nth-child(3) {
  transform: translateY(34px) translateX(30px) rotate(2deg) scale(0.95);
  filter: blur(8px);
  clip-path: inset(12% 0 0 0 round 22px);
}
.why-section .highlights-grid .highlight-card.reveal-seq-item.visible {
  filter: none;
  clip-path: inset(0 round 22px);
}
html[dir="rtl"] .why-section .highlights-grid .highlight-card.reveal-seq-item:not(.visible):nth-child(1) { transform: translateY(34px) translateX(30px) rotate(2deg) scale(0.95); }
html[dir="rtl"] .why-section .highlights-grid .highlight-card.reveal-seq-item:not(.visible):nth-child(3) { transform: translateY(34px) translateX(-30px) rotate(-2deg) scale(0.95); }

/* Stats — pop scale up on reveal */
.stats-grid .stat-item.reveal:not(.visible) { transform: translateY(24px) scale(0.92); transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }

/* Service cards - row-by-row square reveal */
.services-story-grid .service-card.reveal-seq-item {
  transition:
    opacity 0.82s cubic-bezier(.16,1,.3,1),
    transform 0.82s cubic-bezier(.16,1,.3,1),
    filter 0.82s ease,
    clip-path 0.82s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity, filter, clip-path;
}
.services-story-grid .service-card.reveal-seq-item:not(.visible) {
  transform-origin: center center;
  filter: blur(10px);
  clip-path: inset(18% 12% 18% 12% round 28px);
  transition:
    opacity 0.9s cubic-bezier(.16,1,.3,1),
    transform 0.9s cubic-bezier(.16,1,.3,1),
    filter 0.9s ease,
    clip-path 0.9s cubic-bezier(.16,1,.3,1);
}
.services-story-grid .service-card.reveal-seq-item:not(.visible):nth-child(3n+1) {
  transform: translateY(52px) scale(0.88) rotateY(-8deg);
}
.services-story-grid .service-card.reveal-seq-item:not(.visible):nth-child(3n+2) {
  transform: translateY(42px) scale(0.9) rotateX(10deg);
}
.services-story-grid .service-card.reveal-seq-item:not(.visible):nth-child(3n+3) {
  transform: translateY(34px) scale(0.92) rotateY(8deg);
}
.services-story-grid .service-card.reveal-seq-item.visible {
  filter: none;
  clip-path: inset(0 round 22px);
}

/* Floating accent orbs — subtle parallax decoration */
.scroll-orbs {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.scroll-orbs span {
  position: absolute; display: block;
  border-radius: 50%; filter: blur(60px);
  opacity: 0.0;
  transition: opacity 1.5s ease, transform 0.8s ease-out;
}
.scroll-orbs span.o1 { width: 360px; height: 360px; left: -80px; top: 20%; background: radial-gradient(circle, rgba(86,194,230,0.5), transparent 65%); }
.scroll-orbs span.o2 { width: 420px; height: 420px; right: -120px; top: 55%; background: radial-gradient(circle, rgba(199,61,153,0.32), transparent 65%); }
.scroll-orbs span.o3 { width: 320px; height: 320px; left: 30%; bottom: 5%; background: radial-gradient(circle, rgba(58,67,198,0.38), transparent 65%); }
body.scrolled .scroll-orbs span { opacity: 0.55; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-left, .reveal-right, .reveal-zoom, .reveal-blur, .reveal-seq-item,
  .section-enter,
  .why-section .highlights-grid .highlight-card.reveal,
  .stats-grid .stat-item.reveal,
  .services-grid .service-card.reveal {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .scroll-progress, .scroll-orbs { display: none; }
}

@media (max-width: 980px) {
  .home-hero .page-header-sub { white-space: normal; }
  .founders-subtitle { white-space: normal; }
  .why-section .highlight-card:nth-child(1),
  .why-section .highlight-card:nth-child(2),
  .why-section .highlight-card:nth-child(3) {
    transform: none;
    min-height: auto;
  }
  .services-story-grid { grid-template-columns: 1fr; }
  .services-story-grid .service-card { aspect-ratio: auto; }
  .services-story-grid .service-card:nth-child(1),
  .services-story-grid .service-card:nth-child(2),
  .services-story-grid .service-card:nth-child(3),
  .services-story-grid .service-card:nth-child(4),
  .services-story-grid .service-card:nth-child(5),
  .services-story-grid .service-card:nth-child(6) { transform: none; }
}

html[dir="rtl"] .team-grid { direction: ltr; column-gap: 40px; }
html[dir="rtl"] .team-grid .team-card { direction: rtl; }
