/* ==========================================================
   Zentra — main stylesheet
   ========================================================== */
:root {
  --bg: #050505;
  --bg-2: #0d0d0d;
  --card: #111111;
  --line: #222222;
  --text: #f4f4f0;
  --muted: #8a8a85;
  --lime: #c8ff2e;
  --lime-2: #a6e000;
  --radius: 20px;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.eyebrow {
  font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--lime); margin-bottom: 18px;
}
.sub { color: var(--muted); max-width: 560px; margin: 18px auto 0; }
.sub.left { margin-left: 0; }
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }

/* ---------- buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform .25s, background .25s, color .25s, border-color .25s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lime { background: var(--lime); color: #0a0a0a; }
.btn-lime:hover { background: #dbff6b; }
.btn-ghost { background: transparent; border-color: #333; color: var(--text); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.pill {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem;
  border: 1px solid #333; font-family: var(--mono);
}
.pill-lime { background: var(--lime); color: #000; border-color: var(--lime); }
.link-arrow { color: var(--lime); font-weight: 500; display: inline-flex; gap: 8px; margin-top: 22px; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px max(16px, calc((100% - var(--max)) / 2));
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5,5,5,.72); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand .dot { color: var(--lime); }
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { display: block; height: 44px; width: auto; }
@media (max-width: 600px) { .brand-logo img { height: 34px; } }
/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; background: #000; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-weight: 400; font-size: clamp(2rem, 3.1vw, 2.6rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 760px; }
.badges { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.badge-blue {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  background: #1f6bff; color: #fff; font-weight: 500; font-size: 1rem;
}
.badge-blue svg { width: 20px; height: 20px; }
.badge-dark { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: #1a1a1a; color: var(--lime); font-size: .82rem; }
.kicker { font-size: clamp(.95rem, 1.5vw, 1.3rem); color: var(--lime); margin-top: 30px; letter-spacing: .04em; }
.lead { color: #f0f0ea; max-width: 640px; margin-top: 18px; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; }
.btn-lg { padding: 20px 40px; font-size: 1.05rem; font-weight: 400; }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 75% 115%, #e8ff00 0%, #c8ff2e 22%, rgba(150,200,0,.55) 45%, transparent 70%),
    radial-gradient(90% 55% at 10% 120%, rgba(200,255,46,.85) 0%, transparent 65%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-visual { display: flex; justify-content: flex-end; perspective: 1400px; }

/* Hero visual: a tilted Zentra ERP Suite dashboard with floating industry notifications.
   Sizes use container units so the whole composition scales as one. */
.hv { position: relative; width: min(580px, 44vw); aspect-ratio: 1.12; container-type: inline-size; perspective: 1400px; }
.hv::before { content: ""; position: absolute; inset: 12% 6% 6% 14%; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,46,.22), transparent 65%); filter: blur(30px); }
.hv-panel {
  position: absolute; inset: 9% 2% 11% 9%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 3.4cqw; background: linear-gradient(160deg, #171717 0%, #0b0b0b 70%); border: 1px solid #2c2c2c;
  box-shadow: 0 40px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(200,255,46,.05), inset 0 1px 0 rgba(255,255,255,.06);
  transform: rotateY(-16deg) rotateX(7deg) rotateZ(-1deg); transition: transform .5s ease-out;
  animation: hv-float 8s ease-in-out infinite;
}
@keyframes hv-float { 50% { translate: 0 -1.6cqw; } }
.hv-top { display: flex; align-items: center; gap: 1.6cqw; padding: 2.4cqw 2.8cqw; border-bottom: 1px solid #222; font-size: 2.3cqw; color: #d9d9d4; }
.hv-top img { width: 4.4cqw; height: 4.4cqw; border-radius: 1cqw; }
.hv-top b { font-weight: 500; }
.hv-search { flex: 1; height: 3.6cqw; margin: 0 2cqw; border-radius: 99px; background: #1d1d1d; }
.hv-dots { display: flex; gap: .9cqw; }
.hv-dots i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #333; }
.hv-body { flex: 1; display: grid; grid-template-columns: 8.5cqw 1fr; min-height: 0; }
.hv-side { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; padding: 2.4cqw 0; border-right: 1px solid #1f1f1f; }
.hv-side span { width: 5.2cqw; height: 5.2cqw; border-radius: 1.4cqw; display: grid; place-items: center; color: #7a7a75; }
.hv-side span.on { background: var(--lime); color: #0a0a0a; }
.hv-side svg { width: 2.9cqw; height: 2.9cqw; }
.hv-main { display: flex; flex-direction: column; gap: 2cqw; padding: 2.6cqw; min-width: 0; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.hv-kpis div { padding: 1.8cqw; border-radius: 1.8cqw; background: #151515; border: 1px solid #242424; }
.hv-kpis span { display: block; font-size: 1.75cqw; color: #8a8a85; }
.hv-kpis b { display: block; font: 500 3.6cqw var(--mono); color: #fff; margin-top: .5cqw; }
.hv-kpis em { font-style: normal; font-size: 1.7cqw; color: var(--lime); }
.hv-chart { flex: 1; position: relative; min-height: 0; padding: 1.8cqw; border-radius: 1.8cqw; background: #121212; border: 1px solid #222; display: flex; flex-direction: column; }
.hv-chart > span { font-size: 1.8cqw; color: #8a8a85; }
.hv-chart svg { flex: 1; width: 100%; margin-top: 1.2cqw; overflow: visible; }
.hv-bars rect { fill: #262626; }
.hv-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: hv-draw 2.4s .6s ease forwards; filter: drop-shadow(0 0 4px rgba(200,255,46,.6)); }
@keyframes hv-draw { to { stroke-dashoffset: 0; } }
.hv-flow { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; font-size: 1.8cqw; color: #cfcfca; }
.hv-steps { display: flex; gap: .8cqw; }
.hv-steps i { width: 3.6cqw; height: 1cqw; border-radius: 99px; background: #2a2a2a; }
.hv-steps i.on { background: var(--lime); }
.hv-steps i.cur { background: var(--lime); animation: hv-blink 1.2s ease-in-out infinite; }
@keyframes hv-blink { 50% { opacity: .3; } }
.hv-card {
  position: absolute; display: flex; align-items: center; gap: 2cqw; padding: 2cqw 2.6cqw 2cqw 2cqw; border-radius: 2.6cqw;
  background: rgba(18,18,18,.86); border: 1px solid #333; backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,.5);
  animation: hv-bob 6s ease-in-out infinite; transition: translate .5s ease-out; z-index: 2;
}
.hv-card b { display: block; font-size: 2.3cqw; font-weight: 500; color: #fff; white-space: nowrap; }
.hv-card small { display: block; font: 1.8cqw var(--mono); color: #9a9a95; margin-top: .4cqw; white-space: nowrap; }
.hv-ic { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #0a0a0a; flex-shrink: 0; }
.hv-ic svg { width: 3.4cqw; height: 3.4cqw; }
.hv-c1 { top: 1%; left: -4%; }
.hv-c2 { top: 46%; right: -6%; animation-delay: -2s; }
.hv-c2 .hv-ic { background: #ff8a3d; }
.hv-c3 { bottom: 1%; left: 4%; animation-delay: -4s; }
.hv-c3 .hv-ic { background: #ffd400; }
@keyframes hv-bob { 50% { transform: translateY(-1.4cqw); } }
.hv-badge { position: absolute; z-index: 2; top: 3%; right: 2%; font-size: 1.9cqw; letter-spacing: .08em; text-transform: uppercase; color: #0a0a0a; background: var(--lime); padding: 1.2cqw 2.2cqw; border-radius: 99px; box-shadow: 0 10px 30px rgba(200,255,46,.35); }
@media (prefers-reduced-motion: reduce) { .hv-panel, .hv-card, .hv-steps i.cur { animation: none; } .hv-line { animation: none; stroke-dashoffset: 0; } }

/* ---------- approach ---------- */
.approach .sub { color: #e7e7e2; }
.approach-wrap { width: min(1240px, 100% - 32px); }
.approach-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 40px); margin-top: 96px; }
.step { outline: none; }
.step-art {
  position: relative; aspect-ratio: 1; border: 1px solid #3a3a3a; border-radius: 14px; overflow: hidden; background: #000;
  transition: border-color .35s, transform .35s;
}
/* dashed grid lines behind each illustration */
.step-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='68'%3E%3Cpath d='M0 .5H68M.5 0V68' stroke='%23303030' stroke-dasharray='3 3' fill='none'/%3E%3C/svg%3E");
  background-position: 34px 34px;
}
.step-art svg { position: absolute; inset: 13%; width: 74%; height: 74%; color: #e7e7e2; transition: color .35s, transform .5s; }
.step-art .acc { fill: var(--lime); stroke: none; }
.step-art .acc-s { stroke: var(--lime); }
.step:hover .step-art, .step:focus-visible .step-art { border-color: var(--lime); transform: translateY(-4px); }
.step:hover .step-art svg, .step:focus-visible .step-art svg { color: var(--lime); transform: scale(1.04); }
.step-copy { padding: 20px 2px 0; }
.step-label { font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.step-label span { opacity: .55; margin-right: 6px; }
.step-text { color: #d9d9d4; font-size: .95rem; line-height: 1.6; margin-top: 10px; }

/* ---------- stats ---------- */
.stats { display: flex; flex-direction: column; gap: 22px; margin-top: 64px; }
.stats-row { display: grid; grid-template-columns: 1.9fr 1fr; gap: 22px; }
.stats-row-b { grid-template-columns: 1fr 1.9fr; }
.stat-card {
  border: 1px solid #3a3a3a; border-radius: 14px; background: #000; overflow: hidden;
  display: flex; flex-direction: column; padding: 36px 32px 0; min-height: 470px;
  transition: border-color .3s;
}
.stat-card:hover { border-color: #5a5a5a; }
.stat-num { font-size: clamp(2.8rem, 4.6vw, 3.6rem); line-height: 1; font-weight: 400; }
.stat-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; margin: 26px 0 14px; }
.stat-card p { font-size: .95rem; color: #e7e7e2; max-width: 680px; }
.stat-viz { position: relative; flex: 1; margin: 28px -32px 0; min-height: 210px; }
.grid-bg {
  background-image:
    repeating-linear-gradient(90deg, #2a2a2a 0 1px, transparent 1px 62px),
    repeating-linear-gradient(0deg, #2a2a2a 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(transparent, #000 25%);
          mask-image: linear-gradient(transparent, #000 25%);
}
.grid-bg > * { -webkit-mask-image: none; mask-image: none; }
.chart { position: absolute; inset: 0 32px 16px; width: calc(100% - 64px); height: calc(100% - 16px); color: var(--lime); overflow: visible; }
.chart-line { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.8s ease; }
.stat-card.in .chart-line { stroke-dashoffset: 0; }
.chart-pts g { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; transition-delay: calc(.3s + var(--i) * .25s); }
.stat-card.in .chart-pts g { opacity: 1; transform: none; }
.chart-pts circle { fill: var(--lime); }
.chart-pts rect { fill: #262626; }
.chart-pts text { fill: var(--lime); font: 600 11px var(--mono); text-anchor: middle; }
.center-viz { display: flex; align-items: center; justify-content: center; padding: 0 32px; }
.session-box {
  width: 100%; padding: 22px; border-radius: 14px; background: #1c1c1c; text-align: center;
  font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1;
}
.session-box small { font-size: .5em; margin-left: 2px; }
.tiles { position: absolute; left: 32px; right: 32px; bottom: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  height: 70px; border-radius: 12px; background: #1c1c1c; display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #e7e7e2; transition: background .3s, color .3s, transform .3s;
}
.tile svg { width: 22px; height: 22px; }
.tile span { font-size: .75rem; opacity: 0; max-width: 0; overflow: hidden; transition: opacity .3s, max-width .3s; }
.tile:hover { background: var(--lime); color: #000; transform: translateY(-3px); }
.tile:hover span { opacity: 1; max-width: 120px; }
.logos-viz { display: flex; align-items: flex-end; }
.marquee { width: 100%; overflow: hidden; padding-bottom: 26px; -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; gap: 64px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
.logo { font-size: 2rem; color: #9a9a95; white-space: nowrap; transition: color .3s; }
.logo:hover { color: #fff; }
.l1 { font-weight: 700; letter-spacing: .06em; }
.l2 { font-style: italic; font-weight: 300; }
.l3 { font-family: var(--mono); font-weight: 500; letter-spacing: .2em; }
.l4 { font-weight: 600; letter-spacing: -.04em; }
.l5 { font-weight: 300; letter-spacing: .12em; }
.l6 { font-weight: 700; text-transform: lowercase; }

/* ---------- products: ERP modules (stacking cards) ---------- */
@media (min-width: 768px) { .stack-12 .stack-card { top: calc(100px + var(--i) * 7px); } }
@media (max-width: 767px) { .stack-12 .project-media { aspect-ratio: auto; padding: 32px 0; } .stack-12 .ui-panel { width: 86%; } }
/* real product screenshot in a card */
.project-media.has-shot { padding: 5%; align-items: center; }
.shot {
  margin: 0; width: 100%; border-radius: 14px; overflow: hidden; background: #0d1117; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px rgba(0,0,0,.55); transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .6s;
}
.project:hover .shot { transform: none; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #161b22; border-bottom: 1px solid #222a33; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span { margin-inline-start: 10px; font-size: .68rem; color: #8b949e; }
.shot img { display: block; width: 100%; height: auto; }
.mm1 { background: radial-gradient(circle at 80% 90%, rgba(200,255,46,.55), transparent 55%), linear-gradient(135deg, #1a1a1a, #0b0b0b); }
.mm2 { background: radial-gradient(circle at 20% 15%, rgba(61,107,255,.6), transparent 55%), linear-gradient(135deg, #121a33, #07090f); }
.mm3 { background: radial-gradient(circle at 50% 50%, #ff8a3d, #b6400c 60%, #3d1200); }
.mm4 { background: radial-gradient(circle at 50% 40%, #3b3b3b, #121212 70%); }
.mm5 { background: linear-gradient(135deg, #c8ff2e, #7fb800); }
.mm6 { background: radial-gradient(circle at 75% 20%, rgba(158,240,255,.45), transparent 55%), linear-gradient(135deg, #0f2a2e, #061214); }
.ui-panel {
  width: min(78%, 420px); padding: 22px 22px 18px; border-radius: 18px; background: rgba(10,10,10,.82);
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px rgba(0,0,0,.45); backdrop-filter: blur(8px);
  transform: rotate(-3deg); transition: transform .5s; font-size: clamp(.72rem, 1vw, .86rem);
}
.stack-card:nth-child(even) .ui-panel { transform: rotate(3deg); }
.project:hover .ui-panel { transform: rotate(0); }
.ui-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #262626; }
.ui-head b { font-weight: 500; font-size: 1.05em; }
.ui-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--lime); color: #0a0a0a; display: grid; place-items: center; flex-shrink: 0; }
.ui-icon svg { width: 18px; height: 18px; }
.ui-dots { margin-inline-start: auto; display: flex; gap: 5px; }
.ui-dots i { width: 7px; height: 7px; border-radius: 50%; background: #333; }
.ui-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.ui-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #161616; color: #e7e7e2; }
.ui-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.ui-removes { margin-top: 12px; color: var(--muted); line-height: 1.45; font-size: .92em; }
.ui-removes .mono { color: var(--lime); text-transform: uppercase; letter-spacing: .14em; font-size: .8em; }
@media (min-width: 768px) and (max-height: 820px) { .ui-list li:nth-child(n+5) { display: none; } }
.flow { margin-top: 72px; padding: clamp(28px, 4vw, 48px); border: 1px solid #2a2a2a; border-radius: var(--radius); background: #0b0b0b; }
.flow-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; }
.flow-head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 400; }
.flow-head p { color: var(--muted); font-size: .95rem; }
.flow-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.flow-steps li { position: relative; padding: 18px 16px; border-radius: 14px; background: #161616; border: 1px solid #262626; }
.flow-steps li:nth-child(4) { background: var(--lime); border-color: var(--lime); color: #0a0a0a; }
.flow-steps li:nth-child(4) span { color: #0a0a0a; opacity: .7; }
.flow-steps span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.flow-steps b { font-weight: 500; font-size: 1rem; }
.flow-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -10px; width: 8px; height: 8px; z-index: 1;
  border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); transform: translateY(-50%) rotate(45deg);
}
[dir="rtl"] .flow-steps li:not(:last-child)::after { right: auto; left: -10px; transform: translateY(-50%) rotate(-135deg); }
@media (max-width: 991px) {
  .flow-head { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(4, 1fr); }
  .flow-steps li:nth-child(4)::after { display: none; }
}
@media (max-width: 600px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-steps li::after { display: none; }
}

/* ---------- projects ---------- */
.projects { display: flex; flex-direction: column; gap: 28px; margin-top: 64px; }
.project {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  padding: 36px; border-radius: 32px; background: #161616; border: 1px solid #262626;
  box-shadow: 0 -20px 50px rgba(0,0,0,.55);
}
.project-count { position: absolute; top: 28px; left: 36px; direction: ltr; unicode-bidi: isolate; font-size: .78rem; color: var(--muted); letter-spacing: .12em; }
[dir="rtl"] .project-count { left: auto; right: 36px; }
.project-copy { padding-top: 24px; }
.project .link-arrow { margin-top: 28px; padding: 14px 24px; border-radius: 999px; background: var(--lime); color: #0a0a0a; }
/* Stacking cards: each card pins a little lower than the one before; earlier cards shrink and darken behind it */
@media (min-width: 768px) {
  .stack { gap: 40px; padding-bottom: 40px; }
  .stack-card {
    position: sticky; top: calc(108px + var(--i) * 18px);
    height: min(580px, calc(100vh - 200px)); min-height: 440px;
    transform-origin: 50% 0; will-change: transform;
  }
  .stack-card .project-media { height: 100%; aspect-ratio: auto; }
  .stack-card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; pointer-events: none;
    opacity: var(--shade, 0); transition: opacity .1s linear;
  }
}
.tags { display: flex; gap: 6px; margin-bottom: 16px; }
.tag { font-family: var(--mono); font-size: .7rem; padding: 4px 10px; border-radius: 999px; background: #1c1c1c; color: #cfcfca; text-transform: uppercase; }
.project h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.tagline { font-size: .78rem; color: var(--lime); margin: 12px 0 14px; }
.project-media {
  aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.m1 { background: radial-gradient(circle at 80% 90%, rgba(200,255,46,.6), transparent 55%), linear-gradient(135deg, #1a1a1a, #0b0b0b); }
.m2 { background: radial-gradient(circle at 50% 50%, #ff8a3d, #b6400c 60%, #3d1200); }
.m3 { background: linear-gradient(135deg, #ff7a3c, #ff5a1f); }
.m4 { background: radial-gradient(circle at 50% 40%, #3b3b3b, #121212 70%); }
.m5 { background: repeating-linear-gradient(90deg, #b3121b 0 40px, #8d0c13 40px 80px); }

.phone {
  width: 34%; aspect-ratio: 9 / 18; border-radius: 26px; background: #0b0b0b;
  border: 6px solid #2a2a2a; box-shadow: 0 30px 60px rgba(0,0,0,.6); transform: rotate(-8deg);
  padding: 14px 10px; display: flex;
}
.phone-screen { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; width: 100%; font-size: clamp(.5rem, 1vw, .7rem); }
.chat { padding: 6px 9px; border-radius: 12px; max-width: 88%; }
.chat.in { background: #222; align-self: flex-start; }
.chat.out { background: var(--lime); color: #000; align-self: flex-end; }
.ball {
  width: 40%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffb27a, #e25b12 55%, #6b2100);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  position: relative; animation: float 5s ease-in-out infinite;
}
.ball::before, .ball::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(0,0,0,.45); }
.ball::before { clip-path: inset(0 48% 0 48%); }
.ball::after { transform: scaleX(.45); }
.menu-card {
  background: #fff; color: #111; border-radius: 18px; padding: 22px 26px; width: 46%;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.25); transform: rotate(4deg);
  font-size: clamp(.7rem, 1.2vw, .95rem);
}
.menu-card b { font-size: 1.3em; border-bottom: 2px solid var(--lime); padding-bottom: 6px; }
.cube { width: 110px; height: 110px; position: relative; transform-style: preserve-3d; animation: cube 12s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1px solid var(--lime); background: rgba(200,255,46,.08); }
.cube i:nth-child(1) { transform: translateZ(55px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(55px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(55px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(55px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(55px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(55px); }
@keyframes cube { to { transform: rotateX(360deg) rotateY(720deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }
.swatches { display: flex; gap: 14px; background: rgba(0,0,0,.55); padding: 16px 20px; border-radius: 999px; backdrop-filter: blur(6px); }
.swatches i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; }
.swatches i:nth-child(1) { background: var(--lime); }
.swatches i:nth-child(2) { background: #f4f4f0; }
.swatches i:nth-child(3) { background: #111; }
.swatches i:nth-child(4) { background: #3d6bff; }

/* ---------- services (sticky left, scrolling right) ---------- */
.service {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start;
  padding: 80px 0; border-top: 1px solid var(--line);
}
.service:first-of-type { margin-top: 64px; }
.service-head { position: sticky; top: 120px; }
.service-num { font-family: var(--mono); font-size: 1.1rem; display: block; margin-bottom: 14px; }
.service-head h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.service-head .btn { margin-top: 26px; }
.service-list { padding-inline-start: clamp(0px, 6vw, 120px); padding-top: 8px; }
.svc-item { border-bottom: 1px solid var(--line); }
.svc-item:first-child { border-top: 1px solid var(--line); }
.svc-item h4 { margin: 0; }
.svc-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 30px 0; background: none; border: 0; color: var(--text); cursor: pointer; text-align: start;
  font: 500 1.3rem var(--sans); transition: color .3s;
}
.svc-toggle:hover { color: var(--lime); }
.svc-mark {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--lime); font: 400 1.4rem var(--mono); background: #151515; transition: transform .4s, background .3s, color .3s;
}
.svc-item.open .svc-mark { transform: rotate(45deg); background: var(--lime); color: #000; }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.svc-body > div { overflow: hidden; }
.svc-item.open .svc-body { grid-template-rows: 1fr; }
.svc-item p { color: var(--muted); max-width: 560px; font-size: 1.05rem; padding-bottom: 30px; }
details { border-bottom: 1px solid var(--line); }
details summary {
  list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px;
  font-size: 1.05rem; font-weight: 500;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--mono); color: var(--lime); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 20px; max-width: 520px; }

/* ---------- lab ---------- */
.lab { background: var(--lime); color: #0a0a0a; padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.lab-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.lab-tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(0,0,0,.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 28px; }
.lab-title { font-size: clamp(3.4rem, 11vw, 8.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: .9; display: flex; align-items: center; justify-content: center; gap: .12em; flex-wrap: wrap; }
.lab-sep { font-weight: 200; opacity: .45; }
.lab-word { font-weight: 300; }
.lab-sub { max-width: 720px; margin-top: 28px; font-size: 1.1rem; line-height: 1.6; }
.lab-stage { width: min(1400px, 100% - 32px); margin: clamp(56px, 8vw, 96px) auto 0; perspective: 1600px; }
.lab-device {
  transform-origin: 50% 100%;
  transform: rotateX(var(--tilt, 28deg)) scale(var(--zoom, .9));
  border-radius: 28px; padding: 12px; background: #111;
  box-shadow: 0 50px 100px rgba(0,0,0,.35), inset 0 0 0 1px #2a2a2a;
}
.browser { border-radius: 18px; overflow: hidden; background: #0b0b0b; }
.browser-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 16px; background: #1a1a1a; border-bottom: 1px solid #262626; color: #9a9a95; }
.bar-left, .bar-right { display: flex; align-items: center; gap: 14px; }
.bar-right { justify-content: flex-end; }
.lights { display: flex; gap: 7px; margin-right: 6px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.bar-icon { width: 20px; height: 20px; display: grid; place-items: center; }
.bar-icon svg { width: 18px; height: 18px; }
.bar-icon.dim { opacity: .4; }
.bar-url { display: flex; align-items: center; gap: 8px; justify-content: center; min-width: min(380px, 40vw); padding: 7px 16px; border-radius: 9px; background: #262626; color: #d6d6d0; font-size: .8rem; }
.bar-url svg { width: 12px; height: 12px; color: #9a9a95; }
.browser-body { position: relative; overflow: hidden; background: #050505; }
/* industry player inside the browser mockup */
.ind-player { display: grid; grid-template-rows: auto 1fr auto; place-items: stretch; cursor: default; aspect-ratio: 16 / 8.4; }
.ip-tabs { display: flex; justify-content: center; gap: 10px; padding: 16px 16px 6px; flex-wrap: wrap; }
.ip-tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: #151515; border: 1px solid #2c2c2c; color: #cfcfca; font: 500 .92rem var(--sans); transition: background .25s, color .25s, border-color .25s;
}
.ip-tab svg { width: 18px; height: 18px; }
.ip-tab:hover { border-color: var(--lime); color: #fff; }
.ip-tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: #0a0a0a; }
.ip-stage { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; padding: 10px 16px; min-height: 0; }
.ip-scene { position: relative; border-radius: 14px; border: 1px solid #222; overflow: hidden; min-height: 0;
  background: radial-gradient(circle at 50% 120%, rgba(200,255,46,.12), transparent 60%), #070707; }
.ip-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ip-live { position: absolute; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .12em;
  color: #e7e7e2; background: rgba(0,0,0,.6); padding: 5px 10px; border-radius: 999px; text-transform: uppercase; }
.ip-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: ipblink 1.2s infinite; }
.ind-player.paused .ip-live i { animation: none; opacity: .4; }
@keyframes ipblink { 50% { opacity: .2; } }
.ip-app { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 14px; border-radius: 14px; background: #0f0f0f; border: 1px solid #222; color: var(--text); }
.ip-app-head { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #9a9a95; }
.ip-app-head img { width: 26px; height: 26px; border-radius: 7px; }
.ip-app-head b { margin-inline-start: auto; font-weight: 500; color: var(--lime); font-size: .78rem; text-align: end; }
.ip-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ip-kpi { padding: 10px; border-radius: 10px; background: #171717; border: 1px solid #252525; }
.ip-kpi b { display: block; font: 500 clamp(1rem, 1.6vw, 1.35rem) var(--mono); color: #fff; }
.ip-kpi span { display: block; font-size: .7rem; color: #8a8a85; margin-top: 2px; line-height: 1.3; }
.ip-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; overflow: hidden; min-height: 0; flex: 1; }
.ip-feed li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: #151515; font-size: .8rem; color: #d9d9d4; }
.ip-feed li:first-child { border: 1px solid rgba(200,255,46,.4); }
.ip-feed li.new { animation: ipin .45s ease; }
@keyframes ipin { from { opacity: 0; transform: translateY(-8px); } }
.ip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.ip-ev { flex: 1; min-width: 0; }
.ip-ts { font-size: .68rem; color: #6a6a66; }
.ip-controls { display: flex; align-items: center; gap: 14px; padding: 8px 18px 16px; }
.ip-play { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--lime); color: #0a0a0a; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.ip-play svg { width: 16px; height: 16px; }
.ip-play .i-play, .ind-player.paused .ip-play .i-pause { display: none; }
.ind-player.paused .ip-play .i-play { display: block; }
.ip-progress { flex: 1; height: 4px; border-radius: 4px; background: #262626; overflow: hidden; }
.ip-progress i { display: block; height: 100%; width: 0; background: var(--lime); }
.ip-time { font-size: .72rem; color: #8a8a85; }
.lab-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; text-align: center; }
.lab-cta p { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; }
.lab-cta .btn { background: #0a0a0a; color: var(--lime); }
.lab-cta .btn:hover { background: #222; }
@media (max-width: 900px) {
  .ind-player { aspect-ratio: auto; }
  .ip-stage { grid-template-columns: 1fr; }
  .ip-scene { height: 260px; }
}
@media (max-width: 600px) {
  .ip-tab { padding: 8px 12px; font-size: .82rem; }
  .ip-scene { height: 210px; }
  .ip-stage { padding: 8px 10px; }
  .ip-feed li:nth-child(n+4) { display: none; }
}

/* ---------- faq ---------- */
.faq-wrap { max-width: 1040px; }
.faq-list { display: flex; flex-direction: column; gap: 24px; margin-top: 72px; }
.faq-item {
  background: #1a1a1a; border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  transition: border-color .3s ease, background .3s ease;
}
.faq-item:hover { border-color: rgba(200,255,46,.5); }
.faq-item.open { border-color: rgba(200,255,46,.5); background: #1d1d1d; }
.faq-q { margin: 0; font: inherit; }
.faq-toggle {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--text); text-align: start; font: 400 1.2rem/1.5 var(--sans);
}
.faq-q-text { flex: 1; padding: 22px 24px; }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; margin: 0 26px; }
.faq-icon i { position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: var(--lime); border-radius: 2px; transition: transform .35s ease, opacity .35s ease; }
.faq-icon i:first-child { transform: rotate(90deg); }
.faq-item.open .faq-icon i:first-child { transform: rotate(0deg); opacity: 0; }
.faq-item.open .faq-icon i:last-child { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { margin: 0 24px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 24px; }
.faq-a-inner p { color: #cfcfca; font-size: 1rem; line-height: 1.7; max-width: 820px; }

/* ---------- booking ---------- */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cta { background: radial-gradient(ellipse at 50% 0%, rgba(200,255,46,.12), transparent 60%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.booking {
  --bk-line: #2c2c2c;
  display: grid; grid-template-columns: 280px 1fr 280px; margin: 56px auto 0; max-width: 1040px; min-height: 490px;
  background: #1a1a1a; border: 1px solid var(--bk-line); border-radius: 10px; text-align: start; overflow: hidden;
  font-size: .9rem;
}
.booking[data-step="form"], .booking[data-step="done"] { grid-template-columns: 280px 1fr; }
.booking[data-step="form"] .bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; align-content: start; padding: 26px 32px; }
.bk-form .span-2 { grid-column: 1 / -1; }
.booking[data-step="form"] .bk-cal, .booking[data-step="form"] .bk-slots,
.booking[data-step="done"] .bk-cal, .booking[data-step="done"] .bk-slots, .booking[data-step="done"] .bk-form { display: none; }
.booking:not([data-step="form"]) .bk-form, .booking:not([data-step="done"]) .bk-done { display: none; }

.bk-info { padding: 24px; border-right: 1px solid var(--bk-line); }
.bk-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: #000; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.bk-host { color: #9a9a95; margin-top: 10px; font-weight: 500; }
.bk-info h3 { font-size: 1.35rem; font-weight: 600; margin: 6px 0 10px; letter-spacing: -.01em; }
.bk-desc { color: #e5e5e0; line-height: 1.5; }
.bk-meta { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; font-weight: 500; }
.bk-meta li { display: flex; align-items: flex-start; gap: 10px; }
.bk-meta svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.bk-meta select { background: transparent; color: var(--text); border: 0; font: inherit; cursor: pointer; padding: 0; max-width: 200px; }
.bk-meta select option { background: #1a1a1a; }

.bk-cal { padding: 24px 22px; border-right: 1px solid var(--bk-line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cal-title { font-weight: 600; font-size: 1.05rem; }
.cal-title span { color: #9a9a95; font-weight: 400; }
.cal-arrows { display: flex; gap: 4px; }
.cal-nav { width: 30px; height: 30px; border-radius: 6px; border: 0; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-nav:hover:not(:disabled) { background: #2a2a2a; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: #e5e5e0; padding-bottom: 10px; }
.cal-grid .day {
  position: relative; aspect-ratio: 1; border: 0; border-radius: 6px; background: transparent; color: #8a8a85;
  font: 500 .9rem var(--sans); cursor: default;
}
.cal-grid .day.avail { background: #2f2f2f; color: #fff; cursor: pointer; font-weight: 600; transition: background .2s, outline-color .2s; }
.cal-grid .day.avail:hover { outline: 1.5px solid var(--lime); }
.cal-grid .day.sel { background: var(--lime); color: #000; }
.cal-grid .day.today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lime); }
.cal-grid .day.sel.today::after { background: #000; }
.cal-grid .day .mon { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: .58rem; font-weight: 700; background: #2f2f2f; color: #cfcfca; padding: 1px 5px; border-radius: 4px; }

.bk-slots { padding: 22px 18px; display: flex; flex-direction: column; min-height: 0; }
.slots-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.slot-date { font-weight: 600; }
.slot-date span { color: #9a9a95; font-weight: 400; }
.fmt-toggle { display: flex; padding: 2px; border: 1px solid var(--bk-line); border-radius: 6px; }
.fmt-toggle button { border: 0; background: transparent; color: #9a9a95; font: 600 .78rem var(--sans); padding: 3px 7px; border-radius: 4px; cursor: pointer; }
.fmt-toggle button.on { background: #2f2f2f; color: #fff; }
.slot-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 400px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.slot-list button {
  flex: none; background: transparent; border: 1px solid #3a3a3a; color: var(--text); border-radius: 6px;
  padding: 9px; font: 600 .9rem var(--sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.slot-list button:hover, .slot-list button:focus-visible { border-color: var(--lime); }
.slot-list .empty { color: #9a9a95; text-align: center; padding: 30px 0; }

.bk-form { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bk-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .88rem; }
.bk-form .lbl i { font-style: normal; color: #9a9a95; }
.bk-meta li[hidden] { display: none; }
.bk-form input, .bk-form select, .bk-form textarea {
  width: 100%; background: #111; border: 1px solid #333; border-radius: 7px; color: var(--text);
  padding: 9px 12px; font: 400 .9rem var(--sans); transition: border-color .2s;
}
.bk-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%239a9a95' stroke-width='2.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.bk-form textarea { resize: vertical; min-height: 110px; }
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus { outline: none; border-color: var(--lime); }
.bk-form .invalid { border-color: #ff6b6b; }
.add-guests { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #cfcfca; font: 500 .88rem var(--sans); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.add-guests:hover { background: #262626; }
.add-guests svg { width: 16px; height: 16px; }
.bk-legal { color: #9a9a95; font-size: .78rem; margin-top: 6px; }
.bk-legal a { color: #fff; font-weight: 600; }
.bk-error { color: #ff8a8a; font-size: .82rem; min-height: 1em; }
.bk-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.bk-back { background: none; border: 0; color: #cfcfca; font: 500 .9rem var(--sans); padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.bk-back:hover { background: #262626; }
.bk-actions .btn { border-radius: 7px; padding: 9px 16px; }

.bk-done { padding: 40px 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; outline: none; }
.done-check { width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: #000; display: grid; place-items: center; }
.done-check svg { width: 24px; height: 24px; }
.bk-done h3 { font-size: 1.5rem; font-weight: 600; }
.done-summary { color: #e5e5e0; line-height: 1.6; }
.bk-done .btn { margin-top: 10px; }

@media (max-width: 991px) {
  .booking, .booking[data-step="form"], .booking[data-step="done"] { grid-template-columns: 1fr; max-width: 560px; }
  .booking[data-step="form"] .bk-form { grid-template-columns: 1fr; padding: 22px; }
  .bk-info, .bk-cal { border-right: 0; border-bottom: 1px solid var(--bk-line); }
  .slot-list { max-height: 300px; }
}

/* ---------- footer ---------- */
.footer { background: var(--lime); color: #0a0a0a; padding-top: 80px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.footer-lead { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.1; }
.footer-mail { display: inline-block; margin-top: 18px; font-size: 1.2rem; border-bottom: 2px solid #0a0a0a; }
.footer-tel { display: block; width: fit-content; margin-top: 10px; font-size: 1.2rem; border-bottom: 2px solid #0a0a0a; }
.footer-logo { display: inline-block; margin-bottom: 28px; }
.footer-ebook { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 18px 10px 10px; border-radius: 999px; background: #0a0a0a; color: var(--lime); font-weight: 500; transition: transform .25s; }
.footer-ebook:hover { transform: translateY(-2px); }
.fe-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: #0a0a0a; display: grid; place-items: center; }
.fe-icon svg { width: 18px; height: 18px; }
.footer-logo img { display: block; height: 56px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols p { opacity: .6; margin-bottom: 6px; }
.footer-cols a:hover { text-decoration: underline; }
.footer-cols > div:first-child { grid-row: span 2; }
.footer-cols .footer-address { grid-column: 2 / span 2; align-self: start; margin-top: 8px; }
.footer-address address {
  display: flex; align-items: center; gap: 16px; font-style: normal; line-height: 1.5;
  padding: 16px 20px 16px 16px; border: 1.5px solid rgba(10,10,10,.35); border-radius: 18px; width: fit-content;
  transition: border-color .25s, background .25s;
}
.addr-link { display: block; width: fit-content; }
.addr-link:hover address, .footer-address address:hover { border-color: #0a0a0a; background: rgba(10,10,10,.05); }
.addr-icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #0a0a0a; display: grid; place-items: center; flex-shrink: 0; }
.addr-icon svg { width: 22px; height: 22px; }
.footer-address address span { font-size: 1rem; }
.footer-address address b { font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.2); }
.footer-word {
  font-size: clamp(5rem, 22vw, 20rem); font-weight: 700; letter-spacing: -0.06em; line-height: .8;
  text-align: center; margin-top: 40px; white-space: nowrap; transform: translateY(8%);
}

/* ---------- header controls ---------- */
.nav-right { display: flex; align-items: center; gap: clamp(16px, 4vw, 56px); margin-left: auto; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 12px;
  background: transparent; border: 0; color: var(--text); font: 500 1rem var(--sans); cursor: pointer;
  transition: background .25s;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: #1c1c1c; }
.menu-icon { width: 18px; height: 18px; fill: currentColor; transition: transform .35s; }
.menu-btn:hover .menu-icon { transform: rotate(90deg); }
.nav-clock { color: var(--lime); font-size: 1rem; white-space: nowrap; }
.nav-launch {
  width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: #0a0a0a;
  display: grid; place-items: center; transition: transform .3s, box-shadow .3s;
}
.nav-launch svg { width: 24px; height: 24px; transition: transform .4s; }
.nav-launch:hover { transform: scale(1.06); box-shadow: 0 0 30px rgba(200,255,46,.45); }
.nav-launch:hover svg { transform: translate(2px, -2px) rotate(-8deg); }

.nav-call {
  position: relative; width: 52px; height: 52px; border-radius: 50%; background: #1c1c1c; color: var(--lime);
  border: 1px solid #2f2f2f; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s;
}
.nav-call svg { width: 22px; height: 22px; }
.nav-call:hover { background: var(--lime); color: #0a0a0a; transform: scale(1.06); }
.nav-call:hover svg { animation: ring .6s ease-in-out; }
@keyframes ring { 20%, 60% { transform: rotate(-14deg); } 40%, 80% { transform: rotate(14deg); } }
.nav-ebook {
  position: relative; width: 52px; height: 52px; border-radius: 50%; background: #1c1c1c; color: var(--lime);
  border: 1px solid #2f2f2f; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s;
}
.nav-ebook svg { width: 22px; height: 22px; }
.nav-ebook:hover { background: var(--lime); color: #0a0a0a; transform: scale(1.06); }
.nav-ebook:hover .call-tip, .nav-ebook:focus-visible .call-tip { opacity: 1; transform: none; }
.nav-right .nav-launch + .nav-ebook, .nav-right .nav-ebook + .nav-call { margin-inline-start: calc(12px - clamp(16px, 4vw, 56px)); }
.call-tip {
  position: absolute; top: calc(100% + 12px); right: 0; width: max-content; display: flex; flex-direction: column; gap: 4px;
  background: #151515; border: 1px solid #2a2a2a; border-radius: 12px; padding: 12px 14px; color: var(--text); font-size: .78rem; text-align: start;
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.call-tip b { font-size: .9rem; color: var(--lime); }
.call-tip small { color: #9a9a95; font-size: .72rem; }
.call-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: #777; }
.call-status.open::before { background: var(--lime); }
.nav-call:hover .call-tip, .nav-call:focus-visible .call-tip { opacity: 1; transform: none; }

/* ---------- menu modal ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay.open { opacity: 1; }
.menu-panel {
  width: min(750px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column;
  background: #1c1c1c; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6);
  transform: translateY(24px) scale(.97); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.menu-overlay.open .menu-panel { transform: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; padding: 30px 30px 24px; border-bottom: 1px solid #2c2c2c; }
.menu-title { font-size: 1.2rem; font-weight: 400; letter-spacing: 0; }
.menu-close {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: #2a2a2a; color: var(--lime);
  display: grid; place-items: center; cursor: pointer; transition: transform .3s, background .3s;
}
.menu-close svg { width: 22px; height: 22px; }
.menu-close:hover { transform: rotate(90deg); background: #333; }
.menu-body { padding: 20px 20px 16px; overflow-y: auto; }
.menu-label { color: var(--lime); font-size: .8rem; letter-spacing: .04em; margin-bottom: 8px; }
.menu-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 16px; border-radius: 12px; transition: background .25s, padding .25s;
  opacity: 0; transform: translateY(10px);
}
.menu-overlay.open .menu-link { opacity: 1; transform: none; transition: opacity .4s, transform .4s, background .25s, padding .25s; }
.menu-link span { font-size: 1.25rem; }
.menu-link small { color: var(--muted); font-size: .95rem; text-align: end; }
.menu-link:hover { background: #262626; padding-inline-start: 24px; }
.menu-link:hover span { color: var(--lime); }
.menu-foot { display: flex; justify-content: space-between; align-items: center; padding: 26px 38px 34px; border-top: 1px solid #2c2c2c; }
.menu-foot .brand { font-size: 1.5rem; font-weight: 500; }
.menu-logo { display: block; height: 34px; width: auto; }
body.no-scroll { overflow: hidden; }

/* ---------- language switcher ---------- */
.lang { position: fixed; left: 0; bottom: 14px; z-index: 60; }
.lang-btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 24px; border: 0; cursor: pointer;
  background: #e9ffb0; color: #0a0a0a; font: 500 1rem var(--sans); border-radius: 0 10px 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: background .25s;
}
.lang-btn:hover { background: var(--lime); }
.lang-list {
  position: absolute; left: 8px; bottom: calc(100% + 8px); list-style: none; margin: 0; padding: 6px;
  background: #151515; border: 1px solid #2a2a2a; border-radius: 14px; min-width: 190px; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.lang-list[hidden] { display: none; }
.lang-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.lang-list li:hover, .lang-list li:focus { background: #222; outline: none; }
.lang-list li[aria-selected="true"] { color: var(--lime); }
.flag { width: 22px; height: 22px; border-radius: 50%; flex: none; overflow: hidden; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.flag[data-flag="en"] { background:
  linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
  linear-gradient(0deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
  linear-gradient(90deg, transparent 34%, #fff 34% 66%, transparent 66%),
  linear-gradient(0deg, transparent 34%, #fff 34% 66%, transparent 66%),
  linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%),
  linear-gradient(-45deg, transparent 45%, #fff 45% 55%, transparent 55%), #012169; }
.flag[data-flag="ur"] { background: radial-gradient(circle at 62% 50%, #01411c 22%, transparent 23%), radial-gradient(circle at 55% 50%, #fff 28%, transparent 29%), linear-gradient(90deg, #fff 25%, #01411c 25%); }
.flag[data-flag="ar"] { background: linear-gradient(#006c35, #006c35); }
.flag[data-flag="de"] { background: linear-gradient(#000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag[data-flag="fr"] { background: linear-gradient(90deg, #002395 33.3%, #fff 33.3% 66.6%, #ed2939 66.6%); }

/* ---------- chat widget ---------- */
.chat-widget { position: fixed; right: 16px; bottom: 14px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-btn {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 22px; border: 0; cursor: pointer;
  background: #e9ffb0; color: #0a0a0a; font: 500 1.1rem var(--sans); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: background .25s, transform .25s;
}
.chat-btn:hover { background: var(--lime); transform: translateY(-2px); }
.chat-toggle { width: 38px; height: 22px; border-radius: 999px; background: #0a0a0a; position: relative; transition: background .3s; }
.chat-toggle i {
  position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime);
  transition: left .3s;
}
.chat-toggle i::before, .chat-toggle i::after { content: ""; position: absolute; top: 5px; width: 2px; height: 3px; background: #0a0a0a; border-radius: 1px; }
.chat-toggle i::before { left: 5px; } .chat-toggle i::after { right: 5px; }
.chat-btn[aria-expanded="true"] .chat-toggle i { left: 3px; }
.chat-panel {
  width: min(370px, calc(100vw - 32px)); height: min(520px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: #121212; border: 1px solid #2a2a2a; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6); transform-origin: bottom right; animation: pop .3s cubic-bezier(.2,.8,.2,1);
}
.chat-panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid #222; }
.chat-head p { color: var(--muted); font-size: .72rem; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: #000; font-weight: 700; display: grid; place-items: center; }
.online { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 6px; }
.chat-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #222; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.chat-close svg { width: 16px; height: 16px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; animation: pop .25s; }
.msg.bot { background: #1f1f1f; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--lime); color: #000; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { color: var(--muted); letter-spacing: 3px; }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.chat-quick button { background: transparent; border: 1px solid #333; color: #cfcfca; border-radius: 999px; padding: 6px 12px; font: .78rem var(--sans); cursor: pointer; }
.chat-quick button:hover { border-color: var(--lime); color: var(--lime); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #222; }
.chat-form input { flex: 1; background: #1b1b1b; border: 1px solid #2a2a2a; border-radius: 12px; padding: 12px 14px; color: var(--text); font: .92rem var(--sans); }
.chat-form input:focus { outline: none; border-color: var(--lime); }
.chat-form button { width: 44px; border: 0; border-radius: 12px; background: var(--lime); color: #000; cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .nav-clock { display: none; }
  .menu-btn { padding: 10px 12px; }
  .nav-launch, .nav-call, .nav-ebook { width: 44px; height: 44px; }
  .call-tip { display: none; }
  .menu-top { padding: 22px 20px 18px; }
  .menu-body { padding: 14px 10px; }
  .menu-link { flex-direction: column; gap: 2px; padding: 12px 14px; }
  .menu-link small { text-align: start; font-size: .85rem; }
  .menu-foot { padding: 20px 24px 24px; }
  .lang-btn { padding: 10px 14px; gap: 8px; font-size: .9rem; }
  .chat-btn { padding: 10px 12px 10px 16px; font-size: .95rem; }
}

/* ---------- right-to-left languages (Urdu, Arabic) ---------- */
:root[dir="rtl"] {
  --sans: "Noto Sans Arabic", "Space Grotesk", system-ui, sans-serif;
  --mono: "Noto Sans Arabic", "IBM Plex Mono", ui-monospace, monospace;
}
/* letter-spacing breaks the joins between Arabic-script letters */
[dir="rtl"] body, [dir="rtl"] body * { letter-spacing: 0 !important; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.35; }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .cal-nav svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }
[dir="rtl"] .faq-a-inner p, [dir="rtl"] .svc-item p { line-height: 1.9; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-pts g { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .hero-grid, .project, .service, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; justify-content: center; }
  .hv { width: min(460px, 88vw); margin-bottom: 12px; }
  .hv-c2 { right: -1%; }
  .hv-c1 { left: 0; }
  .stats-row, .stats-row-b { grid-template-columns: 1fr; }
  .stat-card { min-height: 420px; }
  .service-head { position: static; }
  .service-list { padding-inline-start: 0; }
  .svc-toggle { padding: 24px 0; font-size: 1.15rem; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; margin-top: 64px; }
  .browser-body { aspect-ratio: auto; min-height: 520px; }
  .bar-url { min-width: 0; }
  .bar-right, .bar-left .bar-icon { display: none; }
  .browser-bar { grid-template-columns: auto 1fr; }
  .slot-list { display: grid; grid-template-columns: repeat(3, 1fr); max-height: 260px; }
  .service { gap: 28px; }
  .faq-list { gap: 14px; margin-top: 48px; }
  .faq-toggle { font-size: 1.02rem; }
  .faq-q-text { padding: 18px 18px; }
  .faq-icon { margin: 0 18px; width: 14px; height: 14px; }
  .faq-a-inner { margin: 0 18px; }
}
@media (max-width: 767px) {
  .stat-card { padding: 28px 22px 0; }
  .stat-viz { margin: 24px -22px 0; }
  .chart { inset: 0 16px 12px; width: calc(100% - 32px); }
  .tiles { left: 22px; right: 22px; }
  .btn-lg { padding: 16px 28px; }
  .project { padding: 56px 18px 18px; gap: 24px; }
  .project-count { top: 22px; left: 18px; }
  [dir="rtl"] .project-count { left: auto; right: 18px; }
  .project-copy { padding-top: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-row: auto; }
  .footer-cols .footer-address { grid-column: 1 / -1; margin-top: 0; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 479px) {
  .approach-grid { grid-template-columns: 1fr; }
  .step-art { width: 78%; margin-inline: auto; }
  .hero-actions .btn { flex: 1; }
}

/* Small phones: four header controls need the room — show the menu as an icon only */
@media (max-width: 480px) {
  .nav-right { gap: 10px; }
  .nav-right .nav-launch + .nav-ebook, .nav-right .nav-ebook + .nav-call { margin-inline-start: 0; }
  .menu-btn { padding: 12px; }
  .menu-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .brand-logo img { height: 30px; }
}
@media (max-width: 359px) {
  .nav-right { gap: 6px; }
  .nav-launch, .nav-call, .nav-ebook { width: 38px; height: 38px; }
  .menu-btn { padding: 8px; }
  .brand-logo img { height: 26px; }
}
