/* =========================================================
   Active Digit — Design System
   Light Editorial · Deep Teal accent
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Colors — official brand spec from CLAUDE.md */
  --bg-primary: #FAFAF7;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F0F0EC;
  --bg-dark: #0A1929;

  --text-primary: #0A0A0A;
  --text-secondary: #4A5568;
  --text-tertiary: #6B6B6B;
  --text-inverse: #FAFAF7;

  --accent: #094B7B;
  --accent-hover: #1A6BA0;
  --accent-dark: #063558;
  --accent-soft: rgba(9, 75, 123, 0.08);
  --accent-border: rgba(9, 75, 123, 0.18);

  --highlight: #D5DE23;
  --highlight-soft: rgba(213, 222, 35, 0.18);
  --highlight-deep: #B8C01F;
  --highlight-glow: #E8F048;

  /* Vibrant palette (parallax-inspired, on-brand blue→teal→lime family) */
  --vib-blue: #1A6BA0;
  --vib-cyan: #1FB6C9;
  --vib-teal: #16C7A8;
  --vib-green: #4FD17A;
  --vib-violet: #6C63D8;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #063558 0%, #094B7B 35%, #1A6BA0 65%, #1FB6C9 100%);
  --grad-blue: linear-gradient(140deg, #094B7B, #1A6BA0);
  --grad-cyan: linear-gradient(140deg, #1A6BA0, #1FB6C9);
  --grad-teal: linear-gradient(140deg, #0E8C9E, #16C7A8);
  --grad-green: linear-gradient(140deg, #16C7A8, #4FD17A);
  --grad-lime: linear-gradient(140deg, #A8BD22, #D5DE23);
  --grad-violet: linear-gradient(140deg, #4A4FB0, #6C63D8);
  --grad-cta: linear-gradient(135deg, #094B7B 0%, #1FB6C9 100%);

  --border: rgba(9, 75, 123, 0.12);
  --border-strong: #0A0A0A;

  /* Typography — Tajawal (display) + Rubik (body, supports AR/HE/EN) */
  --font-display: 'Tajawal', 'Rubik', system-ui, sans-serif;
  --font-body: 'Rubik', 'Tajawal', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1400px;
  --container-padding: clamp(1.25rem, 4vw, 4rem);
  --section-padding-y: clamp(4rem, 10vw, 8rem);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 11, 15, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 11, 15, 0.06), 0 2px 6px rgba(10, 11, 15, 0.04);
  --shadow-lg: 0 24px 60px rgba(10, 11, 15, 0.10), 0 4px 12px rgba(10, 11, 15, 0.04);
  --shadow-xl: 0 40px 100px rgba(10, 11, 15, 0.14);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-slow: 600ms;

  /* Header */
  --header-height: 76px;
}

/* ---------- 1.5. Loading Sequence (Huge-style intro) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.loader.is-revealing {
  transform: translateY(-100%);
}

.loader__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1em;
}

.loader__text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-inverse);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  will-change: opacity, transform;
  text-align: center;
}

.loader__text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loader__text.is-exit {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.loader__text-accent {
  color: var(--highlight);
}

.loader__dot {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  background: var(--highlight);
  border-radius: 50%;
  margin-inline-start: 0.15em;
  vertical-align: 0.1em;
}

.loader__flash {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.08s linear;
  z-index: 1;
}

.loader__flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, 0.45);
}

.loader__flash.is-active {
  opacity: 1;
}

.loader__progress {
  position: absolute;
  bottom: 32px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: clamp(160px, 30vw, 240px);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  overflow: hidden;
  z-index: 5;
}

[dir="rtl"] .loader__progress {
  transform: translateX(50%);
}

.loader__progress-bar {
  height: 100%;
  width: 0;
  background: var(--highlight);
  transition: width 3.6s linear;
}

.loader__progress-bar.is-running {
  width: 100%;
}

.loader__corner {
  position: absolute;
  bottom: 32px;
  inset-inline-end: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(244, 244, 240, 0.5);
  z-index: 5;
}

.loader__corner-num {
  color: var(--highlight);
  margin-inline-start: 4px;
}

body.is-loading {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .loader { transition: opacity 0.3s ease; }
  .loader__text { transition: opacity 0.2s ease; transform: none; }
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--text-inverse);
}

/* Accessibility — visible keyboard focus (ui-ux-pro-max §1 CRITICAL) */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* On dark/gradient surfaces, use lime ring for contrast */
.hero--vibrant :focus-visible,
.cta-block :focus-visible,
.ai-section :focus-visible,
.engineering-section :focus-visible,
.footer :focus-visible,
.service-block:focus-visible,
.bento__card--feature:focus-visible {
  outline-color: var(--highlight);
}

/* Remove default outline only when focus-visible is supported (keep for keyboard) */
:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
  color: var(--text-primary);
}

.display-1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  line-height: 1.3;
  letter-spacing: 0;
}

.h1 { font-size: clamp(1.625rem, 3.6vw, 2.625rem); line-height: 1.3; font-weight: 700; }
.h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.3; font-weight: 700; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.35; font-weight: 700; }
.h4 { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.4; font-weight: 600; }

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1, 'ss01' 1;
}

p {
  margin: 0 0 var(--space-4) 0;
}

p:last-child { margin-bottom: 0; }

.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-accent { color: var(--accent); }
.text-highlight { color: var(--highlight); }

/* Highlight word (used in display headings) */
.word-accent {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}

.word-accent::after {
  content: '';
  position: absolute;
  inset-inline-start: -2px;
  inset-inline-end: -2px;
  bottom: 0.1em;
  height: 0.18em;
  background: var(--highlight-soft);
  z-index: -1;
  border-radius: 2px;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--section-padding-y);
  position: relative;
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-header {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-header.is-centered {
  margin-inline: auto;
  text-align: center;
}

.section-header .eyebrow { margin-bottom: var(--space-4); }
.section-header h2 { margin-bottom: var(--space-4); }

/* Divider line */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-inverse);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(9, 75, 123, 0.32);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 0.625rem 0;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform var(--duration-base) var(--ease-out);
}

.btn--ghost:hover::after { transform: scaleX(0.5); }

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-out);
}

[dir="rtl"] .btn-arrow { transform: scaleX(-1); }

.btn:hover .btn-arrow {
  transform: translateX(-4px);
}

[dir="rtl"] .btn:hover .btn-arrow {
  transform: scaleX(-1) translateX(-4px);
}

/* ---------- 6. Header ---------- */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(248, 247, 244, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out);
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(248, 247, 244, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--highlight);
  border-radius: 50%;
  position: relative;
}

.logo__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--highlight);
  opacity: 0.5;
  animation: logoPulse 2.6s ease-out infinite;
}

.logo__img {
  height: 38px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.header.is-scrolled .logo__img { mix-blend-mode: normal; }

.footer .logo .logo__dot { background: var(--highlight); }
.footer .logo .logo__dot::after { background: var(--highlight); }

@keyframes logoPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.6); opacity: 0;   }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-block: var(--space-2);
  line-height: 1.5;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  bottom: 4px;
  transform: translateX(50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

[dir="rtl"] .nav__link.is-active::after {
  transform: translateX(-50%);
}

.header__cta { display: flex; align-items: center; gap: var(--space-3); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border);
}

.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-toggle__bars span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--duration-base) var(--ease-out);
}

/* ---------- 7. Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height) + var(--space-8)) var(--container-padding) var(--space-12);
  transform: translateY(-100%);
  transition: transform var(--duration-slow) var(--ease-out);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ---------- 7.9. VIBRANT HERO (parallax-inspired) ---------- */
.hero--vibrant {
  background: var(--grad-hero);
  color: var(--text-inverse);
  border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-24);
}

.hero--vibrant .hero__content { position: relative; z-index: 3; }
.hero--vibrant .hero__visual { position: relative; z-index: 3; }

.hero--vibrant .eyebrow {
  color: var(--highlight);
}
.hero--vibrant .eyebrow::before { background: var(--highlight); }

.hero--vibrant .hero__title { color: var(--text-inverse); }

.hero--vibrant .word-accent { color: var(--highlight); }
.hero--vibrant .word-accent::after { background: rgba(213, 222, 35, 0.25); }

.hero--vibrant .hero__lead { color: rgba(255, 255, 255, 0.88); }

.hero--vibrant .hero__trust {
  border-top-color: rgba(255, 255, 255, 0.18);
}
.hero--vibrant .hero__trust-label { color: rgba(255, 255, 255, 0.6); }
.hero--vibrant .hero__trust-value { color: var(--text-inverse); }

.hero--vibrant .btn--secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-inverse);
}
.hero--vibrant .btn--secondary:hover {
  background: var(--text-inverse);
  color: var(--accent);
}
.hero--vibrant .btn--primary {
  background: var(--highlight);
  color: var(--accent);
}
.hero--vibrant .btn--primary:hover {
  background: var(--highlight-glow);
  color: var(--accent);
  box-shadow: 0 12px 32px rgba(213, 222, 35, 0.4);
}

/* dotted texture overlay on vibrant hero */
.hero--vibrant .hero__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1.5px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 50% 60% at 80% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 80% 30%, black, transparent 75%);
  pointer-events: none;
}

[dir="rtl"] .hero--vibrant .hero__dots {
  mask-image: radial-gradient(ellipse 50% 60% at 20% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 20% 30%, black, transparent 75%);
}

/* Floating playful blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.85;
  animation: blobFloat 7s ease-in-out infinite;
}
.hero__blob--1 { width: 90px; height: 90px; background: var(--grad-lime); top: 18%; inset-inline-end: 8%; animation-delay: 0s; }
.hero__blob--2 { width: 56px; height: 56px; background: var(--grad-teal); bottom: 22%; inset-inline-start: 10%; animation-delay: 1.2s; }
.hero__blob--3 { width: 40px; height: 40px; background: var(--grad-violet); top: 30%; inset-inline-start: 18%; animation-delay: 2.4s; }
.hero__blob--4 {
  width: 24px; height: 24px;
  background: var(--highlight);
  border-radius: 8px;
  top: 60%; inset-inline-end: 16%;
  filter: none;
  animation: blobSpin 9s linear infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-22px) scale(1.06); }
}
@keyframes blobSpin {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(180deg) translateY(-18px); }
  100% { transform: rotate(360deg) translateY(0); }
}

/* Glass cards inside vibrant hero preview keep working; tweak laptop shadow */
.hero--vibrant .laptop__screen { box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4); }

/* ---------- 7.92. PUBLICO-style growth hero ---------- */
.hero--publico {
  background: linear-gradient(165deg, #0A1929 0%, #073156 38%, #094B7B 70%, #1A6BA0 100%);
}

.growth {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 0.86;
  margin-inline: auto;
}

/* glow behind chart */
.growth::before {
  content: '';
  position: absolute;
  inset: 12% 8% 6%;
  background: radial-gradient(ellipse at 60% 70%, rgba(31, 182, 201, 0.35), transparent 70%);
  filter: blur(30px);
}

.growth__panel {
  position: absolute;
  inset: 16% 6% 8%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.growth__bars {
  position: absolute;
  inset: 22% 12% 14%;
  display: flex;
  align-items: flex-end;
  gap: 7%;
  z-index: 2;
}

.growth__bars span {
  flex: 1;
  height: var(--h, 40%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
  border-radius: 6px 6px 0 0;
  transform-origin: bottom;
  animation: barRise 1s var(--ease-out) backwards;
}
.growth__bars span:nth-child(6) {
  background: linear-gradient(180deg, var(--highlight), var(--highlight-deep));
}
.growth__bars span:nth-child(1) { animation-delay: 0.1s; }
.growth__bars span:nth-child(2) { animation-delay: 0.2s; }
.growth__bars span:nth-child(3) { animation-delay: 0.3s; }
.growth__bars span:nth-child(4) { animation-delay: 0.4s; }
.growth__bars span:nth-child(5) { animation-delay: 0.5s; }
.growth__bars span:nth-child(6) { animation-delay: 0.6s; }

@keyframes barRise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.growth__arrow {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.growth__arrow path {
  stroke: var(--highlight);
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: arrowDraw 1.6s var(--ease-out) 0.6s forwards;
  filter: drop-shadow(0 4px 10px rgba(213, 222, 35, 0.4));
}

@keyframes arrowDraw {
  to { stroke-dashoffset: 0; }
}

/* floating platform badges */
.plat {
  position: absolute;
  width: clamp(44px, 8vw, 60px);
  height: clamp(44px, 8vw, 60px);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  z-index: 4;
  animation: blobFloat 6s ease-in-out infinite;
}
.plat svg { width: 56%; height: 56%; }
.plat--1 { top: 2%;  inset-inline-start: 4%;  animation-delay: 0s; }
.plat--2 { top: 0%;  inset-inline-end: 18%;  animation-delay: 0.8s; }
.plat--3 { top: 34%; inset-inline-end: -2%;  animation-delay: 1.6s; }
.plat--4 { bottom: 20%; inset-inline-start: -3%; animation-delay: 1.2s; }
.plat--5 { bottom: 2%; inset-inline-start: 30%; animation-delay: 2s; }
.plat--6 { top: 18%; inset-inline-start: 26%; animation-delay: 0.4s; }

/* ---------- 7.925. Clean services grid (publico-style) ---------- */
.services-clean-section {
  padding-block: var(--section-padding-y);
}

.services-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.service-clean {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2.125rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.service-clean::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: var(--logical-start, right);
  transition: transform var(--duration-base) var(--ease-out);
}

[dir="rtl"] .service-clean::after { transform-origin: right; }
[dir="ltr"] .service-clean::after { transform-origin: left; }

.service-clean:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.service-clean:hover::after { transform: scaleX(1); }

.service-clean__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-base) var(--ease-out);
}
.service-clean:hover .service-clean__icon { background: var(--highlight-soft); }
.service-clean__icon img { width: 32px; height: 32px; display: block; }

.service-clean__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--text-primary);
}

.service-clean__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
}

.service-clean__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: var(--space-2);
}

@media (max-width: 1024px) {
  .services-clean { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-clean { grid-template-columns: 1fr; }
}

/* ---------- 7.93. Platforms strip ---------- */
.platforms-strip {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.platforms-strip__label {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-8);
}
.platforms-strip__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.platforms-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  opacity: 0.65;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.platforms-strip__item:hover { opacity: 1; transform: translateY(-3px); }
.platforms-strip__item svg { width: 26px; height: 26px; flex-shrink: 0; }

/* AI-generated SVG hero illustration */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.hero-art__svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.32));
  animation: heroArtFloat 6s ease-in-out infinite;
}

@keyframes heroArtFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ---------- 7.95. COLORFUL SERVICE BLOCKS (parallax-inspired) ---------- */
.service-blocks-section {
  padding-block: var(--section-padding-y);
}

.service-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.service-block {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--text-inverse);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  isolation: isolate;
}

.service-block::after {
  content: '';
  position: absolute;
  inset-inline-end: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  z-index: -1;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(9, 75, 123, 0.28);
  filter: saturate(1.15) brightness(1.05);
}
.service-block:hover::after { transform: scale(1.5); }
.service-block:hover .service-block__icon { transform: rotate(-8deg) scale(1.08); }
.service-block__icon { transition: transform var(--duration-base) var(--ease-out); }

.service-block--blue   { background: var(--grad-blue); }
.service-block--cyan   { background: var(--grad-cyan); }
.service-block--teal   { background: var(--grad-teal); }
.service-block--green  { background: var(--grad-green); }
.service-block--violet { background: var(--grad-violet); }
.service-block--lime   { background: var(--grad-lime); color: var(--accent); }
.service-block--lime .service-block__num,
.service-block--lime .service-block__desc { color: rgba(9, 75, 123, 0.7); }
.service-block--lime .service-block__arrow { color: var(--accent); }

.service-block--span-2 { grid-column: span 2; }

.service-block__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(10, 25, 41, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.service-block--lime .service-block__icon { background: #fff; }

/* AI-generated brand icons (navy + lime) sit on the white chip */
.service-block__icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.service-block__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.service-block__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.service-block__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.service-block__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-inverse);
}

/* ---------- 8. Hero ---------- */
.hero {
  padding-top: calc(var(--header-height) + var(--space-12));
  padding-bottom: var(--space-24);
  position: relative;
  overflow: hidden;
}

/* Hero tech-feel background */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: -5%;
  background-image:
    linear-gradient(rgba(9, 75, 123, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 75, 123, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, black 0%, transparent 75%);
}

[dir="rtl"] .hero__bg-grid {
  mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, black 0%, transparent 75%);
}

.hero__bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(213, 222, 35, 0.4) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 30% 40% at 80% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 30% 40% at 80% 30%, black 0%, transparent 75%);
}

[dir="rtl"] .hero__bg-dots {
  mask-image: radial-gradient(ellipse 30% 40% at 20% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 30% 40% at 20% 30%, black 0%, transparent 75%);
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0;
  animation: orbFloat 8s ease-in-out infinite, orbAppear 1.2s var(--ease-out) 0.6s forwards;
}

.hero__bg-orb--1 {
  width: 500px;
  height: 500px;
  background: var(--highlight);
  top: -15%;
  inset-inline-end: -10%;
  --orb-opacity: 0.20;
}

.hero__bg-orb--2 {
  width: 420px;
  height: 420px;
  background: var(--accent);
  bottom: -15%;
  inset-inline-start: 5%;
  --orb-opacity: 0.18;
  animation-delay: 1s, 0.6s;
}

@keyframes orbAppear {
  to { opacity: var(--orb-opacity); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -30px) scale(1.05); }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__content { position: relative; z-index: 2; }

.hero__title {
  margin-bottom: var(--space-6);
}

.hero__title small {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  letter-spacing: 0;
}

.hero__lead {
  max-width: 540px;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__trust-label {
  font-size: 0.8125rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-tertiary);
}

.hero__trust-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Hero visual: MacBook mockup */
.hero__visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 640px;
}

.device-stack {
  position: relative;
  aspect-ratio: 1 / 0.85;
}

/* Background blob */
.device-stack::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at center,
              rgba(9, 75, 123, 0.12) 0%,
              rgba(9, 75, 123, 0) 65%);
  filter: blur(40px);
  z-index: 0;
}

/* Laptop frame */
.laptop {
  position: absolute;
  inset-inline: 0;
  top: 8%;
  width: 100%;
  z-index: 2;
}

.laptop__screen {
  position: relative;
  background: #1a1a1a;
  border-radius: 14px 14px 4px 4px;
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-xl);
}

.laptop__screen::before {
  content: '';
  position: absolute;
  top: 5px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #2a2a2a;
  border-radius: 4px;
}

[dir="rtl"] .laptop__screen::before { transform: translateX(50%); }

.laptop__display {
  background: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.laptop__base {
  height: 14px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  margin-inline: -3%;
  border-radius: 0 0 12px 12px;
  position: relative;
}

.laptop__base::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 18%;
  height: 5px;
  background: #0a0a0a;
  border-radius: 0 0 8px 8px;
}

[dir="rtl"] .laptop__base::after { transform: translateX(50%); }

/* Phone mockup */
.phone {
  position: absolute;
  inset-inline-end: -2%;
  bottom: 0;
  width: 22%;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(10, 11, 15, 0.18));
}

.phone__frame {
  background: #0a0a0a;
  border-radius: 28px;
  padding: 8px;
  aspect-ratio: 9 / 19;
}

.phone__display {
  background: var(--bg-surface);
  border-radius: 22px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.phone__notch {
  position: absolute;
  top: 6px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 16px;
  background: #0a0a0a;
  border-radius: 0 0 12px 12px;
  z-index: 4;
}

[dir="rtl"] .phone__notch { transform: translateX(50%); }

/* Mini website preview inside laptop */
.preview {
  font-family: var(--font-body);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.preview__bar {
  height: 22px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding-inline: 8px;
  gap: 4px;
}

.preview__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.preview__bar span:nth-child(1) { background: #ff6058; }
.preview__bar span:nth-child(2) { background: #ffbf2f; }
.preview__bar span:nth-child(3) { background: #2dc946; }

.preview__body {
  flex: 1;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}

.preview__left { display: flex; flex-direction: column; gap: 8px; }

.preview__chip {
  display: inline-block;
  font-size: 7px;
  padding: 3px 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
  align-self: flex-start;
}

.preview__h {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 4px 0;
}

.preview__h em {
  color: var(--accent);
  font-style: normal;
}

.preview__lines { display: flex; flex-direction: column; gap: 4px; }
.preview__line {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}
.preview__line:nth-child(2) { width: 85%; }
.preview__line:nth-child(3) { width: 60%; }

.preview__btn-row { display: flex; gap: 4px; margin-top: 6px; }
.preview__btn {
  height: 14px;
  border-radius: 999px;
  font-size: 6px;
  padding-inline: 8px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.preview__btn--primary { background: var(--accent); color: #fff; }
.preview__btn--ghost { border: 1px solid var(--border); }

.preview__right {
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  padding: 8px;
}

.preview__chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  padding-top: 16px;
}

.preview__bar-graph {
  flex: 1;
  background: var(--accent);
  border-radius: 1px 1px 0 0;
  opacity: 0.85;
}

.preview__bar-graph:nth-child(1) { height: 30%; opacity: 0.4; }
.preview__bar-graph:nth-child(2) { height: 55%; opacity: 0.55; }
.preview__bar-graph:nth-child(3) { height: 40%; opacity: 0.5; }
.preview__bar-graph:nth-child(4) { height: 75%; opacity: 0.7; }
.preview__bar-graph:nth-child(5) { height: 90%; background: var(--highlight); opacity: 1; }
.preview__bar-graph:nth-child(6) { height: 60%; opacity: 0.6; }

.preview__chart-label {
  position: absolute;
  top: 6px;
  inset-inline-start: 8px;
  font-size: 6px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
}

/* Phone preview */
.phone-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 10px 10px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 100%);
}

.phone-preview__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.phone-preview__greeting {
  font-size: 7px;
  font-family: var(--font-body);
  color: var(--text-tertiary);
}

.phone-preview__name {
  font-size: 9px;
  font-weight: 700;
}

.phone-preview__avatar {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}

.phone-preview__card {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
}

.phone-preview__card-label {
  font-size: 7px;
  opacity: 0.65;
  font-family: var(--font-body);
  font-weight: 500;
}

.phone-preview__card-value {
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-display);
}

.phone-preview__card-delta {
  font-size: 6px;
  color: var(--highlight);
  font-family: var(--font-mono);
}

.phone-preview__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 6px;
  background: var(--bg-elevated);
  border-radius: 6px;
  margin-bottom: 4px;
}

.phone-preview__row span:first-child {
  font-size: 7px;
  font-weight: 600;
}

.phone-preview__row span:last-child {
  font-size: 6px;
  color: var(--text-tertiary);
}

/* Floating tag in hero */
.hero__tag {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 4;
}

.hero__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__tag-dot--pulse {
  background: #25D366;
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}

.hero__tag--top {
  top: 4%;
  inset-inline-start: -4%;
}

.hero__tag--bottom {
  bottom: 6%;
  inset-inline-end: -2%;
}

/* ---------- 8.5. Marquee (capability ticker) ---------- */
.marquee-section {
  padding-block: var(--space-8);
  border-block: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  inset-inline-start: 0;
  background: linear-gradient(to right, var(--bg-surface), transparent);
}

[dir="rtl"] .marquee-section::before {
  background: linear-gradient(to left, var(--bg-surface), transparent);
}

.marquee-section::after {
  inset-inline-end: 0;
  background: linear-gradient(to left, var(--bg-surface), transparent);
}

[dir="rtl"] .marquee-section::after {
  background: linear-gradient(to right, var(--bg-surface), transparent);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

.marquee-section:hover .marquee {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(var(--space-4), 2vw, var(--space-6));
  padding-inline-end: clamp(var(--space-4), 2vw, var(--space-6));
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1.3;
}

.marquee__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(20px, 2vw, 28px);
  height: clamp(20px, 2vw, 28px);
  color: var(--accent);
  flex-shrink: 0;
}

.marquee__item--accent { color: var(--accent); }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

[dir="rtl"] .marquee {
  animation-direction: reverse;
}

/* ---------- 8.6. Creative Showcase Slider ---------- */
.showcase-section {
  padding-block: var(--section-padding-y);
  position: relative;
  overflow: hidden;
}

.showcase-section .container { position: relative; }

.showcase__viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.showcase__track {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  animation: showcaseScroll 55s linear infinite;
}

.showcase-section:hover .showcase__track {
  animation-play-state: paused;
}

@keyframes showcaseScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

[dir="rtl"] .showcase__track {
  animation-direction: reverse;
}

.showcase__slide {
  flex: 0 0 clamp(280px, 26vw, 380px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: transform var(--duration-base) var(--ease-out);
}

.showcase__slide:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.showcase__caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.showcase__slide-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.showcase__slide-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 240px;
}

.showcase__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Slide 1 — Typography */
.showcase__slide--type {
  background: var(--bg-surface);
}

.showcase__type {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(8rem, 18vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.showcase__type-a { color: var(--accent); }
.showcase__type-d { color: var(--highlight); }
.showcase__type-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  align-self: flex-start;
  margin-top: 8px;
}

/* Slide 2 — Color palette */
.showcase__slide--colors {
  background: var(--bg-surface);
  padding: 0;
}

.showcase__slide--colors .showcase__caption {
  position: absolute;
  bottom: clamp(1.25rem, 2vw, 1.75rem);
  inset-inline-start: clamp(1.25rem, 2vw, 1.75rem);
  inset-inline-end: clamp(1.25rem, 2vw, 1.75rem);
  z-index: 3;
  mix-blend-mode: difference;
  color: #fff;
}

.showcase__slide--colors .showcase__num,
.showcase__slide--colors .showcase__slide-sub {
  color: rgba(255, 255, 255, 0.85);
}

.showcase__slide--colors .showcase__slide-title {
  color: #fff;
}

.showcase__color-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.showcase__color {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
}

.showcase__color--navy { background: var(--accent); color: rgba(255, 255, 255, 0.8); }
.showcase__color--lime { background: var(--highlight); color: rgba(10, 11, 15, 0.6); }
.showcase__color--dark { background: var(--bg-dark); color: rgba(255, 255, 255, 0.6); }
.showcase__color--light { background: var(--bg-primary); color: rgba(10, 11, 15, 0.55); }

/* Slide 3 — Code */
.showcase__slide--code {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
}

.showcase__slide--code .showcase__num,
.showcase__slide--code .showcase__slide-sub {
  color: rgba(244, 244, 240, 0.55);
}

.showcase__slide--code .showcase__slide-title { color: var(--text-inverse); }

.showcase__code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  width: 100%;
  text-align: left;
  direction: ltr;
}

.showcase__code-line {
  display: block;
  white-space: nowrap;
}

.tk-kw   { color: #C5DA2C; }
.tk-fn   { color: #82AAFF; }
.tk-str  { color: #FFCB6B; }
.tk-com  { color: rgba(255, 255, 255, 0.4); }
.tk-num  { color: #F78C6C; }
.tk-tag  { color: #FF5370; }
.tk-prop { color: #C792EA; }

/* Slide 4 — UI Grid */
.showcase__ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.showcase__ui-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.showcase__ui-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.showcase__ui-bar--accent { background: var(--accent); width: 70%; }
.showcase__ui-bar--lime { background: var(--highlight); width: 40%; }

.showcase__ui-btn {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--text-inverse);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  align-self: flex-start;
}

/* Slide 5 — Brand mark */
.showcase__slide--brand {
  background: linear-gradient(135deg, var(--highlight) 0%, #D8E947 100%);
  border-color: var(--highlight);
}

.showcase__slide--brand .showcase__num,
.showcase__slide--brand .showcase__slide-sub {
  color: rgba(10, 11, 15, 0.55);
}

.showcase__brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
  color: var(--accent);
  position: relative;
}

.showcase__brand-mark::after {
  content: '';
  position: absolute;
  top: 6%;
  inset-inline-end: -10%;
  width: 14px;
  height: 14px;
  background: var(--bg-dark);
  border-radius: 50%;
}

/* Slide 6 — Mobile */
.showcase__slide--mobile {
  background: var(--bg-elevated);
}

.showcase__phone {
  width: 64%;
  aspect-ratio: 9 / 18;
  background: var(--bg-dark);
  border-radius: 22px;
  padding: 6px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.showcase__phone::before {
  content: '';
  position: absolute;
  top: 8px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 6px;
  background: #000;
  border-radius: 8px;
  z-index: 2;
}

.showcase__phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-surface);
  border-radius: 18px;
  padding: 20px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.showcase__phone-card {
  background: var(--accent);
  border-radius: 8px;
  height: 32%;
  padding: 8px;
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: flex-end;
}

.showcase__phone-row {
  height: 10px;
  background: var(--bg-elevated);
  border-radius: 4px;
}

.showcase__phone-row:nth-of-type(2) { width: 70%; }
.showcase__phone-row:nth-of-type(3) { width: 90%; }

/* Slide 7 — AI chat */
.showcase__slide--ai {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
}

.showcase__slide--ai .showcase__num,
.showcase__slide--ai .showcase__slide-sub {
  color: rgba(244, 244, 240, 0.55);
}

.showcase__slide--ai .showcase__slide-title { color: var(--text-inverse); }

.showcase__chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: var(--space-2);
}

.showcase__chat-msg {
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.8125rem;
  line-height: 1.4;
  max-width: 85%;
}

.showcase__chat-msg--bot {
  background: var(--highlight);
  color: var(--bg-dark);
  font-weight: 500;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

[dir="rtl"] .showcase__chat-msg--bot {
  align-self: flex-end;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}

.showcase__chat-msg--user {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 244, 240, 0.9);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

[dir="rtl"] .showcase__chat-msg--user {
  align-self: flex-start;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 4px;
}

/* Slide 8 — Performance */
.showcase__slide--perf {
  background: var(--bg-surface);
}

.showcase__perf-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.showcase__perf-unit {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.showcase__perf-bars {
  position: absolute;
  bottom: 30%;
  inset-inline: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.showcase__perf-bar {
  flex: 1;
  background: var(--accent-soft);
  border-radius: 2px 2px 0 0;
}

.showcase__perf-bar:nth-child(1) { height: 35%; }
.showcase__perf-bar:nth-child(2) { height: 55%; }
.showcase__perf-bar:nth-child(3) { height: 45%; }
.showcase__perf-bar:nth-child(4) { height: 75%; }
.showcase__perf-bar:nth-child(5) { height: 100%; background: var(--highlight); }
.showcase__perf-bar:nth-child(6) { height: 65%; }
.showcase__perf-bar:nth-child(7) { height: 80%; }

/* Slide 9 — Gradient art */
.showcase__slide--art {
  background:
    radial-gradient(circle at 20% 20%, var(--highlight) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, var(--accent) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--accent) 100%);
  border-color: var(--bg-dark);
  color: var(--text-inverse);
}

.showcase__slide--art .showcase__num,
.showcase__slide--art .showcase__slide-sub {
  color: rgba(244, 244, 240, 0.7);
}

.showcase__slide--art .showcase__slide-title { color: var(--text-inverse); }

.showcase__art-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text-inverse);
  text-align: center;
  mix-blend-mode: difference;
}

.showcase__art-text em {
  color: var(--highlight);
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  .marquee, .showcase__track {
    animation: none;
  }
}

/* ---------- 9. Trust strip ---------- */
.trust-strip {
  padding-block: var(--space-8);
  border-block: 1px solid var(--border);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.trust-strip__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.trust-strip__brands {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-6), 3vw, var(--space-12));
  flex-wrap: wrap;
}

.trust-strip__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: opacity var(--duration-base) var(--ease-out);
}

.trust-strip__brand:hover { opacity: 1; }

/* ---------- 9.5. Engineering Section ---------- */
.engineering-section {
  position: relative;
  padding-block: var(--section-padding-y);
  background: var(--bg-dark);
  color: var(--text-inverse);
  overflow: hidden;
}

.engineering-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.engineering-section__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: hue-rotate(180deg) saturate(0.8);
}

.engineering-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(213, 222, 35, 0.10), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(9, 75, 123, 0.45), transparent 60%),
    linear-gradient(180deg, rgba(10, 11, 15, 0.75), rgba(10, 11, 15, 0.92));
}

.engineering-section .container {
  position: relative;
  z-index: 1;
}

.engineering__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.engineering__content h2 {
  color: var(--text-inverse);
  margin-block: var(--space-4);
}

.engineering__content .eyebrow {
  color: var(--highlight);
}

.engineering__content .eyebrow::before {
  background: var(--highlight);
}

.engineering__lead {
  color: rgba(244, 244, 240, 0.78);
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-8);
}

.engineering__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
}

.engineering__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.engineering__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--highlight);
}

.engineering__stat-unit {
  font-size: 0.5em;
  font-weight: 500;
  color: rgba(244, 244, 240, 0.5);
}

.engineering__stat-label {
  font-size: 0.8125rem;
  color: rgba(244, 244, 240, 0.6);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.engineering__visual {
  position: relative;
  aspect-ratio: 5 / 4;
}

.engineering__main-img {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.engineering__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.engineering__overlay-card {
  position: absolute;
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-primary);
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 3;
  animation: cardFloat 4s ease-in-out infinite;
}

.engineering__overlay-card--1 {
  top: 8%;
  inset-inline-start: -8%;
}

.engineering__overlay-card--2 {
  bottom: 12%;
  inset-inline-end: -10%;
  animation-delay: 1.5s;
}

.engineering__overlay-card--3 {
  top: 50%;
  inset-inline-end: -6%;
  animation-delay: 0.8s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.overlay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: livePulse 2s ease-out infinite;
}

.overlay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--highlight-deep);
}

.overlay-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-inline-start: 4px;
}

@media (max-width: 1024px) {
  .engineering__inner { grid-template-columns: 1fr; }
  .engineering__visual { max-width: 600px; margin-inline: auto; }
  .engineering__overlay-card--1 { inset-inline-start: 4%; }
  .engineering__overlay-card--2 { inset-inline-end: 4%; }
  .engineering__overlay-card--3 { display: none; }
}

@media (max-width: 640px) {
  .engineering__stats { grid-template-columns: 1fr 1fr; }
  .engineering__stats li:last-child { grid-column: span 2; }
}

/* ---------- 9.6. Photo-frame component (for service rows + about) ---------- */
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-row:hover .photo-frame img,
.photo-frame:hover img {
  transform: scale(1.04);
}

.photo-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 11, 15, 0.45) 100%);
  pointer-events: none;
}

.photo-frame__badge {
  position: absolute;
  bottom: var(--space-4);
  inset-inline-start: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  background: rgba(248, 247, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 2;
}

.photo-frame__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.photo-frame__corner-stat {
  position: absolute;
  top: var(--space-4);
  inset-inline-end: var(--space-4);
  padding: 8px 14px;
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--highlight);
  z-index: 2;
  letter-spacing: 0.05em;
}

/* ---------- 9.7. About visual band ---------- */
.about-visual {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-visual__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(9, 75, 123, 0.55), rgba(10, 11, 15, 0.65));
}

.about-visual__caption {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  color: var(--text-inverse);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.about-visual__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  max-width: 500px;
}

.about-visual__heading em {
  color: var(--highlight);
  font-style: normal;
}

.about-visual__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: rgba(248, 247, 244, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 244, 240, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------- 9.8. Services List (Huge-style numbered with hover previews) ---------- */
.services-list-section {
  padding-block: var(--section-padding-y);
  position: relative;
}

.services-list {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.services-list__item {
  border-bottom: 1px solid var(--border);
  position: relative;
}

.services-list__link {
  display: flex;
  align-items: baseline;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  transition: padding-inline var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}

.services-list__item:hover .services-list__link {
  padding-inline-start: var(--space-6);
  color: var(--accent);
}

.services-list__num {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  min-width: 48px;
  flex-shrink: 0;
}

.services-list__name {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  flex: 1;
}

.services-list__arrow {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}

[dir="rtl"] .services-list__arrow {
  transform: scaleX(-1) translateX(20px);
}

.services-list__item:hover .services-list__arrow {
  opacity: 1;
  transform: translateX(0);
}

[dir="rtl"] .services-list__item:hover .services-list__arrow {
  transform: scaleX(-1) translateX(0);
}

/* Side image preview on hover (desktop only) */
.services-list__preview {
  position: absolute;
  top: 50%;
  inset-inline-end: clamp(2rem, 5vw, 4rem);
  transform: translateY(-50%) scale(0.92);
  width: clamp(280px, 28vw, 380px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  box-shadow: var(--shadow-xl);
  transition: opacity 0.45s var(--ease-out),
              transform 0.45s var(--ease-out);
}

.services-list__item:hover .services-list__preview {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.services-list__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-list__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 25, 41, 0.5) 100%);
  pointer-events: none;
}

.services-list__preview-tag {
  position: absolute;
  bottom: var(--space-3);
  inset-inline-start: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 2;
}

.services-list__preview-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight);
}

@media (max-width: 1024px) {
  .services-list__preview { display: none; }
  .services-list__item:hover .services-list__link {
    padding-inline-start: var(--space-3);
  }
}

/* ---------- 9.9. Language Switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-end: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-tertiary);
  border-radius: var(--radius-full);
  transition: color var(--duration-fast) var(--ease-out);
}

.lang-switch__link:hover { color: var(--text-primary); }

.lang-switch__link.is-active {
  color: var(--accent);
  font-weight: 700;
}

.lang-switch__sep {
  color: var(--border-strong);
  opacity: 0.4;
}

.footer .lang-switch__link { color: rgba(244, 244, 240, 0.55); }
.footer .lang-switch__link:hover { color: var(--text-inverse); }
.footer .lang-switch__link.is-active { color: var(--highlight); }

/* ---------- 10. Services (Bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}

.bento__card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 240px;
}

.bento__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}

.bento__card--span-3 { grid-column: span 3; }
.bento__card--span-2 { grid-column: span 2; }
.bento__card--span-4 { grid-column: span 4; }
.bento__card--span-6 { grid-column: span 6; }

.bento__card--feature {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
  min-height: 320px;
}

.bento__card--feature:hover {
  border-color: var(--accent);
}

.bento__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}

.bento__card--feature .bento__num { color: rgba(244, 244, 240, 0.55); }

.bento__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.bento__card--feature .bento__title {
  font-size: 1.625rem;
  line-height: 1.35;
  margin-top: auto;
}

.bento__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.bento__card--feature .bento__desc { color: rgba(244, 244, 240, 0.7); }

.bento__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.bento__card--feature .bento__arrow { color: var(--highlight); }

.bento__decor {
  position: absolute;
  inset-inline-end: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  background: var(--accent-soft);
  border-radius: 50%;
  opacity: 0.4;
  transition: transform var(--duration-slow) var(--ease-out);
}

.bento__card:hover .bento__decor { transform: scale(1.15); }

.bento__card--feature .bento__decor {
  background: rgba(213, 222, 35, 0.14);
  opacity: 1;
}

/* ---------- 11. AI Agent section ---------- */
.ai-section {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-radius: clamp(20px, 3vw, 32px);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
}

.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(9, 75, 123, 0.55), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(213, 222, 35, 0.10), transparent 50%);
  pointer-events: none;
}

.ai-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-section .eyebrow { color: var(--highlight); }
.ai-section .eyebrow::before { background: var(--highlight); }

.ai-section h2 {
  color: var(--text-inverse);
  margin-bottom: var(--space-4);
}

.ai-section__lead {
  color: rgba(244, 244, 240, 0.75);
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-6);
}

.ai-section__features {
  list-style: none;
  margin: 0 0 var(--space-8) 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.ai-section__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(244, 244, 240, 0.9);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.ai-section__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--highlight);
  position: relative;
}

.ai-section__features li {
  position: relative;
}

.ai-section__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(213, 222, 35, 0.16);
  color: var(--highlight);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-section__features li::before { display: none; }

/* Chat mockup */
.chat-mock {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.chat-mock__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-4);
}

.chat-mock__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--bg-dark);
}

.chat-mock__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-mock__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.chat-mock__status {
  font-size: 0.75rem;
  color: rgba(244, 244, 240, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-mock__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: livePulse 1.8s ease-out infinite;
}

.chat-mock__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 280px;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.7rem 1rem;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn 0.5s var(--ease-out) forwards;
}

.chat-bubble--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 244, 240, 0.95);
  border-bottom-right-radius: 6px;
}

[dir="rtl"] .chat-bubble--user {
  align-self: flex-start;
  border-bottom-right-radius: 18px;
  border-bottom-left-radius: 6px;
}

.chat-bubble--bot {
  align-self: flex-start;
  background: var(--highlight);
  color: var(--bg-dark);
  border-bottom-left-radius: 6px;
  font-weight: 500;
}

[dir="rtl"] .chat-bubble--bot {
  align-self: flex-end;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 6px;
}

.chat-bubble:nth-child(1) { animation-delay: 0.1s; }
.chat-bubble:nth-child(2) { animation-delay: 0.6s; }
.chat-bubble:nth-child(3) { animation-delay: 1.2s; }
.chat-bubble:nth-child(4) { animation-delay: 1.8s; }
.chat-bubble:nth-child(5) { animation-delay: 2.4s; }
.chat-bubble:nth-child(6) { animation-delay: 3.0s; }

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-typing {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.7rem 1rem;
  border-radius: 18px;
  display: flex;
  gap: 4px;
}

[dir="rtl"] .chat-typing { align-self: flex-end; }

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 244, 240, 0.5);
  animation: typingBounce 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ---------- 12. Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.why-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background var(--duration-base) var(--ease-out);
  position: relative;
}

.why-card:hover {
  background: var(--bg-elevated);
}

.why-card__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  margin-block: var(--space-2);
}

.why-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ---------- 13. Process Timeline ---------- */
.process {
  position: relative;
}

.process__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  position: relative;
}

.process__list::before {
  content: '';
  position: absolute;
  top: 32px;
  inset-inline-start: 5%;
  inset-inline-end: 5%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process__step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.process__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.process__step:hover .process__num {
  background: var(--accent);
  color: var(--text-inverse);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(9, 75, 123, 0.24);
}

.process__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.process__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- 14. Portfolio ---------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.portfolio-filter {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.portfolio-filter:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.portfolio-filter.is-active {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card__media {
  aspect-ratio: 16 / 11;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.portfolio-card__media--img {
  padding: 0;
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.portfolio-card:hover .portfolio-card__img {
  transform: scale(1.04);
}

.portfolio-card__overlay {
  position: absolute;
  top: var(--space-3);
  inset-inline-end: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(10, 11, 15, 0.85);
  color: var(--text-inverse);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
  z-index: 2;
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card__overlay svg {
  width: 12px;
  height: 12px;
}

.portfolio-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portfolio-card__tag {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.portfolio-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.portfolio-card__result {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
}

/* Mockup variants inside portfolio cards */
.mock {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mock--web {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6%;
}

.mock--web .mock__nav {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.mock--web .mock__nav span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}
.mock--web .mock__hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.mock--web .mock__title {
  height: 12px;
  background: var(--text-primary);
  border-radius: 2px;
  width: 80%;
  margin-bottom: 6px;
}
.mock--web .mock__title-2 {
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  width: 55%;
  margin-bottom: 8px;
}
.mock--web .mock__txt {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 3px;
}
.mock--web .mock__txt:nth-of-type(2) { width: 90%; }
.mock--web .mock__txt:nth-of-type(3) { width: 70%; }
.mock--web .mock__btn {
  margin-top: 10px;
  display: inline-block;
  height: 18px;
  width: 70px;
  border-radius: 999px;
  background: var(--text-primary);
}
.mock--web .mock__img {
  background: linear-gradient(135deg, var(--accent-soft), var(--highlight-soft));
  border-radius: 6px;
}
.mock--web .mock__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.mock--web .mock__cell {
  height: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.mock--shop {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6%;
}
.mock--shop .mock__shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.mock--shop .mock__product {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-elevated));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.mock--shop .mock__product::after {
  content: '';
  position: absolute;
  bottom: 2px;
  inset-inline-start: 2px;
  width: 60%;
  height: 4px;
  background: var(--text-primary);
  border-radius: 1px;
}
.mock--shop .mock__product:nth-child(2) {
  background: linear-gradient(135deg, var(--highlight-soft), var(--bg-elevated));
}
.mock--shop .mock__product:nth-child(5) {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}

.mock--app {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  padding: 4%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Real-image phone stack — used inside .mock--app to show actual app screens */
.phone-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-stack::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at center, rgba(213, 222, 35, 0.18), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.phone-real {
  width: 28%;
  aspect-ratio: 9 / 19;
  background: #0a0a0a;
  border-radius: 22px;
  padding: 5px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-out);
}

.phone-real::before {
  content: '';
  position: absolute;
  top: 8px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 5px;
  background: #000;
  border-radius: 4px;
  z-index: 3;
}

[dir="rtl"] .phone-real::before {
  transform: translateX(50%);
}

.phone-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 17px;
  display: block;
}

.phone-real:nth-child(1) {
  transform: rotate(-7deg) translateY(6%);
  z-index: 1;
  margin-inline-end: -8%;
  opacity: 0.92;
}

.phone-real:nth-child(2) {
  transform: scale(1.12) translateY(-2%);
  z-index: 3;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.phone-real:nth-child(3) {
  transform: rotate(7deg) translateY(6%);
  z-index: 1;
  margin-inline-start: -8%;
  opacity: 0.92;
}

.mock--app:hover .phone-real:nth-child(1) {
  transform: rotate(-9deg) translateY(4%) translateX(-4%);
}

.mock--app:hover .phone-real:nth-child(3) {
  transform: rotate(9deg) translateY(4%) translateX(4%);
}

[dir="rtl"] .mock--app:hover .phone-real:nth-child(1) {
  transform: rotate(-9deg) translateY(4%) translateX(4%);
}

[dir="rtl"] .mock--app:hover .phone-real:nth-child(3) {
  transform: rotate(9deg) translateY(4%) translateX(-4%);
}

@media (max-width: 640px) {
  .phone-real { width: 32%; }
  .phone-real:nth-child(1),
  .phone-real:nth-child(3) { display: none; }
  .phone-real:nth-child(2) { transform: none; width: 55%; }
}
.mock--app .mock__phone {
  width: 38%;
  aspect-ratio: 9 / 18;
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 5px;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.mock--app .mock__phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 14px 6px 6px;
  position: relative;
}
.mock--app .mock__phone-screen::before {
  content: '';
  position: absolute;
  top: 4px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 4px;
  background: var(--bg-dark);
  border-radius: 4px;
}
[dir="rtl"] .mock--app .mock__phone-screen::before { transform: translateX(50%); }

.mock--app .mock__phone-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 4px 0;
}
.mock--app .mock__phone-bar:nth-child(1) { background: var(--accent); width: 70%; }
.mock--app .mock__phone-tile {
  background: var(--bg-elevated);
  border-radius: 4px;
  height: 24px;
  margin: 3px 0;
  position: relative;
}
.mock--app .mock__phone-tile::after {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.mock--landing {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mock--landing .mock__big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 8px;
}
.mock--landing .mock__big em {
  color: var(--highlight);
  font-style: normal;
}
.mock--landing .mock__line-l {
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  margin-bottom: 4px;
}
.mock--landing .mock__line-l:nth-of-type(3) { width: 80%; }
.mock--landing .mock__btn-l {
  margin-top: 12px;
  display: inline-block;
  padding: 6px 14px;
  background: var(--highlight);
  color: var(--bg-dark);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  width: fit-content;
}

.mock--brand {
  background: var(--bg-elevated);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6%;
}
.mock--brand .mock__brand-cell {
  background: var(--bg-surface);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}
.mock--brand .mock__brand-cell:nth-child(1) { color: var(--text-primary); }
.mock--brand .mock__brand-cell:nth-child(2) {
  background: var(--accent);
  color: var(--text-inverse);
}
.mock--brand .mock__brand-cell:nth-child(3) {
  background: var(--highlight);
  color: var(--bg-dark);
}
.mock--brand .mock__brand-cell:nth-child(4) {
  background: var(--bg-dark);
  color: var(--text-inverse);
  flex-direction: column;
  gap: 2px;
}
.mock--brand .mock__brand-cell:nth-child(4)::after {
  content: 'ACTIVE';
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--highlight);
  font-weight: 500;
}

.mock--ai {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-end;
}
.mock--ai .mock__msg {
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 0.6875rem;
  max-width: 80%;
}
.mock--ai .mock__msg--bot {
  background: var(--accent);
  color: var(--text-inverse);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
[dir="rtl"] .mock--ai .mock__msg--bot {
  align-self: flex-end;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 4px;
}
.mock--ai .mock__msg--user {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
[dir="rtl"] .mock--ai .mock__msg--user {
  align-self: flex-start;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 4px;
}

/* ---------- 15. Industries (Tags) ---------- */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  max-width: 880px;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--duration-base) var(--ease-out);
}

.industry-tag:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
}

.industry-tag__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.industry-tag:hover .industry-tag__num { color: var(--accent); }

/* ---------- 15.5. Manifesto Section (We Believe) ---------- */
.manifesto-section {
  padding-block: var(--section-padding-y);
  border-top: 1px solid var(--border);
}

.manifesto-list {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
}

.manifesto__item {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding-inline-start var(--duration-base) var(--ease-out);
}

.manifesto__item:last-child { border-bottom: none; }

.manifesto__item:hover {
  padding-inline-start: var(--space-4);
}

.manifesto__num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  min-width: 40px;
  flex-shrink: 0;
}

.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.manifesto__text em {
  color: var(--accent);
  font-style: normal;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.manifesto__text em::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  inset-inline-start: -4px;
  inset-inline-end: -4px;
  height: 0.22em;
  background: var(--highlight-soft);
  z-index: -1;
  border-radius: 3px;
}

/* ---------- 15.6. Stats Section ---------- */
.stats-section {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 9rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat__plus {
  color: var(--accent);
}

.stat__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
  max-width: 200px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .stat__label { border-top: none; padding-top: 0; }
}

/* ---------- 16. CTA Block ---------- */
.cta-block {
  background: var(--grad-cta);
  color: var(--text-inverse);
  border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(213, 222, 35, 0.16), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}

.cta-block__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.cta-block h2 {
  color: var(--text-inverse);
  margin-bottom: var(--space-4);
}

.cta-block p {
  color: rgba(244, 244, 240, 0.85);
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--space-8);
}

.cta-block .btn--primary {
  background: var(--highlight);
  color: var(--bg-dark);
}

.cta-block .btn--primary:hover {
  background: #ffc44d;
  color: var(--bg-dark);
}

.cta-block .btn--whatsapp {
  background: #fff;
  color: var(--accent);
}

.cta-block .btn--whatsapp:hover { background: #fafaf7; }

/* ---------- 17. Forms ---------- */
.form {
  display: grid;
  gap: var(--space-6);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.form__group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form__label {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-tertiary);
}

.form__control {
  width: 100%;
  padding: 0.625rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color var(--duration-base) var(--ease-out);
}

.form__control:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form__control::placeholder { color: var(--text-tertiary); }

textarea.form__control {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

select.form__control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%234A5568' stroke-width='1.5'%3e%3cpath d='M1 1.5L6 6.5L11 1.5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 0.5rem center;
  background-size: 12px;
  padding-inline-start: 2rem;
}

[dir="rtl"] select.form__control {
  background-position: right 0.5rem center;
  padding-inline-start: 0;
  padding-inline-end: 2rem;
}

.form__submit { margin-top: var(--space-2); }

/* ---------- 18. Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: var(--space-6);
  margin-top: var(--space-24);
  position: relative;
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: var(--space-12);
}

.footer__brand .logo { color: var(--text-inverse); margin-bottom: var(--space-4); }

.footer__desc {
  color: rgba(244, 244, 240, 0.65);
  font-size: 0.9375rem;
  line-height: 1.85;
  max-width: 360px;
  margin-bottom: var(--space-6);
}

.footer__socials {
  display: flex;
  gap: var(--space-2);
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-base) var(--ease-out);
  color: var(--text-inverse);
}

.footer__social:hover {
  background: var(--highlight);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: rgba(244, 244, 240, 0.55);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col a {
  color: rgba(244, 244, 240, 0.85);
  font-size: 0.9375rem;
  line-height: 1.6;
  transition: color var(--duration-base) var(--ease-out);
}

.footer__col a:hover { color: var(--highlight); }

.footer__bigtype {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(244, 244, 240, 0.06);
  line-height: 0.85;
  text-align: center;
  margin-block: clamp(2rem, 5vw, 3rem);
  user-select: none;
}

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.875rem;
  color: rgba(244, 244, 240, 0.55);
  line-height: 1.7;
}

.footer__bottom a:hover { color: var(--text-inverse); }

/* ---------- 19. Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: clamp(1.25rem, 3vw, 2rem);
  inset-inline-start: clamp(1.25rem, 3vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.875rem 1.25rem 0.875rem 1.125rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform var(--duration-base) var(--ease-out);
}

[dir="rtl"] .fab-whatsapp {
  padding: 0.875rem 1.125rem 0.875rem 1.25rem;
}

.fab-whatsapp:hover {
  transform: translateY(-3px);
  color: #fff;
}

.fab-whatsapp__icon {
  width: 22px;
  height: 22px;
  background: #fff;
  color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fab-whatsapp__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  animation: livePulse 2.4s ease-out infinite;
  z-index: -1;
}

/* ---------- 20. Page Hero (interior) ---------- */
.page-hero {
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: var(--space-6);
}

.page-hero__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 480px;
}

.page-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-inline-start: var(--space-6);
  border-inline-start: 1px solid var(--border);
}

.page-hero__meta-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.page-hero__meta-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
}

.breadcrumb a:hover { color: var(--text-primary); }

.breadcrumb__sep {
  opacity: 0.5;
}

/* ---------- 21. Service Detail (services page) ---------- */
.service-row {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.service-row:last-child { border-bottom: none; }

.service-row__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.service-row:nth-child(even) .service-row__inner {
  direction: ltr;
}

[dir="rtl"] .service-row:nth-child(even) .service-row__inner {
  direction: rtl;
}

.service-row__num {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.service-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: var(--space-6);
}

.service-row__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-6);
}

.service-row__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.service-row__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.75;
}

.service-row__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-row__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

/* ---------- 22. About page ---------- */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pillar {
  padding: var(--space-8);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--duration-base) var(--ease-out);
}

.pillar:hover { transform: translateY(-4px); }

.pillar__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.18;
  margin-bottom: var(--space-2);
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.pillar__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.story-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.story-block p {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: var(--text-secondary);
}

.story-block em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 500;
}

/* ---------- 23. AI page specific ---------- */
.ai-use-case {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.use-case {
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
}

.use-case:hover {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
  transform: translateY(-4px);
}

.use-case__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: all var(--duration-base) var(--ease-out);
}

.use-case:hover .use-case__icon {
  background: var(--highlight);
  color: var(--bg-dark);
}

.use-case h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

.use-case p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.use-case:hover p { color: rgba(244, 244, 240, 0.75); }

/* Comparison block */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.compare__card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.compare__card--bad h3 { color: #B91C1C; }
.compare__card--good {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-color: var(--bg-dark);
}
.compare__card--good h3 { color: var(--highlight); }

.compare__list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.compare__list li {
  display: flex;
  gap: var(--space-3);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.compare__card--good .compare__list li {
  color: rgba(244, 244, 240, 0.85);
}

.compare__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.compare__card--bad .compare__icon {
  background: rgba(185, 28, 28, 0.1);
  color: #B91C1C;
}

.compare__card--good .compare__icon {
  background: rgba(213, 222, 35, 0.16);
  color: var(--highlight);
}

/* ---------- 24. Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.contact-info__item:last-of-type { border-bottom: none; }

.contact-info__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-info__value:hover { color: var(--accent); }

/* ---------- 25. Cursor follower ---------- */
.cursor {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out),
              width 0.18s var(--ease-out),
              height 0.18s var(--ease-out),
              border-color 0.18s var(--ease-out),
              background-color 0.18s var(--ease-out);
  display: none;
  mix-blend-mode: difference;
  border-color: #fff;
}

.cursor.is-active { display: block; }

.cursor.is-hovering {
  width: 64px;
  height: 64px;
  background: #fff;
  border-color: #fff;
}

/* ---------- 26. Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out),
              transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

.reveal--fade {
  transform: none;
}

.reveal--right {
  transform: translateX(24px);
}

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

.reveal--right.is-visible {
  transform: translateX(0);
}

/* ---------- 27. Noise texture overlay (subtle premium feel) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

.no-wrap { white-space: nowrap; }
.text-center { text-align: center; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* ---------- 29. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__visual { max-width: 500px; margin-inline: auto; }

  .service-blocks { grid-template-columns: repeat(2, 1fr); }
  .service-block--span-2 { grid-column: span 2; }

  .bento {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento__card--span-4 { grid-column: span 4; }
  .bento__card--span-3 { grid-column: span 2; }
  .bento__card--span-2 { grid-column: span 2; }
  .bento__card--span-6 { grid-column: span 4; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .ai-section__inner { grid-template-columns: 1fr; }

  .process__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  .process__list::before { display: none; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .service-row__inner { grid-template-columns: 1fr; }

  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__meta {
    padding-inline-start: 0;
    border-inline-start: none;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
  }

  .about-pillars { grid-template-columns: 1fr; }

  .ai-use-case { grid-template-columns: repeat(2, 1fr); }

  .compare { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .nav { display: none; }
  .menu-toggle { display: inline-flex; }

  .header__cta .btn--secondary { display: none; }
}

@media (max-width: 640px) {
  .service-blocks { grid-template-columns: 1fr; }
  .service-block--span-2 { grid-column: span 1; }

  .bento {
    grid-template-columns: 1fr;
  }
  .bento__card,
  .bento__card--span-2,
  .bento__card--span-3,
  .bento__card--span-4,
  .bento__card--span-6 { grid-column: span 1; }

  .why-grid { grid-template-columns: 1fr; }

  .process__list { grid-template-columns: repeat(2, 1fr); }

  .ai-use-case { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .form__row { grid-template-columns: 1fr; }

  .hero__trust {
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
  }

  .hero__tag--top { display: none; }
  .hero__tag--bottom { display: none; }

  .fab-whatsapp span { display: none; }
  .fab-whatsapp {
    padding: 0.875rem !important;
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .trust-strip__inner { justify-content: center; text-align: center; }
}

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

  .reveal { opacity: 1; transform: none; }
}
