/* ═══════════════════════════════════
   Layout — 100vh split, no page scroll
   ═══════════════════════════════════ */

html, body {
  height: 100%;
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: 38% 1fr;
  height: 100vh;
  overflow: hidden;
}

/* ─── Left Panel ─── */
.split__left {
  background: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Hero image area */
.split__hero {
  position: relative;
  height: 45%;
  min-height: 200px;
}

.split__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder gradient when no image */
.split__hero--placeholder {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

/* Gradient fade to black at bottom */
.split__hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  pointer-events: none;
}

/* Content below hero */
.split__left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  position: relative;
  z-index: 1;
}

/* Logo */
.split__logo {
  margin-bottom: var(--space-lg);
}

.split__logo-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}

.split__logo-name span {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split__logo-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.5);
  margin: 4px 0 0;
}

/* Context */
.split__context {
  margin-bottom: auto;
}

.split__context-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.split__context-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 var(--space-sm);
}

.split__context-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* Trust */
.split__trust {
  display: flex;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-lg);
}

.split__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.split__trust-item svg {
  opacity: 0.5;
}

/* ─── Right Panel ─── */
.split__right {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: var(--color-surface);
}

/* Progress bar at top of right panel */
.split__steps {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
}

.progress-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  user-select: none;
  white-space: nowrap;
}

.progress-dot:hover {
  background: var(--color-surface-sunken);
}

.progress-dot__circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}

.progress-dot__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-ink-muted);
  transition: all var(--duration) var(--ease);
}

.progress-dot.active {
  background: var(--color-surface-sunken);
}

.progress-dot.active .progress-dot__circle {
  background: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(232,69,14,0.2);
}

.progress-dot.active .progress-dot__label {
  color: var(--color-ink);
  font-weight: 600;
}

.progress-dot.completed .progress-dot__circle {
  background: var(--color-accent);
}

.progress-dot.completed .progress-dot__label {
  color: var(--color-ink-tertiary);
}

/* Scrollable form area */
.split__right-scroll {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xl) var(--space-2xl) 0;
}

.split__right-inner {
  max-width: none;
}

.split__alert {
  background: var(--color-error-bg);
  color: var(--color-error);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

/* ═══════════════════════════════════
   Responsive
   ═══════════════════════════════════ */

.progress-dot:not(.active) .progress-dot__label { display: none; }
.progress-dot:not(.active) { padding: 6px; }

@media (max-width: 1024px) {
  html, body { overflow: auto; height: auto; }

  .split {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .split__left {
    height: auto;
  }

  .split__hero {
    height: 200px;
    min-height: 150px;
  }

  .split__right {
    height: auto;
    overflow: visible;
  }

  .split__right-scroll {
    overflow: visible;
    padding: var(--space-lg) var(--space-md);
  }

  .split__steps {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .progress-dot__label { display: none; }
}
