/* ============================================================
   DEVMINDS STUDIO — Redesign v3
   Cobalt (#264CBE) + electric cyan + violet — Vercel-confident,
   editorial typography, animated rotating hero word.
   ============================================================ */

:root {
  --cobalt-950: #050B26;
  --cobalt-900: #0B1640;
  --cobalt-800: #14256B;
  --cobalt-700: #1A3899;
  --cobalt-600: #264CBE;
  --cobalt-500: #4068D5;
  --cobalt-400: #6585E0;
  --cobalt-300: #8FA7EB;
  --cobalt-200: #BCCAF3;
  --cobalt-100: #E0E7FA;
  --cobalt-50:  #F0F4FD;

  --cyan-500: #20DECC;
  --cyan-400: #4DE7D8;
  --cyan-300: #80EFE3;
  --cyan-100: #D2F8F3;

  --violet-600: #6610F2;
  --violet-500: #8425F7;
  --violet-400: #A458F9;
  --violet-300: #C28FFB;
  --violet-100: #ECD9FE;

  --pink-500: #FF2268;

  --ink-950: #0A0E22;
  --ink-900: #11162E;
  --ink-800: #1E2440;
  --ink-700: #2E3552;
  --ink-600: #5A6280;
  --ink-500: #7F86A0;
  --ink-400: #ACB1C4;
  --ink-300: #CDD1DE;
  --surface-0:  #FFFFFF;
  --surface-50: #F7F8FC;
  --surface-100: #EEF0F8;
  --border:     #E2E5EF;
  --border-strong: #C9CEDD;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-pill: 999px;
  --shadow-md: 0 8px 28px -10px rgba(11, 22, 64, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 22, 64, 0.35);
  --shadow-xl: 0 60px 120px -30px rgba(11, 22, 64, 0.50);
  --shadow-glow: 0 30px 80px -20px rgba(38, 76, 190, 0.55);

  --container: 1240px;
  --container-narrow: 880px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-950);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--cobalt-200); color: var(--cobalt-900); }

/* TYPOGRAPHY — editorial scale */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink-950);
}
h1 {
  font-size: clamp(3rem, 6.5vw + 0.5rem, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h2 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.4rem, 1.2vw + 0.9rem, 1.8rem); letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem); color: var(--ink-600); line-height: 1.5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; color: var(--cobalt-600);
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--cobalt-600), var(--violet-500));
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--cyan-400); }
.eyebrow.on-dark::before { background: linear-gradient(90deg, var(--cyan-400), var(--violet-400)); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(80px, 8vw, 140px) 0; position: relative; }
.section-soft { background: var(--surface-50); }
.section-dark {
  background: var(--cobalt-950);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lede { color: rgba(255,255,255,0.78); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cobalt-500), var(--cobalt-700));
  color: #fff;
  box-shadow: 0 12px 32px -10px rgba(38,76,190,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-ghost { background: transparent; color: var(--ink-950); border-color: var(--border-strong); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cobalt-600); font-family: var(--font-display); font-weight: 700;
}
.btn-link::after { content: '→'; transition: transform .15s ease; }
.btn-link:hover::after { transform: translateX(4px); }
.btn-link.on-dark { color: var(--cyan-400); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(5, 11, 38, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex; align-items: center; gap: 36px;
  padding: 16px 24px;
  max-width: var(--container); margin: 0 auto;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 16px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.94rem;
  color: rgba(255,255,255,0.72); transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-cta .login { font-family: var(--font-display); font-weight: 500; color: rgba(255,255,255,0.72); font-size: 0.94rem; }
.nav-cta .login:hover { color: #fff; }
@media (max-width: 1000px) { .nav-links { display: none; } .nav-cta .login { display: none; } }

/* ===== HERO — editorial, centered, big rotating word, with photo bg ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 180px) 0 clamp(80px, 8vw, 130px);
  background-color: var(--cobalt-950);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('office-photo.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  filter: contrast(1.2) brightness(0.55) hue-rotate(220deg);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(38, 76, 190, 0.62), transparent 70%),
    radial-gradient(40% 60% at 80% 50%, rgba(132, 37, 247, 0.42), transparent 70%),
    radial-gradient(40% 60% at 20% 80%, rgba(32, 222, 204, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(5,11,38,0.45) 0%, rgba(10,20,56,0.60) 70%, var(--cobalt-950) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }
.hero .container { position: relative; z-index: 2; }

/* Real client logo strip — image-based (replaces text trust strip) */
.trust-logos-img {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px;
  align-items: center;
  justify-items: center;
}
@media (max-width: 800px) {
  .trust-logos-img { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.trust-logos-img img {
  height: 32px; width: auto; max-width: 140px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity .15s ease;
}
.trust-logos-img img:hover { opacity: 1; }

/* Team photo mosaic strip */
.team-mosaic {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
@media (max-width: 880px) {
  .team-mosaic { grid-template-columns: repeat(4, 1fr); }
  .team-mosaic > *:nth-child(n+5) { display: none; }
}
.tm-photo {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-500), var(--cobalt-700));
  border: 3px solid rgba(255,255,255,0.10);
  transition: transform .2s ease, border-color .15s ease;
}
.tm-photo:hover { transform: scale(1.05); border-color: var(--cyan-400); }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Service card with illustration */
.svc-illustrated {
  position: relative;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-illustrated:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cobalt-200); }
.svc-illustrated.alt { background: linear-gradient(135deg, var(--cobalt-950), var(--cobalt-900)); color: #fff; border-color: rgba(255,255,255,0.10); }
.svc-illustrated.alt h3, .svc-illustrated.alt h4 { color: #fff; }
.svc-illustrated.alt p { color: rgba(255,255,255,0.74); }
.svc-illustrated.alt .num { color: var(--cyan-400); }
.svc-illustrated.alt .btn-link { color: var(--cyan-400); }
.svc-illustrated .num {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--cobalt-600);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.svc-illustrated h3 { font-size: 1.6rem; margin: 12px 0 14px; letter-spacing: -0.025em; }
.svc-illustrated p { color: var(--ink-600); font-size: 0.97rem; line-height: 1.6; }
.svc-illustrated .ill {
  aspect-ratio: 16/12;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--cobalt-100), var(--violet-100));
  display: grid; place-items: center;
  padding: 20px;
  overflow: hidden;
}
.svc-illustrated .ill img { width: 100%; height: 100%; object-fit: contain; }
.svc-illustrated .ill.dark { background: linear-gradient(135deg, var(--cobalt-800), var(--cobalt-950)); }
@media (max-width: 800px) { .svc-illustrated { grid-template-columns: 1fr; } }

/* Process step with illustration */
.proc-illustrated {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 900px) { .proc-illustrated { grid-template-columns: 1fr; } }
.proc-ill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.proc-ill:hover { transform: translateY(-2px); border-color: var(--cobalt-300); box-shadow: var(--shadow-md); }
.proc-ill .ill-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cobalt-100), var(--violet-100));
  display: grid; place-items: center;
  padding: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.proc-ill .ill-circle img { width: 100%; height: 100%; object-fit: contain; }
.proc-ill .num {
  font-family: var(--font-mono); font-size: 0.8rem;
  background: linear-gradient(135deg, var(--cobalt-600), var(--violet-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.proc-ill h4 { font-size: 1.15rem; margin: 4px 0 8px; }
.proc-ill p { color: var(--ink-600); font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 540px) {
  .proc-ill { grid-template-columns: 1fr; text-align: center; }
  .proc-ill .ill-circle { margin: 0 auto; }
}

/* Why-us with illustrations */
.why-illustrated {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) { .why-illustrated { grid-template-columns: 1fr; } }
.why-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.why-card:hover { transform: translateY(-3px); border-color: var(--cobalt-300); }
.why-card .why-ill {
  width: 100px; height: 100px;
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  padding: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.why-card.c1 .why-ill { background: linear-gradient(135deg, var(--cobalt-100), var(--cyan-100)); }
.why-card.c2 .why-ill { background: linear-gradient(135deg, var(--violet-100), #FFD7E6); }
.why-card.c3 .why-ill { background: linear-gradient(135deg, var(--cyan-100), #DBF5E5); }
.why-card.c4 .why-ill { background: linear-gradient(135deg, #FFE6CC, #FFD2DC); }
.why-card .why-ill img { width: 100%; height: 100%; object-fit: contain; }
.why-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--ink-600); font-size: 0.94rem; line-height: 1.55; }
@media (max-width: 540px) { .why-card { grid-template-columns: 1fr; text-align: center; } .why-card .why-ill { margin: 0 auto; } }
.hero-content {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.20);
  font-family: var(--font-mono); font-size: 0.78rem;
  color: rgba(255,255,255,0.92); font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}
.hero-pill .dot {
  width: 7px; height: 7px;
  background: var(--cyan-400); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(32,222,204,0.20);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(32,222,204,0); } }

.hero h1 {
  color: #fff;
  background: linear-gradient(180deg, #fff 30%, rgba(180,205,255,0.78));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .changing-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan-400), var(--violet-400) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .45s ease, transform .45s ease;
  font-style: italic;
  position: relative;
}
.hero h1 .changing-word.fade-out {
  opacity: 0;
  transform: translateY(-12px);
}
.hero h1 .changing-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px; height: 3px;
  background: linear-gradient(90deg, var(--cyan-400), var(--violet-400));
  border-radius: 2px;
  opacity: 0.5;
}

.hero .lede {
  color: rgba(255,255,255,0.82);
  margin: 30px auto 0;
  max-width: 720px;
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
}
.hero .ctas { display: flex; gap: 14px; margin-top: 40px; justify-content: center; flex-wrap: wrap; }

/* Trust strip below hero */
.trust {
  position: relative;
  margin-top: 80px;
}
.trust-label {
  font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  text-align: center;
  margin-bottom: 26px;
}
.trust-logos {
  display: flex; align-items: center; gap: 56px; flex-wrap: wrap;
  justify-content: center;
}
.trust-logos .lg {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; color: rgba(255,255,255,0.65);
  letter-spacing: -0.01em;
  transition: color .15s ease;
}
.trust-logos .lg:hover { color: #fff; }

/* ===== SECTION HEAD ===== */
.section-head { max-width: 820px; margin-bottom: 32px; }
.section-head h2 { margin-top: 14px; }
.section-head + .lede { max-width: 720px; margin-top: 24px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center + .lede { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.gradient-text {
  background: linear-gradient(135deg, var(--cobalt-500) 0%, var(--violet-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
em.accent {
  color: var(--violet-500); font-style: italic; font-weight: 800;
}

/* ===== SERVICES — numbered editorial cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.svc {
  position: relative;
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-0);
  transition: background .2s ease;
  display: flex; flex-direction: column; gap: 14px;
}
.svc:hover { background: var(--surface-50); }
.svc .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cobalt-600);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.svc h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.svc p {
  color: var(--ink-600); font-size: 0.96rem; line-height: 1.55;
  flex: 1;
}
.svc .arrow {
  color: var(--cobalt-600);
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem;
  align-self: flex-start;
  margin-top: 6px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .15s ease, transform .15s ease;
}
.svc:hover .arrow { opacity: 1; transform: translateX(0); }

/* ===== PROCESS — vertical-rail timeline ===== */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }
.proc-step {
  padding: 32px 28px;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.proc-step:hover { transform: translateY(-3px); border-color: var(--cobalt-300); box-shadow: var(--shadow-md); }
.proc-step .num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cobalt-500), var(--violet-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.proc-step h4 { font-size: 1.1rem; }
.proc-step p { color: var(--ink-600); font-size: 0.93rem; line-height: 1.55; }

/* ===== HERO SHOWCASE — floating laptop composition ===== */
.hero-showcase {
  position: relative;
  margin-top: 80px;
  height: clamp(280px, 30vw, 420px);
}
.hs-mock {
  position: absolute;
  filter: drop-shadow(0 40px 60px rgba(5,11,38,0.55));
  transition: transform .4s ease;
}
.hs-mock img { width: 100%; height: auto; }
.hs-mock.hs-1 { width: 38%; left: 4%; top: 8%; transform: rotate(-4deg); z-index: 1; }
.hs-mock.hs-2 { width: 44%; left: 30%; top: 0; transform: rotate(2deg); z-index: 3; }
.hs-mock.hs-3 { width: 36%; right: 8%; top: 16%; transform: rotate(6deg); z-index: 2; }
.hs-mock.hs-4 { width: 22%; right: 2%; bottom: 0; transform: rotate(-3deg); z-index: 4; display: none; }
.hs-mock.hs-5 { width: 22%; left: 0; bottom: 4%; transform: rotate(4deg); z-index: 4; display: none; }
@media (min-width: 1100px) {
  .hs-mock.hs-4, .hs-mock.hs-5 { display: block; }
}
.hero-showcase::before {
  content: '';
  position: absolute;
  inset: -20% -10% 0;
  background:
    radial-gradient(40% 50% at 50% 50%, rgba(132,37,247,0.20), transparent 70%),
    radial-gradient(50% 40% at 80% 60%, rgba(32,222,204,0.18), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* ===== MARQUEE TECH STACK ===== */
.marquee {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 160px;
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--cobalt-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--cobalt-950), transparent); }
.marquee-track {
  display: flex; gap: 64px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
  align-items: center;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; color: rgba(255,255,255,0.65);
  letter-spacing: -0.02em;
}
.marquee-item.dot { color: var(--cyan-400); font-size: 0.5rem; vertical-align: middle; }

/* ===== PORTFOLIO — laptop showcase ===== */
.proj-list { display: grid; gap: 24px; margin-top: 56px; }
.proj {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 40px;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.proj:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--cobalt-200); }
@media (max-width: 900px) { .proj { grid-template-columns: 1fr; gap: 32px; padding: 28px; } }
.proj.alt { background: linear-gradient(135deg, var(--cobalt-950), var(--cobalt-900)); color: #fff; border-color: rgba(255,255,255,0.08); }
.proj.alt h3, .proj.alt h4 { color: #fff; }
.proj.alt p { color: rgba(255,255,255,0.74); }
.proj.alt .proj-name { color: var(--cyan-400); }
.proj.alt .btn-link { color: var(--cyan-400); }
.proj.alt:hover { border-color: rgba(255,255,255,0.18); }
.proj-name {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  color: var(--cobalt-600);
  font-weight: 600;
}
.proj h3 { font-size: 1.8rem; margin: 12px 0 14px; }
.proj p { color: var(--ink-600); font-size: 0.97rem; line-height: 1.6; }
.proj .copy { display: flex; flex-direction: column; gap: 4px; }
.proj .copy .btn-link { margin-top: 12px; align-self: flex-start; }
.proj-visual {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-50);
}
.proj-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.proj-visual.tinted { background: linear-gradient(135deg, var(--cobalt-100), var(--violet-100)); display: grid; place-items: center; padding: 24px; }
.proj-visual.tinted .name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 2.2rem);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--cobalt-700), var(--violet-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-align: center;
  line-height: 1;
}

/* ===== TEAM (dark) ===== */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
@media (max-width: 880px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team { grid-template-columns: 1fr; } }
.tm {
  display: flex; align-items: center; gap: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  transition: border-color .15s ease, transform .15s ease;
}
.tm:hover { border-color: rgba(143, 167, 235, 0.4); transform: translateY(-2px); }
.tm .ava {
  width: 52px; height: 52px; border-radius: 50%;
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.tm:nth-child(6n+1) .ava { background: linear-gradient(135deg, var(--cobalt-500), var(--cobalt-700)); }
.tm:nth-child(6n+2) .ava { background: linear-gradient(135deg, var(--violet-500), var(--violet-600)); }
.tm:nth-child(6n+3) .ava { background: linear-gradient(135deg, var(--cyan-500), #0E8C82); }
.tm:nth-child(6n+4) .ava { background: linear-gradient(135deg, #FF8C42, var(--pink-500)); color: #fff; }
.tm:nth-child(6n+5) .ava { background: linear-gradient(135deg, var(--violet-400), var(--cobalt-600)); }
.tm:nth-child(6n)   .ava { background: linear-gradient(135deg, var(--cyan-400), var(--cobalt-600)); }
.tm .name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; }
.tm .role { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 2px; }

/* ===== TESTIMONIALS — editorial ===== */
.testimonials {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr; } }
.tm-card {
  position: relative;
  background: var(--surface-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.tm-card.lg {
  background: linear-gradient(135deg, var(--cobalt-900), var(--cobalt-950));
  border-color: transparent;
}
.tm-card.lg q { color: #fff; }
.tm-card.lg .who .name { color: #fff; }
.tm-card.lg .who .role { color: rgba(255,255,255,0.6); }
.tm-card .stars { color: #FFD23F; font-size: 1.05rem; letter-spacing: 0.1em; }
.tm-card q {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; line-height: 1.5;
  color: var(--ink-800);
  quotes: '"\201C" "\201D"';
}
.tm-card.lg q { font-size: 1.2rem; }
.tm-card .who {
  display: flex; align-items: center; gap: 12px; margin-top: auto;
}
.tm-card .who .ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cobalt-500), var(--violet-500));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.92rem;
}
.tm-card .who .name { font-family: var(--font-display); font-weight: 700; font-size: 0.96rem; color: var(--ink-950); }
.tm-card .who .role { color: var(--ink-600); font-size: 0.82rem; }

/* ===== FINAL CTA ===== */
.cta-final {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  padding: clamp(56px, 7vw, 96px) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(38, 76, 190, 0.55), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(132, 37, 247, 0.35), transparent 60%),
    radial-gradient(40% 60% at 50% 0%, rgba(32, 222, 204, 0.18), transparent 70%),
    linear-gradient(135deg, var(--cobalt-900), var(--cobalt-950));
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.10);
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 50%, rgba(180,205,255,0.78));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-final .lede {
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 24px auto 32px;
}
.cta-final .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-final .phone {
  font-family: var(--font-mono);
  color: var(--cyan-400);
  margin-top: 24px;
  font-size: 1.05rem;
  display: inline-block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink-950);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer h5 {
  font-family: var(--font-display);
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px; font-weight: 800;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a:hover { color: #fff; }
.footer .brand-blurb { color: rgba(255,255,255,0.55); max-width: 320px; margin-top: 16px; font-size: 0.92rem; line-height: 1.55; }
.footer img { height: 36px; width: auto; }
.footer-bar {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
}
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.78); font-weight: 700; font-size: 0.85rem;
  transition: all .15s ease;
}
.socials a:hover { background: rgba(143,167,235,0.18); border-color: var(--cobalt-400); }
