/* ============================================================
   Consort Tech - Design System
   ============================================================ */
:root {
  --navy-900: #071428;
  --navy-800: #0B1F3A;
  --navy-700: #12305A;
  --navy-600: #1B4380;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(7,20,40,.06), 0 2px 8px rgba(7,20,40,.05);
  --shadow-md: 0 8px 24px rgba(7,20,40,.10);
  --shadow-lg: 0 24px 60px rgba(7,20,40,.18);
  --container: 1200px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--slate-900); margin: 0 0 .6em; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.15rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--alt { background: var(--slate-50); }
.section--dark { background: var(--navy-800); color: var(--slate-300); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 680px; margin-bottom: 3.5rem; }
.section__head p { font-size: 1.1rem; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--teal-400); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--slate-500); max-width: 600px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--primary { background: var(--blue-500); color: var(--white); box-shadow: 0 6px 20px rgba(37,99,235,.3); }
.btn--primary:hover { background: var(--blue-400); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.38); }
.btn--primary:disabled { opacity: .6; cursor: default; transform: none; }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.3); }
.btn--outline-light:hover { background: var(--white); color: var(--navy-800); }
.link-arrow { font-weight: 600; color: var(--blue-500); display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: var(--teal-400); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; padding: 1.1rem 0;
  transition: all .3s var(--ease); color: var(--white);
}
.header.is-scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding: .7rem 0; color: var(--slate-900); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.logo__mark { width: 34px; height: 34px; color: var(--teal-400); }
.logo__text span { color: var(--teal-400); }
.header.is-scrolled .logo__mark { color: var(--blue-500); }
.header.is-scrolled .logo__text span { color: var(--blue-500); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-weight: 500; font-size: .95rem; opacity: .85; position: relative; transition: opacity .2s; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-active { opacity: 1; }
.nav a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .65rem 1.25rem; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; color: inherit; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); padding: clamp(8rem, 16vw, 11rem) 0 clamp(5rem, 8vw, 7rem); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__glow--1 { width: 640px; height: 640px; background: var(--blue-500); top: -220px; right: -140px; animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 480px; height: 480px; background: var(--teal-500); bottom: -260px; left: -120px; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-400), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255,255,255,.72); }
.hero .eyebrow { color: var(--teal-400); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2.2rem 0 2.5rem; }
.hero__points { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.7); }
.hero__points li { display: flex; align-items: center; gap: .5rem; }
.hero__points li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: var(--teal-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071428' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Floating cards */
.hero__visual { position: relative; min-height: 420px; }
.card-float {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.card-float--main { inset: 40px 20px auto 40px; padding: 1.5rem; }
.card-float--a { top: 0; right: -10px; padding: 1rem 1.25rem; display: flex; gap: .9rem; align-items: center; animation-delay: -2s; }
.card-float--b { bottom: 0; left: 0; padding: 1rem 1.25rem; display: flex; gap: .9rem; align-items: center; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.card-float__head { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-row small { display: block; font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.stat-row strong { font-family: var(--font-head); font-size: 1.35rem; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 90px; }
.bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--teal-400), var(--blue-500)); opacity: .85; animation: grow 1.2s var(--ease) both; transform-origin: bottom; }
.bars span:nth-child(odd) { animation-delay: .2s; }
@keyframes grow { from { transform: scaleY(0); } }
.icon-chip { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-500); display: grid; place-items: center; flex-shrink: 0; }
.icon-chip--teal { background: var(--teal-500); }
.icon-chip svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-float small { display: block; font-size: .72rem; color: rgba(255,255,255,.6); }
.card-float strong { font-size: .95rem; }

/* ============================================================
   Logos marquee
   ============================================================ */
.logos { padding: 2.75rem 0; border-bottom: 1px solid var(--slate-200); }
.logos__label { text-align: center; font-size: .85rem; color: var(--slate-500); margin-bottom: 1.5rem; }
.logos__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.logos__row { display: flex; gap: 4rem; width: max-content; animation: marquee 35s linear infinite; }
.client { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--slate-500); white-space: nowrap; filter: grayscale(1); opacity: .7; transition: .3s; }
.client svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logos__row:hover { animation-play-state: paused; }
.client:hover { filter: none; opacity: 1; color: var(--navy-800); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   About
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about p { font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 2rem 1.75rem; transition: .3s var(--ease); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--navy-800); line-height: 1; margin-bottom: .5rem; }
.stat span { font-size: .9rem; color: var(--slate-500); }

/* ============================================================
   Services
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 2.25rem 2rem;
  display: flex; flex-direction: column; transition: .35s var(--ease); position: relative; overflow: hidden;
}
.service::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--teal-400)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); display: grid; place-items: center; margin-bottom: 1.5rem; }
.service__icon svg { width: 26px; height: 26px; stroke: var(--teal-400); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--slate-500); }
.service ul { margin: .25rem 0 1.5rem; display: grid; gap: .45rem; font-size: .92rem; }
.service li { padding-left: 1.4rem; position: relative; }
.service li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }
.service .link-arrow { margin-top: auto; }

/* ============================================================
   Why us
   ============================================================ */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.why__panel { position: relative; aspect-ratio: 1; max-width: 460px; margin: auto; border-radius: 50%; background: radial-gradient(circle, var(--slate-50) 0%, transparent 70%); }
.why__ring { position: absolute; inset: 12%; border-radius: 50%; border: 1.5px dashed var(--slate-300); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.why__center { position: absolute; inset: 32%; border-radius: 50%; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); box-shadow: var(--shadow-lg); }
.why__center strong { font-size: 1.3rem; font-weight: 800; }
.why__center span { color: var(--teal-400); font-weight: 700; }
.why__node {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(0, -175px) rotate(calc(-1 * var(--a)));
  background: var(--white); border: 1px solid var(--slate-200); border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; font-weight: 600; color: var(--navy-800); box-shadow: var(--shadow-sm);
}
.features { display: grid; gap: 1.6rem; margin-top: 2rem; }
.feature { display: flex; gap: 1.25rem; }
.feature__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--slate-100); color: var(--blue-500); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.feature h4 { margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--slate-500); }

/* ============================================================
   Case studies
   ============================================================ */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-700); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; transition: .35s var(--ease); }
.case:hover { transform: translateY(-6px); border-color: rgba(45,212,191,.4); }
.case--lg { grid-column: span 2; flex-direction: row; }
.case--lg .case__media { flex: 1.1; height: auto; min-height: 100%; }
.case--lg .case__body { flex: 1; }
.case__media { height: 200px; position: relative; overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case__media img { transform: scale(1.05); }
.case__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,.15), rgba(11,31,58,.75)); mix-blend-mode: multiply; }
.case__media--1 { background: radial-gradient(circle at 30% 30%, #3B82F6, #0B1F3A 70%); }
.case__media--2 { background: radial-gradient(circle at 70% 40%, #14B8A6, #0B1F3A 70%); }
.case__media--3 { background: radial-gradient(circle at 40% 70%, #6366F1, #0B1F3A 70%); }
.case__media--4 { background: radial-gradient(circle at 60% 30%, #F59E0B, #0B1F3A 70%); }
.case__body { padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.case h3 { font-size: 1.2rem; margin: 0; }
.case--lg h3 { font-size: 1.6rem; }
.case p { color: var(--slate-300); margin: 0; }
.case .link-arrow { margin-top: auto; padding-top: .5rem; }
.case--cta { background: linear-gradient(135deg, var(--navy-600), var(--blue-500)); border-color: transparent; justify-content: center; }
.case--cta .case__body { padding: 2.25rem; gap: 1rem; }
.case--cta .eyebrow { margin-bottom: 0; }
.case--cta p { color: rgba(255,255,255,.8); }
.case--cta .btn { align-self: flex-start; background: var(--white); color: var(--navy-800); box-shadow: none; }
.case--cta .btn:hover { background: var(--teal-400); }
.tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tags span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: rgba(45,212,191,.12); color: var(--teal-400); }

/* ============================================================
   Process
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--slate-200), var(--blue-500), var(--teal-400), var(--slate-200)); }
.step { position: relative; text-align: center; padding-top: 1rem; }
.step__num { display: grid; place-items: center; width: 54px; height: 54px; margin: -1rem auto 1.25rem; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-500); color: var(--blue-500); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 8px var(--white); }
.step p { color: var(--slate-500); margin: 0; font-size: .95rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi__slider { max-width: 820px; margin: auto; overflow: hidden; }
.testi__track { display: flex; transition: transform .6s var(--ease); }
.testi { flex: 0 0 100%; margin: 0; padding: 3rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); text-align: center; }
.stars { color: #F59E0B; letter-spacing: .15em; margin-bottom: 1.25rem; }
.testi p { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; color: var(--slate-900); line-height: 1.5; }
.testi footer { display: flex; flex-direction: column; gap: .15rem; }
.testi footer span { font-size: .9rem; color: var(--slate-500); }
.testi__controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.testi__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--slate-300); background: var(--white); cursor: pointer; font-size: 1.1rem; transition: .25s; }
.testi__btn:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.testi__dots { display: flex; gap: .5rem; }
.testi__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--slate-300); cursor: pointer; padding: 0; transition: .3s; }
.testi__dots button.is-active { width: 26px; border-radius: 4px; background: var(--blue-500); }

/* ============================================================
   Insights
   ============================================================ */
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post { display: block; }
.post__media { height: 210px; border-radius: var(--radius-lg); margin-bottom: 1.25rem; transition: .35s var(--ease); overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post:hover .post__media { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post__media--1 { background: linear-gradient(135deg, #DBEAFE, #93C5FD); }
.post__media--2 { background: linear-gradient(135deg, #CCFBF1, #5EEAD4); }
.post__media--3 { background: linear-gradient(135deg, #E0E7FF, #A5B4FC); }
.post__meta { display: block; font-size: .8rem; font-weight: 600; color: var(--slate-500); margin-bottom: .5rem; }
.post h4 { transition: color .25s; margin: 0; }
.post:hover h4 { color: var(--blue-500); }

/* ============================================================
   Contact
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.contact__lead { font-size: 1.1rem; margin-bottom: 2.5rem; }
.contact__info { display: grid; gap: 1.25rem; }
.contact__info li { display: grid; gap: .15rem; }
.contact__info strong { color: var(--teal-400); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.contact__info a { color: var(--white); font-weight: 500; }
.contact__info a:hover { color: var(--teal-400); }
.form { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); display: grid; gap: 1.25rem; color: var(--slate-700); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form label { display: grid; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--slate-900); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-weight: 400; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid var(--slate-200); background: var(--slate-50); color: var(--slate-900); transition: .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.form .is-invalid { border-color: #EF4444; }
.form textarea { resize: vertical; }
.form__note { font-size: .8rem; color: var(--slate-500); margin: 0; text-align: center; }
.form__note a { text-decoration: underline; }
.form__success { margin: 0; padding: 1rem; border-radius: 10px; background: #ECFDF5; color: #047857; font-weight: 500; text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--navy-900); color: var(--slate-300); padding: 4.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin: 1.25rem 0; font-size: .95rem; max-width: 360px; }
.footer__brand .logo { display: flex; color: var(--white); }
.footer h5 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.footer__grid > div > a, .footer__grid > div > span { display: block; font-size: .95rem; margin-bottom: .7rem; transition: color .2s; }
.footer__grid > div > a:hover { color: var(--teal-400); }
.social { display: flex; gap: .75rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: .25s; }
.social a:hover { background: var(--blue-500); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; color: var(--slate-500); }
.footer__bottom div { display: flex; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--white); }

/* Sticky CTA */
.sticky-cta {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90; padding: .9rem 1.5rem; border-radius: 999px;
  background: var(--navy-800); color: var(--white); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0; transition: .4s var(--ease);
}
.sticky-cta.is-visible { transform: none; opacity: 1; }
.sticky-cta:hover { background: var(--blue-500); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 380px; max-width: 520px; }
  .services__grid, .work__grid, .insights__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__node { transform: translate(-50%, -50%) rotate(var(--a)) translate(0, -150px) rotate(calc(-1 * var(--a))); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; position: relative; z-index: 110; }
  .nav {
    position: fixed; inset: 0; background: var(--navy-900); color: var(--white); flex-direction: column; justify-content: center;
    gap: 1.75rem; font-size: 1.3rem; transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav-toggle.is-open { color: var(--white); }
  .nav__cta { margin-top: 1rem; }
  .services__grid, .work__grid, .insights__grid, .steps, .stats, .form__row { grid-template-columns: 1fr; }
  .case--lg { grid-column: span 1; flex-direction: column; }
  .case--lg .case__media { min-height: 200px; }
  .form { padding: 1.75rem; }
  .testi { padding: 2rem 1.5rem; }
  .card-float--a { right: 0; }
  .why__panel { max-width: 340px; }
  .why__node { transform: translate(-50%, -50%) rotate(var(--a)) translate(0, -125px) rotate(calc(-1 * var(--a))); font-size: .75rem; padding: .35rem .75rem; }
  .sticky-cta { right: 1rem; bottom: 1rem; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 340px; }
  .card-float--main { inset: 40px 0 auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
