:root {
  color-scheme: dark;
  --bg: #020813;
  --panel: rgba(6, 18, 40, 0.58);
  --panel-soft: rgba(13, 40, 82, 0.42);
  --gold: #37d9ff;
  --gold-strong: #a7f3ff;
  --white: #f2fbff;
  --muted: #9db7d5;
  --line: rgba(151, 225, 255, 0.24);
  --glass-line: rgba(205, 246, 255, 0.38);
  --glass-fill: rgba(102, 199, 255, 0.08);
  --shadow: 0 24px 90px rgba(0, 10, 30, 0.58);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #edf8ff;
  --panel: rgba(235, 250, 255, 0.72);
  --panel-soft: rgba(217, 241, 255, 0.58);
  --gold: #0879d6;
  --gold-strong: #0359a4;
  --white: #061425;
  --muted: #315372;
  --line: rgba(5, 93, 164, 0.22);
  --glass-line: rgba(7, 98, 168, 0.26);
  --glass-fill: rgba(255, 255, 255, 0.58);
  --shadow: 0 24px 70px rgba(42, 112, 174, 0.18);
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("assets/fonts/thmanyah-sans-black.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Thmanyah Display";
  src: url("assets/fonts/thmanyah-serif-display-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Thmanyah Display";
  src: url("assets/fonts/thmanyah-serif-display-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Thmanyah Display";
  src: url("assets/fonts/thmanyah-serif-display-black.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Thmanyah Sans", "Cairo", "Tajawal", Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(ellipse at 16% 12%, rgba(110, 240, 255, 0.34), transparent 22rem),
    radial-gradient(ellipse at 82% 6%, rgba(24, 97, 255, 0.35), transparent 28rem),
    radial-gradient(ellipse at 55% 42%, rgba(21, 59, 170, 0.34), transparent 30rem),
    linear-gradient(180deg, #020a18 0%, #01040b 48%, #041329 100%);
  line-height: 1.8;
  overflow-x: hidden;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(ellipse at 18% 10%, rgba(57, 200, 255, 0.24), transparent 22rem),
    radial-gradient(ellipse at 84% 4%, rgba(83, 132, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #f7fdff 0%, #eaf7ff 48%, #dfefff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(90, 210, 255, 0.18) 34%, rgba(5, 27, 89, 0.02) 48%, transparent 66%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 46px);
  filter: blur(0.2px);
  opacity: 0.6;
  pointer-events: none;
}

:root[data-theme="light"] body::before {
  background:
    linear-gradient(120deg, transparent 0 24%, rgba(15, 136, 216, 0.12) 34%, rgba(255, 255, 255, 0.06) 48%, transparent 66%),
    repeating-linear-gradient(90deg, rgba(0, 58, 120, 0.05) 0 1px, transparent 1px 46px);
  opacity: 0.45;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.62) 74%);
  pointer-events: none;
}

:root[data-theme="light"] body::after {
  background: radial-gradient(circle at center, transparent 0, rgba(220, 241, 255, 0.56) 78%);
}

html[lang="en"] body {
  font-family: "Thmanyah Sans", "Cairo", Arial, sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  font-family: "Thmanyah Display", "Thmanyah Sans", "Cairo", serif;
}

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

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

main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 1;
}

.portfolio-section {
  order: 2;
}

.case-section {
  order: 3;
}

.ai-section {
  order: 4;
}

.services-section {
  order: 5;
}

.clients-section {
  order: 6;
}

.about-section {
  order: 7;
}

.contact-section {
  order: 8;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  column-gap: 3px;
  row-gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 18, 43, 0.78), rgba(4, 10, 24, 0.52));
  border-bottom: 1px solid var(--glass-line);
  box-shadow: 0 10px 38px rgba(0, 39, 116, 0.2);
  backdrop-filter: blur(22px) saturate(155%);
  transition: background 220ms ease, min-height 220ms ease;
}

:root[data-theme="light"] .site-header {
  background: linear-gradient(180deg, rgba(248, 253, 255, 0.86), rgba(232, 246, 255, 0.66));
  box-shadow: 0 10px 34px rgba(24, 95, 160, 0.13);
}

.site-header.scrolled {
  min-height: 62px;
  background: rgba(3, 12, 30, 0.88);
}

:root[data-theme="light"] .site-header.scrolled {
  background: rgba(248, 253, 255, 0.9);
}

.logo-motion {
  position: relative;
  display: inline-block;
  overflow: hidden;
  isolation: isolate;
}

.logo-motion::after {
  content: "";
  position: absolute;
  inset: -28% -70%;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(122, 230, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.82) 50%,
    rgba(98, 190, 255, 0.24) 55%,
    transparent 62%
  );
  mix-blend-mode: screen;
  transform: translateX(82%) skewX(-16deg);
  animation: logo-light 4.8s ease-in-out infinite;
  pointer-events: none;
}

.logo-motion img {
  position: relative;
  z-index: 1;
}

.brand img {
  width: clamp(154px, 16vw, 228px);
  filter: invert(1);
}

:root[data-theme="light"] .brand img,
:root[data-theme="light"] .site-footer img {
  filter: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.35vw, 22px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--gold-strong);
  text-shadow: 0 0 18px rgba(62, 210, 255, 0.42);
}

.header-cta,
.btn,
.text-link,
.language-toggle {
  font-weight: 800;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.whatsapp-header {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 6px 3px 3px 6px;
  padding: 0;
  color: #eaf8ff;
  background:
    linear-gradient(145deg, rgba(91, 221, 255, 0.34), rgba(0, 78, 255, 0.18)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(163, 234, 255, 0.48);
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.22),
    inset 0 -12px 22px rgba(0, 122, 255, 0.22),
    0 0 22px rgba(0, 170, 255, 0.22);
  backdrop-filter: blur(18px) saturate(160%);
}

.whatsapp-header svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.header-cta,
.btn.primary {
  color: #00111c;
  background: linear-gradient(135deg, #d9fbff, #65dcff 45%, #287bff);
  border-color: rgba(212, 250, 255, 0.62);
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.45),
    0 0 26px rgba(55, 217, 255, 0.26);
}

.btn.secondary {
  color: var(--white);
  background: var(--glass-fill);
  backdrop-filter: blur(18px) saturate(150%);
}

.btn.ghost {
  color: var(--white);
  background: rgba(2, 11, 28, 0.26);
  border-color: rgba(205, 246, 255, 0.28);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 3px 6px 6px 3px;
  background: rgba(103, 202, 255, 0.08);
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(150%);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-inline-start: 0;
  border-inline-end: 0;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(91, 221, 255, 0.22), rgba(0, 78, 255, 0.12)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.18),
    inset 0 -12px 22px rgba(0, 122, 255, 0.16),
    0 0 22px rgba(0, 170, 255, 0.14);
  backdrop-filter: blur(18px) saturate(150%);
  font: 900 0.9rem "Thmanyah Sans", "Cairo", Arial, sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.theme-toggle-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  background: transparent;
  font-size: 1.18rem;
  line-height: 1;
}

:root[data-theme="light"] .theme-toggle-icon {
  color: #07345e;
  background: transparent;
}

.language-toggle {
  min-width: 50px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  font-family: "Thmanyah Sans", "Cairo", Arial, sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.language-toggle[data-language-option="ar"] {
  font-family: "Thmanyah Sans", "Cairo", Arial, sans-serif;
}

.language-toggle:hover {
  color: var(--gold-strong);
  background: rgba(89, 218, 255, 0.13);
}

.language-toggle.active {
  color: #00111c;
  background: linear-gradient(135deg, #d9fbff, #63dcff);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 70px) 86px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 24% 52%, rgba(131, 238, 255, 0.2), transparent 22rem),
    linear-gradient(90deg, rgba(0, 6, 18, 0.94), rgba(2, 25, 72, 0.34) 48%, rgba(0, 6, 18, 0.82)),
    linear-gradient(180deg, rgba(0, 6, 18, 0.42), rgba(0, 6, 18, 0.88)),
    repeating-linear-gradient(90deg, rgba(195, 238, 255, 0.045) 0 1px, transparent 1px 110px);
  pointer-events: none;
  z-index: 1;
}

:root[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse at 24% 52%, rgba(131, 238, 255, 0.2), transparent 22rem),
    linear-gradient(90deg, rgba(246, 253, 255, 0.92), rgba(216, 239, 255, 0.28) 48%, rgba(237, 248, 255, 0.82)),
    linear-gradient(180deg, rgba(245, 252, 255, 0.18), rgba(234, 247, 255, 0.82)),
    repeating-linear-gradient(90deg, rgba(3, 81, 144, 0.045) 0 1px, transparent 1px 110px);
}

.film-strip {
  position: absolute;
  inset: auto 0 32px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  opacity: 0.32;
  transform: skewY(-2deg);
}

.film-strip span {
  height: 72px;
  border: 1px solid rgba(151, 225, 255, 0.32);
  background: rgba(96, 184, 255, 0.06);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-visual {
  width: 100%;
  height: 100%;
  opacity: 0.9;
  background:
    radial-gradient(ellipse at 70% 24%, rgba(110, 231, 255, 0.38), transparent 24rem),
    radial-gradient(ellipse at 18% 70%, rgba(22, 84, 255, 0.34), transparent 26rem),
    linear-gradient(135deg, rgba(0, 7, 24, 0.96), rgba(6, 35, 105, 0.72) 48%, rgba(0, 6, 18, 0.96));
  filter: saturate(1.14) contrast(1.06);
  animation: hero-visual-drift 13s ease-in-out infinite alternate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(1.22) contrast(1.08) brightness(0.86);
  transform: scale(1.02);
}

:root[data-theme="light"] .hero-video {
  opacity: 0.36;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(520px, 78vw);
  margin: 0 auto 28px;
  background: transparent;
}

.hero-logo::after {
  display: none;
}

.hero-logo img {
  width: 100%;
  filter: invert(1);
}

:root[data-theme="light"] .hero-logo img {
  filter: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-strong);
  font-family: "Thmanyah Sans", "Cairo", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin: 0 auto 22px;
  font-size: clamp(2rem, 4.15vw, 4.05rem);
  line-height: 1.1;
  font-weight: 900;
}

.hero-copy {
  width: min(690px, 100%);
  margin: 0 auto 30px;
  color: #c7dbef;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

:root[data-theme="light"] .hero-copy,
:root[data-theme="light"] .ai-panel p {
  color: #254968;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
}

.hero-proof span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(205, 246, 255, 0.24);
  border-radius: 999px;
  color: #d8f6ff;
  background: rgba(2, 15, 38, 0.42);
  box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] .hero-proof span {
  color: #0b2943;
  background: rgba(255, 255, 255, 0.68);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 26px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(55, 217, 255, 0.8);
  transform: translateX(-50%);
  animation: scroll-dot 1.6s infinite;
}

.section {
  padding: clamp(76px, 10vw, 130px) clamp(20px, 5vw, 70px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.15;
  font-weight: 900;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) 1.14fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.portrait-panel {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(114, 225, 255, 0.16), transparent),
    linear-gradient(135deg, rgba(10, 35, 82, 0.72), rgba(1, 7, 20, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(145%);
}

:root[data-theme="light"] .portrait-panel,
:root[data-theme="light"] .contact-panel,
:root[data-theme="light"] .ai-panel {
  background:
    radial-gradient(circle at 22% 10%, rgba(87, 211, 255, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(218, 242, 255, 0.52));
}

.portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.46)),
    linear-gradient(90deg, rgba(94, 214, 255, 0.2), transparent 38%);
  pointer-events: none;
}

.portrait-panel::before {
  content: "";
  position: absolute;
  inset: -26% -72%;
  z-index: 3;
  background: linear-gradient(
    105deg,
    transparent 39%,
    rgba(122, 230, 255, 0.11) 45%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(72, 174, 255, 0.16) 55%,
    transparent 62%
  );
  mix-blend-mode: screen;
  transform: translateX(82%) skewX(-16deg);
  animation: logo-light 5.8s ease-in-out infinite;
  pointer-events: none;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.95;
}

.about-signoff {
  color: var(--gold-strong) !important;
  font-weight: 900;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.stats div,
.service-card,
.work-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(127, 223, 255, 0.12), rgba(24, 76, 180, 0.08)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.07),
    0 18px 46px rgba(0, 10, 36, 0.28);
  backdrop-filter: blur(18px) saturate(150%);
}

:root[data-theme="light"] .stats div,
:root[data-theme="light"] .service-card,
:root[data-theme="light"] .work-card,
:root[data-theme="light"] .case-card,
:root[data-theme="light"] .ai-benefits div,
:root[data-theme="light"] .about-awards a,
:root[data-theme="light"] .about-awards div,
:root[data-theme="light"] .client-logo {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(219, 243, 255, 0.5)),
    rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.72),
    0 16px 40px rgba(28, 105, 174, 0.12);
}

.stats div {
  min-height: 118px;
  padding: 18px;
}

.stats strong {
  display: block;
  color: var(--gold-strong);
  font-family: "Thmanyah Sans", "Cairo", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.stats span,
.work-info span {
  color: var(--muted);
  font-size: 0.92rem;
}

.about-awards {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
}

.about-awards a,
.about-awards div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(120, 226, 255, 0.13), rgba(28, 95, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 16px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.about-awards a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(90, 214, 255, 0.13);
}

.about-awards strong {
  font-size: 1.65rem;
  line-height: 1;
}

.about-awards span {
  color: var(--white);
  font-weight: 800;
}

.text-link {
  color: var(--gold-strong);
  border-bottom: 1px solid currentColor;
}

.service-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  background:
    linear-gradient(145deg, rgba(140, 236, 255, 0.16), rgba(38, 110, 255, 0.12)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 22px rgba(255, 255, 255, 0.1),
    0 22px 56px rgba(0, 74, 190, 0.24);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  color: var(--gold-strong);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.42), transparent 22%),
    linear-gradient(145deg, rgba(97, 225, 255, 0.18), rgba(13, 79, 255, 0.1));
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.14),
    0 0 22px rgba(55, 217, 255, 0.16);
  font-family: "Thmanyah Sans", "Cairo", Arial, sans-serif;
  font-weight: 900;
}

.service-card h3,
.work-info h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
  line-height: 1.3;
}

.service-card p {
  color: var(--muted);
}

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.portfolio-tabs button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--white);
  background: rgba(86, 177, 255, 0.055);
  backdrop-filter: blur(14px) saturate(145%);
  font: 800 0.95rem "Thmanyah Sans", "Cairo", Arial, sans-serif;
  cursor: pointer;
}

html[lang="en"] .portfolio-tabs button {
  font-family: "Thmanyah Sans", "Cairo", Arial, sans-serif;
}

.portfolio-tabs button.active {
  color: #00111c;
  background: linear-gradient(135deg, #d9fbff, #68dfff 48%, #287bff);
  border-color: rgba(218, 250, 255, 0.7);
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  overflow: hidden;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
}

.thumb-one {
  background: linear-gradient(135deg, #030a18, #1a5cff 48%, #8ff0ff);
}

.thumb-two {
  background: linear-gradient(135deg, #000511, #12306f 48%, #51dfff);
}

.thumb-three {
  background: linear-gradient(135deg, #b7fbff, #061235 48%, #1656e8);
}

.play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  border-block: 11px solid transparent;
  border-inline-start: 17px solid var(--white);
  transform: translate(-50%, -50%);
}

.work-info {
  padding: 18px;
}

.mini-cta {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-strong);
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card,
.ai-panel,
.ai-benefits div {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(127, 223, 255, 0.1), rgba(24, 76, 180, 0.08)),
    rgba(4, 14, 34, 0.56);
  box-shadow:
    inset 0 1px 16px rgba(255, 255, 255, 0.06),
    0 18px 46px rgba(0, 10, 36, 0.22);
  backdrop-filter: blur(12px) saturate(130%);
}

:root[data-theme="light"] .case-card.featured {
  background:
    radial-gradient(circle at 32% 8%, rgba(49, 186, 255, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(219, 243, 255, 0.56));
}

.case-card {
  min-height: 360px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.case-card.featured {
  background:
    radial-gradient(circle at 32% 8%, rgba(130, 237, 255, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(127, 223, 255, 0.14), rgba(24, 76, 180, 0.1)),
    rgba(4, 14, 34, 0.62);
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.case-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #00111c;
  background: linear-gradient(135deg, #d9fbff, #68dfff 48%, #287bff);
  font-weight: 900;
  font-size: 0.78rem;
}

.case-card h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.case-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.case-card strong {
  color: var(--white);
}

.ai-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 16% 8%, rgba(168, 247, 255, 0.24), transparent 24rem),
    linear-gradient(135deg, rgba(83, 203, 255, 0.16), rgba(20, 78, 210, 0.09)),
    rgba(4, 14, 34, 0.7);
}

.ai-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.15;
}

.ai-panel p {
  color: #c7dbef;
  max-width: 620px;
}

.ai-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ai-benefits div {
  min-height: 130px;
  padding: 18px;
}

.ai-benefits strong {
  display: block;
  color: var(--gold-strong);
  font-size: 1.5rem;
  line-height: 1.1;
}

.ai-benefits span {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-weight: 800;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.client-logo {
  aspect-ratio: 1.22 / 1;
  min-height: 132px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(145deg, rgba(102, 217, 255, 0.11), rgba(26, 86, 225, 0.07)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.1),
    inset 0 -18px 30px rgba(0, 94, 255, 0.08),
    0 16px 42px rgba(0, 10, 36, 0.22);
  backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden;
  padding: 20px;
  animation: client-float 6.2s ease-in-out infinite;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.client-logo::before {
  content: "";
  position: absolute;
  inset: 10px 12px auto;
  height: 34%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  opacity: 0.65;
  pointer-events: none;
}

.client-logo::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -42%;
  width: 32%;
  background: rgba(255, 255, 255, 0.26);
  filter: blur(16px);
  transform: rotate(18deg);
  animation: client-sheen 5.6s ease-in-out infinite;
  pointer-events: none;
}

.client-logo:nth-child(3n + 2) {
  animation-delay: 0.7s;
}

.client-logo:nth-child(3n) {
  animation-delay: 1.4s;
}

.client-logo:nth-child(4n)::after {
  animation-delay: 1s;
}

.client-logo:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(205, 246, 255, 0.68);
  box-shadow:
    inset 0 1px 22px rgba(255, 255, 255, 0.14),
    inset 0 -20px 32px rgba(0, 122, 255, 0.12),
    0 20px 52px rgba(0, 73, 190, 0.22),
    0 0 30px rgba(55, 217, 255, 0.12);
}

.client-logo img {
  width: 100%;
  max-width: 104px;
  max-height: 66px;
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter:
    saturate(1.08)
    contrast(1.05)
    drop-shadow(0 10px 18px rgba(0, 12, 38, 0.22))
    drop-shadow(0 0 14px rgba(137, 230, 255, 0.14));
}

.client-logo.wide img {
  max-width: 118px;
  max-height: 54px;
}

.client-logo.compact-logo img {
  max-width: 92px;
  max-height: 68px;
}

.client-logo.tall img {
  max-width: 82px;
  max-height: 86px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 10%, rgba(168, 247, 255, 0.24), transparent 24rem),
    linear-gradient(135deg, rgba(83, 203, 255, 0.16), rgba(20, 78, 210, 0.09)),
    rgba(4, 14, 34, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(150%);
}

.contact-panel p {
  max-width: 620px;
  color: var(--muted);
}

.contact-main-cta {
  margin-top: 14px;
}

.contact-actions {
  justify-content: flex-start;
  min-width: min(330px, 100%);
}

.contact-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(163, 234, 255, 0.46);
  border-radius: 18px;
  color: #f2fbff;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.72), transparent 16%),
    linear-gradient(145deg, rgba(99, 228, 255, 0.34), rgba(0, 82, 255, 0.16) 55%, rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.26),
    inset 0 -16px 26px rgba(0, 107, 255, 0.25),
    0 12px 34px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(0, 178, 255, 0.25);
  backdrop-filter: blur(20px) saturate(170%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.contact-icon::before {
  content: "";
  position: absolute;
  inset: 7px 8px auto;
  height: 36%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  opacity: 0.78;
  pointer-events: none;
}

.contact-icon::after {
  content: "";
  position: absolute;
  inset: -40% 58% -40% auto;
  width: 34%;
  background: rgba(255, 255, 255, 0.38);
  filter: blur(14px);
  transform: rotate(18deg);
  pointer-events: none;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  fill: currentColor;
  filter: drop-shadow(0 0 10px rgba(122, 220, 255, 0.72));
}

.contact-icon:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(236, 251, 255, 0.78);
  color: #ffffff;
  box-shadow:
    inset 0 1px 22px rgba(255, 255, 255, 0.34),
    inset 0 -18px 30px rgba(0, 122, 255, 0.32),
    0 16px 42px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(0, 193, 255, 0.42);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer img {
  width: 190px;
  filter: invert(1);
}

.digital-assistant {
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 30;
}

.assistant-toggle {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(163, 234, 255, 0.5);
  border-radius: 50%;
  padding: 5px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.72), transparent 18%),
    linear-gradient(145deg, rgba(99, 228, 255, 0.34), rgba(0, 82, 255, 0.16)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.28),
    inset 0 -16px 26px rgba(0, 107, 255, 0.25),
    0 16px 44px rgba(0, 75, 190, 0.38),
    0 0 28px rgba(0, 178, 255, 0.24);
  backdrop-filter: blur(18px) saturate(160%);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.assistant-toggle::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 1px solid rgba(116, 226, 255, 0.48);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(55, 217, 255, 0.34);
  animation: assistant-pulse 2.2s ease-out infinite;
}

.assistant-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(4, 14, 34, 0.92);
  border-radius: 50%;
  background: #58f2ff;
  box-shadow: 0 0 16px rgba(88, 242, 255, 0.95);
  animation: assistant-alert 1.4s ease-in-out infinite;
}

.digital-assistant.is-open .assistant-toggle::before,
.digital-assistant.is-open .assistant-toggle::after {
  animation: none;
  opacity: 0;
}

.assistant-toggle:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(236, 251, 255, 0.78);
}

.assistant-toggle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow:
    0 0 0 1px rgba(236, 251, 255, 0.58),
    0 8px 22px rgba(0, 15, 42, 0.26);
}

.assistant-panel {
  width: min(350px, calc(100vw - 28px));
  max-height: calc(100vh - 112px);
  position: absolute;
  right: 0;
  bottom: 82px;
  padding: 14px;
  overflow: auto;
  border: 1px solid rgba(163, 234, 255, 0.46);
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 22% 10%, rgba(168, 247, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(83, 203, 255, 0.14), rgba(20, 78, 210, 0.08)),
    rgba(4, 14, 34, 0.88);
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.1),
    0 18px 54px rgba(0, 10, 36, 0.36);
  backdrop-filter: blur(22px) saturate(155%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.digital-assistant.is-open .assistant-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.assistant-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.assistant-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid rgba(205, 246, 255, 0.38);
}

.assistant-head strong,
.assistant-head span {
  display: block;
  line-height: 1.25;
}

.assistant-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.assistant-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 1.2rem;
}

.assistant-message {
  margin-bottom: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.08);
}

.assistant-message p {
  margin: 0;
  color: #d8f6ff;
  line-height: 1.55;
}

.assistant-options {
  display: grid;
  gap: 8px;
}

.assistant-options a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(205, 246, 255, 0.22);
  border-radius: 10px;
  color: #00111c;
  background: linear-gradient(135deg, #d9fbff, #65dcff 45%, #287bff);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.assistant-options a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 113, 210, 0.22);
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
  align-items: end;
  margin-top: 10px;
}

.assistant-form textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(205, 246, 255, 0.2);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.06);
  font: inherit;
  line-height: 1.55;
  outline: none;
}

.assistant-form textarea:focus {
  border-color: rgba(145, 236, 255, 0.7);
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(55, 217, 255, 0.12);
}

.assistant-form textarea::placeholder {
  color: rgba(216, 246, 255, 0.64);
}

.assistant-form button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 246, 255, 0.28);
  border-radius: 50%;
  color: #00111c;
  background: linear-gradient(135deg, #ffffff, #7ee8ff 44%, #1f78ff);
  box-shadow:
    inset 0 1px 10px rgba(255, 255, 255, 0.42),
    0 8px 18px rgba(0, 113, 210, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.assistant-form button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

[dir="rtl"] .assistant-form button svg {
  transform: scaleX(-1);
}

.assistant-form button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 10px rgba(255, 255, 255, 0.48),
    0 12px 24px rgba(0, 113, 210, 0.24);
}

:root[data-theme="light"] .assistant-toggle,
:root[data-theme="light"] .assistant-panel {
  box-shadow:
    inset 0 1px 14px rgba(255, 255, 255, 0.62),
    0 16px 38px rgba(34, 116, 187, 0.24);
}

:root[data-theme="light"] .assistant-panel {
  background:
    radial-gradient(circle at 22% 10%, rgba(87, 211, 255, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(218, 242, 255, 0.76));
}

:root[data-theme="light"] .assistant-message {
  background: rgba(255, 255, 255, 0.7);
}

:root[data-theme="light"] .assistant-message p {
  color: #0b2943;
}

:root[data-theme="light"] .assistant-form textarea {
  color: #0b2943;
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .assistant-form textarea::placeholder {
  color: rgba(11, 41, 67, 0.58);
}

.glass-cursor {
  display: none;
}

@media (pointer: fine) {
  .has-glass-cursor,
  .has-glass-cursor a,
  .has-glass-cursor button {
    cursor: none;
  }

  .glass-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: block;
    width: 48px;
    height: 48px;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-120px, -120px, 0);
    transition: opacity 160ms ease, filter 180ms ease;
    filter:
      drop-shadow(0 0 10px rgba(118, 229, 255, 0.84))
      drop-shadow(0 16px 24px rgba(0, 40, 120, 0.44));
    mix-blend-mode: screen;
  }

  .glass-cursor.active {
    opacity: 1;
  }

  .glass-cursor.cursor-hover {
    filter:
      drop-shadow(0 0 16px rgba(181, 248, 255, 0.94))
      drop-shadow(0 18px 30px rgba(0, 72, 190, 0.56));
  }

  .glass-cursor svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .cursor-fill {
    fill: url("#cursorGlass");
    stroke: rgba(238, 253, 255, 0.92);
    stroke-width: 2.2;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.65));
  }

  .cursor-shine {
    fill: rgba(255, 255, 255, 0.28);
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 0.2;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }
}

@keyframes logo-light {
  0%,
  44% {
    opacity: 0;
    transform: translateX(82%) skewX(-16deg);
  }
  50% {
    opacity: 1;
  }
  68%,
  100% {
    opacity: 0;
    transform: translateX(-82%) skewX(-16deg);
  }
}

@keyframes hero-visual-drift {
  from {
    transform: scale(1);
    filter: saturate(1.04) contrast(1.02);
  }

  to {
    transform: scale(1.06);
    filter: saturate(1.24) contrast(1.08);
  }
}

@keyframes client-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes client-sheen {
  0%,
  45% {
    opacity: 0;
    transform: translateX(0) rotate(18deg);
  }
  56% {
    opacity: 0.9;
  }
  72%,
  100% {
    opacity: 0;
    transform: translateX(560%) rotate(18deg);
  }
}

@keyframes assistant-pulse {
  0% {
    opacity: 0.78;
    transform: scale(0.92);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@keyframes assistant-alert {
  0%,
  100% {
    transform: scale(0.82);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-motion::after,
  .hero-visual,
  .portrait-panel::before,
  .client-logo,
  .client-logo::after,
  .assistant-toggle::before,
  .assistant-toggle::after,
  .scroll-cue::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(110px, 1fr) auto auto auto auto;
    column-gap: 4px;
    row-gap: 8px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .site-header.menu-open .nav-links {
    display: flex;
    order: 1;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }

  .about-grid,
  .contact-panel,
  .ai-panel {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 760px) {
  .site-header,
  .whatsapp-header,
  .theme-toggle,
  .language-switcher,
  .service-card,
  .work-card,
  .client-logo,
  .assistant-toggle {
    backdrop-filter: none;
  }

  .logo-motion::after,
  .hero-visual,
  .portrait-panel::before {
    animation: none;
  }

  .hero-video {
    filter: none;
  }

  body {
    line-height: 1.72;
  }

  .site-header {
    min-height: 58px;
    padding: 7px 10px;
  }

  .site-header.scrolled {
    min-height: 54px;
  }

  .brand img {
    width: clamp(104px, 28vw, 132px);
  }

  .whatsapp-header,
  .theme-toggle,
  .menu-toggle {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .whatsapp-header svg {
    width: 18px;
    height: 18px;
  }

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

  .language-switcher {
    height: 34px;
    padding: 2px;
  }

  .language-toggle {
    min-width: 31px;
    height: 28px;
    font-size: 0;
  }

  .language-toggle::after {
    content: attr(data-language-option);
    font-size: 0.72rem;
    text-transform: uppercase;
  }

  .menu-toggle span {
    width: 17px;
    margin: 5px auto;
  }

  .site-header.menu-open .nav-links {
    gap: 8px;
    padding: 12px 0 4px;
  }

  .site-header.menu-open .nav-links a {
    padding: 9px 12px;
    border: 1px solid rgba(151, 225, 255, 0.16);
    border-radius: 8px;
    background: rgba(103, 202, 255, 0.07);
  }

  .hero {
    min-height: 78svh;
    place-items: end center;
    padding: 76px 14px 36px;
  }

  .film-strip {
    inset: auto 0 18px;
    gap: 6px;
    opacity: 0.22;
  }

  .film-strip span {
    height: 42px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-logo {
    width: min(230px, 70vw);
    margin-bottom: 12px;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  h1 {
    max-width: 100%;
    margin: 0 auto 14px;
    font-size: clamp(1.28rem, 6.1vw, 1.78rem);
    line-height: 1.22;
    text-wrap: balance;
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-actions,
  .contact-actions {
    gap: 9px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(330px, 100%);
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: auto;
    min-height: 40px;
    padding: 8px 8px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .contact-actions {
    justify-content: center;
    min-width: 0;
  }

  .section {
    padding: 44px 14px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .contact-panel h2,
  .ai-panel h2 {
    font-size: clamp(1.45rem, 7.2vw, 2.25rem);
    line-height: 1.18;
  }

  .stats,
  .service-grid,
  .portfolio-grid,
  .case-grid,
  .ai-benefits {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(330px, 100%);
    margin-bottom: 16px;
  }

  .hero-proof span {
    justify-content: center;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
  }

  .about-grid {
    gap: 22px;
  }

  .portrait-panel {
    min-height: 310px;
  }

  .portrait-panel img {
    min-height: 310px;
    object-position: center top;
  }

  .about-copy p {
    font-size: 0.94rem;
    line-height: 1.78;
  }

  .stats div,
  .service-card,
  .case-card,
  .ai-benefits div {
    min-height: auto;
    padding: 14px;
  }

  .stats strong {
    font-size: 1rem;
  }

  .stats span {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .service-card h3,
  .work-info h3,
  .case-card h3 {
    font-size: 1.22rem;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .portfolio-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .portfolio-tabs button {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.86rem;
  }

  .work-info {
    padding: 15px;
  }

  .play {
    width: 52px;
    height: 52px;
  }

  .ai-panel,
  .contact-panel {
    gap: 20px;
    padding: 22px;
  }

  .ai-benefits div {
    min-height: 96px;
  }

  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .clients-section .section-heading {
    margin-bottom: 16px;
  }

  .clients-section .section-heading h2 {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
    line-height: 1.25;
  }

  .client-logo {
    aspect-ratio: 1.05 / 1;
    min-height: 74px;
    padding: 8px;
    border-radius: 10px;
    animation: none;
    box-shadow:
      inset 0 1px 12px rgba(255, 255, 255, 0.08),
      inset 0 -10px 18px rgba(0, 94, 255, 0.06),
      0 10px 24px rgba(0, 10, 36, 0.16);
  }

  .client-logo::before {
    inset: 7px 8px auto;
    height: 26%;
    opacity: 0.45;
  }

  .client-logo::after {
    display: none;
  }

  .client-logo img {
    max-width: 64px;
    max-height: 38px;
    filter:
      saturate(1.06)
      contrast(1.04)
      drop-shadow(0 6px 10px rgba(0, 12, 38, 0.18));
  }

  .client-logo.wide img {
    max-width: 70px;
    max-height: 32px;
  }

  .client-logo.compact-logo img {
    max-width: 58px;
    max-height: 40px;
  }

  .client-logo.tall img {
    max-width: 44px;
    max-height: 50px;
  }

  .contact-panel {
    text-align: center;
  }

  .contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .contact-icon svg {
    width: 25px;
    height: 25px;
  }

  .digital-assistant {
    inset: auto 14px 14px auto;
  }

  .assistant-toggle {
    width: 54px;
    height: 54px;
  }

  .assistant-panel {
    bottom: 70px;
    width: min(336px, calc(100vw - 28px));
    max-height: calc(100svh - 104px);
    padding: 12px;
  }

  .assistant-head {
    grid-template-columns: 42px 1fr auto;
    gap: 8px;
  }

  .assistant-head img {
    width: 42px;
    height: 42px;
  }

  .assistant-message {
    padding: 11px 12px;
  }

  .assistant-options a {
    min-height: 40px;
    font-size: 0.92rem;
  }

  .assistant-form {
    grid-template-columns: 1fr 38px;
  }

  .assistant-form textarea {
    min-height: 68px;
    padding: 10px;
    font-size: 0.92rem;
  }

  .assistant-form button {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: minmax(84px, 1fr) auto auto auto auto;
    column-gap: 2px;
    padding-inline: 8px;
  }

  .brand img {
    width: clamp(90px, 26vw, 108px);
  }

  .whatsapp-header,
  .theme-toggle,
  .menu-toggle {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .language-switcher {
    height: 32px;
  }

  .language-toggle {
    min-width: 28px;
    height: 26px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.16rem, 5.85vw, 1.55rem);
  }

  .section {
    padding-inline: 14px;
  }

  .hero {
    min-height: 76svh;
    padding-top: 72px;
  }

  .hero-proof span {
    font-size: 0.68rem;
  }

  .portrait-panel,
  .portrait-panel img {
    min-height: 280px;
  }

  .client-logo {
    min-height: 66px;
    padding: 7px;
  }

  .client-logo img {
    max-width: 56px;
    max-height: 34px;
  }

  .client-logo.wide img {
    max-width: 62px;
    max-height: 28px;
  }

  .client-logo.compact-logo img {
    max-width: 52px;
    max-height: 36px;
  }

  .client-logo.tall img {
    max-width: 40px;
    max-height: 46px;
  }
}
