/* =============================================================
   QUANTUM BUILD CONSULTANTS — Shared Site Stylesheet
   ============================================================= */

:root {
  --navy: #0A1628;
  --navy-2: #122038;
  --cyan: #00C9DB;
  --blue: #1B6EC2;
  --ink: #0A1628;
  --muted: #5A6477;
  --line: #E2E5EA;
  --surface: #F4F5F7;
  --paper: #FFFFFF;
  --warn: #C9601B;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }

/* TOP BAR */
.topbar {
  background: var(--cyan);
  color: var(--navy);
  text-align: center;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}

/* HEADER */
header.main {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  max-width: 1240px; margin: 0 auto;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: #fff;
}
.brand-mark {
  width: 42px; height: 42px;
  border: 2px solid var(--cyan);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900;
  font-size: 18px; color: var(--cyan); letter-spacing: -0.02em;
}
.brand-text {
  font-family: var(--display); font-weight: 800;
  font-size: 18px; letter-spacing: -0.01em; line-height: 1;
}
.brand-text small {
  display: block; font-family: var(--mono);
  font-size: 9px; color: var(--cyan);
  letter-spacing: 0.22em; font-weight: 500;
  margin-top: 4px; text-transform: uppercase;
}
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }

/* HERO */
.hero {
  background: var(--navy); color: #fff;
  padding: 88px 28px 120px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  max-width: 1240px; margin: 0 auto;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px; align-items: end;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; color: var(--cyan);
  letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--cyan);
}
h1.hero-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
h1.hero-title em {
  font-style: normal; color: var(--cyan);
}
.hero-sub {
  font-size: 18px; line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
}
.hero-meta {
  border-left: 2px solid var(--cyan);
  padding-left: 18px;
  font-family: var(--mono);
  font-size: 11px; line-height: 1.8;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.hero-meta strong { color: #fff; font-weight: 500; display: block; }
.hero-cta {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none; cursor: pointer;
  transition: all 0.18s ease;
}
.btn-primary {
  background: var(--cyan); color: var(--navy);
}
.btn-primary:hover {
  background: #fff; color: var(--navy);
}
.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--cyan); color: var(--cyan);
}
.btn-dark {
  background: var(--navy); color: #fff;
}
.btn-dark:hover { background: var(--blue); }
.btn .arrow {
  font-family: var(--mono); font-weight: 400;
  font-size: 16px;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn .arrow { transition: transform 0.18s ease; }

/* SECTIONS */
section { padding: 96px 28px; }
.container {
  max-width: 1240px; margin: 0 auto;
}
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px; margin-bottom: 48px;
  gap: 32px;
}
.section-head h2 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em; line-height: 1;
}
.section-head .count {
  font-family: var(--mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.16em; text-transform: uppercase;
  padding-bottom: 6px; white-space: nowrap;
}

/* SECTION INTRO */
.section-intro {
  font-size: 18px; color: var(--muted);
  max-width: 720px; margin-bottom: 56px;
  line-height: 1.55;
}

/* CARDS GRID */
.cards { display: grid; gap: 24px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.card::before {
  content: ''; position: absolute;
  top: 0; left: 0;
  width: 56px; height: 4px;
  background: var(--cyan);
}
.card-num {
  font-family: var(--mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.card-num .pill {
  background: var(--surface); color: var(--blue);
  padding: 4px 10px; font-size: 10px;
  font-weight: 600; letter-spacing: 0.14em;
}
.card h3 {
  font-family: var(--display); font-weight: 800;
  font-size: 24px; line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.card p {
  color: var(--muted); font-size: 15px;
  line-height: 1.55; margin-bottom: 14px;
}
.card ul {
  list-style: none;
  margin: 0 0 24px;
}
.card ul li {
  font-size: 14px; padding: 9px 0 9px 22px;
  border-top: 1px dashed var(--line);
  position: relative;
}
.card ul li:last-child { border-bottom: 1px dashed var(--line); }
.card ul li::before {
  content: ''; position: absolute;
  left: 4px; top: 17px;
  width: 8px; height: 1px; background: var(--blue);
}

/* CTA BANNER */
.cta-banner {
  background: var(--navy); color: #fff;
  padding: 80px 28px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 16px;
}
.cta-banner h2 em { font-style: normal; color: var(--cyan); }
.cta-banner p {
  font-size: 17px; color: rgba(255,255,255,0.7);
  max-width: 560px; margin: 0 auto 28px;
}

/* CONTENT BLOCK (for about / inner pages) */
.content {
  max-width: 760px; margin: 0 auto;
  padding: 0 0 32px;
}
.content h2 {
  font-family: var(--display); font-weight: 800;
  font-size: 28px; letter-spacing: -0.015em;
  margin: 40px 0 14px;
  color: var(--navy);
}
.content h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 19px; color: var(--blue);
  margin: 28px 0 10px;
}
.content p {
  font-size: 16px; line-height: 1.65;
  color: var(--ink); margin-bottom: 16px;
}
.content ul { margin: 0 0 18px 22px; }
.content ul li { margin-bottom: 7px; }

/* FORM */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
  font-weight: 500;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--body); font-size: 15px; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row textarea {
  min-height: 140px; resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); background: var(--paper);
}
.form-fineprint {
  margin-top: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; color: var(--muted);
  text-transform: uppercase; line-height: 1.6;
}

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 24px 0 6px; font-weight: 500;
}
.contact-info p {
  font-size: 15px; line-height: 1.6;
}
.contact-info p strong {
  font-family: var(--display); font-weight: 700; font-size: 17px;
}

/* FOOTER */
footer.site {
  background: var(--blue); color: #fff;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 48px 28px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
footer.site h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px; font-weight: 500;
}
footer.site p, footer.site a {
  color: #fff; text-decoration: none;
  font-size: 14px; line-height: 1.7;
}
footer.site a:hover { color: var(--cyan); }
.footer-brand strong {
  font-family: var(--display); font-weight: 800;
  font-size: 20px; display: block; margin-bottom: 10px;
}
.footer-bottom {
  background: var(--navy); padding: 14px 28px;
  text-align: center; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--cyan); text-transform: uppercase; font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hero { padding: 64px 24px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cards.cols-2, .cards.cols-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 36px 24px 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
