/* Ocampo 3D · plans.ocampo.ai/intake — 14-Step Guided Plan Intake Microsite
 * Extends /assets/css/plans.css using canonical Ocampo 3D pure-white architectural tokens.
 */

.intake-hero {
  padding: 42px 0 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.intake-hero-head {
  max-width: 880px;
  margin: 0 auto 24px;
  text-align: center;
}
.intake-hero-head h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 12px 0 14px;
}
.intake-hero-head p {
  font-size: 16.5px;
  color: var(--slate);
  margin: 0 auto;
  max-width: 740px;
}

/* Prominent Turnaround & FIFO Queue Banner */
.sla-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0 8px;
}
.sla-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
}
.sla-card.sla-highlight {
  background: var(--surface-warm);
  border-top-color: var(--terra);
}
.sla-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
  margin-bottom: 6px;
}
.sla-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.25;
}
.sla-text {
  font-size: 13.8px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}

/* Compact estimate summary */
.est-summary { padding: 14px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.est-summary-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; }
.est-summary p { margin: 0; }
.est-summary-main { color: var(--navy); font-size: 16px; }
.est-summary-main strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.est-summary-main a { text-decoration: underline; }
.est-summary-sub { font-size: 13px; color: var(--muted); }
.step-panel h2:focus:not(:focus-visible) { outline: none; }
.topbar-est { display: none; font-size: 14px; color: var(--navy); }
/* Narrow screens: the form comes before the step list */
@media (max-width: 980px) {
  .wizard-layout .step-rail { order: 2; }
  .topbar-est { display: block; }
}

/* 14-Step Wizard */
.wizard-sec {
  padding: 44px 0 64px;
  background: var(--bg);
}
.wizard-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}
.step-rail {
  position: sticky;
  top: 94px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.rail-bar {
  height: 6px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}
.rail-bar-fill {
  height: 100%;
  width: 7%;
  background: var(--terra);
  transition: width 0.2s ease;
}
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.step-nav-btn:hover {
  background: #ffffff;
  color: var(--navy);
  border-color: var(--line);
}
.step-nav-btn.active {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
}
.step-nav-btn.done .step-num {
  background: var(--ok);
  color: #ffffff;
  border-color: var(--ok);
}
.step-num {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.step-nav-btn.active .step-num {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.wizard-main {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(21, 19, 15, 0.04);
}
.wizard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.draft-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ok);
}
.step-panel {
  display: none;
}
.step-panel.active {
  display: block;
}
.step-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 6px;
}
.step-panel h2 {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--navy);
}
.step-help {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--slate);
}

/* Radio Option Cards */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.option-grid.wide {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.opt-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.opt-card:hover {
  border-color: var(--navy);
  background: var(--surface);
}
.opt-card input[type="radio"],
.opt-card input[type="checkbox"] {
  width: auto;
  margin: 3px 0 0;
  accent-color: var(--terra);
}
.opt-card:has(input:checked) {
  border-color: var(--terra);
  background: var(--surface-warm);
  box-shadow: 0 0 0 2px rgba(212, 85, 42, 0.12);
}

.other-input {
  margin-top: 10px;
  display: none;
}
.other-input.visible {
  display: block;
}

.upload-zone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.upload-zone:hover {
  border-color: var(--terra);
  background: var(--surface-warm);
}
.upload-list {
  margin-top: 12px;
  text-align: left;
  font-size: 13px;
  color: var(--slate);
}
.upload-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

.review-box {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-top: 10px;
}
.review-kv {
  font-size: 13.5px;
  color: var(--slate);
}
.review-kv strong {
  color: var(--navy);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.receipt-card {
  margin-top: 20px;
  padding: 22px;
  background: #eef8f2;
  border: 1px solid #9fd4b5;
  border-left: 5px solid var(--ok);
  border-radius: var(--radius);
  color: #113d28;
}
.receipt-card h3 {
  margin: 0 0 10px;
  color: #113d28;
}
.receipt-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0;
}
.receipt-pill {
  background: #ffffff;
  border: 1px solid #b8e0c9;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.receipt-pill span {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--muted);
}
.receipt-pill strong {
  font-size: 17px;
  color: var(--navy);
}

/* 5 Visual Building-Type Cards */
.type-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 8px 0 20px;
}
.type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.type-card:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: 0 8px 20px rgba(21, 19, 15, 0.08);
}
.type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.type-card:has(input:checked) {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(212, 85, 42, 0.18);
}
.type-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.type-card-body {
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.type-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.type-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--terra);
  font-weight: 600;
}
.type-card-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

/* Contextual Tooltip / Example Helper */
.step-tip {
  margin: 0 0 20px;
  background: #f4f7fb;
  border: 1px solid #d5e0ee;
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.2px;
  color: var(--navy);
}
.step-tip summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-tip summary::-webkit-details-marker { display: none; }
.tip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 18px;
}
.step-tip p {
  margin: 8px 0 0;
  color: var(--slate);
  line-height: 1.5;
}

/* Save & Continue Later Drawer + Inactivity Toast */
.save-drawer {
  display: none;
  margin-bottom: 20px;
  padding: 16px 18px;
  background: var(--surface-warm);
  border: 1px solid #e6c6b8;
  border-radius: var(--radius-sm);
}
.save-drawer.open { display: block; }
.inactivity-toast {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  max-width: 380px;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(21, 19, 15, 0.25);
  font-size: 13.5px;
  line-height: 1.45;
}
.inactivity-toast.visible { display: block; }
.inactivity-toast-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Rolando Cash Deposit & Roberto Coordination Callout */
.coord-note {
  margin: 16px 0;
  padding: 15px 18px;
  background: #f0f5fa;
  border: 1px solid #bfd1e6;
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--navy);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .sla-banner,
  .wizard-layout,
  .receipt-meta {
    grid-template-columns: 1fr;
  }
  .type-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-rail {
    position: static;
  }
  .step-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .step-list,
  .review-grid,
  .type-cards-grid {
    grid-template-columns: 1fr;
  }
  .wizard-main {
    padding: 20px;
  }
  .inactivity-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}
