/* ============ BASE ============ */
:root {
  --navy-950: #05060f;
  --navy-900: #0a0c1d;
  --navy-800: #11142b;
  --navy-700: #1a1e3d;
  --primary: #7c3aed;
  --primary-2: #8b5cf6;
  --blue: #60a5fa;
  --ink: #0d0f1f;
  --muted: #5b6172;
  --muted-2: #9aa0b4;
  --line: #e6e8f0;
  --bg-light: #ffffff;
  --bg-gray: #f4f5fa;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 15, 31, 0.08);
  --font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

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

h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

.section { padding: 88px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head p { color: var(--muted); margin-top: 12px; }
.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.eyebrow {
  display: block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }

/* ============ BUTTONS & LINKS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5); }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn-light { background: #fff; color: var(--primary); }

.arrow { transition: transform 0.2s; display: inline-block; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }

.text-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
}
.tag-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  background: rgba(124, 58, 237, 0.92);
  color: #fff;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: #fff;
}
.logo-word em { font-style: normal; color: var(--primary-2); }
.logo-sub {
  font-size: 0.5rem;
  letter-spacing: 0.42em;
  color: var(--muted-2);
  font-weight: 600;
}

.main-nav > ul { display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #c7cbdc;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.2s;
}
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: var(--primary-2); }
.chev { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.4; fill: none; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  display: none;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }
.dropdown a { padding: 9px 12px; border-radius: 8px; }
.dropdown a:hover { background: rgba(124, 58, 237, 0.15); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 78% 30%, rgba(124, 58, 237, 0.22), transparent 65%),
    radial-gradient(500px 380px at 12% 82%, rgba(37, 99, 235, 0.16), transparent 65%),
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,0.5) 45%, transparent 55%),
    radial-gradient(1.5px 1.5px at 45% 12%, rgba(255,255,255,0.35) 45%, transparent 55%),
    radial-gradient(1.5px 1.5px at 85% 65%, rgba(255,255,255,0.4) 45%, transparent 55%),
    radial-gradient(1.5px 1.5px at 62% 85%, rgba(255,255,255,0.3) 45%, transparent 55%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d6c8ff;
  border: 1px solid rgba(139, 92, 246, 0.45);
  background: rgba(124, 58, 237, 0.12);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.grad-text {
  background: linear-gradient(100deg, #8b5cf6 10%, #60a5fa 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: #aeb3c8;
  max-width: 460px;
  margin-bottom: 30px;
  font-size: 1.02rem;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.trusted-label { font-size: 0.78rem; color: var(--muted-2); margin-bottom: 16px; }

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  opacity: 0.75;
}
.client {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: #dfe2ee;
}
.client svg { width: 18px; height: 18px; }
.client-caps { letter-spacing: 0.2em; font-size: 0.85rem; }
.client-light { font-weight: 500; font-style: italic; }
.client b { color: var(--primary-2); }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; }
.brain-wrap {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
}
#plexus { width: 100%; height: 100%; }

.ai-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: #e4d9ff;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1.5px solid rgba(139, 92, 246, 0.7);
  background: rgba(17, 20, 43, 0.65);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.55), inset 0 0 22px rgba(124, 58, 237, 0.3);
  backdrop-filter: blur(4px);
  animation: chip-glow 3.5s ease-in-out infinite;
}
@keyframes chip-glow {
  0%, 100% { box-shadow: 0 0 32px rgba(124, 58, 237, 0.45), inset 0 0 22px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 60px rgba(124, 58, 237, 0.8), inset 0 0 28px rgba(124, 58, 237, 0.45); }
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(13, 16, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { font-size: 0.88rem; color: #fff; font-family: var(--font-display); }
.float-card span { font-size: 0.72rem; color: var(--muted-2); }
.float-card .hl { color: var(--primary-2); }
.fc-1 { top: 2%; left: -4%; animation-delay: 0s; }
.fc-2 { top: 10%; right: -6%; animation-delay: 1.5s; }
.fc-3 { bottom: 16%; left: -8%; animation-delay: 3s; }
.fc-4 { bottom: 8%; right: -2%; animation-delay: 4.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ WHY CHOOSE ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.why-item {
  text-align: center;
  padding: 12px 26px;
}
.why-item + .why-item { border-left: 1px solid var(--line); }
.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.09);
  display: grid;
  place-items: center;
}
.why-icon svg { width: 28px; height: 28px; stroke: var(--primary); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 1.02rem; margin-bottom: 10px; }
.why-item p { font-size: 0.87rem; color: var(--muted); }

/* ============ INDUSTRIES ============ */
.industries { background: var(--bg-gray); }

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

.ind-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ind-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(13, 15, 31, 0.14); }

.ind-img {
  height: 150px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.ind-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 29, 0.12), rgba(10, 12, 29, 0.3));
}

.img-healthcare     { background-image: url("images/healthcare.jpg"); }
.img-finance        { background-image: url("images/finance.jpg"); }
.img-retail         { background-image: url("images/retail.jpg"); }
.img-manufacturing  { background-image: url("images/manufacturing.jpg"); }
.img-logistics      { background-image: url("images/logistics.jpg"); }
.img-education      { background-image: url("images/education.jpg"); }

.ind-body { padding: 22px 24px 26px; position: relative; }

.ind-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary);
  display: grid;
  place-items: center;
  margin-top: -45px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}
.ind-icon svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.ind-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.ind-body p { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }

/* ============ SERVICES ============ */
.services {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}
.services .section-head p { color: var(--muted-2); }
.services-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.services .container { position: relative; }

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

.svc-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.svc-card:hover {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(124, 58, 237, 0.07);
  transform: translateY(-4px);
}

.svc-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(124, 58, 237, 0.12);
  display: grid;
  place-items: center;
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--primary-2); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.svc-card h3 { font-size: 1rem; margin-bottom: 10px; }
.svc-card p { font-size: 0.84rem; color: var(--muted-2); }

/* ============ PROCESS ============ */
.process .section-head,
.industries .section-head { max-width: 820px; }
.process .section-head p,
.industries .section-head p { max-width: 640px; margin-inline: auto; }

.process-cta { text-align: center; margin-top: 48px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  counter-reset: step;
}

.step { text-align: center; position: relative; padding: 0 8px; }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  border-top: 2px dotted #c9cddd;
}

.step-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.step-icon svg { width: 26px; height: 26px; stroke: var(--primary); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 0.95rem; margin-bottom: 6px; }
.step p { font-size: 0.78rem; color: var(--muted); }

/* ============ CASE STUDIES ============ */
.case-studies { background: var(--bg-gray); }

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

.case-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(13, 15, 31, 0.14); }

.case-img {
  height: 175px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.case-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 29, 0.1), rgba(10, 12, 29, 0.28));
}
.img-case-finance       { background-image: url("images/case-finance.jpg"); }
.img-case-retail        { background-image: url("images/case-retail.jpg"); }
.img-case-manufacturing { background-image: url("images/case-manufacturing.jpg"); }

.case-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.case-body h3 { font-size: 1.05rem; }
.case-body p { font-size: 0.86rem; color: var(--muted); flex: 1; }

/* ============ TECH STRIP ============ */
.tech-strip {
  background: var(--navy-950);
  padding: 40px 0 46px;
  overflow: hidden;
}
.tech-strip .eyebrow { color: var(--primary-2); margin-bottom: 26px; }

.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 1;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll 30s linear infinite;
  padding-right: 64px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ccd0e0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  white-space: nowrap;
  opacity: 0.85;
}
.tech svg { width: 24px; height: 24px; }
.tech b { font-size: 1.15rem; }

/* ============ INSIGHTS ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.blog-img {
  height: 135px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 29, 0.08), rgba(10, 12, 29, 0.26));
}
.img-blog-1 { background-image: url("images/blog-strategy.jpg"); }
.img-blog-2 { background-image: url("images/blog-genai.jpg"); }
.img-blog-3 { background-image: url("images/blog-data.jpg"); }
.img-blog-4 { background-image: url("images/blog-ml.jpg"); }

.blog-body { padding: 18px 20px 22px; }
.blog-meta { font-size: 0.72rem; color: var(--muted-2); margin-bottom: 8px; }
.blog-body h3 { font-size: 0.94rem; margin-bottom: 8px; }
.blog-body p { font-size: 0.8rem; color: var(--muted); }

/* ============ CTA ============ */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 300px at 88% 50%, rgba(255, 255, 255, 0.14), transparent 70%),
    linear-gradient(110deg, #4c1d95, #6d28d9 55%, #4338ca);
  color: #fff;
  padding: 64px 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 { margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, 0.82); max-width: 460px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-950); color: #b8bdd0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding: 64px 0 48px;
}

.footer-brand p { font-size: 0.84rem; color: var(--muted-2); margin: 18px 0 20px; max-width: 240px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.socials a:hover { border-color: var(--primary-2); background: rgba(124, 58, 237, 0.15); }
.socials svg { width: 17px; height: 17px; }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.footer-col a, .footer-col span {
  font-size: 0.84rem;
  color: var(--muted-2);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-contact a, .footer-contact span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--primary-2);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--muted-2);
}
.legal { display: flex; gap: 22px; }
.legal a:hover { color: #fff; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float-card, .ai-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 8px; }
  .why-item:nth-child(3) { border-left: 0; }
  .industry-grid, .services-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px 6px; }
  .step:nth-child(3n)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-950);
    padding: 24px;
    display: none;
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.05rem; padding: 13px 10px; }
  .dropdown {
    position: static;
    display: flex;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 6px 18px;
  }
  .dropdown a { font-size: 0.9rem; color: var(--muted-2); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .brain-wrap { width: min(400px, 90%); }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { left: 0; } .fc-4 { right: 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item + .why-item { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .industry-grid, .services-grid, .cases-grid, .blog-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { padding: 9px 12px; }
  .float-card strong { font-size: 0.78rem; }
  .float-card span { font-size: 0.64rem; }
}

/* ============ CONTACT PAGE ============ */
.page-hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  padding: 84px 0 76px;
  text-align: center;
}
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero-inner {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.page-hero .lead { margin: 0 auto; max-width: 520px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form-card {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--bg-gray);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-field select:invalid { color: var(--muted); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--bg-light);
  border-color: var(--primary-2);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--primary); font-weight: 600; }

.form-success { text-align: center; padding: 28px 10px; }
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 24px; }

.contact-aside h2 { margin-bottom: 14px; }
.contact-aside-lead { color: var(--muted); margin-bottom: 30px; }

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-info strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.contact-info a, .contact-info div > span {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.contact-info a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-aside { order: 2; }
}

@media (max-width: 600px) {
  .contact-form-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
