.hero-parallax-shell {
  position: relative;
  height: 185vh;
}
.hero-parallax {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: clip;
  z-index: 1;
}
.hero-bg-fixed {
  position: absolute;
  inset: 0;
  background-image: url('/static/img/hero-background.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 13, 30, .80) 15%, rgba(8, 13, 30, .55) 52%, rgba(26, 20, 62, .45) 100%);
}
.hero-parallax-content {
  --hero-lockup-height: clamp(325px, 27.98vw, 397px);
  position: absolute;
  inset: 0;
  z-index: 4;
  min-height: 100vh;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 3.8rem;
  padding: 7rem 0 2rem;
  pointer-events: none;
}
.hero-parallax-content .cta-row { pointer-events: auto; }
.hero-brand-panel { display: flex; justify-content: center; align-items: flex-start; }
.hero-logo { width: var(--hero-lockup-height); height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.42)); }
.hero-logo-fallback { color: #fff; text-align: center; }
.hero-logo-fallback strong { display: block; font-size: 3rem; letter-spacing: .12em; }
.hero-logo-fallback span { text-transform: uppercase; letter-spacing: .12em; color: #d6deef; }
.hero-copy-panel { position: relative; min-height: var(--hero-lockup-height); display: flex; flex-direction: column; justify-content: space-between; text-align: left; padding-top: 0; margin-left: 1.6rem; }
.hero-copy-panel::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.62) 16%, rgba(255,255,255,.62) 84%, transparent);
  box-shadow: 0 0 18px rgba(255,255,255,.18);
}
.hero-title { font-size: clamp(1.75rem, 3.2vw, 3.05rem); color: #fff; margin: 65px 0 0; line-height: 1.08; text-shadow: 0 8px 30px rgba(0,0,0,.58), 0 2px 10px rgba(0,0,0,.42); max-width: none; }
.hero-title span { display:block; white-space: nowrap; }
.hero-title em {
  color: #ffd45f;
  font-style: normal;
  text-shadow:
    0 0 12px rgba(255, 212, 95, .46),
    0 0 34px rgba(212, 166, 58, .36),
    0 8px 28px rgba(0,0,0,.48);
}
.hero-subtitle {
  position: relative;
  width: min(650px, 100%);
  margin: 0 0 0 .35rem;
  color: #edf4ff;
  font-size: 1.08rem;
  line-height: 1.62;
  text-shadow: 0 4px 18px rgba(0,0,0,.7), 0 1px 6px rgba(0,0,0,.62);
}
.hero-subtitle::before {
  content: "";
  position: absolute;
  inset: -.55rem -.75rem;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(3, 10, 24, .52), rgba(3, 10, 24, .12));
  filter: blur(.2px);
}
.eyebrow { color: var(--violet); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: .8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.15rem; }
.hero-copy-panel .cta-row { margin-top: 0; margin-bottom: 50px; }
.btn-hero {
  min-width: 172px;
  color: #0b1f3a;
  background: rgba(255, 255, 255, .88);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 32px rgba(2, 8, 23, .24);
  backdrop-filter: blur(10px);
}
.btn-hero:hover {
  background: #fff;
  border-color: rgba(212, 166, 58, .56);
  box-shadow: 0 18px 38px rgba(2, 8, 23, .3);
}

.problems-lift {
  position: relative;
  margin-top: -82vh;
  z-index: 10;
  background-color: aliceblue;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, .08);
}
.problems-lift::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,31,58,.16), rgba(212,166,58,.65), rgba(11,31,58,.16));
  transform: translateX(-50%);
}
.problems-lift.is-scroll-focus {
  animation: diagnostic-arrival 1050ms cubic-bezier(.22, 1, .36, 1);
}
.diagnostic-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; align-items: start; }
.diagnostic-list { display: flex; flex-direction: column; gap: .7rem; }
.diagnostic-question { border: 1px solid #dce4f2; border-radius: 14px; background: #fff; color: #0f172a; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); padding: .95rem 1rem; text-align: left; display: flex; justify-content: space-between; align-items: stretch; transition: all .24s ease; }
.diagnostic-question:hover { transform: translateY(-1px); border-color: #9faed2; }
.diagnostic-question.is-active { border-color: rgba(37, 99, 235, .42); box-shadow: 0 10px 30px rgba(40, 56, 105, .14); background: linear-gradient(90deg, #ffffff, #f8fbff); }
.q-indicator { width: 10px; height: 10px; border-radius: 999px; background: #c8d2e8; }
.diagnostic-question.is-active .q-indicator { background: linear-gradient(120deg, #2563eb, #d4a63a); }
.diagnostic-visual { position: relative; border-radius: 20px; overflow: hidden; height: 100%; min-height: 0; border: 1px solid #d6dfef; box-shadow: 0 14px 32px rgba(15, 23, 42, .16); align-self: end; }
.diagnostic-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .35s ease; }
.visual-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,13,30,.08), rgba(8,13,30,.78)); }
.visual-content { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; color: #fff; z-index: 2; }
.badge-kpi { display: inline-flex; padding: .28rem .65rem; border-radius: 999px; border: 1px solid rgba(212, 166, 58, .65); background: rgba(11, 31, 58, .72); font-size: .78rem; letter-spacing: .03em; }
.visual-content strong { display: block; font-size: 1.45rem; margin-top: .5rem; }
.visual-content p { margin: .45rem 0 0; color: #e2e8f7; }
.diagnostic-invite { margin-top: 1.15rem; padding: 1rem 0 .2rem; border-top: 1px solid rgba(148,163,184,.35); }
.diagnostic-invite p { margin: 0 0 .8rem; color: #1e293b; font-weight: 600; }
.diagnostic-invite .cta-row { margin-top: 0; }

@keyframes diagnostic-arrival {
  0%, 100% { box-shadow: 0 -8px 28px rgba(15, 23, 42, .08); }
  32% { box-shadow: 0 -10px 34px rgba(15, 23, 42, .12), 0 0 0 8px rgba(212,166,58,.08); }
}

@media (max-width: 1024px) {
  .hero-parallax-shell { height: 160vh; }
  .hero-parallax { min-height: 92vh; }
}
@media (max-width: 980px) {
  .hero-parallax-content { grid-template-columns: 1fr; gap: 1rem; padding-top: 5.6rem; }
  .hero-brand-panel { justify-content: start; }
  .hero-logo { width: min(360px, 76%); }
  .hero-copy-panel { min-height: 0; justify-content: flex-start; gap: 1rem; text-align: left; padding-top: 0; margin-left: 2rem; }
  .hero-copy-panel::before { display: none; }
  .hero-title { margin-top: 0; }
  .hero-copy-panel .cta-row { margin-top: 1.15rem; }
  .diagnostic-layout { grid-template-columns: 1fr; }
  .diagnostic-visual { min-height: 340px; }
}
@media (max-width: 720px) {
  .hero-parallax-content { padding-top: 5.2rem; padding-bottom: 5rem; }
  .hero-brand-panel { justify-content: center; }
  .hero-title span { white-space: normal; }
  .hero-copy-panel { text-align: center; margin-left: 0; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.2rem); max-width: 18ch; margin-inline: auto; }
  .hero-subtitle { font-size: .98rem; margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-copy-panel .cta-row { margin-bottom: 0; }
  .hero-parallax-shell { height: 180vh; }
  .problems-lift { margin-top: -30vh; border-top-left-radius: 18px; border-top-right-radius: 18px; }
}
@media (max-width: 520px) {
  .hero-logo { width: min(270px, 82vw); }
  .hero-title { max-width: 14ch; }
  .btn-hero { width: 100%; }
  .hero-parallax-shell { height: 188vh; }
  .problems-lift { margin-top: -24vh; }
  .diagnostic-question { padding: .85rem; }
  .diagnostic-visual { min-height: 280px; }
}
