/* =========================================================
   Buyers + Sellers — homey
   ========================================================= */

/* Process steps */
.process__head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: var(--space-9);
}
.process__head h2 { max-width: 12ch; }
.process__head p { color: var(--ink-soft); max-width: 48ch; font-size: 17px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.step:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.step__num-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  border: 1.5px solid var(--accent);
}
.step__title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.step__copy {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .process__head { grid-template-columns: 1fr; gap: var(--space-5); margin-bottom: var(--space-7); }
}

/* =========================================================
   Two-column comparison
   ========================================================= */
.compare__head { margin-bottom: var(--space-8); max-width: 38ch; }
.compare__head h2 { margin-bottom: var(--space-4); }
.compare__head p { color: var(--ink-soft); font-size: 17px; }

.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.compare__col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 3.5vw, 40px);
  position: relative;
  overflow: hidden;
}
.compare__col::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 70%);
  z-index: 0;
}
.compare__col + .compare__col::before {
  background: radial-gradient(circle, rgba(217, 160, 85,0.12) 0%, transparent 70%);
}
.compare__col > * { position: relative; z-index: 1; }
.compare__col h3 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed var(--border-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.compare__col h3::before {
  content: "✦";
  color: var(--accent);
  font-size: 14px;
}
.compare__col + .compare__col h3 { color: var(--gold-deep); }
.compare__col + .compare__col h3::before { color: var(--gold); }

.compare__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.compare__list li {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.compare__list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 6.2L5 8.2 9 4' fill='none' stroke='%23963F22' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.compare__col + .compare__col .compare__list li::before {
  background-color: var(--gold-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 6.2L5 8.2 9 4' fill='none' stroke='%23A87830' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

@media (max-width: 700px) {
  .compare__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Marketing cards
   ========================================================= */
.market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.market-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.market-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  border: 1.5px solid var(--accent);
}
.market-card__icon-wrap--brown {
  background: var(--gold-soft);
  color: var(--gold-deep);
  border-color: var(--gold);
}
.market-card__icon { width: 22px; height: 22px; }
.market-card h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.market-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

.market__head { margin-bottom: var(--space-7); max-width: 40ch; }
.market__head h2 { margin-bottom: var(--space-4); }
.market__head p { color: var(--ink-soft); font-size: 17px; }

@media (max-width: 900px) {
  .market-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   Home valuation form (sellers)
   ========================================================= */
.valuation {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.valuation__head h2 { margin-bottom: var(--space-5); max-width: 14ch; }
.valuation__head p { color: var(--ink-soft); max-width: 38ch; font-size: 17px; }
.valuation__head .stamp {
  margin-top: var(--space-7);
  padding: var(--space-5) var(--space-6);
  background: var(--gold-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
  position: relative;
  padding-left: 60px;
}
.valuation__head .stamp::before {
  content: "✦";
  position: absolute;
  left: 22px;
  top: 18px;
  color: var(--gold-deep);
  font-size: 20px;
  line-height: 1;
}
.valuation__form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .valuation { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq__head { margin-bottom: var(--space-8); max-width: 30ch; }

.faq-list {
  display: grid;
  gap: var(--space-3);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-tint); }

.faq-item__trigger {
  width: 100%;
  text-align: left;
  padding: var(--space-6) clamp(20px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 220ms var(--ease);
}
.faq-item__trigger:hover { color: var(--accent-deep); }

.faq-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  background: var(--surface-tint);
  border: 1.5px solid var(--border-strong);
  transition: background 280ms var(--ease), border-color 280ms var(--ease);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 320ms var(--ease), background 280ms var(--ease);
  border-radius: 2px;
}
.faq-item__icon::before {
  top: 50%;
  left: 10px;
  right: 10px;
  height: 1.6px;
  transform: translateY(-50%);
}
.faq-item__icon::after {
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 1.6px;
  transform: translateX(-50%);
}
.faq-item[aria-expanded="true"] .faq-item__icon { background: var(--accent); border-color: var(--accent); }
.faq-item[aria-expanded="true"] .faq-item__icon::before,
.faq-item[aria-expanded="true"] .faq-item__icon::after { background: #fff; }
.faq-item[aria-expanded="true"] .faq-item__icon::after { transform: translateX(-50%) rotate(90deg); }

.faq-item__panel {
  overflow: hidden;
  height: 0;
  transition: height 360ms var(--ease);
}
.faq-item__panel-inner {
  padding: 0 clamp(20px, 3vw, 32px) var(--space-6);
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
