/* =========================================================
   Bogenika — Corporate Website Styles
   ========================================================= */

:root {
  /* Brand palette — ink base, restrained purple accent */
  --bg: #141414;          /* Ink */
  --bg-alt: #1a1a1a;
  --surface: #1e1e1e;
  --surface-2: #262626;
  --border: #2e2e2e;
  --text: #ececec;
  --text-muted: #a8a8a8;
  --text-dim: #808080;
  --primary: #6C63FF;     /* Accent Purple */
  --primary-2: #8b83ff;
  --accent: #6C63FF;      /* single accent — the only brand colour */
  --gradient: linear-gradient(120deg, #6C63FF 0%, #574fe0 100%);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.85);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 12px 30px -12px rgba(108, 99, 255, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(108, 99, 255, 0.8); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary-2); background: rgba(108, 99, 255, 0.08); transform: translateY(-2px); }
.btn-block { width: 100%; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(20, 20, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(20, 20, 20, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 400; }
.brand-mark { display: inline-flex; }
.brand-text { display: inline-flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-tagline {
  font-family: var(--font);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.33em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-menu a.nav-cta {
  background: var(--gradient);
  color: #ffffff;
  font-weight: 600;
  margin-left: 6px;
}
.nav-menu a.nav-cta:hover { opacity: 0.92; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 12vw, 130px) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 15% 10%, rgba(108, 99, 255, 0.28), transparent 60%),
    radial-gradient(55% 55% at 90% 20%, rgba(108, 99, 255, 0.22), transparent 55%),
    radial-gradient(50% 60% at 60% 100%, rgba(108, 99, 255, 0.14), transparent 60%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 40%, transparent 80%);
}
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #bcbcbc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-text {
  font-family: var(--font);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.stat-text::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}
.stat-label { font-size: 0.9rem; color: var(--text-dim); }

/* ---------- Logos strip ---------- */
.logos { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.logos-title { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 20px; }
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
}
.logos-row span {
  font-family: var(--font);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1.05rem;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.logos-row span:hover { opacity: 1; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
.section-sub { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(108, 99, 255, 0.5); box-shadow: var(--shadow); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(108, 99, 255, 0.16));
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  background: var(--gradient);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

/* ---------- Work cards ---------- */
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(108, 99, 255, 0.45); box-shadow: var(--shadow); }
.work-tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.work-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.work-card p { color: var(--text-muted); font-size: 0.98rem; }
.work-metrics {
  display: flex;
  gap: 26px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.work-metrics li { font-size: 0.9rem; color: var(--text-dim); }
.work-metrics strong {
  display: block;
  font-family: var(--font);
  font-size: 1.4rem;
  color: var(--text);
}
.work-card-cta {
  background: linear-gradient(160deg, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.06));
  border-style: dashed;
  border-color: rgba(108, 99, 255, 0.45);
}
.work-link {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  color: var(--accent);
}
.work-link:hover { color: var(--primary-2); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-secondary { margin-top: 22px; }

/* ---------- Featured project ---------- */
.feature-project {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.feature-project:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 99, 255, 0.5);
  box-shadow: var(--shadow);
}
.feature-media {
  background:
    radial-gradient(70% 80% at 20% 10%, rgba(108, 99, 255, 0.35), transparent 60%),
    linear-gradient(160deg, #1e1e1e, #141414);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.mock {
  width: 100%;
  max-width: 340px;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-bar span:first-child { background: #6C63FF; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 8px;
}
.mock-doc { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.mock-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.mock-chip.paid { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.mock-chip.due { background: rgba(108, 99, 255, 0.16); color: #a5b4fc; }
.mock-chip.partial { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }
.mock-chip.overdue { background: rgba(248, 113, 113, 0.14); color: #fca5a5; }

.feature-body { padding: 36px 34px; display: flex; flex-direction: column; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
}
.feature-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 4px; }
.feature-sub { color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.feature-body > p { color: var(--text-muted); }
.feature-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 4px 0 22px;
}
.feature-stack li { font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }
.feature-stack li::before { content: "▹"; color: var(--accent); margin-right: 6px; }
.feature-cta { margin-top: auto; font-weight: 600; color: var(--accent); }
.feature-project:hover .feature-cta { color: var(--primary-2); }

/* Reversed featured layout (media on the right) */
.feature-project.feature-reverse { grid-template-columns: 1.2fr 1.05fr; margin-top: 22px; }
.feature-reverse .feature-media { order: 2; }
.feature-reverse .feature-media {
  background:
    radial-gradient(70% 80% at 80% 10%, rgba(108, 99, 255, 0.3), transparent 60%),
    linear-gradient(200deg, #1e1e1e, #141414);
}

/* Stock dashboard mock */
.mock-stock { max-width: 360px; }
.mock-srow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 6px;
}
.mock-qty { font-family: var(--font); font-weight: 700; font-size: 0.9rem; color: var(--text); }
.mock-qty.muted { font-weight: 500; color: var(--text-dim); font-family: var(--font); font-size: 0.8rem; }
.mock-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px 4px; }
.mock-tags span {
  font-size: 0.68rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Open-slot CTA band */
.work-cta-band {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.06));
  border: 1px dashed rgba(108, 99, 255, 0.45);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.work-cta-band h3 { font-size: 1.3rem; margin-bottom: 4px; }
.work-cta-band p { color: var(--text-muted); margin: 0; max-width: 520px; }

/* ---------- Case study page ---------- */
.case-hero { position: relative; padding: clamp(48px, 8vw, 90px) 0 clamp(36px, 5vw, 56px); overflow: hidden; }
.case-hero-inner { max-width: 820px; }
.case-back { margin-bottom: 22px; }
.case-back a { color: var(--text-muted); font-weight: 500; }
.case-back a:hover { color: var(--accent); }
.case-hero .feature-tags { margin-bottom: 20px; }
.case-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 30%, #bcbcbc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-lead { font-size: 1.2rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.case-summary { font-size: 1.1rem; color: var(--text-muted); max-width: 720px; }
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.case-meta dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 5px; }
.case-meta dd { margin: 0; font-weight: 600; font-size: 0.98rem; }

.case-section { padding: clamp(52px, 8vw, 88px) 0; }
.case-narrow { max-width: 820px; }
.case-section h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.lede { color: var(--text-muted); font-size: 1.08rem; }

.pain-list { display: grid; gap: 14px; margin-top: 28px; }
.pain-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.pain-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.pain-list p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }

.feature-grid .card { display: flex; flex-direction: column; }
.tick { display: grid; gap: 10px; margin-top: 6px; }
.tick li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: 0.96rem; }
.tick li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236C63FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.saas-grid { margin-top: 8px; }
.saas-grid .card p { margin-top: 6px; }

.stack-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stack-tags li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
}
code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.9em;
  color: var(--accent);
}

.outcome {
  background: linear-gradient(160deg, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.06));
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
}
.outcome p { color: var(--text-muted); font-size: 1.1rem; margin: 0; }

.case-cta-section { padding: clamp(52px, 8vw, 88px) 0; text-align: center; }
.case-cta h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.case-cta p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 26px; }
.case-cta .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Testimonial ---------- */
.testimonial-section { text-align: center; }
.testimonial { max-width: 800px; margin: 0 auto; }
.testimonial blockquote {
  font-family: var(--font);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.testimonial figcaption { display: inline-flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #ffffff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--font);
}
.cite { text-align: left; }
.cite strong { display: block; }
.cite span { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-text p { color: var(--text-muted); }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}
.value h3 { font-size: 1.05rem; margin-bottom: 4px; }
.value p { font-size: 0.94rem; margin: 0; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: sticky;
  top: 96px;
}
.about-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C63FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Contact ---------- */
.contact-section { background: var(--bg-alt); }
.contact-cta {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 60px) clamp(24px, 5vw, 52px);
}
.contact-cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.contact-lead { color: var(--text-muted); font-size: 1.08rem; margin: 0 auto 30px; max-width: 480px; }
.contact-email-btn {
  font-size: 1.05rem;
  padding: 15px 30px;
}
.contact-meta { color: var(--text-dim); font-size: 0.9rem; margin: 22px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 56px 0 30px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-logo-link { display: inline-block; }
.footer-logo { width: 176px; height: auto; border-radius: 14px; display: block; }
.footer-brand p { color: var(--text-dim); max-width: 300px; margin-top: 18px; font-size: 0.95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a { color: var(--text-muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }
.footer-email { color: var(--text-muted); font-size: 0.9rem; }
.footer-email:hover { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .feature-project,
  .feature-project.feature-reverse { grid-template-columns: 1fr; }
  .feature-reverse .feature-media { order: 0; }
  .feature-media { min-height: 240px; }
  .case-meta { grid-template-columns: 1fr 1fr; }
  .work-cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 12px 14px; }
  .nav-menu a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 620px) {
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; }
  .case-meta { grid-template-columns: 1fr; }
  .feature-body { padding: 26px 22px; }
}
