/* 첫 화면 (2026-11-13 간단 시안 승인 "승인, 바꿔") — 두 갈래 + 바바방이 다른 이유 + 3가지만 고르기. index.html 의 .s-* 칸. 사이트 색(style.css :root) 그대로 */
.s-h2 { font-family: var(--f-d); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 22px; text-align: center; }

/* 1 첫 화면 */
.s-hero { padding: 118px 0 54px; text-align: center; }
@media (min-width: 900px) { .s-hero { padding-top: 138px; } }
.s-kicker { display: inline-block; margin: 0 0 14px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); font-weight: 800; font-size: 14px; color: var(--ink-2); }
.s-hero h1 { font-family: var(--f-d); font-size: clamp(38px, 6vw, 72px); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 14px; }
.s-hero h1 mark { background: var(--ink); color: var(--y); border-radius: .14em; padding: .08em .14em 0; }
.s-lead { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--ink-2); margin: 0 0 22px; }
.s-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 860px; margin: 0 auto; }
.s-choice { display: grid; justify-items: center; gap: 10px; padding: 30px 22px 26px; border-radius: 28px; text-decoration: none; border: 2.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transition: translate .2s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s; }
.s-choice:hover { translate: 0 -4px; box-shadow: 8px 10px 0 var(--ink); }
.s-choice-find { background: linear-gradient(180deg, #ffe54a, #ffcc00); color: var(--ink); }
.s-choice-sell { background: linear-gradient(180deg, #2b2b28, #0e0e0d); color: #fff; }
.s-choice-ico { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--ink); color: var(--y); }
.s-choice-sell .s-choice-ico { background: var(--y); color: var(--ink); }
.s-choice-ico svg { width: 30px; height: 30px; }
.s-choice b { font-family: var(--f-d); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.s-choice span:not(.s-choice-ico) { font-size: 15.5px; font-weight: 600; line-height: 1.5; opacity: .85; }
.s-choice em { font-style: normal; margin-top: 4px; padding: 10px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; background: var(--ink); color: var(--y); }
.s-choice-sell em { background: var(--y); color: var(--ink); }
.s-call { margin: 20px 0 0; font-weight: 700; color: var(--ink-2); }
.s-call a { color: var(--ink); font-weight: 800; }

/* 2 강점 */
.s-why { padding: 56px 0; background: #121210; color: #fff; }
.s-why .s-h2 { color: #fff; }
.s-why .hl { color: var(--y); background: none !important; }
.s-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.s-why-card { display: grid; align-content: start; gap: 8px; padding: 22px 20px; border-radius: 22px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: translate .2s, background .2s; }
.s-why-card:hover { translate: 0 -3px; background: rgba(255, 255, 255, .1); }
.s-why-main { background: linear-gradient(180deg, rgba(255, 212, 0, .22), rgba(255, 212, 0, .08)); border-color: rgba(255, 212, 0, .5); }
.s-why-k { font-weight: 800; font-size: 15px; color: var(--y); }
.s-why-n { font-family: var(--f-d); font-weight: 700; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; letter-spacing: -.03em; }
.s-why-n b { font: inherit; color: inherit; }
.s-why-n small { font-size: .42em; margin-left: 4px; }
.s-why-t { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.s-why-go { margin-top: 6px; font-weight: 800; font-size: 14px; color: var(--y); }

/* 3 질문 3개 */
.s-find { padding: 60px 0; }
.s-q { margin: 0 auto 18px; max-width: 980px; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 6px 20px rgba(80, 60, 0, .08); }
.s-q-t { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--f-d); font-size: 20px; font-weight: 700; }
.s-q-t i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--y); font-style: normal; font-size: 16px; }
.s-q-t small { font-family: var(--f-b); font-size: 13px; font-weight: 600; color: var(--muted); }
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 15px var(--f-b); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.s-chip small { font-size: 12px; font-weight: 700; color: var(--muted); }
.s-chip:hover { border-color: #d8c98f; }
.s-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--y); }
.s-chip[aria-pressed="true"] small { color: rgba(255, 212, 0, .75); }
.s-result-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px 0 16px; }
.s-count { margin: 0; font-size: 18px; font-weight: 700; }
.s-count b { font-family: var(--f-d); font-size: 26px; margin-left: 4px; }
.s-reset { border: 0; background: none; font: 700 14px var(--f-b); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.s-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; }
.s-card { display: grid; text-decoration: none; color: var(--ink); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(60, 45, 0, .12); transition: translate .2s; }
.s-card:hover { translate: 0 -3px; }
.s-card-photo { position: relative; aspect-ratio: 4 / 3; background: var(--y-soft); }
.s-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-card-deal { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--y); font-weight: 800; font-size: 12.5px; }
.s-card-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.s-card-price { font-family: var(--f-d); font-size: 24px; letter-spacing: -.02em; }
.s-card-price small { font-family: var(--f-b); font-size: 12px; color: var(--muted); margin-left: 3px; }
.s-card-title { font-weight: 800; font-size: 16px; }
.s-card-meta { font-size: 13px; color: var(--muted); }
.s-more-row { text-align: center; margin-top: 18px; }
.s-find-sub { max-width: 760px; margin: -8px auto 24px; text-align: center; font-size: 16px; font-weight: 600; color: var(--ink-2); line-height: 1.6; }
.s-find-sub b { color: var(--ink); }
.s-empty { grid-column: 1 / -1; margin: 6px 0; text-align: center; font-weight: 700; color: var(--muted); }
.s-ask { max-width: 980px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 20px 24px; border-radius: 22px; background: var(--y-soft); border: 2px dashed #e6c000; }
.s-ask p { margin: 0; font-size: 16px; }

/* 4 오시는 길 */
.s-visit { padding: 56px 0 70px; }
.s-visit-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; align-items: start; max-width: 1000px; }
.s-visit .s-h2 { text-align: left; }
.s-addr { font-family: var(--f-d); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin: 0 0 6px; }
.s-hours { color: var(--muted); margin: 0 0 18px; }
.s-visit-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.s-more-links { display: grid; gap: 8px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .7); }
.s-more-links p { margin: 0 0 4px; font-weight: 800; color: var(--muted); font-size: 13px; }
.s-more-links a { font-weight: 700; color: var(--ink); }

/* 5 예전 구역 손질 (사장님 2026-11-13): 원칙 ↔ 유튜브 사이 공백 붙이기, 유튜브 글 한 줄로, 중개사무소 확인 상자는 맨 아래 */
#promise { padding-bottom: 36px; }
#youtube { padding-top: 36px; }
#youtube .sec-desc, #youtube .video-note { max-width: none; }
.sec-proof { padding-block: 36px 44px; }
.sec-proof .proof { margin-top: 0; }

@media (max-width: 899px) {
  .s-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-visit-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .s-choices { grid-template-columns: 1fr; gap: 12px; }
  .s-choice { padding: 22px 18px 20px; }
  .s-why-card { padding: 16px 14px; }
  .s-why-n { font-size: 36px; }
  .s-cards { grid-template-columns: 1fr; }
  .s-q { padding: 14px; }
  .s-chip { min-height: 38px; padding: 0 12px; font-size: 14px; }
}

/* 6 첫 화면 유튜브 칸 (2026-11-13 시안 → "승인, 올려"): 첫 화면에 유튜브 강점 (사장님 "첫페이지에서 나 유튜브 하는 강점도 같이 보이게" → "영상이 보였으면 하는데 최근 올라온 영상").
   제목 아래 흰 칸 하나: 위 줄(빨간 재생 버튼 · 얼굴 걸고 중개 · 구독자/누적 조회/영상 · 유튜브 보기) + 최근 영상 4개(home.js #hero-videos).
   영상 속 집은 중개 매물이 아니라는 안내를 같이 둔다. */
.s-yt { max-width: 860px; margin: 6px auto 18px; padding: 12px 16px 16px; border-radius: 28px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); text-align: left; }
.s-yt-head { display: flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.s-yt-play { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #ff0033; box-shadow: 0 6px 16px rgba(255, 0, 51, .35); transition: transform .2s cubic-bezier(.3, 1.5, .5, 1); }
.s-yt-head:hover .s-yt-play { transform: scale(1.08); }
.s-yt-play svg { width: 24px; height: 24px; margin-left: 3px; }
.s-yt-who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.s-yt-who b { font-family: var(--f-d); font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.s-yt-who small { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.s-yt-stats { display: flex; align-items: center; }
.s-yt-stats > span { display: grid; justify-items: center; gap: 2px; padding: 0 14px; border-left: 1.5px solid var(--line); }
.s-yt-stats b { font-family: var(--f-d); font-size: 24px; line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.s-yt-stats small { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.s-yt-go { flex: none; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: var(--y); font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.s-yt-head:hover .s-yt-go { background: #2a2820; }

.s-yt-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 12px 2px 8px; padding-top: 10px; border-top: 1.5px dashed var(--line); font-size: 13px; }
.s-yt-sub b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.s-yt-sub span { color: var(--muted); font-weight: 600; }
.s-yt-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.s-yt-videos[hidden] { display: none; }
.s-yt-videos .video { gap: 6px; color: var(--ink); }
.s-yt-videos .video-thumb { border-radius: 12px; box-shadow: 0 4px 12px rgba(40, 32, 0, .16); }
.s-yt-videos .dur { right: 6px; bottom: 6px; font-size: 11.5px; }
.s-yt-videos .video-title { font-size: 13.5px; line-height: 1.35; -webkit-line-clamp: 1; }
.s-ask-q { margin: 0 0 16px; font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; color: var(--ink-2); }

/* 영상 칸이 들어간 만큼 제목·두 갈래 카드를 조금 줄여서 PC 첫 화면에 카드 버튼까지 보이게 */
@media (min-width: 900px) {
  .s-hero { padding-top: 114px; }
  .s-hero h1 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 12px; }
  .s-choice { padding: 22px 22px 20px; gap: 8px; }
  .s-choice-ico { width: 50px; height: 50px; }
  .s-choice-ico svg { width: 25px; height: 25px; }
  .s-call { margin-top: 16px; }
}

@media (max-width: 820px) {
  .s-yt { padding: 14px; border-radius: 24px; box-shadow: 5px 5px 0 var(--ink); }
  .s-yt-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
  .s-yt-play { width: 46px; height: 46px; }
  .s-yt-play svg { width: 22px; height: 22px; }
  .s-yt-who b { font-size: 17px; white-space: normal; }
  .s-yt-who small { white-space: normal; }
  .s-yt-stats { grid-column: 1 / -1; justify-content: space-around; padding-top: 10px; border-top: 1.5px solid var(--line); }
  .s-yt-stats > span { border: 0; padding: 0 4px; }
  .s-yt-stats b { font-size: 22px; }
  .s-yt-go { display: none; }  /* 휴대폰은 위 줄 전체가 유튜브로 가는 버튼이라 따로 안 둔다 (카드까지 덜 내려가게) */
  .s-yt-sub { margin-top: 10px; }
  /* 휴대폰: 옆으로 밀어 보는 줄 (2개 반 보이게) */
  .s-yt-videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .s-yt-videos::-webkit-scrollbar { display: none; }
  .s-yt-videos .video { scroll-snap-align: start; }
}