/* 팜시크릿 메인 페이지 스타일
 * 캠페인 · 히어로 · 섹션 · 슬라이드 · 카드 · CTA 배너
 * 톤: 직방·다방 스타일 차분톤. 알록달록 X. 가독성 ↑.
 */

/* ═════════════════════════════════════════════
   캠페인 가로띠 배너
   ═════════════════════════════════════════════ */
.ps-campaign-banner {
  display: block;
  background: #1f2937;
  text-decoration: none;
  padding: 11px 0;
  margin-top: 0;
}
.ps-campaign-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ps-campaign-text {
  font-size: 13.5px;
  color: #d1d5db;
  letter-spacing: -0.01em;
}
.ps-campaign-text strong {
  color: #fff;
  font-weight: 700;
}
.ps-campaign-cta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-brand, #fb923c);
  white-space: nowrap;
}

/* ═════════════════════════════════════════════
   히어로 v2 — 검색 중심 (직방·다방 스타일)
   ═════════════════════════════════════════════ */
.ps-hero2 {
  position: relative;
  padding: 56px 0 48px;
  background: #fafbfc;
  border-bottom: 1px solid #eef0f3;
}
@media (min-width: 768px) {
  .ps-hero2 { padding: 84px 0 72px; }
}
.ps-hero2-head {
  text-align: center;
  margin-bottom: 28px;
}
.ps-hero2-eyebrow {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ps-hero2-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0;
}
.ps-hero2-title em {
  font-style: normal;
  color: var(--color-brand);
}
.ps-hero2-sub {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}
@media (min-width: 768px) {
  .ps-hero2-title { font-size: 40px; }
  .ps-hero2-sub { font-size: 17px; }
}
@media (min-width: 1024px) {
  .ps-hero2-title { font-size: 46px; }
}

/* 거래모드 토글 (매매/임대/신규개설) */
.ps-hero2-modes {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 4px;
  border-radius: 9999px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(15,23,42,0.04);
}
.ps-hero2-mode {
  background: transparent;
  border: 0;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-radius: 9999px;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease;
}
.ps-hero2-mode:hover { color: #111827; }
.ps-hero2-mode.is-active {
  background: #111827;
  color: #fff;
}
@media (max-width: 640px) {
  .ps-hero2-mode { padding: 8px 14px; font-size: 13.5px; }
}

/* 큰 검색바 */
.ps-hero2-search {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
  padding: 8px 8px 8px 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ps-hero2-search:focus-within {
  border-color: var(--color-brand);
  box-shadow: 0 12px 32px rgba(254,105,27,0.18), 0 0 0 4px rgba(254,105,27,0.08);
}
.ps-hero2-search svg.ps-hero2-search-icon {
  width: 22px;
  height: 22px;
  color: #6b7280;
  flex-shrink: 0;
}
.ps-hero2-search input {
  flex: 1;
  height: 56px;
  border: 0;
  background: transparent;
  font-size: 16.5px;
  color: #111827;
  outline: none;
  padding: 0 16px;
  min-width: 0;
  letter-spacing: -0.01em;
}
.ps-hero2-search input::placeholder { color: #9ca3af; }
.ps-hero2-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 56px;
  padding: 0 26px;
  background: var(--color-brand);
  color: #1f2937; /* WCAG AA: 5.07:1 on #FE691B */
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.ps-hero2-search-btn:hover { background: var(--color-brand-dark); }
@media (max-width: 640px) {
  .ps-hero2-search { padding: 6px 6px 6px 16px; border-radius: 12px; }
  .ps-hero2-search input { height: 48px; font-size: 15px; padding: 0 10px; }
  .ps-hero2-search-btn { height: 48px; padding: 0 18px; font-size: 14px; }
  .ps-hero2-search svg.ps-hero2-search-icon { width: 18px; height: 18px; }
  .ps-hero2-search-btn span { display: none; }
}

/* 인기 검색어 */
.ps-hero2-popular {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ps-hero2-popular-label {
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 600;
}
.ps-hero2-popular a {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 12.5px;
  color: #4b5563;
  letter-spacing: -0.005em;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.ps-hero2-popular a:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

/* 히어로 하단 빠른 진입 - 3가지 핵심 액션 */
.ps-hero2-quick {
  max-width: 720px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.ps-hero2-quick a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ps-hero2-quick a:hover {
  border-color: #9ca3af;
  background: #fafafa;
}
.ps-hero2-quick a svg { width: 18px; height: 18px; color: #6b7280; flex-shrink: 0; }
.ps-hero2-quick a:hover svg { color: var(--color-brand); }
.ps-hero2-quick a small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: #9ca3af;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .ps-hero2-quick {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 20px;
  }
  .ps-hero2-quick a { padding: 12px 14px; }
}

/* ═════════════════════════════════════════════
   추천 매물 그리드 (직방·다방형 카드)
   ═════════════════════════════════════════════ */
.ps-main-listings {
  padding-top: 48px;
  padding-bottom: 24px;
}
.ps-main-listings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.ps-main-listings-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ps-main-listings-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.025em;
  margin: 0;
}
.ps-main-listings-sub {
  font-size: 13.5px;
  color: #6b7280;
}
.ps-main-listings-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  color: var(--color-brand);
  font-weight: 600;
}
.ps-main-listings-more:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .ps-main-listings-title { font-size: 26px; }
}

/* 메인 매물 카드 (listings.css ls-card와 호환) */
.ps-main-listings-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 640px) { .ps-main-listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ps-main-listings-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ═════════════════════════════════════════════
   3대 서비스 (정돈된 카드 — 알록달록 X)
   ═════════════════════════════════════════════ */
.ps-pillars {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #fff;
}
@media (min-width: 768px) {
  .ps-pillars { padding-top: 72px; padding-bottom: 72px; }
}
.ps-pillars-head {
  text-align: center;
  margin-bottom: 32px;
}
.ps-pillars-eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-brand);
  text-transform: uppercase;
}
.ps-pillars-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.025em;
  margin: 8px 0 0;
}
.ps-pillars-sub {
  margin-top: 10px;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.65;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .ps-pillars-title { font-size: 32px; }
}

.ps-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) { .ps-pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.ps-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ps-pillar:hover {
  border-color: #9ca3af;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,23,42,0.08);
}
.ps-pillar-num {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #9ca3af;
}
.ps-pillar-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0;
}
.ps-pillar-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
  word-break: keep-all;
}
.ps-pillar-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
}
.ps-pillar-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ps-pillar-list li::before {
  content: "✓";
  color: var(--color-brand);
  font-weight: 800;
  flex-shrink: 0;
}
.ps-pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}
.ps-pillar:hover .ps-pillar-cta { color: var(--color-brand); }
.ps-pillar-cta svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.ps-pillar:hover .ps-pillar-cta svg { transform: translateX(2px); }

/* ═════════════════════════════════════════════
   신뢰 지표 (스트립)
   ═════════════════════════════════════════════ */
.ps-trust {
  padding: 36px 0;
  background: #f9fafb;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}
.ps-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  text-align: center;
}
@media (min-width: 768px) { .ps-trust-grid { grid-template-columns: repeat(4, 1fr); } }
.ps-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ps-trust-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.ps-trust-num em {
  font-style: normal;
  color: var(--color-brand);
}
.ps-trust-label {
  font-size: 13px;
  color: #6b7280;
}
@media (min-width: 768px) { .ps-trust-num { font-size: 36px; } }

/* ═════════════════════════════════════════════
   메인 CTA 배너 v2 — 차분톤 (그라데이션 X)
   ═════════════════════════════════════════════ */
.ps-cta-banner2 {
  padding-top: 56px;
  padding-bottom: 56px;
}
.ps-cta-banner2-inner {
  background: #111827;
  color: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
@media (min-width: 768px) {
  .ps-cta-banner2-inner {
    grid-template-columns: 1fr auto;
    padding: 56px;
  }
}
.ps-cta-banner2-eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #FFB07A;
  text-transform: uppercase;
}
.ps-cta-banner2-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 6px 0 0;
}
.ps-cta-banner2-desc {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #d1d5db;
  max-width: 56ch;
}
.ps-cta-banner2-desc strong { color: #fff; font-weight: 700; }
.ps-cta-banner2-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
@media (min-width: 480px) { .ps-cta-banner2-actions { flex-direction: row; } }
@media (min-width: 768px) {
  .ps-cta-banner2-title { font-size: 32px; }
  .ps-cta-banner2-actions { flex-direction: column; width: auto; min-width: 220px; }
}
.ps-cta-banner2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ps-cta-banner2-btn--primary {
  background: var(--color-brand);
  color: #fff;
}
.ps-cta-banner2-btn--primary:hover { background: var(--color-brand-dark); }
.ps-cta-banner2-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid #4b5563;
}
.ps-cta-banner2-btn--outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* ═════════════════════════════════════════════
   히어로 + 비대칭 그리드
   ═════════════════════════════════════════════ */
.ps-hero {
  background: #f8f9fa;
  padding-top: 32px;
  padding-bottom: 48px;
}
.ps-hero-copy {
  text-align: center;
  margin-bottom: 32px;
}
.ps-hero-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #111827;
}
.ps-hero-title-em { color: var(--color-brand); }
.ps-hero-subtitle {
  margin-top: 8px;
  font-size: 15px;
  color: #101010;
}
@media (min-width: 768px) {
  .ps-hero { padding-top: 48px; padding-bottom: 64px; }
  .ps-hero-copy { margin-bottom: 40px; }
  .ps-hero-title { font-size: 36px; }
  .ps-hero-subtitle { margin-top: 12px; font-size: 17px; }
}

.ps-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.ps-hero-grid-left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ps-hero-grid-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .ps-hero-grid { grid-template-columns: repeat(3, 1fr); }
  .ps-hero-grid-left {
    grid-column: span 2;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .ps-hero-grid-right { gap: 16px; }
}

/* ═════════════════════════════════════════════
   퀵메뉴 카드 (히어로 좌측 6칸)
   ═════════════════════════════════════════════ */
.ps-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  padding: 18px 18px 14px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.ps-quick-card:hover {
  transform: translateY(-2px);
  border-color: #dbe2ea;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.ps-quick-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}
.ps-quick-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #8a93a0;
}
.ps-quick-icon {
  align-self: flex-end;
  font-size: 32px;
  line-height: 1;
  margin-top: 8px;
}

.ps-quick-recommend,
.ps-quick-new {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.ps-quick-recommend { background: #fee2e2; color: #b91c1c; }
.ps-quick-new       { background: #dbeafe; color: #1d4ed8; font-family: 'IBM Plex Sans', sans-serif; }

@media (max-width: 767px) {
  .ps-quick-card { min-height: 130px; padding: 14px; }
  .ps-quick-title { font-size: 14px; }
  .ps-quick-icon { font-size: 26px; }
}

/* ═════════════════════════════════════════════
   팜맵 큰 배너 (우측 1/3)
   ═════════════════════════════════════════════ */
.ps-pharmap-banner {
  position: relative;
  flex: 1;
  display: block;
  min-height: 280px;
  padding: 24px;
  background: var(--color-brand-grad);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ps-pharmap-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.ps-pharmap-label {
  font-family: var(--font-label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.ps-pharmap-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 8px;
}
.ps-pharmap-sub {
  font-family: var(--font-label);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 8px;
}
.ps-pharmap-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 12px;
}
.ps-pharmap-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 16px;
  background: #fff;
  color: var(--color-brand-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
}
.ps-pharmap-deco {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 88px;
  line-height: 1;
  opacity: 0.25;
  user-select: none;
}
@media (min-width: 768px) {
  .ps-pharmap-title { font-size: 26px; }
}

/* 우측 미니박스 그리드 */
.ps-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ps-mini-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.ps-mini-card:hover { transform: translateY(-2px); }
.ps-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 6px;
}
.ps-mini-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f2937;
  letter-spacing: -0.01em;
}
.ps-mini-card--sky {
  background: linear-gradient(to bottom right, #f0f9ff, #e0f2fe);
}
.ps-mini-card--sky:hover {
  background: linear-gradient(to bottom right, #e0f2fe, #bae6fd);
}
.ps-mini-card--rose {
  background: linear-gradient(to bottom right, #fff1f2, #ffe4e6);
}
.ps-mini-card--rose:hover {
  background: linear-gradient(to bottom right, #ffe4e6, #fecdd3);
}
.ps-mini-num {
  font-family: var(--font-mono);
  color: #e11d48;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .ps-mini-grid { gap: 16px; }
}

/* ═════════════════════════════════════════════
   범용 섹션 + 슬라이드 네비
   ═════════════════════════════════════════════ */
.ps-section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.ps-section--alt { background: #f9fafb; }

.ps-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ps-section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.025em;
}
.ps-section-desc {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}
.ps-section-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-slide-nav {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  color: #1f2937;
}
.ps-slide-nav:hover { background: #f9fafb; }
.ps-slide-nav--alt { background: #fff; }
.ps-slide-nav--alt:hover { background: #f3f4f6; }
.ps-section-more {
  font-size: 14px;
  color: var(--color-brand);
  margin-left: 8px;
}
.ps-section-more:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .ps-section { padding-top: 56px; padding-bottom: 56px; }
  .ps-section-title { font-size: 24px; }
  .ps-slide-nav { display: inline-flex; }
}

/* ═════════════════════════════════════════════
   가로 스크롤 슬라이드 (공통)
   ═════════════════════════════════════════════ */
.ps-slide {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scroll-padding-left: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ps-slide > .ps-card,
.ps-slide > .ps-listing-card {
  flex-shrink: 0;
  scroll-snap-align: start;
}
.ps-slide::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

/* 카드 호버 / 텍스트 클램프 */
.ps-hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ps-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.ps-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═════════════════════════════════════════════
   게이팅 안내 배너 (visitor / general)
   ═════════════════════════════════════════════ */
.ps-gate-banner {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid;
}
.ps-gate-banner--visitor {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.ps-gate-banner--visitor .ps-gate-banner-text { color: #1e3a8a; }
.ps-gate-banner--general {
  background: #fffbeb;
  border-color: #fde68a;
}
.ps-gate-banner--general .ps-gate-banner-text { color: #78350f; }

.ps-gate-banner-text { font-size: 14px; }
.ps-gate-banner-text strong { font-weight: 600; }

.ps-gate-banner-cta {
  background: var(--color-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
}
.ps-gate-banner-cta:hover { background: #1d4ed8; }
.ps-gate-banner-cta--amber { background: #d97706; }
.ps-gate-banner-cta--amber:hover { background: #b45309; }
@media (min-width: 640px) {
  .ps-gate-banner {
    flex-direction: row;
    align-items: center;
  }
}

/* ═════════════════════════════════════════════
   6대 서비스 다크 섹션 + 폰 프레임 목업
   ═════════════════════════════════════════════ */
.ps-services-dark {
  padding-top: 64px;
  padding-bottom: 64px;
  background: linear-gradient(to bottom right, #111827, #1f2937);
  color: #fff;
}
.ps-services-head {
  margin-bottom: 32px;
  text-align: center;
}
.ps-services-label {
  font-family: var(--font-label);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #93c5fd;
}
.ps-services-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 8px;
}
.ps-services-desc {
  font-size: 14px;
  color: #d1d5db;
  margin-top: 12px;
}
.ps-services-dark .ps-slide { padding-bottom: 24px; }
@media (min-width: 768px) {
  .ps-services-dark { padding-top: 80px; padding-bottom: 80px; }
  .ps-services-head { margin-bottom: 48px; text-align: left; }
  .ps-services-title { font-size: 36px; }
  .ps-services-desc { font-size: 16px; }
}

/* 폰 프레임 */
.ps-phone {
  width: 200px;
  height: 380px;
  background: #111827;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  position: relative;
}
.ps-phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #1f2937;
  border-radius: 9999px;
  z-index: 2;
}
.ps-phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 폰 프레임 내부 placeholder 라인 */
.ps-mini-line {
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
}
.ps-mini-line.short { width: 50%; }
.ps-mini-line.mid   { width: 75%; }
.ps-mini-line.full  { width: 100%; }

/* ═════════════════════════════════════════════
   매물 등록 CTA 배너
   ═════════════════════════════════════════════ */
.ps-cta-banner-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
.ps-cta-banner {
  background: linear-gradient(to bottom right, var(--color-brand), var(--color-brand-dark));
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.ps-cta-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
}
.ps-cta-banner-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 20px;
}
.ps-cta-banner-desc {
  max-width: 42rem;
  margin: 16px auto 0;
  font-size: 14px;
  color: #dbeafe;
  line-height: 1.6;
}
.ps-cta-banner-br { display: none; }
.ps-cta-banner-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ps-cta-banner-btn {
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 9999px;
}
.ps-cta-banner-btn--white {
  background: #fff;
  color: #1d4ed8;
}
.ps-cta-banner-btn--white:hover { background: #f3f4f6; }
.ps-cta-banner-btn--dark {
  background: #1e3a8a;
  color: #fff;
}
.ps-cta-banner-btn--dark:hover { background: #172554; }
@media (min-width: 640px) {
  .ps-cta-banner-actions { flex-direction: row; }
}
@media (min-width: 768px) {
  .ps-cta-banner-section { padding-top: 80px; padding-bottom: 80px; }
  .ps-cta-banner { padding: 56px; }
  .ps-cta-banner-title { font-size: 36px; }
  .ps-cta-banner-desc { font-size: 16px; }
  .ps-cta-banner-btn { font-size: 16px; }
  .ps-cta-banner-br { display: inline; }
}

/* ═════════════════════════════════════════════
   배지 색상 매핑 (JS 카드 렌더용)
   ═════════════════════════════════════════════ */
.ps-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}
.ps-badge-new      { background: #dbeafe; color: #1d4ed8; }
.ps-badge-hot      { background: #fee2e2; color: #b91c1c; }
.ps-badge-verified { background: #dcfce7; color: #15803d; }
.ps-badge-direct   { background: #f3e8ff; color: #6b21a8; }

/* ═════════════════════════════════════════════
   매물 카드 (레퍼런스 18.15.35 + 18.15.39 결합)
   ═════════════════════════════════════════════ */
.ps-listing-card {
  width: 280px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.ps-listing-card:hover {
  transform: translateY(-2px);
  border-color: #dbe2ea;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.ps-listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #8a93a0;
}
.ps-listing-meta { letter-spacing: -0.01em; }
.ps-listing-bookmark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #c5cad1;
  cursor: pointer;
  border-radius: 9999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.ps-listing-bookmark:hover { color: var(--color-brand); background: var(--color-brand-soft); }
.ps-listing-bookmark.is-on { color: var(--color-brand); }

.ps-listing-title-row {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #111827;
}
.ps-listing-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}

.ps-deal-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 1px;
}
.ps-deal-badge--sale  { background: #fff1e6; color: var(--color-brand-dark); }
.ps-deal-badge--rent  { background: #e0f2fe; color: #0369a1; }
.ps-deal-badge--new   { background: #dcfce7; color: #15803d; }

.ps-listing-info {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}
.ps-listing-info > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.ps-listing-info dt {
  flex-shrink: 0;
  width: 52px;
  color: #8a93a0;
  font-weight: 500;
}
.ps-listing-info dd {
  margin: 0;
  flex: 1;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ps-listing-info dd b {
  font-weight: 700;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.ps-listing-emph {
  color: var(--color-brand-dark) !important;
  font-weight: 700;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.ps-listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

/* 추천 칩 */
.ps-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ps-chip:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* ═════════════════════════════════════════════
   매물 카드 ls-card — listings.css와 동기화
   (index는 main.css+common.css만 로드하므로 여기에 포함)
   ═════════════════════════════════════════════ */
.ls-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-height: 220px;
}
.ls-card:hover {
  transform: translateY(-2px);
  border-color: #d6dde6;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
}

.ls-card-badges {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding-right: 32px;
  min-height: 22px;
}
.ls-card-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.005em;
  background: #f3f4f6;
  color: #4b5563;
}
.ls-card-badge--sale    { background: var(--color-brand); color: #fff; }
.ls-card-badge--rent    { background: #0369a1; color: #fff; }
.ls-card-badge--new     { background: #15803d; color: #fff; }
.ls-card-badge--verify  {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.ls-card-badge--verify::before {
  content: "✓";
  margin-right: 3px;
  font-weight: 800;
}
.ls-card-badge--direct  { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.ls-card-badge--hot     { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.ls-card-bookmark {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 9999px;
  color: #c5cad1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.ls-card-bookmark:hover { color: var(--color-brand); background: var(--color-brand-soft); }
.ls-card-bookmark.is-on { color: var(--color-brand); }
.ls-card-bookmark.is-on svg { fill: currentColor; }
.ls-card-bookmark svg { width: 18px; height: 18px; }

.ls-card-region {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: #6b7280;
  letter-spacing: -0.005em;
}
.ls-card-region::before {
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}
.ls-card-region strong { color: #111827; font-weight: 700; }

.ls-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
  margin: 0;
  min-height: 2.8em;
}

.ls-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 12px;
  background: #fffaf6;
  border-radius: 8px;
  margin-top: auto;
}
.ls-card-price-label {
  font-size: 11.5px;
  color: #9ca3af;
  font-weight: 600;
}
.ls-card-price-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-brand-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}
.ls-card-price-unit {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}
.ls-card-price--blur { filter: blur(5px); user-select: none; }

.ls-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  font-size: 12.5px;
  color: #4b5563;
  margin: 0;
}
.ls-card-meta > div { display: flex; gap: 4px; align-items: baseline; }
.ls-card-meta dt {
  color: #9ca3af;
  font-weight: 500;
  flex-shrink: 0;
}
.ls-card-meta dd {
  margin: 0;
  color: #1f2937;
  font-weight: 600;
}
.ls-card-meta dd b {
  font-family: var(--font-mono);
  font-weight: 700;
}

/* 권리금 게이팅 라벨 (비밀중개 차별점 시각화) */
.ps-price-gate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 9px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  white-space: nowrap;
  align-self: center;
}
.ps-price-gate svg { width: 11px; height: 11px; flex-shrink: 0; }

/* ═════════════════════════════════════════════
   지역 바로가기 (네이버부동산 스타일)
   ═════════════════════════════════════════════ */
.ps-regions {
  padding: 36px 0 4px;
}
.ps-regions-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ps-regions-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0;
}
.ps-regions-more {
  font-size: 13px;
  color: var(--color-brand);
  font-weight: 600;
}
.ps-regions-more:hover { text-decoration: underline; }
.ps-regions-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.ps-region-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ps-region-chip:hover {
  border-color: #9ca3af;
  background: #fafafa;
}
.ps-region-chip em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand-dark);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1024px) {
  .ps-regions-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .ps-regions-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .ps-regions-grid::-webkit-scrollbar { display: none; }
  .ps-region-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

/* ═════════════════════════════════════════════
   B4 권리금 자가진단 (lead-gen 1순위)
   ═════════════════════════════════════════════ */
.ps-valuation {
  padding: 56px 0;
  background: #f9fafb;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}
@media (min-width: 768px) {
  .ps-valuation { padding: 72px 0; }
}
.ps-valuation-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1024px) {
  .ps-valuation-inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
  }
}
.ps-valuation-eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-brand);
  text-transform: uppercase;
}
.ps-valuation-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 8px 0 0;
}
@media (min-width: 768px) {
  .ps-valuation-title { font-size: 32px; }
}
.ps-valuation-sub {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
  word-break: keep-all;
}
.ps-valuation-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  color: #4b5563;
}
.ps-valuation-points li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ps-valuation-points li::before {
  content: "✓";
  color: var(--color-brand);
  font-weight: 800;
  flex-shrink: 0;
}

.ps-valuation-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.05);
}
.ps-valuation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .ps-valuation-row { grid-template-columns: 1fr; }
}
.ps-valuation-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.ps-valuation-input-wrap { position: relative; }
.ps-valuation-input-wrap input {
  width: 100%;
  height: 50px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 52px 0 14px;
  font-size: 15px;
  color: #111827;
  background: #fff;
}
.ps-valuation-input-wrap input:focus,
.ps-valuation-field select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(254,105,27,0.1);
}
.ps-valuation-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  pointer-events: none;
}
.ps-valuation-field select {
  width: 100%;
  height: 50px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 36px 0 14px;
  font-size: 15px;
  color: #111827;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ps-valuation-error {
  margin: 10px 0 0;
  font-size: 13px;
  color: #b91c1c;
}
.ps-valuation-submit {
  margin-top: 16px;
  width: 100%;
  height: 52px;
  background: var(--color-brand);
  color: #1f2937; /* WCAG AA: 5.07:1 on #FE691B */
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ps-valuation-submit:hover { background: var(--color-brand-dark); }

.ps-valuation-result {
  display: none;
  margin-top: 18px;
  padding: 18px 18px 20px;
  background: #fffaf6;
  border: 1px solid #ffe1cc;
  border-radius: 12px;
}
.ps-valuation-result.is-on { display: block; }
.ps-valuation-result-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
}
.ps-valuation-range {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-brand-dark);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.ps-valuation-basis {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}
.ps-valuation-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #9ca3af;
  word-break: keep-all;
}
.ps-valuation-ctas {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .ps-valuation-ctas { flex-direction: column; }
}
.ps-valuation-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ps-valuation-cta--primary {
  background: var(--color-brand);
  color: #1f2937; /* WCAG AA */
}
.ps-valuation-cta--primary:hover { background: var(--color-brand-dark); color: #fff; }
.ps-valuation-cta--outline {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
}
.ps-valuation-cta--outline:hover { border-color: #9ca3af; background: #fafafa; }

/* ═════════════════════════════════════════════
   테마 컬렉션 (직방 스타일)
   ═════════════════════════════════════════════ */
.ps-themes {
  padding: 56px 0 28px;
}
.ps-themes-head { margin-bottom: 20px; }
.ps-themes-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.025em;
  margin: 0;
}
.ps-themes-sub {
  margin-top: 4px;
  font-size: 13.5px;
  color: #6b7280;
}
@media (min-width: 768px) {
  .ps-themes-title { font-size: 26px; }
}
.ps-themes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .ps-themes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ps-themes-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.ps-theme-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ps-theme-card:hover {
  border-color: #9ca3af;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,23,42,0.07);
}
.ps-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #4b5563;
  transition: background 0.15s ease, color 0.15s ease;
}
.ps-theme-icon svg { width: 18px; height: 18px; }
.ps-theme-card:hover .ps-theme-icon {
  background: var(--color-brand-soft);
  color: var(--color-brand);
}
.ps-theme-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.015em;
  margin: 0;
}
.ps-theme-name em {
  font-style: normal;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-brand-dark);
  font-variant-numeric: tabular-nums;
}
.ps-theme-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
  word-break: keep-all;
}

/* ═════════════════════════════════════════════
   매수 대기 현황 스트립 (매도 등록 트리거)
   ═════════════════════════════════════════════ */
.ps-buyers {
  padding: 12px 0 56px;
}
.ps-buyers-inner {
  display: grid;
  gap: 16px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}
@media (min-width: 1024px) {
  .ps-buyers-inner {
    grid-template-columns: 1fr 280px;
    grid-template-areas:
      "copy actions"
      "list actions";
    column-gap: 36px;
    align-items: center;
    padding: 30px 32px;
  }
  .ps-buyers-copy { grid-area: copy; }
  .ps-buyers-list { grid-area: list; }
  .ps-buyers-actions { grid-area: actions; flex-direction: column; }
}
.ps-buyers-title {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0;
}
.ps-buyers-title em {
  font-style: normal;
  color: var(--color-brand);
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.ps-buyers-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #22c55e;
  margin-right: 8px;
  flex-shrink: 0;
}
.ps-buyers-sub {
  margin-top: 4px;
  font-size: 13.5px;
  color: #6b7280;
}
.ps-buyers-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .ps-buyers-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .ps-buyers-list::-webkit-scrollbar { display: none; }
}
.ps-buyer-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: #f9fafb;
  border: 1px solid #eef0f3;
  border-radius: 9999px;
  font-size: 13px;
  color: #4b5563;
  white-space: nowrap;
}
.ps-buyer-chip b {
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}
.ps-buyers-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ps-buyers-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
@media (max-width: 640px) {
  .ps-buyers-actions { flex-direction: column; }
  .ps-buyers-btn { width: 100%; }
}
.ps-buyers-btn--primary {
  background: var(--color-brand);
  color: #fff;
}
.ps-buyers-btn--primary:hover { background: var(--color-brand-dark); }
.ps-buyers-btn--outline {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
}
.ps-buyers-btn--outline:hover { border-color: #9ca3af; background: #fafafa; }

/* ═════════════════════════════════════════════
   히어로 v3 — 크몽 스타일 (좌 헤드라인+검색 / 우 프로모)
   ═════════════════════════════════════════════ */
.ps-hero3 {
  background: #fff;
  padding: 48px 0 36px;
}
.ps-hero3-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.ps-hero3-main {
  flex: 1;
  min-width: 0;
  max-width: 680px;
}
.ps-hero3-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.035em;
  line-height: 1.32;
  margin: 8px 0 28px;
}
@media (min-width: 1024px) {
  .ps-hero3-title { font-size: 38px; }
}
.ps-hero3-search {
  position: relative;
  max-width: 600px;
}
.ps-hero3-search input {
  width: 100%;
  height: 60px;
  padding: 0 64px 0 24px;
  border: 2px solid #111827;
  border-radius: 9999px;
  background: #fff;
  font-size: 16px;
  color: #111827;
  letter-spacing: -0.01em;
}
.ps-hero3-search input::placeholder { color: #9ca3af; }
.ps-hero3-search input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(254, 105, 27, 0.1);
}
.ps-hero3-search-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  cursor: pointer;
  border: 0;
  transition: background 0.15s ease;
}
.ps-hero3-search-btn:hover { background: var(--color-brand); }
.ps-hero3-search-btn svg { width: 20px; height: 20px; }

.ps-hero3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.ps-hero3-chips a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  color: #4b5563;
  letter-spacing: -0.01em;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ps-hero3-chips a:hover {
  border-color: #111827;
  color: #111827;
  background: #f9fafb;
}

/* 프로모 카드 (우측 로테이션) */
.ps-hero3-promo {
  position: relative;
  width: 360px;
  flex-shrink: 0;
  display: none;
}
@media (min-width: 1024px) {
  .ps-hero3-promo { display: block; }
}
.ps-hero3-promo-card {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px 30px;
  border-radius: 16px;
  background: var(--promo-bg, #f3f4f6);
  text-decoration: none;
}
.ps-hero3-promo-card.is-on {
  display: flex;
  position: relative;
  min-height: 216px;
  animation: psPromoIn 0.4s ease;
}
@keyframes psPromoIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ps-hero3-promo-tag {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--promo-accent, #374151);
  letter-spacing: 0.02em;
}
.ps-hero3-promo-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.ps-hero3-promo-sub {
  font-size: 13.5px;
  color: #4b5563;
  letter-spacing: -0.01em;
}
.ps-hero3-promo-nav {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.ps-hero3-promo-arrow {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.65);
  color: #374151;
  font-size: 15px;
  cursor: pointer;
}
.ps-hero3-promo-arrow:hover { background: #fff; }
.ps-hero3-promo-count {
  min-width: 38px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.ps-hero3-promo-count b { color: #111827; font-weight: 700; }

@media (max-width: 768px) {
  .ps-hero3 { padding: 32px 0 24px; }
  .ps-hero3-title { font-size: 24px; margin-bottom: 20px; }
  .ps-hero3-search input { height: 52px; font-size: 15px; }
  .ps-hero3-search-btn { width: 40px; height: 40px; }
}

/* ═════════════════════════════════════════════
   서비스 퀵메뉴 (크몽 카테고리 아이콘 스타일)
   ═════════════════════════════════════════════ */
.ps-quick {
  background: #fff;
  padding: 8px 0 36px;
  border-bottom: 1px solid #f3f4f6;
}
.ps-quick-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}
.ps-quick-row::-webkit-scrollbar { display: none; }
.ps-quick-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 78px;
  padding: 6px 4px;
  text-decoration: none;
}
.ps-quick-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #f5f6f8;
  color: #374151;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.ps-quick-icon svg { width: 26px; height: 26px; }
.ps-quick-item:hover .ps-quick-icon {
  background: #fff1ec;
  color: var(--color-brand-dark, #ea580c);
  transform: translateY(-2px);
}
.ps-quick-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ps-quick-item:hover .ps-quick-label { color: #111827; }
.ps-quick-flag {
  position: absolute;
  top: -2px;
  right: 8px;
  z-index: 1;
  font-style: normal;
  font-weight: 700;
  border-radius: 9999px;
}
.ps-quick-flag--beta {
  padding: 2px 7px;
  font-size: 10px;
  background: #f3e8ff;
  color: #7e22ce;
}
.ps-quick-flag--new {
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-size: 10px;
  background: var(--color-brand, #FE691B);
  color: #fff;
}

/* ═════════════════════════════════════════════
   실시간 매물 LIVE 도트
   ═════════════════════════════════════════════ */
.ps-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: #ef4444;
  vertical-align: middle;
  animation: psLivePulse 1.6s ease-in-out infinite;
}
@keyframes psLivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* ═════════════════════════════════════════════
   매물등록 & 매수등록 CTA (2카드)
   ═════════════════════════════════════════════ */
.ps-cta-duo {
  padding: 56px 0;
  background: #fff;
}
.ps-cta-duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .ps-cta-duo-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.ps-cta-duo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 36px 36px 32px;
  border-radius: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ps-cta-duo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.12);
}
.ps-cta-duo-card--sell { background: #111827; }
.ps-cta-duo-card--buy  { background: #fff4ee; border: 1px solid #ffe0cd; }

.ps-cta-duo-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ps-cta-duo-card--sell .ps-cta-duo-eyebrow { color: #fdba74; }
.ps-cta-duo-card--buy  .ps-cta-duo-eyebrow { color: var(--color-brand-dark, #ea580c); }

.ps-cta-duo-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.34;
}
.ps-cta-duo-card--sell .ps-cta-duo-title { color: #fff; }
.ps-cta-duo-card--buy  .ps-cta-duo-title { color: #111827; }

.ps-cta-duo-desc {
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.ps-cta-duo-card--sell .ps-cta-duo-desc { color: #9ca3af; }
.ps-cta-duo-card--buy  .ps-cta-duo-desc { color: #6b7280; }

.ps-cta-duo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.15s ease;
}
.ps-cta-duo-btn svg { width: 15px; height: 15px; }
.ps-cta-duo-card--sell .ps-cta-duo-btn { background: var(--color-brand, #FE691B); color: #fff; }
.ps-cta-duo-card--sell:hover .ps-cta-duo-btn { background: var(--color-brand-dark, #ea580c); }
.ps-cta-duo-card--buy .ps-cta-duo-btn { background: #111827; color: #fff; }
.ps-cta-duo-card--buy:hover .ps-cta-duo-btn { background: #000; }

/* ═════════════════════════════════════════════
   공지사항 & FAQ (메인 하단 2열)
   ═════════════════════════════════════════════ */
.ps-cs {
  padding: 48px 0 72px;
  background: #fff;
  border-top: 1px solid #f3f4f6;
}
.ps-cs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .ps-cs-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.ps-cs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.ps-cs-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}
.ps-cs-more {
  font-size: 13.5px;
  color: #9ca3af;
}
.ps-cs-more:hover { color: var(--color-brand); }
.ps-cs-list li {
  border-bottom: 1px solid #f3f4f6;
}
.ps-cs-list li:last-child { border-bottom: 0; }
.ps-cs-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  text-decoration: none;
}
.ps-cs-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14.5px;
  color: #374151;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ps-cs-list a:hover .ps-cs-item-title { color: var(--color-brand-dark, #ea580c); }
.ps-cs-badge {
  flex-shrink: 0;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 4px;
  background: #fff1ec;
  color: var(--color-brand, #FE691B);
  font-size: 11px;
  font-weight: 700;
}
.ps-cs-q {
  flex-shrink: 0;
  font-style: normal;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11.5px;
  font-weight: 700;
}
.ps-cs-date {
  flex-shrink: 0;
  font-size: 13px;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
}
