/* ============================================================
   yzy Agency — Design System v3 · Premium Liquid Glass
   Type: Space Grotesk (display) · Hanken Grotesk (text)
         Cairo (Arabic) · Baloo Bhaijaan (wordmark only)
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/hanken-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/hanken-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/cairo-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EC71-1ECB4, U+1ED01-1ED3D, U+1EE00-1EEBB;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/cairo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo Bhaijaan';
  src: url("../assets/fonts/baloo-bhaijaan.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  /* Sema — variable font (wght 100–900, 9 instances). Full Kurdish Sorani
     coverage incl. Kurdish-only letters (ڕ ڵ ە ێ ۆ) that Cairo lacks. */
  font-family: 'Sema';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/SemaFont.ttf") format('truetype');
}

/* ---------- TOKENS ---------- */
:root {
  --white:        #FFFFFF;
  --canvas:       #F1F1F2;
  --canvas-warm:  #F5F4F2;
  --mist:         #E9E9EC;

  --ink-900:      #0B0B0C;
  --ink-700:      #2B2B2E;
  --ink-500:      #6D6D73;
  --ink-300:      #ABABB1;

  /* accent — used sparingly: links, focus, tiny details */
  --accent:       #2E63D8;
  --accent-press: #234FB4;
  --accent-soft:  rgba(46,99,216,0.10);
  --accent-ring:  rgba(46,99,216,0.25);
  /* headline accent: refined steel-blue → ink gradient */
  --grad-word: linear-gradient(105deg, #93AEDC 0%, #4A5E85 48%, #14161B 100%);
  /* primary button: deep ink with glassy top light */
  --grad-ink: linear-gradient(180deg, #26262B 0%, #0B0B0C 100%);

  --line-1:       rgba(11, 11, 12, 0.07);
  --line-2:       rgba(11, 11, 12, 0.13);
  --glass-edge:   rgba(255, 255, 255, 0.72);

  --shadow-xs:  0 1px 2px rgba(11,11,12,0.04);
  --shadow-sm:  0 2px 10px rgba(11,11,12,0.05);
  --shadow-md:  0 12px 32px rgba(11,11,12,0.08);
  --shadow-lg:  0 26px 64px rgba(11,11,12,0.11);

  /* the signature glass recipe */
  --glass-bg:   linear-gradient(135deg, rgba(255,255,255,0.52), rgba(255,255,255,0.16));
  --glass-shadow:
    0 26px 60px rgba(11,11,12,0.10),
    inset 0 1.5px 1px rgba(255,255,255,0.95),
    inset 0 -14px 26px rgba(255,255,255,0.28),
    inset 0 0 0 1px rgba(255,255,255,0.42);
  --glass-shadow-hover:
    0 40px 90px rgba(11,11,12,0.15),
    inset 0 1.5px 1px rgba(255,255,255,0.95),
    inset 0 -14px 26px rgba(255,255,255,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.48);

  --font-display: 'Space Grotesk', 'Hanken Grotesk', -apple-system, sans-serif;
  --font-body:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-wordmark:'Baloo Bhaijaan', var(--font-display);

  --blur-md: blur(22px) saturate(130%);
  --ease-glass: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;

  --maxw: 1180px;
  --r-card: 28px;
}

/* Arabic swaps the whole stack to Cairo */
html[lang="ar"] {
  --font-display: 'Cairo', 'Segoe UI', sans-serif;
  --font-body:    'Cairo', 'Segoe UI', sans-serif;
}
/* Kurdish (Sorani) swaps the whole stack to Sema — the only font here
   with complete Kurdish letter coverage */
html[lang="ku"] {
  --font-display: 'Sema', 'Segoe UI', sans-serif;
  --font-body:    'Sema', 'Segoe UI', sans-serif;
}

/* ---------- BASE ---------- */
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background:
    radial-gradient(120% 55% at 50% -10%, #FFFFFF 0%, #F4F5F7 48%, #EBECEF 100%) fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--ink-900); color: #fff; }
img { max-width: 100%; }

/* accessible focus rings — keyboard only */
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible, .social-btn:focus-visible, .lang-btn:focus-visible,
.lang-drop button:focus-visible { outline-offset: 2px; }

/* slim, unobtrusive scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(11,11,12,0.20); border-radius: 99px;
  border: 3px solid #EFEFF1; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(11,11,12,0.34); border: 3px solid #EFEFF1; background-clip: padding-box; }

/* soft light field: discs + faint prismatic glows */
.bg-discs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.yzy-disc {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.66), rgba(255,255,255,0.10) 62%, rgba(255,255,255,0) 72%);
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.7), inset 0 -8px 24px rgba(11,11,12,0.04), 0 30px 80px rgba(11,11,12,0.05);
  border: 1px solid rgba(255,255,255,0.5);
  filter: blur(0.5px);
}
.bg-glow {
  position: absolute; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(150,170,210,0.14), rgba(150,170,210,0) 64%);
  filter: blur(24px);
}
.bg-glow.warm { background: radial-gradient(circle, rgba(214,196,178,0.12), rgba(214,196,178,0) 64%); }
.page { position: relative; z-index: 1; }

/* ============================================================
   PRELOADER — glass tile, light sweep, once per session
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 55% at 50% -10%, #FFFFFF 0%, #F4F5F7 48%, #EBECEF 100%);
  transition: opacity .6s var(--ease-out), visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader.skip { display: none; }
.pre-inner { display: flex; flex-direction: column; align-items: center; }
.pre-tile {
  position: relative; width: 128px; height: 128px; border-radius: 36px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  box-shadow: var(--glass-shadow);
  animation: preSpring 1s var(--ease-glass) both;
}
.pre-tile img { width: 64px; height: auto; }
.pre-tile .sweep {
  position: absolute; top: -20%; bottom: -20%; width: 46%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-260%) skewX(-18deg);
  animation: preSweep 1.4s var(--ease-out) .55s forwards;
}
.pre-word {
  font-family: var(--font-display); font-weight: 700; font-size: 32px;
  letter-spacing: -0.02em; color: var(--ink-900); margin-top: 22px; line-height: 1;
  animation: preFade .6s var(--ease-out) .5s both;
}
.pre-tag {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  color: var(--ink-500); margin-top: 8px; letter-spacing: .32em; text-transform: uppercase;
  animation: preFade .6s var(--ease-out) .7s both;
}
.pre-bar {
  width: 132px; height: 2px; border-radius: 999px; background: var(--mist);
  margin-top: 24px; overflow: hidden;
  animation: preFade .4s var(--ease-out) .55s both;
}
.pre-bar span {
  display: block; height: 100%; width: 100%; border-radius: 999px;
  background: var(--ink-900); transform-origin: left;
  transform: scaleX(0); animation: preFill 1.2s var(--ease-out) .6s forwards;
}
html[dir="rtl"] .pre-bar span { transform-origin: right; }
@keyframes preSpring {
  0%   { opacity: 0; transform: translateY(-56px) scale(.72); }
  60%  { opacity: 1; transform: translateY(6px) scale(1.05); }
  80%  { transform: translateY(-3px) scale(.985); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes preSweep { to { transform: translateX(300%) skewX(-18deg); } }
@keyframes preFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes preFill { to { transform: scaleX(1); } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   TYPE
   ============================================================ */
h1, h2, h3, .display { font-family: var(--font-display); }
.yzy-body { font-weight: 400; font-size: 16.5px; line-height: 1.68; color: var(--ink-700); }
.yzy-meta { font-size: 13px; letter-spacing: 0.08em; color: var(--ink-500); }
.yzy-link { color: var(--accent); text-decoration: none; }
.yzy-link:hover { color: var(--accent-press); }

.grad-word {
  background: var(--grad-word);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* eyebrow chip */
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.72);
  backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md);
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-700);
}
.chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-900); opacity: .8;
}
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Arabic & Kurdish: no letter-spacing on connected script, calmer line-height */
html[lang="ar"] .chip, html[lang="ar"] .yzy-meta, html[lang="ar"] .pre-tag,
html[lang="ar"] .marquee-track span, html[lang="ar"] .cc-label,
html[lang="ar"] .col-h, html[lang="ar"] .f-field label,
html[lang="ku"] .chip, html[lang="ku"] .yzy-meta, html[lang="ku"] .pre-tag,
html[lang="ku"] .marquee-track span, html[lang="ku"] .cc-label,
html[lang="ku"] .col-h, html[lang="ku"] .f-field label { letter-spacing: 0; }
html[lang="ar"] body, html[lang="ar"] .yzy-body,
html[lang="ku"] body, html[lang="ku"] .yzy-body { line-height: 1.95; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ku"] h1, html[lang="ku"] h2, html[lang="ku"] h3 { letter-spacing: 0 !important; line-height: 1.45 !important; }

/* Arabic-script wordmark: logo only */
html[lang="ar"] .brand > span, html[lang="ku"] .brand > span { display: none; }

html[dir="rtl"] .flip-rtl svg, html[dir="rtl"] svg.flip-rtl { transform: scaleX(-1); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  cursor: pointer; border-radius: 999px; padding: 14px 28px;
  white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; line-height: 1;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast), filter var(--dur-fast);
}
.btn:active { transform: scale(0.97); }

/* arrow nudge on hover — a small, satisfying cue */
.btn .flip-rtl { transition: transform .3s var(--ease-glass); }
.btn:hover .flip-rtl { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .flip-rtl { transform: translateX(-3px); }

/* primary: deep ink, glassy top light */
.btn-primary {
  color: #fff; background: var(--grad-ink); border: 0;
  box-shadow: 0 12px 28px rgba(11,11,12,0.22),
    inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -2px 5px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px); filter: brightness(1.25);
  box-shadow: 0 16px 34px rgba(11,11,12,0.26), inset 0 1px 0 rgba(255,255,255,0.28);
}

/* secondary: frosted glass */
.btn-glass {
  color: var(--ink-900);
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.68);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 10px 24px rgba(11,11,12,0.07), inset 0 1px 1px rgba(255,255,255,0.95), inset 0 -2px 6px rgba(255,255,255,0.4);
}
.btn-glass:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255,255,255,0.95); }

.btn-ghost { color: var(--ink-900); background: transparent; border: 1px solid var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.check {
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(11,11,12,0.06);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  color: var(--ink-900);
}

/* ============================================================
   NAV
   ============================================================ */
.nav-wrap { position: sticky; top: 0; z-index: 50; display: flex; justify-content: center; padding: 18px 24px; }
.yzy-nav {
  width: 100%; max-width: var(--maxw); box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--glass-edge);
  backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md);
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255,255,255,0.8);
  transition: all .3s var(--ease-glass);
}
.yzy-nav.scrolled { background: rgba(255,255,255,0.78); box-shadow: var(--shadow-md); }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img {
  width: 30px; height: auto; display: block;
  transition: transform .3s var(--ease-glass);
}
.brand:hover img { animation: logoSpin .7s var(--ease-glass); }
.brand span {
  font-family: var(--font-wordmark); font-weight: 400; font-size: 21px;
  color: var(--ink-900); line-height: 1; margin-top: 2px;
}
@keyframes logoSpin {
  0%   { transform: rotate(0) scale(1); }
  40%  { transform: rotate(-12deg) scale(1.12); }
  70%  { transform: rotate(7deg) scale(1.04); }
  100% { transform: rotate(0) scale(1); }
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  position: relative;
  font-size: 14.5px; font-weight: 500; color: var(--ink-500);
  text-decoration: none; transition: color var(--dur-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  border-radius: 2px; background: var(--ink-900);
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform .3s var(--ease-glass);
}
.nav-links a:hover { color: var(--ink-900); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink-900); font-weight: 700; }

.nav-right { display: flex; align-items: center; gap: 10px; }

/* language menu: globe button + frosted dropdown */
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-radius: 999px; cursor: pointer; line-height: 1;
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.05em; color: var(--ink-700);
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: var(--shadow-xs), inset 0 1px 1px rgba(255,255,255,0.9);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), color var(--dur-fast);
}
.lang-btn:hover {
  transform: translateY(-1px); color: var(--ink-900);
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255,255,255,0.9);
}
.lang-btn .lang-caret { display: inline-flex; transition: transform .3s var(--ease-glass); }
.lang-menu.open .lang-caret { transform: rotate(180deg); }

.lang-drop {
  position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: 60;
  min-width: 232px; padding: 8px; border-radius: 22px; box-sizing: border-box;
  background: rgba(255,255,255,0.93);
  border: 1px solid var(--glass-edge);
  backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md);
  box-shadow: var(--shadow-lg), inset 0 1px 1px rgba(255,255,255,0.9);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.97);
  transform-origin: top;
  transition: opacity .24s var(--ease-out), transform .24s var(--ease-out), visibility .24s;
}
.lang-menu.open .lang-drop { opacity: 1; visibility: visible; transform: none; }
.lang-drop button {
  display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box;
  min-height: 52px; padding: 7px 13px; border: 0; border-radius: 15px; cursor: pointer;
  background: transparent; text-align: start;
  font-family: var(--font-body);
  transition: background var(--dur-fast);
}
.lang-drop button:hover { background: rgba(11,11,12,0.05); }
.lang-drop button.active { background: rgba(11,11,12,0.06); }
/* text block: fixed geometry so every language row sits on the same line
   regardless of script glyph metrics. align-items:start keeps each line
   shrink-to-content and pinned to the row's start edge — without it the
   full-width RTL names (العربية / کوردی) right-align and drift out of line. */
.lang-drop button > span:first-child {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 1px; min-width: 0;
}
.lang-drop .ln, .lang-drop .ls { text-align: start; }
.lang-drop .ln { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink-900); line-height: 1.35; }
.lang-drop .ls { display: block; font-size: 11.5px; color: var(--ink-500); line-height: 1.3; }
/* Arabic-script native names → one consistent font (Cairo) so العربية and
   کوردی share identical metrics and align perfectly with the Latin rows */
.lang-drop .ln[dir="rtl"] { font-family: 'Cairo', var(--font-body); font-size: 16px; line-height: 1.3; }
.lang-drop .lk {
  margin-inline-start: auto; display: inline-flex; flex: none;
  width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--ink-900); color: #fff;
  opacity: 0; transform: scale(0.6);
  transition: opacity .2s var(--ease-out), transform .25s var(--ease-glass);
}
.lang-drop button.active .lk { opacity: 1; transform: scale(1); }

.nav-burger {
  display: none; background: transparent; border: 1px solid var(--line-2);
  border-radius: 50%; width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink-900);
}

.mobile-menu {
  display: none; position: fixed; top: 84px; left: 24px; right: 24px; z-index: 49;
  flex-direction: column; gap: 4px; padding: 14px;
  border-radius: var(--r-card);
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--glass-edge);
  backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 16px; border-radius: 16px; text-decoration: none;
  font-size: 16px; font-weight: 600; color: var(--ink-700);
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--canvas); color: var(--ink-900); }

/* ============================================================
   LAYOUT
   ============================================================ */
.section { padding: 36px 24px 108px; display: flex; flex-direction: column; align-items: center; }
.container { width: 100%; max-width: var(--maxw); }
.sec-title {
  font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.12;
  letter-spacing: -0.03em; color: var(--ink-900);
  margin: 22px 0 10px; text-align: center; text-wrap: balance;
}
.sec-sub { font-size: 17px; max-width: 560px; margin: 6px 0 0; text-align: center; }

.page-head { padding: 48px 24px 44px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-head h1 {
  font-weight: 700; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.08;
  letter-spacing: -0.03em; color: var(--ink-900); margin: 24px 0 0; text-wrap: balance;
}
.page-head p { font-size: 17.5px; max-width: 620px; margin: 18px 0 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { display: flex; justify-content: center; padding: 54px 24px 84px; }
.hero-grid {
  width: 100%; max-width: var(--maxw);
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-weight: 700; font-size: clamp(40px, 4.9vw, 66px); line-height: 1.04;
  letter-spacing: -0.035em; color: var(--ink-900); margin: 24px 0 0; text-wrap: balance;
}
.hero .lead { font-size: 18px; max-width: 500px; margin: 22px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-ticks { display: flex; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.hero-ticks > div { display: flex; align-items: center; gap: 9px; }
.hero-ticks span.t { font-size: 13.5px; color: var(--ink-700); font-weight: 500; }

/* ---------- HERO VISUAL: liquid-glass logo composition ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.stage { position: relative; width: 460px; height: 460px; flex: none; perspective: 1100px; }

/* pointer-following 3D tilt wrapper around the glass slab */
.tilt3d {
  position: absolute; inset: 0;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .6s var(--ease-glass);
}
.tilt3d.live { transition: transform .09s linear; }

/* orbit rings, slowly rotating, each carrying a small glass bead */
.orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(11,11,12,0.09);
}
.orbit.o1 { inset: 0; animation: orbitSpin 44s linear infinite; }
.orbit.o2 { inset: 56px; border-color: rgba(11,11,12,0.07); animation: orbitSpin 30s linear infinite reverse; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orb-bead {
  position: absolute; top: -9px; left: 50%; margin-left: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95), rgba(255,255,255,0.35) 62%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 6px 14px rgba(11,11,12,0.12), inset 0 1px 1px rgba(255,255,255,0.95);
}
.orbit.o2 .orb-bead { width: 13px; height: 13px; margin-left: -6.5px; top: -7px; }

/* central glass slab: thick polished rim, diagonal reflection, light sweep */
.logo-tile {
  position: absolute; top: 50%; left: 50%; width: 236px; height: 236px;
  margin: -118px 0 0 -118px; border-radius: 60px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background:
    linear-gradient(122deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.34) 33.5%, rgba(255,255,255,0.10) 34.2%, rgba(255,255,255,0.20) 68%, rgba(255,255,255,0.42) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.60), rgba(255,255,255,0.22));
  backdrop-filter: blur(26px) saturate(1.55) brightness(1.05);
  -webkit-backdrop-filter: blur(26px) saturate(1.55) brightness(1.05);
  box-shadow:
    0 60px 110px rgba(11,11,12,0.18),
    0 18px 38px rgba(11,11,12,0.10),
    0 2px 5px rgba(11,11,12,0.06),
    inset 0 2px 1.5px rgba(255,255,255,0.98),
    inset 0 -2px 2px rgba(255,255,255,0.55),
    inset 0 -22px 42px rgba(255,255,255,0.32),
    inset 0 0 0 1.5px rgba(255,255,255,0.55);
  animation: tileHover 7s ease-in-out infinite;
}
/* inner lip — makes the slab read as thick, bevelled glass */
.logo-tile::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.75);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.85),
    inset 0 10px 22px rgba(255,255,255,0.22),
    0 1px 2px rgba(11,11,12,0.05);
  pointer-events: none;
}
/* faint prismatic edge refraction at the corners */
.logo-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(140% 100% at 0% 0%, rgba(255,255,255,0.5), rgba(255,255,255,0) 34%),
    radial-gradient(120% 100% at 100% 100%, rgba(198,209,228,0.35), rgba(198,209,228,0) 38%);
}
.logo-tile img { width: 104px; height: auto; }
.logo-tile .sweep {
  position: absolute; top: -20%; bottom: -20%; width: 42%; z-index: 2;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-280%) skewX(-18deg);
  animation: tileSweep 5.5s var(--ease-out) infinite;
  animation-delay: 1.2s;
}
@keyframes tileHover {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes tileSweep {
  0%      { transform: translateX(-280%) skewX(-18deg); }
  38%,100%{ transform: translateX(330%) skewX(-18deg); }
}
/* soft reflection under the tile */
.stage::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 232px; height: 40px;
  margin-left: -116px; margin-top: 140px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(11,11,12,0.20), rgba(11,11,12,0) 70%);
  filter: blur(8px);
}

/* small floating glass tiles around the stage */
.mini-tile {
  position: absolute; display: flex; align-items: center; gap: 11px;
  padding: 13px 17px; border-radius: 20px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.5) brightness(1.05);
  -webkit-backdrop-filter: blur(20px) saturate(1.5) brightness(1.05);
  box-shadow: 0 20px 44px rgba(11,11,12,0.13), inset 0 1.5px 1px rgba(255,255,255,0.95), inset 0 0 0 1px rgba(255,255,255,0.45);
  animation: miniFloat 6s ease-in-out infinite;
  white-space: nowrap;
}
.mini-tile.m2 { animation-delay: -2s; }
.mini-tile.m3 { animation-delay: -4s; }
@keyframes miniFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.mini-tile .mi {
  width: 36px; height: 36px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.28));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), inset 0 0 0 1px rgba(255,255,255,0.5);
  color: var(--ink-900);
}
.mini-tile .mt { font-weight: 700; font-size: 13px; color: var(--ink-900); }
.mini-tile .ms { font-size: 11px; color: var(--ink-500); margin-top: 1px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden; direction: ltr; padding: 17px 0; position: relative;
  border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1);
  background: rgba(255,255,255,0.3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee-track span {
  display: flex; align-items: center; gap: 42px; padding-inline-end: 42px;
  font-family: var(--font-display);
  font-weight: 500; font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-300); white-space: nowrap;
}
.marquee-track span i { color: var(--ink-500); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   TRUSTED BY — partner logo wall
   Desktop: static 2×5 grid, optically balanced (height-capped with a
   max-width guard). Mobile: seamless auto-scrolling marquee.
   Logos are pre-processed to monochrome ink-on-transparent PNGs.
   ============================================================ */
.trust-title { font-size: clamp(23px, 2.7vw, 34px) !important; margin-top: 16px !important; }
.partner-wall {
  width: 100%; max-width: 1060px; margin-top: 46px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 20px;
  align-items: center; justify-items: center;
}
.partner {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 50px;
}
.partner img {
  max-height: 38px; max-width: 140px; width: auto; height: auto; object-fit: contain;
  opacity: 0.5;
  transition: opacity .35s var(--ease-glass), transform .35s var(--ease-glass);
}
.partner:hover img { opacity: 0.92; transform: translateY(-3px); }
/* optical balance: dense emblem logos read heavier at equal height (trim
   slightly); the airy Lalish triangle reads smaller (allow a touch more) */
.partner img[alt="Avadan"], .partner img[alt="OMO"] { max-height: 36px; }
.partner img[alt="Lalish"] { max-height: 46px; }

.partner-marquee { display: none; }
@media (max-width: 860px) {
  .partner-wall { display: none; }
  .partner-marquee {
    display: block; width: 100%; overflow: hidden; margin-top: 34px; direction: ltr;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  .pm-track {
    display: flex; align-items: center; gap: 48px; width: max-content;
    animation: pmScroll 34s linear infinite;
  }
  .pm-track img { height: 32px; width: auto; opacity: 0.5; flex: none; }
  @keyframes pmScroll { to { transform: translateX(-50%); } }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  width: 100%; max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat-card {
  border-radius: 26px; padding: 28px 22px; text-align: center; overflow: hidden; position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: var(--glass-shadow);
}
.stat-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 26%);
}
.stat-card .n {
  position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 42px;
  letter-spacing: -0.03em; line-height: 1.05; color: var(--ink-900);
}
.stat-card .l { position: relative; font-weight: 500; font-size: 13.5px; color: var(--ink-500); margin-top: 6px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  width: 100%; max-width: var(--maxw); margin-top: 46px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.svc-card {
  position: relative; border-radius: var(--r-card); padding: 27px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  box-shadow: var(--glass-shadow);
  transition: transform .3s var(--ease-glass), box-shadow .3s var(--ease-glass);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-card);
  background: linear-gradient(122deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 26%);
  pointer-events: none;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--glass-shadow-hover); }
.svc-card > div { position: relative; }
.svc-icon {
  width: 54px; height: 54px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.24));
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,0.95), inset 0 -4px 10px rgba(255,255,255,0.4), inset 0 0 0 1px rgba(255,255,255,0.5);
  color: var(--ink-900); transition: transform .3s var(--ease-glass);
}
.svc-card:hover .svc-icon { transform: scale(1.07) rotate(-4deg); }
.svc-card h3 {
  font-weight: 700; font-size: 17.5px; letter-spacing: -0.015em;
  color: var(--ink-900); margin: 19px 0 8px; line-height: 1.3;
}
.svc-card p { font-size: 14px; margin: 0; line-height: 1.6; }

/* linked service cards → landing pages */
a.svc-card { display: block; text-decoration: none; color: inherit; }
.svc-go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 15px;
  font-weight: 700; font-size: 13px; color: var(--ink-500);
  transition: color var(--dur-fast);
}
.svc-go .flip-rtl { display: inline-flex; transition: transform .3s var(--ease-glass); }
.svc-card:hover .svc-go { color: var(--ink-900); }
.svc-card:hover .svc-go .flip-rtl { transform: translateX(3px); }
html[dir="rtl"] .svc-card:hover .svc-go .flip-rtl { transform: translateX(-3px); }

/* ---------- TECH SOLUTIONS band ---------- */
.tech-band {
  width: 100%; max-width: var(--maxw); margin-top: 22px;
  position: relative; border-radius: 34px; overflow: hidden; padding: 38px;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(20,20,23,0.94), rgba(38,38,44,0.9));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.14);
}
.tech-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 120% at 12% -20%, rgba(255,255,255,0.14), rgba(255,255,255,0) 55%);
}
.tech-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.tech-head .chip { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.85); box-shadow: none; }
.tech-head .chip::before { background: #fff; }
.tech-head h2 {
  font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.025em;
  color: #fff; margin: 14px 0 0; line-height: 1.15;
}
.tech-head p { color: rgba(255,255,255,0.6); font-size: 15px; margin: 8px 0 0; max-width: 460px; }
.tech-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tech-item {
  display: block; text-decoration: none;
  border-radius: 20px; padding: 20px; box-sizing: border-box;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background var(--dur-fast), transform .3s var(--ease-glass);
}
.tech-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.tech-item .ti {
  width: 42px; height: 42px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: #fff; margin-bottom: 14px;
}
.tech-item .tt { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: #fff; }
.tech-item .td { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 5px; line-height: 1.55; }

/* ============================================================
   WHY YZY / BENEFITS
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.why-grid h2 {
  font-weight: 700; font-size: clamp(30px, 3.7vw, 44px); line-height: 1.1;
  letter-spacing: -0.03em; color: var(--ink-900); margin: 22px 0 0; text-wrap: balance;
}
.why-grid .lead { font-size: 16.5px; max-width: 460px; margin: 18px 0 0; }
.benefit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit-card {
  position: relative; border-radius: 24px; padding: 24px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--glass-shadow);
  transition: transform .3s var(--ease-glass), box-shadow .3s var(--ease-glass);
}
.benefit-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 28%);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); }
.benefit-card > * { position: relative; }
.benefit-card.hi { background: linear-gradient(135deg, rgba(20,20,23,0.93), rgba(40,40,46,0.9)); }
.benefit-card.hi .k { color: #fff; }
.benefit-card.hi .v { color: rgba(255,255,255,0.65); }
.benefit-card.hi .benefit-icon { background: rgba(255,255,255,0.12); color: #fff; box-shadow: none; }
.benefit-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.28));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), inset 0 0 0 1px rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px;
  color: var(--ink-900);
}
.benefit-card .k { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink-900); margin-bottom: 5px; }
.benefit-card .v { font-size: 13.5px; }

/* ============================================================
   WORK
   ============================================================ */
.work-head {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 38px; flex-wrap: wrap; gap: 16px;
}
.work-head h2 {
  font-weight: 700; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em;
  line-height: 1.1; color: var(--ink-900); margin: 16px 0 0;
}
.work-grid {
  width: 100%; max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.work-card {
  display: block; text-decoration: none; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255,255,255,0.8);
  transition: transform .3s var(--ease-glass), box-shadow .3s var(--ease-glass);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-card .img { overflow: hidden; aspect-ratio: 1 / 1; background: var(--canvas); }
.work-card .img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease-glass);
}
.work-card:hover .img img { transform: scale(1.05); }
.work-card .meta { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; }
.work-card .meta .t { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-900); margin: 0 0 2px; letter-spacing: -0.01em; }
.work-card .meta .c { margin: 0; }
.work-card .meta .arrow { color: var(--ink-500); display: inline-flex; transition: transform .3s var(--ease-glass), color var(--dur-fast); }
.work-card:hover .meta .arrow { color: var(--ink-900); transform: translate(3px, -3px); }
html[dir="rtl"] .work-card:hover .meta .arrow { transform: translate(-3px, -3px); }

/* ============================================================
   CONTACT — split layout with glass form
   ============================================================ */
.contact-split {
  width: 100%; max-width: var(--maxw); margin-top: 46px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start;
  text-align: start;
}
.contact-stack { display: flex; flex-direction: column; gap: 16px; }
.mini-info {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  border-radius: 22px; padding: 19px 22px; position: relative; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--glass-shadow);
  transition: transform .3s var(--ease-glass), box-shadow .3s var(--ease-glass);
}
.mini-info:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow-hover); }
.mini-info .mi {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.28));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), inset 0 0 0 1px rgba(255,255,255,0.5);
  color: var(--ink-900);
}
.mini-info .l { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); }
html[lang="ar"] .mini-info .l, html[lang="ku"] .mini-info .l { letter-spacing: 0; }
.mini-info .v { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink-900); margin-top: 2px; letter-spacing: -0.01em; }
.mini-info .s { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
a.mini-info:hover .v { color: var(--accent); }

/* glass form */
.form-card {
  position: relative; border-radius: 32px; padding: 34px; overflow: hidden;
  box-sizing: border-box;
  background: var(--glass-bg);
  backdrop-filter: blur(26px) saturate(1.5) brightness(1.03);
  -webkit-backdrop-filter: blur(26px) saturate(1.5) brightness(1.03);
  box-shadow: var(--glass-shadow);
}
.form-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 30%);
}
.form-card > * { position: relative; }
.form-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink-900); margin: 0 0 22px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.f-field label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-500);
}
.f-field input, .f-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink-900);
  padding: 14px 17px; border-radius: 15px; box-sizing: border-box; width: 100%;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 3px rgba(11,11,12,0.05), 0 1px 0 rgba(255,255,255,0.7);
  outline: none; resize: vertical;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.f-field input::placeholder, .f-field textarea::placeholder { color: var(--ink-300); }
.f-field input:focus, .f-field textarea:focus {
  background: rgba(255,255,255,0.85);
  border-color: rgba(11,11,12,0.25);
  box-shadow: inset 0 1px 3px rgba(11,11,12,0.05), 0 0 0 3px rgba(11,11,12,0.06);
}
.f-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.f-note { font-size: 13px; color: var(--ink-500); margin: 0; }
.f-note a { color: var(--ink-900); font-weight: 600; text-decoration: none; }
.f-note a:hover { color: var(--accent); }

/* form submit status (sending / success / error) */
.f-status {
  font-size: 14px; font-weight: 600; line-height: 1.5;
  margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  padding-inline-start: 26px; position: relative;
  transition: opacity .3s var(--ease-out), max-height .3s var(--ease-out), margin .3s var(--ease-out);
}
.f-status.show { opacity: 1; max-height: 96px; margin-top: 16px; }
.f-status::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px;
  width: 17px; height: 17px; border-radius: 50%; flex: none;
}
.f-status.sending { color: var(--ink-500); }
.f-status.sending::before { background: var(--ink-300); animation: fStatusPulse 1s ease-in-out infinite; }
.f-status.ok  { color: #157347; }
.f-status.ok::before { background: #1f9d57 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.f-status.err { color: #c0392b; }
.f-status.err::before { background: #d64535 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / 10px no-repeat; }
@keyframes fStatusPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* office cards */
.office-card {
  position: relative; border-radius: 24px; padding: 24px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--glass-shadow);
}
.office-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 28%);
}
.office-card > * { position: relative; }
.office-card .oc-city { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; color: var(--ink-900); display: flex; align-items: center; gap: 9px; }
.office-card .oc-city svg { color: var(--ink-500); }
.office-card .oc-line { font-size: 13.5px; color: var(--ink-500); margin-top: 7px; }

/* ============================================================
   CTA PANEL
   ============================================================ */
.cta-card {
  position: relative; overflow: hidden; border-radius: 44px;
  background: var(--glass-bg);
  backdrop-filter: blur(26px) saturate(1.55) brightness(1.04);
  -webkit-backdrop-filter: blur(26px) saturate(1.55) brightness(1.04);
  box-shadow: 0 34px 80px rgba(11,11,12,0.12), 0 2px 6px rgba(11,11,12,0.05), inset 0 1.5px 1px rgba(255,255,255,0.95), inset 0 -18px 34px rgba(255,255,255,0.30), inset 0 0 0 1px rgba(255,255,255,0.42);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0) 24%), radial-gradient(130% 70% at 16% -8%, rgba(255,255,255,0.6), rgba(255,255,255,0) 58%);
}
.cta-inner {
  position: relative; padding: 74px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.cta-inner .cta-logo { width: 52px; height: auto; display: block; animation: tileHover 5s ease-in-out infinite; }
.cta-inner h2 {
  font-weight: 700; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08;
  letter-spacing: -0.03em; color: var(--ink-900); margin: 26px 0 0; max-width: 760px; text-wrap: balance;
}
.cta-inner p { font-size: 17.5px; max-width: 500px; margin: 18px 0 0; }
.cta-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   INFO CARDS (process steps)
   ============================================================ */
.info-grid {
  width: 100%; max-width: var(--maxw); margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.info-card {
  position: relative; border-radius: var(--r-card); padding: 32px 28px; overflow: hidden;
  text-align: center; text-decoration: none; display: block;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  box-shadow: var(--glass-shadow);
  transition: transform .3s var(--ease-glass), box-shadow .3s var(--ease-glass);
}
.info-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-card);
  background: linear-gradient(122deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 26%);
  pointer-events: none;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--glass-shadow-hover); }
.info-card > div { position: relative; }
.cc-icon {
  width: 56px; height: 56px; border-radius: 18px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.28));
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,0.95), inset 0 0 0 1px rgba(255,255,255,0.5);
  color: var(--ink-900);
}
.cc-label {
  font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-500); margin: 19px 0 7px;
}
.cc-value { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; color: var(--ink-900); word-break: break-word; line-height: 1.35; }
a.info-card:hover .cc-value { color: var(--accent); }
.cc-sub { font-size: 13.5px; color: var(--ink-500); margin-top: 7px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line-1); background: rgba(255,255,255,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: relative; z-index: 1; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 62px 24px 32px;
  display: grid; grid-template-columns: 1.45fr 1.35fr 0.75fr 1fr; gap: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.footer-brand img { width: 30px; height: auto; display: block; }
.footer-brand span { font-family: var(--font-wordmark); font-weight: 400; font-size: 21px; color: var(--ink-900); margin-top: 2px; }
html[lang="ar"] .footer-brand > span, html[lang="ku"] .footer-brand > span { display: none; }
.footer-grid .about { font-size: 14px; max-width: 300px; margin-top: 14px; }
.col-h {
  font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-500); margin: 4px 0 16px;
}
.col-links { display: flex; flex-direction: column; gap: 11px; }
.col-links a { font-size: 14px; color: var(--ink-500); text-decoration: none; transition: color var(--dur-fast); }
.col-links a:hover { color: var(--ink-900); }
.col-links.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; }
.col-links.cols2 a { font-size: 13.5px; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px 42px;
  border-top: 1px solid var(--line-1);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.footer-bottom .row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-bottom .sep { width: 1px; height: 13px; background: var(--line-2); }
.footer-bottom .strong { font-weight: 700; color: var(--ink-700); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--ink-900); }

/* parent-company credit — the very last block on every page */
.footer-empire {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  padding: 6px 24px 36px; text-align: center;
}
.footer-empire .fe-logo {
  height: 46px; width: auto; display: block; opacity: 0.82;
  transition: opacity .3s var(--ease-glass), transform .3s var(--ease-glass);
}
.footer-empire a:hover .fe-logo { opacity: 1; transform: translateY(-2px); }
.footer-empire .fe-text {
  font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-500); line-height: 1.5;
}
.footer-empire .fe-text b { font-weight: 700; color: var(--ink-700); }
html[lang="ar"] .footer-empire .fe-text, html[lang="ku"] .footer-empire .fe-text { letter-spacing: 0; }

/* ============================================================
   GLASS MARK — the yzy logo rendered as real liquid glass.
   Pre-rendered PNG (assets/yzy-logo-glass.png): a polished black
   obsidian blade flanked by two clear-glass wings with baked-in
   caustic rims, specular gloss and a soft cast shadow. Pixel-exact
   and identical across browsers (the CSS mask-composite build was
   too fragile). The nav uses the flat yzy-logo-mark.png — untouched.
   ============================================================ */
.glass-mark {
  position: relative;
  aspect-ratio: 1619 / 994;
  flex: none;
  background: url("../assets/yzy-logo-glass.png") center / contain no-repeat;
}
.glass-mark .gm-w, .glass-mark .gm-b { display: none; }

.pre-tile .glass-mark { width: 78px; }
.logo-tile .glass-mark { width: 172px; z-index: 1; }
.cta-logo.glass-mark { animation: tileHover 5s ease-in-out infinite; }

/* ============================================================
   SERVICE LANDING PAGES
   ============================================================ */
.sp-grid {
  width: 100%; max-width: var(--maxw);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start;
}
.sp-grid h2 {
  font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15;
  letter-spacing: -0.025em; color: var(--ink-900); margin: 20px 0 0; text-wrap: balance;
}
.sp-desc p { margin: 16px 0 0; }
.sp-included {
  position: relative; border-radius: var(--r-card); padding: 32px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(1.5) brightness(1.04);
  box-shadow: var(--glass-shadow);
}
.sp-included::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 26%);
}
.sp-included > * { position: relative; }
.sp-included .t {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.015em; color: var(--ink-900); margin: 0 0 4px;
}
.sp-checks { display: flex; flex-direction: column; gap: 13px; margin-top: 18px; }
.sp-checks > div { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; font-weight: 600; color: var(--ink-700); line-height: 1.5; }
.sp-checks .check { margin-top: 1px; }

/* benefits row (4-up) */
.benefits-4 {
  width: 100%; max-width: var(--maxw); margin-top: 46px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  text-align: start;
}

/* FAQ — frosted accordion */
.faq-list {
  width: 100%; max-width: 800px; margin-top: 44px;
  display: flex; flex-direction: column; gap: 14px; text-align: start;
}
.faq-item {
  border-radius: 22px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--glass-shadow);
  transition: box-shadow .3s var(--ease-glass);
}
.faq-item:hover { box-shadow: var(--glass-shadow-hover); }
.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px;
  letter-spacing: -0.01em; color: var(--ink-900); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .fi {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(11,11,12,0.05); color: var(--ink-900);
  transition: transform .4s var(--ease-glass), background var(--dur-fast), color var(--dur-fast);
}
.faq-item[open] .fi { transform: rotate(180deg); background: var(--ink-900); color: #fff; }
.faq-item .fa { padding: 0 24px 24px; font-size: 15px; max-width: 640px; }
.faq-item[open] .fa { animation: faqIn .4s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ============================================================
   SOCIAL — glass icon buttons (extensible: just add an <a>)
   ============================================================ */
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px; border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-700); text-decoration: none;
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-xs), inset 0 1px 1px rgba(255,255,255,0.9);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), color var(--dur-fast);
}
.social-btn:hover {
  transform: translateY(-3px); color: var(--ink-900);
  box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255,255,255,0.9);
}
.social-btn svg { width: 19px; height: 19px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .stage { width: 400px; height: 400px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 34px; min-height: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: 1fr; gap: 34px; }
  .benefits-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .services-grid, .work-grid, .benefit-cards, .tech-grid, .benefits-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card .n { font-size: 34px; }
  .f-grid { grid-template-columns: 1fr; }
  .stage { width: 320px; height: 320px; }
  .logo-tile { width: 176px; height: 176px; margin: -88px 0 0 -88px; border-radius: 46px; }
  .logo-tile::before { inset: 6px; border-radius: 39px; }
  .logo-tile img { width: 82px; }
  .logo-tile .glass-mark { width: 116px; }
  .orbit.o2 { inset: 38px; }
  .mini-tile { display: none; }
  .hero-visual { min-height: 380px; }
  .cta-inner { padding: 56px 24px; }
  .form-card { padding: 26px 20px; }
  .tech-band { padding: 28px 22px; }
  .sp-included { padding: 26px 22px; }
  .faq-item summary { padding: 18px 20px; font-size: 15.5px; }
  .faq-item .fa { padding: 0 20px 20px; }
}

/* ============================================================
   LARGE SCREENS — desktop → 2K → ultra-wide → 4K
   The layout widens first, type scales gently, and beyond
   2400px the whole interface scales so it reads like a MacBook.
   ============================================================ */
@media (min-width: 1440px) {
  :root { --maxw: 1320px; }
  .yzy-body { font-size: 17px; }
  .hero .lead { font-size: 19px; max-width: 560px; }
  .sec-sub { font-size: 18px; max-width: 640px; }
  .page-head p { font-size: 18.5px; max-width: 680px; }
  .nav-links a { font-size: 15px; }
  .stage { width: 505px; height: 505px; }
  .orbit.o2 { inset: 62px; }
  .stat-card { padding: 32px 24px; }
  .stat-card .n { font-size: 46px; }
  .services-grid, .work-grid { gap: 22px; }
  .why-grid { gap: 64px; }
  .tech-band { padding: 46px; }
  .faq-list { max-width: 860px; }
}
@media (min-width: 1760px) {
  :root { --maxw: 1520px; }
  .hero { padding-top: 76px; }
  .hero h1 { font-size: clamp(56px, 4vw, 80px); }
  .sec-title { font-size: clamp(38px, 3vw, 56px); }
  .page-head h1 { font-size: clamp(44px, 3.6vw, 68px); }
  .why-grid h2 { font-size: clamp(36px, 2.8vw, 50px); }
  .cta-inner { padding: 96px 48px; }
  .cta-inner h2 { font-size: clamp(38px, 3.4vw, 62px); max-width: 900px; }
  .stage { width: 565px; height: 565px; }
  .orbit.o2 { inset: 70px; }
  .logo-tile { width: 276px; height: 276px; margin: -138px 0 0 -138px; border-radius: 70px; }
  .logo-tile::before { inset: 9px; border-radius: 60px; }
  .logo-tile .glass-mark { width: 200px; }
  .stage::after { width: 246px; margin-left: -123px; margin-top: 160px; }
  .svc-card { padding: 32px; }
  .svc-card h3 { font-size: 19px; }
  .svc-card p { font-size: 15px; }
  .benefit-card { padding: 28px; }
  .tech-band { padding: 54px; }
  .footer-grid { padding-top: 74px; }
}
/* 2.5K / QHD and ultra-wide: scale the interface itself */
@media (min-width: 2400px) {
  html { zoom: 1.24; }
}
/* 4K */
@media (min-width: 3400px) {
  html { zoom: 1.62; }
}
