/* ============================================================
   SpeedAgents Pro — styles.css
   Mobile-first, system fonts, CSS variables, no frameworks
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --navy:       #0A1628;
  --blue:       #2563EB;
  --blue-dark:  #1d4ed8;
  --blue-light: #93C5FD;
  --white:      #ffffff;
  --bg:         #ffffff;
  --bg-alt:     #F8FAFC;
  --text:       #0F172A;
  --text-muted: #64748b;
  --border:     #e2e8f0;
  --success:    #16A34A;
  --error:      #DC2626;
  --radius:     8px;
  --radius-lg:  12px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);
  --transition: .2s ease;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  --nav-h: 68px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
address { font-style: normal; }

/* ── Accessibility ────────────────────────────────────────── */
.skip-nav {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--blue); color: #fff; padding: 8px 16px;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-nav:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 40px; }
.text-accent { color: var(--blue); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; line-height: 1;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 12px rgba(37,99,235,.35); }

.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f1f5f9; box-shadow: var(--shadow-md); }

.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
/* ── Nav Logo ─────────────────────────────────────────────── */
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 56px; width: 56px; flex-shrink: 0; }
.nav-logo-stack { display: flex; flex-direction: column; line-height: 1.3; }
.nav-logo-name { font-size: 1.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.nav-logo-sub { font-size: .82rem; font-weight: 600; color: #475569; letter-spacing: .01em; white-space: nowrap; }

/* ── Footer Logo ──────────────────────────────────────────── */
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-logo img { display: none; }
.footer-logo-stack { display: flex; flex-direction: column; line-height: 1.2; }
.footer-logo-name { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.footer-logo-sub { font-size: .82rem; font-weight: 600; color: #cbd5e1; letter-spacing: .01em; white-space: nowrap; }

/* ── Brand Ticker ─────────────────────────────────────────── */
.brand-ticker {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}
.brand-ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker-ltr 28s linear infinite;
}
.brand-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: .85rem;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: .02em;
}
.brand-ticker-item strong { color: #fff; font-weight: 700; }
.brand-ticker-item svg { color: #2563EB; flex-shrink: 0; }
.ticker-dot { color: #2563EB; font-size: 1.2rem; line-height: 1; }

@keyframes ticker-ltr {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ticker-track { animation: none; }
}
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-link {
  padding: 8px 12px; border-radius: var(--radius); font-size: .9rem;
  font-weight: 500; color: var(--text); transition: background var(--transition), color var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--bg-alt); color: var(--blue); text-decoration: none; }
.nav-link.active { color: var(--blue); font-weight: 600; }
.nav-cta-item { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle-bar {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 16px; overflow-y: auto;
    transform: translateX(100%); opacity: 0; pointer-events: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-open { transform: translateX(0); opacity: 1; pointer-events: all; }
  .nav-link { padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-cta-item { margin: 16px 0 0; }
  .nav-cta-item .btn { width: 100%; justify-content: center; padding: 14px; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero { background: var(--navy); color: #fff; padding: 80px 0 64px; overflow: hidden; }
.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.25); color: var(--blue-light);
  border: 1px solid rgba(37,99,235,.4); border-radius: 100px;
  padding: 6px 14px; font-size: .8rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900;
  line-height: 1.15; margin-bottom: 20px; color: #fff;
}
.hero-subtext { font-size: 1.1rem; color: #cbd5e1; max-width: 520px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.stat span { font-size: .8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

.hero-visual { display: none; }
.hero-graphic { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 16px; }

@media (min-width: 1024px) {
  .hero-container { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: block; }
}

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 28px; }
.trust-bar-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.trust-bar-label { text-align: center; font-size: .8rem; color: #94a3b8; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: #cbd5e1; font-size: .875rem; font-weight: 500;
}
.trust-item svg { color: var(--blue-light); flex-shrink: 0; }

/* ── Services Grid (home) ─────────────────────────────────── */
.services-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--blue); }
.service-icon {
  width: 52px; height: 52px; background: #eff6ff; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  margin-bottom: 16px;
}
.section-alt .service-card { background: var(--bg); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.service-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .875rem; font-weight: 600; color: var(--blue);
  transition: gap var(--transition);
}
.service-link:hover { gap: 8px; text-decoration: none; }

/* ── Why Us ───────────────────────────────────────────────── */
.why-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 44px; height: 44px; flex-shrink: 0; background: #eff6ff;
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; color: var(--blue); margin-top: 2px;
}
.why-item h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-item p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Process ──────────────────────────────────────────────── */
.process-steps { display: grid; gap: 0; }
.process-step {
  display: flex; gap: 20px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  font-size: 2rem; font-weight: 900; color: var(--blue);
  opacity: .25; line-height: 1; flex-shrink: 0; width: 52px;
  font-variant-numeric: tabular-nums;
}
.step-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-content p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .process-step { border-bottom: 1px solid var(--border); }
}
@media (min-width: 1024px) { .process-steps { grid-template-columns: 1fr; } }

/* ── Blog Cards ───────────────────────────────────────────── */
.blog-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-grid--full { max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .blog-grid--full { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.section-alt .blog-card { background: var(--bg); }
.blog-card-meta { display: flex; align-items: center; gap: 10px; }
.blog-category {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: #eff6ff; padding: 3px 10px; border-radius: 100px;
}
.blog-read-time { font-size: .8rem; color: var(--text-muted); }
.blog-card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.blog-card-title--list { font-size: 1.15rem; }
.blog-card-title a { color: inherit; transition: color var(--transition); }
.blog-card-title a:hover { color: var(--blue); text-decoration: none; }
.blog-card-excerpt { font-size: .9rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.blog-date { font-size: .8rem; color: var(--text-muted); }
.blog-author { font-size: .8rem; color: var(--text-muted); }
.blog-date-sep { color: var(--text-muted); }
.blog-author-row { display: flex; align-items: center; gap: 6px; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .875rem; font-weight: 600; color: var(--blue);
  transition: gap var(--transition);
}
.blog-read-more:hover { gap: 8px; text-decoration: none; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner { background: var(--navy); padding: 72px 0; }
.cta-inner {
  display: flex; flex-direction: column; gap: 28px;
  align-items: flex-start;
}
.cta-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-text p { color: #94a3b8; font-size: 1rem; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-text { max-width: 560px; }
}

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero--sm { padding: 48px 0 40px; }
.page-hero .section-label { color: var(--blue-light); }
.page-hero-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.page-hero-sub { font-size: 1.05rem; color: #cbd5e1; max-width: 600px; line-height: 1.7; }

/* ── Services Detail ──────────────────────────────────────── */
.service-detail-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr 420px; }
  .service-detail-grid--reverse { grid-template-columns: 420px 1fr; }
  .service-detail-grid--reverse .service-detail-content { order: 2; }
  .service-detail-grid--reverse .service-detail-visual { order: 1; }
}
.service-detail-icon {
  width: 60px; height: 60px; background: #eff6ff; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 12px;
}
.section-alt .service-detail-icon { background: var(--bg); }
.service-detail-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.service-detail-content h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.service-detail-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.service-deliverables { margin: 24px 0; padding: 20px; background: #f8fafc; border-radius: var(--radius); border-left: 3px solid var(--blue); }
.section-alt .service-deliverables { background: var(--bg); }
.service-deliverables h3 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 12px; }
.service-deliverables ul { display: grid; gap: 6px; }
.service-deliverables li {
  font-size: .875rem; color: var(--text-muted); padding-left: 18px; position: relative;
}
.service-deliverables li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.service-visual-card { background: var(--navy); border-radius: var(--radius-lg); padding: 28px; }
.section-alt .service-visual-card { background: var(--navy); }
.svc-metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.svc-metric-row:last-child { margin-bottom: 0; }
.svc-metric { text-align: center; padding: 16px; background: rgba(255,255,255,.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
.svc-metric strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue-light); line-height: 1.2; margin-bottom: 4px; }
.svc-metric span { font-size: .78rem; color: #94a3b8; line-height: 1.4; }

/* ── About Page ───────────────────────────────────────────── */
.mv-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.mv-card--mission { background: var(--navy); color: #fff; }
.mv-card--vision { background: #eff6ff; }
.mv-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.mv-card--mission .mv-icon { background: rgba(255,255,255,.1); color: var(--blue-light); }
.mv-card--vision .mv-icon { background: var(--blue); color: #fff; }
.mv-card h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.mv-card--mission h2 { color: #fff; }
.mv-card--vision h2 { color: var(--navy); }
.mv-card p { line-height: 1.7; }
.mv-card--mission p { color: #cbd5e1; }
.mv-card--vision p { color: var(--text-muted); }

.story-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 380px; align-items: start; } }
.story-content h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.story-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }

.timeline-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-size: .875rem; font-weight: 800; color: var(--blue);
  background: #eff6ff; padding: 4px 10px; border-radius: 100px;
  height: fit-content; white-space: nowrap; flex-shrink: 0;
}
.timeline-text strong { display: block; font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.timeline-text p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

.values-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.value-number { font-size: 2rem; font-weight: 900; color: var(--blue); opacity: .2; line-height: 1; margin-bottom: 10px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

.team-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; padding: 28px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; }
.team-avatar svg, .team-avatar img { width: 100%; height: 100%; }
.team-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-role { font-size: .8rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: block; }
.team-bio { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.team-note { text-align: center; font-size: .9rem; color: var(--text-muted); margin-top: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Careers Page ─────────────────────────────────────────── */
.benefits-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon { width: 44px; height: 44px; flex-shrink: 0; background: #eff6ff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.benefit-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.benefit-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

.positions-list { display: grid; gap: 24px; }
.position-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.position-header { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.position-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.position-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.position-tag { font-size: .75rem; font-weight: 600; background: var(--bg-alt); color: var(--text-muted); padding: 4px 10px; border-radius: 100px; border: 1px solid var(--border); }
.position-card > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; font-size: .95rem; }
.position-requirements h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 10px; }
.position-requirements ul { display: grid; gap: 6px; }
.position-requirements li { font-size: .875rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.position-requirements li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }

.apply-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .apply-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.apply-intro h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.apply-intro > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.apply-process { display: grid; gap: 20px; }
.apply-step { display: flex; gap: 14px; align-items: flex-start; }
.apply-step-num {
  width: 32px; height: 32px; flex-shrink: 0; background: var(--blue);
  color: #fff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: .8rem; font-weight: 800; margin-top: 2px;
}
.apply-step strong { display: block; font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.apply-step p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 360px 1fr; align-items: start; } }
.contact-info-block { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info-block:last-of-type { border-bottom: none; }
.contact-info-icon { width: 40px; height: 40px; flex-shrink: 0; background: #eff6ff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.contact-info-block strong { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-block a, .contact-info-block span { font-size: .95rem; color: var(--text); }
.contact-info-block a:hover { color: var(--blue); }
.contact-guarantees { margin-top: 28px; padding: 20px; background: var(--bg-alt); border-radius: var(--radius-lg); }
.contact-guarantees h3 { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.contact-guarantees ul { display: grid; gap: 10px; }
.contact-guarantees li { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; color: var(--text-muted); }
.contact-guarantees li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.form-privacy-note { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 12px; }
.form-privacy-note a { color: var(--blue); }

/* ── Blog Post ────────────────────────────────────────────── */
.post-hero { background: var(--navy); color: #fff; padding: 48px 0 56px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: .85rem; }
.breadcrumb a { color: #94a3b8; }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb svg { color: #94a3b8; }
.breadcrumb span { color: #64748b; }
.post-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.post-title { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 900; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.post-excerpt { font-size: 1.05rem; color: #94a3b8; line-height: 1.7; max-width: 680px; margin-bottom: 24px; }
.post-byline { display: flex; align-items: center; gap: 12px; }
.post-author-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.post-author-name { display: block; font-size: .9rem; font-weight: 600; color: #e2e8f0; }
.post-date { display: block; font-size: .8rem; color: #94a3b8; }

.post-body-wrap { padding: 56px 0; }
.post-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .post-layout { grid-template-columns: 1fr 280px; align-items: start; } }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin: 32px 0 12px; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 24px 0 8px; }
.prose p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul, .prose ol { margin: 12px 0 16px 20px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { color: var(--text-muted); line-height: 1.75; margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--blue); }

.post-sidebar { display: grid; gap: 20px; }
.sidebar-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-alt); }
.sidebar-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sidebar-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.share-links { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius); font-size: .85rem;
  font-weight: 600; transition: opacity var(--transition);
}
.share-btn:hover { opacity: .85; text-decoration: none; }
.share-linkedin { background: #0a66c2; color: #fff; }
.share-twitter { background: #000; color: #fff; }

.post-nav { padding: 24px 0; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-hint { font-weight: 400; color: var(--text-muted); font-size: .8rem; }
.required { color: var(--error); }
.form-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .95rem; color: var(--text);
  background: var(--bg); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-input::placeholder { color: #94a3b8; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
.form-input.is-error { border-color: var(--error); }
.form-error { font-size: .8rem; color: var(--error); margin-top: 5px; min-height: 1em; }
.form-success {
  padding: 14px 16px; background: #f0fdf4; border: 1px solid #86efac;
  border-radius: var(--radius); color: #15803d; font-size: .9rem;
  font-weight: 600; margin-bottom: 16px;
}
.form-submit-error {
  padding: 14px 16px; background: #fef2f2; border: 1px solid #fca5a5;
  border-radius: var(--radius); color: var(--error); font-size: .9rem;
  margin-bottom: 16px;
}
.apply-form-wrap { background: var(--bg-alt); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* File Upload */
.file-upload-wrap { position: relative; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-label {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 16px; border: 1.5px dashed var(--border);
  border-radius: var(--radius); cursor: pointer; color: var(--text-muted);
  font-size: .9rem; transition: border-color var(--transition), background var(--transition);
}
.file-label:hover { border-color: var(--blue); background: #eff6ff; color: var(--blue); }
.file-label svg { flex-shrink: 0; }
.file-name { font-size: .8rem; color: var(--blue); margin-top: 4px; font-weight: 600; min-height: 1em; }

/* Honeypot */
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ── Quick Query Widget ───────────────────────────────────── */
.qq-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 200;
}
.qq-tab-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 10px; background: var(--blue); color: #fff;
  border-radius: var(--radius) 0 0 var(--radius);
  writing-mode: vertical-lr; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: -2px 0 12px rgba(37,99,235,.3);
  transition: background var(--transition), box-shadow var(--transition);
  cursor: pointer; border: none;
}
.qq-tab-btn:hover { background: var(--blue-dark); }
.qq-tab-btn svg { writing-mode: horizontal-tb; }

.qq-overlay {
  position: fixed; inset: 0; background: rgba(10,22,40,.5);
  z-index: 300; opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.qq-overlay.is-open { opacity: 1; pointer-events: all; }

.qq-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 400px;
  background: var(--bg); z-index: 400; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
}
.qq-panel.is-open { transform: translateX(0); }

.qq-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 1;
}
.qq-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.qq-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.qq-close:hover { background: var(--bg-alt); color: var(--text); }

.qq-form { padding: 20px 24px 28px; }

/* ── Legal Pages ──────────────────────────────────────────── */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 28px 0 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 8px 0 12px 20px; list-style: disc; }
.legal-content li { color: var(--text-muted); line-height: 1.75; margin-bottom: 6px; }
.legal-content a { color: var(--blue); }
.legal-content address { margin-top: 8px; line-height: 1.8; color: var(--text-muted); }

/* ── 404 Page ─────────────────────────────────────────────── */
.error-page { padding: 96px 0; text-align: center; }
.error-code { font-size: clamp(4rem, 15vw, 8rem); font-weight: 900; color: var(--blue); opacity: .15; line-height: 1; margin-bottom: -8px; }
.error-page h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.error-page > .container > .error-content > p { color: var(--text-muted); margin-bottom: 28px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.error-links p { font-size: .9rem; color: var(--text-muted); margin-bottom: 12px; }
.error-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.error-links li a { font-size: .9rem; color: var(--blue); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #94a3b8; padding: 64px 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-logo img { display: none; }
.footer-tagline { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border-radius: var(--radius); color: #94a3b8;
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--blue); color: #fff; }

.footer-heading { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #cbd5e1; margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { font-size: .875rem; color: #94a3b8; transition: color var(--transition); }
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-contact p { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .875rem; }
.footer-contact a { color: #94a3b8; transition: color var(--transition); }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { color: var(--blue-light); flex-shrink: 0; }
.footer-cta { margin-top: 16px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; padding: 20px 0; margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-copy { font-size: .8rem; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: .8rem; color: #64748b; transition: color var(--transition); }
.footer-legal a:hover { color: #cbd5e1; }

/* ── Responsive Breakpoints ───────────────────────────────── */
@media (max-width: 639px) {
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (min-width: 768px) {
  .section { padding: 88px 0; }
}

@media (min-width: 1280px) {
  .container { padding: 0 32px; }
}
