/* Herman Consulting — hermanconsulting.online */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #0e1320;
  --ink-2: #2b3141;
  --muted: #5b6172;
  --line: #e3e1d8;
  --line-2: #cfcdc3;
  --accent: #1e40af;
  --accent-hover: #172f86;
  --accent-soft: #e8edfb;
  --accent-ink: #ffffff;
  --dark: #0e1320;
  --dark-2: #171d2d;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-muted: #a3a9ba;
  --ok: #0f7b5f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 19, 32, 0.05), 0 12px 32px -12px rgba(14, 19, 32, 0.18);
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; }
.display em { font-style: italic; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lead { font-size: 18px; color: var(--muted); max-width: 58ch; }
.section { padding: 96px 0; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 50px); margin: 14px 0 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(30, 64, 175, 0.7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f0ea; }
.btn .price { opacity: 0.75; font-weight: 500; }
.btn-lg { padding: 18px 28px; font-size: 16px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; line-height: 1; }
.brand-mark span { transform: translateY(1px); }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* Hero */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); margin: 20px 0 22px; }
.hero .lead { font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* Roadmap card visual */
.visual { position: relative; }
.visual::before {
  content: ""; position: absolute; inset: -40px -60px -40px -20px; z-index: -1;
  background: radial-gradient(60% 60% at 60% 40%, rgba(30, 64, 175, 0.14), transparent 70%);
}
.card-stack { position: relative; }
.roadmap {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px 20px;
  box-shadow: var(--shadow); position: relative; z-index: 2;
}
.roadmap-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.roadmap-head strong { font-size: 15px; font-weight: 600; }
.roadmap-head small { font-size: 12px; color: var(--muted); }
.roadmap-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.roadmap-row:last-child { border-bottom: 0; }
.roadmap-row .chk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.roadmap-row .chk.done { background: #dff5ec; color: var(--ok); }
.roadmap-row .chk.now { background: var(--accent-soft); color: var(--accent); }
.roadmap-row .chk.next { border: 1.5px solid var(--line-2); }
.roadmap-row .lbl { display: flex; flex-direction: column; gap: 2px; }
.roadmap-row .lbl small { color: var(--muted); font-size: 12.5px; }
.roadmap-row .tag { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #f1f0ea; color: var(--ink-2); white-space: nowrap; }
.roadmap-row .tag.live { background: #dff5ec; color: var(--ok); }
.roadmap-row .tag.wk { background: var(--accent-soft); color: var(--accent); }
.float-card {
  position: absolute; z-index: 3; background: var(--dark); color: #fff; border-radius: 12px; padding: 12px 14px;
  font-size: 13px; box-shadow: 0 16px 36px -14px rgba(14, 19, 32, 0.6); display: flex; align-items: center; gap: 10px;
}
.float-card b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.float-card small { color: var(--dark-muted); }
.float-a { right: -18px; top: -22px; }
.float-b { left: -30px; bottom: -40px; }
.float-card .num { font-family: var(--font-display); font-size: 26px; line-height: 1; color: #9db3ff; }

/* Logos strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #faf9f6; }
.strip-inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.strip-inner strong { color: var(--ink); font-weight: 600; }
.strip-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* Services */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc .n { font-family: var(--font-display); font-size: 30px; color: var(--accent); line-height: 1; }
.svc h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.svc p { color: var(--muted); font-size: 14.5px; }
.svc ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 6px; }
.svc li::before { content: "— "; color: var(--line-2); }

/* Landscape (dark) */
.landscape { background: var(--dark); color: #fff; }
.landscape .eyebrow { color: #9db3ff; }
.landscape .lead { color: var(--dark-muted); }
.landscape .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; }
.landscape .section-head .txt { max-width: 640px; }
.landscape .count { font-family: var(--font-display); font-size: 64px; line-height: 1; color: #9db3ff; text-align: right; }
.landscape .count small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--dark-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--dark-line); background: transparent; color: #d7dbe6;
  font-size: 13.5px; font-weight: 500; transition: all 0.15s ease;
}
.tab:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.tab.active { background: #fff; color: var(--ink); border-color: #fff; }
.niche-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.niche-intro h3 { font-family: var(--font-display); font-size: 30px; }
.niche-intro p { color: var(--dark-muted); font-size: 14.5px; max-width: 60ch; }
.companies { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.co {
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 20px 18px 18px;
  display: flex; flex-direction: column; gap: 10px; min-height: 196px; position: relative;
  animation: rise 0.35s ease both;
}
.co:nth-child(2) { animation-delay: 0.04s } .co:nth-child(3) { animation-delay: 0.08s } .co:nth-child(4) { animation-delay: 0.12s } .co:nth-child(5) { animation-delay: 0.16s }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.co .rank { position: absolute; top: 14px; right: 14px; font-family: var(--font-display); font-size: 18px; color: rgba(255, 255, 255, 0.35); }
.co .mark { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #fff; letter-spacing: -0.02em; flex: none; }
/* Real logos sit on a white tile so brand marks read against the dark card. */
.co .mark.logo { background: #fff; padding: 7px; }
.co .mark.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.co h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.co p { color: var(--dark-muted); font-size: 13.5px; line-height: 1.5; flex: 1; }
.co .best { font-size: 12px; color: #c8d2ff; }
.co .best b { color: #9db3ff; font-weight: 600; }
.landscape-foot { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dark-muted); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.step { padding: 30px 26px 28px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step .k { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.step h3 { font-size: 20px; margin: 12px 0 10px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--muted); }
.step .time { margin-top: 18px; display: inline-block; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: #f1f0ea; color: var(--ink-2); font-weight: 500; }

/* Pricing */
.pricing { background: #efeee8; }
.price-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
}
.price-left { padding: 46px 48px; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.price-left .eyebrow { color: #9db3ff; }
.price-amt { font-family: var(--font-display); font-size: 84px; line-height: 1; margin-top: 14px; }
.price-amt small { font-family: var(--font-body); font-size: 15px; color: var(--dark-muted); margin-left: 10px; }
.price-left h3 { font-size: 24px; margin-top: 8px; }
.price-left p { color: var(--dark-muted); font-size: 15px; max-width: 42ch; margin-top: 10px; }
.price-note { font-size: 13px; color: var(--dark-muted); border-top: 1px solid var(--dark-line); padding-top: 18px; }
.price-right { padding: 46px 48px; }
.price-right h4 { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 13px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; align-items: start; }
.checks li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #dff5ec; color: var(--ok); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.checks li span { color: var(--ink-2); }
.checks li small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.price-right .fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 28px; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* CTA band */
.cta-band { padding: 110px 0; text-align: center; }
.cta-band h2 { font-size: clamp(36px, 5vw, 60px); margin: 14px auto 18px; max-width: 18ch; }
.cta-band .lead { margin: 0 auto 34px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 34px; font-size: 13.5px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { margin-top: 18px; font-size: 12.5px; color: #8a8f9d; max-width: 90ch; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .companies { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .visual { max-width: 520px; }
  .price-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 11px 15px; font-size: 14px; }
  .nav-cta .btn .cta-rest { display: none; }
  .brand { font-size: 15px; white-space: nowrap; }
  .nav-inner { gap: 10px; }
  .nav-toggle { flex: none; }
  .hero { padding: 44px 0 60px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .float-a { right: 0; top: -18px; } .float-b { left: 0; bottom: -18px; }
  .grid-4, .companies, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .landscape .section-head { flex-direction: column; align-items: flex-start; }
  .landscape .count { text-align: left; }
  .price-left, .price-right { padding: 32px 26px; }
  .price-amt { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
