/* ════════════════════════════════════════════════════════════
   CIRCLECRAFT — style.css
   Business-focused Premium Dark Design System
   ════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --black:      #080808;
  --bg:         #0f0f0f;
  --bg-2:       #141414;
  --bg-3:       #1a1a1a;
  --bg-4:       #222222;
  --border:     rgba(255,255,255,0.07);
  --border-hi:  rgba(255,255,255,0.12);
  --text:       #f0ede8;
  --text-2:     #a8a29e;
  --text-3:     #6b6560;
  --blue:       #2563eb;
  --blue-light: #60a5fa;
  --blue-glow:  rgba(37,99,235,0.25);
  --blue-dim:   rgba(37,99,235,0.12);
  --accent:     #0ea5e9;

  /* Typography */
  --fh: 'Bricolage Grotesque', sans-serif;
  --fb: 'DM Sans', sans-serif;

  /* Spacing */
  --gap: 28px;
  --section: 120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BASE ─────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-width: 0;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (max-width: 768px) { body { cursor: auto; } }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
canvas { display: block; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 10px; }

/* ── NOISE ────────────────────────────────────────────────── */
.noise {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── CURSOR ───────────────────────────────────────────────── */
.cursor {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid rgba(96,165,250,0.6);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed; width: 4px; height: 4px;
  background: var(--blue-light); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
.cursor.big  { width: 60px; height: 60px; background: rgba(37,99,235,.08); border-color: var(--blue-light); }
.cursor.tiny { width: 14px; height: 14px; }
@media (hover:none) { .cursor, .cursor-dot { display: none; } }

/* ── GLASS ────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 18px;
}

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 64px;
}
@media (max-width: 1024px) { .container { padding: 0 40px; } }
@media (max-width: 640px)  { .container { padding: 0 20px; } }

/* ── SECTION SPACING ─────────────────────────────────────── */
.section { padding: var(--section) 0; position: relative; }
@media (max-width: 768px) { :root { --section: 80px; } }

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fb); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--blue-light);
}

.sec-title {
  font-family: var(--fh);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -.025em; color: var(--text);
  margin-bottom: 20px;
}
.sec-title em { font-style: normal; color: var(--blue-light); }

.sec-sub {
  font-family: var(--fb); font-size: 17px; line-height: 1.7;
  color: var(--text-2); max-width: 600px;
}

.body-text {
  font-size: 16px; line-height: 1.75;
  color: var(--text-2); margin-bottom: 22px;
}
.body-text strong { color: var(--text); }

/* ── SECTION HEADER ─────────────────────────────────────── */
.sec-head { margin-bottom: 64px; }
.sec-head .sec-sub { margin-top: 16px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 28px; border-radius: 9999px;
  background: var(--blue); color: #fff;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(37,99,235,.3);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-primary.large { padding: 16px 36px; font-size: 14px; }
.btn-primary.full  { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  padding: 14px 28px; border-radius: 9999px;
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border-hi); cursor: pointer;
  transition: all .3s var(--ease);
}
.btn-ghost:hover { border-color: var(--blue-light); color: var(--text); background: var(--blue-dim); }

.btn-nav {
  display: none;
  font-family: var(--fb); font-size: 12px; font-weight: 500;
  letter-spacing: .04em;
  padding: 9px 20px; border-radius: 9999px;
  background: var(--blue); color: #fff;
  border: none; cursor: pointer;
  transition: all .3s; box-shadow: 0 2px 14px rgba(37,99,235,.3);
}
.btn-nav:hover { background: #1d4ed8; }
@media (min-width: 769px) { .btn-nav { display: block; } }

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═════════════════════════════════════════════════════════════
   NAVIGATION
   ═════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.site-header.scrolled {
  background: rgba(9,9,9,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.nav {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
}

.nav-title {
  font-family: var(--fh); font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--fb); font-size: 13px; font-weight: 400;
  color: var(--text-2); transition: color .3s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--blue-light);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-brand { gap: 8px; }
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: all .3s var(--ease);
}
.hamburger.open span:first-child { transform: rotate(45deg) translate(4px,5px); }
.hamburger.open span:last-child  { transform: rotate(-45deg) translate(4px,-5px); }
@media (max-width: 768px) { .hamburger { display: flex; } }

/* Mobile menu */
.mob-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(8,8,8,.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 24px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.mob-menu.open { transform: translateX(0); }
.mob-menu ul { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 32px; }
.mob-link {
  font-family: var(--fh); font-size: 32px; font-weight: 700;
  color: var(--text-2); padding: 8px 20px;
  transition: color .3s;
}
.mob-link:hover { color: var(--blue-light); }

/* ═════════════════════════════════════════════════════════════
   HERO SECTION
   ═════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--black);
  padding-top: 90px;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.07) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(14,165,233,.05) 0%, transparent 50%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding-top: 40px; padding-bottom: 80px;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* Hero Content */
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--fb); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-2); padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border-hi);
  background: rgba(255,255,255,.03);
  margin-bottom: 28px;
}
.badge-pulse {
  width: 6px; height: 6px; background: #22c55e;
  border-radius: 50%; flex-shrink: 0;
  animation: bpulse 2s ease infinite;
}
@keyframes bpulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.hero-title {
  font-family: var(--fh);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em; color: var(--text);
  margin-bottom: 22px;
}
.grad-text {
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #fff 30%, var(--blue-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px; line-height: 1.7; color: var(--text-2);
  max-width: 520px; margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong {
  font-family: var(--fh); font-size: 22px; font-weight: 700;
  color: var(--text); line-height: 1;
}
.trust-item span { font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
.trust-div { width: 1px; height: 32px; background: var(--border-hi); }

/* Hero floating cards */
.hero-cards {
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}

.hcard {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  transition: transform .4s var(--ease);
  animation: hfloat 3s ease-in-out infinite;
}
.hcard:nth-child(2) { animation-delay: .8s; margin-left: 32px; }
.hcard:nth-child(3) { animation-delay: 1.6s; }

@keyframes hfloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

.hcard-icon { font-size: 24px; flex-shrink: 0; }
.hcard-body { flex: 1; min-width: 0; }
.hcard-body strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.hcard-body small  { font-size: 12px; color: var(--text-2); }
.hcard-badge {
  font-size: 12px; font-weight: 600;
  color: var(--blue-light); background: var(--blue-dim);
  padding: 4px 10px; border-radius: 9999px;
  white-space: nowrap; flex-shrink: 0;
}
.hcard-badge.green { color: #22c55e; background: rgba(34,197,94,.12); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-family: var(--fb); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-3);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: sline 2s ease infinite;
}
@keyframes sline {
  0%{opacity:0;transform:scaleY(0);transform-origin:top;}
  50%{opacity:1;transform:scaleY(1);}
  100%{opacity:0;transform:scaleY(0);transform-origin:bottom;}
}

/* ═════════════════════════════════════════════════════════════
   MARQUEE
   ═════════════════════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden; background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  width: 100%;
}
.marquee-inner {
  display: inline-flex; align-items: center; gap: 24px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  font-family: var(--fb); font-size: 11px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.marquee-inner b { color: var(--blue-light); font-weight: 400; font-size: 16px; }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ═════════════════════════════════════════════════════════════
   SERVICES
   ═════════════════════════════════════════════════════════════ */
.services { background: var(--bg); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
@media (max-width: 768px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  padding: 36px; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(37,99,235,.08) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 30px rgba(37,99,235,.1); border-color: rgba(96,165,250,.2); }
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 52px; height: 52px; margin-bottom: 20px;
  color: var(--blue-light);
  background: var(--blue-dim); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  transition: background .3s, transform .3s;
}
.svc-card:hover .svc-icon { background: rgba(37,99,235,.2); transform: scale(1.05); }
.svc-icon svg { width: 100%; height: 100%; }

.svc-num {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--fh); font-size: 42px; font-weight: 800;
  color: rgba(255,255,255,.04); line-height: 1;
  pointer-events: none;
}

.svc-title {
  font-family: var(--fh); font-size: 22px; font-weight: 700;
  letter-spacing: -.02em; color: var(--text); margin-bottom: 12px;
}
.svc-desc { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 20px; }

.svc-list {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
}
.svc-list li {
  font-size: 13px; color: var(--text-2);
  padding-left: 18px; position: relative;
}
.svc-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--blue-light); font-size: 11px; font-weight: 700;
}

.svc-link {
  font-size: 13px; font-weight: 500; color: var(--blue-light);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s, opacity .3s;
}
.svc-link:hover { gap: 10px; opacity: .8; }

/* ═════════════════════════════════════════════════════════════
   ABOUT
   ═════════════════════════════════════════════════════════════ */
.about { background: var(--bg-2); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 56px; } }

.about-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}
.about-chips span {
  font-size: 13px; padding: 8px 16px; border-radius: 9999px;
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-2);
}

/* About visual */
.about-vis {
  position: relative; max-width: 460px; margin: 0 auto;
}
.av-main {
  padding: 28px; position: relative; z-index: 1;
}
.av-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-2); margin-bottom: 22px;
}
.av-dot {
  width: 8px; height: 8px; background: #22c55e;
  border-radius: 50%;
  animation: bpulse 2s ease infinite;
}

.av-bars {
  display: flex; align-items: flex-end; gap: 10px;
  height: 100px; margin-bottom: 20px;
}
.bar {
  flex: 1; height: var(--h);
  background: var(--bg-4); border-radius: 4px 4px 0 0;
  transition: height .8s var(--ease);
}
.bar.active { background: linear-gradient(to top, var(--blue), var(--accent)); }

.av-stat {
  display: flex; align-items: baseline; gap: 10px;
}
.av-big {
  font-family: var(--fh); font-size: 32px; font-weight: 800;
  color: var(--blue-light);
}
.av-label { font-size: 13px; color: var(--text-2); }

.av-mini {
  position: absolute; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  animation: hfloat 4s ease-in-out infinite;
}
.av-mini span { font-size: 20px; }
.av-mini strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.av-mini small  { font-size: 11px; color: var(--text-2); }
.av-m1 { bottom: -20px; left: -30px; animation-delay: 0s; }
.av-m2 { top: -16px; right: -20px; animation-delay: 1.5s; }

.av-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ═════════════════════════════════════════════════════════════
   WORK
   ═════════════════════════════════════════════════════════════ */
.work { background: var(--bg); }

.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
@media (max-width: 768px) { .work-grid { grid-template-columns: 1fr; } }

.wcard {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wcard:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }

.wcard-img {
  height: 220px; position: relative; overflow: hidden;
}
.wcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wcard:hover .wcard-img > div:first-of-type { transform: scale(1.04); }

/* Decorative project image backgrounds */
.wi1 {
  background: linear-gradient(135deg, #0c1825 0%, #1a2d40 50%, #0a1520 100%);
  transition: transform .7s var(--ease);
}
.wi2 {
  background: linear-gradient(135deg, #140c0c 0%, #2d1a0e 50%, #1a0e08 100%);
  transition: transform .7s var(--ease);
}
.wi3 {
  background: linear-gradient(135deg, #0a1a14 0%, #0e2d1a 50%, #081410 100%);
  transition: transform .7s var(--ease);
}
.wi4 {
  background: linear-gradient(135deg, #1a0c1a 0%, #2d1040 50%, #120a1a 100%);
  transition: transform .7s var(--ease);
}

/* Grid overlay on project imgs */
.wi1::before, .wi2::before, .wi3::before, .wi4::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 36px 36px;
}
.wi1::after { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,.2) 0%, transparent 60%); }
.wi2::after { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 40% 60%, rgba(234,88,12,.15) 0%, transparent 60%); }
.wi3::after { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 50% 40%, rgba(34,197,94,.15) 0%, transparent 60%); }
.wi4::after { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 60% 50%, rgba(168,85,247,.2) 0%, transparent 60%); }

.wcard-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  padding: 5px 12px; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.1);
}

.wcard-body { padding: 28px; }
.wcard-title {
  font-family: var(--fh); font-size: 22px; font-weight: 700;
  letter-spacing: -.02em; color: var(--text); margin-bottom: 10px;
}
.wcard-desc { font-size: 14px; line-height: 1.65; color: var(--text-2); margin-bottom: 22px; }
.wcard-metrics { display: flex; gap: 24px; }
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric strong {
  font-family: var(--fh); font-size: 20px; font-weight: 700;
  color: var(--blue-light);
}
.metric span { font-size: 11px; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }

/* ═════════════════════════════════════════════════════════════
   RESULTS / STATS
   ═════════════════════════════════════════════════════════════ */
.results { background: var(--bg-2); }
.results-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,.05) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: var(--gap);
}
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .stats-grid { grid-template-columns: 1fr; } }

.stat-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 28px;
  text-align: center;
  transition: transform .4s var(--ease), border-color .4s;
}
.stat-item:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.2); }

.stat-wrap { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 12px; }
.stat-num {
  font-family: var(--fh); font-size: 54px; font-weight: 800;
  color: var(--blue-light); line-height: 1;
}
.stat-sfx { font-family: var(--fh); font-size: 32px; font-weight: 700; color: var(--blue-light); }

.stat-label {
  font-size: 13px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; letter-spacing: .02em;
}
.stat-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ═════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═════════════════════════════════════════════════════════════ */
.testi { background: var(--bg); }

.tcarousel { position: relative; overflow: hidden; width: 100%; }
.ttrack { display: flex; gap: var(--gap); transition: transform .6s var(--ease); min-width: 0; }

.tcard {
  flex-shrink: 0; width: calc(33.33% - 19px);
  padding: 36px;
  border-left: 2px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
.tcard:hover { border-left-color: var(--blue-light); box-shadow: 0 0 30px rgba(37,99,235,.1); }

@media (max-width: 1024px) { .tcard { width: calc(50% - 14px); } }
@media (max-width: 640px)  { .tcard { width: 100%; } }

.tcard-stars { font-size: 14px; color: #fbbf24; letter-spacing: 3px; margin-bottom: 18px; }
.tcard p { font-size: 15px; font-style: italic; line-height: 1.75; color: var(--text); margin-bottom: 24px; }

.tcard-foot { display: flex; align-items: center; gap: 14px; }
.tcard-av {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-dim); border: 1px solid rgba(96,165,250,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--blue-light);
}
.tcard-name { display: block; font-size: 14px; font-weight: 600; color: var(--text); font-style: normal; }
.tcard-role { font-size: 11px; color: var(--text-3); letter-spacing: .06em; }

.tcontrols { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 44px; }
.tbtn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-hi); background: transparent;
  color: var(--text-2); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.tbtn:hover { border-color: var(--blue-light); color: var(--blue-light); background: var(--blue-dim); }
.tdots { display: flex; gap: 8px; }
.tdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bg-4); cursor: pointer; transition: all .3s;
}
.tdot.on { background: var(--blue-light); width: 20px; border-radius: 3px; }

/* ═════════════════════════════════════════════════════════════
   CTA STRIP
   ═════════════════════════════════════════════════════════════ */
.cta-strip {
  background: linear-gradient(135deg, #0f1a35 0%, #0a0f1a 100%);
  padding: 80px 0;
  border-top: 1px solid rgba(37,99,235,.2);
  border-bottom: 1px solid rgba(37,99,235,.2);
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--fh); font-size: clamp(26px,3.5vw,40px);
  font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.cta-inner p { font-size: 16px; color: var(--text-2); }

/* ═════════════════════════════════════════════════════════════
   CONTACT
   ═════════════════════════════════════════════════════════════ */
.contact { background: var(--bg-2); }
.contact-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(37,99,235,.06) 0%, transparent 70%);
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

.contact-info { display: flex; flex-direction: column; gap: 18px; margin: 32px 0; }
.ci-row {
  display: flex; align-items: flex-start; gap: 14px;
}
.ci-row > span { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.ci-row > div { display: flex; flex-direction: column; gap: 2px; }
.ci-row strong { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.ci-row span, .ci-row a { font-size: 15px; color: var(--text-2); transition: color .3s; }
.ci-row a:hover { color: var(--blue-light); }

.socials { display: flex; gap: 12px; }
.soc-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: all .3s var(--ease);
}
.soc-btn svg { width: 18px; height: 18px; }
.soc-btn:hover { border-color: var(--blue-light); color: var(--blue-light); background: var(--blue-dim); transform: translateY(-2px); }

/* Contact form */
.cform { padding: 44px; }
@media (max-width: 640px) { .cform { padding: 28px 20px; } }

.cform-title {
  font-family: var(--fh); font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 28px;
}

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 580px) { .frow { grid-template-columns: 1fr; } }

.fg { position: relative; margin-bottom: 24px; }
.frow .fg { margin-bottom: 0; }

.fg label {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 10px;
  transition: color .3s;
}
.fg:focus-within label { color: var(--blue-light); }

.fg input, .fg textarea, .fg select {
  width: 100%; background: var(--bg-3);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 16px; font-family: var(--fb);
  font-size: 15px; color: var(--text); outline: none;
  transition: border-color .3s, box-shadow .3s;
  resize: none; appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-3); }
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.fg select { cursor: pointer; }
.fg select option { background: var(--bg-3); }

.fline {
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0; background: var(--blue);
  transition: width .7s var(--ease); display: none;
}

.form-note {
  text-align: center; font-size: 12px;
  color: var(--text-3); margin-top: 14px;
}

/* ═════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black); padding: 80px 0 36px;
  position: relative; border-top: 1px solid var(--border);
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.4), transparent);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 56px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 580px)  { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-logo {
  font-family: var(--fh); font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}
.footer-logo span { color: var(--blue-light); }
.footer-tag { font-size: 14px; line-height: 1.65; color: var(--text-2); margin-bottom: 10px; }
.footer-loc { font-size: 13px; color: var(--text-3); }
.footer-loc a { color: var(--text-3); transition: color .3s; }
.footer-loc a:hover { color: var(--blue-light); }

.footer-h {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text); margin-bottom: 18px;
}
.fl {
  display: block; font-size: 13px; color: var(--text-2);
  margin-bottom: 10px; transition: color .3s, transform .3s;
}
.fl:hover { color: var(--blue-light); transform: translateX(3px); }
.fl-plain { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 10px; }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-3);
}
.fb-links { display: flex; gap: 20px; }
.fb-links a { color: var(--text-3); transition: color .3s; }
.fb-links a:hover { color: var(--blue-light); }

/* ── MOBILE ENHANCEMENTS ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding-top: 80px; }
  .hero-inner { padding-bottom: 56px; }
  .hero-sub { max-width: 100%; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; }
  .trust-div { width: 100%; height: 1px; margin: 0; }
  .hero-cards { align-items: center; }
  .hcard { width: min(100%, 360px); margin-left: auto; margin-right: auto; }
  .hcard:nth-child(2), .hcard:nth-child(3) { margin-left: 0; }
  .scroll-hint { display: none; }
  .marquee-inner { animation-duration: 20s; font-size: 10px; gap: 16px; }
  .svc-card { padding: 32px; }
  .wcard-img { height: 200px; }
  .wcard-body { padding: 24px; }
  .wcard-metrics { flex-direction: column; gap: 14px; }
  .stat-item { padding: 32px 24px; }
  .stat-num { font-size: 44px; }
  .stat-sfx { font-size: 24px; }
  .tcard { padding: 30px; }
  .tcontrols { gap: 16px; margin-top: 32px; }
  .cta-strip { padding: 64px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fb-links { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { min-height: auto; padding-top: 70px; }
  .hero-title { font-size: clamp(32px, 10vw, 44px); }
  .hero-badge { padding: 6px 14px; font-size: 10px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { gap: 12px; }
  .hero-trust { padding-top: 18px; }
  .hero-cards { gap: 12px; }
  .hcard { padding: 16px; }
  .marquee-inner { font-size: 9px; gap: 12px; }
  .svc-card { padding: 26px; }
  .about-grid, .work-grid, .stats-grid, .contact-grid { gap: 32px; }
  .wcard-img { height: 180px; }
  .wcard-body { padding: 22px; }
  .stat-item { padding: 28px 20px; }
  .tcard { padding: 24px; }
  .cta-strip { padding: 48px 0; }
  .footer-bottom { align-items: flex-start; }
  .footer-grid { gap: 28px; }
}

/* ── TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9000;
  padding: 14px 24px; border-radius: 12px; max-width: 320px;
  font-family: var(--fb); font-size: 14px; color: var(--text);
  background: var(--bg-4); border: 1px solid rgba(37,99,235,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  backdrop-filter: blur(16px);
  animation: toastin .4s var(--ease);
}
.toast.err { border-color: rgba(239,68,68,.3); }
.toast.out { animation: toastout .4s var(--ease) forwards; }
@keyframes toastin  { from{opacity:0;transform:translateY(16px);} to{opacity:1;transform:translateY(0);} }
@keyframes toastout { from{opacity:1;transform:translateY(0);} to{opacity:0;transform:translateY(16px);} }