/* =========================================
   1. ROOT / GLOBAL / BASE
========================================= */

:root {
  --bg: #f7f4fb;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #1b1330;
  --text-soft: rgba(27, 19, 48, 0.72);
  --text-muted: rgba(27, 19, 48, 0.55);
  --line: rgba(75, 31, 111, 0.12);
  --purple: #4b1f6f;
  --purple-2: #6d2ca3;
  --yellow: #f5c400;
  --yellow-soft: #ffd84d;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(45, 22, 68, 0.12);
  --shadow-soft: 0 18px 46px rgba(45, 22, 68, 0.1);
  --shadow-strong: 0 24px 70px rgba(45, 22, 68, 0.16);
  --radius: 24px;
  --container: 1200px;
  --nav-h: 88px;
  --line-strong: rgba(75, 31, 111, 0.22);
}

body.theme-dark {
  --bg: #0f0618;
  --bg-2: #14071f;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.76);
  --text-muted: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.36);
  --line-strong: rgba(255, 255, 255, 0.18);
}
body.theme-dark .solution-step {
  color: #ffffff;
}
body.theme-dark .service-tile-number {
  color: #ffffff;
}
body.theme-dark .service-tile-icon svg,
body.theme-dark .value-icon svg {
  fill: #ffffff;
}
body.theme-dark .footer-email-icon svg {
  fill: #ffffff;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(109, 44, 163, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 22%,
      rgba(245, 196, 0, 0.06),
      transparent 18%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(245, 196, 0, 0.05),
      transparent 16%
    ),
    radial-gradient(
      circle at 22% 14%,
      rgba(109, 44, 163, 0.12),
      transparent 22%
    );
  pointer-events: none;
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.24),
    rgba(0, 0, 0, 0.08)
  );
  pointer-events: none;
  z-index: -1;
}

.panel {
  position: relative;
  padding: 140px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 520px);
  align-items: end;
  gap: 28px 56px;
  margin-bottom: 56px;
}

.section-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.section-head.centered {
  text-align: center;
}

.section-kicker,
.eyebrow {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 20px;
}

.section-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 800;
  text-align: left;
  text-wrap: balance;
}

.section-title span {
  display: block;
}

.section-text,
.hero-text {
  align-self: end;
  margin: 0;
  max-width: 38ch;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
  color: var(--text-soft);
  text-align: left;
}
.values-head .section-text {
  align-self: unset; /* remove the inherited push */
}
.centered .section-title,
.centered .section-text,
.narrow {
  margin-inline: auto;
}

.narrow {
  max-width: 70ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: #1c1300;
  padding-inline: 26px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 14px 30px rgba(245, 196, 0, 0.2);
}

.btn-primary:hover {
  background: #ffd632;
  box-shadow: 0 18px 34px rgba(245, 196, 0, 0.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding-inline: 24px;
}

section[id] {
  scroll-margin-top: 110px;
}

/* Shared glass system */
.stat-card,
.glass-card,
.service-card,
.challenge-card,
.timeline-item,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
/* =========================================
   PRELOADER
========================================= */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(109, 44, 163, 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 22%,
      rgba(245, 196, 0, 0.08),
      transparent 18%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  width: min(280px, calc(100vw - 48px));
  display: grid;
  gap: 24px;
  justify-items: center;
}

.preloader-logo {
  width: 180px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.preloader-line {
  position: relative;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.preloader-line span {
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), #ffd84d);
  box-shadow: 0 0 24px rgba(245, 196, 0, 0.35);
  animation: preloaderBar 1.25s ease-in-out infinite;
}

body.theme-dark .preloader-line {
  background: rgba(255, 255, 255, 0.04);
}

@keyframes preloaderBar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}
/* =========================================
   2. HEADER / NAVIGATION
========================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  transition:
    background 0.25s ease,
    backdrop-filter 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: transparent;
  transition:
    background 0.25s ease,
    opacity 0.25s ease;
  opacity: 0;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg-2) 72%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.site-header.is-scrolled::after {
  background: var(--line);
  opacity: 1;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 164px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.lang-link {
  padding-left: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--surface-strong);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

/* =========================================
   3. FULLSCREEN MOBILE MENU
========================================= */

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 20px;
}
.menu-toggle span:nth-child(2) {
  top: 30px;
}

.menu-toggle.is-active span:nth-child(1) {
  top: 25px;
  transform: rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  top: 25px;
  transform: rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(109, 44, 163, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(245, 196, 0, 0.08),
      transparent 18%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 92%, transparent),
      color-mix(in srgb, var(--bg-2) 96%, transparent)
    );
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.35s;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.menu-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overlay-brand img {
  width: 150px;
}

.menu-close {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 25px;
  height: 2px;
  background: var(--text);
}

.menu-close span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0;
}

.overlay-link {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  width: fit-content;
  opacity: 0;
  transform: translateY(30px);
}

.menu-overlay.is-open .overlay-link {
  animation: menuFade 0.6s forwards;
}

.menu-overlay.is-open .overlay-link:nth-child(1) {
  animation-delay: 0.1s;
}
.menu-overlay.is-open .overlay-link:nth-child(2) {
  animation-delay: 0.15s;
}
.menu-overlay.is-open .overlay-link:nth-child(3) {
  animation-delay: 0.2s;
}
.menu-overlay.is-open .overlay-link:nth-child(4) {
  animation-delay: 0.25s;
}
.menu-overlay.is-open .overlay-link:nth-child(5) {
  animation-delay: 0.3s;
}
.menu-overlay.is-open .overlay-link:nth-child(6) {
  animation-delay: 0.35s;
}

.overlay-link:hover {
  color: var(--purple);
}

@keyframes menuFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-overlay-bottom {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mobile-theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  min-height: 52px;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.overlay-cta {
  min-height: 52px;
}

/* MOBILE BREAKPOINT */
@media (max-width: 980px) {
  .nav-links,
  .nav-cta,
  .theme-toggle {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand img {
    width: 144px;
  }
}

@media (max-width: 560px) {
  .menu-overlay-inner {
    padding: 22px 20px 28px;
  }

  .overlay-brand img {
    width: 132px;
  }

  .menu-overlay-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-theme-toggle,
  .overlay-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .hero-title span {
    font-size: clamp(24px, 6.8vw, 36px);
  }

  .section-text,
  .hero-text {
    font-size: clamp(13px, 3.2vw, 14px);
  }

  .values-title {
    font-size: clamp(22px, 5.5vw, 30px);
  }

  .values-text {
    font-size: clamp(13px, 3.2vw, 14px);
  }

  .services-title {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .solution-title {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .solution-card h3 {
    font-size: clamp(18px, 4.8vw, 24px);
  }

  .service-tile h3 {
    font-size: clamp(18px, 4.8vw, 26px);
  }
}

/* =========================================
   4. HERO SECTION
========================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 12% 18%, rgba(75, 31, 111, 0.1), transparent 22%),
    radial-gradient(
      circle at 84% 20%,
      rgba(245, 196, 0, 0.08),
      transparent 18%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 720px;
  opacity: 1;
  transform: none;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-title span {
  display: block;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 800;
  color: var(--text);
}

.hero-text {
  margin: 28px 0 0;
  max-width: 58ch;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero-stats {
  width: 100%;
  max-width: 470px;
  display: grid;
  gap: 18px;
}

.stat-card {
  padding: 28px 26px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stat-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
  color: var(--text);
}

.stat-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-left {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 80px;
  background: rgba(122, 74, 178, 0.18);
}

.hero-glow-right {
  width: 360px;
  height: 360px;
  right: -60px;
  top: 120px;
  background: rgba(245, 196, 0, 0.1);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  z-index: 3;
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--purple);
  animation: heroScrollDot 1.6s infinite ease-in-out;
}

@keyframes heroScrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-side {
    justify-content: flex-start;
  }

  .hero-stats {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .section-title {
    max-width: 12ch;
    font-size: clamp(24px, 5vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.028em;
  }

  .hero-title span {
    font-size: clamp(28px, 6.5vw, 50px);
    line-height: 1.06;
  }

  .section-text,
  .hero-text {
    max-width: 100%;
    font-size: clamp(15px, 2.2vw, 16px);
    line-height: 1.75;
  }

  #challenge .section-title,
  .solution-title,
  .values-title,
  .services-title {
    max-width: 12ch;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-card {
    padding: 22px 20px;
  }

  .scroll-indicator {
    display: none;
  }

  .section-title {
    font-size: clamp(22px, 4.5vw, 36px);
    line-height: 1.14;
  }

  .hero-title span {
    font-size: clamp(26px, 6vw, 44px);
    line-height: 1.08;
  }

  .section-text,
  .hero-text {
    font-size: clamp(15px, 2vw, 16px);
  }

  .values-title {
    font-size: clamp(26px, 4.5vw, 40px);
  }

  .values-text {
    font-size: clamp(15px, 2.2vw, 16px);
  }

  .services-title {
    font-size: clamp(22px, 4.5vw, 36px);
  }

  .solution-title {
    font-size: clamp(22px, 4.5vw, 36px);
  }
}

/* =========================================
   5. CHALLENGE SECTION
========================================= */

#challenge .section-title {
  max-width: 14ch;
}

#challenge .section-copy {
  max-width: 100%;
}

#challenge .section-text {
  margin-top: 20px;
  max-width: 46ch;
}

#challenge .section-kicker {
  margin-bottom: 12px;
}
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.image-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  position: relative;
  z-index: 1;
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(20, 8, 34, 0.08), rgba(20, 8, 34, 0.16)),
    radial-gradient(circle at 72% 22%, rgba(245, 196, 0, 0.1), transparent 24%),
    radial-gradient(circle at 24% 78%, rgba(75, 31, 111, 0.12), transparent 28%);
  pointer-events: none;
}

.image-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: rgba(140, 90, 255, 0.2);
  filter: blur(60px);
  border-radius: 50%;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.visual-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 30px;
}

.challenge-card {
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(245, 196, 0, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(109, 44, 163, 0.18),
      transparent 26%
    ),
    var(--surface);
  border-radius: var(--radius);
}

.image-card .orb {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
  mix-blend-mode: screen;
  pointer-events: none;
}

.image-card .orb-yellow {
  width: 118px;
  height: 118px;
  top: 26px;
  right: 26px;
  background: rgba(245, 196, 0, 0.78);
  filter: blur(2px);
  box-shadow: 0 0 60px rgba(245, 196, 0, 0.28);
}

.image-card .orb-purple {
  width: 170px;
  height: 170px;
  left: 20px;
  bottom: 18px;
  background: rgba(164, 126, 211, 0.62);
  filter: blur(4px);
  box-shadow: 0 0 70px rgba(109, 44, 163, 0.24);
}

.image-card .orb-soft {
  width: 140px;
  height: 140px;
  left: 52%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.14);
  filter: blur(28px);
  opacity: 0.85;
}

/* CHALLENGE RESPONSIVE */
@media (max-width: 1100px) {
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .visual-card {
    min-height: 320px;
  }
  .image-card {
    min-height: 320px;
  }

  .image-card .orb-yellow {
    width: 92px;
    height: 92px;
    top: 18px;
    right: 18px;
  }

  .image-card .orb-purple {
    width: 126px;
    height: 126px;
    left: 14px;
    bottom: 14px;
  }

  .image-card .orb-soft {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 640px) {
  .section-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.16;
    letter-spacing: -0.022em;
  }

  .hero-title span {
    font-size: clamp(26px, 7.5vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.028em;
  }

  .section-text,
  .hero-text {
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 1.74;
  }

  #challenge .section-title,
  .solution-title,
  .values-title,
  .services-title {
    max-width: 100%;
  }

  .services-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.16;
    letter-spacing: -0.022em;
    text-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  #challenge .section-kicker {
    margin-bottom: 10px;
  }
}

/* =========================================
   6. SOLUTION SECTION
========================================= */

.solution {
  position: relative;
  overflow: clip;
}

.solution > .container {
  position: relative;
  z-index: 2;
}

.solution-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.solution-bg-orb-1 {
  width: 280px;
  height: 280px;
  left: -70px;
  top: 140px;
  background: rgba(75, 31, 111, 0.09);
}

.solution-bg-orb-2 {
  width: 260px;
  height: 260px;
  right: -40px;
  top: 120px;
  background: rgba(245, 196, 0, 0.1);
}

.solution-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 36px 64px;
  margin-bottom: 56px;
}

.solution-title {
  max-width: 13ch;
  margin: 0;
  text-align: left;
  align-self: start;
}

.solution-title span {
  display: block;
}

.solution-text {
  margin: 6px 0 0;
  max-width: 36ch;
  text-align: left;
}

.solution-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding-top: 0;
}

.solution-line {
  display: none;
}

body.theme-dark .solution-line {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.solution-card {
  position: relative;
  min-height: 240px;
  padding: 32px 26px 26px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-strong) 96%, transparent),
    color-mix(in srgb, var(--surface) 88%, transparent)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(245, 196, 0, 0.08),
      transparent 20%
    ),
    radial-gradient(circle at 85% 84%, rgba(75, 31, 111, 0.06), transparent 24%);
  pointer-events: none;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--line-strong);
}

.solution-card-2 {
  margin-top: 36px;
}

.solution-card-3 {
  margin-top: 72px;
}

.solution-step {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--purple);
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.2);
  box-shadow: 0 10px 24px rgba(245, 196, 0, 0.1);
}

.solution-card h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.solution-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 28ch;
}

body.theme-dark .solution-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
}

@media (max-width: 980px) {
  .solution-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }

  .solution-text {
    margin-top: 0;
    max-width: 100%;
  }

  .solution-title {
    max-width: 12ch;
  }

  .solution-track {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 0;
  }

  .solution-line {
    display: none;
  }

  .solution-card-2,
  .solution-card-3 {
    margin-top: 0;
  }

  .solution-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .solution-title {
    max-width: 100%;
    font-size: clamp(26px, 6.5vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-wrap: pretty;
  }
  .solution-title br {
    display: none;
  }
  .solution-card {
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  .solution-step {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .solution-card h3 {
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .solution-card p {
    font-size: clamp(14px, 3.8vw, 15px);
    line-height: 1.7;
    max-width: 100%;
  }
}

/* =========================================
   7. VALUES SECTION
========================================= */

.values {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.values > .container {
  position: relative;
  z-index: 2;
}

.values-yellow-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 196, 0, 0.92) 0%,
    rgba(245, 196, 0, 0.72) 58%,
    rgba(245, 196, 0, 0) 100%
  );
  transform: translate(-50%, -50%) scale(0.12);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(6px);
}

.values-yellow-orb {
  display: none;
}

.values-head {
  display: flex;
  flex-direction: column;
  align-items: center; /* center everything */
  text-align: center;
  gap: 18px;
  margin-bottom: 56px;
}

.values-title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}

.values-text {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.8;
  color: var(--text-soft);
  text-align: center;
}

.values-title span {
  display: block;
}

.values-head .section-text {
  margin: 0;
  max-width: 36ch;
  text-align: center;
}

.values-orbit-stage {
  position: relative;
  min-height: 920px;
}

.values-core-wrap {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
  min-height: 920px;
}

.values-core {
  position: relative;
  overflow: visible;
  width: 100%;
  min-height: 920px;
  isolation: isolate;
}

.values-core-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.values-core-glow-yellow {
  width: 280px;
  height: 280px;
  top: 240px;
  left: 50%;
  margin-left: 40px;
  background: rgba(245, 196, 0, 0.12);
}

.values-core-glow-purple {
  width: 320px;
  height: 320px;
  top: 360px;
  left: 50%;
  margin-left: -240px;
  background: rgba(75, 31, 111, 0.1);
}

.values-core-shape,
.values-core-ring,
.value-orbit-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.values-core-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px dashed var(--line);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
}

.values-core-ring-1 {
  width: 420px;
  height: 420px;
}

.values-core-ring-2 {
  width: 620px;
  height: 620px;
  opacity: 0.08;
}

.values-core-shape {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 3;
  filter: drop-shadow(0 30px 60px rgba(75, 31, 111, 0.1));
}

.values-core-shape span {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-strong) 98%, transparent),
    color-mix(in srgb, var(--surface) 90%, transparent)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.values-core-shape span:nth-child(1) {
  transform: scale(1);
}

.values-core-shape span:nth-child(2) {
  transform: scale(0.82) rotate(12deg);
  opacity: 0.92;
}

.values-core-shape span:nth-child(3) {
  transform: scale(0.62) rotate(-12deg);
  opacity: 0.86;
}

.value-orbit-card,
.values-core-shape,
.values-core-ring {
  opacity: 1;
  visibility: visible;
}

.value-orbit-card {
  position: absolute;
  width: 280px;
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-strong) 96%, transparent),
    color-mix(in srgb, var(--surface) 88%, transparent)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  z-index: 4;
  transform-style: preserve-3d;
}

.value-orbit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(245, 196, 0, 0.08),
      transparent 24%
    ),
    radial-gradient(circle at 84% 84%, rgba(75, 31, 111, 0.06), transparent 26%);
  pointer-events: none;
}

.value-orbit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--line-strong);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.18);
  box-shadow: 0 10px 24px rgba(245, 196, 0, 0.1);
  position: relative;
  z-index: 1;
}

.value-icon svg {
  width: 23px;
  height: 23px;
  fill: var(--purple);
}

.value-orbit-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.value-orbit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

body.theme-dark .values-core-shape {
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.28));
}

body.theme-dark .value-orbit-card,
body.theme-dark .values-core-shape span {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
}

body.theme-dark .value-icon {
  background: rgba(245, 196, 0, 0.1);
  border-color: rgba(245, 196, 0, 0.14);
}

@media (min-width: 1181px) {
  .value-orbit-card-1 {
    left: 50%;
    top: 50%;
    margin-left: -520px;
    margin-top: -250px;
  }

  .value-orbit-card-2 {
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -340px;
  }

  .value-orbit-card-3 {
    left: 50%;
    top: 50%;
    margin-left: 250px;
    margin-top: -220px;
  }

  .value-orbit-card-4 {
    left: 50%;
    top: 50%;
    margin-left: 230px;
    margin-top: 120px;
  }

  .value-orbit-card-5 {
    left: 50%;
    top: 50%;
    margin-left: -400px;
    margin-top: 140px;
  }
}

@media (max-width: 1180px) {
  .values {
    overflow: hidden;
  }

  .values-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }

  .values-head .section-kicker {
    max-width: 100%;
  }

  .values-head .section-title {
    max-width: 11ch;
  }

  .values-head .section-text {
    max-width: 100%;
  }
  .values-title {
    max-width: 100%;
  }

  .values-text {
    margin-top: 0;
    max-width: 100%;
  }
  .values-yellow-bg,
  .values-yellow-orb {
    top: 50%;
  }

  .values-orbit-stage,
  .values-core-wrap,
  .values-core {
    min-height: auto;
  }

  .values-core-glow,
  .values-core-ring,
  .values-core-shape {
    display: none !important;
  }

  .values-core {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .value-orbit-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100%;
    min-height: auto;
    padding: 22px 18px;
    border-radius: 22px;
    transform: none !important;
  }

  .value-orbit-card:nth-child(even) {
    transform: rotate(-1.2deg) !important;
  }

  .value-orbit-card:nth-child(odd) {
    transform: rotate(1.2deg) !important;
  }

  .value-orbit-card:hover {
    transform: none !important;
  }

  .value-orbit-card h3 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 10px;
  }

  .value-orbit-card p {
    font-size: 15px;
    line-height: 1.7;
  }

  .value-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .value-icon svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 640px) {
  .values-title {
    max-width: 100%;
    font-size: clamp(26px, 6.5vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .values-title br {
    display: none !important;
  }

  .values-head .section-title {
    max-width: 100%;
    text-wrap: normal;
  }

  .values {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .values-core {
    gap: 14px;
  }

  .value-orbit-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .values-text {
    font-size: 15px;
    line-height: 1.7;
  }
  .value-orbit-card:nth-child(1) {
    margin-left: 0;
    margin-right: 24px;
  }

  .value-orbit-card:nth-child(2) {
    margin-left: 20px;
    margin-right: 0;
  }

  .value-orbit-card:nth-child(3) {
    margin-left: 0;
    margin-right: 18px;
  }

  .value-orbit-card:nth-child(4) {
    margin-left: 18px;
    margin-right: 0;
  }

  .value-orbit-card:nth-child(5) {
    margin-left: 0;
    margin-right: 22px;
  }
}

/* =========================================
   8. SERVICES SECTION
========================================= */

.services {
  position: relative;
  overflow: clip;
}

.services > .container {
  position: relative;
  z-index: 2;
}

.services-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.services-bg-orb-1 {
  width: 320px;
  height: 320px;
  left: -80px;
  top: 160px;
  background: rgba(75, 31, 111, 0.1);
}

.services-bg-orb-2 {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 120px;
  background: rgba(245, 196, 0, 0.1);
}

.services-head {
  margin-bottom: 56px;
}

.services-title {
  max-width: 11ch;
  margin: 0;
  text-align: left;
}

.services-title span {
  display: block;
}

.services-head .section-text {
  margin: 0;
  max-width: 36ch;
  text-align: left;
}

.services-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.service-tile {
  position: relative;
  min-height: 250px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface-strong) 96%, transparent),
    color-mix(in srgb, var(--surface) 88%, transparent)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: transform, opacity;
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(245, 196, 0, 0.08),
      transparent 22%
    ),
    radial-gradient(circle at 88% 82%, rgba(75, 31, 111, 0.06), transparent 28%);
  pointer-events: none;
}

.service-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--line-strong);
}

.service-tile-feature {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-strong) 96%, transparent),
      color-mix(in srgb, var(--surface) 88%, transparent)
    ),
    linear-gradient(135deg, rgba(245, 196, 0, 0.08), transparent 52%);
}

.service-tile-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-tile-number {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--purple);
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.2);
  box-shadow: 0 10px 24px rgba(245, 196, 0, 0.1);
}

.service-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 31, 111, 0.06);
  border: 1px solid var(--line);
}

.service-tile-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--purple);
}

.service-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
}

.service-tile p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

body.theme-dark .service-tile {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
}

body.theme-dark .service-tile-icon {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 980px) {
  .services-grid-2 {
    grid-template-columns: 1fr;
  }

  .service-tile {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .services-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .services-head .section-text {
    text-align: left;
    margin-inline: 0;
    max-width: 100%;
  }

  .services-title {
    max-width: 100%;
    font-size: clamp(32px, 8.5vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .service-tile-top {
    margin-bottom: 16px;
  }

  .service-tile-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .service-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .service-tile h3 {
    font-size: 22px;
  }

  .service-tile p {
    font-size: 15px;
    line-height: 1.7;
  }
}
/* =========================================
   9. CTA / CONTACT FORM
========================================= */

.cta {
  padding-bottom: 90px;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
  padding: 36px;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(109, 44, 163, 0.14),
      transparent 22%
    ),
    radial-gradient(circle at 86% 80%, rgba(245, 196, 0, 0.1), transparent 20%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cta-copy {
  padding: 6px 4px 0;
}

.cta-title {
  max-width: 11ch;
}

.cta-text {
  max-width: 36ch;
  margin-top: 18px;
}

.contact-form {
  padding: 26px;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  padding: 15px 16px;
  outline: none;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.form-field select {
  appearance: auto;
}

.form-field select option {
  background: #ffffff;
  color: #1b1330;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(245, 196, 0, 0.42);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.1);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.theme-dark .contact-form {
  background: rgba(255, 255, 255, 0.05);
}

body.theme-dark .form-field input,
body.theme-dark .form-field select,
body.theme-dark .form-field textarea {
  background: rgba(255, 255, 255, 0.04);
}

body.theme-dark .form-field select option {
  background: #21112f;
  color: #ffffff;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================
   10. FOOTER
========================================= */
.site-footer {
  position: relative;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02)), transparent;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand img {
  width: 160px;
}

.footer-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.footer-email:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.footer-email-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.2);
  color: var(--purple);
  flex: 0 0 auto;
}

.footer-email-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(45, 22, 68, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.footer-social:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 0, 0.3);
  background: var(--surface-strong);
  color: var(--purple);
  box-shadow: 0 16px 30px rgba(45, 22, 68, 0.12);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

body.theme-dark .footer-social,
body.theme-dark .footer-email {
  background: rgba(255, 255, 255, 0.04);
}

/* =========================================
   11. CTA / FOOTER RESPONSIVE
========================================= */

@media (max-width: 980px) {
  .cta-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
  }

  .footer-brand-block {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .footer-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .cta {
    padding-bottom: 70px;
  }

  .cta-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 20px;
  }

  .cta-title {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.03em;

    text-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .cta-text {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.6;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    border-radius: 22px;
  }

  .form-grid {
    width: 100%;
    gap: 14px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    border-radius: 16px;
    padding: 14px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .form-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding: 30px 0 36px;
  }

  .footer-inner {
    width: 100%;
    gap: 24px;
  }

  .footer-brand-block {
    width: 100%;
    display: block;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .footer-brand img {
    width: 150px;
  }

  .footer-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-email {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .footer-email span:last-child {
    font-size: 14px;
    line-height: 1.2;
    word-break: break-word;
  }

  .footer-socials {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .footer-social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .footer-social svg {
    width: 18px;
    height: 18px;
  }
}
/* =========================
     FOOTER
  ========================= */

.site-footer {
  padding: 30px 0 36px;
}

.footer-inner {
  gap: 24px;
}

.footer-brand img {
  width: 150px;
}

.footer-copy {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}

/* Email pill */
.footer-email {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-email span:last-child {
  font-size: 14px;
  line-height: 1.2;
  word-break: break-word;
}

/* Social icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* =========================================
   12. ANIMATION HELPERS
========================================= */

.tilt-panel {
  transform-style: preserve-3d;
  perspective: 1200px;
}

.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity;
}

/* =========================================
   13. GLOBAL SMALL SCREEN HELPERS
========================================= */

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }
}

/* =========================================
   AR CSS
========================================= */

html[lang="ar"] body {
  font-family: "Cairo", "Inter", sans-serif;
}

html[lang="ar"] .nav {
  flex-direction: row-reverse;
}

html[lang="ar"] .nav-links {
  flex-direction: row-reverse;
  gap: 28px;
}

html[lang="ar"] .nav-actions {
  flex-direction: row-reverse;
  gap: 12px;
}

html[lang="ar"] .brand img {
  width: 160px;
}

html[lang="ar"] .menu-overlay-top {
  flex-direction: row-reverse;
}

html[lang="ar"] .menu-overlay-nav {
  align-items: flex-end;
  gap: 20px;
}

html[lang="ar"] .overlay-link {
  width: 100%;
  text-align: right;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.15;
}

html[lang="ar"] .lang-link {
  padding-left: 0;
  padding-right: 8px;
}

html[lang="ar"] .hero-inner {
  direction: rtl;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.05fr);
}

html[lang="ar"] .hero-copy {
  text-align: right;
}

html[lang="ar"] .eyebrow {
  text-align: right;
  margin: 0 0 18px;
}

html[lang="ar"] .hero-title {
  max-width: 100%;
  text-align: right;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

html[lang="ar"] .hero-title span {
  display: block;
  line-height: 1.2;
}

html[lang="ar"] .hero-text {
  margin-top: 28px;
  max-width: 100%;
  line-height: 2;
  text-align: right;
  font-size: clamp(15px, 2.2vw, 17px);
}

html[lang="ar"] .hero-actions {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

html[lang="ar"] .split {
  direction: rtl;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

html[lang="ar"] .section-copy {
  text-align: right;
}

html[lang="ar"] .section-head {
  direction: rtl;
  grid-template-columns: minmax(0, 520px) minmax(0, 620px);
}

html[lang="ar"] .section-kicker {
  text-align: right;
  margin: 0 0 20px;
}

html[lang="ar"] .section-title {
  text-align: right;
  line-height: 1.28;
  letter-spacing: -0.025em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

html[lang="ar"] .section-text {
  text-align: right;
  line-height: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .solution-head {
  direction: rtl;
  grid-template-columns: 1fr;
  gap: 24px;
}

html[lang="ar"] .solution-title {
  text-align: right;
  line-height: 1.28;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .solution-text {
  text-align: right;
  line-height: 2;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .solution-track {
  direction: rtl;
}

html[lang="ar"] .solution-card {
  text-align: right;
  padding: 32px 26px 26px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html[lang="ar"] .solution-card h3 {
  text-align: right;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .solution-card p {
  text-align: right;
  line-height: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .solution-step {
  margin-bottom: 22px;
}

html[lang="ar"] .values-head {
  direction: rtl;
  grid-template-columns: 1fr;
  text-align: center;
}

html[lang="ar"] .values-title {
  text-align: center;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .values-text {
  text-align: center;
  line-height: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .value-orbit-card {
  text-align: right;
  padding: 24px 22px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html[lang="ar"] .value-orbit-card h3 {
  text-align: right;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .value-orbit-card p {
  text-align: right;
  line-height: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .services-head {
  direction: rtl;
  grid-template-columns: 1fr;
}

html[lang="ar"] .services-title {
  text-align: right;
  line-height: 1.28;
}

html[lang="ar"] .services-grid-2 {
  direction: rtl;
}

html[lang="ar"] .service-tile {
  text-align: right;
  padding: 24px 22px 22px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html[lang="ar"] .service-tile-top {
  flex-direction: row-reverse;
}

html[lang="ar"] .service-tile h3 {
  text-align: right;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .service-tile p {
  text-align: right;
  line-height: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

/* CTA layout */
html[lang="ar"] .cta-shell {
  direction: rtl;
  grid-template-columns: 1fr 1fr;
}

html[lang="ar"] .cta-copy {
  text-align: right;
}

html[lang="ar"] .cta-title {
  text-align: right;
  line-height: 1.28;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .cta-text {
  text-align: right;
  line-height: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .contact-form {
  direction: rtl;
}

html[lang="ar"] .form-grid {
  direction: rtl;
}

html[lang="ar"] .form-field label {
  text-align: right;
  display: block;
  margin-bottom: 8px;
}

html[lang="ar"] .form-field input,
html[lang="ar"] .form-field select,
html[lang="ar"] .form-field textarea {
  text-align: right;
  font-family: "Cairo", "Inter", sans-serif;
  width: 100%;
}

html[lang="ar"] .form-actions {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 12px;
}

html[lang="ar"] .form-actions .btn {
  font-family: "Cairo", "Inter", sans-serif;
}

/* footer */
html[lang="ar"] .footer-inner {
  direction: rtl;
}

html[lang="ar"] .footer-brand-block {
  text-align: right;
}

html[lang="ar"] .footer-copy {
  text-align: right;
  line-height: 2;
}

html[lang="ar"] .footer-email {
  flex-direction: row-reverse;
  text-align: right;
}

html[lang="ar"] .footer-email span:last-child {
  text-align: right;
}

html[lang="ar"] .footer-right {
  align-items: flex-end;
}

html[lang="ar"] .footer-socials {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

/* email + latin content */
html[lang="ar"] .cta-text strong,
html[lang="ar"] .footer-email,
html[lang="ar"] input[type="email"] {
  direction: ltr;
  unicode-bidi: isolate;
}

/* =========================================
   AR HERO FIX & RESPONSIVE
========================================= */

html[lang="ar"] .hero {
  padding: 140px 0 80px;
}

html[lang="ar"] .hero-copy {
  text-align: right;
}

html[lang="ar"] .hero-title {
  max-width: 100%;
  text-align: right;
  line-height: 1.2;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .hero-title span {
  display: inline;
  line-height: 1.2;
}

html[lang="ar"] .hero-text {
  margin-top: 28px;
  max-width: 100%;
  line-height: 2;
  text-align: right;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
}

html[lang="ar"] .scroll-indicator {
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================
   MOBILE AR RESPONSIVE
========================================= */

@media (max-width: 980px) {
  html[lang="ar"] .hero-inner {
    grid-template-columns: 1fr;
  }

  html[lang="ar"] .hero-side {
    display: none;
  }

  html[lang="ar"] .section-head {
    grid-template-columns: 1fr;
  }

  html[lang="ar"] .solution-head {
    grid-template-columns: 1fr;
  }

  html[lang="ar"] .cta-shell {
    grid-template-columns: 1fr;
  }

  html[lang="ar"] .services-grid-2 {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  html[lang="ar"] .hero {
    padding: 120px 0 70px;
  }

  html[lang="ar"] .hero-title {
    font-size: clamp(26px, 6vw, 44px);
    text-align: center;
  }

  html[lang="ar"] .hero-text {
    text-align: center;
    font-size: clamp(15px, 2vw, 16px);
  }

  html[lang="ar"] .services-head,
  html[lang="ar"] .values-head,
  html[lang="ar"] .solution-head,
  html[lang="ar"] .cta-copy {
    text-align: center;
  }

  html[lang="ar"] .services-head .section-text,
  html[lang="ar"] .values-head .section-text,
  html[lang="ar"] .solution-text,
  html[lang="ar"] .cta-text {
    max-width: 100%;
    text-align: center;
  }

  html[lang="ar"] .services-title,
  html[lang="ar"] .values-title,
  html[lang="ar"] .solution-title,
  html[lang="ar"] .cta-title {
    max-width: 100%;
    text-align: center;
  }

  html[lang="ar"] .section-title {
    font-size: clamp(22px, 4.5vw, 36px);
  }

  html[lang="ar"] .values-title {
    font-size: clamp(26px, 4.5vw, 40px);
  }

  html[lang="ar"] .services-title {
    font-size: clamp(22px, 4.5vw, 36px);
  }

  html[lang="ar"] .solution-title {
    font-size: clamp(22px, 4.5vw, 36px);
  }

  html[lang="ar"] .contact-form {
    width: 100%;
    max-width: 100%;
  }

  html[lang="ar"] .form-grid {
    width: 100%;
  }
}

@media (max-width: 640px) {
  html[lang="ar"] .hero {
    padding: 112px 0 60px;
  }

  html[lang="ar"] .hero-copy {
    text-align: center;
  }

  html[lang="ar"] .eyebrow {
    margin-bottom: 14px;
    text-align: center;
    font-size: 12px;
  }

  html[lang="ar"] .hero-title {
    font-size: clamp(24px, 7vw, 38px);
    text-align: center;
    line-height: 1.2;
    gap: 2px;
    flex-direction: column;
  }

  html[lang="ar"] .hero-title span {
    font-size: clamp(24px, 7vw, 38px);
    line-height: 1.2;
    letter-spacing: 0;
  }

  html[lang="ar"] .hero-text {
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
    text-align: center;
    max-width: 100%;
    margin-top: 20px;
  }

  html[lang="ar"] .hero-actions {
    margin-top: 26px;
    flex-direction: row-reverse;
    justify-content: flex-start;
  }

  html[lang="ar"] .section-kicker {
    text-align: center;
    margin: 0 0 12px;
  }

  html[lang="ar"] .section-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.3;
    letter-spacing: -0.022em;
    text-align: center;
  }

  html[lang="ar"] .section-text {
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
    text-align: center;
    max-width: 100%;
  }

  html[lang="ar"] .section-head,
  html[lang="ar"] .split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  html[lang="ar"] .solution-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  html[lang="ar"] .solution-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.3;
    text-align: center;
  }

  html[lang="ar"] .solution-text {
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
    text-align: center;
    max-width: 100%;
  }

  html[lang="ar"] .solution-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  html[lang="ar"] .solution-card {
    min-height: auto;
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  html[lang="ar"] .solution-card h3 {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    margin: 0 0 12px;
  }

  html[lang="ar"] .solution-card p {
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
  }

  html[lang="ar"] .values-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.3;
    text-align: center;
  }

  html[lang="ar"] .values-text {
    max-width: 100%;
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
    text-align: center;
  }

  html[lang="ar"] .values-orbit-stage,
  html[lang="ar"] .values-core-wrap,
  html[lang="ar"] .values-core {
    min-height: auto;
  }

  html[lang="ar"] .values-core-glow,
  html[lang="ar"] .values-core-ring,
  html[lang="ar"] .values-core-shape {
    display: none !important;
  }

  html[lang="ar"] .values-core {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  html[lang="ar"] .value-orbit-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100%;
    min-height: auto;
    padding: 22px 18px;
    border-radius: 22px;
    transform: none !important;
  }

  html[lang="ar"] .value-orbit-card:nth-child(even) {
    transform: none !important;
  }

  html[lang="ar"] .value-orbit-card:nth-child(odd) {
    transform: none !important;
  }

  html[lang="ar"] .value-orbit-card:hover {
    transform: translateY(-4px) !important;
  }

  html[lang="ar"] .value-orbit-card h3 {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    margin: 0 0 10px;
  }

  html[lang="ar"] .value-orbit-card p {
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
  }

  html[lang="ar"] .services-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  html[lang="ar"] .services-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.3;
    text-align: center;
    text-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  html[lang="ar"] .service-tile {
    min-height: auto;
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  html[lang="ar"] .service-tile h3 {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    margin: 0 0 12px;
  }

  html[lang="ar"] .service-tile p {
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
  }

  html[lang="ar"] .cta {
    padding: 80px 0 70px;
  }

  html[lang="ar"] .cta-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  html[lang="ar"] .cta-copy {
    text-align: center;
  }

  html[lang="ar"] .cta-title {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.3;
    text-align: center;
    text-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  html[lang="ar"] .cta-text {
    max-width: 100%;
    font-size: clamp(14px, 3.5vw, 15px);
    line-height: 2;
    text-align: center;
  }

  html[lang="ar"] .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    border-radius: 22px;
  }

  html[lang="ar"] .form-grid {
    width: 100%;
    gap: 14px;
  }

  html[lang="ar"] .form-field {
    width: 100%;
  }

  html[lang="ar"] .form-field label {
    text-align: right;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
  }

  html[lang="ar"] .form-field input,
  html[lang="ar"] .form-field select,
  html[lang="ar"] .form-field textarea {
    width: 100%;
    border-radius: 16px;
    padding: 14px;
    text-align: right;
  }

  html[lang="ar"] .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  html[lang="ar"] .form-actions .btn {
    width: 100%;
    font-family: "Cairo", "Inter", sans-serif;
  }

  html[lang="ar"] .site-footer {
    padding: 30px 0 36px;
  }

  html[lang="ar"] .footer-inner {
    width: 100%;
    gap: 24px;
    display: flex;
    flex-direction: column;
  }

  html[lang="ar"] .footer-brand-block {
    width: 100%;
    display: block;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    text-align: right;
  }

  html[lang="ar"] .footer-brand img {
    width: 150px;
  }

  html[lang="ar"] .footer-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
    max-width: 100%;
    text-align: right;
  }

  html[lang="ar"] .footer-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  html[lang="ar"] .footer-email {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    flex-direction: row;
  }

  html[lang="ar"] .footer-email span:last-child {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
  }

  html[lang="ar"] .footer-socials {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-direction: row;
  }

  html[lang="ar"] .footer-social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  html[lang="ar"] .footer-social svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  html[lang="ar"] .hero-title {
    font-size: clamp(22px, 6vw, 34px);
  }

  html[lang="ar"] .section-title {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.3;
  }

  html[lang="ar"] .section-text,
  html[lang="ar"] .hero-text {
    font-size: clamp(13px, 3.2vw, 14px);
    line-height: 1.95;
  }

  html[lang="ar"] .values-title,
  html[lang="ar"] .services-title,
  html[lang="ar"] .solution-title {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.3;
  }

  html[lang="ar"] .solution-card h3,
  html[lang="ar"] .service-tile h3,
  html[lang="ar"] .value-orbit-card h3 {
    font-size: clamp(16px, 4.5vw, 22px);
    line-height: 1.3;
  }

  html[lang="ar"] .solution-card p,
  html[lang="ar"] .service-tile p,
  html[lang="ar"] .value-orbit-card p {
    font-size: clamp(13px, 3.2vw, 14px);
    line-height: 1.95;
  }
}
