/* self-hosted variable fonts (Google Fonts subsets), one file per script */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 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+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: 'Noto Sans Arabic'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/noto-sans-arabic-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-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-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* maxben.org — custom-coded site. Space Grotesk, token-based design system. */
:root {
  --blue: #1a49ff;
  --blue-2: #255cdb;
  --blue-3: #5b8bff;
  --ink: #0e0f14;
  --text: #3b3f4a;
  --muted: #6b7080;
  --line: #e5e7ef;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --soft: #eef2ff;
  --soft-2: #f3f6ff;
  --green: #16a34a;
  --wa: #25d366;
  --grad: linear-gradient(135deg, #1a49ff 0%, #255cdb 55%, #5b8bff 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
  --shadow: 0 24px 60px rgba(26, 73, 255, .12), 0 4px 14px rgba(14, 15, 20, .06);
  --shadow-sm: 0 6px 20px rgba(14, 15, 20, .07);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --nav-h: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 "Space Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(26, 73, 255, .45); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); margin: 0 auto; }
.ic { width: 22px; height: 22px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { padding: 88px 0; position: relative; }
section.tight { padding: 56px 0; }
.bg-2 { background: var(--bg-2); }
.bg-soft { background: var(--grad-soft); }
.bg-ink { background: var(--ink); color: #c8cbd6; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

/* ---------- type helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--soft); padding: 6px 12px; border-radius: 99px; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: start; margin-inline-start: 0; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); border-color: var(--ink); color: var(--ink); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ic.arr { transform: translateX(3px); }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 28px rgba(26, 73, 255, .28); }
.btn.primary:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 16px 34px rgba(26, 73, 255, .34); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { color: #fff; background: #1c1e27; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn.ghost:hover { border-color: #fff; color: #fff; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wa:hover { color: #fff; filter: brightness(1.05); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn.link { border: 0; padding: 0; background: none; color: var(--blue); font-weight: 600; }
.btn.link:hover { transform: none; color: var(--blue-2); }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(14, 15, 20, .05); }
/* home: header floats transparent over the hero until the page scrolls */
body.home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s, box-shadow .3s; }
body.home .site-header.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
body.home .hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
body.home .hero > .wrap { width: min(var(--wrap), 100% - 32px); }
.nav-in { display: flex; align-items: center; gap: 22px; height: var(--nav-h); position: relative; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 18px; }
.nav-links > li { position: relative; }
.nav-links > li.has-mega { position: static; }
.nav-links > li > a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--ink); font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 99px; transition: background .18s, color .18s; }
.nav-links > li > a:hover, .nav-links > li.open > a, .nav-links > li > a.active { background: var(--soft); color: var(--blue); }
.nav-links > li > a .ic { width: 15px; height: 15px; transition: transform .25s; }
.nav-links > li.open > a .ic { transform: rotate(180deg); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.nav-call { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink); font-weight: 600; font-size: 14px; padding: 8px 10px; }
.nav-call .ic { width: 17px; height: 17px; color: var(--blue); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; margin-inline-start: 4px; }
.menu-btn .ic { width: 26px; height: 26px; }

/* mega menu */
.mega { position: absolute; left: 50%; top: calc(100% - 6px); transform: translate(-50%, 10px); width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(14, 15, 20, .14); padding: 26px; display: grid; grid-template-columns: 1fr 400px; gap: 26px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s, transform .22s, visibility .22s; }
.nav-links > li.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mega-item { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; transition: background .18s, transform .18s; color: var(--text); }
.mega-item:hover { background: var(--soft-2); transform: translateX(3px); color: var(--text); }
.mega-item .f-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--blue); flex: none; transition: background .18s, color .18s; }
.mega-item:hover .f-icon { background: var(--grad); color: #fff; }
.mega-item strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.mega-item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mega-item .count { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.mega-side { background: var(--ink); border-radius: 16px; padding: 18px; color: #c8cbd6; display: flex; flex-direction: column; gap: 12px; }
.mega-side h4 { color: #fff; font-size: 17px; }
.mega-side p { font-size: 13px; margin: 0; color: #a7abba; }
.mega-side .yt { border-radius: 12px; display: block; }
.mega-side .btn { align-self: flex-start; }
.mega-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 2px; border-top: 1px solid var(--line); margin-top: 8px; grid-column: 1 / -1; font-size: 14px; }

/* mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 70; background: #fff; transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1); overflow-y: auto; padding: 18px 20px 40px; display: flex; flex-direction: column; }
.mobile-nav.open { transform: none; }
.mobile-top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.mobile-top img { height: 24px; }
.mobile-links { margin-top: 24px; border-top: 1px solid var(--line); }
.mobile-links > li { border-bottom: 1px solid var(--line); }
.mobile-links > li > a, .mobile-links summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; color: var(--ink); font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; }
.mobile-links summary::-webkit-details-marker { display: none; }
.mobile-links summary .ic { transition: transform .25s; }
.mobile-links details[open] summary .ic { transform: rotate(180deg); }
.mobile-sub { padding: 0 0 12px; display: grid; gap: 4px; }
.mobile-sub a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; color: var(--text); font-weight: 500; }
.mobile-sub a:hover { background: var(--soft-2); }
.mobile-sub .f-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.mobile-cta { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* ---------- hero (home) ---------- */
.hero { padding: 16px 0 36px; position: relative; overflow: hidden; }
/* animated background: drifting colour blobs over a faint dot grid */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(26, 73, 255, .16) 1px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 70%); animation: gridfade 12s ease-in-out infinite; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .32; will-change: transform; }
.hero-bg canvas.ascii { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, #000 25%, transparent 78%); }
.hero-bg.has-ascii::after { display: none; }
.hero-bg .b1 { width: 560px; height: 560px; right: -120px; top: -200px; background: radial-gradient(circle at 35% 35%, rgba(26, 73, 255, .34), rgba(91, 139, 255, .14) 55%, transparent 72%); animation: drift1 18s ease-in-out infinite; }
.hero-bg .b2 { width: 460px; height: 460px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(167, 139, 250, .30), transparent 70%); animation: drift2 24s ease-in-out infinite; }
.hero-bg .b3 { width: 340px; height: 340px; left: 58%; top: 48%; background: radial-gradient(circle, rgba(56, 189, 248, .26), transparent 70%); animation: drift3 21s ease-in-out infinite; }
.hero-bg .b4 { width: 260px; height: 260px; left: 18%; top: 10%; background: radial-gradient(circle, rgba(253, 186, 116, .22), transparent 70%); animation: drift2 28s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(90px, -70px) scale(1.1); } 66% { transform: translate(40px, 40px) scale(.95); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-160px, -80px) scale(1.25); } }
@keyframes gridfade { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.hero > .wrap { position: relative; z-index: 1; }

.hero-copy { text-align: center; max-width: 900px; margin: 0 auto; position: relative; }
.hero-anim { width: min(470px, 74vw); aspect-ratio: 336 / 110; margin: 0 auto 16px; }
.hero-anim svg { width: 100% !important; height: 100% !important; }
.hero-anim svg { display: block; }
.hero .tagline { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(15px, 1.9vw, 22px); color: var(--muted); font-weight: 400; }
.hero h1 { font-size: clamp(32px, 5.2vw, 60px); margin: 0 auto 14px; max-width: 20ch; }
.hero .lead { max-width: 640px; margin: 0 auto 30px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-notes { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes .ic { width: 17px; height: 17px; color: var(--blue); }

/* ---------- clients marquee ---------- */
.clients { padding: 26px 0 40px; }
.clients .label { text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.marquee { overflow: hidden; -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; align-items: center; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) opacity(.6); transition: filter .25s; }
.marquee-track img:hover { filter: grayscale(0) opacity(1); }
.marquee-track img.invert { filter: grayscale(1) invert(1) opacity(.6); }
.marquee-track img.invert:hover { filter: invert(1) opacity(1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 16px; }
.split p { color: var(--muted); font-size: 17px; }
.split .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); position: relative; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card.float { animation: float 7s ease-in-out infinite; }
.media-card.plain { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.media-card.plain img { object-fit: contain; }
.media-card.plain img[src*="app-phone"] { max-height: 580px; width: auto; margin: 0 auto; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.checklist { display: grid; gap: 12px; margin: 22px 0 26px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.checklist .ck { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.checklist .ck .ic { width: 15px; height: 15px; }

/* ---------- YouTube facade ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0e0f14; cursor: pointer; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.yt:hover img { transform: scale(1.04); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--blue); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s, background .2s; }
.yt-play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ring 2s infinite; }
@keyframes ring { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.yt:hover .yt-play { transform: scale(1.06); background: #fff; }
.yt-play .ic { width: 30px; height: 30px; margin-left: 4px; }
.yt.small .yt-play { width: 52px; height: 52px; }
.yt.small .yt-play .ic { width: 20px; height: 20px; }
.yt.portrait { aspect-ratio: 9 / 16; max-width: 340px; margin-left: auto; margin-right: auto; }
.svc-hero .yt.portrait { max-height: 560px; }
.videos.has-portrait { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.videos.has-portrait .yt { flex: 0 1 340px; margin: 0; }
.videos.has-portrait .yt:not(.portrait) { flex-basis: 640px; }
.article .yt.portrait { max-width: 360px; }

/* ---------- service cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-4 .card { padding: 24px; }
.cards-4 .card h3 { font-size: 19px; }
.cards-4 .card p { font-size: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 21px; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); margin-top: 6px; }
.card .more .ic { width: 17px; height: 17px; transition: transform .2s; }
.card:hover .more .ic { transform: translateX(4px); }
.f-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); color: var(--blue); transition: background .25s, color .25s, transform .25s; }
.f-icon .ic { width: 26px; height: 26px; }
.card:hover .f-icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card.service::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 73, 255, .10), transparent); opacity: 0; transition: opacity .3s; }
.card.service:hover::after { opacity: 1; }

/* ---------- portfolio grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.filters button { border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 9px 16px; border-radius: 99px; font-weight: 500; font-size: 14px; cursor: pointer; transition: all .18s; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pitem { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--bg-2); display: block; transition: opacity .3s, transform .3s; box-shadow: var(--shadow-sm); }
.pgrid.cols-3 .pitem { aspect-ratio: 4 / 3; }
.pitem.hide { display: none; }
.pitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pitem:hover img { transform: scale(1.06); }
.pitem .pov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(14, 15, 20, .85)); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; opacity: .95; transition: opacity .3s; }
.pitem .pov h3 { color: #fff; font-size: 18px; margin: 6px 0 0; transform: translateY(6px); transition: transform .35s; }
.pitem:hover .pov h3 { transform: none; }
.pitem .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pitem .tags span { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); padding: 4px 9px; border-radius: 99px; }
.pitem .pov .ic { position: absolute; inset-inline-end: 18px; top: 18px; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: #fff; color: var(--ink); opacity: 0; transform: scale(.6); transition: all .3s; }
.pitem:hover .pov .ic { opacity: 1; transform: none; }
.pitem.video .pov .ic { opacity: 1; transform: none; }
.center { text-align: center; }
.mt { margin-top: 40px; }

/* ---------- stats / counters ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.stat b { display: block; font-size: clamp(22px, 2.6vw, 38px); overflow-wrap: anywhere; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.stat b span { color: var(--blue); }
.stat small { color: var(--muted); font-size: 14px; font-weight: 500; }
.stat.dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.stat.dark b { color: #fff; }
.stat.dark small { color: #a7abba; }

/* community cards */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.comm-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; grid-template-rows: 260px auto; min-width: 0; transition: transform .25s, box-shadow .25s; }
.comm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.comm-card img { width: 100%; height: 100%; object-fit: cover; }
.comm-body { padding: 28px; min-width: 0; }
.comm-body h3 { font-size: 24px; margin-bottom: 10px; }
.comm-body p { color: var(--muted); font-size: 15px; }
.comm-body .stats { margin: 18px 0 20px; }

/* showreel carousel */
.reel { position: relative; }
.reel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 18px; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-item.portrait { flex-basis: min(280px, 64vw); aspect-ratio: 9 / 16; }
.reel-item { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s, opacity .3s; }
.reel-item:hover img { transform: scale(1.05); opacity: 1; }
.reel-item .yt-play { width: 60px; height: 60px; }
.reel-item .yt-play .ic { width: 24px; height: 24px; }
.reel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.reel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: all .18s; }
.reel-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* why choose */
.why-list { display: grid; gap: 16px; margin-top: 26px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.why-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.why-item .num { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.why-item p { margin: 0; color: var(--text); font-size: 15px; }

/* testimonials */
.testi-wrap { position: relative; }
.testi-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 min(400px, 86vw); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.testi .q { position: absolute; inset-inline-end: 22px; top: 20px; width: 34px; height: 34px; color: var(--soft); }
.testi .stars { display: flex; gap: 2px; color: #f5b400; }
.testi .stars .ic { width: 16px; height: 16px; }
.testi p { color: var(--text); font-size: 15px; margin: 0; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi .who b { display: block; color: var(--ink); font-size: 15px; }
.testi .who small { color: var(--muted); font-size: 13px; }

/* approach steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.step { text-align: center; padding: 0 10px; position: relative; }
.step .num { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--blue); font-weight: 700; display: grid; place-items: center; margin: 0 auto 14px; font-size: 18px; transition: all .25s; }
.step:hover .num { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); box-shadow: 0 10px 24px rgba(26, 73, 255, .3); }
.step h3 { font-size: 17px; }

/* benefits tiles */
.benefit-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 14px; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.tile .f-icon { width: 40px; height: 40px; border-radius: 11px; }
.tile .f-icon .ic { width: 20px; height: 20px; }
.tile:hover .f-icon { background: var(--grad); color: #fff; }

/* packages */
.pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pkg:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pkg h3 { font-size: 24px; margin: 18px 0 4px; }
.pkg .sub { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.pkg ul { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.pkg li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text); }
.pkg li .ic { width: 18px; height: 18px; color: var(--green); }
.pkg.featured { background: var(--ink); border-color: var(--ink); color: #c8cbd6; }
.pkg.featured h3 { color: #fff; }
.pkg.featured li { color: #d6d8e0; }
.pkg.featured .f-icon { background: rgba(255, 255, 255, .1); color: #fff; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(26, 73, 255, .3); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--ink); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform .25s, background .25s, color .25s; font-size: 20px; line-height: 1; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq .ans { padding: 0 0 20px; color: var(--muted); font-size: 15px; }
.faq .ans p { margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.cform h3 { font-size: 24px; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cform input, .cform select, .cform textarea { font: inherit; font-size: 15px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; transition: border-color .18s, box-shadow .18s; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 73, 255, .12); }
.cform textarea { min-height: 110px; resize: vertical; }
.cform .hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .form-msg { margin: 0; font-size: 14px; padding: 12px 14px; border-radius: 10px; background: var(--soft); color: var(--blue); }
.cform .form-msg.err { background: #fff1f2; color: #be123c; }
.cform .btn { justify-self: start; }
.cform .fine { font-size: 12px; color: var(--muted); margin: 0; }
.contact-side { display: grid; gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; transition: transform .2s, box-shadow .2s; color: var(--text); }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--text); }
.info-card .f-icon { width: 46px; height: 46px; border-radius: 12px; }
.info-card b { display: block; color: var(--ink); }
.info-card small { color: var(--muted); font-size: 13px; }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* CTA band */
.cta-band { background: var(--ink); color: #c8cbd6; border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 73, 255, .45), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 12px; }
.cta-band p { color: #a7abba; font-size: 17px; margin: 0; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 40px; background: var(--grad-soft); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; bottom: -60%; width: 600px; height: 600px; border-radius: 50%; filter: blur(50px); background: radial-gradient(closest-side, rgba(26, 73, 255, .16), transparent 70%); pointer-events: none; animation: drift1 22s ease-in-out infinite; }
.page-hero::after { content: ""; position: absolute; left: -8%; top: -40%; width: 420px; height: 420px; border-radius: 50%; filter: blur(50px); background: radial-gradient(closest-side, rgba(167, 139, 250, .16), transparent 70%); pointer-events: none; animation: drift2 26s ease-in-out infinite; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 14px; }
.page-hero .lead { max-width: 700px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { opacity: .5; }
.svc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.svc-hero h1 { min-height: 2.3em; }
.typing { color: var(--blue); border-inline-end: 3px solid var(--blue); padding-inline-end: 4px; animation: caret 1s steps(1) infinite; white-space: nowrap; }
@keyframes caret { 50% { border-color: transparent; } }
.svc-hero .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.post-card .cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--soft); padding: 4px 9px; border-radius: 99px; }
.post-card h3 { font-size: 19px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.post-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.post-card .more .ic { width: 16px; height: 16px; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.cat-nav a { border: 1.5px solid var(--line); padding: 9px 16px; border-radius: 99px; color: var(--text); font-weight: 500; font-size: 14px; transition: all .18s; }
.cat-nav a:hover { border-color: var(--ink); color: var(--ink); }
.cat-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.loadmore-wrap { text-align: center; margin-top: 36px; }
.more-hidden { display: none; }

.article-hero { padding: 48px 0 24px; }
.article-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 14px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; align-items: center; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .ic { width: 16px; height: 16px; color: var(--blue); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 28px 0 36px; aspect-ratio: 1300 / 683; background: var(--bg-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { font-size: 17px; line-height: 1.75; color: var(--text); }
.article h2 { font-size: clamp(24px, 3vw, 32px); margin: 44px 0 14px; }
.article h3 { font-size: 22px; margin: 36px 0 12px; }
.article h4 { font-size: 18px; margin: 28px 0 10px; }
.article h5, .article h6 { font-size: 16px; margin: 24px 0 8px; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 20px; padding-inline-start: 24px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--blue); }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article img { border-radius: 16px; margin: 28px auto; box-shadow: var(--shadow-sm); }
.article blockquote { margin: 28px 0; padding: 26px 28px 22px; padding-inline-start: 60px; background: var(--soft-2); border-radius: 16px; font-size: 18px; color: var(--ink); position: relative; }
inset-inline-start: 22px; top: 14px; font-size: 54px; line-height: 1; color: var(--blue); opacity: .5; font-weight: 700; }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.article th { background: var(--bg-2); color: var(--ink); }
.article iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; margin: 24px 0; }
.article .yt { margin: 28px 0; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tags-row span.t { background: var(--bg-2); border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; color: var(--text); font-size: 13px; }
.share { display: flex; gap: 8px; margin-inline-start: auto; }
.share a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .18s; }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share .ic { width: 16px; height: 16px; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 0; }
.pn a { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; color: var(--ink); display: flex; flex-direction: column; gap: 4px; transition: all .2s; background: #fff; }
.pn a:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); color: var(--ink); }
.pn a small { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pn a small .ic { width: 14px; height: 14px; }
.pn a.next { text-align: end; align-items: flex-end; }
.pn a b { font-size: 15px; line-height: 1.35; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 36px; padding: 20px; border-radius: 16px; background: var(--bg-2); }
.author-box .av { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.author-box b { display: block; color: var(--ink); }
.author-box small { color: var(--muted); }

/* portfolio single */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { border-radius: 16px; overflow: hidden; background: var(--bg-2); display: block; position: relative; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(14, 15, 20, 0); transition: background .3s; }
.gallery a:hover::after { background: rgba(14, 15, 20, .18); }
.gallery.wide a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.proj-intro { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: center; margin: 0 0 28px; padding: 24px 28px; background: var(--bg-2); border-radius: 18px; }
.proj-intro p { margin: 0; font-size: 17px; max-width: 820px; }
.proj-intro .btn { grid-row: 1 / span 2; }
.proj-intro .host { color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { .proj-intro { grid-template-columns: 1fr; } .proj-intro .btn { grid-row: auto; justify-self: start; } }
.videos { display: grid; gap: 24px; margin-bottom: 28px; }
.videos .yt:not(.portrait) { max-width: 960px; margin-left: auto; margin-right: auto; width: 100%; }
.videos.two { grid-template-columns: 1fr 1fr; }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; }
.member .ph { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.member .ph.plain { background: transparent; box-shadow: none; border-radius: 0; }
.member .ph.plain img { object-fit: contain; }
.member:hover .ph img { transform: scale(1.05); }
.member h3 { font-size: 18px; }
.member small { color: var(--muted); }

/* mission panel */
.mission { border-radius: var(--radius-lg); padding: 56px; background: var(--ink); color: #d6d8e0; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.mission::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 0%, rgba(26, 73, 255, .45), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(91, 139, 255, .3), transparent 70%); }
.mission > * { position: relative; }
.mission h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.mission .mission-icon { background: rgba(255, 255, 255, .1); color: #fff; margin-bottom: 18px; }
.mission p { font-size: clamp(17px, 2vw, 21px); color: #d6d8e0; margin: 0; }
.mission .years { text-align: center; padding: 26px 34px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.mission .years b { display: block; font-size: 56px; color: #fff; line-height: 1; letter-spacing: -.03em; }
.mission .years small { color: #a7abba; }

/* simple content pages */
.prose { font-size: 16px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose p { margin: 0 0 14px; }

/* thank you */
.thanks { text-align: center; padding: 100px 0; }
.thanks img { width: 110px; margin: 0 auto 20px; }
.thanks h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.thanks .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a7abba; padding: 70px 0 28px; margin-top: 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 73, 255, .25), transparent 70%); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; position: relative; }
.foot-grid h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.foot-grid a { color: #c8cbd6; }
.foot-grid a:hover { color: #fff; }
.foot-grid li { margin-bottom: 10px; font-size: 15px; }
.foot-brand img { height: 26px; width: auto; filter: invert(1) brightness(2); margin: 0 0 18px; }
.foot-brand p { font-size: 15px; max-width: 320px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { width: 18px; height: 18px; color: var(--blue-3); margin-top: 3px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; color: #fff; transition: all .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.socials .ic { width: 17px; height: 17px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; position: relative; }
.foot-bottom a { color: #a7abba; }
.foot-bottom a:hover { color: #fff; }

/* floating buttons */
/* floating WhatsApp / call buttons: phones only, one on each side */
.floaters { display: none; }
@media (max-width: 960px) { .floaters { display: block; } .floaters a { position: fixed; bottom: 16px; z-index: 50; } .floaters .wa { left: 16px; } .floaters .call { right: 16px; } }
.floaters a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .2); transition: transform .2s; }
.floaters a:hover { transform: scale(1.08); color: #fff; }
.floaters .wa { background: var(--wa); }
.floaters .call { background: var(--ink); }
.floaters .ic { width: 26px; height: 26px; }
.floaters .call .ic { width: 22px; height: 22px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 15, 20, .6); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal-box { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg); position: relative; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(20px) scale(.98); opacity: 0; } }
.modal-box .cform { border: 0; box-shadow: none; }
.modal-close { position: absolute; inset-inline-end: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.modal-close:hover { background: var(--line); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 9, 14, .94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox .lb-content { max-width: min(1100px, 100%); max-height: 100%; width: 100%; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: pop .25s ease; }
.lightbox .lb-video { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 80px); }
.lightbox .lb-video.portrait { aspect-ratio: 9 / 16; width: auto; height: calc(100vh - 80px); max-width: 100%; margin: 0 auto; }
.lightbox .lb-video iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { right: 18px; top: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: #a7abba; font-size: 13px; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; } .reveal.d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track, .media-card.float, .kicker .dot, .yt-play::before, .hero-bg span, .hero-bg::after, .page-hero::before, .page-hero::after { animation: none; }
}

/* ---------- language switcher ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; }
.lang-switch a { font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1; padding: 6px 9px; border-radius: 99px; color: var(--muted); transition: background .18s, color .18s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.mobile-lang { display: flex; justify-content: center; margin-top: 18px; }
.mobile-lang .lang-switch a { font-size: 14px; padding: 9px 18px; }
@media (max-width: 380px) { .nav-right .lang-switch a { padding: 6px 7px; } }

/* ---------- RTL (Arabic) ---------- */
[lang=ru] body { font-family: "Space Grotesk", "Manrope", "Segoe UI", system-ui, Arial, sans-serif; }
[dir=rtl] body { font-family: "Space Grotesk", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif; line-height: 1.8; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] h4, [dir=rtl] h5 { letter-spacing: 0; line-height: 1.35; }
[dir=rtl] .kicker, [dir=rtl] .clients .label, [dir=rtl] .hero .tagline, [dir=rtl] .pkg .sub, [dir=rtl] .foot-grid h4, [dir=rtl] .mega-item .count, [dir=rtl] .pitem .tags span, [dir=rtl] .post-card .cat, [dir=rtl] .pn a small, [dir=rtl] .lang-switch a { letter-spacing: 0; }
[dir=rtl] .hero h1 { max-width: none; }
[dir=rtl] .stat b, [dir=rtl] .mission .years b, [dir=rtl] .nf b { letter-spacing: 0; direction: ltr; unicode-bidi: isolate; }
[dir=rtl] .ic.dir { transform: scaleX(-1); }
[dir=rtl] .btn:hover .ic.arr { transform: translateX(-3px) scaleX(-1); }
[dir=rtl] .card:hover .more .ic.dir { transform: translateX(-4px) scaleX(-1); }
[dir=rtl] .mega-item:hover { transform: translateX(-3px); }
[dir=rtl] .why-item:hover { transform: translateX(-4px); }
[dir=rtl] .pitem .pov .ic.dir { transform: scale(.6) scaleX(-1); }
[dir=rtl] .pitem:hover .pov .ic.dir, [dir=rtl] .pitem.video .pov .ic.dir { transform: scaleX(-1); }
[dir=rtl] .lb-btn .ic.dir { transform: none; }
[dir=rtl] .mobile-nav { transform: translateX(-100%); }
[dir=rtl] .mobile-nav.open { transform: none; }
[dir=rtl] .marquee { direction: ltr; }
[dir=rtl] .marquee-track { animation-direction: reverse; }
[dir=rtl] input[type=tel], [dir=rtl] input[type=email] { direction: ltr; text-align: end; }
[dir=rtl] .crumbs .sep { transform: scaleX(-1); display: inline-block; }
[dir=rtl] .typing { display: inline-block; }

/* 404 */
.nf { text-align: center; padding: 120px 0; }
.nf b { font-size: 120px; line-height: 1; letter-spacing: -.05em; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-call { display: none; }
}
@media (max-width: 1100px) {
  .nav-links > li > a { padding: 10px 10px; font-size: 14px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .team, .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-call, .nav-right .lang-switch { display: none; }
  .menu-btn { display: inline-flex; }
  /* phone header: logo centred, menu button on the edge */
  .nav-in { justify-content: center; }
  .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav-right { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); margin: 0; }
  .split, .svc-hero, .contact-grid, .community, .cta-band, .mission { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .cards-3, .post-grid, .benefit-tiles, .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  section { padding: 64px 0; }
  .cta-band { padding: 36px; }
  .cta-band .btns { justify-content: flex-start; }
  .videos.two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .brand img { height: 22px; }
  .nav-right .btn { display: none; }
  .cards-3, .cards-2, .post-grid, .benefit-tiles, .team, .cards-4 { grid-template-columns: 1fr; }
  .pgrid, .pgrid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* project cards: smaller titles so the image stays visible */
  .pitem .pov { padding: 12px; background: linear-gradient(180deg, transparent 52%, rgba(14, 15, 20, .82)); }
  .pitem .pov h3 { font-size: 13px; line-height: 1.25; margin-top: 4px; }
  .pitem .tags { gap: 4px; }
  .pitem .tags span { font-size: 9px; padding: 3px 6px; letter-spacing: .03em; }
  .pitem .pov .ic { width: 30px; height: 30px; padding: 7px; right: 10px; top: 10px; }
  /* filter chips and blog categories scroll sideways instead of wrapping */
  .filters, .cat-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 16px 10px; margin-left: -16px; margin-right: -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar, .cat-nav::-webkit-scrollbar { display: none; }
  .filters button, .cat-nav a { flex: 0 0 auto; scroll-snap-align: start; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cform .row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px 14px; }
  .stat b { font-size: 24px; }
  .stat small { font-size: 13px; }
  .comm-body { padding: 22px 18px; }
  .comm-body h3 { font-size: 21px; }
  .comm-card { grid-template-rows: 200px auto; }
  .foot-grid { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .mission, .cta-band { padding: 28px 22px; }
  .floaters a { width: 48px; height: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section-head { margin-bottom: 34px; }
}
