/* =========================================================
   Esmaeil M. Hegazy — Portfolio
   Dark (default) / Light · RTL (default) / LTR
   ========================================================= */

@font-face {
  /* Only Light is shipped. A missing Bold file makes weight 600+ leave this family. */
  font-family: "GE SS Two";
  src: local("GE SS Two Light"), url("../../fonts/GE-SS-Two-Light.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: #101319;
  --surface-2: #161a22;
  --surface-3: #1d222c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f2ed;
  --text-2: #c9ccd3;
  --muted: #8b92a0;
  --accent: #ff5b1f;
  --accent-2: #ffb020;
  --accent-soft: rgba(255, 91, 31, 0.12);
  --grad: linear-gradient(115deg, #ff5b1f 0%, #ff8a1f 45%, #ffb020 100%);
  --glow: rgba(255, 91, 31, 0.38);
  --grid: rgba(255, 255, 255, 0.035);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -25px rgba(0, 0, 0, 0.9);
  --overlay: linear-gradient(180deg, rgba(7, 8, 11, 0) 35%, rgba(7, 8, 11, 0.92) 100%);
  --kid-1: #2ec4b6;
  --kid-2: #ff6fae;
  --kid-3: #ffc93c;
  --kid-4: #6c8cff;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f2eb;
  --bg-2: #efe8dd;
  --surface: #ffffff;
  --surface-2: #faf7f2;
  --surface-3: #f1ece4;
  --line: rgba(16, 18, 24, 0.08);
  --line-2: rgba(16, 18, 24, 0.16);
  --text: #111319;
  --text-2: #353a45;
  --muted: #6a707d;
  --accent: #f04e12;
  --accent-2: #e89b06;
  --accent-soft: rgba(240, 78, 18, 0.09);
  --glow: rgba(240, 78, 18, 0.25);
  --grid: rgba(16, 18, 24, 0.045);
  --shadow: 0 30px 70px -35px rgba(60, 40, 20, 0.35);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 40px -26px rgba(60, 40, 20, 0.35);
  --overlay: linear-gradient(180deg, rgba(10, 10, 12, 0) 35%, rgba(10, 10, 12, 0.88) 100%);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[lang="ar"] { --font: "GE SS Two", "Century Gothic", CenturyGothic, AppleGothic, "Questrial", system-ui, sans-serif; }
html[lang="en"] { --font: "Century Gothic", CenturyGothic, AppleGothic, "Questrial", "GE SS Two", system-ui, sans-serif; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}
html[lang="en"] body { line-height: 1.65; }

img, video { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Background layers ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(120px); opacity: 0.55; }
.bg-glow.g1 { width: 520px; height: 520px; background: var(--accent); top: -180px; inset-inline-end: -120px; opacity: 0.22; }
.bg-glow.g2 { width: 460px; height: 460px; background: #6b3bff; bottom: 10%; inset-inline-start: -200px; opacity: 0.1; }
:root[data-theme="light"] .bg-glow.g1 { opacity: 0.16; }
:root[data-theme="light"] .bg-glow.g2 { opacity: 0.06; }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  opacity: 0.18; transition: opacity 0.3s; will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }

.progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0; background: var(--grad); z-index: 200; }

/* ---------- Typography helpers ---------- */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 0.95rem; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 1px; background: var(--grad); }
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.2; margin: 14px 0 16px; font-weight: 700; letter-spacing: -0.01em;
}
html[lang="ar"] .h2 { line-height: 1.35; letter-spacing: 0; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s;
  isolation: isolate;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 36px -12px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px var(--glow); }
.btn-ghost { border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-wa { background: #1da851; color: #fff; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(37, 211, 102, 0.6); }

/* ---------- Announcement bar ---------- */
.announce {
  position: relative; z-index: 60; background: var(--grad); color: #fff; font-size: 0.88rem; text-align: center;
  padding: 9px 16px; line-height: 1.5;
}
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 8px; white-space: nowrap; }
.announce .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-inline-end: 8px; animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1.15rem; box-shadow: 0 10px 30px -10px var(--glow); overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text small { color: var(--muted); font-weight: 400; font-size: 0.74rem; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: 0.95rem; transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); transition: border-color 0.2s, transform 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.lang-switch { display: flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.lang-switch a { min-width: 36px; height: 34px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; color: var(--muted); font-family: "Century Gothic", "Questrial", "GE SS Two", sans-serif; }
.lang-switch a.on { background: var(--text); color: var(--bg); }
.menu-toggle { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 100px 28px 40px; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a.m-link { font-size: 1.6rem; padding: 10px 0; border-bottom: 1px solid var(--line); transform: translateY(14px); opacity: 0; transition: transform 0.4s, opacity 0.4s; }
.mobile-menu.open a.m-link { transform: none; opacity: 1; }
.mobile-menu .close-menu { position: absolute; top: 22px; inset-inline-end: 20px; }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.8; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 0.9rem; color: var(--text-2);
  font-family: "Century Gothic", "Questrial", var(--font);
}
html[dir="rtl"] .badge { padding: 7px 8px 7px 16px; }
.badge .live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.78rem; font-weight: 700; }
.badge .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-o 1.6s infinite; }
@keyframes pulse-o { 0%,100% { box-shadow: 0 0 0 0 var(--glow); } 50% { box-shadow: 0 0 0 6px transparent; } }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1.08; margin: 22px 0 18px; font-weight: 700; letter-spacing: -0.02em;
}
html[lang="ar"] .hero h1 { line-height: 1.28; letter-spacing: 0; font-size: clamp(2.5rem, 5.8vw, 4.8rem); }
.hero h1 .line { display: block; }
html[lang="en"] .hero h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
.hero h1 .thin { color: var(--text-2); font-weight: 400; }
.rotator { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); margin-bottom: 18px; }
.rotator .word {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; min-height: 38px;
}
.rotator .caret { width: 2px; height: 1.1em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero p.sub { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.13rem); max-width: 600px; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 56px); max-width: 640px; }
.stat { padding: 16px 14px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(8px); }
.stat b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; font-family: "Century Gothic", "Questrial", sans-serif; direction: ltr; text-align: start; }
html[dir="rtl"] .stat b { text-align: end; }
html .stat b.has-unit { direction: rtl; unicode-bidi: isolate; text-align: start; }
html[dir="rtl"] .stat b.has-unit { text-align: start; }
.stat-unit { margin-inline-start: .3em; font-family: var(--font); font-size: .55em; font-weight: 700; }
.stat span { color: var(--muted); font-size: 0.85rem; }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; width: 100%; margin-inline: auto; }
.orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.orbit.o2 { inset: -2%; border-style: solid; border-color: var(--line); animation-duration: 70s; animation-direction: reverse; }
.orbit .planet { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 18px var(--glow); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-portrait {
  position: absolute; inset: 16% 18% 12%; border-radius: 48% 48% 36px 36px / 40% 40% 36px 36px; overflow: hidden;
  background: var(--surface-2); box-shadow: 0 40px 100px -30px var(--glow), var(--shadow);
  border: 1px solid var(--line-2);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,8,11,.75)); }
.hero-portrait .name-tag { position: absolute; bottom: 16px; inset-inline: 16px; z-index: 2; color: #fff; text-align: center; }
.hero-portrait .name-tag b { display: block; font-size: 1.05rem; }
.hero-portrait .name-tag span { font-size: 0.78rem; opacity: 0.8; font-family: "Century Gothic", "Questrial", sans-serif; }
.float-card {
  position: absolute; z-index: 3; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2);
  background: var(--surface); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.float-card video, .float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-card.v1 { width: 30%; aspect-ratio: 9 / 16; top: 4%; inset-inline-start: -2%; transform: rotate(-6deg); }
.float-card.v2 { width: 27%; aspect-ratio: 9 / 16; bottom: 2%; inset-inline-end: -3%; animation-delay: -3s; }
html[dir="rtl"] .float-card.v1 { transform: rotate(6deg); }
.float-card .tag { position: absolute; bottom: 8px; inset-inline-start: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 0.7rem; backdrop-filter: blur(6px); }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.chip-float {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(10px); animation: float 7s ease-in-out infinite;
  font-family: "Century Gothic", "Questrial", var(--font); white-space: nowrap;
}
.chip-float .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 0.7rem; font-weight: 800; }
.chip-float.c1 { top: 10%; inset-inline-end: 2%; animation-delay: -1s; }
.chip-float.c2 { top: 48%; inset-inline-start: -6%; animation-delay: -2.5s; }
.chip-float.c3 { bottom: 9%; inset-inline-start: 14%; animation-delay: -4s; }
.chip-float.c4 { top: 34%; inset-inline-end: -5%; animation-delay: -5s; }
.scroll-hint { display: flex; justify-content: center; margin-top: 40px; }
.scroll-hint span { width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-hint span::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.marquee.tilt { transform: rotate(-1.5deg); margin: 0 -20px; background: var(--grad); border: 0; color: #fff; }
html[dir="rtl"] .marquee.tilt { transform: rotate(1.5deg); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 600; white-space: nowrap; }
.marquee-item::after { content: "✦"; font-size: 0.9em; opacity: 0.85; }
.mq-label { display: inline-flex; align-items: center; gap: 12px; }
.mq-ic { flex: none; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 4px 12px -4px rgba(120,40,0,.45); }
.mq-ic svg { width: 58%; height: 58%; stroke-width: 2; }
.marquee.outline .marquee-item { font-size: clamp(1.8rem, 4vw, 3.2rem); color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color .3s; }
.marquee.outline .marquee-item:hover { color: var(--text); -webkit-text-stroke-color: transparent; }
.marquee.outline .marquee-item::after { color: var(--accent); -webkit-text-stroke: 0; }
.marquee.clients { background: transparent; border: 0; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee.clients .marquee-track { animation-duration: 45s; }
.client-chip { display: inline-flex; align-items: center; gap: 12px; margin-inline-end: 16px; padding: 7px; padding-inline-end: 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); white-space: nowrap; transition: border-color .25s, background .25s; }
.client-chip:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--surface-2); }
.client-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.client-av svg { width: 21px; height: 21px; }
.client-av img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.client-name { font-size: clamp(.95rem, 1.3vw, 1.08rem); font-weight: 600; color: var(--text-2); }
.client-chip:hover .client-name { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Showreel ---------- */
.reel-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.reel {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #000;
  border: 1px solid var(--line-2); box-shadow: 0 50px 120px -40px var(--glow), var(--shadow); cursor: pointer;
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .play-big {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 0 0 14px rgba(255, 91, 31, 0.18), 0 20px 60px -10px var(--glow);
  transition: transform 0.3s, opacity 0.3s;
}
.reel .play-big svg { width: 34px; height: 34px; margin-inline-start: 4px; }
html[dir="rtl"] .reel .play-big svg { margin-inline-start: 0; margin-inline-end: 4px; }
.reel:hover .play-big { transform: scale(1.08); }
.reel.playing .play-big, .reel.playing .reel-hint { opacity: 0; pointer-events: none; }
.reel-hint { position: absolute; bottom: 18px; inset-inline-start: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 0.82rem; backdrop-filter: blur(8px); transition: opacity .3s; }
.reel-corner { position: absolute; top: 16px; inset-inline-end: 16px; display: flex; gap: 6px; }
.reel-corner i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); }
.reel-corner i:first-child { background: #ff3b30; animation: pulse 1.4s infinite; }

/* ---------- Works ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 0.93rem; transition: all 0.25s;
}
.filter-btn small { padding: 1px 8px; border-radius: 999px; background: var(--surface-3); font-size: 0.75rem; color: var(--muted); font-family: "Century Gothic", "Questrial", sans-serif; }
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-btn.active small { background: var(--accent); color: #fff; }
.works-grid { columns: 3 300px; column-gap: 20px; }
.work-card {
  position: relative; break-inside: avoid; margin-bottom: 20px; border-radius: 22px; overflow: hidden; display: block; width: 100%;
  background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--card-shadow); cursor: pointer; text-align: start;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s, border-color 0.3s, opacity 0.4s;
}
.work-card.hide { display: none; }
.work-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 30px 60px -30px var(--glow); }
.work-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.work-card[data-aspect="portrait"] .work-media { aspect-ratio: 9 / 14; }
.work-card[data-aspect="square"] .work-media { aspect-ratio: 1 / 1; }
.work-media img, .work-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.8,.2,1), opacity 0.4s; }
.work-media video { opacity: 0; }
.work-card.previewing .work-media video { opacity: 1; }
.work-card:hover .work-media img { transform: scale(1.06); }
.work-media::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.work-type {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 0.75rem; backdrop-filter: blur(8px);
}
.work-type svg { width: 14px; height: 14px; }
.work-play {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25); transition: background-color .3s, transform .3s;
}
.work-play svg { width: 18px; height: 18px; }
.work-card:hover .work-play { background: var(--accent); transform: scale(1.08); border-color: transparent; }
.work-info { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 20px; color: #fff; }
.work-info .cat { display: inline-block; font-size: 0.74rem; color: #ffd27a; background: rgba(0,0,0,.5); padding: 2px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.work-info h3, .work-info .client { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.work-info h3 { margin: 4px 0 2px; font-size: 1.12rem; line-height: 1.4; font-weight: 700; }
.work-info .client { font-size: 0.84rem; opacity: 0.75; }
.work-similar {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: 0.8rem; color: #fff;
  backdrop-filter: blur(8px); transform: translateY(8px); opacity: 0; transition: all .35s;
}
.work-similar svg { width: 14px; height: 14px; }
.work-card:hover .work-similar, .work-card:focus-within .work-similar { opacity: 1; transform: none; }
.work-similar:hover { background: var(--accent); border-color: transparent; }
@media (hover: none) { .work-similar { opacity: 1; transform: none; } }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 22px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: none; }
.lightbox.open { display: block; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 6, 0.86); backdrop-filter: blur(14px); animation: fade .3s; }
.lb-dialog {
  position: relative; z-index: 1; width: min(1180px, 100% - 32px); max-height: calc(100vh - 48px); margin: 24px auto;
  display: grid; grid-template-columns: 1.35fr 0.65fr; border-radius: 26px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: pop .4s cubic-bezier(.2,.8,.2,1);
}
.lb-dialog.portrait { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); width: min(980px, 100% - 32px); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.lb-media { position: relative; background: #000; display: grid; place-items: center; min-height: 320px; max-height: calc(100vh - 48px); }
.lb-media video, .lb-media img { width: 100%; height: 100%; max-height: calc(100vh - 48px); object-fit: contain; }
.lb-media iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.lb-media audio { width: 90%; }
.lb-gallery { display: flex; gap: 8px; position: absolute; bottom: 12px; inset-inline: 12px; overflow-x: auto; }
.lb-gallery img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; flex: none; }
.lb-gallery img.on { border-color: var(--accent); }
.lb-info { padding: 34px 30px; overflow-y: auto; max-height: calc(100vh - 48px); display: flex; flex-direction: column; gap: 14px; }
.lb-info .cat { color: var(--accent); font-size: 0.88rem; }
.lb-info h3 { margin: 0; font-size: 1.6rem; line-height: 1.35; }
.lb-info p { margin: 0; color: var(--text-2); }
.meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0; }
.meta-list div { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.meta-list small { display: block; color: var(--muted); font-size: 0.75rem; }
.meta-list b { font-size: 0.92rem; font-weight: 600; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-chips span { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; font-family: "Century Gothic", "Questrial", var(--font); }
.lb-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 10px; }
.lb-actions .btn { width: 100%; }
.lb-close, .lb-nav {
  position: absolute; z-index: 5; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); transition: background-color .2s;
}
.lb-close:hover, .lb-nav:hover { background: var(--accent); }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }
.lb-nav { top: 50%; margin-top: -23px; }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }
html[dir="rtl"] .lb-nav svg { transform: scaleX(-1); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  --mx: 50%; --my: 50%;
  position: relative; padding: 28px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s, border-color .35s; isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx) var(--my), var(--accent-soft), transparent 60%);
}
.service:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.service:hover::before { opacity: 1; }
.service .num { position: absolute; top: 22px; inset-inline-end: 24px; font-size: 0.85rem; color: var(--muted); font-family: "Century Gothic", "Questrial", sans-serif; }
.svc-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform .35s, background-color .35s, color .35s;
}
.svc-icon svg { width: 26px; height: 26px; }
.service:hover .svc-icon { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.45; }
.service p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Kids ---------- */
.kids-box {
  position: relative; border-radius: 40px; padding: clamp(36px, 6vw, 80px); overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 111, 174, 0.22), transparent 40%),
    radial-gradient(circle at 88% 10%, rgba(255, 201, 60, 0.22), transparent 40%),
    radial-gradient(circle at 80% 92%, rgba(46, 196, 182, 0.22), transparent 45%),
    radial-gradient(circle at 10% 95%, rgba(108, 140, 255, 0.22), transparent 45%),
    var(--surface);
  border: 1px solid var(--line-2);
}
.kids-box .doodle { position: absolute; pointer-events: none; opacity: .9; animation: float 8s ease-in-out infinite; }
.kids-box .doodle svg { width: 100%; height: 100%; }
.kids-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: end; margin-bottom: 44px; position: relative; z-index: 1; }
.kids-head .kicker { color: var(--kid-2); }
.kids-head .kicker::before { background: var(--kid-2); }
.kids-head .h2 .fun { background: linear-gradient(90deg, var(--kid-2), var(--kid-3), var(--kid-1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kids-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.kid-card {
  --c: var(--kid-1);
  position: relative; padding: 26px 22px 22px; border-radius: 28px; background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--line-2); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.kid-card:nth-child(2) { --c: var(--kid-2); }
.kid-card:nth-child(3) { --c: var(--kid-3); }
.kid-card:nth-child(4) { --c: var(--kid-4); }
.kid-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 30px 60px -30px var(--c); }
.kid-card .k-icon { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 14px 30px -12px var(--c); }
.kid-card .k-icon svg { width: 30px; height: 30px; }
.kid-card h3 { margin: 8px 0 0; font-size: 1.12rem; line-height: 1.45; }
.kid-card p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }
.kid-card a { display: inline-flex; align-items: center; gap: 6px; color: var(--c); font-weight: 700; font-size: 0.9rem; margin-top: 6px; }
.kid-card a svg { width: 16px; height: 16px; }
html[dir="rtl"] .kid-card a svg, html[dir="rtl"] .arrow-flip { transform: scaleX(-1); }

/* ---------- Web ---------- */
.web-box {
  --w-1: #4c7dff; --w-2: #22c55e; --w-3: var(--accent); --w-4: #a259ff;
  position: relative; border-radius: 40px; padding: clamp(72px, 8vw, 104px) clamp(28px, 6vw, 80px) clamp(36px, 6vw, 80px); overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(76, 125, 255, 0.22), transparent 42%),
    radial-gradient(circle at 8% 90%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 45%),
    radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--surface);
  border: 1px solid var(--line-2);
}
.web-bar {
  position: absolute; inset: 0 0 auto 0; height: 52px; display: flex; align-items: center; gap: 8px; padding-inline: 26px;
  background: color-mix(in srgb, var(--surface-3) 85%, transparent); border-bottom: 1px solid var(--line-2); z-index: 1;
}
.web-bar > i, .w-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.web-bar > i:nth-child(2), .w-dots i:nth-child(2) { background: #febc2e; }
.web-bar > i:nth-child(3), .w-dots i:nth-child(3) { background: #28c840; }
.web-url {
  margin-inline: auto; display: inline-flex; align-items: center; gap: 2px; padding: 6px 18px; border-radius: 999px; min-width: min(320px, 55%); justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font: 600 0.82rem/1 "Century Gothic", "Questrial", var(--font);
}
.web-url b { width: 1.5px; height: 1em; background: var(--w-1); animation: blink 1s steps(1) infinite; }
.web-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: end; margin-bottom: 44px; position: relative; z-index: 1; }
.web-head .kicker { color: var(--w-1); }
.web-head .kicker::before { display: none; }
.web-head .kicker svg { width: 20px; height: 20px; }
.web-head .h2 .fun { background: linear-gradient(90deg, var(--w-1), var(--w-4), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* cards slider (OWL Carousel); before init / without JS it is a plain grid */
.web-slider { position: relative; z-index: 1; }
.web-slider:not(.owl-loaded) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.web-slider .owl-stage-outer { padding: 12px 1px 36px; margin: -12px -1px -36px; }
.web-slider .owl-stage { display: flex; }
.web-slider .owl-item { display: flex; }
.web-card {
  --c: var(--w-1);
  position: relative; width: 100%; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line-2); display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.web-card[data-tone="1"] { --c: var(--w-2); }
.web-card[data-tone="2"] { --c: var(--w-3); }
.web-card[data-tone="3"] { --c: var(--w-4); }
.web-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 60px -30px var(--c); }
.w-media { position: relative; background: var(--surface-3); border-bottom: 1px solid var(--line); }
.w-dots { display: flex; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-3) 90%, var(--c) 10%); }
.w-dots i { width: 8px; height: 8px; opacity: .85; }
.w-gallery { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.w-gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.w-gallery:not(.owl-loaded) img:not(:first-child) { display: none; }
.w-gallery .owl-dots { position: absolute; bottom: 10px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.w-gallery .owl-dot span { display: block; width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: width .3s, background .3s; }
.w-gallery .owl-dot.active span { width: 20px; background: #fff; }
.web-card .w-gallery .owl-nav button.owl-prev, .web-card .w-gallery .owl-nav button.owl-next {
  position: absolute; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 12, 16, .55); color: #fff; backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s, background .25s;
}
.web-card .w-gallery .owl-nav button.owl-prev { inset-inline-start: 10px; }
.web-card .w-gallery .owl-nav button.owl-next { inset-inline-end: 10px; }
.web-card:hover .w-gallery .owl-nav button { opacity: 1; }
.web-card .w-gallery .owl-nav button:hover { background: var(--c); }
.w-gallery .owl-nav svg, .web-nav svg { width: 18px; height: 18px; }
html[dir="rtl"] .w-gallery .owl-nav svg, html[dir="rtl"] .web-nav svg { transform: scaleX(-1); }
.w-placeholder {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--c);
  background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--c) 22%, transparent), transparent 60%), var(--surface-2);
}
.w-placeholder > svg { width: 54px; height: 54px; opacity: .9; }
.w-placeholder span { position: absolute; inset: 16px auto auto 16px; display: grid; gap: 7px; }
.w-placeholder span i { display: block; height: 7px; width: 90px; border-radius: 9px; background: color-mix(in srgb, var(--c) 22%, transparent); }
.w-placeholder span i:nth-child(2) { width: 60px; }
.w-placeholder span i:nth-child(3) { width: 74px; }
html[dir="rtl"] .w-placeholder span { inset: 16px 16px auto auto; justify-items: end; }
.w-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 0 22px 22px; }
.web-card .w-icon {
  width: 58px; height: 58px; margin-top: -29px; border-radius: 18px; display: grid; place-items: center; position: relative; z-index: 2;
  background: var(--surface); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 12px 26px -14px var(--c);
  transition: background .3s, color .3s, transform .3s;
}
.web-card:hover .w-icon { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.05); }
.web-card .w-icon svg { width: 28px; height: 28px; }
.web-card h3 { margin: 4px 0 0; font-size: 1.12rem; line-height: 1.45; }
.web-card p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }
.web-card .w-body a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 10px 14px; border-radius: 14px;
  background: color-mix(in srgb, #1da851 12%, transparent); color: #34d374; border: 1px solid color-mix(in srgb, #1da851 30%, transparent);
  font-weight: 700; font-size: 0.9rem; transition: background .25s, color .25s;
}
:root[data-theme="light"] .web-card .w-body a { color: #12813c; }
.web-card .w-body a:hover { background: #1da851; color: #fff; }
.web-card .w-body a svg { width: 18px; height: 18px; }
/* slider controls: arrows + dots under the cards */
.web-controls { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.web-nav.disabled { visibility: hidden; }
.web-nav { display: flex; gap: 10px; order: 2; }
.web-nav button {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-2); transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.web-nav button:hover { background: var(--w-1); border-color: transparent; color: #fff; transform: translateY(-2px); }
.web-dots { display: flex; gap: 2px; }
.web-dots button { background: none; border: 0; padding: 6px 3px; cursor: pointer; }
.web-dots.disabled { display: none; }
.web-dots button span { display: block; width: 9px; height: 9px; border-radius: 99px; background: var(--line-2); transition: width .3s, background .3s; }
.web-dots button.active span { width: 30px; background: linear-gradient(90deg, var(--w-1), var(--w-4)); }

/* ---------- Tools ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool {
  display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.tool:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tool .t-logo {
  width: 58px; height: 58px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  font-family: "Century Gothic", "Questrial", sans-serif; letter-spacing: -0.02em;
}
.tool b { display: block; font-family: "Century Gothic", "Questrial", var(--font); font-size: 1.05rem; }
.tool span { color: var(--muted); font-size: 0.9rem; line-height: 1.55; display: block; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 38px; inset-inline: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.step { position: relative; padding: 0 6px; text-align: center; }
.step .n {
  position: relative; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 1.4rem; font-weight: 700; font-family: "Century Gothic", "Questrial", sans-serif;
  transition: all .35s;
}
.step .n::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed var(--line-2); }
.step:hover .n { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 18px 40px -14px var(--glow); }
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-photo { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.6; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .card-over {
  position: absolute; bottom: 16px; inset-inline: 16px; padding: 16px 18px; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(10, 11, 14, 0.62); color: #fff; backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14);
}
.about-photo .card-over b { display: block; }
.about-photo .card-over small { opacity: .75; font-family: "Century Gothic", "Questrial", sans-serif; }
.about-photo .card-over .av { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(37, 211, 102, .2); color: #6ef0a0; white-space: nowrap; }
.about-photo .card-over .av i { width: 7px; height: 7px; border-radius: 50%; background: #25d366; animation: pulse 1.6s infinite; }
.about-text p { color: var(--text-2); margin: 0 0 14px; }
.points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.points li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 0.93rem; }
.points svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.testi .stars { color: var(--accent-2); letter-spacing: 2px; }
.testi p { margin: 0; color: var(--text-2); flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-style: normal; font-weight: 700; }
.testi .who small { display: block; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); transition: transform .3s, background-color .3s; }
.faq-item summary .pm svg { width: 16px; height: 16px; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-item .ans { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; border-radius: 40px; padding: clamp(44px, 7vw, 90px) clamp(24px, 5vw, 70px); text-align: center;
  background: radial-gradient(ellipse at 50% 120%, var(--glow), transparent 60%), var(--surface); border: 1px solid var(--line-2);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta-box > * { position: relative; }
.cta-box .h2 { max-width: 860px; margin-inline: auto; font-size: clamp(2rem, 5vw, 3.8rem); }
.cta-box .lead { max-width: 580px; margin: 0 auto 30px; }
.cta-box .hero-ctas { justify-content: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b92a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 16px center; }
html[dir="rtl"] .field select { background-position: left 16px center; }
.field select option { background: var(--surface); color: var(--text); }
.num, .stat b, .meta-list b.num { font-family: "Century Gothic", CenturyGothic, AppleGothic, "Questrial", sans-serif; direction: ltr; unicode-bidi: isolate; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field .err { color: #ff6b6b; font-size: 0.82rem; }
.ref-chip { grid-column: 1 / -1; display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 0.9rem; }
.ref-chip.show { display: flex; }
.ref-chip button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.ref-chip button svg { width: 14px; height: 14px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 16px; font-size: 0.95rem; }
.alert-ok { background: rgba(37, 211, 102, 0.12); color: #2bd46b; border: 1px solid rgba(37, 211, 102, 0.3); }
.alert-err { background: rgba(255, 80, 80, 0.1); color: #ff6b6b; border: 1px solid rgba(255, 80, 80, 0.3); }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.info-cards { display: flex; flex-direction: column; gap: 12px; }
.info-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
a.info-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.info-card .ic { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.info-card .ic.wa { background: rgba(37, 211, 102, .14); color: #25d366; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card small { display: block; color: var(--muted); font-size: 0.8rem; }
.info-card b { font-weight: 600; direction: ltr; unicode-bidi: plaintext; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); transition: all .25s; }
.socials a:hover { background: var(--accent); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; margin-top: 40px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 40px; }
.footer p { color: var(--muted); max-width: 420px; }
.footer h4 { margin: 0 0 14px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.big-name {
  margin-top: 40px; font-size: clamp(3rem, 12vw, 10rem); line-height: 1; font-weight: 700; text-align: center; letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--line-2), transparent 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap; overflow: hidden;
}
html[lang="ar"] .big-name { letter-spacing: 0; font-size: clamp(2.6rem, 10vw, 8rem); line-height: 1.3; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .7);
  transition: transform .25s;
}
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }
.to-top { position: fixed; bottom: 92px; inset-inline-end: 30px; z-index: 80; width: 44px; height: 44px; opacity: 0; visibility: hidden; transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { transform: rotate(-90deg); }

/* ---------- Work page ---------- */
.work-page { padding: 40px 0 80px; }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.work-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 30px; align-items: start; }
.work-layout.portrait { grid-template-columns: 0.75fr 1.25fr; }
.work-player { border-radius: 26px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.work-player video, .work-player img { width: 100%; max-height: 82vh; object-fit: contain; margin: auto; }
.work-player iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.work-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.work-side h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.gallery-grid img { border-radius: 18px; border: 1px solid var(--line); width: 100%; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }
.split-word { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(3deg); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.split-in .split-word { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-word { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid, .kids-grid, .web-slider:not(.owl-loaded) { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { padding: 8px 10px; font-size: 0.9rem; }
}
@media (max-width: 960px) {
  .nav-links, .nav-actions .btn-hire { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .reel-wrap, .about, .faq-wrap, .contact, .work-layout, .work-layout.portrait, .kids-head, .web-head { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; order: -1; }
  .tools-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .lb-dialog, .lb-dialog.portrait { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-media { max-height: 62vh; }
  .lb-media video, .lb-media img { max-height: 62vh; }
  .lb-info { max-height: none; overflow: visible; }
  .work-side { position: static; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .kids-grid, .web-slider:not(.owl-loaded), .tools-grid, .testi-grid, .points, .form-grid, .meta-list { grid-template-columns: 1fr; }
  .works-grid { columns: 2 150px; column-gap: 12px; }
  .work-card { margin-bottom: 12px; border-radius: 16px; }
  .work-info { padding: 12px; }
  .work-info h3 { font-size: 0.92rem; }
  .work-info .client, .work-similar, .work-info .cat { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
  .work-type { top: 8px; inset-inline-start: 8px; font-size: 0.68rem; padding: 3px 8px; }
  .work-play { width: 34px; height: 34px; top: 8px; inset-inline-end: 8px; }
  .chip-float { font-size: 0.72rem; padding: 6px 10px; }
  .chip-float .ic { width: 22px; height: 22px; }
  .chip-float.c2 { inset-inline-start: -2%; }
  .chip-float.c4 { inset-inline-end: -2%; }
  .brand-text small { display: none; }
  .about-photo .card-over .av { display: none; }
  .nav { height: 68px; }
  .lang-switch a { min-width: 32px; height: 30px; padding: 0 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .kids-box, .web-box, .cta-box { border-radius: 28px; }
  .web-bar { height: 44px; padding-inline: 18px; }
  .web-url { min-width: 0; padding: 5px 12px; font-size: 0.74rem; }
  .announce { font-size: 0.8rem; }
  .lb-dialog { width: calc(100% - 16px); margin: 8px auto; max-height: calc(100vh - 16px); }
  .lb-nav { display: none; }
}

/* ---------- Packages / Pricing ---------- */
.pkg-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -10px auto 34px; }
.pkg-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 0.95rem; transition: all .25s; }
.pkg-tab:hover { border-color: var(--accent); color: var(--text); }
.pkg-tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line); transition: transform .35s, border-color .35s, box-shadow .35s;
}
.pkg:hover { transform: translateY(-5px); border-color: var(--line-2); }
.pkg.popular {
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent;
  box-shadow: 0 30px 70px -35px var(--glow);
}
.pkg-badge {
  position: absolute; top: -14px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 0.8rem; font-weight: 700;
}
.pkg-badge svg { width: 14px; height: 14px; }
.pkg-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.pkg-icon svg { width: 26px; height: 26px; }
.pkg.popular .pkg-icon { background: var(--grad); color: #fff; }
.pkg h3 { margin: 6px 0 0; font-size: 1.3rem; line-height: 1.4; }
.pkg-sub { margin: 0; color: var(--muted); font-size: 0.95rem; }
.pkg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 14px 0 16px; border-bottom: 1px dashed var(--line-2); }
.pkg-price b { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; font-weight: 800; }
.pkg-price s { color: var(--muted); font-size: 1rem; }
.pkg-price .cur { font-weight: 700; color: var(--accent); }
.pkg-price small { flex-basis: 100%; color: var(--muted); font-size: 0.85rem; }
.pkg-features { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; flex: 1; }
.pkg-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text-2); }
.pkg-features svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #22c55e; }
.pkg-delivery { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.88rem; padding-top: 6px; }
.pkg-delivery svg { width: 18px; height: 18px; color: var(--accent); }
.pkg-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.pkg-actions .btn { width: 100%; }
.pkg-form-link { color: var(--muted); font-size: 0.88rem; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.pkg-form-link:hover { color: var(--accent); }
.pkg-custom { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 30px auto 0; padding: 16px 22px; border-radius: 999px; border: 1px dashed var(--line-2); width: fit-content; max-width: 100%; color: var(--text-2); text-align: center; }

/* ---------- Payment methods ---------- */
.payments { margin-top: 70px; padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.pay-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.pay-head h3 { margin: 0 0 6px; font-size: 1.6rem; }
.pay-head p { margin: 0; color: var(--muted); max-width: 560px; }
.pay-terms { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 0.92rem; font-weight: 600; }
.pay-terms svg { width: 18px; height: 18px; flex: none; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.pay-card { --pc: var(--accent); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.pay-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px; background: var(--pc); }
.pay-title { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.pay-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--pc); color: #fff; }
.pay-ic svg { width: 22px; height: 22px; }
.pay-row small { display: block; color: var(--muted); font-size: 0.78rem; margin-bottom: 4px; }
.pay-val { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.pay-val span { font-family: "Century Gothic", "Questrial", sans-serif; font-weight: 700; font-size: 1rem; word-break: break-all; }
.pay-val button { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 0.78rem; font-weight: 700; }
.pay-val button svg { width: 14px; height: 14px; }
.pay-ask { margin: 0; color: var(--text-2); font-size: 0.92rem; }
.pay-link { align-self: flex-start; }
.pay-foot { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 640px) {
  .pkg-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .pkg-tab { flex: none; }
  .pkg-custom { border-radius: 22px; }
}

/* ---------- Intro video ---------- */
.intro-section { padding-top: clamp(40px, 6vw, 80px); }
.intro-wrap { grid-template-columns: 1.2fr 0.8fr; }
.intro-copy .lead { margin-top: 16px; }
.intro-player video { background: #000; }
@media (max-width: 960px) {
  .intro-wrap { grid-template-columns: 1fr; }
  .intro-copy { order: -1; }
}
