:root {
  --primary: #0f172a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --secondary: #1e293b;
  --light: #f8fafc;
  --light-gray: #f1f5f9;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --hero-title-size: clamp(2.2rem, 5vw, 3.5rem);
  --hero-highlight-size: clamp(2.5rem, 5.5vw, 4rem);
  --hero-title-color: #ffffff;
  --hero-highlight-color: var(--accent);
  --hero-subtitle-color: rgba(255, 255, 255, 0.75);
  --hero-content-offset-y: 0px;
  --hero-content-max-width: 1400px;
  --hero-content-align: center;
  --hero-button-gap: 1.5rem;
  --hero-btn-font-size: 1rem;
  --hero-btn-padding-y: 1rem;
  --hero-btn-padding-x: 2.5rem;
  --hero-btn-radius: 0.5rem;
  --hero-btn-min-width: 0;
  --content-max-width: 1400px;
  --section-padding-x: 3rem;
  --section-title-size: clamp(2rem, 4vw, 3rem);
  --section-title-color: var(--primary);
  --section-description-color: var(--text-light);
  --section-header-align: center;
  --services-padding-y: clamp(4rem, 7vw, 5.75rem);
  --services-surface: #f7f4ef;
  --services-surface-mid: #f0ebe3;
  --services-card-border: rgba(26, 32, 44, 0.1);
  --services-text: #1a202c;
  --services-muted: #5c6578;
  --services-accent-line: rgba(212, 175, 55, 0.45);
  --skills-padding-y: clamp(3.75rem, 6.5vw, 5.75rem);
  --process-padding-y: clamp(3.5rem, 6vw, 5.25rem);
  --cta-padding-y: 6rem;
  --trust-padding-y: clamp(2.75rem, 4.5vw, 3.75rem);
  /* Skills: light cards + colored icon badges (aligned with advisory / “What we offer” look) */
  --enterprise-skill-surface: #ffffff;
  --enterprise-skill-surface-hover: #fdfcfa;
  --enterprise-skill-border: rgba(26, 32, 44, 0.1);
  --enterprise-skill-border-hover: rgba(212, 175, 55, 0.55);
  --enterprise-shadow-skill:
    0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 1px 2px rgba(26, 32, 44, 0.04), 0 10px 28px rgba(26, 32, 44, 0.06);
  --enterprise-shadow-skill-hover:
    0 1px 0 rgba(255, 255, 255, 1) inset, 0 14px 36px rgba(26, 32, 44, 0.1), 0 0 0 1px rgba(212, 175, 55, 0.22);
  --enterprise-service-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 2px 4px rgba(26, 32, 44, 0.04),
    0 12px 32px rgba(26, 32, 44, 0.06);
  --enterprise-service-shadow-hover: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 16px 40px rgba(26, 32, 44, 0.1);
}

/* Desktop Layout CMS: hide legacy stats + showcase in #kt-sections-wrap until load() finishes
   bridging them into #kt-layout-home-mount — avoids showcase/video flashing above the hero. */
#kt-sections-wrap.kt-home-firstpaint-hold > [data-section-key='stats'],
#kt-sections-wrap.kt-home-firstpaint-hold > [data-section-key='showcase'] {
  display: none !important;
}

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

/* Skip link - visible when focused (keyboard/screen reader) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Focus styles for keyboard navigation (exclude checkbox/radio — global outline looked like a heavy extra frame) */
a:focus-visible,
button:focus-visible,
input:not([type='checkbox']):not([type='radio']):focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Prevent wide in-flow descendants from forcing horizontal scroll (padding lives inside width) */
#main-content {
  min-width: 0;
  max-width: 100%;
}

body > nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  /* Opaque white so scrolling content (e.g. dark hero) never shows through — matches wordmark PNG */
  background: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  animation: slideDown 0.6s ease-out;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  padding-left: max(3rem, env(safe-area-inset-left, 0px));
  padding-right: max(3rem, env(safe-area-inset-right, 0px));
  min-width: 0;
  gap: 0.75rem 1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-lang-switcher {
  display: flex;
  gap: 0.25rem;
  background: var(--light-gray);
  padding: 0.25rem;
  border-radius: 0.5rem;
}
.nav-lang-switcher button {
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s;
}
.nav-lang-switcher button:hover {
  color: var(--text);
}
.nav-lang-switcher button.active {
  background: white;
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  flex-shrink: 0;
}
.logo-tagline {
  margin: 0;
  padding: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.25;
  max-width: min(88vw, 320px);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 0;
}
.logo:hover { opacity: 0.85; }
/* Invisible hit target when no wordmark and no text brand (still links home, SR: aria-label) */
.logo.logo--empty {
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex-shrink: 0;
}
.logo.logo--empty:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Fixed display height keeps raster logos sharp; upload at ≥2× this size for retina */
.logo-wordmark {
  height: 3rem;
  width: auto;
  min-width: 0;
  max-width: min(88vw, 320px);
  object-fit: contain;
  object-position: left center;
  display: block;
  image-rendering: auto;
  -webkit-user-drag: none;
}
/* Ensure nav wordmark never shows when hidden (some resets fight the UA [hidden] rule) */
#logo-wordmark[hidden],
.logo-wordmark[hidden] {
  display: none !important;
}
.logo-text-brand {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  line-height: 1.15;
  max-width: min(88vw, 320px);
}
.logo-text-main {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.logo-text-highlight {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 0.35rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.cta-button {
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.1);
}
.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.2);
}

.hero {
  margin-top: 80px;
  min-height: 90vh;
  background: linear-gradient(145deg, #0c1222 0%, #0f172a 38%, #1e293b 72%, #243447 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  /* flex-start: headline/subtitle/CTAs stay in a stable band from the top; center caused the whole block to drift with viewport height. */
  align-items: flex-start;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 90% 60% at 18% 42%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 78%, rgba(212, 175, 55, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 42%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Stronger left-to-right scrim so headline stays readable on busy background photos */
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.45) 42%,
    rgba(15, 23, 42, 0.25) 100%
  );
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.9;
  animation: gridMove 32s linear infinite;
}
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}
.hero-content {
  max-width: var(--hero-content-max-width, 1400px);
  width: 100%;
  margin: 0 auto;
  /* Smooth horizontal inset at all breakpoints (avoids a hard jump at one media query). */
  padding: clamp(3.25rem, 7vw, 5rem) max(1rem, min(var(--section-padding-x, 3rem), 5vw));
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
  transform: translateY(var(--hero-content-offset-y, 0px));
  text-align: var(--hero-content-align, center);
  box-sizing: border-box;
  min-width: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Soft moving highlight on skills / process “cubes” (respects reduced motion below). */
@keyframes ktLcShineDrift {
  0% {
    background-position: 130% 50%;
    opacity: 0.25;
  }
  45% {
    opacity: 0.85;
  }
  100% {
    background-position: -40% 50%;
    opacity: 0.25;
  }
}
.hero h1 {
  font-family: 'Crimson Pro', serif;
  font-size: var(--hero-title-size, clamp(2.2rem, 5vw, 3.5rem));
  color: var(--hero-title-color, #ffffff);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.35rem;
  max-width: min(52rem, 100%);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0.08em;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.45);
  min-width: 0;
}
/* Let headline flex items shrink so type wraps inside the h1 column instead of overflowing the viewport */
.hero h1 > span {
  min-width: 0;
  max-width: 100%;
}
.hero h1 .hero-highlight {
  color: var(--hero-highlight-color, var(--accent));
  display: block;
  font-size: var(--hero-highlight-size, clamp(2.5rem, 5.5vw, 4rem));
  white-space: pre-line;
  overflow-wrap: break-word;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.15);
}
/* Subtitle only: CMS often wraps the title in <p> inside h1 — exclude those from subtitle metrics */
.hero p:not(h1 p) {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--hero-subtitle-color, rgba(255, 255, 255, 0.82));
  max-width: min(36rem, 100%);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.72;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  min-width: 0;
}
.hero-buttons {
  display: flex;
  gap: var(--hero-button-gap, 1.5rem);
  justify-content: var(--hero-content-align, center);
  flex-wrap: wrap;
  min-width: 0;
}
.hero .hero-buttons .primary-button,
.hero .hero-buttons .secondary-button {
  padding: var(--hero-btn-padding-y, 1rem) var(--hero-btn-padding-x, 2.5rem);
  font-size: var(--hero-btn-font-size, 1rem);
  border-radius: var(--hero-btn-radius, 0.5rem);
  min-width: var(--hero-btn-min-width, 0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}
.hero .hero-buttons .primary-button {
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35), 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hero .hero-buttons .primary-button:hover {
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
}
/* Secondary CTA: outline / glass — distinct from primary on photo heroes */
.hero .hero-buttons .secondary-button {
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero .hero-buttons .secondary-button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.primary-button {
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}
.primary-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.3);
}
.secondary-button {
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}
.secondary-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.3);
}

.trust-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #ffffff 100%);
  padding: clamp(2rem, 4vw, 3rem) var(--section-padding-x, 3rem);
  text-align: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.trust-section p {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.trust-logos {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
}
.trust-logos-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: trustMarquee 25s linear infinite;
  width: max-content;
}
.trust-logo-img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(30%);
}
@keyframes trustMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-logos:has(.trust-logo-img) {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

#services, #skills, #process, #contact {
  scroll-margin-top: 5.5rem;
}

/* Responsive accordion wrappers for dense card/cell sections.
   Desktop behavior: trigger hidden, panel fully open (grid cards stay grid cards).
   Tablet/mobile behavior: trigger visible, panel collapses/expands smoothly. */
.kt-accordion-section {
  border-radius: 1rem;
}

.kt-accordion-trigger {
  display: none;
}

.kt-accordion-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.kt-accordion-panel > * {
  min-height: 0;
}

.services {
  padding: var(--services-padding-y, 8rem) var(--section-padding-x, 3rem);
  max-width: var(--content-max-width, 1400px);
  margin: 0 auto;
}
/* Premium advisory band: warm surface, constrained grid (static HTML + layout CMS) */
.services.services--premium {
  max-width: none;
  margin: 0;
  padding: var(--services-padding-y, 4.5rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, var(--services-surface) 0%, var(--services-surface-mid) 50%, #ebe4d9 100%);
  color: var(--services-text);
  border-top: 1px solid rgba(26, 32, 44, 0.04);
  border-bottom: 1px solid rgba(26, 32, 44, 0.06);
}
.services.services--premium .services-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.section-header { text-align: var(--section-header-align, center); margin-bottom: 5rem; animation: fadeInUp 1s ease-out; }
/* Skills + process: keep header compact but clear of section edge / prior band */
.skills-section .section-header,
.process-section .section-header {
  margin-bottom: clamp(1.25rem, 2.2vw, 2rem);
  padding-top: clamp(0.5rem, 1.5vw, 1.25rem);
}
.section-label {
  display: inline-block;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 2rem;
  padding: 0.25rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: 'Crimson Pro', serif;
  font-size: var(--section-title-size, clamp(2rem, 4vw, 3rem));
  color: var(--section-title-color, var(--primary));
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-description {
  font-size: 1.2rem;
  color: var(--section-description-color, var(--text-light));
  max-width: min(700px, 100%);
  margin: 0 auto;
  line-height: 1.8;
}
.cms-prose {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.cms-prose img,
.cms-prose video {
  max-width: 100%;
  height: auto;
}
.cms-prose table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cms-prose pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cms-prose p { margin: 0 0 0.75em; }
.cms-prose p:last-child { margin-bottom: 0; }
.cms-prose a { color: var(--accent); font-weight: 600; text-decoration: none; }
.cms-prose a:hover { text-decoration: underline; }
.cms-prose ul, .cms-prose ol { margin: 0.5em 0 1em 1.25rem; padding-left: 0; }
.cms-prose li { margin: 0.25em 0; }
.skills-section .cms-prose a {
  color: var(--accent);
}
.services-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-top: clamp(0.35rem, 1.2vw, 1rem);
}
.services.services--premium .services-section-header .section-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--accent);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.services.services--premium .services-section-header .section-title {
  font-family: 'Cormorant Garamond', 'Crimson Pro', Georgia, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 600;
  color: var(--services-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.services.services--premium .services-section-header .section-description {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--services-muted);
  max-width: 36rem;
  margin: 0;
}
@media (min-width: 768px) {
  .services-section-header {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  body.rtl .services-section-header {
    flex-direction: row-reverse;
    text-align: right;
  }
  .services-header-copy {
    flex: 1;
    min-width: 0;
  }
  .services-section-header .section-label,
  .services-section-header .section-title,
  .services-section-header .section-description {
    margin-left: 0;
    margin-right: 0;
  }
  .services.services--premium .services-section-header .section-description {
    margin-left: 0;
  }
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.65rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.65rem;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.15rem;
  }
}
/* Canvas nodes used inline text-align:center — grids and cards stay start-aligned */
.services .services-grid,
.kt-lc-node-abs > .services-grid {
  text-align: start !important;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.service-card {
  background: #fff;
  padding: 0;
  border-radius: 12px;
  box-shadow: var(--enterprise-service-shadow);
  border: 1px solid var(--services-card-border);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.32s cubic-bezier(0.34, 1.35, 0.64, 1),
    z-index 0s;
  position: relative;
  z-index: 1;
  transform-origin: 50% 100%;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
  text-align: start;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  min-width: 0;
}
.service-card__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  padding: 1.5rem;
  gap: 0.5rem;
  align-items: flex-start;
}
.service-card h3,
.service-card .service-card-desc,
.service-card ul {
  text-align: start;
}
/* TinyMCE sometimes saves inline text-align:center — cards stay left-aligned */
.service-card .cms-prose {
  text-align: start !important;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.025);
  z-index: 4;
  box-shadow: var(--enterprise-service-shadow-hover);
  border-color: var(--services-accent-line);
}
.service-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 10px;
  border: 1px solid var(--services-accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 0;
  margin-top: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 12px rgba(212, 175, 55, 0.08);
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  color: var(--accent);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  flex-shrink: 0;
}
.service-icon .service-icon-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
/* Line-art icons: flat — light depth only, no 3D tilt */
.service-icon .service-icon-svg.kt-icon-3d,
.skill-icon-wrapper .service-icon-svg.kt-icon-3d,
.step-visual .service-icon-svg.kt-icon-3d {
  transform: none;
  transform-origin: 50% 50%;
  transition: transform 0.35s cubic-bezier(0.34, 1.45, 0.64, 1), filter 0.35s ease;
  filter:
    drop-shadow(0 1px 2px rgba(15, 23, 42, 0.14))
    drop-shadow(0 2px 8px rgba(15, 23, 42, 0.08));
}
.service-card:hover .service-icon .service-icon-svg.kt-icon-3d,
.process-step:hover .step-visual .service-icon-svg.kt-icon-3d {
  transform: scale(1.06);
  filter:
    drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12))
    drop-shadow(0 4px 12px rgba(15, 23, 42, 0.1))
    drop-shadow(0 0 10px rgba(212, 175, 55, 0.22));
}
.skill-icon-wrapper .service-icon-svg.kt-icon-3d {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}
.skill-item:hover .skill-icon-wrapper .service-icon-svg.kt-icon-3d {
  transform: scale(1.06);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}
@media (prefers-reduced-motion: reduce) {
  .service-icon .service-icon-svg.kt-icon-3d,
  .skill-icon-wrapper .service-icon-svg.kt-icon-3d,
  .step-visual .service-icon-svg.kt-icon-3d {
    transform: none !important;
    transition: none !important;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.2)) !important;
  }
}
.service-icon .structured-card-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.service-card:hover .service-icon {
  border-color: rgba(212, 175, 55, 0.65);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 6px 16px rgba(212, 175, 55, 0.14);
}
.service-card:active .service-icon,
.service-icon:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 2px 6px rgba(212, 175, 55, 0.1);
  color: var(--accent);
}
.service-card:active .service-icon .service-icon-svg.kt-icon-3d,
.service-icon:active .service-icon-svg.kt-icon-3d {
  transform: scale(0.96);
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.25));
}
.service-card h3,
.service-card .service-card__title {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  color: var(--services-text);
  margin-bottom: 0;
  margin-top: 0.25rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.service-card h3 strong,
.service-card h3 b {
  font-weight: 700;
}
.service-card p,
.service-card .service-card-desc,
.service-card .service-card__lede {
  color: var(--services-muted);
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.9375rem;
  max-width: 38ch;
}
.service-card .service-card-desc strong,
.service-card .service-card-desc b {
  font-weight: 600;
  color: var(--services-text);
}
.service-card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.service-card__link:hover {
  color: var(--accent);
}
.service-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.service-card__link-arr {
  color: var(--accent);
  font-weight: 500;
  transition: transform 0.2s ease;
}
.service-card:hover .service-card__link-arr {
  transform: translateX(3px);
}
body.rtl .service-card:hover .service-card__link-arr {
  transform: translateX(-3px);
}
.service-card ul.kt-cms-bullets,
.skill-item ul.kt-cms-bullets,
.process-step .step-content ul.kt-cms-bullets {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.service-card ul.kt-cms-bullets:empty,
.skill-item ul.kt-cms-bullets:empty,
.process-step .step-content ul.kt-cms-bullets:empty {
  display: none;
}
.service-card .kt-cms-li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--services-text);
  line-height: 1.45;
  font-size: 0.875rem;
}
.skill-item .kt-cms-li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}
.process-step .step-content .kt-cms-li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: var(--text);
  line-height: 1.5;
}
.kt-cms-bullet-marker {
  flex-shrink: 0;
  min-width: 1ch;
  color: var(--kt-cms-bullet-marker-color, var(--service-bullet-marker-color, var(--accent)));
  font-weight: bold;
  line-height: inherit;
}
.kt-cms-li--media {
  flex-wrap: wrap;
  align-items: flex-start;
}
.kt-cms-bullet-img {
  max-width: 100%;
  width: auto;
  max-height: 140px;
  object-fit: contain;
  border-radius: 8px;
  flex: 0 0 auto;
}
.kt-cms-bullet-text {
  flex: 1;
  min-width: 0;
}
.kt-cms-bullet-body {
  flex: 1;
  min-width: 0;
}
/* Legacy service lists (plain <ul> without kt-cms) */
.service-card ul:not(.kt-cms-bullets) {
  list-style: none;
  padding: 0;
}
.service-card ul:not(.kt-cms-bullets) > li {
  color: var(--text);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.service-card ul:not(.kt-cms-bullets) > li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.skills-section {
  background: linear-gradient(180deg, var(--services-surface, #f7f4ef) 0%, var(--services-surface-mid, #f0ebe3) 52%, #ebe4d9 100%);
  position: relative;
  padding: var(--skills-padding-y, 8rem) var(--section-padding-x, 3rem);
  overflow: hidden;
  border-top: 1px solid rgba(26, 32, 44, 0.05);
  border-bottom: 1px solid rgba(26, 32, 44, 0.06);
  color: var(--services-text, #1a202c);
}
.skills-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 70% 45% at 80% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 12% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.skills-container {
  max-width: var(--content-max-width, 1400px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}
.skills-section .section-label {
  color: var(--accent);
}
.skills-section .section-title {
  color: var(--services-text, #1a202c);
}
.skills-section .section-description {
  color: var(--services-muted, #5c6578);
}
.skills-section .section-label.cms-prose,
.skills-section .section-label.cms-prose *:not(a) {
  color: var(--accent) !important;
}
.skills-section .section-title.cms-prose,
.skills-section .section-title.cms-prose *:not(a) {
  color: var(--services-text, #1a202c) !important;
}
.skills-section .section-description.cms-prose,
.skills-section .section-description.cms-prose *:not(a) {
  color: var(--services-muted, #5c6578) !important;
}
.skills-section .section-header .cms-prose a {
  color: var(--accent) !important;
}

/*
 * Layout CMS homepage skills: default .skills-section is a light band; canvas skills use a dark band in JSON.
 * If theme preview clears inline `background`, keep this fill so copy stays on navy (matches static reference).
 */
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
  border-top-color: rgba(148, 163, 184, 0.12);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

/* Layout CMS: dark blue band — header nodes only (not skill cards); section default `color` is services ink. */
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-label'] .cms-prose,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-label'] .cms-prose *:not(a),
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-title'] .cms-prose,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-title'] .cms-prose *:not(a),
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-desc'] .cms-prose,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-desc'] .cms-prose *:not(a),
#kt-layout-home-mount #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) > .kt-lc-flow-node:not(.skills-grid) .cms-prose,
#kt-layout-home-mount #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) > .kt-lc-flow-node:not(.skills-grid) .cms-prose *:not(a),
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) > .kt-lc-flow-node:not(.skills-grid) .cms-prose,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) > .kt-lc-flow-node:not(.skills-grid) .cms-prose *:not(a) {
  color: #ffffff !important;
}
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-label'] .cms-prose a,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-title'] .cms-prose a,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .kt-lc-canvas-inner [data-kt-lc-node='sk-desc'] .cms-prose a,
#kt-layout-home-mount #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) > .kt-lc-flow-node:not(.skills-grid) .cms-prose a,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) > .kt-lc-flow-node:not(.skills-grid) .cms-prose a {
  color: var(--accent) !important;
}

/* Layout CMS: “white band” skills — canvas blocks still carry dark-band typography in JSON; override for light section. */
#skills.skills-section--appearance-white.kt-lc-section .kt-lc-canvas-inner .kt-lc-node-abs .cms-prose {
  color: var(--services-text, #1a202c) !important;
}
#skills.skills-section--appearance-white.kt-lc-section .kt-lc-canvas-inner .kt-lc-node-abs .cms-prose *:not(a) {
  color: inherit !important;
}
#skills.skills-section--appearance-white.kt-lc-section .kt-lc-canvas-inner [data-kt-lc-node='sk-label'] .cms-prose,
#skills.skills-section--appearance-white.kt-lc-section .kt-lc-canvas-inner [data-kt-lc-node='sk-label'] .cms-prose *:not(a) {
  color: var(--accent, #d4af37) !important;
}
#skills.skills-section--appearance-white.kt-lc-section .kt-lc-canvas-inner [data-kt-lc-node='sk-label'] .cms-prose a,
#skills.skills-section--appearance-white.kt-lc-section .kt-lc-canvas-inner .kt-lc-node-abs .cms-prose a {
  color: var(--accent, #d4af37) !important;
}

/* Layout CMS homepage: dark band — slate skill tiles (expertise-blue-band preset). */
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.55) 0%, rgba(15, 23, 42, 0.94) 100%);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item::after {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, transparent 72%);
  opacity: 0.42;
}
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item:hover {
  background: linear-gradient(180deg, rgba(51, 77, 115, 0.72) 0%, rgba(22, 36, 62, 0.97) 100%);
  border-color: rgba(186, 230, 253, 0.38);
}
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item h4,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item h4 *,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item h4.cms-prose,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item h4.cms-prose * {
  color: #f8fafc !important;
}
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item .skill-desc,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item .skill-desc *,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white) .skill-item .skill-desc.cms-prose *:not(a) {
  color: rgba(226, 232, 240, 0.92) !important;
}

.skills-grid {
  /* Flex + wrap: reliably centers short last rows on desktop (CSS grid + 1fr often fills full width) */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(1.35rem, 3.2vw, 2.15rem);
  margin-top: clamp(1.25rem, 2.5vw, 1.85rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* Reference layout: 4 columns on wide viewports (3 rows for 12 cards); flex alone often became uneven mid-width */
@media (min-width: 1100px) {
  #skills .skills-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    align-items: stretch;
  }
  #skills .skills-grid .skill-item {
    flex: none;
    max-width: none;
    width: 100%;
  }
}
.skills-section .skills-grid,
.kt-lc-node-abs > .skills-grid {
  text-align: start !important;
}
.skill-item {
  flex: 0 1 280px;
  max-width: min(340px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--enterprise-skill-surface);
  padding: 1.75rem 1.75rem 1.85rem;
  border-radius: 1.125rem;
  border: 1px solid var(--enterprise-skill-border);
  box-shadow: var(--enterprise-shadow-skill);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.35, 0.64, 1),
    background 0.35s ease,
    z-index 0s;
  animation: fadeInUp 0.75s ease-out backwards;
  text-align: start;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  transform-origin: 50% 100%;
  container-type: inline-size;
  container-name: skill-card;
}
.skill-item:nth-child(1) {
  animation-delay: 0.04s;
}
.skill-item:nth-child(2) {
  animation-delay: 0.1s;
}
.skill-item:nth-child(3) {
  animation-delay: 0.16s;
}
.skill-item:nth-child(4) {
  animation-delay: 0.22s;
}
.skill-item:nth-child(5) {
  animation-delay: 0.28s;
}
.skill-item:nth-child(6) {
  animation-delay: 0.34s;
}
.skill-item:nth-child(n + 7) {
  animation-delay: 0.4s;
}
.skill-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 38%;
  border-radius: 1.125rem 1.125rem 0 0;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.85) 0%, transparent 72%);
}
.skill-item > * {
  position: relative;
  z-index: 1;
}
.skill-item h4,
.skill-item .skill-desc,
.skill-item ul {
  text-align: start;
}
.skill-item .cms-prose {
  text-align: start !important;
}
.skill-item:hover {
  background: var(--enterprise-skill-surface-hover);
  transform: translateY(-8px) scale(1.035);
  z-index: 4;
  border-color: var(--enterprise-skill-border-hover);
  box-shadow: var(--enterprise-shadow-skill-hover);
}
.skill-icon-wrapper {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0 0 1.125rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, filter 0.35s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
/* Distinct badge hues per card (cycles for long grids) — default / white band skills. */
.skill-item:nth-child(8n + 2) .skill-icon-wrapper {
  background: linear-gradient(145deg, #14b8a6 0%, #0d9488 100%);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.skill-item:nth-child(8n + 3) .skill-icon-wrapper {
  background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.32), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.skill-item:nth-child(8n + 4) .skill-icon-wrapper {
  background: linear-gradient(145deg, #f43f5e 0%, #be123c 100%);
  box-shadow: 0 2px 8px rgba(190, 18, 60, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.skill-item:nth-child(8n + 5) .skill-icon-wrapper {
  background: linear-gradient(145deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.skill-item:nth-child(8n + 6) .skill-icon-wrapper {
  background: linear-gradient(145deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.32), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.skill-item:nth-child(8n + 7) .skill-icon-wrapper {
  background: linear-gradient(145deg, #ec4899 0%, #db2777 100%);
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.28), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.skill-item:nth-child(8n + 8) .skill-icon-wrapper {
  background: linear-gradient(145deg, #22c55e 0%, #15803d 100%);
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.skill-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(0.875rem - 2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 52%);
  pointer-events: none;
  z-index: 0;
}
.skill-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.875rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22) 0%, transparent 52%);
  pointer-events: none;
  z-index: 1;
}
/* Dark blue band + collaboration/trust preset only: one royal-blue icon tile (blue-leadership uses multi-color like white). */
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-icon-wrapper,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 2) .skill-icon-wrapper,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 3) .skill-icon-wrapper,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 4) .skill-icon-wrapper,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 5) .skill-icon-wrapper,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 6) .skill-icon-wrapper,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 7) .skill-icon-wrapper,
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 8) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 2) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 3) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 4) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 5) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 6) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 7) .skill-icon-wrapper,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-item:nth-child(8n + 8) .skill-icon-wrapper {
  background: linear-gradient(145deg, #5b9dff 0%, #3b82f6 42%, #1e4faf 100%);
  border: 1px solid rgba(12, 28, 64, 0.88);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38) inset,
    0 -10px 18px rgba(0, 20, 60, 0.22) inset,
    0 4px 14px rgba(15, 23, 42, 0.42);
}
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-icon-wrapper::before,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-icon-wrapper::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, transparent 48%);
}
#skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-icon-wrapper::after,
#lc-preview-root #skills.skills-section.kt-lc-section:not(.skills-section--appearance-white):not(.skills-section--preset-leadership) .skill-icon-wrapper::after {
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 22%, transparent 55%);
}
.skill-icon-wrapper > * {
  position: relative;
  z-index: 2;
}
.skill-icon-wrapper .structured-card-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.skill-icon-wrapper .service-icon-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.skill-item:hover .skill-icon-wrapper {
  transform: translateY(-2px);
  filter: brightness(1.04);
}
.skill-item:active .skill-icon-wrapper,
.skill-icon-wrapper:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}
.skill-item:active .skill-icon-wrapper .service-icon-svg.kt-icon-3d,
.skill-icon-wrapper:active .service-icon-svg.kt-icon-3d {
  transform: scale(0.94);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}
.skill-item:hover:active .skill-icon-wrapper {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .skill-item:hover,
  .service-card:hover {
    transform: none;
  }
  .skill-item:hover .skill-icon-wrapper {
    transform: none;
  }
}
/* Titles/descriptions come from TinyMCE — normalize so every card matches (font, size, spacing). */
.skill-item h4,
.skill-item h4.cms-prose {
  flex: 0 0 auto;
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  min-height: 0;
}
.skill-item h4,
.skill-item h4 *,
.skill-item h4.cms-prose,
.skill-item h4.cms-prose * {
  font-family: 'Cormorant Garamond', 'Crimson Pro', Georgia, serif !important;
  font-size: 1.28rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  color: var(--services-text, #1a202c) !important;
}
.skill-item h4 p,
.skill-item h4.cms-prose p {
  margin: 0 !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
.skill-item h4 strong,
.skill-item h4 b,
.skill-item h4.cms-prose strong,
.skill-item h4.cms-prose b {
  font-weight: 700 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}
.skill-item .skill-desc,
.skill-item .skill-desc.cms-prose {
  flex: 1 1 auto;
  margin: 0 !important;
  min-height: 0;
}
.skill-item .skill-desc,
.skill-item .skill-desc.cms-prose,
.skill-item .skill-desc *,
.skill-item .skill-desc.cms-prose *:not(a) {
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  line-height: 1.65 !important;
  color: var(--services-muted, #5c6578) !important;
}
.skill-item .skill-desc p,
.skill-item .skill-desc.cms-prose p {
  margin: 0 0 0.55em !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
.skill-item .skill-desc p:last-child,
.skill-item .skill-desc.cms-prose p:last-child {
  margin-bottom: 0 !important;
}
.skill-item .skill-desc a,
.skill-item .skill-desc.cms-prose a {
  color: var(--accent) !important;
  font-weight: 600 !important;
  font-size: inherit !important;
  text-decoration: none !important;
}
.skill-item .skill-desc a:hover,
.skill-item .skill-desc.cms-prose a:hover {
  text-decoration: underline !important;
}
.skill-item .skill-desc strong,
.skill-item .skill-desc b,
.skill-item .skill-desc.cms-prose strong,
.skill-item .skill-desc.cms-prose b {
  font-weight: 700 !important;
  color: var(--services-text, #1a202c) !important;
  font-size: inherit !important;
  font-family: inherit !important;
}

.process-section {
  padding: var(--process-padding-y, 8rem) var(--section-padding-x, 3rem);
  max-width: var(--content-max-width, 1400px);
  margin: 0 auto;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}
.process-timeline {
  position: relative;
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
  counter-reset: kt-process-step;
}
.kt-lc-node-abs > .process-timeline {
  text-align: start !important;
}
/* Vertical rhythm line (subtle) */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.2) 0%, rgba(148, 163, 184, 0.15) 50%, rgba(59, 130, 246, 0.12) 100%);
  pointer-events: none;
}
@media (max-width: 968px) {
  .process-timeline::before {
    display: none;
  }
}

.process-step {
  counter-increment: kt-process-step;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: center;
  margin-bottom: clamp(1.35rem, 2.5vw, 1.75rem);
  padding: clamp(1.35rem, 2.5vw, 1.65rem) clamp(1.25rem, 2.5vw, 1.75rem);
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 1rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 6px 24px rgba(15, 23, 42, 0.05),
    0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
}
.process-step:last-child {
  margin-bottom: 0;
}
.process-step:hover {
  border-color: rgba(59, 130, 246, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 32px rgba(37, 99, 235, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.05);
}
.process-step:nth-child(even) {
  direction: rtl;
}
.process-step:nth-child(even) > * {
  direction: ltr;
}

.step-content {
  position: relative;
  z-index: 1;
  text-align: start;
  padding-left: 0.25rem;
}
.step-content h3,
.step-content .step-desc,
.step-content ul {
  text-align: start;
}
.step-content .cms-prose {
  text-align: start !important;
}
/* Step index + unified sans typography (matches section body, no mixed Times-like serif) */
.step-content h3 {
  position: relative;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--primary);
  margin: 0 0 0.65rem;
  padding-top: 0.1rem;
  padding-left: 2.85rem;
}
.step-content h3::before {
  content: counter(kt-process-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 0.55rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}
.step-content h3 strong,
.step-content h3 b {
  font-weight: 700;
}
.step-content p,
.step-content .step-desc {
  color: var(--text-light);
  line-height: 1.65;
  font-size: 0.9375rem;
  margin: 0 0 0.65em;
  padding-left: 2.85rem;
}
.step-content .step-desc:last-child,
.step-content p:last-child {
  margin-bottom: 0;
}
.step-content ul.kt-cms-bullets {
  margin-top: 0.5rem;
  margin-left: 2.85rem;
  padding-left: 0;
}
.step-content .step-desc strong,
.step-content .step-desc b {
  font-weight: 600;
  color: var(--primary);
}

.step-visual {
  position: relative;
  min-height: 7.5rem;
  background: linear-gradient(152deg, #5b9cf9 0%, var(--accent) 42%, #1e40af 100%);
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 6px 20px rgba(37, 99, 235, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.process-step:hover .step-visual {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 12px 32px rgba(37, 99, 235, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.step-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.16) 0%, transparent 48%);
  pointer-events: none;
  z-index: 0;
}
.step-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(212, 175, 55, 0.18) 55%,
    transparent 72%
  );
  background-size: 260% 100%;
  animation: ktLcShineDrift 4.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
.step-visual > * {
  position: relative;
  z-index: 2;
}
.step-visual .structured-card-icon-img {
  max-width: 4.5rem;
  max-height: 4.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}
.step-visual .service-icon-svg {
  width: clamp(2.25rem, 4vw, 2.85rem);
  height: clamp(2.25rem, 4vw, 2.85rem);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
}

.cta-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  position: relative;
  padding: var(--cta-padding-y, 6rem) var(--section-padding-x, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content {
  max-width: min(900px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-width: 0;
  box-sizing: border-box;
}
.cta-section h2 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.contact-actions { margin-bottom: 2.5rem; }

.contact-form-disabled-note {
  color: #fcd34d;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 0.75rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-shell {
  max-width: min(40rem, 100%);
  margin: 2rem auto 0;
  min-width: 0;
  box-sizing: border-box;
}

.contact-form {
  text-align: start;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  padding: clamp(1.15rem, 3vw, 1.65rem);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 100%;
  box-sizing: border-box;
}

/* Paired rows: name | email, phone | service; message full width */
.contact-form-fields-layout {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.85rem;
  align-items: stretch;
}

.contact-form .cf-row--single {
  grid-template-columns: 1fr;
}

.contact-form .cf-row--message {
  grid-template-columns: 1fr;
  margin-top: 0.15rem;
}

.contact-form .cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.2);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form .cf-field:focus-within {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(15, 23, 42, 0.42);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.contact-form .cf-field--message {
  padding: 0.55rem 0.65rem;
}

.contact-form .cf-phone-row {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}

.contact-form .cf-phone-cc {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.5rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.65);
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.contact-form .cf-field:focus-within .cf-phone-cc {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(15, 23, 42, 0.78);
}

.contact-form .cf-phone-row .cf-phone-national {
  flex: 1;
  min-width: 0;
}

.contact-form .cf-field__label {
  margin: 0;
  cursor: pointer;
}

.contact-form .cf-field__label .form-label {
  display: inline;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 560px) {
  .contact-form .cf-row:not(.cf-row--message) {
    grid-template-columns: 1fr;
  }
}

.form-field-label {
  margin: 0;
}

.contact-form .form-label {
  font-size: 0.6875rem;
}

.form-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.contact-form .cf-input,
.contact-form input:not([type='checkbox']),
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.15s ease;
}

.contact-form .cf-textarea,
.contact-form textarea {
  min-height: 5.5rem;
  resize: vertical;
  line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.contact-form select,
.contact-form .cf-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}

.contact-form select option {
  background: #1e293b;
  color: #f8fafc;
}

.form-select-wrap {
  position: relative;
}

.contact-form .cf-input:hover,
.contact-form input:not([type='checkbox']):hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.68);
}

.contact-form .cf-input:focus,
.contact-form input:not([type='checkbox']):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.contact-form .cf-input:focus-visible,
.contact-form input:not([type='checkbox']):focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  transform: translateY(-1px);
}

.contact-consents {
  margin-top: 0.85rem;
}

.contact-consents-layout {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-consent-row {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  column-gap: 0.6rem;
  align-items: start;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
  padding: 0.4rem 0.45rem;
  border-radius: 0.45rem;
  transition: background 0.18s ease;
}

.contact-consent-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.contact-consent-check {
  display: flex;
  justify-content: center;
  padding-top: 0.2rem;
}

/* Replace heavy native checkbox (blue “tile”) with a minimal custom control */
.contact-consent-check input[type='checkbox'] {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.contact-consent-check input[type='checkbox']:hover {
  border-color: rgba(255, 255, 255, 0.58);
}
.contact-consent-check input[type='checkbox']:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 10px 8px;
  background-position: center;
  background-repeat: no-repeat;
}
.contact-consent-check input[type='checkbox']:focus {
  outline: none;
}
.contact-consent-check input[type='checkbox']:focus-visible {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.45);
}

.contact-consent-text {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.contact-consent-text a {
  color: #e8d78a;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.contact-consent-text a:hover {
  color: #f5e6a8;
}

.cf-turnstile-host {
  margin: 0.75rem 0 0.25rem;
  min-height: 4.25rem;
}

/* Knowtech built-in PoW — visible shell (work runs in JS; an empty box looked like “no captcha”). */
.cf-knowtech-pow-host {
  margin: 0.45rem 0 0.2rem;
  padding: 0.38rem 0.55rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.45);
}
.kt-pow-captcha-ui {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.25;
}
.kt-pow-captcha-ui.kt-pow-captcha-ui--err {
  color: #fecaca;
}
.kt-pow-captcha-spinner {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(250, 204, 21, 0.95);
  border-radius: 50%;
  animation: kt-pow-spin 0.75s linear infinite;
  flex-shrink: 0;
}
.kt-pow-captcha-ui .kt-pow-captcha-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.22);
  color: #86efac;
  font-weight: 800;
  font-size: 0.65rem;
  flex-shrink: 0;
}
@keyframes kt-pow-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-form-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  cursor: pointer;
  padding: 0.7rem 1.15rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.contact-form-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.contact-form-submit:active {
  transform: translateY(0);
}

.contact-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.contact-form-submit-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.form-msg,
.contact-form .form-msg {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  min-height: 1.5em;
}

.contact-form .form-msg:empty {
  min-height: 0;
}

.contact-form .form-msg.form-msg--ok {
  color: #86efac;
  font-weight: 500;
}

.contact-form .form-msg.form-msg--err {
  color: #fca5a5;
  font-weight: 500;
}

.contact-form .form-msg.form-msg--pending {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 559px) {
  .contact-form-submit {
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
  }
}

footer {
  background: #0f172a;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 3rem 2rem;
}

/* Layout CMS homepage: canvas footer uses same grid as static footer (brand | columns) */
footer#footer.kt-lc-footer-canvas .footer-content.kt-lc-canvas-inner {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
footer#footer.kt-lc-footer-canvas .footer-brand {
  grid-column: 1;
  min-width: 0;
}
footer#footer.kt-lc-footer-canvas .footer-brand > .kt-lc-node-abs {
  position: relative;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 100%;
}
footer#footer.kt-lc-footer-canvas .footer-brand > .kt-lc-node-abs + .kt-lc-node-abs {
  margin-top: 0.75rem;
}
footer#footer.kt-lc-footer-canvas .footer-content > .kt-lc-node-abs[data-kt-lc-node='ft-cols'] {
  grid-column: 2 / -1;
  position: relative;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: auto !important;
  min-width: 0;
  align-self: start;
}
footer#footer.kt-lc-footer-canvas #footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}
footer#footer.kt-lc-footer-canvas > .kt-lc-node-abs[data-kt-lc-node='ft-legal'] {
  position: relative;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 968px) {
  footer#footer.kt-lc-footer-canvas .footer-content.kt-lc-canvas-inner {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }
  footer#footer.kt-lc-footer-canvas .footer-content > .kt-lc-node-abs[data-kt-lc-node='ft-cols'] {
    grid-column: 1;
  }
}
@media (max-width: 900px) {
  footer#footer.kt-lc-footer-canvas #footer-cols {
    grid-template-columns: 1fr;
  }
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  min-width: 0;
}
#footer-cols {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  min-width: 0;
}
/* Section visibility: hide Services / Company / Contact link columns on mobile & tablet (matches JS max-width: 1024px). */
@media (max-width: 1024px) {
  body.kt-footer-nav-cols-hidden-mobile #footer-cols {
    display: none !important;
  }
}
/* Layout CMS preview: same behavior when preview chip is Tablet or Mobile */
.lc-preview-frame[data-bp='tablet'].kt-footer-nav-cols-hidden-mobile #lc-preview-site-tail #footer-cols,
.lc-preview-frame[data-bp='mobile'].kt-footer-nav-cols-hidden-mobile #lc-preview-site-tail #footer-cols {
  display: none !important;
}

/* ── Mobile-only section visibility (≤1024px) — `sectionVisibilityMobile` / applyMobileSectionVisibility ─────────── */
@media (max-width: 1024px) {
  body.kt-mvis-off-hero [data-section-key="hero"],
  body.kt-mvis-off-hero #kt-layout-home-mount section.hero {
    display: none !important;
  }
  body.kt-mvis-off-stats [data-section-key="stats"],
  body.kt-mvis-off-stats #kt-layout-home-mount [data-kt-lc-section="stats"],
  body.kt-mvis-off-stats #kt-layout-home-mount .kt-stats-strip {
    display: none !important;
  }
  body.kt-mvis-off-trust [data-section-key="trust"],
  body.kt-mvis-off-trust #kt-layout-home-mount .trust-section {
    display: none !important;
  }
  body.kt-mvis-off-services .kt-accordion-section[data-accordion-section="services"],
  body.kt-mvis-off-services #kt-sections-wrap > section[data-section-key="services"],
  body.kt-mvis-off-services #kt-layout-home-mount #services {
    display: none !important;
  }
  body.kt-mvis-off-skills .kt-accordion-section[data-accordion-section="skills"],
  body.kt-mvis-off-skills #kt-sections-wrap > section[data-section-key="skills"],
  body.kt-mvis-off-skills #kt-layout-home-mount #skills {
    display: none !important;
  }
  body.kt-mvis-off-process .kt-accordion-section[data-accordion-section="process"],
  body.kt-mvis-off-process #kt-sections-wrap > section[data-section-key="process"],
  body.kt-mvis-off-process #kt-layout-home-mount #process {
    display: none !important;
  }
  body.kt-mvis-off-showcase [data-section-key="showcase"],
  body.kt-mvis-off-showcase #kt-layout-home-mount #services-showcase {
    display: none !important;
  }
  body.kt-mvis-off-contact [data-section-key="contact"],
  body.kt-mvis-off-contact #kt-layout-home-mount section#contact {
    display: none !important;
  }
  body.kt-mvis-off-footer > footer {
    display: none !important;
  }
}

/* Layout CMS preview (breakpoint chips — same toggles as narrow viewports) */
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-hero [data-section-key="hero"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-hero [data-section-key="hero"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-hero #kt-layout-home-mount section.hero,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-hero #kt-layout-home-mount section.hero,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-stats [data-section-key="stats"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-stats [data-section-key="stats"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-stats #kt-layout-home-mount [data-kt-lc-section="stats"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-stats #kt-layout-home-mount [data-kt-lc-section="stats"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-stats #kt-layout-home-mount .kt-stats-strip,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-stats #kt-layout-home-mount .kt-stats-strip,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-trust [data-section-key="trust"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-trust [data-section-key="trust"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-trust #kt-layout-home-mount .trust-section,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-trust #kt-layout-home-mount .trust-section,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-services .kt-accordion-section[data-accordion-section="services"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-services .kt-accordion-section[data-accordion-section="services"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-services #kt-sections-wrap > section[data-section-key="services"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-services #kt-sections-wrap > section[data-section-key="services"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-services #kt-layout-home-mount #services,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-services #kt-layout-home-mount #services,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-skills .kt-accordion-section[data-accordion-section="skills"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-skills .kt-accordion-section[data-accordion-section="skills"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-skills #kt-sections-wrap > section[data-section-key="skills"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-skills #kt-sections-wrap > section[data-section-key="skills"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-skills #kt-layout-home-mount #skills,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-skills #kt-layout-home-mount #skills,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-process .kt-accordion-section[data-accordion-section="process"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-process .kt-accordion-section[data-accordion-section="process"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-process #kt-sections-wrap > section[data-section-key="process"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-process #kt-sections-wrap > section[data-section-key="process"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-process #kt-layout-home-mount #process,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-process #kt-layout-home-mount #process,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-showcase [data-section-key="showcase"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-showcase [data-section-key="showcase"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-showcase #kt-layout-home-mount #services-showcase,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-showcase #kt-layout-home-mount #services-showcase,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-contact [data-section-key="contact"],
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-contact [data-section-key="contact"],
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-contact #kt-layout-home-mount section#contact,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-contact #kt-layout-home-mount section#contact,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-contact #lc-preview-site-tail #contact,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-contact #lc-preview-site-tail #contact,
.lc-preview-frame[data-bp='mobile'].kt-mvis-off-footer #lc-preview-site-tail #site-footer-legacy,
.lc-preview-frame[data-bp='tablet'].kt-mvis-off-footer #lc-preview-site-tail #site-footer-legacy {
  display: none !important;
}
.footer-brand-logo {
  margin-bottom: 0.75rem;
  line-height: 0;
}
/* Fixed height for consistent, sharp footer wordmarks */
.footer-logo-img {
  height: 2.75rem;
  width: auto;
  max-width: min(100%, 280px);
  object-fit: contain;
  object-position: left center;
  display: block;
  image-rendering: auto;
  -webkit-user-drag: none;
}
.footer-brand p { line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.95rem; color: rgba(255,255,255,0.55); }
.social-links { display: flex; gap: 1rem; }
.social-links.social-links--empty {
  display: none !important;
  margin: 0 !important;
  min-height: 0;
}
.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.social-links a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.social-links a .channel-icon {
  display: block;
  flex-shrink: 0;
}
/* SVG social glyphs use currentColor (inherits white from .social-links a) */
.social-links a .channel-icon--social,
.social-links a .channel-icon--email {
  color: inherit;
}
.social-links a:hover .channel-icon--facebook path {
  fill: #63a4ff;
}
.social-links a:hover .channel-icon--whatsapp path {
  fill: #fff;
}
.social-links a:hover .channel-icon--telegram-bg {
  fill: #fff;
}
.social-links a:hover .channel-icon--telegram-plane {
  fill: #2AABEE;
}
.footer-links h4 { color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}
.kt-mobile-footer-about {
  display: none;
}

@media (max-width: 1024px) {
  .nav-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: max(min(1.5rem, 4vw), env(safe-area-inset-left, 0px));
    padding-right: max(min(1.5rem, 4vw), env(safe-area-inset-right, 0px));
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
    flex-direction: column;
    gap: 0.15rem;
    z-index: 1002;
  }
  body.nav-open .nav-links {
    display: flex;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:hover {
    background: var(--light-gray);
  }

  .hero p:not(h1 p) { font-size: 1rem; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
  .skill-item {
    max-width: none;
    width: 100%;
  }

  .kt-accordion-section {
    margin: 0 0 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.9rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }
  .kt-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 56px;
    padding: 0.85rem 1rem;
    border: none;
    background: #fff;
    color: var(--primary);
    text-align: start;
    cursor: pointer;
  }
  .kt-accordion-trigger-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
  }
  .kt-accordion-trigger-meta {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.3;
  }
  .kt-accordion-trigger-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
  }
  .kt-accordion-trigger-meta,
  .kt-accordion-trigger-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .kt-accordion-trigger-icon {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--text-light);
    transition: transform 0.25s ease;
  }
  .kt-accordion-section.is-open .kt-accordion-trigger-icon {
    transform: rotate(180deg);
  }
  .kt-accordion-panel {
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
  }
  .kt-accordion-section.is-open .kt-accordion-panel {
    grid-template-rows: 1fr;
  }
  .kt-accordion-content {
    overflow: hidden;
  }

  /* Tablet: keep cube/card layouts once an accordion section is open. */
  .process-step {
    grid-template-columns: 1fr;
  }
  .process-step:nth-child(even) {
    direction: ltr;
  }
  .step-content h3,
  .step-content p,
  .step-content .step-desc {
    padding-left: 0;
  }
  .step-content h3::before {
    position: static;
    display: inline-flex;
    margin-right: 0.65rem;
    vertical-align: middle;
  }
  .step-content h3 {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
  }
  .step-content ul.kt-cms-bullets {
    margin-left: 0;
  }
  body.rtl .step-content h3,
  body.rtl .step-content p,
  body.rtl .step-content .step-desc {
    padding-right: 0;
  }
  body.rtl .step-content h3::before {
    margin-left: 0.5rem;
    margin-right: 0;
  }
  body.rtl .step-content ul.kt-cms-bullets {
    margin-right: 0;
  }
  .footer-content { grid-template-columns: 1fr; }
  #footer-cols { grid-column: 1; grid-template-columns: 1fr; }
  .services, .process-section {
    padding: clamp(3rem, 7vw, 4.25rem) 1.5rem;
  }
  .skills-section {
    padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
  }
  .cta-section { padding: 4rem 1.5rem; }
  footer {
    padding-left: min(1.5rem, 4vw);
    padding-right: min(1.5rem, 4vw);
  }
}

@media (max-width: 768px) {
  .kt-mobile-footer-about {
    display: inline;
  }
  .nav-container {
    align-items: center;
    gap: 0.5rem;
  }
  .nav-right {
    gap: 0.45rem;
  }
  .nav-lang-switcher button {
    min-height: 44px;
  }
  .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.6rem);
  }
  .hero h1 .hero-highlight {
    font-size: clamp(2.05rem, 9.4vw, 2.85rem);
  }
  .hero p:not(h1 p) {
    font-size: 0.97rem;
    line-height: 1.55;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  .hero-buttons .primary-button,
  .hero-buttons .secondary-button {
    width: 100%;
    min-height: 44px;
    text-align: center;
    justify-content: center;
  }
  .services-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .skill-item {
    max-width: 100%;
  }
  .service-card {
    padding: 1.75rem;
  }
  .contact-form {
    padding: 1.15rem 1rem;
  }
}

@media (max-width: 640px) {
  .nav-right { gap: 0.5rem; }
  .nav-links {
    left: 0.6rem;
    right: 0.6rem;
  }
}

body.rtl .contact-form select,
body.rtl .contact-form .cf-select {
  padding-right: 0.7rem;
  padding-left: 2.25rem;
  background-position: left 0.65rem center;
}

body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Heebo', sans-serif;
  line-height: 1.8;
}
body.rtl .nav-container { flex-direction: row; }
body.rtl .logo-block { align-items: flex-end; }
body.rtl .footer-content { text-align: right; }
body.rtl .section-header { text-align: center; }
body.rtl .cta-content { text-align: center; }
body.rtl .logo-wordmark { object-position: right center; }
body.rtl .footer-logo-img { object-position: right center; }
body.rtl .section-title { font-family: 'Heebo', sans-serif; }
body.rtl .service-card h3 { font-family: 'Heebo', sans-serif; }
body.rtl .services .services-grid,
body.rtl .kt-lc-node-abs > .services-grid {
  text-align: right !important;
}
body.rtl .service-card,
body.rtl .service-card h3,
body.rtl .service-card .service-card-desc,
body.rtl .service-card ul {
  text-align: right;
}
body.rtl .service-card .cms-prose {
  text-align: right !important;
}
body.rtl .skills-section .skills-grid,
body.rtl .kt-lc-node-abs > .skills-grid,
body.rtl .skill-item,
body.rtl .skill-item h4,
body.rtl .skill-item .skill-desc {
  text-align: right !important;
}
body.rtl .skill-item .cms-prose {
  text-align: right !important;
}
body.rtl .step-content,
body.rtl .step-content h3,
body.rtl .step-content .step-desc {
  text-align: right;
}
body.rtl .step-content .cms-prose {
  text-align: right !important;
}
body.rtl .skill-item h4,
body.rtl .skill-item h4 *,
body.rtl .skill-item h4.cms-prose,
body.rtl .skill-item h4.cms-prose * {
  font-family: 'Heebo', sans-serif !important;
  letter-spacing: 0 !important;
}
body.rtl .step-content h3 { font-family: 'Heebo', sans-serif; }
body.rtl .footer-logo-img { object-position: right center; }
body.rtl .cta-section h2 { font-family: 'Heebo', sans-serif; }
/* RTL list markers and card accent bar */
body.rtl .service-card li { padding-left: 0; padding-right: 1.5rem; }
body.rtl .service-card li::before { left: auto; right: 0; }
body.rtl .service-card::before { left: auto; right: 0; transform-origin: right; }
body.rtl .skill-item p,
body.rtl .skill-item .skill-desc { line-height: 1.8; }

/* Process section: same grid layout as EN/DE (alternating content/visual) */
body.rtl .process-section { direction: ltr; }
body.rtl .process-step .step-content {
  direction: rtl;
  text-align: right;
}
body.rtl .step-content h3,
body.rtl .step-content .step-desc,
body.rtl .step-content p {
  padding-left: 0;
  padding-right: 2.85rem;
}
body.rtl .step-content h3::before {
  left: auto;
  right: 0;
}
body.rtl .step-content ul.kt-cms-bullets {
  margin-left: 0;
  margin-right: 2.85rem;
}

/* Language switch loading state */
body.loading-lang {
  pointer-events: none;
}
body.loading-lang::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}
body.loading-lang::before {
  content: 'Loading…';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  animation: cookieSlideUp 0.35s ease-out;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  min-width: 0;
}
.cookie-banner-text {
  flex: 1;
  min-width: min(240px, 100%);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cookie-btn {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn-accept {
  background: var(--accent);
  color: white;
}
.cookie-btn-accept:hover {
  background: var(--accent-hover);
  color: white;
}
.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.25);
}
.cookie-btn-manage {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-btn-manage:hover {
  background: rgba(59, 130, 246, 0.1);
}
.cookie-btn-save {
  background: var(--accent);
  color: white;
  margin-top: 1rem;
}
.cookie-btn-save:hover {
  background: var(--accent-hover);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.cookie-modal.cookie-modal-visible {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.cookie-modal-content {
  position: relative;
  background: white;
  color: var(--text);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}
.cookie-modal-title {
  font-family: 'Crimson Pro', serif;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.cookie-modal-intro {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}
.cookie-category-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cookie-category-info strong {
  font-size: 0.95rem;
  color: var(--primary);
}
.cookie-category-info span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}
.cookie-toggle {
  flex-shrink: 0;
  display: inline-block;
  width: 44px;
  height: 24px;
  position: relative;
  cursor: pointer;
}
.cookie-toggle[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent);
}
.cookie-toggle input:focus + .cookie-toggle-slider {
  box-shadow: 0 0 0 2px var(--primary);
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: var(--secondary);
}
#cookie-prefs-link:hover {
  text-decoration: underline;
}

/* Section background videos (Appearance / Layout CMS uploads — MP4, WebM, MOV) */
.has-bg-video {
  position: relative;
}
.kt-section-bg-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.kt-section-bg-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kt-section-bg-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}
.has-bg-video > *:not(.kt-section-bg-video-layer) {
  position: relative;
  z-index: 2;
}
/* Keep existing section glow pseudo-elements above the video but below content */
.hero.has-bg-video::before,
.skills-section.has-bg-video::before,
.cta-section.has-bg-video::before,
.cta-section.has-bg-video::after {
  z-index: 1;
}


