/* ============================================================
   VEXCORE — Technology That Moves Your Business Forward.
   Design system stylesheet. Hand-written, no frameworks.
   ============================================================ */

/* ---------- Fonts (vendored, variable woff2) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #ffffff;          /* page background */
  --surface: #f5f7fa;      /* cards / alternate sections */
  --elevated: #eef1f6;     /* raised elements */
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.16);
  --fog: #0f172a;          /* headings */
  --body: #3f4a5d;         /* body text (9:1 on ink) */
  --muted: #5b6677;        /* secondary text (5.8:1 on ink) */
  --accent: #2a56e8;       /* links + highlights (5.8:1 on ink) */
  --cyan: #0e7490;         /* secondary accent (5.3:1 on ink) */
  --btn-from: #2563eb;     /* primary button gradient (AA with white text) */
  --btn-to: #3b82f6;
  --danger: #dc2626;
  --success: #047857;
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font-body);
  --container: 1160px;
  --header-h: 72px;
  --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.20);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fog);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;
}
p { max-width: 65ch; }
::selection { background: rgba(42, 86, 232, 0.16); color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--elevated); color: var(--fog);
  padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.section { padding-block: 88px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 14px 0 16px; }
.section-head p.lede { font-size: 1.075rem; color: var(--muted); max-width: 62ch; }
.section-head.center p.lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 2px;
}

.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 24px; }

.token {
  /* clearly-marked placeholder content supplied later by VEXCORE */
  border-bottom: 1px dashed var(--accent);
  text-decoration: none !important;
  color: var(--body);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 13px 26px; border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
  min-height: 46px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  color: #fff; box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(37, 99, 235, 0.30); filter: brightness(1.05); }
.btn-secondary {
  border-color: var(--line-strong); color: var(--fog); background: rgba(15, 23, 42, 0.03);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(42, 86, 232, 0.07); }
.btn-ghost { color: var(--accent); padding-inline: 10px; }
.btn-ghost:hover { color: var(--cyan); }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fog); }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand .brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.12em;
}
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 0.925rem; font-weight: 500;
}
.main-nav a:hover { color: var(--fog); background: rgba(15, 23, 42, 0.04); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--fog); }
.main-nav a[aria-current="page"]::after {
  content: ""; display: block; width: 18px; height: 2px; margin: 5px auto 0;
  background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--fog);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 104px 0 120px;
}
.hero::before {  /* faint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
  font-weight: 700; letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent) 10%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin: 22px 0 34px; font-size: 1.125rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 28px; font-size: 0.875rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: -40px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(42, 86, 232, 0.10), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(14, 116, 144, 0.08), transparent 55%);
  filter: blur(10px);
  animation: pulse-glow 9s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  from { opacity: 0.7; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.04); }
}
.terminal {
  position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.10), var(--shadow-glow);
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.03);
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-bar .dot:nth-child(1) { background: #f87171; }
.terminal-bar .dot:nth-child(2) { background: #fbbf24; }
.terminal-bar .dot:nth-child(3) { background: #34d399; }
.terminal-bar .title { margin-left: 8px; font-size: 0.8rem; color: var(--muted); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.terminal-body { padding: 22px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.875rem; line-height: 1.9; }
.terminal-body .t-prompt { color: var(--cyan); }
.terminal-body .t-cmd { color: var(--fog); }
.terminal-body .t-out { color: var(--muted); }
.terminal-body .t-ok { color: var(--success); }
.terminal-body .cursor {
  display: inline-block; width: 9px; height: 17px; vertical-align: -3px;
  background: var(--cyan); animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.terminal-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px; }
.terminal-tags span {
  font-size: 0.75rem; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted);
  background: rgba(15, 23, 42, 0.03);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(42, 86, 232, 0.35); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10); }

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(42, 86, 232, 0.09), rgba(14, 116, 144, 0.07));
  border: 1px solid rgba(42, 86, 232, 0.22);
  color: var(--accent);
}
.icon-tile svg { width: 24px; height: 24px; }

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.925rem; color: var(--muted); }
.learn-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 0.875rem; font-weight: 600;
  color: var(--accent);
}
.learn-more svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.learn-more:hover { color: var(--cyan); text-decoration: none; }
.learn-more:hover svg { transform: translateX(3px); }

/* ---------- IT support band ---------- */
.band {
  position: relative; overflow: hidden;
  border: 1px solid rgba(42, 86, 232, 0.25);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(14, 116, 144, 0.07), transparent 50%),
    radial-gradient(circle at 5% 95%, rgba(42, 86, 232, 0.09), transparent 55%),
    var(--surface);
}
.band-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding: 56px; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 12px 0 16px; }
.band .lede { color: var(--muted); margin-bottom: 26px; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.925rem; color: var(--body); }
.check-list svg { width: 17px; height: 17px; color: var(--cyan); flex: none; margin-top: 3px; }
.band-side { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.mini-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.mini-card .icon-tile { margin: 0; width: 42px; height: 42px; }
.mini-card .icon-tile svg { width: 21px; height: 21px; }
.mini-card h3 { font-size: 1rem; margin-bottom: 3px; }
.mini-card p { font-size: 0.85rem; color: var(--muted); }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: none; }
.step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: rgba(42, 86, 232, 0.35); transform: translateY(-3px); }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.step-num::after { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.step h3 { font-size: 0.98rem; margin-bottom: 8px; }
.step p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.steps-scroll { overflow-x: auto; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.steps-scroll .steps { grid-template-columns: repeat(7, minmax(190px, 1fr)); }

/* ---------- Split sections (software dev etc.) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-visual { order: 2; }
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 14px 0 16px; }
.split .lede { color: var(--muted); margin-bottom: 24px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.chip {
  font-size: 0.8rem; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--body);
  background: rgba(15, 23, 42, 0.03);
}
.code-panel {
  background: var(--elevated); border: 1px solid var(--line-strong);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.10);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.83rem; line-height: 1.8;
}
.code-panel .cp-bar {
  padding: 10px 16px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 0.75rem; display: flex; gap: 6px;
  background: rgba(15, 23, 42, 0.03);
}
.code-panel .cp-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.code-panel .cp-body { padding: 20px 22px; color: var(--body); }
.code-panel .k { color: var(--accent); }
.code-panel .s { color: #15803d; }
.code-panel .c { color: var(--muted); }
.code-panel .v { color: var(--cyan); }

/* ---------- Solution panels (infra / cloud / security / integration) ---------- */
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.solution-card { position: relative; overflow: hidden; }
.solution-card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 180px;
  background: radial-gradient(circle at top right, rgba(42, 86, 232, 0.07), transparent 70%);
  pointer-events: none;
}
.solution-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.solution-card p { font-size: 0.925rem; color: var(--muted); margin-bottom: 18px; }

/* ---------- Why VEXCORE ---------- */
.value-card { display: flex; gap: 18px; align-items: flex-start; }
.value-card .icon-tile { margin-bottom: 0; flex: none; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Tech ecosystem ---------- */
.tech-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-card h3 { font-size: 1.02rem; margin-bottom: 14px; }
.tech-card .chip-row { margin: 0; gap: 6px; }
.tech-card .chip { font-size: 0.74rem; padding: 5px 11px; }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.stat {
  text-align: center; padding: 28px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.stat-value {
  font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1.1;
  background: linear-gradient(120deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-card { position: relative; }
.testimonial-card .quote-mark {
  position: absolute; top: 20px; right: 22px; width: 30px; height: 30px;
  color: rgba(42, 86, 232, 0.25);
}
.testimonial-card blockquote { font-size: 1rem; color: var(--fog); line-height: 1.6; margin: 0 0 20px; font-style: normal; }
.testimonial-card .attribution { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, rgba(42, 86, 232, 0.12), rgba(14, 116, 144, 0.10));
  border: 1px solid rgba(42, 86, 232, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--fog); font-size: 0.9rem;
}
.testimonial-card .name { font-weight: 600; color: var(--fog); font-size: 0.9rem; }
.testimonial-card .role { font-size: 0.8rem; color: var(--muted); }

/* ---------- Empty / placeholder panels ---------- */
.empty-panel {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 44px; text-align: center; background: rgba(15, 23, 42, 0.02);
}
.empty-panel .icon-tile { margin: 0 auto 16px; }
.empty-panel h3 { margin-bottom: 8px; }
.empty-panel p { margin-inline: auto; color: var(--muted); font-size: 0.925rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  color: var(--fog); font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform 0.25s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--accent); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 18px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 64px 56px; text-align: center;
  border: 1px solid rgba(42, 86, 232, 0.3);
  background:
    radial-gradient(circle at 15% 20%, rgba(42, 86, 232, 0.08), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(14, 116, 144, 0.06), transparent 50%),
    var(--surface);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 30%, transparent 100%);
}
.cta-banner h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 12px 0 14px; position: relative; }
.cta-banner p { margin: 0 auto 30px; color: var(--muted); position: relative; }
.cta-banner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); max-width: 34ch; }
.footer-col h3 {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-family: var(--font-body); font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--body); font-size: 0.925rem; }
.footer-col a:hover { color: var(--cyan); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid var(--line-strong); color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { color: var(--cyan); border-color: var(--accent); text-decoration: none; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 84px 0 64px; border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(42, 86, 232, 0.07), transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(14, 116, 144, 0.05), transparent 50%);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); position: relative; }
.page-hero p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); position: relative; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; position: relative; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs .sep { color: var(--muted); opacity: 0.6; }

/* ---------- Filter buttons ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--line-strong); color: var(--muted);
  transition: all 0.2s ease;
}
.filter-btn:hover { color: var(--fog); border-color: var(--accent); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--btn-from), var(--btn-to));
  border-color: transparent; color: #fff;
}

/* ---------- Project cards ---------- */
.project-card .card-media {
  height: 180px; border-radius: var(--radius-sm); margin-bottom: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(42, 86, 232, 0.10), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(14, 116, 144, 0.08), transparent 60%),
    var(--elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.project-card .card-media svg { width: 34px; height: 34px; opacity: 0.7; }
.project-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(42, 86, 232, 0.30);
  color: var(--accent); background: rgba(42, 86, 232, 0.07);
}
.project-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.project-card p { font-size: 0.875rem; color: var(--muted); }
.project-card[hidden] { display: none; }

/* ---------- Post cards ---------- */
.post-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--muted); align-items: center; flex-wrap: wrap; }
.post-meta svg { width: 14px; height: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-card { display: flex; flex-direction: column; }
.post-card .card-media { height: 170px; margin-bottom: 20px; position: relative; overflow: hidden; }
.post-card .card-media .cat {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line-strong); color: var(--cyan);
}
.post-card .post-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; align-items: center; }
.post-card .post-meta svg { width: 13px; height: 13px; }
.post-card .post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--fog); }
.post-card h3 a:hover { color: var(--cyan); text-decoration: none; }
.post-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; padding-block: 72px; }
.article-header { margin-bottom: 40px; }
.article-header .post-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--muted); margin: 18px 0; align-items: center; }
.article-header .post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-header .post-meta svg { width: 14px; height: 14px; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.article-body { font-size: 1.03rem; color: var(--body); }
.article-body h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.article-body h3 { font-size: 1.15rem; margin: 32px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; display: grid; gap: 8px; }
.article-body li::marker { color: var(--accent); }
.article-body blockquote {
  border-left: 3px solid var(--accent); margin: 26px 0; padding: 8px 0 8px 22px;
  color: var(--fog); font-style: italic;
}
.article-body strong { color: var(--fog); }
.article-back { margin-bottom: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 36px;
}
.form-panel h2 { margin-bottom: 24px; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--fog); margin-bottom: 7px; }
.form-group label .opt { color: var(--muted); font-weight: 400; }
.form-control {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--ink); color: var(--fog);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42, 86, 232, 0.14); }
.form-control::placeholder { color: var(--muted); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6677' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.form-control { min-height: 140px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--cyan); }
.form-status {
  display: none; margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-status.visible { display: block; }
.form-status.ok { background: rgba(4, 120, 87, 0.08); border: 1px solid rgba(4, 120, 87, 0.25); color: var(--success); }
.form-status.err { background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.25); color: var(--danger); }

.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 30px;
}
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-item:last-of-type { border-bottom: 0; }
.info-item .icon-tile { width: 40px; height: 40px; margin: 0; flex: none; }
.info-item .icon-tile svg { width: 19px; height: 19px; }
.info-item h3 { font-size: 0.95rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: 0.88rem; color: var(--muted); }
.info-item a:hover { color: var(--cyan); }
.map-placeholder {
  margin-top: 24px; height: 220px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(circle at 40% 40%, rgba(42, 86, 232, 0.07), transparent 60%),
    rgba(15, 23, 42, 0.02);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: 0.85rem; padding: 20px;
}

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid rgba(14, 116, 144, 0.28); border-radius: var(--radius);
  background: rgba(14, 116, 144, 0.06);
  padding: 18px 22px; font-size: 0.9rem; color: var(--body);
  margin-bottom: 40px;
}
.notice svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar-lg {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(42, 86, 232, 0.12), rgba(14, 116, 144, 0.10));
  border: 1px solid rgba(42, 86, 232, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--fog); font-size: 1.5rem;
}
.team-card h3 { font-size: 1rem; }
.team-card .role { font-size: 0.82rem; color: var(--accent); margin-top: 3px; }

/* ---------- Not found ---------- */
.notfound { text-align: center; padding: 140px 0; }
.notfound .code {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 12vw, 7rem);
  background: linear-gradient(120deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.notfound h1 { margin: 18px 0 12px; }
.notfound p { margin: 0 auto 30px; color: var(--muted); }

/* ---------- Reveal animation ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  .tech-groups { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .band-inner { grid-template-columns: 1fr; padding: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-visual { order: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 14px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .nav-cta { margin: 12px 0 0; }
  .main-nav .nav-cta .btn { width: 100%; }
}
@media (max-width: 767px) {
  .section { padding-block: 64px; }
  .grid-2, .grid-3, .grid-4, .solution-grid, .tech-groups, .industry-grid,
  .steps, .stats-row, .check-list, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 80px; }
  .cta-banner { padding: 48px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .band-inner { padding: 32px 24px; }
  .form-panel { padding: 26px 22px; }
  .article { padding-block: 48px; }
  .steps { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .step { min-width: 200px; scroll-snap-align: start; }
}

/* ---------- 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;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
