/* ===== SELL MY HOUSE PAGE ===== */

/* Nav right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-trust-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 4px;
  padding: 4px 10px;
  text-transform: uppercase;
}

/* ===== PAGE SHELL ===== */
.smh-page {
  min-height: 100vh;
}

/* ===== HERO ===== */
.smh-hero {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border);
  padding: 110px 2rem 3.5rem;
}

.smh-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.smh-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.smh-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 2.25rem;
}

.smh-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.smh-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 500;
}

.smh-trust-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ===== FORM WRAP ===== */
.smh-form-wrap {
  padding: 3.5rem 2rem 6rem;
  display: flex;
  justify-content: center;
}

.smh-form-container {
  width: 100%;
  max-width: 620px;
}

/* ===== FORM CARD ===== */
.smh-form-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
}

/* Shared form primitives (mirrors investor-signup.css patterns) */
.form-section {
  margin-bottom: 2.5rem;
}
.form-section:last-of-type { margin-bottom: 0; }

.form-section-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.form-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.field:last-child { margin-bottom: 0; }

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
}

.req { color: var(--gold); font-weight: 400; }
.opt { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  background: rgba(245,240,230,0.04);
  border: 1px solid rgba(245,240,230,0.12);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--cream);
  width: 100%;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: rgba(245,240,230,0.25); }
.field input:focus,
.field select:focus { outline: none; border-color: rgba(212,168,67,0.5); background: rgba(245,240,230,0.06); }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F5F0E6' fill-opacity='0.4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field select option { background: var(--navy-mid); color: var(--cream); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-row-3 {
  grid-template-columns: 1fr auto;
}
.field-row-3 .field-sm { width: 90px; }

/* ===== TILE-STYLE RADIO (condition, timeline, mortgage) ===== */
.tile-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.tile-item {
  position: relative;
  cursor: pointer;
}

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

.tile-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  line-height: 1.3;
  min-height: 48px;
}

.tile-item:has(input:checked) .tile-label {
  border-color: rgba(212,168,67,0.6);
  background: rgba(212,168,67,0.1);
  color: var(--gold);
}

.tile-item:hover .tile-label {
  border-color: rgba(245,240,230,0.2);
  color: var(--cream);
}

/* ===== YES/NO + TIME RADIOS ===== */
.radio-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.radio-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-item:has(input:checked) {
  border-color: rgba(212,168,67,0.5);
  background: rgba(212,168,67,0.08);
}
.radio-item input[type="radio"] { display: none; }
.radio-item label {
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  font-weight: 500;
}
.radio-item:has(input:checked) label { color: var(--gold); }

/* ===== ERROR ===== */
.form-error {
  background: rgba(220,50,50,0.1);
  border: 1px solid rgba(220,50,50,0.3);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #e07070;
  margin-bottom: 1.5rem;
}

/* ===== CTA BUTTON ===== */
.btn-primary {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
  letter-spacing: 0.01em;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.smh-cta { margin-top: 1.75rem; font-size: 1.05rem; padding: 1rem; }

.smh-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.9rem;
  opacity: 0.7;
}

/* ===== CONFIRMATION ===== */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.confirm-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
}
.confirm-check-icon { font-size: 1.75rem; color: var(--gold); line-height: 1; }
.confirm-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.confirm-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 2.5rem;
}
.confirm-next {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: background 0.15s ease;
}
.confirm-next:hover { background: rgba(212,168,67,0.18); }

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
  .smh-form-card { padding: 1.75rem 1.25rem; }
  .tile-group { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .field-row-3 { grid-template-columns: 1fr; }
  .field-row-3 .field-sm { width: 100%; }
  .radio-group { flex-wrap: wrap; }
  .smh-trust-row { gap: 1rem; }
  .nav-trust-badge { display: none; }
}

@media (max-width: 400px) {
  .tile-group { grid-template-columns: 1fr; }
}
