/* ═══════════════════════════════════════════
   DESIGN PARTNER PAGE
═══════════════════════════════════════════ */

[hidden] { display: none !important; }

/* ── Page layout ── */
.dp-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dp-main {
  flex: 1;
  padding-top: var(--nav-height);
}

/* ── Two-column wrapper ── */
.dp-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: calc(100vh - var(--nav-height));
  align-items: start;
}

/* ── Left sidebar (sticky pitch) ── */
.dp-sidebar {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  padding: 56px 48px 56px 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dp-sidebar__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.dp-sidebar__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.dp-sidebar__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.dp-sidebar__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.dp-sidebar__benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dp-sidebar__benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dp-sidebar__benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dp-sidebar__benefit-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.dp-sidebar__benefit-text span {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.dp-sidebar__commitment {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.dp-sidebar__commitment p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin: 0;
}

.dp-sidebar__commitment strong {
  color: var(--text-secondary);
}

/* ── Right: form area ── */
.dp-form-area {
  padding: 56px 0 80px 56px;
}

.dp-form-area h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 32px;
  color: var(--text-primary);
}

/* ── Success state ── */
.dp-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 48px 0;
}

.dp-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-success__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.dp-success__desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

/* ── Form sections ── */
.dp-form__section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.dp-form__section:first-child {
  padding-top: 0;
}

.dp-form__section:last-of-type {
  border-bottom: none;
}

.dp-form__q-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.dp-form__q-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}

.dp-form__section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 3px;
}

.dp-form__section-hint {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

.dp-form__row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.dp-form__row--2 {
  grid-template-columns: 1fr 1fr;
}

/* ── Fields ── */
.dp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.dp-field:last-child { margin-bottom: 0; }

.dp-field__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.dp-field__req { color: var(--accent-orange); }

.dp-field__input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hover);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.dp-field__input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.dp-field__input::placeholder { color: var(--text-tertiary); }

.dp-field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.dp-field__textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* ── Checkboxes ── */
.dp-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

.dp-checkbox:hover {
  border-color: var(--border-hover);
  background: var(--bg-secondary);
}

.dp-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dp-checkbox__box {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1.5px solid var(--border-hover);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.dp-checkbox input[type="checkbox"]:checked ~ .dp-checkbox__box {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.dp-checkbox input[type="checkbox"]:checked ~ .dp-checkbox__box::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.dp-checkbox__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dp-checkbox input[type="checkbox"]:checked ~ .dp-checkbox__label {
  color: var(--text-primary);
}

.dp-other-input {
  margin-top: 8px;
}

/* ── Radios ── */
.dp-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-radios--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.dp-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

.dp-radio:hover {
  border-color: var(--border-hover);
  background: var(--bg-secondary);
}

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

.dp-radio__btn {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}

.dp-radio input[type="radio"]:checked ~ .dp-radio__btn {
  border-color: var(--accent-orange);
  border-width: 5px;
}

.dp-radio__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dp-radio input[type="radio"]:checked ~ .dp-radio__label {
  color: var(--text-primary);
}

/* ── Conditional reveal ── */
.dp-conditional {
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.04);
}

/* ── Form footer ── */
.dp-form__footer {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.dp-form__note {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 500px;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dp-layout {
    grid-template-columns: 1fr;
  }

  .dp-sidebar {
    position: static;
    height: auto;
    padding: 40px 0 32px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .dp-form-area {
    padding: 40px 0 60px;
  }

  .dp-form__row--2 {
    grid-template-columns: 1fr;
  }

  .dp-radios--inline {
    flex-direction: column;
  }
}
