/* ZUBEX Technology — site styles
   Palette derived from the logo: electric blue → cyan gradient, chrome silver, deep navy. */

:root {
  --bg: #060b16;
  --bg-2: #0a1120;
  --surface: #0e1728;
  --surface-2: #131e33;
  --border: rgba(160, 190, 230, 0.12);
  --border-strong: rgba(160, 190, 230, 0.24);
  --text: #e8eef8;
  --text-2: #b4c0d3;
  --muted: #8593aa;
  --silver: #c9d2de;
  --silver-2: #98a3b3;
  --blue: #0a74ff;
  --blue-2: #0060e6;
  --cyan: #00e0ff;
  --cyan-2: #33f0ff;
  --accent-grad: linear-gradient(135deg, #0060e6 0%, #0a8cff 45%, #00e0ff 100%);
  --silver-grad: linear-gradient(180deg, #ffffff 0%, #c9d2de 55%, #8f9bab 100%);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(0, 224, 255, 0.25), 0 10px 40px rgba(10, 116, 255, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(10, 116, 255, 0.16), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(0, 224, 255, 0.07), transparent 60%),
    var(--bg);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; color: #fff; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.text-grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-silver { background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.section { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.section-tight { padding: clamp(36px, 5vw, 60px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(14, 23, 40, 0.6), rgba(14, 23, 40, 0.2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 12px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent-grad); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 0; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; border: 1px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s; white-space: nowrap; text-decoration: none !important; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { color: #fff; background: #0a5fd6; border-color: #0a5fd6; box-shadow: 0 8px 30px rgba(10, 116, 255, 0.3); }
.btn-primary:hover { background: #0b6ae8; border-color: #0b6ae8; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 224, 255, 0.3); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.03); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0, 224, 255, 0.06); transform: translateY(-2px); }
.btn-silver { color: #0a1120; background: var(--silver-grad); }
.btn-silver:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200, 210, 225, 0.25); }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none !important; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--cyan); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
/* Blur lives on a pseudo-element so the header itself is not a containing block for the fixed mobile menu. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6, 11, 22, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background 0.3s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header.scrolled::before { background: rgba(6, 11, 22, 0.9); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text-2); font-weight: 500; font-size: 0.95rem; text-decoration: none !important; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.nav-links a[aria-current="page"] { color: #fff; position: relative; }
.nav-links a[aria-current="page"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent-grad); border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 40px; background: rgba(6, 11, 22, 0.98); border-top: 1px solid var(--border); transform: translateX(100%); opacity: 0; visibility: hidden; transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0s linear 0.35s; overflow-y: auto; }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0s; }
  .nav-links a { font-size: 1.15rem; padding: 16px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-mobile-cta { margin-top: 20px; }
  .nav-links .nav-mobile-cta a { border: 0; text-align: center; }
  body.nav-open { overflow: hidden; }
}
.nav-mobile-cta { display: none; }
@media (max-width: 960px) { .nav-mobile-cta { display: block; } }

/* Hero */
.hero { position: relative; padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 160, 220, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 220, 0.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 100%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { max-width: 560px; } }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-size: 0.9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-visual { position: relative; }
.concept-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.concept-art { aspect-ratio: 16 / 10; }
.concept-art svg { width: 100%; height: 100%; display: block; }
.concept-caption { display: flex; align-items: flex-start; gap: 8px; padding: 12px 16px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); }
.concept-caption svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--cyan); }
p.concept-caption { border: 0; padding: 0 0 24px; margin-top: -24px; }
.draft-note { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.draft-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--cyan); }
.tag-draft { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 0.8rem; }
.tag-draft svg { width: 14px; height: 14px; }
.project-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.process.process-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .process.process-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .process.process-4 { grid-template-columns: 1fr; } }
.case-meta.case-meta-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .case-meta.case-meta-3 { grid-template-columns: 1fr; } }
.form-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 182, 72, 0.5); background: rgba(255, 182, 72, 0.08); color: #ffe3b3; font-size: 0.95rem; }
.form-notice svg { width: 20px; height: 20px; flex: none; color: #ffb648; margin-top: 2px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none; }
.hero-visual .logo-big { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0, 120, 255, 0.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero-visual .logo-big { animation: none; } }
.hero-orb { position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0, 224, 255, 0.18), rgba(10, 116, 255, 0.08) 45%, transparent 70%); filter: blur(10px); pointer-events: none; z-index: -1; }

/* Page hero */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 60px); position: relative; }
.page-hero h1 { max-width: 20ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.875rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--border-strong); }
.breadcrumbs [aria-current] { color: var(--text-2); }

/* Cards */
.card { position: relative; background: linear-gradient(180deg, rgba(19, 30, 51, 0.7), rgba(14, 23, 40, 0.7)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-link { display: block; color: inherit; text-decoration: none !important; }
.card h3 { margin-top: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(10, 116, 255, 0.22), rgba(0, 224, 255, 0.12)); border: 1px solid rgba(0, 224, 255, 0.25); color: var(--cyan); margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }
.card .link-arrow { margin-top: 18px; }
.service-card p { color: var(--text-2); }
.grid-4 .service-card { padding: 24px 22px; }
.grid-4 .service-card h3 { font-size: 1.1rem; }
.service-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--text-2); font-size: 0.925rem; }
.service-card ul li { display: flex; gap: 10px; align-items: flex-start; }
.service-card ul li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 9px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 32px 28px; }
.stat-value { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; margin-bottom: 8px; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 0.925rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* Project cards */
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.project-cover svg { width: 100%; height: 100%; transition: transform 0.6s var(--ease); }
.project-card:hover .project-cover svg { transform: scale(1.04); }
.project-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cyan); background: rgba(0, 224, 255, 0.08); border: 1px solid rgba(0, 224, 255, 0.2); }
.tag-silver { color: var(--silver); background: rgba(201, 210, 222, 0.06); border-color: rgba(201, 210, 222, 0.2); }
.project-card h3 { font-size: 1.2rem; }
.project-card p { color: var(--text-2); font-size: 0.95rem; flex: 1; }
.project-result { display: flex; gap: 16px; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.project-result strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.project-result span { color: var(--muted); font-size: 0.875rem; }
.project-featured { grid-column: span 2; }
.project-featured .project-cover { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .project-featured { grid-column: span 1; } .project-featured .project-cover { aspect-ratio: 16 / 10; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font-family: var(--font-head); font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover { border-color: var(--cyan); color: #fff; }
.filter-btn[aria-pressed="true"] { background: var(--accent-grad); border-color: transparent; color: #fff; }
.filter-empty { display: none; text-align: center; color: var(--muted); padding: 40px; }
.filter-empty.show { display: block; }
[data-filter-item].hidden { display: none; }

/* Logos */
.logo-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.logo-head .eyebrow { margin-bottom: 0; }
.logo-head p { margin: 0; font-size: 0.925rem; }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.client-logo { display: flex; align-items: center; justify-content: center; padding: 22px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(14, 23, 40, 0.5); color: var(--silver); min-height: 92px; transition: border-color 0.3s, transform 0.3s, color 0.3s, background 0.3s; text-decoration: none !important; }
.client-logo:hover, .client-logo:focus-visible { color: #fff; border-color: var(--border-strong); background: rgba(19, 30, 51, 0.8); transform: translateY(-2px); }
.client-logo svg { height: 48px; width: auto; max-width: 100%; display: block; }
.case-client-logo svg { height: 40px; width: auto; max-width: 100%; color: var(--silver); margin-top: 2px; }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.stars { display: flex; gap: 3px; color: #ffcf5c; }
.stars svg { width: 16px; height: 16px; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--text-2); flex: 1; }
.quote-card blockquote::before { content: '“'; display: block; font-family: var(--font-head); font-size: 3rem; line-height: 0.6; color: var(--cyan); margin-bottom: 14px; opacity: 0.8; }
.quote-author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }
.quote-author strong { display: block; color: #fff; font-size: 0.95rem; }
.quote-author span { color: var(--muted); font-size: 0.85rem; }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel-track { grid-auto-columns: 100%; } }
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: all 0.2s; }
.carousel-btn:hover { border-color: var(--cyan); background: rgba(0, 224, 255, 0.08); }
.carousel-btn svg { width: 20px; height: 20px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(14, 23, 40, 0.5); }
.process-step .step-no { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.process-step h3 { font-size: 1.15rem; }
.process-step p { color: var(--text-2); font-size: 0.925rem; }

/* Features / checklist */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--cyan); margin-top: 3px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-2); font-size: 0.875rem; font-family: var(--font-head); font-weight: 500; }

/* Industries */
.industry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(14, 23, 40, 0.5); font-weight: 500; color: var(--text-2); transition: all 0.25s; }
.industry:hover { border-color: var(--border-strong); color: #fff; }
.industry svg { width: 24px; height: 24px; color: var(--cyan); flex: none; }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan)); opacity: 0.6; }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -27px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.15); }
.timeline-year { font-family: var(--font-head); font-weight: 700; color: var(--cyan); font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-2); }

/* Team */
.team-card { text-align: left; }
.team-card .avatar { width: 72px; height: 72px; font-size: 1.3rem; margin-bottom: 18px; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-role { color: var(--cyan); font-size: 0.875rem; font-weight: 500; margin-bottom: 12px; }
.team-card p { color: var(--text-2); font-size: 0.925rem; }
.team-card .social { margin-top: 14px; display: inline-flex; color: var(--muted); }
.team-card .social svg { width: 20px; height: 20px; }
.team-card .social:hover { color: var(--cyan); }

/* FAQ */
.faq { border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(14, 23, 40, 0.5); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--cyan); transition: transform 0.3s var(--ease); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--text-2); }

/* Case study */
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 32px 0; }
.case-meta div { background: var(--bg-2); padding: 18px 22px; }
.case-meta dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }
.case-meta dd { margin: 0; color: #fff; font-weight: 500; }
@media (max-width: 800px) { .case-meta { grid-template-columns: repeat(2, 1fr); } }
.case-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 21 / 9; margin-bottom: 40px; }
.case-cover svg { width: 100%; height: 100%; }
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .results { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .results { grid-template-columns: 1fr; } }
.result { padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(10, 116, 255, 0.1), rgba(14, 23, 40, 0.4)); }
.result strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 8px; }
.result span { color: var(--text-2); font-size: 0.9rem; }
.case-section { padding: 40px 0; border-top: 1px solid var(--border); }
.case-section h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.numbered { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 16px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 16px; color: var(--text-2); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: var(--cyan); font-size: 1.1rem; line-height: 1.5; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--border); }

/* Prose (blog, legal) */
.prose { color: var(--text-2); font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { line-height: 1.75; }
.prose ul, .prose ol { margin-bottom: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--cyan); text-decoration: none; }
.post-card p { color: var(--text-2); font-size: 0.95rem; }
.post-card .post-meta { margin: 0 0 12px; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(14, 23, 40, 0.5); margin-top: 48px; }
.author-box .avatar { width: 56px; height: 56px; }

/* Jobs */
.job-card summary { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; }
.job-card summary h3 { margin: 0; font-size: 1.1rem; }
.job-card .job-tags { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1; }
.job-card summary svg { grid-column: 2; grid-row: 1 / span 2; }
.job-body { padding: 0 24px 24px; color: var(--text-2); }
.job-body .btn { margin-top: 12px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--text-2); }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: rgba(6, 11, 22, 0.6); color: #fff; font: inherit; font-size: 0.975rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300e0ff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: var(--surface); color: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 224, 255, 0.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b6b; }
.field-error { display: none; font-size: 0.825rem; color: #ff8080; }
.field.invalid .field-error { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 0.9rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.form-status { display: none; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid; font-size: 0.95rem; }
.form-status.show { display: block; }
.form-status.success { border-color: rgba(0, 224, 255, 0.4); background: rgba(0, 224, 255, 0.08); color: #dffbff; }
.form-status.error { border-color: rgba(255, 107, 107, 0.5); background: rgba(255, 107, 107, 0.08); color: #ffd6d6; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { width: 22px; height: 22px; color: var(--cyan); flex: none; margin-top: 3px; }
.contact-item strong { display: block; color: #fff; margin-bottom: 2px; }
.contact-item a { color: var(--text-2); }
.contact-item a:hover { color: var(--cyan); }
.office-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.office-card .muted { font-size: 0.85rem; margin-bottom: 14px; display: block; }
.office-card address { font-style: normal; color: var(--text-2); font-size: 0.925rem; line-height: 1.6; }
.office-card address a { display: block; margin-top: 8px; }
.map-box { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--bg-2); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.9); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(40px, 6vw, 72px); border: 1px solid rgba(0, 224, 255, 0.25); background: radial-gradient(800px 300px at 10% 0%, rgba(10, 116, 255, 0.35), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(0, 224, 255, 0.2), transparent 60%), var(--surface); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-2); margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band .actions { justify-content: flex-start; } }
.cta-band::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; background: url('../img/logo-mark.png') center/contain no-repeat; opacity: 0.06; pointer-events: none; }

/* Footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(10, 17, 32, 0.6), #04070f); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.925rem; max-width: 36ch; }
.footer-brand a { color: var(--text-2); }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-2); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 0.925rem; }
.footer-col a:hover { color: var(--cyan); text-decoration: none; }
.footer-contact li { color: var(--text-2); font-size: 0.925rem; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-2); transition: all 0.2s; }
.social-links a:hover { color: #fff; border-color: var(--cyan); background: rgba(0, 224, 255, 0.08); text-decoration: none; }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 22px 0 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--cyan); }
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cert { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.78rem; color: var(--silver); font-family: var(--font-head); font-weight: 600; }
.cert svg { width: 14px; height: 14px; color: var(--cyan); }

/* Misc */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal, html.js .reveal.in { opacity: 1; transform: none; transition: none; } .btn, .card, .link-arrow svg, .client-logo, .project-cover svg, .industry, .back-top { transition: none; } }
.back-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(14, 23, 40, 0.9); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: all 0.3s; z-index: 90; }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top svg { width: 20px; height: 20px; }
.back-top:hover { border-color: var(--cyan); }
.divider { height: 1px; background: var(--border); }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notfound { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.notfound .code { font-family: var(--font-head); font-size: clamp(5rem, 15vw, 10rem); font-weight: 700; line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: #fff; font-family: var(--font-head); font-weight: 600; }
td { color: var(--text-2); }
.country-flag { font-size: 0.85rem; color: var(--muted); }
.clients-table td:first-child { color: #fff; font-weight: 500; }
