/* ============================================================
   Vektron Automation × MV Digital Work
   Theme: Black · White · Blue — premium corporate
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #04060c;            /* page background */
  --ink-2: #080c16;          /* alt section background */
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --white: #f4f7ff;
  --muted: #93a0bc;
  --blue: #2e6bff;           /* primary */
  --blue-soft: #4da3ff;      /* secondary / gradient stop */
  --blue-deep: #1243d6;
  --mint: #4de0b3;           /* rare accent */
  --amber: #ffc24d;          /* rare accent */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: rgba(46, 107, 255, 0.45); }

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

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

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

.grad-text {
  background: linear-gradient(92deg, var(--blue-soft), var(--blue) 55%, #7fb6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Glass ---------- */
.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-soft), var(--blue) 60%, var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(46, 107, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(46, 107, 255, 0.5); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--blue-soft); background: rgba(77, 163, 255, 0.08); transform: translateY(-2px); }

.btn-lg { padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }

.brand { display: flex; align-items: center;  }
.brand-logo { height: 45px; width: auto; display: block; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); align-self: flex-end; padding-bottom: 3px; }

.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav-link { font-size: 0.93rem; font-weight: 500; color: var(--muted); position: relative; transition: color 0.25s ease; padding: 0.35rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: 0.4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s 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;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px;
  overflow: hidden;
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  top: -350px; right: -280px;
  background: radial-gradient(circle, rgba(46, 107, 255, 0.22), transparent 62%);
  pointer-events: none;
  animation: glowPulse 9s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 1.1rem;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(77, 224, 179, 0.6); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 70% { box-shadow: 0 0 0 10px rgba(77, 224, 179, 0); } 100% { box-shadow: 0 0 0 0 rgba(77, 224, 179, 0); } }
.tick { width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }

.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 56ch; margin-top: 1.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2.2rem;
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}
.stat small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.stat-num, .stat-plus { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.stat-plus { color: var(--blue-soft); }

/* Hero visual */
.hero-visual { position: relative; height: 440px; }

.orb-core {
  position: absolute; inset: 0; margin: auto;
  width: 300px; height: 300px;
  display: grid; place-items: center;
}
.orb-chip {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(140deg, rgba(77, 163, 255, 0.25), rgba(46, 107, 255, 0.1));
  border: 1px solid rgba(127, 182, 255, 0.5);
  box-shadow: 0 0 60px rgba(46, 107, 255, 0.45), inset 0 0 22px rgba(77, 163, 255, 0.25);
  animation: chipFloat 5.5s ease-in-out infinite;
}
@keyframes chipFloat { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }

.orb-ring {
  position: absolute; inset: 0; margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(77, 163, 255, 0.25);
}
.orb-ring::before {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 12px var(--blue-soft);
}
.r1 { width: 190px; height: 190px; animation: spin 14s linear infinite; }
.r2 { width: 260px; height: 260px; animation: spin 22s linear infinite reverse; border-style: dashed; }
.r3 { width: 330px; height: 330px; animation: spin 32s linear infinite; opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.83rem; font-weight: 600;
  border-radius: 999px;
  animation: chipFloat 6s ease-in-out infinite;
}
.float-chip svg { width: 17px; height: 17px; }
.fc1 { top: 6%; left: 2%; animation-delay: 0.2s; }
.fc2 { top: 28%; right: -2%; animation-delay: 1.4s; }
.fc3 { bottom: 22%; left: -4%; animation-delay: 0.8s; }
.fc4 { bottom: 4%; right: 8%; animation-delay: 2s; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--blue-soft);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 100% { opacity: 0; top: 20px; } }

/* ---------- Trust strip / marquee ---------- */
.trust-strip { border-block: 1px solid rgba(255, 255, 255, 0.07); background: var(--ink-2); overflow: hidden; }
.marquee { padding: 0.95rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 500;
  color: var(--muted); white-space: nowrap;
}
.marquee-track i { color: var(--blue); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 108px 0; position: relative; }
.section-alt { background: var(--ink-2); border-block: 1px solid rgba(255, 255, 255, 0.05); }

.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-sub { color: var(--muted); margin-top: 1rem; }

/* ---------- About ---------- */
.brand-duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 3rem;
}
.brand-card { padding: 2rem; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.brand-card:hover { transform: translateY(-6px); border-color: rgba(77, 163, 255, 0.4); box-shadow: var(--shadow); }
.brand-card.featured { border-color: rgba(77, 163, 255, 0.35); background: linear-gradient(160deg, rgba(46, 107, 255, 0.1), rgba(255, 255, 255, 0.03)); }
.brand-card-top h3 { font-size: 1.45rem; margin: 0.7rem 0 0.8rem; }
.brand-card p { color: var(--muted); font-size: 0.95rem; }

.badge { display: inline-block; padding: 0.28rem 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; }
.badge-blue { color: var(--blue-soft); background: rgba(77, 163, 255, 0.1); border: 1px solid rgba(77, 163, 255, 0.3); }
.badge-cyan { color: var(--mint); background: rgba(77, 224, 179, 0.08); border: 1px solid rgba(77, 224, 179, 0.3); }

.mini-list { margin-top: 1.1rem; display: grid; gap: 0.5rem; }
.mini-list li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; color: #c6d0e6; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-soft), var(--blue)); }
.mini-list a { color: var(--blue-soft); font-weight: 600; }

.duo-connector { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.connector-line { width: 1px; flex: 1; background: linear-gradient(180deg, transparent, rgba(77, 163, 255, 0.5), transparent); }
.connector-node {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; color: var(--blue-soft);
  border: 1px solid rgba(77, 163, 255, 0.4);
  background: rgba(46, 107, 255, 0.08);
  box-shadow: 0 0 24px rgba(46, 107, 255, 0.3);
}

.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.vm-card { padding: 1.8rem; transition: transform 0.3s ease, border-color 0.3s ease; }
.vm-card:hover { transform: translateY(-5px); border-color: rgba(77, 163, 255, 0.35); }
.vm-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 1rem; }
.vm-icon svg { width: 24px; height: 24px; }
.vm-card h4 { font-size: 1.08rem; margin-bottom: 0.55rem; }
.vm-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Services / tabs ---------- */
.tab-switch {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2.6rem;
}
.tab-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.93rem;
  color: var(--muted);
  transition: color 0.3s ease;
}
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn.is-active { color: #fff; }
.tab-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue) 65%, var(--blue-deep));
  box-shadow: 0 8px 22px rgba(46, 107, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.2, 1), width 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}

.services-panel { display: none; }
.services-panel.is-active { display: block; animation: panelIn 0.45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

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

.service-card {
  padding: 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 163, 255, 0.12), transparent 45%);
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(77, 163, 255, 0.4); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.sc-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  color: var(--blue-soft);
  background: rgba(46, 107, 255, 0.1);
  border: 1px solid rgba(77, 163, 255, 0.25);
  margin-bottom: 1.05rem;
  transition: transform 0.3s ease;
}
.sc-icon svg { width: 24px; height: 24px; }
.service-card:hover .sc-icon { transform: scale(1.08) rotate(-4deg); }
.service-card p { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }
.portfolio-scenario { margin-top: 0.9rem; padding-left: 0.9rem; border-left: 2px solid var(--blue-soft); font-size: 0.85rem; font-style: italic; color: #c6d0e6; }
.service-card .mini-list { margin-top: 1rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.why-card { padding: 1.8rem; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.why-card:hover { transform: translateY(-6px); border-color: rgba(77, 163, 255, 0.4); box-shadow: var(--shadow); }
.why-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: var(--blue-soft); background: rgba(46, 107, 255, 0.1); border: 1px solid rgba(77, 163, 255, 0.25); margin-bottom: 1.05rem; }
.why-icon svg { width: 24px; height: 24px; }
.why-card p { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }
.why-card-link { margin-top: 0.8rem; font-weight: 600; color: var(--white); }
.why-card-link a { color: var(--blue-soft); }

/* ---------- CTA band ---------- */
.cta-band { padding: 30px 0 108px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2.8rem 3rem;
  background:
    radial-gradient(600px circle at 12% 0%, rgba(46, 107, 255, 0.22), transparent 55%),
    var(--card);
}
.cta-inner p { color: var(--muted); margin-top: 0.6rem; }
.cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.6rem; align-items: start; }

.contact-form { padding: 2.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.83rem; font-weight: 600; color: #c6d0e6; margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit; font-size: 0.94rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath d='m3 5 4 4 4-4' stroke='%2393a0bc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field select option { background: #0b101d; color: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #5f6b85; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(46, 107, 255, 0.18);
}
.field-error { display: none; font-size: 0.78rem; color: #ff7d7d; margin-top: 0.35rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff7d7d; }
.field.has-error .field-error { display: block; }
.form-success { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--radius-sm); background: rgba(77, 224, 179, 0.1); border: 1px solid rgba(77, 224, 179, 0.35); color: var(--mint); font-size: 0.9rem; }
.form-success[hidden] { display: none; }
.form-success svg { flex: none; width: 18px; height: 18px; margin-top: 0.1rem; }

.contact-side { display: grid; gap: 1.4rem; }
.info-card { padding: 1.8rem; display: grid; gap: 1.15rem; }
.info-item { display: flex; align-items: flex-start; gap: 0.9rem; }
.info-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--blue-soft); background: rgba(46, 107, 255, 0.1); border: 1px solid rgba(77, 163, 255, 0.25); }
.info-icon svg { width: 20px; height: 20px; }
.info-item small { display: block; color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
.info-item a, .info-item span { font-weight: 600; font-size: 0.96rem; }
.info-item a:hover { color: var(--blue-soft); }
.info-item em { display: block; font-style: normal; font-weight: 400; font-size: 0.78rem; color: var(--muted); }

.socials { display: flex; gap: 0.6rem; padding-top: 0.4rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.socials a svg { width: 19px; height: 19px; }
.socials a:hover { color: #fff; border-color: var(--blue-soft); background: rgba(46, 107, 255, 0.15); transform: translateY(-3px); }

.map-placeholder {
  position: relative;
  min-height: 230px;
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
}
.map-placeholder p { position: relative; color: var(--muted); font-size: 0.88rem; padding: 0 1rem; }
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 163, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 163, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 80%);
}
.map-pin { position: absolute; top: 32%; animation: pinBounce 2.4s ease-in-out infinite; }
.map-pin svg { width: 40px; height: 40px; filter: drop-shadow(0 8px 16px rgba(46, 107, 255, 0.5)); }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Company details ---------- */
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.detail-card { padding: 1.9rem; }
.detail-card h4 { font-size: 1.05rem; margin-bottom: 1.1rem; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.detail-list { display: grid; gap: 0.7rem; }
.detail-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.93rem; }
.detail-list span { color: var(--muted); }
.detail-list strong { font-weight: 600; text-align: right; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem; font-weight: 500;
  border-radius: 999px;
  color: #c6d0e6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.chip:hover { border-color: var(--blue-soft); color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.07); background: var(--ink-2); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin: 1.1rem 0 1.3rem; max-width: 34ch; }
.footer-col h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: #c6d0e6; margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 0.3rem 0; transition: color 0.25s ease, transform 0.25s ease; }
.footer-col a:hover { color: var(--blue-soft); transform: translateX(4px); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted); font-size: 0.85rem;
}
.footer-legal a:hover { color: var(--blue-soft); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  box-shadow: 0 10px 26px rgba(46, 107, 255, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.back-top svg { width: 20px; height: 20px; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- About page ---------- */
.about-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 64px) 0 64px;
  overflow: hidden;
}
.about-hero .hero-glow-2 {
  position: absolute;
  width: 720px; height: 720px;
  left: -260px; bottom: -320px;
  top: auto; right: auto;
  background: radial-gradient(circle, rgba(77, 224, 179, 0.14), transparent 62%);
  pointer-events: none;
  animation: glowPulse 11s ease-in-out infinite;
}
.about-hero-content { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.about-hero .eyebrow { justify-content: center; }
.about-hero .lead { margin-inline: auto; }
.about-hero .scroll-hint { bottom: 10px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-copy p { color: var(--muted); margin-top: 1.1rem; }
.split-copy p + p { margin-top: 0.8rem; }

.promise-card { padding: 2.1rem; display: grid; gap: 1.2rem; }
.promise-card > p { color: var(--muted); font-size: 0.98rem; }
.promise-card.centered { max-width: 720px; margin-inline: auto; text-align: center; justify-items: center; }
.promise-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.promise-icon {
  flex: none; width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--mint);
  background: rgba(77, 224, 179, 0.1);
  border: 1px solid rgba(77, 224, 179, 0.3);
}
.promise-icon svg { width: 19px; height: 19px; }
.promise-item h4 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.promise-item p { color: var(--muted); font-size: 0.88rem; }

.mission-statement {
  max-width: 800px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: #dbe4fb;
  border-left: 3px solid var(--blue-soft);
  padding-left: 1.4rem;
  margin: 2.6rem 0 3rem;
}

/* ---------- Core values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.value-item {
  padding: 2.3rem 2.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}
.value-item:hover { background: rgba(255, 255, 255, 0.03); }
.value-item h3 { font-size: 1.12rem; letter-spacing: 0.02em; text-transform: uppercase; }
.value-dot { color: var(--blue-soft); }
.value-item p { color: var(--muted); font-size: 0.92rem; margin-top: 0.8rem; }

/* ---------- Founder ---------- */
.founder-card { display: grid; grid-template-columns: 260px 1fr; gap: 2.6rem; align-items: center; padding: 2.8rem; }
.founder-avatar-wrap { position: relative; width: 210px; height: 210px; margin-inline: auto; }
.founder-ring {
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(77, 163, 255, 0.35);
  animation: spin 26s linear infinite;
}
.founder-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(77, 163, 255, 0.32), rgba(46, 107, 255, 0.14));
  border: 1px solid rgba(127, 182, 255, 0.5);
  box-shadow: 0 0 70px rgba(46, 107, 255, 0.4);
}
.founder-role {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--blue-soft); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0.4rem 0 1.1rem;
}
.founder-info h3 { font-size: 1.7rem; }
.founder-info > p { color: var(--muted); }
.founder-quote {
  margin: 1.4rem 0; padding-left: 1.2rem;
  border-left: 3px solid var(--mint);
  font-style: italic; color: #dbe4fb; font-size: 0.98rem;
}
.founder-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.4rem 0 1.3rem; }

@media (max-width: 1024px) {
  .split-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-quote { border-left: none; border-top: 3px solid var(--mint); padding-left: 0; padding-top: 1rem; }
  .founder-stats { justify-content: center; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .founder-card { padding: 2rem 1.4rem; }
}

/* ---------- Services page ---------- */
.about-hero .hero-stats { margin-inline: auto; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.process-step { padding: 1.9rem 1.5rem; }
.process-num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue) 65%, var(--blue-deep));
  box-shadow: 0 8px 20px rgba(46, 107, 255, 0.35);
  margin-bottom: 1.1rem;
}
.process-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); font-size: 0.87rem; }

.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.engage-card { position: relative; padding: 2.2rem; display: flex; flex-direction: column; gap: 0.3rem; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.engage-card:hover { transform: translateY(-6px); border-color: rgba(77, 163, 255, 0.4); box-shadow: var(--shadow); }
.engage-card.featured { border-color: rgba(77, 163, 255, 0.35); background: linear-gradient(160deg, rgba(46, 107, 255, 0.1), rgba(255, 255, 255, 0.03)); }
.engage-badge {
  position: absolute; top: -13px; right: 1.7rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  box-shadow: 0 8px 20px rgba(46, 107, 255, 0.4);
}
.engage-tag { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mint); }
.engage-card h3 { font-size: 1.3rem; margin: 0.4rem 0 0.6rem; }
.engage-card p { color: var(--muted); font-size: 0.92rem; }
.engage-card .mini-list { margin-top: 0.9rem; }

.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq-item { padding: 0; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.3rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; width: 18px; height: 18px; color: var(--blue-soft); transition: transform 0.3s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { padding: 0 1.6rem 1.4rem; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .engage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

.faq-group { max-width: 820px; margin-inline: auto; }
.faq-group-title {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-soft);
  margin: 2.6rem 0 1rem;
}
.faq-group-title:first-child { margin-top: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.blog-card { display: flex; flex-direction: column; padding: 1.9rem; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(77, 163, 255, 0.4); box-shadow: var(--shadow); }
.blog-tag {
  align-self: flex-start;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-soft); background: rgba(77, 163, 255, 0.1);
  border: 1px solid rgba(77, 163, 255, 0.3);
  padding: 0.28rem 0.7rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.blog-card h3 { font-size: 1.12rem; margin-bottom: 0.7rem; line-height: 1.35; }
.blog-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 0.8rem; }
.blog-read {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.2rem; font-weight: 600; font-size: 0.9rem; color: var(--blue-soft);
  transition: gap 0.25s ease;
}
.blog-read svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.blog-card:hover .blog-read svg { transform: translateX(3px); }

/* ---------- Careers / Openings ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.job-card { display: flex; flex-direction: column; padding: 2rem; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.job-card:hover { transform: translateY(-6px); border-color: rgba(77, 163, 255, 0.4); box-shadow: var(--shadow); }
.job-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 1.1rem; }
.job-type { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.job-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; color: var(--white); line-height: 1.3; }
.job-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.job-meta-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.2rem; }
.meta-pill { font-size: 0.76rem; font-weight: 500; padding: 0.25rem 0.65rem; border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: #c6d0e6; border: 1px solid rgba(255, 255, 255, 0.08); }
.job-details { flex: 1; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1.1rem; margin-bottom: 1.4rem; }
.job-details h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-soft); margin-bottom: 0.7rem; }
.job-footer { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.job-salary { font-size: 0.85rem; color: var(--muted); }
.job-salary strong { color: var(--white); }
.badge-amber { color: var(--amber); background: rgba(255, 194, 77, 0.1); border: 1px solid rgba(255, 194, 77, 0.3); }

@media (max-width: 1024px) {
  .jobs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-hero { padding: calc(var(--header-h) + 70px) 0 46px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: radial-gradient(700px circle at 80% -10%, rgba(46, 107, 255, 0.14), transparent 60%); }
.legal-hero .eyebrow { margin-bottom: 0.8rem; }
.legal-hero .eyebrow a { color: inherit; }
.legal-hero .eyebrow a:hover { text-decoration: underline; }
.legal-hero p { color: var(--muted); margin-top: 0.8rem; }
.legal-body { padding: 56px 0 96px; }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.35rem; margin: 2.4rem 0 0.8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #b9c3da; font-size: 0.96rem; }
.legal-content p { margin-bottom: 0.9rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; display: grid; gap: 0.4rem; }
.legal-content a { color: var(--blue-soft); }
.legal-content a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero { min-height: auto; }
  .hero-visual { height: 380px; max-width: 460px; margin-inline: auto; width: 100%; }
  .services-grid, .why-grid, .vm-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-duo { grid-template-columns: 1fr; }
  .duo-connector { flex-direction: row; height: 46px; }
  .connector-line { height: 1px; width: auto; flex: 1; background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.5), transparent); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Release header containing block trap when mobile nav is open */
.header.nav-open,
.header:has(.nav.is-open),
body.nav-open .header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 768px) {
  .brand { z-index: 1100; position: relative; }
  .nav-toggle { display: flex; z-index: 1100; position: relative; }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 3rem;
    background: #04060c;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-link { font-size: 1.25rem; font-weight: 600; text-align: center; color: var(--muted); }
  .nav-link:hover, .nav-link.is-active { color: var(--white); }
  .nav-cta { margin-top: 0.5rem; width: min(280px, 100%); justify-content: center; font-size: 1rem; padding: 0.85rem 1.6rem; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; width: 100%; }
  .scroll-hint { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .cta-inner { padding: 2.1rem 1.6rem; }
}

@media (max-width: 560px) {
  .services-grid, .why-grid, .vm-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .tab-switch { width: 100%; }
  .tab-btn { flex: 1; justify-content: center; padding: 0.7rem 0.6rem; font-size: 0.84rem; }
  .hero-visual { height: 330px; }
  .float-chip { font-size: 0.74rem; padding: 0.45rem 0.75rem; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 4px; }
