/* ==========================================================================
   EXECUTIVE CASE OPENING & STRATEGIC CONSULTATION SUITE
   Two-Column Architecture | Dynamic Department Brief | Zero Static Clutter
   ========================================================================== */

.consult-page-wrapper {
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, #09172e 0%, #030710 55%, #02050b 100%);
  color: var(--text-pure);
  font-family: var(--font-main);
  position: relative;
  overflow-x: hidden;
  padding-top: 104px;
  padding-bottom: 84px;
}

.consult-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.consult-header-block {
  text-align: center;
  margin-bottom: 38px;
}

.consult-reg-line {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-200);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.consult-main-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 12px;
  color: var(--text-pure-white);
}

.consult-subtitle {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
}

/* Two-Column Intake Suite */
.consult-suite-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.consult-form-card {
  background: linear-gradient(155deg, rgba(10, 20, 38, 0.84) 0%, rgba(4, 8, 16, 0.95) 100%);
  border: 1px solid var(--hairline-gold);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow:
    inset 0 1px 0 rgba(251, 243, 222, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.8);
}

/* Case Mode Toggle: Consultation vs Formal Case Opening */
.case-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  padding: 5px;
  background: rgba(2, 5, 11, 0.8);
  border: 1px solid var(--hairline-gold);
  border-radius: 14px;
}

.case-mode-btn {
  padding: 11px 14px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-maybach);
}

.case-mode-btn.active {
  background: var(--gradient-gold);
  color: #03070f;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group-full {
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold-200);
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-label .req {
  color: var(--status-danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(2, 5, 11, 0.85);
  border: 1px solid var(--hairline-gold);
  border-radius: 12px;
  color: var(--text-pure-white);
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--hairline-gold-active);
  box-shadow: 0 0 18px rgba(212, 166, 68, 0.16);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.75;
}

.form-select option {
  background: #050a14;
  color: #ffffff;
}

.urgency-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.urgency-radio-box {
  position: relative;
}

.urgency-radio-box input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.urgency-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 10px;
  background: rgba(2, 5, 11, 0.72);
  border: 1px solid rgba(227, 193, 110, 0.16);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.urgency-radio-box input[type="radio"]:checked + .urgency-label {
  border-color: var(--hairline-gold-active);
  background: rgba(212, 166, 68, 0.14);
}

.urgency-label-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 3px;
}

.urgency-label-desc {
  font-size: 0.74rem;
  color: var(--text-subtle);
}

.nda-agreement-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: rgba(2, 5, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.nda-agreement-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold-400);
  cursor: pointer;
}

.nda-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.btn-submit-consultation {
  width: 100%;
  padding: 15px 28px;
  background: var(--gradient-gold);
  color: #03070f;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(212, 166, 68, 0.3);
  transition: transform 0.25s var(--ease-maybach), box-shadow 0.25s var(--ease-maybach);
}

.btn-submit-consultation:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 166, 68, 0.45);
}

/* Sticky Intelligence Sidebar */
.consult-brief-panel {
  position: sticky;
  top: 94px;
  background: linear-gradient(155deg, rgba(10, 20, 38, 0.82) 0%, rgba(4, 8, 16, 0.94) 100%);
  border: 1px solid var(--hairline-gold);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: inset 0 1px 0 rgba(251, 243, 222, 0.08);
}

.brief-section-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.brief-dept-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-pure-white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.brief-dept-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.brief-sla-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.brief-sla-box {
  padding: 12px;
  background: rgba(2, 5, 11, 0.72);
  border: 1px solid rgba(227, 193, 110, 0.16);
  border-radius: 12px;
}

.brief-sla-box .k {
  display: block;
  font-size: 0.72rem;
  color: var(--text-subtle);
  margin-bottom: 3px;
}

.brief-sla-box .v {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-200);
  font-variant-numeric: tabular-nums;
}

.brief-docs-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.brief-docs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.brief-docs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-platinum);
  line-height: 1.6;
}

.brief-docs-list li::before {
  content: '◇';
  color: var(--gold-300);
  font-size: 0.72rem;
  margin-top: 3px;
}

.brief-dept-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(227, 193, 110, 0.08);
  border: 1px solid var(--hairline-gold);
  color: var(--gold-200);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s ease;
}

.brief-dept-link:hover {
  background: rgba(227, 193, 110, 0.16);
}

/* Success Modal Overlay */
.consult-success-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 11, 0.9);
  backdrop-filter: blur(18px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-maybach);
}

.consult-success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-gold-card {
  max-width: 560px;
  width: 100%;
  background: linear-gradient(155deg, rgba(12, 23, 43, 0.98) 0%, rgba(4, 8, 16, 0.99) 100%);
  border: 1px solid var(--hairline-gold-active);
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95);
}

.success-stamp-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 193, 110, 0.22) 0%, transparent 72%);
  border: 1px solid var(--hairline-gold-active);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold-200);
  font-size: 1.9rem;
}

.modal-gold-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-pure-white);
  margin-bottom: 10px;
}

.modal-gold-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tracking-badge-box {
  background: rgba(2, 5, 11, 0.9);
  border: 1px dashed var(--hairline-gold-active);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 22px;
}

.tracking-label {
  font-size: 0.78rem;
  color: var(--gold-300);
  margin-bottom: 6px;
  display: block;
}

.tracking-code-val {
  font-family: monospace;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-pure-white);
}

.modal-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-btn-primary {
  flex: 1;
  min-width: 170px;
  padding: 12px 18px;
  background: var(--gradient-gold);
  border: none;
  border-radius: 12px;
  color: #03070f;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-btn-secondary {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-gold);
  border-radius: 12px;
  color: var(--text-pure);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 960px) {
  .consult-suite-grid {
    grid-template-columns: 1fr;
  }
  .consult-brief-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .form-grid-row,
  .urgency-selector-grid,
  .case-mode-toggle {
    grid-template-columns: 1fr;
  }
  .consult-form-card {
    padding: 24px 18px;
  }
}
