/* ═══════════════════════════════════════════
   TOKENS & RESET
   ═══════════════════════════════════════════ */
:root {
  --bg: #080808;
  --bg-2: #0f0f0f;
  --bg-3: #141414;
  --surface: #191919;
  --border: rgba(255, 255, 255, 0.07);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --purple: #6BB5E0;
  --purple-glow: rgba(107, 181, 224, 0.25);
  --accent: #3b82f6;
  --white: #ffffff;
  --gray: #a0a0a0;
  --gray-lt: #d0d0d0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.rtl {
  text-align: right;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ═══════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY HELPERS
   ═══════════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-xl {
  padding: 18px 44px;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 5%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s var(--ease);
}



.nav-links {
  display: flex;
  gap: clamp(1rem, 1.8vw, 2rem);
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.05em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-active {
  color: var(--white);
}

.nav-links a.nav-active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 8px 20px;
  border-radius: 4px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--white);
}

.nav-cta.nav-cta-active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s;
}

.lang-toggle {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-toggle:hover {
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--accent);
}

body.rtl .hero-content,
body.rtl .section-header,
body.rtl .cat-content,
body.rtl .industry-row-head,
body.rtl .industry-card-info,
body.rtl .svc-body,
body.rtl .step,
body.rtl .cta-content,
body.rtl .ft-brand,
body.rtl .ft-nav,
body.rtl .ft-bottom {
  text-align: right;
}

body.rtl .hero-ctas,
body.rtl .cta-actions,
body.rtl .nav,
body.rtl .hero-scroll {
  direction: rtl;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: 0;
}

.hero-media {
  width: min(56vw, 980px);
  height: min(98%, 980px);
  object-fit: contain;
  object-position: right bottom;
  filter: brightness(0.78) contrast(1.08) saturate(0.98) drop-shadow(0 0 34px rgba(72, 146, 255, 0.12));
  transform: translateX(16%) scale(1.08);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: translateX(16%) scale(1.08);
  }

  to {
    transform: translateX(12%) scale(1.14);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(8, 8, 8, 0.82) 28%, rgba(8, 8, 8, 0.2) 62%, rgba(8, 8, 8, 0.08) 100%),
    linear-gradient(to top, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.16) 42%, transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 5%;
  padding-top: 2rem;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 1.8rem;
  color: var(--white);
}

.hero-headline em {
  font-style: normal;
  color: #6BB5E0;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-lt);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.ticker {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  width: max-content;
}

.ticker span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.ticker .dot {
  color: var(--accent);
  font-size: 0.6rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

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

/* ═══════════════════════════════════════════
   WORK
   ═══════════════════════════════════════════ */
.work {
  padding: 8rem 5%;
  background: var(--bg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1.2rem;
}

.work-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}

.work-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.work-card-media img {
  transition: transform 0.7s var(--ease);
}

.work-card:hover .work-card-media img {
  transform: scale(1.06);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-info {
  transform: translateY(16px);
  transition: transform 0.4s var(--ease);
}

.work-card:hover .work-card-info {
  transform: translateY(0);
}

.work-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}

.work-card-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.work-card-info p {
  font-size: 0.85rem;
  color: var(--gray-lt);
  margin-bottom: 1rem;
}

.work-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: gap 0.3s;
}

.work-card--large {
  grid-column: 1 / 8;
  min-height: 520px;
}

.work-card--sm:nth-child(2) {
  grid-column: 8 / 13;
  min-height: 250px;
}

.work-card--sm:nth-child(3) {
  grid-column: 8 / 13;
  min-height: 250px;
}

.work-card--wide {
  grid-column: 1 / 13;
  min-height: 320px;
}

/* ═══════════════════════════════════════════
   CATEGORIES
   ═══════════════════════════════════════════ */
.categories {
  position: relative;
  padding: 8rem 5%;
  background: var(--bg);
  overflow: hidden;
}

.categories::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(59, 130, 246, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.cat-shell {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.2rem 2rem 2rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    linear-gradient(135deg, rgba(7, 11, 20, 0.96), rgba(8, 8, 8, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cat-shell-head {
  margin-bottom: 2rem;
}

.cat-shell-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.cat-shell-title span {
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  font-weight: 400;
  color: var(--gray);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.cat-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s;
}

.cat-card[data-glow="blue"]::before {
  background: radial-gradient(ellipse at 20% 20%, var(--blue-glow), transparent 60%);
}

.cat-card[data-glow="purple"]::before {
  background: radial-gradient(ellipse at 20% 20%, var(--purple-glow), transparent 60%);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-card--visual {
  min-height: 430px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cat-card--visual:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cat-card--visual[data-glow="purple"]:hover {
  border-color: rgba(107, 181, 224, 0.28);
}

.cat-media {
  position: absolute;
  inset: 0;
}

.cat-media img {
  transition: transform 0.8s var(--ease);
}

.cat-card--visual:hover .cat-media img {
  transform: scale(1.04);
}

.cat-card--visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.14) 0%, rgba(8, 8, 8, 0.18) 24%, rgba(8, 8, 8, 0.84) 100%),
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.cat-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.6rem 1.4rem 1.5rem;
}

.cat-icon {
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s;
}

.cat-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 1.5rem;
  line-height: 1;
  background-color: rgba(8, 8, 8, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cat-card:hover .cat-icon {
  transform: scale(1.15);
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.55rem;
}

.cat-card p {
  max-width: 28ch;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

/* INDUSTRY SHOWCASE */
.industry-showcase {
  position: relative;
  padding: 1rem 5% 8rem;
  background: var(--bg);
  z-index: 1;
}

.industry-row {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 2rem 1.6rem 1.6rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
    linear-gradient(135deg, rgba(9, 9, 9, 0.98), rgba(7, 10, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.industry-row-head {
  margin-bottom: 3rem;
  text-align: center;
}

.industry-row-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: 0.02em;
}

.industry-row-title .word-1 {
  color: #6BB5E0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
}

.industry-row-title .word-2 {
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  margin-top: 0;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
}

.industry-row-desc {
  color: var(--gray);
  margin-top: 1rem;
  font-size: 1.1rem;
  font-family: var(--font-ui);
}

.industry-carousel {
  position: relative;
  padding: 0 1.8rem;
}

.industry-row-track {
  display: flex;
  gap: 1.3rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.25rem 0 0.35rem;
  scrollbar-width: none;
}

.industry-row-track::-webkit-scrollbar {
  display: none;
}

.industry-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 54px;
  height: 62%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 4, 4, 0.82);
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(12px);
}

.industry-nav:hover {
  background: rgba(10, 10, 10, 0.96);
  border-color: rgba(255, 255, 255, 0.22);
}

.industry-nav--prev {
  left: -0.5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.industry-nav--next {
  right: -0.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.industry-card {
  position: relative;
  flex: 0 0 min(29.5%, 350px);
  min-width: 250px;
  border-radius: 24px;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.industry-card--wide {
  aspect-ratio: 0.72;
}

.industry-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.26);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.48);
}

.industry-card-media {
  position: absolute;
  inset: 0;
}

.industry-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.industry-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-card-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.industry-card:hover .industry-card-video {
  opacity: 1;
}

.industry-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.14) 35%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.industry-card-overlay-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.95) 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.industry-card-details {
  text-align: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.industry-card-details h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
  color: #fff;
  line-height: 1.1;
}

.industry-card-details p {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: #6BB5E0;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.industry-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6BB5E0;
  font-size: 1.3rem;
  padding: 0 0.5rem;
}

.action-icons-left {
  display: flex;
  gap: 1rem;
}

.action-icons-left i,
.action-icon-right i {
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.action-icons-left i:hover,
.action-icon-right i:hover {
  transform: scale(1.15);
  color: #ffffff;
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
  padding: 8rem 5%;
  background: var(--bg);
}

.svc-list {
  max-width: 900px;
  margin: 0 auto;
}

.svc-item {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: border-color 0.3s var(--ease);
}

.svc-item:first-child {
  border-top: 1px solid var(--border);
}

.svc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.svc-item:hover::before {
  opacity: 1;
}

.svc-item:hover {
  border-color: rgba(59, 130, 246, 0.16);
}

.svc-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
  min-width: 36px;
  padding-top: 4px;
}

.svc-body h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.svc-body p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

.svc-tag {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(107, 181, 224, 0.35);
  padding: 4px 12px;
  border-radius: 100px;
  align-self: center;
}

/* ═══════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════ */
.process {
  position: relative;
  padding: 8rem 5%;
  background: var(--bg);
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.06) 0%, rgba(107, 181, 224, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.process>div,
.process-steps {
  position: relative;
  z-index: 2;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), var(--border), transparent);
}

.step {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.step:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s;
}

.step:hover .step-num {
  opacity: 0.8;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray);
}

.step-line {
  display: none;
}

/* ═══════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════ */
.stats {
  padding: 6rem 5%;
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  padding: 12rem 5%;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, rgba(107, 181, 224, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.cta-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--gray-lt);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.3s;
}

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

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

.footer-social a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--gray);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--blue-glow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-steps::before {
    display: none;
  }

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

  .work-card--large {
    grid-column: 1 / 13;
    min-height: 400px;
  }

  .work-card--sm:nth-child(2),
  .work-card--sm:nth-child(3) {
    grid-column: span 6;
    min-height: 280px;
  }

  .cat-card--visual:last-child {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .industry-card {
    flex-basis: min(42%, 320px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .lang-toggle {
    margin-left: auto;
    margin-right: 0.75rem;
  }

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

  .cat-shell {
    padding: 1.4rem;
    border-radius: 24px;
  }

  .cat-shell-title {
    gap: 0.6rem;
  }

  .cat-card--visual,
  .cat-card--visual:last-child {
    min-height: 320px;
    grid-column: auto;
  }

  .industry-showcase {
    padding-top: 0;
  }

  .industry-row {
    padding: 1.4rem;
    border-radius: 24px;
  }

  .industry-row-title {
    gap: 0.5rem;
  }

  .industry-carousel {
    padding: 0;
  }

  .industry-nav {
    display: none;
  }

  .industry-card {
    flex-basis: 76%;
    min-width: 250px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .work-card--wide {
    grid-column: 1 / 13;
    min-height: 240px;
  }

  .work-card--sm:nth-child(2),
  .work-card--sm:nth-child(3) {
    grid-column: 1 / 13;
  }

  .footer-top {
    flex-direction: column;
  }

  .svc-item {
    flex-wrap: wrap;
  }

  .svc-tag {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 2.5rem;
  }

  .hero-sub {
    max-width: 320px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-video-wrap {
    justify-content: center;
    align-items: center;
    padding-right: 0;
    padding-bottom: 0;
  }

  .hero-video-wrap::after {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
    height: 60%;
    background: radial-gradient(ellipse at center bottom, rgba(72, 146, 255, 0.22) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
  }

  .hero-media {
    width: 100%;
    height: 100%;
    object-position: center center;
    filter: brightness(1.1) contrast(1.1) saturate(1.05) drop-shadow(0 0 40px rgba(72, 146, 255, 0.2));
    transform: none;
    animation: none;
  }

  .hero-overlay {
    background:
      linear-gradient(to top, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.75) 25%, rgba(8, 8, 8, 0.3) 50%, rgba(8, 8, 8, 0.15) 70%, rgba(8, 8, 8, 0.4) 100%);
  }

  .hero-scroll {
    display: none;
  }

  .industry-card {
    flex-basis: 86%;
  }

  .industry-card-info h3 {
    font-size: 1.8rem;
  }
}

/* ═══════════════════════════════════════════
   VIDEO PLAY BUTTON OVERLAY
   ═══════════════════════════════════════════ */
.industry-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.industry-card:hover .industry-card-play {
  opacity: 1;
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(59, 130, 246, 0.85);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.5);
}

.play-btn:hover {
  transform: scale(1.12);
  background: rgba(59, 130, 246, 1);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.7);
}

.play-btn i {
  margin-left: 3px;
  /* optical center for play icon */
}

/* ═══════════════════════════════════════════
   YOUTUBE VIDEO MODAL
   ═══════════════════════════════════════════ */
.yt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.yt-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.yt-modal-inner {
  position: relative;
  width: min(94vw, 1040px);
  max-height: 88vh;
  border-radius: 20px;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.yt-modal-inner.is-youtube {
  aspect-ratio: 16 / 9;
}

.yt-modal-inner.is-drive {
  width: min(94vw, 560px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
}

.yt-modal-inner.is-portrait {
  width: min(94vw, 420px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
}

.yt-modal-overlay.active .yt-modal-inner {
  transform: scale(1) translateY(0);
}

.yt-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  min-height: 64px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.82));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.yt-modal-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yt-modal-frame-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #000;
  overflow: hidden;
}

.yt-modal-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  overflow: hidden;
}

.yt-modal-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.yt-modal-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  flex: 0 0 auto;
}

.yt-modal-close:hover {
  background: rgba(59, 130, 246, 0.92);
  transform: scale(1.08) rotate(90deg);
}

@media (max-width: 768px) {
  .yt-modal-overlay {
    padding: 12px;
  }

  .yt-modal-inner {
    width: min(96vw, 960px);
    border-radius: 16px;
    max-height: 90vh;
  }

  .yt-modal-inner.is-drive {
    width: min(96vw, 430px);
  }

  .yt-modal-bar {
    min-height: 56px;
    padding: 10px 10px 10px 14px;
  }

  .yt-modal-close {
    width: 40px;
    height: 40px;
  }

  .yt-modal-title {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════
   TOP BAR & WHATSAPP
   ═══════════════════════════════════════════ */
.top-bar-socials {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--bg-2);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  z-index: 101;
  transition: all 0.4s var(--ease);
}

.top-bar-socials a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}

.top-bar-socials a:hover {
  color: var(--accent);
}


.floating-wa {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.floating-wa:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

@media (max-width: 768px) {
  .nav {
    top: 40px;
  }

  .top-bar-socials {
    height: 40px;
  }

  .floating-wa {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}