/* =========================================================
   ECODES IT SOLUTIONS — Main Stylesheet
   Dark mode is default; light mode via [data-theme="light"]
   ========================================================= */
:root,
[data-theme="dark"] {
  --bg: #070b14;
  --bg-2: #0b1120;
  --surface: #0f1729;
  --surface-2: #141e33;
  --border: rgba(148, 163, 184, .14);
  --border-2: rgba(148, 163, 184, .24);
  --text: #e7edf7;
  --muted: #94a3b8;
  --heading: #ffffff;
  --brand: #22d3ee;
  --brand-2: #10b981;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, #22d3ee 0%, #10b981 55%, #a3e635 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(16, 185, 129, .10));
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --shadow-glow: 0 10px 40px -10px rgba(34, 211, 238, .45);
  --glass: rgba(15, 23, 41, .72);
  --grid-line: rgba(148, 163, 184, .06);
  --on-brand: #04131a;
}
[data-theme="light"] {
  --bg: #f5f8fc;
  --bg-2: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --border: rgba(15, 23, 42, .09);
  --border-2: rgba(15, 23, 42, .16);
  --text: #334155;
  --muted: #64748b;
  --heading: #0b1220;
  --brand: #0891b2;
  --brand-2: #059669;
  --violet: #7c3aed;
  --grad: linear-gradient(120deg, #0891b2 0%, #059669 60%, #65a30d 100%);
  --grad-soft: linear-gradient(135deg, rgba(8, 145, 178, .10), rgba(5, 150, 105, .07));
  --shadow: 0 20px 45px -22px rgba(15, 23, 42, .28);
  --shadow-glow: 0 10px 34px -12px rgba(8, 145, 178, .5);
  --glass: rgba(255, 255, 255, .8);
  --grid-line: rgba(15, 23, 42, .05);
  --on-brand: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.7 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden; transition: background .4s ease, color .4s ease;
}
h1, h2, h3, h4 { font-family: "Sora", "DM Sans", sans-serif; color: var(--heading); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.ic-brand { width: 1.2em; height: 1.2em; flex-shrink: 0; }
::selection { background: var(--brand); color: var(--on-brand); }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.center { text-align: center; margin-top: 44px; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 "Sora", sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sec-head .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 12px; font: 600 .95rem/1.2 "DM Sans", sans-serif;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn .ic { transition: transform .25s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: var(--on-brand); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, .6); color: var(--on-brand); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #05240f; }
.btn-wa:hover { background: #1fbe5a; transform: translateY(-2px); color: #05240f; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Loader ---------- */
.page-loader { position: fixed; inset: 0; background: var(--bg); z-index: 999; display: grid; place-items: center; transition: opacity .5s, visibility .5s; }
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; gap: 8px; }
.loader-mark span { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); animation: bounce 1s infinite ease-in-out; }
.loader-mark span:nth-child(2) { animation-delay: .15s; }
.loader-mark span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(.5); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: padding .3s, background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { padding: 10px 0; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--border); box-shadow: 0 8px 30px -18px rgba(0,0,0,.5); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand-logo { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
[data-theme="dark"] .logo-l, [data-theme="light"] .logo-d { display: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: var(--on-brand);
  display: grid; place-items: center; font: 800 1.35rem/1 "Sora", sans-serif; box-shadow: var(--shadow-glow);
  position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: -3px; border-radius: 14px; border: 1px solid var(--brand); opacity: .35; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font: 800 1.22rem/1 "Sora", sans-serif; letter-spacing: .04em; }
.brand-text small { font-size: .62rem; letter-spacing: .3em; color: var(--muted); margin-top: 5px; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; background: var(--glass); border: 1px solid var(--border); padding: 6px; border-radius: 14px; backdrop-filter: blur(10px); }
.main-nav > a { color: var(--text); padding: 8px 16px; border-radius: 10px; font-weight: 500; font-size: .95rem; position: relative; }
.main-nav > a:hover { color: var(--heading); background: var(--surface-2); }
.main-nav > a.active { color: var(--on-brand); background: var(--grad); }
.nav-mobile-extra { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface);
  color: var(--heading); cursor: pointer; position: relative; overflow: hidden; display: grid; place-items: center;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle span { position: absolute; display: grid; place-items: center; transition: transform .5s cubic-bezier(.6,-0.3,.3,1.4), opacity .3s; }
.theme-toggle .t-sun { transform: translateY(30px) rotate(90deg); opacity: 0; }
[data-theme="light"] .theme-toggle .t-moon { transform: translateY(-30px) rotate(-90deg); opacity: 0; }
[data-theme="light"] .theme-toggle .t-sun { transform: none; opacity: 1; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(2, 6, 15, .55); backdrop-filter: blur(3px); z-index: 98; opacity: 0; visibility: hidden; transition: .3s; }
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-lines {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  animation: gridMove 22s linear infinite;
}
@keyframes gridMove { to { background-position: 56px 56px; } }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: float 14s ease-in-out infinite; }
.b1 { width: 460px; height: 460px; background: #22d3ee; top: -120px; right: -80px; }
.b2 { width: 380px; height: 380px; background: #10b981; bottom: -140px; left: -100px; animation-delay: -5s; }
.b3 { width: 300px; height: 300px; background: #8b5cf6; top: 40%; left: 40%; opacity: .22; animation-delay: -9s; }
[data-theme="light"] .blob { opacity: .22; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 25px) scale(.95); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px;
  background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--heading); font-size: .88rem; font-weight: 500; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 rgba(16,185,129,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 560px; }
.rotator { display: flex; align-items: center; gap: 10px; font: 600 1.15rem/1 "Sora", sans-serif; color: var(--heading); margin: 6px 0 30px; flex-wrap: wrap; }
.rot-words { position: relative; display: inline-block; height: 1.5em; overflow: hidden; min-width: 160px; vertical-align: middle; }
.rot-words b { position: absolute; left: 0; top: 0; line-height: 1.5em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rot 8s infinite; opacity: 0; }
.rot-words b:nth-child(2) { animation-delay: 2s; }
.rot-words b:nth-child(3) { animation-delay: 4s; }
.rot-words b:nth-child(4) { animation-delay: 6s; }
@keyframes rot { 0% { opacity: 0; transform: translateY(100%); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-100%); } }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust p { margin: 0; font-size: .92rem; color: var(--muted); }
.hero-trust b { color: var(--heading); }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--bg); color: var(--brand); margin-left: -10px; }
.avatars span:first-child { margin-left: 0; }

.hero-visual { position: relative; }
.hv-frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.6; background: #0c2230 url(../img/visual.svg) center/cover; border: 1px solid var(--border-2); box-shadow: var(--shadow); }
.hv-frame.tall { aspect-ratio: 4/3.4; }
.hv-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s ease; }
.hv-frame:hover img { transform: scale(1.1); }
.hv-shine { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(34,211,238,.18), transparent 40%, rgba(7,11,20,.45)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border-2);
  box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--heading); font: 700 .98rem/1.2 "Sora", sans-serif; }
.float-card small { color: var(--muted); font-size: .78rem; }
.fc-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(34,211,238,.15); color: var(--brand); }
.fc-ic.green { background: rgba(16,185,129,.15); color: var(--brand-2); }
.fc-ic.violet { background: rgba(139,92,246,.16); color: var(--violet); }
.fc1 { top: 8%; left: -36px; }
.fc2 { bottom: 12%; left: -24px; animation-delay: -2s; }
.fc3 { top: 44%; right: -30px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.orbit { position: absolute; width: 130px; height: 130px; border: 1px dashed var(--border-2); border-radius: 50%; top: -40px; right: -30px; z-index: -1; animation: spin 18s linear infinite; }
.orbit span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); top: -6px; left: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-2); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font: 600 1rem/1 "Sora", sans-serif; color: var(--muted); white-space: nowrap; }
.marquee span .ic { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-section { padding: 70px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s; }
.stat.in::before { transform: scaleX(1); }
.stat b, .stat i { font: 800 clamp(2rem, 4vw, 2.8rem)/1 "Sora", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; padding: 30px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s; overflow: hidden; isolation: isolate;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,.13), transparent 45%);
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.svc-card:hover::before { opacity: 1; }
.svc-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); color: var(--brand); border: 1px solid var(--border-2); transition: transform .5s, background .4s, color .4s;
}
.svc-ic .ic { width: 26px; height: 26px; }
.svc-card:hover .svc-ic { background: var(--grad); color: var(--on-brand); transform: rotate(-8deg) scale(1.06); }
.svc-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.svc-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; }
.svc-link .ic { width: 16px; transition: transform .25s; }
.svc-link:hover .ic { transform: translateX(4px); }
.tag { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: rgba(16,185,129,.15); color: var(--brand-2); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-copy > p { color: var(--muted); }
.img-stack { position: relative; padding: 0 0 60px 0; }
.img-stack img { border-radius: 24px; object-fit: cover; box-shadow: var(--shadow); background: #0c2230 url(../img/visual.svg) center/cover; }
.is-main { width: 86%; aspect-ratio: 4/3.3; border: 1px solid var(--border-2); }
.is-sub { position: absolute; width: 52%; aspect-ratio: 4/3; right: 0; bottom: 0; border: 6px solid var(--bg-2); animation: bob 7s ease-in-out infinite; }
.page-about .is-sub { border-color: var(--bg); }
.exp-badge {
  position: absolute; top: 24px; right: 4%; padding: 18px 20px; border-radius: 20px; background: var(--grad); color: var(--on-brand);
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-glow); animation: bob 6s ease-in-out infinite -3s;
}
.exp-badge b { font: 800 2.2rem/1 "Sora", sans-serif; }
.exp-badge span { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.why-item { display: flex; gap: 14px; padding: 16px; border-radius: 16px; transition: background .3s; }
.why-item:hover { background: var(--surface); }
.why-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); flex-shrink: 0; }
.why-item h4 { margin-bottom: 4px; font-size: .98rem; }
.why-item p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.55; }

/* ---------- Tech ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-card:last-child { grid-column: span 3; }
.tech-feature { grid-row: span 2; position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; background: #0c2230 url(../img/visual.svg) center/cover; border: 1px solid var(--border-2); }
.tech-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.tech-feature:hover img { transform: scale(1.07); }
.tf-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; background: linear-gradient(180deg, transparent 20%, rgba(4,8,16,.92) 85%); }
.tf-overlay h3 { color: #fff; font-size: 1.4rem; }
.tf-overlay p { color: #cbd5e1; margin: 0; }
.tf-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #04131a; margin-bottom: 16px; }
.tech-card { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: transform .4s, border-color .4s; }
.tech-card:hover { transform: translateY(-5px); border-color: var(--brand); }
.tc-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: var(--brand); margin-bottom: 14px; }
.tech-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--border-2) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-no {
  position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 18px;
  background: var(--surface); border: 2px solid var(--border-2); font: 800 1.2rem/1 "Sora", sans-serif; color: var(--brand); transition: .4s;
}
.step:hover .step-no { background: var(--grad); color: var(--on-brand); border-color: transparent; transform: scale(1.08); box-shadow: var(--shadow-glow); }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Check list / code ---------- */
.check-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--heading); }
.check-list li span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); flex-shrink: 0; }
.check-list li span .ic { width: 16px; }
.code-window { border-radius: 20px; background: #0a1020; border: 1px solid rgba(148,163,184,.2); box-shadow: var(--shadow); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s; }
.code-window:hover { transform: none; }
.cw-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #0f1729; border-bottom: 1px solid rgba(148,163,184,.14); }
.cw-bar i { width: 12px; height: 12px; border-radius: 50%; background: #f87171; }
.cw-bar i:nth-child(2) { background: #fbbf24; }
.cw-bar i:nth-child(3) { background: #34d399; }
.cw-bar span { margin-left: 10px; color: #94a3b8; font-size: .82rem; }
.code-window pre { margin: 0; padding: 26px 24px; color: #e2e8f0; font: 500 clamp(.8rem, 1.4vw, .98rem)/1.8 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow-x: auto; }
.code-window .k { color: #c084fc; } .code-window .f { color: #22d3ee; } .code-window .c { color: #64748b; }
.caret { display: inline-block; width: 9px; height: 1.1em; background: #22d3ee; vertical-align: text-bottom; margin-left: 4px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 170px 0 90px; text-align: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .container { position: relative; max-width: 860px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-inline: auto; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; margin-top: 10px; padding: 8px 18px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--heading); }

/* ---------- About ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { padding: 38px 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.vm-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--grad); filter: blur(90px); opacity: .14; top: -80px; right: -80px; }
.vm-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); margin-bottom: 20px; }
.vm-ic .ic { width: 28px; height: 28px; }
.vm-card blockquote { margin: 0 0 18px; font: 600 1.15rem/1.5 "Sora", sans-serif; color: var(--heading); }
.vm-card p { color: var(--muted); }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: .95rem; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); }
.tagline-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tagline-chips span { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--surface); font: 600 .95rem/1 "Sora", sans-serif; color: var(--heading); transition: .3s; }
.tagline-chips span:hover { background: var(--grad); color: var(--on-brand); border-color: transparent; transform: translateY(-3px); }

/* ---------- Services filter ---------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-bar input { flex: 1; min-width: 220px; max-width: 460px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface); color: var(--heading); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.filter-bar input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(34,211,238,.15); }
.filter-bar .count { color: var(--muted); }
.filter-bar .count b { color: var(--heading); }
.empty-note { text-align: center; color: var(--muted); margin-top: 30px; }
.svc-card.hide { display: none; }

/* ---------- Projects ---------- */
.section.alt + .section.alt { border-top: 1px solid var(--border); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.proj-card { display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s; }
.proj-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.proj-card.hide { display: none; }
.pc-media { position: relative; display: block; margin: 12px 12px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.pc-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.pc-bar i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; flex-shrink: 0; }
.pc-bar i:nth-child(2) { background: #fbbf24; } .pc-bar i:nth-child(3) { background: #34d399; }
.pc-bar span { flex: 1; min-width: 0; margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pc-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 4s ease, transform .6s; }
.proj-card:hover .pc-shot img { object-position: bottom center; }
.pc-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; background: var(--grad-soft); color: var(--muted); font-size: .85rem; }
.pc-ph b { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); font: 800 1.5rem/1 "Sora", sans-serif; }
.pc-media .tag { top: 52px; right: 12px; background: var(--glass); backdrop-filter: blur(6px); }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.pc-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.pc-type { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }
.proj-card h3 { margin-bottom: 6px; }
.proj-card h3 a { color: var(--heading); }
.proj-card h3 a:hover { color: var(--brand); }
.proj-card p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tech-chips span { padding: 4px 10px; border-radius: 99px; font-size: .75rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.pc-visit { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--heading); transition: .25s; }
.pc-visit:hover { background: var(--grad); color: var(--on-brand); border-color: transparent; }
.pc-visit .ic { width: 17px; height: 17px; }
.chip-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 30px; }
.chip-filter button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 600 .88rem "DM Sans", sans-serif; cursor: pointer; transition: .2s; }
.chip-filter button em { font-style: normal; font-size: .75rem; padding: 0 7px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.chip-filter button:hover { border-color: var(--brand); color: var(--brand); }
.chip-filter button.active { background: var(--grad); color: var(--on-brand); border-color: transparent; }
.chip-filter button.active em { background: rgba(0,0,0,.15); color: inherit; }
.svc-links { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.svc-proj { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--heading); }
.svc-proj .ic { width: 14px; height: 14px; color: var(--brand); }
.svc-proj:hover { border-color: var(--brand); color: var(--brand); }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.quote-card { position: relative; margin: 0; padding: 30px 28px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.quote-card.big { margin-top: 10px; background: var(--grad-soft); border-color: var(--border-2); }
.q-ic { position: absolute; top: 22px; right: 24px; color: var(--brand); opacity: .35; }
.q-ic .ic { width: 38px; height: 38px; }
.stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 10px; }
.stars i { font-style: normal; color: var(--border-2); }
.quote-card blockquote { margin: 0 0 18px; color: var(--heading); font-size: 1.02rem; line-height: 1.7; }
.quote-card figcaption b { display: block; color: var(--heading); font-family: "Sora", sans-serif; }
.quote-card figcaption span { color: var(--muted); font-size: .88rem; }

/* Project detail */
.proj-hero { padding-bottom: 70px; }
.admin-note { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 99px; background: rgba(251,191,36,.15); color: #fbbf24; font-size: .85rem; font-weight: 600; }
.proj-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.gallery { margin-bottom: 40px; }
.g-main { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-2); background: var(--surface-2); box-shadow: var(--shadow); }
.g-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.g-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; cursor: zoom-in; transition: opacity .25s; }
.g-stage img.fade { opacity: 0; }
.g-nav, .g-zoom, .lb-nav, .lb-x { position: absolute; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--glass); backdrop-filter: blur(8px); color: var(--heading); cursor: pointer; transition: .2s; z-index: 2; }
.g-nav:hover, .g-zoom:hover, .lb-nav:hover, .lb-x:hover { background: var(--brand); color: var(--on-brand); }
.g-nav { top: 50%; transform: translateY(-50%); } .g-nav.prev { left: 14px; } .g-nav.next { right: 14px; }
.g-zoom { right: 14px; bottom: 14px; }
.g-cap { min-height: 1em; margin: 10px 2px 0; color: var(--muted); font-size: .9rem; text-align: center; }
.g-cap:empty { display: none; }
.g-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.g-thumbs button { flex: 0 0 110px; aspect-ratio: 16/10; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); cursor: pointer; opacity: .6; transition: .2s; }
.g-thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-thumbs button:hover, .g-thumbs button.active { opacity: 1; border-color: var(--brand); }
.pd-block { margin-bottom: 38px; }
.pd-block h2 { font-size: 1.45rem; margin-bottom: 14px; }
.pd-text { color: var(--text); font-size: 1.03rem; }
.pd-block .check-list { margin: 0; }
.pd-side { position: sticky; top: 100px; }
.pd-card { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.pd-card h3 { margin-bottom: 14px; }
.pd-card h4 { margin: 20px 0 10px; font-size: .95rem; }
.pd-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: .94rem; }
.pd-card dt { color: var(--muted); }
.pd-card dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pd-btns { display: grid; gap: 10px; margin-top: 22px; }
.pd-btns .btn { white-space: normal; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 60px 20px; background: rgba(3,6,12,.92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: #cbd5e1; margin-top: 12px; font-size: .92rem; }
.lb-x { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); } .lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.ci-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .3s, border-color .3s; }
a.ci-card:hover { transform: translateX(6px); border-color: var(--brand); color: var(--text); }
.ci-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); flex-shrink: 0; }
.ci-card.wa .ci-ic { background: rgba(37,211,102,.15); color: #25d366; }
.ci-card small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.ci-card b { display: block; color: var(--heading); font-size: 1.04rem; font-weight: 600; }
.ci-social { padding: 4px 4px 0; }
.ci-social small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.form-card { padding: clamp(24px, 4vw, 42px); border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; margin-top: 20px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fl { position: relative; display: block; }
.fl input, .fl textarea, .fl select {
  width: 100%; padding: 22px 16px 10px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface-2);
  color: var(--heading); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; appearance: none;
}
.fl select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.fl select option { background: var(--surface); color: var(--heading); }
.fl span { position: absolute; left: 16px; top: 16px; color: var(--muted); pointer-events: none; transition: .2s; font-size: .98rem; }
.fl input:focus, .fl textarea:focus, .fl select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(34,211,238,.13); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span,
.fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span, .fl span.up { top: 6px; font-size: .74rem; color: var(--brand); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.alert { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; margin-top: 16px; font-weight: 500; }
.alert.ok { background: rgba(16,185,129,.13); color: var(--brand-2); border: 1px solid rgba(16,185,129,.3); }
.alert.err { background: rgba(248,113,113,.12); color: #f87171; border: 1px solid rgba(248,113,113,.3); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.3); }
[data-theme="dark"] .map-wrap iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.3); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--border); padding: 0 0 26px; overflow: hidden; }
.footer-glow { position: absolute; width: 600px; height: 300px; left: 50%; top: -150px; transform: translateX(-50%); background: var(--grad); filter: blur(120px); opacity: .12; }
.footer-cta {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 70px 0 60px; padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: var(--grad-soft); border: 1px solid var(--border-2);
}
.footer-cta h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 6px; }
.footer-cta p { color: var(--muted); margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.f-col h4 { margin-bottom: 18px; font-size: 1.02rem; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.f-col ul a { color: var(--muted); font-size: .94rem; }
.f-col ul a:hover { color: var(--brand); padding-left: 4px; }
.f-about p { color: var(--muted); font-size: .94rem; margin-top: 18px; }
.f-tag { font: 600 .9rem/1.4 "Sora", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .94rem; }
.f-contact li > svg { color: var(--brand); margin-top: 4px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-2); color: var(--heading); transition: .3s; }
.socials a:hover { background: var(--grad); color: var(--on-brand); transform: translateY(-4px) rotate(-6deg); border-color: transparent; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); animation: waPulse 2.4s infinite; }
.wa-float .ic-brand { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-tip { position: absolute; right: 72px; white-space: nowrap; background: var(--surface); color: var(--heading); padding: 8px 14px; border-radius: 10px; font-size: .86rem; font-weight: 600; box-shadow: var(--shadow); border: 1px solid var(--border); opacity: 0; transform: translateX(10px); transition: .3s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 89; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); color: var(--heading); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rot-words b:first-child { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc1 { left: -10px; } .fc2 { left: 0; } .fc3 { right: -10px; }
}
@media (max-width: 991px) {
  .burger { display: flex; }
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg-2); }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(340px, 86vw); z-index: 99;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 96px 22px 30px; border-radius: 0;
    background: var(--bg-2); border: 0; border-left: 1px solid var(--border); transform: translateX(105%); transition: transform .45s cubic-bezier(.7,0,.2,1);
    overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav > a { padding: 14px 18px; font-size: 1.05rem; border-radius: 12px; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
  .burger, .theme-toggle { position: relative; z-index: 101; }
  .hide-sm { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 50px; }
  .split.rev .split-media { order: 0; }
  .hero { padding-top: 120px; text-align: left; }
  .hero-visual { max-width: 600px; margin: 0 auto; width: 100%; }
  .cards-grid, .tech-grid, .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-detail { grid-template-columns: 1fr; }
  .pd-side { position: static; }
  .tech-feature { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .tech-card:last-child { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
  .vm-grid, .contact-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .brand-text b { font-size: 1.05rem; } .brand-mark { width: 38px; height: 38px; }
  .brand-logo { height: 38px; max-width: 150px; }
  .cards-grid, .tech-grid, .why-list, .check-list, .f-row, .footer-grid, .proj-grid, .quote-grid { grid-template-columns: 1fr; }
  .chip-filter { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .chip-filter button { flex-shrink: 0; }
  .g-nav { width: 36px; height: 36px; }
  .g-thumbs button { flex-basis: 84px; }
  .tech-feature, .tech-card:last-child { grid-column: auto; }
  .hero-btns .btn { flex: 1 1 100%; }
  .float-card { padding: 9px 12px; gap: 9px; }
  .float-card b { font-size: .85rem; } .float-card small { font-size: .7rem; }
  .fc-ic { width: 32px; height: 32px; }
  .fc1 { left: 8px; top: 4%; } .fc2 { left: 8px; bottom: 6%; } .fc3 { right: 8px; }
  .orbit { display: none; }
  .is-main { width: 100%; }
  .is-sub { width: 56%; }
  .exp-badge { padding: 12px 14px; } .exp-badge b { font-size: 1.7rem; }
  .page-hero { padding: 130px 0 64px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .cta-btns, .cta-btns .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-tip { display: none; }
  .to-top { right: 21px; bottom: 82px; }
  .code-window { transform: none; }
}
@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
}

/* =========================================================
   Products, Technology Used, Clients & Reviews
   ========================================================= */
.svc-proj + .svc-proj { margin-left: 6px; }

/* Product cards */
.prod-card .pc-media { border-radius: 16px; }
.prod-card .pc-media .tag { top: 12px; }
.pc-price { margin-left: auto; padding: 2px 10px; border-radius: 99px; background: rgba(16,185,129,.14); color: var(--brand-2); font-weight: 700; }
.proj-card p.pc-tagline { color: var(--text); font-weight: 500; margin-bottom: 10px; }
.pc-feats { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.pc-feats li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--muted); }
.pc-feats .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--brand-2); }

/* Tech chips with logos */
.tech-chips span { display: inline-flex; align-items: center; gap: 6px; }
.tech-chips span img { width: 16px; height: 16px; padding: 1px; border-radius: 4px; background: #fff; object-fit: contain; }

/* Technology Used section */
.center-chips { justify-content: center; margin: -24px 0 34px; }
.tech-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.tl { display: grid; justify-items: center; gap: 4px; padding: 22px 12px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); text-align: center; transition: transform .35s, border-color .35s, box-shadow .35s; }
.tl:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--shadow); }
.tl.hide { display: none; }
.tl-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 18px -10px rgba(0,0,0,.35); margin-bottom: 8px; font: 800 1.1rem "Sora", sans-serif; color: #0b1220; }
[data-theme="light"] .tl-ic { background: var(--surface-2); }
.tl-ic img { width: 38px; height: 38px; object-fit: contain; transition: transform .35s; }
.tl:hover .tl-ic img { transform: scale(1.12) rotate(-4deg); }
.tl b { color: var(--heading); font-size: .95rem; }
.tl small { color: var(--muted); font-size: .76rem; }
.tech-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 960px; margin: 0 auto; }
.tech-cloud span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border-2); color: var(--heading); font-weight: 600; transition: .25s; }
.tech-cloud span:hover { border-color: var(--brand); transform: translateY(-2px); }
.tech-cloud span img { width: 24px; height: 24px; padding: 3px; border-radius: 7px; background: #fff; object-fit: contain; }

/* Clients — logo wall */
.client-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.client-tile { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; height: 112px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); text-align: center; color: var(--heading); transition: transform .35s, border-color .35s, box-shadow .35s; }
.client-tile.has-logo { background: #fff; }
[data-theme="light"] .client-tile.has-logo { border-color: var(--border); }
.client-tile img { max-width: 82%; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s, transform .35s; }
.client-tile:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.client-tile:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.client-tile b { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: var(--on-brand); font: 800 .95rem/1 "Sora", sans-serif; }
.client-tile span { font-size: .88rem; font-weight: 600; line-height: 1.3; }
a.client-tile:hover span { color: var(--brand); }

/* Clients — name list */
.client-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; columns: 3 240px; column-gap: 28px; }
.client-list li { break-inside: avoid; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 11px 4px; border-bottom: 1px dashed var(--border-2); color: var(--heading); font-weight: 600; }
.client-list li .ic { width: 16px; height: 16px; color: var(--brand-2); align-self: center; }
.client-list li a { color: var(--heading); }
.client-list li a:hover { color: var(--brand); }
.client-list li small { width: 100%; padding-left: 26px; color: var(--muted); font-weight: 400; font-size: .82rem; }

/* Reviews */
.quote-card { display: flex; flex-direction: column; }
.quote-card blockquote { flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-card figcaption .q-logo { width: 54px; height: 54px; padding: 6px; border-radius: 12px; background: #fff; object-fit: contain; border: 1px solid var(--border); flex-shrink: 0; }

/* Product page */
.spec-table { display: grid; grid-template-columns: minmax(140px, auto) 1fr; margin: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.spec-table dt, .spec-table dd { margin: 0; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.spec-table dt { color: var(--muted); font-weight: 600; background: var(--surface-2); }
.spec-table dd { color: var(--heading); }
.spec-table dd.full { grid-column: 1 / -1; }
.spec-table > :nth-last-child(-n+2) { border-bottom: 0; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd-card dd.price { color: var(--brand-2); }

@media (max-width: 1180px) and (min-width: 992px) {
  .main-nav > a { padding: 8px 11px; font-size: .9rem; }
  .brand-logo { height: 36px; max-width: 165px; }
}
@media (max-width: 640px) {
  .tech-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-tile { height: 96px; }
  .center-chips { justify-content: flex-start; margin-top: -20px; }
  .spec-table { grid-template-columns: 1fr; }
  .spec-table dt { border-bottom: 0; padding-bottom: 4px; }
  .spec-table dd { padding-top: 4px; }
}

/* Product features — title, description, screenshot under it */
.feat-blocks { display: grid; gap: 18px; counter-reset: fb; }
.feat-block { padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); transition: border-color .35s; }
.feat-block:hover { border-color: var(--border-2); }
.fb-head { display: flex; align-items: center; gap: 14px; }
.fb-no { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--grad); color: var(--on-brand); font: 800 .9rem/1 "Sora", sans-serif; }
.fb-head h3 { margin: 0; font-size: 1.15rem; }
.fb-text { margin: 12px 0 0 54px; color: var(--text); line-height: 1.7; }
.fb-shot { position: relative; display: block; width: calc(100% - 54px); margin: 16px 0 0 54px; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.fb-shot img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: top; transition: transform .6s; }
.fb-shot:hover img { transform: scale(1.02); }
.fb-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--glass); color: var(--heading); backdrop-filter: blur(6px); opacity: 0; transition: .3s; }
.fb-shot:hover .fb-zoom { opacity: 1; }

/* Clients using this product */
.pclient-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.pclient { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 76px; padding: 16px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); text-align: center; color: var(--heading); transition: transform .3s, border-color .3s; }
.pclient:hover { transform: translateY(-3px); border-color: var(--brand); }
.pclient b { font-size: .9rem; line-height: 1.3; }
a.pclient:hover b { color: var(--brand); }
.pcl-logo { width: 100%; height: 64px; display: grid; place-items: center; border-radius: 11px; background: #fff; padding: 8px; }
.pcl-logo img { max-width: 100%; max-height: 48px; object-fit: contain; }
.pclient.name-only { position: relative; padding-left: 18px; padding-right: 18px; }
.pclient.name-only::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }

@media (max-width: 640px) {
  .feat-block { padding: 18px; }
  .fb-text { margin-left: 0; }
  .fb-shot { width: 100%; margin-left: 0; }
  .pclient-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
