:root {
  --bg: #030711;
  --bg-alt: #050C1F;
  --border: #0B1A41;
  --text: #F8FAFC;
  --text-muted: #A3B0C2;
  --accent: #0066FF;
  --accent-hover: #2680FF;
  --accent-warm: #F5A623;
  --accent-warm-hover: #FFC24D;
  --radius: 12px;
  --max-width: 1120px;

  --bg-light: #F5F6FA;
  --bg-light-alt: #FFFFFF;
  --border-light: #E3E6EF;
  --text-on-light: #0B1220;
  --text-muted-on-light: #5B6478;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

section { padding: 96px 0; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }

h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.2; margin-bottom: 16px; }

h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { color: var(--text-muted); }

ul { list-style: none; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Light section variant, for visual rhythm/contrast */
.section-light {
  background: var(--bg-light);
  color: var(--text-on-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-light p { color: var(--text-muted-on-light); }
.section-light h2, .section-light h3 { color: var(--text-on-light); }
.section-light .eyebrow { color: var(--accent-hover); }
.section-light .stat-card,
.section-light .timeline-content,
.section-light .credibility-card {
  background: var(--bg-light-alt);
  border-color: var(--border-light);
}
.section-light .credibility-card h3 { color: var(--accent); }
.section-light .credibility-note { color: var(--text-muted-on-light); }
.section-light .timeline-line { background: var(--border-light); }
.section-light .timeline-num { box-shadow: 0 0 0 6px var(--bg-light); }
.section-light .proof-row .field { color: var(--text-muted-on-light); }
.section-light .proof-row .value { color: var(--text-on-light); }
.section-light .proof-card.before .value { color: #C23B3B; }
.section-light .proof-card.after .value { color: #1E8A4C; }
.section-light .proof-row { border-bottom-color: rgba(11, 18, 32, 0.08); }
.section-light .slider-compare { border-color: var(--border-light); }
.section-light .slider-grip { background: var(--text-on-light); color: var(--bg-light-alt); }
.section-light .slider-handle { background: var(--text-on-light); }

.section-sub {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

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

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); }

.btn-small { padding: 10px 20px; font-size: 0.9rem; }

.cta-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 17, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo img { height: 52px; width: auto; }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav a:hover, .nav a.active { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(245, 166, 35, 0.14), transparent 60%),
    radial-gradient(ellipse 1100px 600px at 85% 10%, rgba(0, 102, 255, 0.16), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 780px; }
.hero-title-gradient {
  background: linear-gradient(100deg, var(--text) 35%, var(--accent-warm) 65%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 24px 0 12px;
}
.hero-actions {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-actions .cta-note { margin-top: 0; }

/* Hero split (homepage): copy left, illustration right */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-split .hero-inner { max-width: none; }

.hero-visual {
  position: relative;
  height: 420px;
}
.hv-card {
  position: absolute;
  background: rgba(5, 12, 31, 0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  animation: hv-float 6s ease-in-out infinite;
}
.hv-card .hv-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hv-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.hv-sf {
  top: 20px;
  left: 0;
  width: 250px;
  animation-delay: 0s;
}
.hv-sf .hv-label { color: var(--accent-hover); }
.hv-sf .hv-dot { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hv-bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; margin-bottom: 8px; }
.hv-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-hover)); }

.hv-gong {
  bottom: 30px;
  right: 0;
  width: 230px;
  animation-delay: 1.2s;
}
.hv-gong .hv-label { color: var(--accent-warm-hover); }
.hv-gong .hv-dot { background: var(--accent-warm); box-shadow: 0 0 12px var(--accent-warm); }
.hv-wave { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.hv-wave span { flex: 1; background: linear-gradient(180deg, var(--accent-warm-hover), var(--accent-warm)); border-radius: 3px; animation: hv-wave 1.6s ease-in-out infinite; }
.hv-wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.hv-wave span:nth-child(2) { height: 90%; animation-delay: 0.15s; }
.hv-wave span:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.hv-wave span:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.hv-wave span:nth-child(5) { height: 50%; animation-delay: 0.6s; }
.hv-wave span:nth-child(6) { height: 75%; animation-delay: 0.75s; }
.hv-wave span:nth-child(7) { height: 35%; animation-delay: 0.9s; }

.hv-sync {
  top: 130px;
  left: 130px;
  width: 200px;
  padding: 12px 16px;
  animation-delay: 0.6s;
  z-index: 2;
}
.hv-sync .hv-label { color: var(--text-muted); margin-bottom: 8px; }
.hv-sync-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.hv-sync-row strong { color: var(--text); font-weight: 600; }

.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-flow-path { stroke: var(--accent-warm); stroke-width: 2; fill: none; stroke-dasharray: 6 8; opacity: 0.55; animation: hv-flow 2.4s linear infinite; }

@keyframes hv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes hv-wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
@keyframes hv-flow {
  to { stroke-dashoffset: -140; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-card { animation: none; }
  .hv-wave span { animation: none; }
  .hv-flow-path { animation: none; }
}

/* Page hero (Services / About / Contact) */
.page-hero {
  padding: 100px 0 64px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 400px at 10% -20%, rgba(245, 166, 35, 0.1), transparent 60%),
    radial-gradient(ellipse at top, rgba(0, 102, 255, 0.12), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 720px; }
.page-hero .hero-sub { max-width: 620px; }

/* Stats strip */
.stats-strip { padding: 56px 0; }
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; }

/* Assessment premium teaser */
.assessment-teaser { position: relative; overflow: hidden; }
.assessment-teaser-card {
  position: relative;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(120deg, rgba(245, 166, 35, 0.6), rgba(0, 102, 255, 0.5));
}
.assessment-teaser-inner {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.assessment-teaser-copy .badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 24px; }
.at-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.assessment-teaser-copy h2 { font-size: 1.9rem; }
.assessment-teaser-copy p { font-size: 1.02rem; margin-bottom: 24px; max-width: 480px; }

.at-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.at-ring {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-warm) 0deg, var(--accent) 0deg, var(--border) 0deg);
  position: relative;
  transition: background 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.at-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--bg); }
.at-ring-value {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 800; color: var(--text);
}
.at-preview-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }
.at-cats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.at-cats span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.12);
  color: var(--accent-hover);
  border: 1px solid rgba(0, 102, 255, 0.25);
}

/* Scroll reveal */
[data-reveal]:not([data-reveal="stagger"]) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal]:not([data-reveal="stagger"]).visible { opacity: 1; transform: translateY(0); }
[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal="stagger"].visible > * { opacity: 1; transform: translateY(0); }
[data-reveal="stagger"].visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal="stagger"].visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal="stagger"].visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal="stagger"].visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal="stagger"].visible > *:nth-child(5) { transition-delay: 0.33s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="stagger"] > * { opacity: 1; transform: none; }
}

/* Problems */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.problem-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.problem-item:hover {
  border-color: rgba(245, 166, 35, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(245, 166, 35, 0.35);
}
.problem-item .mark {
  color: var(--accent-warm);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
  transition: transform 0.25s ease;
}
.problem-item:hover .mark { transform: translateX(4px); }
.problem-item p { color: var(--text); font-size: 1rem; margin: 0; }

/* Services grid (home summary) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -20px rgba(0, 102, 255, 0.45);
}
.service-card p { font-size: 0.95rem; margin: 0; }
.services-more { margin-top: 32px; text-align: center; }

/* Services page detail */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.service-detail {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.service-detail h3 { font-size: 1.4rem; margin-bottom: 14px; }
.service-detail p { font-size: 1rem; max-width: 760px; }
.service-detail p + p { margin-top: 14px; }

/* Common Engagements (breadth section) */
.engagements { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* Why Ravienta: split layout */
.why { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-top: 16px;
}
.why-heading .eyebrow, .why-heading h2 { text-align: left; }
.why-heading p { font-size: 1.05rem; }
.why-list { display: flex; flex-direction: column; gap: 4px; }
.why-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s ease;
}
.why-row:last-child { border-bottom: none; }
.why-row:hover { padding-left: 8px; }
.why-row .why-index {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  min-width: 40px;
  transition: color 0.25s ease;
}
.why-row:hover .why-index { color: var(--accent-warm); }
.why-row h3 { margin-bottom: 6px; }
.why-row p { font-size: 0.95rem; margin: 0; }

/* How it works: vertical timeline */
.timeline { position: relative; margin-top: 24px; }
.timeline-item { position: relative; padding-left: 64px; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -4px;
  width: 2px;
  background: var(--border);
}
.timeline-item:last-child .timeline-line { display: none; }
.timeline-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--bg);
}
.timeline-content { }
.timeline-content h3 { font-size: 1.15rem; }
.timeline-content p { font-size: 0.95rem; max-width: 480px; }
.how-cta { text-align: center; margin-top: 40px; }

/* Proof of craft: interactive before/after slider */
.proof-craft { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.slider-compare {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  user-select: none;
  --pos: 50%;
}
.proof-card {
  border-radius: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slider-compare .proof-card.after {
  background: rgba(74, 222, 128, 0.06);
}
.slider-compare .proof-card.before {
  position: absolute;
  inset: 0;
  background: rgba(255, 107, 107, 0.08);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--text);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 5;
}
.slider-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.slider-side-tag {
  position: absolute;
  top: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 4;
}
.slider-side-tag.before { left: 16px; background: rgba(255, 107, 107, 0.85); color: #fff; }
.slider-side-tag.after { right: 16px; background: rgba(74, 222, 128, 0.85); color: #06210f; }
.proof-tag { display: none; }
.proof-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}
.proof-row:last-child { border-bottom: none; }
.proof-row .field { color: var(--text-muted); }
.proof-row .value { color: var(--text); font-weight: 500; text-align: right; }
.proof-card.before .value { color: #FFB3B3; }
.proof-card.after .value { color: #B6F5C9; }
.slider-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.proof-note {
  margin-top: 24px;
  font-size: 0.85rem;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Credibility */
.credibility:not(.section-light) { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.credibility-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.credibility-card:hover { border-color: var(--accent-warm); transform: translateY(-2px); }
.credibility-card h3 { color: var(--accent); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.credibility-card p { font-size: 0.95rem; }
.credibility-note {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-size: 1.2rem;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p {
  margin-top: 14px;
  font-size: 0.95rem;
}

/* Assessment promo (homepage) */
.assessment-promo { border-top: 1px solid var(--border); }
.assessment-promo-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

/* CTA */
.cta { background: var(--bg-alt); border-top: 1px solid var(--border); }
.cta-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.cta-inner p { margin: 16px 0 32px; font-size: 1.05rem; }

/* ===================== */
/* Salesforce Maturity Assessment */
/* ===================== */

.assessment-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* Intro screen */
.assessment-intro { text-align: left; }
.assessment-intro h1 { margin-bottom: 20px; }
.assessment-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}
.assessment-fact {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Progress bar */
.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.progress-seg {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.3s ease;
}
.progress-seg.done,
.progress-seg.current { background: var(--accent); }
.progress-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Question card */
.category-block { display: none; }
.category-block.active { display: block; }
.question-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.question-block p.question-text {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-row {
  display: block;
  position: relative;
}
.option-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-row label {
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.option-row label:hover { border-color: var(--accent); color: var(--text); }
.option-row input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: rgba(0, 102, 255, 0.1);
  color: var(--text);
}
.option-row input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.assessment-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

/* Lead capture screen */
.capture-block { max-width: 520px; }
.capture-block h2 { font-size: 1.6rem; }

/* Results screen */
.results-block { display: none; }
.results-block.active { display: block; }
.score-summary {
  text-align: center;
  margin-bottom: 48px;
}
.score-dial {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--score, 0) * 1%), var(--border) 0);
}
.score-dial::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--bg);
}
.score-dial-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-dial-value .num { font-size: 2.4rem; font-weight: 800; color: var(--text); }
.score-dial-value .denom { font-size: 0.85rem; color: var(--text-muted); }
.score-band {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.score-band.excellent { background: rgba(74, 222, 128, 0.15); color: #4ADE80; }
.score-band.healthy { background: rgba(0, 102, 255, 0.15); color: #4C93FF; }
.score-band.needs-attention { background: rgba(251, 191, 36, 0.15); color: #FBBF24; }
.score-band.critical { background: rgba(255, 107, 107, 0.15); color: #FF6B6B; }
.score-interpretation { font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.results-section { margin-bottom: 40px; }
.results-section h3 { font-size: 1.1rem; margin-bottom: 16px; }
.results-list { display: flex; flex-direction: column; gap: 10px; }
.results-list .result-row {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.category-breakdown { display: flex; flex-direction: column; gap: 16px; }
.category-breakdown-row .cb-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.category-breakdown-row .cb-label span:last-child { color: var(--text); font-weight: 600; }
.cb-track {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.cb-fill { height: 100%; background: var(--accent); border-radius: 999px; }

.recommendation-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.recommendation-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.recommendation-card p { font-size: 0.92rem; margin: 0; }
.recommendation-card .rec-service {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.results-cta {
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 8px;
}
.results-cta p { max-width: 480px; margin: 0 auto 24px; }

@media (max-width: 560px) {
  .assessment-nav { flex-direction: column-reverse; gap: 12px; align-items: stretch; }
  .assessment-nav .btn { width: 100%; }
}

/* About page */
.about-block { max-width: 760px; }
.about-block + .about-block { margin-top: 64px; }
.about-block p { font-size: 1.05rem; margin-bottom: 16px; }
.about-block ul { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.about-block ul li { padding-left: 22px; position: relative; font-size: 1rem; color: var(--text-muted); }
.about-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.about-cta { margin-top: 56px; }

/* Contact page */
.contact-layout {
  max-width: 760px;
  margin: 0 auto;
}
.contact-intro {
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.contact-primary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-primary h2 { font-size: 1.5rem; }
.calendly-frame {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 630px;
}
.calendly-frame iframe { width: 100%; height: 630px; border: 0; }

.contact-primary--compact {
  margin-top: 24px;
  padding: 24px;
}
.contact-primary--compact h2 { font-size: 1.1rem; }
.contact-primary--compact > p { font-size: 0.9rem; }
.calendly-frame--compact,
.calendly-frame--compact iframe {
  min-height: 420px;
  height: 420px;
}

.contact-secondary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-secondary h2 { font-size: 1.5rem; }
.contact-secondary > p { font-size: 0.95rem; margin-bottom: 24px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .hidden-field { display: none; }
.contact-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { align-self: flex-start; }

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #FF6B6B;
  min-height: 1em;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
}
.form-status.success { color: #4ADE80; }
.form-status.error { color: #FF6B6B; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p { font-size: 0.85rem; }
.footer-tagline { font-size: 0.85rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  .credibility-grid { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; order: -1; }
  .why-split { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .assessment-teaser-inner { grid-template-columns: 1fr; padding: 32px; }
  .at-preview { max-width: 320px; margin: 0 auto; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--border); }
  .nav a:first-child { border-top: none; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .hero { padding: 88px 0 64px; }
  .page-hero { padding: 80px 0 48px; }
  .service-detail { padding: 24px; }
  .contact-primary { padding: 24px; }
  .contact-secondary { padding: 24px; }
  .stats-strip-grid { grid-template-columns: 1fr; }
  .assessment-teaser-inner { padding: 24px; }
  .assessment-teaser-copy h2 { font-size: 1.5rem; }
  .proof-row { flex-direction: column; gap: 2px; }
  .proof-row .value { text-align: left; }
  .hv-sync { display: none; }
}


/* WordPress integration */
.admin-bar .site-header{top:32px}
.custom-logo-link{display:flex;align-items:center}
.custom-logo{width:auto;max-height:48px}
.nav .menu-item{display:contents}
.nav-wrap .nav-toggle{flex-shrink:0}
.page-template-default .wp-block-html,.page-template-page-scorecard .wp-block-html{margin:0}
.blog-banner{width:100%;overflow:hidden;background:#030914}
.blog-banner-image{display:block;width:100%;height:clamp(240px,22vw,380px);object-fit:cover;object-position:center}
@media(max-width:782px){.admin-bar .site-header{top:46px}.blog-banner-image{height:auto;min-height:0}}
