/* -------------------------------------------------------------
 * TXEVA Website Stylesheet
 * Premium, High-Performance, Modern Dark Aesthetic Design System
 * ------------------------------------------------------------- */

/* Custom Reset & Variables */
:root {
  --bg-primary: #070707;
  --bg-secondary: #0c0c0d;
  --bg-card: #121214;
  --bg-card-highlight: #17171a;

  --accent-lime: #94B715;
  /* Matching Logo Lime Green */
  --accent-lime-dim: rgba(173, 205, 1, 0.15);
  --accent-lime-glow: rgba(173, 205, 1, 0.4);

  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #4b5563;

  --border-color: rgba(255, 255, 255, 0.05);
  --border-highlight: rgba(173, 205, 1, 0.3);

  --max-width: 1200px;
  --transition-speed: 0.3s;
  --font-heading: 'Fustat', sans-serif;
  --font-body: 'Fustat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

html.lenis {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-enabled,
  html.custom-cursor-enabled body,
  html.custom-cursor-enabled a,
  html.custom-cursor-enabled button,
  html.custom-cursor-enabled input,
  html.custom-cursor-enabled select,
  html.custom-cursor-enabled textarea,
  html.custom-cursor-enabled [role="button"] {
    cursor: none !important;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147483647;
    width: 200px;
    height: 200px;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0);
    transition: opacity 160ms ease;
    will-change: transform;
  }

  .custom-cursor.is-visible {
    opacity: 1;
  }

  .custom-cursor img {
    display: block;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center;
    transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
  }

  .custom-cursor.is-interactive img {
    transform: translate(-50%, -50%) scale(1.18);
  }

  .custom-cursor.is-pressed img {
    transform: translate(-50%, -50%) scale(0.86);
  }
}

.site-content-shell {
  position: relative;
  background-color: #020202;
  isolation: isolate;
}

.site-content-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 150px 120px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 220px 60px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 270px 180px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 60px 160px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 130px 200px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 200px 250px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 250px 130px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 180px 80px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 80px 230px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 170px 30px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 240px 200px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 110px 100px, rgba(255, 255, 255, 0.9), transparent);
  background-size: 300px 300px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.site-content-shell>section {
  position: relative;
  z-index: 1;
  background-color: transparent !important;
}

/* Event-driven star field used only on the explicitly selected sections. */
.mouse-galaxy-surface {
  isolation: isolate;
}

.mouse-galaxy-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.9;
  contain: strict;
}

.mouse-galaxy-surface > .container {
  position: relative;
  z-index: 2;
}

html.light-theme .mouse-galaxy-stars {
  opacity: 0.24;
  filter: invert(1);
}

html.light-theme {
  --bg-primary: #f7f4ec;
  --bg-secondary: #efebe1;
  --bg-card: #fffdf8;
  --bg-card-highlight: #f6f2e8;
  --accent-lime-dim: rgba(173, 205, 1, 0.12);
  --accent-lime-glow: rgba(173, 205, 1, 0.2);
  --text-primary: #1f2418;
  --text-secondary: #5f6756;
  --text-muted: #8a8f80;
  --border-color: rgba(31, 36, 24, 0.1);
  --border-highlight: rgba(173, 205, 1, 0.28);
}

html.light-theme body {
  background:
    radial-gradient(circle at top left, rgba(173, 205, 1, 0.08), transparent 28%),
    linear-gradient(180deg, #fcfaf5 0%, var(--bg-primary) 24%, #f2eee5 100%);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  transition: color var(--transition-speed);
}

button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #94B715;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.neon-text {
  color: #94B715;
}

/* Buttons */
.btn-solid {
  background-color: #94B715;
  color: #000000;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  text-transform: uppercase;
  text-decoration: underline;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-solid:hover {
  background-color: #ffffff;
  border-color: transparent;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.glow-effect:hover {
  box-shadow: 0 0 20px var(--accent-lime-glow);
}

.btn-outline {
  border: 1px solid var(--accent-lime);
  color: var(--accent-lime);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color var(--transition-speed), border-color var(--transition-speed), color var(--transition-speed), transform 0.2s, box-shadow var(--transition-speed);
}

.btn-outline:hover,
.btn-outline.force-hover {
  background-color: #171b0c;
  border-color: #4e5828;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(173, 205, 1, 0.15);
}

.btn-outline-glow {
 
  background-color: #94B715;
  color: black;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: underline;
}

.btn-outline-glow:hover {
  background-color: #ffffff;
}

.btn-text-link {
  color: var(--accent-lime);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition-speed), gap var(--transition-speed);
}

.btn-text-link:hover {
  border-color: var(--accent-lime);
  gap: 0.8rem;
}

/* Service card explore link (same style as btn-text-link) */
.card-link {
  color: #94B715;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-highlight);
  padding-bottom: 2px;
  padding-top: 2vw;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color var(--transition-speed), gap var(--transition-speed);
}

.card-link:hover {
  border-color: var(--accent-lime);
  gap: 0.8rem;
}

/* Dark theme select styling */
select option {
  background-color: var(--bg-card);
  color: #ffffff;
}

html.light-theme select option {
  color: var(--text-primary);
}

html.light-theme .btn-solid:hover {
  background-color: #f2eee3;
  box-shadow: 0 10px 24px rgba(173, 205, 1, 0.18);
}

html.light-theme .btn-outline:hover,
html.light-theme .btn-outline.force-hover,
html.light-theme .btn-outline-glow:hover,
html.light-theme .cta-btn-outline:hover,
html.light-theme .cta-btn-outline.force-hover {
  background-color: rgba(173, 205, 1, 0.1);
  border-color: rgba(173, 205, 1, 0.42);
  color: var(--text-primary);
  box-shadow: 0 12px 24px rgba(173, 205, 1, 0.12);
}

html.light-theme .theme-toggle-btn {
  color: var(--text-primary);
  background: rgba(255, 253, 248, 0.92);
  border-color: rgba(31, 36, 24, 0.12);
}

html.light-theme .theme-toggle-btn:hover {
  color: var(--text-primary);
  background-color: rgba(173, 205, 1, 0.1);
}

/* -------------------------------------------------------------
 * Header Styling
 * ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  background-color: rgba(7, 7, 8, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color var(--transition-speed), height var(--transition-speed);
  isolation: isolate;
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.46;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 0.7px, transparent 1.4px),
    radial-gradient(circle, rgba(183, 220, 40, 0.72) 0 0.6px, transparent 1.3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 0.5px, transparent 1.2px);
  background-position: 14px 19px, 73px 8px, 39px 54px;
  background-size: 108px 82px, 157px 96px, 83px 71px;
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(7, 7, 8, 0.9);
}

.header-container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  /* align-items: center;
  justify-content: space-between; */
}

.logo-area {
  padding-right: 17vw;
  display: flex;
  align-items: center;
  padding-bottom: 2vw;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  height: 100px;
  width: auto;
  display: block;
}

.nav-links {
  padding-right: 2vw;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}


.nav-links a{
  text-decoration: none;
}
.nav-item {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
}

.nav-item:hover {
  color: #94B715;
  text-decoration: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle-btn {
  border: 1px solid var(--border-color);
  color: #ffffff;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color var(--transition-speed), color var(--transition-speed), background-color var(--transition-speed), transform 0.2s, box-shadow var(--transition-speed);
}

.theme-toggle-btn:hover {
  color: #94B715;
  border-color: var(--accent-lime);
  background-color: rgba(173, 205, 1, 0.08);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 18px;
  line-height: 1;
}

.cta-btn-outline {
  background-color: transparent;
  border: 1px solid var(--accent-lime);
  color: var(--accent-lime);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5vw;
  border-radius: 4px;
  
  transition: border-color var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.cta-btn-outline:hover,
.cta-btn-outline.force-hover {
  background-color: #171b0c;
  border-color: #4e5828;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(173, 205, 1, 0.15);
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  padding: 0.5rem;
}

.lang-btn:hover {
  color: #94B715;
  text-decoration: underline;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  display: none;
  min-width: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.lang-dropdown.show {
  display: block;
}

.lang-opt {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 18px;
  color: #ffffff;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.lang-opt:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #94B715;
}

.lang-opt.active {
  color: #94B715;
  font-weight: 400;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  color: #ffffff;
  padding: 0.5rem;
}

.mobile-nav-cta {
  display: none;
}

/* -------------------------------------------------------------
 * Hero Section Styling
 * ------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-x-bg {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-x-bg.hero-x-flight {
  position: fixed;
  top: 48%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: top, transform, opacity;
}

html.hero-services-motion .hero-section .hero-x-bg {
  opacity: 0;
}

html.hero-services-motion .hero-x-bg.hero-x-flight {
  opacity: 1;
  visibility: visible;
}

.background-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.x-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(60vw, 120vh, 760px);
  height: auto;
  max-width: 760px;
  max-height: none;
  aspect-ratio: 879 / 629;
  pointer-events: none;
  z-index: 1;
  display: block;
  will-change: transform, opacity;
  transform-origin: center;
}

@media (max-height: 650px) and (min-width: 769px) {
  .hero-x-bg,
  .hero-x-bg.hero-x-flight {
    top: 80%;
  }
}

.hero-x-bg .x-shape {
  opacity: 0.45;
}

.hero-x-bg .x-shape path {
  stroke-opacity: 1;
  fill-opacity: 1;
}

.x-green {
  z-index: 2;
  opacity: 0.55;
  animation: heroXCorePulse 1500ms infinite ease-in-out alternate;
}

.x-white {
  z-index: 1;
  animation: heroXPulseEcho 3s infinite cubic-bezier(0.18, 0.62, 0.24, 1);
}

.hero-x-bg .x-white-1 {
  --pulse-opacity: 0.38;
}

.hero-x-bg .x-white-2 {
  --pulse-opacity: 0.32;
}

.x-white-1 {
  animation-delay: 0s;
}

.x-white-2 {
  animation-delay: 1.1s;
}

@keyframes heroXCorePulse {
  from {
    transform: translate(-50%, -50%) scale(0.995);
  }

  to {
    transform: translate(-50%, -50%) scale(1.02);
  }
}

@keyframes heroXPulseEcho {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }

  10% {
    transform: translate(-50%, -50%) scale(1.015);
    opacity: var(--pulse-opacity, 0.34);
  }

  68% {
    transform: translate(-50%, -50%) scale(1.085);
    opacity: 0.12;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.14);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .x-shape {
    animation: none !important;
    transform: translate(-50%, -50%) !important;
  }

  .orbit-logo {
    transition: none !important;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-text-backdrop {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 40vw;
  pointer-events: none;
  z-index: 0;
}

.hero-text-backdrop-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  margin-top: 4vw;
  margin-bottom: auto;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: white;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 70px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 18px;
  color: white;
  margin-bottom: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.hero-footer-text {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-size: 100px;
  font-weight: 500;
  color: rgb(255, 255, 255);
  margin-top: 11rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.hero-footer-text::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(78vw, 1100px);
  height: 160px;
  /* background-image: url("./assets/slider-back.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain; */
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-footer-text.is-echo-active::before {
  opacity: 1;
}

.hero-footer-track {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
  min-width: max-content;
  padding-right: 4rem;
  white-space: nowrap;
  animation: heroFooterMarquee 18s linear infinite;
}

.hero-footer-text>* {
  position: relative;
  z-index: 1;
}

@keyframes heroFooterMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 4rem));
  }
}

/* -------------------------------------------------------------
 * What We Do Section
 * ------------------------------------------------------------- */
.what-we-do-section {
  padding: 100px 0 0 0;
  border-top: 1px solid var(--border-color);
}

.services-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.services-main-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.services-main-desc {
  color: white;
  font-size: 18px;
}

.border-decor {
  border-left: 1px solid var(--border-color);
}

.services-interactive-grid {
  margin-left: -0.4vw !important;
  --services-cross-y: 435px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

/* Center Intersecting Lines */
.grid-center-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.grid-line-h {
  position: absolute;
  top: var(--services-cross-y);
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
}

.grid-line-v {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: var(--border-color);
}

.center-x-logo {
  position: absolute;
  top: var(--services-cross-y);
  left: 50%;
  transform: translate(calc(-50% + 0.5px), calc(-50% + 0.5px));
  width: 72px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.hero-services-motion .center-x-logo {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.center-x-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  will-change: transform;
}

.service-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.service-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow: visible;
  min-height: 100%;
}

.service-card.faded {
  opacity: 1;
  transition:
    opacity 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease;
}

.service-card.faded:hover {
  opacity: 1;
}

.service-card-interactive {
  background-color: transparent;
  justify-content: space-between;
  transition:
    opacity 0.35s ease,
    background-color 0.35s ease;
}

.service-card-interactive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(
    circle at center,
    #000 0%,
    rgba(0, 0, 0, 0.95) 32%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 88%
  );
  mask-image: radial-gradient(
    circle at center,
    #000 0%,
    rgba(0, 0, 0, 0.95) 32%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 88%
  );
  transition: opacity 0.35s ease;
}

.service-card-interactive .card-content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.service-accordion-trigger {
  all: unset;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  flex-direction: column;
  color: inherit;
  cursor: pointer;
}

.service-accordion-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-accordion-icon {
  display: none;
}

.service-card-interactive .card-title,
.service-card-interactive .card-desc {
  transition: color var(--transition-speed), opacity var(--transition-speed), transform 0.35s ease;
}

.service-card-interactive .card-title {
  color: #ffffff;
}

.service-card-interactive .card-desc,
.service-card-interactive .card-link {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.35s ease,
    color var(--transition-speed),
    border-color var(--transition-speed),
    gap var(--transition-speed);
}

.service-card-interactive .card-visual-wrap {
  position: absolute;
  right: -5%;
  bottom: -22px;
  width: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(42px) scale(0.88);
  transform-origin: right bottom;
  transition:
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1);
  pointer-events: none;
  z-index: 4;
}

.service-card-interactive:is(:hover, :focus-visible, :focus-within) {
  background-color: transparent;
  z-index: 20;
}

.service-card-interactive:is(:hover, :focus-visible, :focus-within)::before {
  opacity: 1;
}

.service-card-interactive:is(:hover, :focus-visible, :focus-within) .card-title,
.service-card-interactive:is(:hover, :focus-visible, :focus-within) .card-desc {
  color: #ffffff;
}

.service-card-interactive:is(:hover, :focus-visible, :focus-within) .card-desc,
.service-card-interactive:is(:hover, :focus-visible, :focus-within) .card-link {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.service-card-interactive:is(:hover, :focus-visible, :focus-within) .card-visual-wrap {
  opacity: 1;
  transform: translateY(0) scale(1.1);
}

.service-card-interactive:is(:hover, :focus-visible, :focus-within) .card-link {
  border-color: var(--accent-lime);
}

.services-interactive-grid:has(.service-card-interactive:is(:hover, :focus-visible, :focus-within))
  .service-card-interactive:not(:hover):not(:focus-visible):not(:focus-within) {
  opacity: 0.28;
}

.card-num {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-lime);
  margin-bottom: 1.5rem;
  display: block;
}

.card-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.card-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  max-width: 440px;
}

/* Service Box 03 Active Highlighted */
#service-01,
#service-02,
#service-03,
#service-04 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 0;
  padding-bottom: 0;
}

#service-01 .card-content-wrap,
#service-02 .card-content-wrap,
#service-03 .card-content-wrap,
#service-04 .card-content-wrap {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
  padding-right: 3rem;
}

#service-03 .card-link {
  margin-top: auto;
}

#service-01 .card-visual-wrap,
#service-02 .card-visual-wrap,
#service-03 .card-visual-wrap,
#service-04 .card-visual-wrap {
  flex: 0.9;
  width: 50%;
}

.phones-mockup {
  max-height: 350px;
  width: 76%;
  object-fit: contain;
  display: block;
  transform: translateY(10px);
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.55));
}

#service-02 .card-desc,
#service-03 .card-desc {
  max-width: 60%;
}

/* Service Box 04 Highlighted Mockup */
#service-04 .card-content-wrap {
  margin-bottom: 2rem;
}

#service-04 .card-visual-wrap {
  justify-content: center;
  width: 54%;
}

.browser-mockup {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border: 1px solid var(--border-color);
  border-bottom: none;
  display: block;
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}


.services-footer-action {
  text-align: center;
}

/* -------------------------------------------------------------
 * Partners Section (Starry Sky Grid Overlay)
 * ------------------------------------------------------------- */
.partners-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 76% 48%, rgba(148, 183, 21, 0.055), transparent 31%),
    radial-gradient(ellipse at 65% 38%, rgba(255, 255, 255, 0.018), transparent 46%),
    linear-gradient(180deg, #010201 0%, #030403 48%, #010201 100%);
}

.starry-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 6% 18%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.6px),
    radial-gradient(circle at 18% 74%, rgba(178, 207, 54, 0.62) 0 1px, transparent 1.8px),
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.62) 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 52% 78%, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.7px),
    radial-gradient(circle at 72% 16%, rgba(183, 220, 40, 0.72) 0 1px, transparent 1.7px),
    radial-gradient(circle at 92% 64%, rgba(255, 255, 255, 0.66) 0 1px, transparent 1.8px);
  background-size: 180px 160px, 240px 210px, 210px 190px, 270px 230px, 230px 180px, 310px 250px;
  opacity: 0.62;
}

.starry-overlay::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -6%;
  width: 76%;
  height: 160%;
  opacity: 0.48;
  background:
    radial-gradient(ellipse at center, rgba(157, 186, 27, 0.16), transparent 7%),
    radial-gradient(ellipse at 35% 44%, rgba(148, 183, 21, 0.11), transparent 20%),
    radial-gradient(ellipse at 67% 57%, rgba(210, 229, 124, 0.055), transparent 29%);
  filter: blur(24px);
  transform: rotate(-18deg);
}

.starry-overlay::after {
  content: "";
  position: absolute;
  inset: 6% 0;
  opacity: 0.36;
  background-image:
    radial-gradient(circle, rgba(183, 220, 40, 0.9) 0 0.7px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 0.6px, transparent 1.3px);
  background-position: 14px 21px, 58px 79px;
  background-size: 94px 88px, 137px 119px;
  mask-image: linear-gradient(112deg, transparent 30%, #000 52%, transparent 80%);
}

.partners-container {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 3.25rem;
  align-items: center;
}

.partners-text {
  position: relative;
  z-index: 5;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.green-bar-accent {
  width: 60px;
  height: 2px;
  background-color: var(--accent-lime);
  margin-bottom: 2rem;
}

.partners-desc {
  color: white;
  font-size: 18px;
  margin-bottom: 1.5rem;
}

.partners-hint {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.partners-graphics {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.partners-image-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1.17;
  perspective: 1600px;
  perspective-origin: center;
  isolation: isolate;
}

.partners-orbit-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 49% 48%, rgba(148, 183, 21, 0.08), transparent 5%),
    radial-gradient(ellipse at 50% 52%, rgba(148, 183, 21, 0.035), transparent 46%);
}

.partners-orbit-scene::before,
.partners-orbit-scene::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.partners-orbit-scene::before {
  top: 15%;
  right: 5%;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(211, 226, 142, 0.26);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.42), transparent 12%),
    radial-gradient(circle at 67% 76%, rgba(148, 183, 21, 0.18), rgba(1, 2, 1, 0.86) 58%);
  box-shadow:
    inset 2px 2px 4px rgba(255, 255, 255, 0.1),
    -2px 3px 8px rgba(148, 183, 21, 0.12);
}

.partners-orbit-scene::after {
  bottom: 10%;
  left: 11%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(183, 220, 40, 0.3);
  background: rgba(6, 8, 4, 0.8);
  box-shadow:
    0 0 10px rgba(148, 183, 21, 0.24),
    410px -330px 0 -2px rgba(4, 5, 3, 0.95),
    410px -330px 8px 0 rgba(148, 183, 21, 0.16),
    330px 24px 0 1px rgba(5, 6, 4, 0.95),
    330px 24px 10px 1px rgba(148, 183, 21, 0.12);
}

.partners-orbit-glow {
  position: absolute;
  inset: 20% 22%;
  background:
    radial-gradient(circle at center, rgba(187, 217, 9, 0.16), transparent 23%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.045), transparent 58%);
  filter: blur(24px);
  transform: translateZ(-40px);
  pointer-events: none;
}

.partners-section .orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(24%, 158px);
  transform: translate(-50%, -50%) translateZ(18px);
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 50;
}

.partners-section .orbit-core::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: 240%;
  height: 240%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(190, 224, 51, 0.28) 0%, rgba(148, 183, 21, 0.13) 22%, rgba(148, 183, 21, 0.04) 43%, transparent 68%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  animation: orbitCoreGlow 3.8s ease-in-out infinite alternate;
}

.partners-section .orbit-core::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 145%;
  height: 145%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 244, 126, 0.22), rgba(148, 183, 21, 0.06) 44%, transparent 70%);
  filter: blur(5px);
  transform: translate(-50%, -50%);
}

@keyframes orbitCoreGlow {
  from {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.orbit-core-x {
  display: block;
  width: 100%;
  height: auto;
  filter:
    brightness(1.08)
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 10px rgba(202, 232, 76, 0.5))
    drop-shadow(0 0 28px rgba(148, 183, 21, 0.48));
}

.orbit-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.orbit-track-a,
.orbit-track-b {
  transform: translateZ(0);
}

.orbit-logo {
  --orbit-angle: 0;
  --radius-major: 230;
  --radius-minor: 28;
  --radius-z: 142;
  --speed: 1;
  --phase: 0;
  --logo-width: 80px;
  --size-adjust: 1;
  --bubble-art-size: 142%;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(var(--logo-width), 14vw);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform-style: preserve-3d;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
  will-change: transform, opacity;
}

.orbit-logo::before,
.orbit-logo::after {
  content: none;
}

.orbit-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: var(--bubble-art-size);
  height: var(--bubble-art-size);
  margin: 0;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  backface-visibility: hidden;
  image-rendering: auto;
  opacity: 1;
  mix-blend-mode: normal;
  mask-image: none;
  transform: translate(-50%, -50%);
  filter: none;
  transition: opacity 180ms ease;
}

.orbit-logo:hover img,
.orbit-logo:focus-visible img {
  opacity: 1;
  transform: translate(-50%, -50%);
  filter: none;
}

.orbit-logo:focus-visible {
  outline: 1px solid var(--accent-lime);
  outline-offset: 8px;
}

.orbit-logo-sm img {
  opacity: 1;
}

/* Tooltip Positioning */
.partner-tooltip {
  position: absolute;
  min-width: 180px;
  max-width: 230px;
  padding: 0.8rem 0.9rem;
  background: rgba(12, 13, 11, 0.96);
  border: 1px solid rgba(187, 217, 9, 0.65);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  transform: translateY(10px);
  z-index: 100;
}

.partner-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.partner-tooltip h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.partner-tooltip a {
  display: inline-block;
  color: var(--accent-lime);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.partner-tooltip a:hover,
.partner-tooltip a:focus-visible {
  color: #ffffff;
}

/* -------------------------------------------------------------
 * Our Software Section (Swapped Section 4)
 * ------------------------------------------------------------- */
.software-section {
  position: relative;
  padding: 92px 0 120px;
  background:
    radial-gradient(circle at 18% 18%, rgba(173, 255, 47, 0.05), transparent 12%),
    linear-gradient(180deg, #030303 0%, #050505 100%);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .site-content-shell > .software-section {
    /* Let the software reveal overlap the empty tail of the pinned process scene. */
    margin-top: clamp(-400px, -46svh, -280px);
    z-index: 3;
  }
}

.software-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.7px);
  background-size: 118px 118px;
  opacity: 0.26;
  pointer-events: none;
}

.software-container {
  position: relative;
}

.software-label {
  position: relative;
  z-index: 2;
  text-align: left;
  margin-bottom: 2rem;
}

.software-stage {
  position: relative;
  min-height: 1460px;
}

.software-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: min(820px, 58vw);
}

.software-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 1.35rem;
}

.software-desc {
  color: white;
  font-size: 18px;
  line-height: 1.62;
  max-width: 34ch;
}

.software-shot {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  opacity: 0;
  transform: translate3d(0, 80px, 0);
  transition:
    opacity 0.72s ease,
    transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.software-shot.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.software-shot-frame {
  position: relative;
  background: rgba(7, 7, 7, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 10px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.18);
}

.software-shot-frame::before,
.software-shot-frame::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.software-shot-frame::before {
  top: -7px;
  left: 18px;
}

.software-shot-frame::after {
  right: 18px;
  bottom: -7px;
}

.software-shot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.software-shot-copy {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.88);
}

.software-shot-num {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 30px;
  color: rgb(255, 255, 255);
}

.software-shot-title {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  color:  rgb(255, 255, 255);
}

.software-shot-accounting {
  top: 350px;
  left: 34px;
  width: 500px;
  transform: translate3d(0, 80px, 0) rotate(-1.4deg);
}

.software-shot-accounting .software-shot-frame {
  width: 360px;
}

.software-shot-accounting .software-shot-copy {
  order: -1;
  max-width: 145px;
}

.software-shot-pos {
  top: 450px;
  right: 18px;
  width: 500px;
  gap: 0.95rem;
  transform: translate3d(0, 80px, 0) rotate(8deg);
}

.software-shot-pos .software-shot-frame {
  width: 210px;
}

.software-shot-pos .software-shot-copy {
  /* max-width: 120px; */
  transform: translateY(-72px);
}

.software-shot-erp {
  top: 756px;
  left: 0;
  width: 600px;
  transform: translate3d(0, 80px, 0) rotate(-4deg);
}

.software-shot-erp .software-shot-frame {
  width: 420px;
}

.software-shot-erp .software-shot-copy {
  max-width: 150px;
  transform: translateY(86px);
}

.software-shot-crm {
  top: 1100px;
  right: 30px;
  width: 540px;
  transform: translate3d(0, 80px, 0) rotate(2.4deg);
}

.software-shot-crm .software-shot-frame {
  width: 360px;
}

.software-shot-crm .software-shot-copy {
  max-width: 130px;
  align-self: flex-start;
  padding-top: 56px;
}

#software-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.15s ease;
}

/* -------------------------------------------------------------
 * Our Process Section
 * ------------------------------------------------------------- */
.process-section {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(173, 255, 47, 0.055), transparent 34%),
    linear-gradient(180deg, #030303 0%, #020202 56%, #050505 100%);
  overflow: visible;
}

.process-pin-shell {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(173, 255, 47, 0.055), transparent 34%),
    linear-gradient(180deg, #030303 0%, #020202 56%, #050505 100%);
}

.process-section::before {
  content: none;
}

.process-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.58) 74%, rgba(0, 0, 0, 0.86));
  pointer-events: none;
}

.process-intro-block {
  position: relative;
  min-height: 68svh;
  padding: 7vw 7vw 7vw 12vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-label {
  position: relative;
  z-index: 6;
  text-align: left;
  letter-spacing: 0.08em;
  margin-bottom: clamp(28px, 4vh, 48px);
}

.process-intro {
  position: relative;
  z-index: 5;
  width: min(620px, 52vw);
  text-align: left;
  will-change: transform, opacity, filter;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 12.5ch;
}

.process-desc {
  color: white;
  font-size: 18px;
  line-height: 1.55;
  max-width: 440px;
  margin-bottom: 0;
}

.process-yellow-line {
  display: none;
}

.process-orbit-scroll {
  position: relative;
  width: 100%;
}

.process-orbit-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(173, 255, 47, 0.055), transparent 34%),
    linear-gradient(180deg, #030303 0%, #020202 56%, #050505 100%);
  will-change: opacity;
}

.process-orbit-rings {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.process-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(173, 205, 1, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.process-ring-outer {
  width: min(72vw, 1450px);
  height: 56svh;
}

.process-ring-inner {
  width: min(60vw, 1180px);
  height: 43svh;
  border-color: rgba(255, 255, 255, 0.055);
}

.process-cards-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.process-centerpiece {
  position: absolute;
  left: 50%;
  top: 30%;
  width: min(29vw, 420px);
  height: min(30svh, 300px);
  aspect-ratio: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.process-centerpiece img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.74;
  filter:
    drop-shadow(0 0 16px rgba(173, 205, 1, 0.08))
    drop-shadow(0 0 38px rgba(173, 205, 1, 0.06));
}

.process-x-flight {
  position: fixed;
  top: 18svh;
  left: 50%;
  z-index: 2;
  width: min(29vw, 420px);
  height: min(30svh, 300px);
  pointer-events: none;
  will-change: top, transform, opacity;
}

.process-x-flight img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.74;
  filter:
    drop-shadow(0 0 16px rgba(173, 205, 1, 0.08))
    drop-shadow(0 0 38px rgba(173, 205, 1, 0.06));
}

.site-content-shell.process-motion-active .process-x-flight {
  opacity: 0 !important;
  visibility: hidden !important;
}

.process-center-glow {
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 255, 47, 0.16), rgba(173, 255, 47, 0.04) 38%, transparent 72%);
  filter: blur(26px);
  opacity: 0.22;
}

.process-x-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 14px rgba(173, 255, 47, 0.07)) drop-shadow(0 0 28px rgba(173, 255, 47, 0.08));
}

.process-step-card {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(260px, 27vw, 440px);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: clamp(16px, 1.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.96), rgba(5, 5, 5, 0.9));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  will-change: transform, opacity;
  pointer-events: none;
  transform-origin: center;
  backface-visibility: hidden;
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.28s ease;
}

.process-step-card.is-active {
  color: #ffffff;
}

.process-step-icon {
  width: clamp(34px, 3.4vw, 52px);
  height: clamp(34px, 3.4vw, 52px);
  min-width: clamp(34px, 3.4vw, 52px);
  color: currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.process-step-icon g {
  opacity: 1 !important;
}

.process-step-icon svg {
  width: 30px;
  height: 30px;
}

.process-step-icon-asset {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  mask: var(--process-icon-url) center / contain no-repeat;
  -webkit-mask: var(--process-icon-url) center / contain no-repeat;
  transition: background-color 0.28s ease;
}

.process-step-body {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.process-step-num {
  font-size: clamp(0.7rem, 0.76vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: currentColor;
  margin-bottom: 0.22rem;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.2vw, 2.55rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 0.38rem;
  letter-spacing: -0.03em;
}

.process-step-desc {
  max-width: 34ch;
  font-size: clamp(0.82rem, 0.92vw, 1rem);
  color: currentColor;
  line-height: 1.48;
}

.process-section.is-process-pinned .process-pin-shell {
  overflow: visible;
}

.process-section.is-process-pinned .process-orbit-stage {
  height: 100svh;
  overflow: hidden;
}

.process-section.process-reduced-motion .process-ring-inner {
  border-style: solid;
}

.process-section.process-reduced-motion .process-step-card {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.process-section.process-static {
  overflow: visible;
}

.process-section.process-static .process-pin-shell {
  min-height: auto;
  padding: 0 0 72px;
  overflow: hidden;
}

.process-section.process-static .process-intro-block {
  min-height: auto;
  padding: 92px 24px 58px;
}

.process-section.process-static .process-label {
  top: auto;
  left: auto;
}

.process-section.process-static .process-intro {
  position: relative;
  top: auto;
  left: auto;
  width: min(100%, 560px);
  margin-bottom: 0;
}

.process-section.process-static .process-orbit-scroll {
  height: auto !important;
}

.process-section.process-static .process-orbit-stage {
  position: relative;
  inset: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 0 24px;
  background: transparent;
}

.process-section.process-static .process-centerpiece {
  top: 45%;
  width: min(92vw, 760px);
  height: min(64vw, 530px);
  opacity: 0.24;
}

.process-section.process-static .process-cards-layer {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(100%, 680px);
  margin: 0 auto;
}

.process-section.process-static .process-step-card {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  color: #ffffff;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
  pointer-events: auto;
}

@media (min-width: 1024px) and (max-height: 600px) {
  .process-centerpiece,
  .process-x-flight {
    top: 30%;
    height: 30svh;
  }

  .process-ring {
    top: 50%;
  }

  .process-ring-outer {
    height: 54svh;
  }

  .process-ring-inner {
    height: 40svh;
  }

  .process-step-card {
    padding: 14px 18px;
  }

  .process-step-title {
    font-size: clamp(1.45rem, 1.8vw, 2rem);
  }

  .process-step-desc {
    font-size: 0.76rem;
    line-height: 1.35;
  }
}

/* -------------------------------------------------------------
 * Selected Work Section (Swapped Section 6)
 * ------------------------------------------------------------- */
.work-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  overflow: clip;
  background: var(--bg-primary);
}

.site-content-shell > .work-section {
  z-index: 3;
  background: #020202 !important;
}

.site-content-shell > .work-section.is-behind-process {
  z-index: 1;
}

.site-content-shell > .process-section {
  z-index: 2;
  overflow: visible;
}

.work-section-intro {
  max-width: 420px;
  margin-bottom: 2rem;
}

.work-section-title {
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.work-section-desc {
  color: rgb(255, 255, 255);
  font-size: 18px;
  line-height: 1.6;
}

.work-showcase-scroll {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.work-swipe-hint {
  display: none;
}

.work-showcase-outer {
  --work-frame-inset: 40px;
  --work-frame-radius: 16px;
  position: sticky;
  top: 0;
  width: 100vw;
  min-height: 100svh;
  margin-left: 0;
  overflow: hidden;
  background: rgba(7, 7, 7, 0.96);
  clip-path: inset(var(--work-frame-inset) round var(--work-frame-radius));
  will-change: clip-path;
}

.work-showcase-outer::after {
  content: "";
  position: absolute;
  inset: var(--work-frame-inset);
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--work-frame-radius);
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.work-showcase-track {
  display: flex;
  width: max-content;
  height: 100svh;
  will-change: transform;
}

.work-slide {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 62% 48%, rgba(174, 205, 1, 0.035), transparent 38%),
    #030303;
}

.work-slide-x {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' fill='none'%3E%3Cpath d='M-120 70H250L650 450L250 830H-120L280 450L-120 70Z' stroke='%23adcd01' stroke-width='2'/%3E%3Cpath d='M340 70H710L1110 450L710 830H340L740 450L340 70Z' stroke='%23adcd01' stroke-width='2'/%3E%3Cpath d='M800 70H1170L1570 450L1170 830H800L1200 450L800 70Z' stroke='%23adcd01' stroke-width='2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.work-slide-copy {
  position: absolute;
  top: 50%;
  left: clamp(46px, 5.8vw, 112px);
  z-index: 4;
  width: 25vw;
  transform: translateY(-50%);
}

.work-slide-number {
  display: block;
  margin-bottom: 0.45rem;
  color: #94B715;
  font-size: 18px;
}

.work-slide-title {
  max-width: 11ch;
  margin-bottom: 0.45rem;
  font-family: var(--font-heading);
  font-size: 45px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.work-slide-origin,
.work-slide-tags {
  color: rgb(255, 255, 255);
  font-size: 16px;
  line-height: 1.5;
}

.work-slide-origin {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.work-slide-flag {
  font-size: 0.82rem;
  line-height: 1;
}

.work-slide-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.work-slide-tags .dot {
  color: var(--accent-lime);
}

.work-slide-media {
  position: absolute;
  top: 50%;
  left: 25vw;
  z-index: 2;
  display: grid;
  width: 72vw;
  height: min(88vh, 900px);
  transform: translateY(-50%);
  place-items: center;
  pointer-events: none;
}

.work-slide-media picture {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
}

.work-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.45));
}

.work-slide-summary {
  position: absolute;
  top: 64%;
  left: 47%;
  z-index: 5;
  width: 25vw;
  transform: translateY(-50%);
}

.work-slide-summary p {
  margin-bottom: 0.8rem;
  color: rgb(255, 255, 255);
  font-size: 18px;
  line-height: 1.5;
}

.work-slide-summary a,
.work-slide-all {
  display: block;
  width: fit-content;
  color: var(--accent-lime);
  font-size: 16px;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
}

.work-slide-count {
  position: absolute;
  right: clamp(46px, 7vw, 132px);
  bottom: clamp(34px, 5vh, 62px);
  z-index: 5;
  font-size: clamp(0.68rem, 0.72vw, 0.84rem);
  font-weight: 600;
}

.work-slide-all {
  position: absolute;
  right: clamp(24px, 3.5vw, 66px);
  bottom: 15vh;
  left: auto;
  z-index: 5;
  display: flex;
  width: clamp(128px, 10vw, 172px);
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  text-decoration: none;
}

.work-slide-all img {
  display: block;
  width: 4vw;
  height: auto;
  transition: transform 220ms ease, filter 220ms ease;
}

.work-slide-all span {
  color: var(--accent-lime);
  font-size: 16px;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.work-slide-all:hover img,
.work-slide-all:focus-visible img {
  filter: drop-shadow(0 0 10px rgba(148, 183, 21, 0.35));
  transform: translateY(6px);
}

.work-slide-all:focus-visible {
  outline: 1px solid var(--accent-lime);
  outline-offset: 8px;
}

.work-slide-1 .work-slide-media {
  left: 34vw;
  width: 50vw;
  height: min(64vh, 650px);
}

.work-slide-1 .work-slide-media img {
 
  object-position: left center;
}

.work-slide-1 .work-slide-summary {
  top: 72%;
  left: 50%;
  padding: 0.45rem;
  background: radial-gradient(ellipse at center, rgba(3, 3, 3, 0.86), rgba(3, 3, 3, 0.45) 68%, transparent);
}

.work-slide-2 .work-slide-media {
  left: 25vw;
  width: 64vw;
  height: min(66vh, 680px);
}

.work-slide-2 .work-slide-summary {
    top: 70%;
    left: 30%;
}

.work-slide-3 .work-slide-media {
  left: 30vw;
    width: 55vw;
    height: 70vh;
}

.work-slide-3 .work-slide-summary {
    top: 75%;
    left: 48%;
}

.work-slide-4 .work-slide-media {
      left: 33vw;
    width: 65vw;
  height: min(70vh, 700px);
}

.work-slide-4 .work-slide-summary {
    top: 70%;
    left: 28%;
}

.work-slide.is-active {
  z-index: 1;
}

@media (max-width: 1100px) {
  .work-slide-copy {
    left: 4vw;
    width: 24vw;
  }

  .work-slide-media {
    left: 27vw;
    width: 70vw;
  }

  .work-slide-summary {
    width: 20vw;
  }

  .work-slide-1 .work-slide-summary,
  .work-slide-3 .work-slide-summary {
    left: 45%;
  }

  .work-slide-2 .work-slide-summary,
  .work-slide-4 .work-slide-summary {
    left: 31%;
  }
}

@media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
  .work-slide-copy {
    top: 12%;
    left: 8vw;
    width: 40vw;
    transform: none;
  }

  .work-slide-title {
    max-width: 12ch;
    font-size: clamp(2.2rem, 5vw, 3.25rem);
  }

  .work-slide-media,
  .work-slide-1 .work-slide-media,
  .work-slide-2 .work-slide-media,
  .work-slide-3 .work-slide-media,
  .work-slide-4 .work-slide-media {
    top: 30%;
    left: 18vw;
    width: 74vw;
    height: 43%;
    transform: none;
  }

  .work-slide-media img,
  .work-slide-1 .work-slide-media img {
    object-position: center;
  }

  .work-slide-summary,
  .work-slide-1 .work-slide-summary,
  .work-slide-2 .work-slide-summary,
  .work-slide-3 .work-slide-summary,
  .work-slide-4 .work-slide-summary {
    top: auto;
    bottom: 9%;
    left: 8vw;
    width: min(48vw, 430px);
    padding: 0;
    transform: none;
    background: none;
  }

  .work-slide-summary p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .work-slide-count {
    right: 8vw;
    bottom: 6%;
  }

  .work-slide-all {
    right: 8vw;
    bottom: 9%;
  }
}

@media (min-width: 768px) and (max-height: 600px) {
  .work-slide-copy {
    top: 49%;
    width: 20vw;
  }

  .work-slide-title {
    font-size: clamp(1.55rem, 1.8vw, 2rem);
  }

  .work-slide-summary,
  .work-slide-1 .work-slide-summary,
  .work-slide-2 .work-slide-summary,
  .work-slide-3 .work-slide-summary,
  .work-slide-4 .work-slide-summary {
    top: 68%;
    left: clamp(46px, 5.8vw, 112px);
    width: min(20vw, 300px);
    padding: 0;
    transform: none;
    background: none;
  }

  .work-slide-summary p {
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .work-slide-summary a {
    font-size: 0.58rem;
    line-height: 1.3;
  }
}

@media (min-width: 768px) and (max-width: 1100px) and (orientation: landscape) {
  .work-slide-copy {
    top: 29%;
    left: 8vw;
    width: 25vw;
    transform: none;
  }

  .work-slide-title {
    max-width: 10ch;
    font-size: clamp(2rem, 3.8vw, 2.6rem);
  }

  .work-slide-media,
  .work-slide-1 .work-slide-media,
  .work-slide-2 .work-slide-media,
  .work-slide-3 .work-slide-media,
  .work-slide-4 .work-slide-media {
    top: 16%;
    left: 34vw;
    width: 58vw;
    height: 44%;
    transform: none;
  }

  .work-slide-media img,
  .work-slide-1 .work-slide-media img {
    object-position: center;
  }

  .work-slide-summary,
  .work-slide-1 .work-slide-summary,
  .work-slide-2 .work-slide-summary,
  .work-slide-3 .work-slide-summary,
  .work-slide-4 .work-slide-summary {
    top: 68%;
    bottom: auto;
    left: 52vw;
    width: min(36vw, 370px);
    padding: 0;
    transform: none;
    background: none;
  }

  .work-slide-summary p {
    font-size: clamp(0.72rem, 1.45vw, 0.9rem);
    line-height: 1.42;
  }

  .work-slide-count {
    right: 8vw;
    bottom: 4%;
  }

  .work-slide-all {
    right: 8vw;
    bottom: 8%;
  }
}

@media (max-width: 767px) {
  .work-section {
    padding: 76px 0;
  }

  .work-section-intro {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .work-section-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .work-section-desc {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .work-showcase-scroll {
    width: 100%;
    height: auto !important;
    margin-left: 0;
  }

  .work-showcase-outer {
    --work-frame-inset: 24px;
    position: relative;
    top: auto;
    width: 100%;
    height: clamp(720px, 90svh, 800px);
    min-height: 720px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .work-showcase-outer::-webkit-scrollbar {
    display: none;
  }

  .work-swipe-hint {
    position: absolute;
    top: 50%;
    right: 30px;
    z-index: 30;
    display: grid;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(173, 205, 1, 0.48);
    border-radius: 50%;
    color: var(--accent-lime);
    background: rgba(3, 3, 3, 0.76);
    box-shadow:
      0 0 0 7px rgba(3, 3, 3, 0.24),
      0 0 24px rgba(173, 205, 1, 0.14);
    place-items: center;
    pointer-events: none;
    transform: translateY(-50%);
    animation: workSwipeHint 1.5s ease-in-out infinite;
  }

  .work-swipe-hint span {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    transform: translateY(-1px);
  }
  .work-slide-summary a, .work-slide-all{
    font-size: 14px;
  }
  .process-step-icon{
    color: #94b715;
  }
  .work-showcase-track {
    height: clamp(720px, 90svh, 800px);
  }

  .work-slide {
    height: clamp(720px, 90svh, 800px);
    scroll-snap-align: start;
  }

  .work-slide-x {
    opacity: 0.22;
    background-size: auto 100%;
  }

  .work-slide-copy {
    top: 10%;
    left: 6vw;
    width: 78vw;
    transform: none;
  }

  .work-slide-title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .work-slide-media,
  .work-slide-1 .work-slide-media,
  .work-slide-2 .work-slide-media,
  .work-slide-3 .work-slide-media,
  .work-slide-4 .work-slide-media {
    top: 37%;
    left: 5vw;
    width: 90vw;
    height: 40%;
    transform: none;
  }

  .work-slide-summary,
  .work-slide-1 .work-slide-summary,
  .work-slide-2 .work-slide-summary,
  .work-slide-3 .work-slide-summary,
  .work-slide-4 .work-slide-summary {
    top: auto;
    bottom: 6%;
    left: 9vw;
    width: 72vw;
    transform: none;
  }
  .work-slide-1 .work-slide-media{
    left: 20vw;
    border: none;
  }
  .work-slide-summary p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.67rem;
  }

  .work-slide-count {
    right: 9vw;
    bottom: 6%;
  }

  .work-slide-all {
    right: 7vw;
    bottom: 17%;
    left: auto;
    width: 112px;
    gap: 0.4rem;
    font-size: 0.64rem;
  }

  .work-slide-all img {
    width: 44px;
  }

  .work-slide-all {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #service-01 .card-visual-wrap,
  #service-02 .card-visual-wrap,
  #service-03 .card-visual-wrap {
    right: 2%;
    bottom: -10px;
    width: 34%;
    max-width: 340px;
  }

  #service-04 .card-visual-wrap {
    right: 2%;
    bottom: -10px;
    width: 36%;
    max-width: 360px;
  }

  .service-card-interactive:is(:hover, :focus-visible, :focus-within) .card-visual-wrap {
    transform: translateY(0) scale(1.02);
  }

  .service-card-interactive .phones-mockup {
    width: 78%;
    max-height: 230px;
  }

  .service-card-interactive .browser-mockup {
    width: 100%;
    max-height: 230px;
  }
}

@media (max-width: 1024px) {
  html.mobile-menu-open,
  html.mobile-menu-open body {
    overflow: hidden;
  }

  .site-header,
  .site-header.scrolled {
    height: 80px;
    overflow: visible;
  }

  .site-header.scrolled {
    height: 70px;
  }

  .header-container {
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .logo-area {
    flex: 1;
    min-width: 0;
    padding: 0;
  }

  .header-logo {
    width: clamp(150px, 52vw, 220px);
    height: auto;
    transform: translateY(-8px);
  }

  .header-actions {
    flex: none;
    gap: 0.2rem;
  }

  .header-actions > .cta-btn-outline {
    display: none;
  }

  .lang-btn {
    min-width: 42px;
    padding: 0.45rem 0.3rem;
    font-size: 1rem;
    justify-content: center;
  }

  .lang-dropdown {
    right: -4px;
    z-index: 1100;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 1101;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(173, 205, 1, 0.42);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    place-items: center;
  }

  .mobile-menu-toggle .menu-icon line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .mobile-menu-toggle.active .menu-icon line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.active .menu-icon line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .menu-icon line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: calc(100dvh - 80px);
    padding: clamp(2rem, 8vh, 4rem) 1.5rem 2rem;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background:
      radial-gradient(circle at 50% 12%, rgba(148, 183, 21, 0.09), transparent 34%),
      #030303;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    transform: translateX(0);
    transition:
      clip-path 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 0.25s ease,
      visibility 0s linear 0.4s;
  }

  .site-header.scrolled .nav-links {
    top: 70px;
    height: calc(100dvh - 70px);
  }

  .nav-links.active {
    left: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0);
    transform: translateX(0);
    transition-delay: 0s;
  }

  .nav-links .nav-item {
    display: flex;
    min-height: 64px;
    padding: 0.9rem 0;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: clamp(1.5rem, 7vw, 2.15rem);
    line-height: 1.1;
  }

  .mobile-nav-cta {
    display: flex;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--accent-lime);
    border-radius: 4px;
    color: var(--accent-lime);
    background: rgba(148, 183, 21, 0.05);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-align: left;
    text-transform: uppercase;
  }

  body.rtl-lang .mobile-nav-cta {
    text-align: right;
  }
}

@keyframes workSwipeHint {
  0%,
  100% {
    opacity: 0.58;
    transform: translate3d(-4px, -50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(4px, -50%, 0);
  }
}

.work-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  width: min(100%, var(--max-width));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(96px, 10vh, 132px) 1.5rem clamp(68px, 8vh, 104px);
  align-items: center;
}

.work-section.showcase-pinned .container {
  position: relative;
  min-height: inherit;
}

.work-section.showcase-pinned .work-grid {
  position: relative;
  top: auto;
  align-items: center;
}

.work-tagline {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.work-info {
  position: relative;
  z-index: 12;
  isolation: isolate;
}

.work-info::before {
  content: "";
  position: absolute;
  inset: -3rem -4rem;
  z-index: -1;
  background: radial-gradient(circle at 36% 50%, rgba(7, 7, 7, 0.96) 0 38%, rgba(7, 7, 7, 0.72) 58%, transparent 78%);
  pointer-events: none;
}

.work-tagline-desc {
  color: white;
  font-size: 18px;
  margin-bottom: 3rem;
  max-width: 440px;
}

.project-details-card {
  background-color: var(--bg-primary);
  padding: 3rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

[data-project-copy]>* {
  will-change: transform, opacity;
}

.project-copy-transition {
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.project-copy-transition.is-swapping {
  opacity: 0.55;
  transform: translateY(10px);
}

.project-num {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-muted);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 80%;
}

.project-origin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  color: white;
  margin-bottom: 1.5rem;
}

.flag-icon {
  width: 18px;
  height: auto;
  border-radius: 2px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  font-weight: 400;
  color: white;
  margin-bottom: 2rem;
}

.project-tags .dot {
  color: var(--text-muted);
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.work-graphics {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: clamp(420px, 46vw, 640px);
  overflow: visible;
  isolation: isolate;
  z-index: 2;
}

.wales-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.05;
  transform-style: preserve-3d;
}

.work-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
  will-change: transform, opacity;
  pointer-events: none;
}

.work-frame.is-active {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0);
  z-index: 3;
}

.work-frame.is-previous {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0);
  z-index: 2;
}

.geometric-decor-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
  width: 90%;
  height: 80%;
  border: 1px solid var(--border-highlight);
  pointer-events: none;
  z-index: 1;
}

.wales-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  display: block;
}

.work-footer-action {
  text-align: center;
  margin-top: 5rem;
}

.chevron-down-decor {
  margin-bottom: 2rem;
  color: var(--accent-lime);
}

.chevron-icon-svg {
  animation: none;
  /* Motionless by request */
  display: inline-block;
}

/* -------------------------------------------------------------
 * Contact Us Section
 * ------------------------------------------------------------- */
.contact-section {
  position: relative;
  min-height: 100svh;
  padding: 120px 0;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(173, 255, 47, 0.045), transparent 38%),
    linear-gradient(180deg, #050505 0%, #020202 100%);
}

.contact-x-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(46vw, 680px);
  height: min(54svh, 520px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

.contact-x-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.5;
  filter:
    drop-shadow(0 0 18px rgba(173, 205, 1, 0.08))
    drop-shadow(0 0 42px rgba(173, 205, 1, 0.06));
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.15;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.small-x-divider {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-lime);
  margin-bottom: 2rem;
  position: relative;
}

.small-x-divider::before,
.small-x-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background-color: var(--border-color);
}

.small-x-divider::before {
  right: calc(50% + 20px);
}

.small-x-divider::after {
  left: calc(50% + 20px);
}

.contact-desc {
  color:white;
  font-size: 18px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

/* -------------------------------------------------------------
 * Footer Styling
 * ------------------------------------------------------------- */
.site-footer-container {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 42%, rgba(148, 183, 21, 0.055), transparent 34%),
    var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.site-footer-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.62;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 0.8px, transparent 1.5px),
    radial-gradient(circle, rgba(183, 220, 40, 0.7) 0 0.7px, transparent 1.45px),
    radial-gradient(circle, rgba(255, 255, 255, 0.48) 0 0.55px, transparent 1.2px);
  background-position: 17px 23px, 91px 64px, 48px 112px;
  background-size: 132px 117px, 191px 153px, 97px 139px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), #000 28%, rgba(0, 0, 0, 0.72));
}

.site-footer-container::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -42%;
  z-index: 0;
  width: 55%;
  height: 120%;
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(148, 183, 21, 0.16), transparent 64%);
  filter: blur(30px);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding-top: 2vw;
  background-color: transparent;
  border: 1px solid white;
  border-radius: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-top: -2vw;
  height: 200px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 1rem;
}

.footer-brand-tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--accent-lime);
  margin-bottom: 1.5rem;
}

.yellow-short-bar {
  width: 30px;
  height: 2px;
  background-color: var(--accent-lime);
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  color: white;
  font-size: 16px;
  line-height: 1.6;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none !important;
  font-size: 16px;
  color: white;
}

.footer-arrow {
  padding-right: 0.3vw;
  color: #94B715;
}

.footer-links a:hover {
  color: var(--accent-lime);
}

.footer-contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 16px;
  color: white;

}
.footer-contact-details a{
    text-decoration: none;
}
.footer-contact-details a:hover {
  color: var(--accent-lime);
}

.contact-icon {
  color: var(--accent-lime);
  min-width: 18px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color:white;
  transition: border-color var(--transition-speed), color var(--transition-speed);
}

.footer-social-links a:hover {
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid white;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted)white;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-legal a{
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--accent-lime);
}

.footer-bottom-row .dot {
  color: var(--accent-lime);
}

/* -------------------------------------------------------------
 * Modal Backdrop and Container Styling
 * ------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 2, 3, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 3rem;
  position: relative;
  transform: translateY(-20px);
  transition: transform var(--transition-speed);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-backdrop.show .modal-container {
  transform: translateY(0);
}

html.light-theme .site-header {
  background-color: rgba(247, 244, 236, 0.84);
}

html.light-theme .site-header.scrolled {
  background-color: rgba(255, 253, 248, 0.94);
}

html.light-theme .nav-item:hover,
html.light-theme .lang-btn:hover,
html.light-theme .mobile-menu-toggle {
  color: var(--text-primary);
}

html.light-theme .cta-btn-outline {
  border-color: rgba(31, 36, 24, 0.12);
  color: var(--text-primary);
  background: rgba(255, 253, 248, 0.72);
}

html.light-theme .lang-dropdown {
  box-shadow: 0 18px 36px rgba(31, 36, 24, 0.12);
}

html.light-theme .lang-opt:hover {
  background-color: rgba(173, 205, 1, 0.1);
  color: var(--text-primary);
}

html.light-theme .hero-footer-text {
  color: rgba(31, 36, 24, 0.76);
}

html.light-theme .what-we-do-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.62), rgba(239, 235, 225, 0.94));
}

html.light-theme .service-card.faded {
  opacity: 0.62;
}

html.light-theme .partners-section {
  background:
    radial-gradient(circle at top right, rgba(173, 205, 1, 0.1), transparent 25%),
    linear-gradient(180deg, #fbf8f1 0%, #f0ebe1 100%);
}

html.light-theme .starry-overlay {
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(173, 205, 1, 0.2), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(31, 36, 24, 0.08), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(173, 205, 1, 0.16), transparent),
    radial-gradient(2px 2px at 150px 120px, rgba(31, 36, 24, 0.08), transparent),
    radial-gradient(1.5px 1.5px at 220px 60px, rgba(173, 205, 1, 0.14), transparent),
    radial-gradient(1px 1px at 270px 180px, rgba(31, 36, 24, 0.08), transparent),
    radial-gradient(2px 2px at 60px 160px, rgba(173, 205, 1, 0.12), transparent),
    radial-gradient(1.5px 1.5px at 130px 200px, rgba(31, 36, 24, 0.08), transparent),
    radial-gradient(1px 1px at 200px 250px, rgba(173, 205, 1, 0.13), transparent),
    radial-gradient(2px 2px at 250px 130px, rgba(31, 36, 24, 0.08), transparent),
    radial-gradient(1px 1px at 180px 80px, rgba(173, 205, 1, 0.14), transparent),
    radial-gradient(1.5px 1.5px at 80px 230px, rgba(31, 36, 24, 0.08), transparent),
    radial-gradient(1px 1px at 170px 30px, rgba(173, 205, 1, 0.11), transparent),
    radial-gradient(2px 2px at 240px 200px, rgba(31, 36, 24, 0.08), transparent),
    radial-gradient(1.5px 1.5px at 110px 100px, rgba(173, 205, 1, 0.16), transparent);
  opacity: 0.68;
}

html.light-theme .hotspot {
  background: rgba(255, 253, 248, 0.75);
  border-color: rgba(31, 36, 24, 0.18);
}

html.light-theme .partner-tooltip {
  background-color: rgba(255, 253, 248, 0.97);
  box-shadow: 0 18px 40px rgba(31, 36, 24, 0.14);
}

html.light-theme .partner-tooltip h4 {
  color: var(--text-primary);
}

html.light-theme .software-tab:hover {
  border-color: rgba(31, 36, 24, 0.18);
}

html.light-theme .software-tab.active h3 {
  color: var(--text-primary);
}

html.light-theme .process-bg-x-shape {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23b8beae' stroke-width='0.4'%3E%3Cpath d='M15 15 L85 85 M85 15 L15 85' /%3E%3Ccircle cx='50' cy='50' r='38' stroke-dasharray='2 2' stroke-width='0.2'/%3E%3C/svg%3E");
}

html.light-theme .node-icon {
  box-shadow: 0 12px 24px rgba(31, 36, 24, 0.12);
}

html.light-theme .site-footer-container {
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.2), rgba(239, 235, 225, 0.95));
}

html.light-theme .modal-backdrop {
  background-color: rgba(31, 36, 24, 0.28);
}

html.light-theme .modal-container {
  box-shadow: 0 22px 60px rgba(31, 36, 24, 0.18);
}

html.light-theme .form-group input,
html.light-theme .form-group select,
html.light-theme .form-group textarea {
  color: var(--text-primary);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-secondary);
  transition: color var(--transition-speed);
}

.modal-close:hover {
  color: var(--accent-lime);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-lime);
}

.form-group textarea {
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

/* Success Message Container */
.form-success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.form-success-message.show {
  display: flex;
}

.form-success-message .success-icon {
  color: var(--accent-lime);
  margin-bottom: 1.5rem;
}

.form-success-message h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-success-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 320px;
}

/* -------------------------------------------------------------
 * Arabic (RTL) Layout Adaptations
 * ------------------------------------------------------------- */
body.rtl-lang {
  direction: rtl;
}

body.rtl-lang .site-header {
  left: auto;
  right: 0;
}

body.rtl-lang .lang-dropdown {
  right: auto;
  left: 0;
}

body.rtl-lang .nav-links{
  padding-left: 2vw;
}

body.rtl-lang .btn-solid svg,
body.rtl-lang .btn-outline svg,
body.rtl-lang .btn-text-link svg {
  transform: scaleX(-1);
}

body.rtl-lang .border-decor {
  border-left: none;
  border-right: 1px solid var(--border-color);
}

body.rtl-lang .services-interactive-grid{
  margin-right: 1vw;
}


body.rtl-lang .service-card.faded .card-num {
  margin-bottom: 1.5rem;
}

body.rtl-lang #service-03 {
  padding-right: 3rem;
  padding-left: 0;
}

body.rtl-lang #service-03 .card-visual-wrap {
  justify-content: flex-start;
}

body.rtl-lang .phones-mockup {
  transform: translateY(10px) scaleX(-1);
}

body.rtl-lang .browser-mockup {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

body.rtl-lang .partners-text {
  text-align: right;
}

body.rtl-lang .software-tab .tab-icon {
  order: 2;
}

body.rtl-lang .software-tab h3 {
  order: 1;
}

body.rtl-lang .process-intro {
  right: clamp(30px, 4vw, 76px);
  left: auto;
  margin-left: auto;
  text-align: right;
}

body.rtl-lang .process-label {
  right: clamp(30px, 4vw, 76px);
  left: auto;
  text-align: right;
}

body.rtl-lang .process-step-body {
  text-align: right;
}

body.rtl-lang .process-section.process-static .process-intro {
  right: auto;
}

body.rtl-lang .process-section.process-static .process-label {
  right: 24px;
}

body.rtl-lang .software-text {
  left: auto;
  right: 0;
  text-align: right;
}

body.rtl-lang .software-shot-copy {
  text-align: right;
}

body.rtl-lang .project-num {
  right: auto;
  left: 3rem;
}

body.rtl-lang .modal-close {
  right: auto;
  left: 1.5rem;
}

/* -------------------------------------------------------------
 * Responsive Styling & Media Queries
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .software-stage {
    min-height: 1320px;
  }

  .software-text {
    width: min(620px, 54vw);
  }

  .software-title {
    font-size: 3rem;
    max-width: 11ch;
  }

  .software-shot-accounting {
    left: 12px;
    width: 430px;
  }

  .software-shot-accounting .software-shot-frame {
    width: 308px;
  }

  .software-shot-pos {
    right: 8px;
    width: 300px;
  }

  .software-shot-pos .software-shot-frame {
    width: 182px;
  }

  .software-shot-erp {
    top: 630px;
    width: 470px;
  }

  .software-shot-erp .software-shot-frame {
    width: 340px;
  }

  .software-shot-crm {
    top: 920px;
    right: 34px;
    width: 450px;
  }

  .software-shot-crm .software-shot-frame {
    width: 300px;
  }

  .process-pin-shell {
    padding-inline: 28px;
  }

  .process-intro {
    top: 100px;
    width: min(560px, 56vw);
  }

  .process-title {
    font-size: 2.9rem;
    max-width: 11ch;
  }

  .process-centerpiece {
    top: 56%;
    width: 260px;
  }

  .process-step-card {
    width: clamp(180px, 20vw, 220px);
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .service-card-interactive .card-visual-wrap {
    width: 36%;
  }

  .hero-footer-text {
    flex-direction: row;
    align-items: center;
    gap: 0;
    font-size: clamp(3rem, 8vw, 5.2rem);
    line-height: 0.95;
  }

  .services-header-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .border-decor {
    border-left: none;
    border-right: none;
    height: 1px;
    background-color: var(--border-color);
  }

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

  .service-grid-row:first-of-type {
    border-bottom: none;
  }

  .service-card {
    border-bottom: 1px solid var(--border-color);
  }

  .service-grid-row-bottom .service-card {
    width: 100%;
    border-left: none;
    border-right: none;
  }

  .partners-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .partners-image-container {
    max-width: 620px;
  }

  .orbit-core {
    width: min(60%, 390px);
  }

  .orbit-logo {
    width: min(var(--logo-width), 17vw);
  }

  .green-bar-accent {
    margin: 0 auto 2rem;
  }

  .software-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .work-section.showcase-pinned .work-grid {
    top: 88px;
    min-height: auto;
  }

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

@media (max-width: 768px) {
  .software-section {
    padding: 84px 0 72px;
  }

  .software-section::before {
    background-size: 86px 86px;
    opacity: 0.18;
  }

  .software-label {
    margin-bottom: 1.35rem;
  }

  .software-stage {
    min-height: auto;
    display: grid;
    gap: 1.6rem;
  }

  .software-text,
  .software-shot {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
  }

  .software-text {
    text-align: left;
    margin-bottom: 0.4rem;
  }

  .software-title {
    font-size: 2.3rem;
    max-width: 7ch;
  }

  .software-desc {
    font-size: 0.92rem;
    max-width: 31ch;
  }

  .software-shot,
  .software-shot-accounting,
  .software-shot-pos,
  .software-shot-erp,
  .software-shot-crm {
    display: grid;
    gap: 0.8rem;
    transform: translate3d(0, 70px, 0) rotate(0deg);
  }

  .software-shot.is-visible,
  .software-shot-accounting.is-visible,
  .software-shot-pos.is-visible,
  .software-shot-erp.is-visible,
  .software-shot-crm.is-visible {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  .software-shot-frame,
  .software-shot-accounting .software-shot-frame,
  .software-shot-pos .software-shot-frame,
  .software-shot-erp .software-shot-frame,
  .software-shot-crm .software-shot-frame {
    width: 100%;
    padding: 8px;
  }

  .software-shot-copy,
  .software-shot-accounting .software-shot-copy,
  .software-shot-pos .software-shot-copy,
  .software-shot-erp .software-shot-copy,
  .software-shot-crm .software-shot-copy {
    order: initial;
    max-width: 220px;
    transform: none;
    padding-top: 0;
  }

  .software-shot-accounting .software-shot-copy {
    order: -1;
  }

  .contact-section {
    min-height: 82svh;
    padding: 96px 0;
  }

  .contact-x-bg {
    width: min(92vw, 560px);
    height: min(48svh, 430px);
    opacity: 0.48;
  }

  .process-pin-shell {
    min-height: 920px;
    padding: 92px 18px 48px;
  }

  .process-section::before {
    top: 32%;
    width: 170vw;
    height: 170vw;
    clip-path: inset(0 0 54% 0);
    opacity: 0.24;
  }

  .process-label {
    top: 24px;
    font-size: 0.72rem;
  }

  .process-section.process-static .process-intro {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0 0 1.7rem;
    text-align: left;
  }

  .process-section.process-static .process-title {
    font-size: 2.25rem;
    max-width: 8ch;
    margin-inline: 0;
  }

  .process-section.process-static .process-desc {
    font-size: 0.92rem;
    max-width: 32ch;
    margin-inline: 0;
  }

  .process-orbit-stage {
    position: relative;
    min-height: 620px;
  }

  .process-centerpiece {
    top: 46%;
    width: 210px;
  }

  .process-step-card {
    width: min(180px, 42vw);
    gap: 0.7rem;
  }

  .process-step-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .process-step-title {
    font-size: 1rem;
  }

  .process-step-desc {
    font-size: 0.76rem;
  }

  .service-card-interactive .card-content-wrap {
    padding-right: 1.5rem;
  }

  .service-card-interactive .card-visual-wrap {
    width: 34%;
  }

  .phones-mockup,
  .browser-mockup {
    max-width: 100%;
    max-height: 180px;
  }

  .theme-toggle-btn {
    padding: 0.6rem 0.7rem;
  }

  .theme-toggle-text {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-footer-text {
    flex-direction: row;
    gap: 0;
    align-items: center;
    font-size: clamp(2.7rem, 13vw, 4.5rem);
    line-height: 0.95;
  }

  .partners-image-container {
    max-width: 520px;
  }

  .orbit-logo {
    width: min(var(--logo-width), 18vw);
  }

  .partner-tooltip {
    min-width: 160px;
    max-width: 190px;
    padding: 0.7rem 0.75rem;
  }

  .partner-tooltip h4 {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .work-section.showcase-pinned .work-grid {
    top: 82px;
  }

  .work-graphics {
    perspective: 1200px;
  }

  .work-frame {
    transform: translate3d(-50%, -50%, 0) translateX(58%) rotateY(14deg) scale(0.97);
  }

  .work-frame.is-previous {
    transform: translate3d(-50%, -50%, 0) translateX(-6%) translateZ(-28px) rotateY(-4deg) scale(0.97);
  }

  .btn-solid,
  .btn-outline {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 2.5rem 1.5rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .modal-container {
    padding: 2rem 1.5rem;
  }

}

@media (max-width: 767px) {
  .what-we-do-section {
    padding-top: 76px;
  }

  .services-interactive-grid {
    margin-left: 0 !important;
    margin-bottom: 3rem;
    gap: 0;
  }

  .services-mobile-accordion .grid-center-decor,
  .services-mobile-accordion .center-x-logo {
    display: none !important;
  }

  .services-mobile-accordion .service-grid-row {
    display: block;
    min-height: 0;
    border: 0;
  }

  .services-mobile-accordion .service-card,
  .services-mobile-accordion #service-01,
  .services-mobile-accordion #service-02,
  .services-mobile-accordion #service-03,
  .services-mobile-accordion #service-04 {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    opacity: 1 !important;
  }

  .services-mobile-accordion .service-grid-row:last-child .service-card:last-child {
    border-bottom: 0;
  }

  .services-mobile-accordion #service-01 .card-content-wrap,
  .services-mobile-accordion #service-02 .card-content-wrap,
  .services-mobile-accordion #service-03 .card-content-wrap,
  .services-mobile-accordion #service-04 .card-content-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .services-mobile-accordion .service-accordion-trigger {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    width: 100%;
    padding: 1.2rem 1rem;
    align-items: center;
    text-align: left;
  }

  .services-mobile-accordion .service-accordion-trigger:focus-visible {
    outline: 1px solid var(--accent-lime);
    outline-offset: -4px;
  }

  .services-mobile-accordion .card-num {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1;
    white-space: nowrap;
  }

  .services-mobile-accordion .card-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.15rem, 5.5vw, 1.5rem);
    line-height: 1.16;
  }

  .services-mobile-accordion .service-accordion-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    color: var(--accent-lime);
  }

  .services-mobile-accordion .service-accordion-icon::before,
  .services-mobile-accordion .service-accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .services-mobile-accordion .service-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .services-mobile-accordion .service-card.is-open .service-accordion-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
  }

  .services-mobile-accordion .service-accordion-panel {
    display: block;
    max-height: 0;
    padding: 0 1rem;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.46s cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 0.28s ease,
      padding 0.36s ease;
  }

  .services-mobile-accordion .service-card.is-open .service-accordion-panel {
    max-height: 260px;
    padding-bottom: 1rem;
    opacity: 1;
  }

  .services-mobile-accordion .service-card-interactive:not(.is-open)::before {
    opacity: 0;
  }

  .services-mobile-accordion .service-card.is-open::before {
    opacity: 1;
  }

  .services-mobile-accordion .service-card-interactive:not(.is-open) .card-desc,
  .services-mobile-accordion .service-card-interactive:not(.is-open) .card-link {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
  }

  .services-mobile-accordion .service-card.is-open .card-desc,
  .services-mobile-accordion .service-card.is-open .card-link {
    max-width: 100%;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .services-mobile-accordion .service-card.is-open .card-desc {
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .services-mobile-accordion .service-card-interactive .card-visual-wrap,
  .services-mobile-accordion #service-01 .card-visual-wrap,
  .services-mobile-accordion #service-02 .card-visual-wrap,
  .services-mobile-accordion #service-03 .card-visual-wrap,
  .services-mobile-accordion #service-04 .card-visual-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    width: 100%;
    max-height: 0;
    padding: 0 1rem;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: none;
    transform-origin: center;
    transition:
      max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 0.3s ease,
      padding 0.36s ease;
  }

  .services-mobile-accordion #service-01.is-open .card-visual-wrap,
  .services-mobile-accordion #service-02.is-open .card-visual-wrap,
  .services-mobile-accordion #service-03.is-open .card-visual-wrap,
  .services-mobile-accordion #service-04.is-open .card-visual-wrap {
    max-height: 210px;
    padding-bottom: 1.2rem;
    opacity: 1;
    transform: none;
  }

  .services-mobile-accordion .card-visual-wrap .phones-mockup,
  .services-mobile-accordion .card-visual-wrap .browser-mockup {
    width: min(100%, 310px);
    max-height: 180px;
    object-fit: contain;
    transform: none;
  }
}

/* Arabic-only parity fixes: preserve the English motion geometry while mirroring copy. */
body.rtl-lang .hero-footer-text,
body.rtl-lang .hero-footer-track,
body.rtl-lang .work-showcase-scroll,
body.rtl-lang .work-showcase-outer,
body.rtl-lang .work-showcase-track {
  direction: ltr;
}

body.rtl-lang .hero-footer-text {
  left: auto;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

body.rtl-lang .hero-footer-track span,
body.rtl-lang .work-slide {
  direction: rtl;
}

body.rtl-lang .hero-footer-track {
  padding-right: 0;
  animation-name: heroFooterMarqueeArabic;
}

@keyframes heroFooterMarqueeArabic {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

body.rtl-lang .work-slide-copy,
body.rtl-lang .work-slide-summary,
body.rtl-lang .work-slide-origin,
body.rtl-lang .work-slide-tags {
  direction: rtl;
  text-align: right;
}

body.rtl-lang .work-showcase-scroll {
  margin-right: calc(50% - 50vw);
  margin-left: 0;
}

body.rtl-lang .phones-mockup {
  transform: translateY(10px);
}

body.rtl-lang .footer-arrow {
  display: inline-block;
  transform: scaleX(-1);
}

body.rtl-lang .lead-form,
body.rtl-lang .form-group {
  text-align: right;
}

body.rtl-lang input[type="email"],
body.rtl-lang input[type="tel"] {
  direction: ltr;
  text-align: left;
}

/* Mirror only the Arabic project-slide composition; keep the track motion LTR. */
@media (min-width: 1101px) {
  body.rtl-lang .work-slide-copy {
    right: clamp(46px, 5.8vw, 112px);
    left: auto;
  }

  body.rtl-lang .work-slide-media {
    right: 25vw;
    left: auto;
  }

  body.rtl-lang .work-slide-summary {
    right: 47%;
    left: auto;
  }

  body.rtl-lang .work-slide-1 .work-slide-media {
    right: 34vw;
  }

  body.rtl-lang .work-slide-1 .work-slide-summary {
    right: 40%;
  }

  body.rtl-lang .work-slide-2 .work-slide-media {
    right: 25vw;
  }

  body.rtl-lang .work-slide-2 .work-slide-summary {
    right: 60%;
  }

  body.rtl-lang .work-slide-3 .work-slide-media {
    right: 30vw;
  }

  body.rtl-lang .work-slide-3 .work-slide-summary {
    right: 40%;
  }

  body.rtl-lang .work-slide-4 .work-slide-media {
    right: 33vw;
  }

  body.rtl-lang .work-slide-4 .work-slide-summary {
    right: 28%;
  }
}

@media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
  body.rtl-lang .work-slide-copy {
    right: 8vw;
    left: auto;
  }

  body.rtl-lang .work-slide-media,
  body.rtl-lang .work-slide-1 .work-slide-media,
  body.rtl-lang .work-slide-2 .work-slide-media,
  body.rtl-lang .work-slide-3 .work-slide-media,
  body.rtl-lang .work-slide-4 .work-slide-media {
    right: 18vw;
    left: auto;
  }

  body.rtl-lang .work-slide-summary,
  body.rtl-lang .work-slide-1 .work-slide-summary,
  body.rtl-lang .work-slide-2 .work-slide-summary,
  body.rtl-lang .work-slide-3 .work-slide-summary,
  body.rtl-lang .work-slide-4 .work-slide-summary {
    right: 8vw;
    left: auto;
  }

  body.rtl-lang .work-slide-count {
    right: auto;
    left: 8vw;
  }

  body.rtl-lang .work-slide-all {
    right: auto;
    left: 8vw;
  }
}

@media (min-width: 768px) and (max-height: 600px) {
  body.rtl-lang .work-slide-summary,
  body.rtl-lang .work-slide-1 .work-slide-summary,
  body.rtl-lang .work-slide-2 .work-slide-summary,
  body.rtl-lang .work-slide-3 .work-slide-summary,
  body.rtl-lang .work-slide-4 .work-slide-summary {
    right: clamp(46px, 5.8vw, 112px);
    left: auto;
  }
}

@media (min-width: 768px) and (max-width: 1100px) and (orientation: landscape) {
  body.rtl-lang .work-slide-copy {
    right: 8vw;
    left: auto;
  }

  body.rtl-lang .work-slide-media,
  body.rtl-lang .work-slide-1 .work-slide-media,
  body.rtl-lang .work-slide-2 .work-slide-media,
  body.rtl-lang .work-slide-3 .work-slide-media,
  body.rtl-lang .work-slide-4 .work-slide-media {
    right: 34vw;
    left: auto;
  }

  body.rtl-lang .work-slide-summary,
  body.rtl-lang .work-slide-1 .work-slide-summary,
  body.rtl-lang .work-slide-2 .work-slide-summary,
  body.rtl-lang .work-slide-3 .work-slide-summary,
  body.rtl-lang .work-slide-4 .work-slide-summary {
    right: 52vw;
    left: auto;
  }

  body.rtl-lang .work-slide-count {
    right: auto;
    left: 8vw;
  }

  body.rtl-lang .work-slide-all {
    right: auto;
    left: 8vw;
  }
}

@media (min-width: 1101px) {
  body.rtl-lang .work-slide-count {
    right: auto;
    left: clamp(46px, 7vw, 132px);
  }

  body.rtl-lang .work-slide-all {
    right: auto;
    left: clamp(24px, 3.5vw, 66px);
  }
}

@media (min-width: 1025px) {
  body.rtl-lang .logo-area {
    padding-right: 0;
    padding-left: 17vw;
  }

  body.rtl-lang #service-01 .card-visual-wrap,
  body.rtl-lang #service-02 .card-visual-wrap,
  body.rtl-lang #service-03 .card-visual-wrap,
  body.rtl-lang #service-04 .card-visual-wrap {
    right: auto;
    left: -5%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.rtl-lang #service-01 .card-visual-wrap,
  body.rtl-lang #service-02 .card-visual-wrap,
  body.rtl-lang #service-03 .card-visual-wrap,
  body.rtl-lang #service-04 .card-visual-wrap {
    right: auto;
    left: 2%;
  }
}

@media (max-width: 767px) {
  body.rtl-lang .work-showcase-scroll {
    margin-right: 0;
  }

  body.rtl-lang .services-mobile-accordion .service-accordion-trigger,
  body.rtl-lang .process-section.process-static .process-intro,
  body.rtl-lang .process-section.process-static .process-label {
    text-align: right;
  }
}
