/* ===== 홈 화면 ===== */
.hm { padding-bottom: 80px; }

/* 1. 첫 화면: 왼쪽 사진 + 오른쪽 비스듬한 패널 (높이는 동거동락의 절반 정도) */
.hm-hero { position: relative; height: 440px; overflow: hidden; background: #DCE6F8; }
.hm-hero-photo { position: absolute; inset: 0 40% 0 0; background: url("/assets/img/vendor/hero-room-wide.webp") center / cover no-repeat; }
.hm-hero-panel { position: absolute; inset: 0 0 0 auto; width: 62%; display: flex; flex-direction: column; justify-content: center; padding: 0 6% 0 14%; background: linear-gradient(120deg, #EEF3FE 0%, #E3ECFD 100%); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hm-hero-hello { margin: 0 0 14px; font-size: 18px; color: var(--text); }
.hm-hero h1 { margin: 0 0 28px; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.4; font-weight: 800; color: #1C2433; letter-spacing: -0.03em; }
.hm-hero h1 em { color: var(--primary); }
.hm-search { display: flex; max-width: 500px; height: 58px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(47, 107, 246, .12); }
.hm-search input { flex: 1; min-width: 0; border: 0; padding: 0 22px; font: inherit; font-size: 16px; outline: none; }
.hm-search button { width: 66px; border: 0; background: var(--primary); cursor: pointer; display: grid; place-items: center; }
.hm-search svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }

/* 2. 최신 방 */
.hm-rooms { max-width: 1600px; margin: 0 auto; padding: 64px 40px 0; }
.hm-rooms-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.hm-rooms-head h2 { margin: 0 0 6px; font-size: 30px; font-weight: 800; color: #1C2433; }
.hm-rooms-head p { margin: 0; font-size: 16px; color: var(--muted); }
.hm-more { padding: 8px 14px; border-radius: 999px; background: #F3F5F8; color: var(--muted); font-size: 14px; }
.hm-more:hover { background: var(--mint); color: var(--primary); }
.hm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hm-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: #F7F9FC; border-radius: 14px; }
.hm-card a { display: block; color: inherit; }
.hm-card-photo { position: relative; aspect-ratio: 370 / 245; border-radius: 12px; overflow: hidden; background: var(--line); }
.hm-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hm-card a:hover img { transform: scale(1.04); }
.hm-badge { position: absolute; top: 0; right: 0; padding: 8px 14px; border-radius: 0 12px 0 12px; background: #FF5A5F; color: #fff; font-size: 14px; font-weight: 800; }
.hm-card h3 { margin: 14px 0 4px; font-size: 21px; font-weight: 800; color: #1C2433; letter-spacing: -0.03em; }
.hm-card-meta { font-size: 15px; color: var(--primary); }
.hm-card-meta span { color: var(--muted); margin-left: 10px; }
.hm-card-price { margin-top: 4px; font-size: 15px; color: var(--text); }
.hm-card-price span + span { margin-left: 12px; }
.hm-card-vac { margin-top: 12px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--primary-ink); font-size: 15px; font-weight: 800; }
.hm-card-vac.is-full { background: #fff; border: 1.5px solid var(--mint); color: var(--muted); font-weight: 600; }

/* 3. 제휴서비스 박스 3개 */
.hm-services { max-width: 1600px; margin: 80px auto 0; padding: 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-svc { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 250px; padding: 36px 32px; border-radius: 24px; overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s; }
.hm-svc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.hm-svc-text { position: relative; z-index: 1; }
.hm-svc h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.35; font-weight: 800; color: #1C2433; letter-spacing: -0.03em; }
.hm-svc p { margin: 0 0 22px; font-size: 14px; line-height: 1.7; color: var(--text); }
.hm-svc-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 700; }
.hm-svc-btn b { font-size: 20px; line-height: 1; }
.hm-svc img { width: 150px; height: 150px; flex: none; object-fit: cover; border-radius: 50%; border: 6px solid rgba(255, 255, 255, .7); }
.hm-svc.is-blue { background: #EEF3FE; }
.hm-svc.is-blue em { color: #2F6BF6; } .hm-svc.is-blue .hm-svc-btn { background: #2F6BF6; }
.hm-svc.is-violet { background: #F1EEFE; }
.hm-svc.is-violet em { color: #6A55E0; } .hm-svc.is-violet .hm-svc-btn { background: #6A55E0; }
.hm-svc.is-sky { background: #E9F6FB; }
.hm-svc.is-sky em { color: #0E8FBF; } .hm-svc.is-sky .hm-svc-btn { background: #0E8FBF; }

/* --- 화면 크기별 --- */
@media (max-width: 1280px) {
  .hm-grid { grid-template-columns: repeat(3, 1fr); }
  .hm-services { grid-template-columns: 1fr; max-width: 820px; }
}
@media (max-width: 900px) {
  .hm-hero { height: auto; }
  .hm-hero-photo { position: relative; inset: auto; height: 200px; }
  .hm-hero-panel { position: relative; inset: auto; width: auto; padding: 28px 16px 32px; clip-path: none; }
  .hm-hero-hello { font-size: 15px; }
  .hm-rooms { padding: 44px 16px 0; }
  .hm-rooms-head h2 { font-size: 24px; }
  .hm-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hm-card h3 { font-size: 17px; }
  .hm-card-meta, .hm-card-price { font-size: 13px; }
  .hm-services { padding: 0 16px; margin-top: 56px; }
  .hm-svc { padding: 28px 22px; }
  .hm-svc img { width: 96px; height: 96px; }
  .hm-svc h3 { font-size: 21px; }
}
@media (max-width: 520px) {
  .hm-grid { grid-template-columns: 1fr; }
}

/* --- 다듬기: 첫 화면 문구 한 줄로, 서비스 박스 여유 있게 --- */
@media (min-width: 901px) {
  .hm-hero-panel { width: 64%; padding: 0 4% 0 11%; }
  .hm-hero h1 { font-size: clamp(24px, 2.25vw, 36px); }
  .hm-svc { padding: 32px 28px; gap: 12px; }
  .hm-svc img { width: 112px; height: 112px; }
  .hm-svc h3 { font-size: 24px; }
  .hm-svc-btn { white-space: nowrap; padding: 0 18px; font-size: 14px; }
}

/* ===== 첫 화면 인사말 조금 크게 ===== */
.hm-hero-hello { font-size: 21px; font-weight: 600; }

/* ===== 2. 공실 등록 안내 (사진 위 문구) ===== */
.hm-cta { display: grid; place-items: center; gap: 24px; padding: 64px 16px; text-align: center; background: linear-gradient(180deg, rgba(20, 40, 90, .45), rgba(28, 70, 160, .6)), url("/assets/img/hero-building.webp") center 40% / cover no-repeat; }
.hm-cta h2 { margin: 0; font-size: clamp(26px, 3vw, 44px); line-height: 1.35; font-weight: 800; color: #fff; letter-spacing: -0.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hm-cta-btn { display: inline-flex; align-items: center; height: 56px; padding: 0 30px; border-radius: 12px; background: #2F6BF6; color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 8px 20px rgba(47, 107, 246, .35); }
.hm-cta-btn:hover { background: #1F58DE; }
.hm-cta-btn.is-small { height: 50px; font-size: 16px; padding: 0 24px; }

/* ===== 공통 섹션 ===== */
.hm-sec { max-width: 1600px; margin: 0 auto; padding: 80px 40px 0; }
.hm-sec-title { margin: 0 0 10px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; color: #1C2433; letter-spacing: -0.03em; }
.hm-sec-sub { margin: 0; font-size: 18px; color: var(--muted); }

/* ===== 3. 제로방과 함께라면: 카드 4개 한 줄 ===== */
.hm-why-grid { list-style: none; margin: 32px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hm-why-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; background: var(--line); }
.hm-why-grid h3 { margin: 18px 0 6px; font-size: 20px; font-weight: 800; color: #1C2433; letter-spacing: -0.02em; }
.hm-why-grid p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ===== 4. 파트너 되기: 3단계 한 줄 ===== */
.hm-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--primary); }
.hm-steps li { position: relative; padding: 32px 32px 34px; background: #fff; border-bottom: 1px solid var(--line); }
.hm-steps li:first-child { background: var(--mint-2); }
.hm-steps li + li { border-left: 1px solid var(--line); }
.hm-step-no { display: block; margin-bottom: 14px; font-size: 32px; font-weight: 300; color: var(--primary); }
.hm-steps h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: #1C2433; }
.hm-steps p { margin: 0; font-size: 15px; color: var(--muted); }
.hm-partner-cta { margin-top: 28px; text-align: center; }

/* ===== 5. 자주 묻는 질문 ===== */
.hm-faq-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hm-faq-more { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.hm-faq-list { border-top: 1px solid var(--line); }
.hm-faq-item { border-bottom: 1px solid var(--line); }
.hm-faq-item summary { list-style: none; display: flex; align-items: center; gap: 0; padding: 26px 8px; cursor: pointer; }
.hm-faq-item summary::-webkit-details-marker { display: none; }
.hm-faq-no { flex: none; width: 90px; padding-left: 40px; font-size: 22px; font-weight: 300; color: var(--primary); }
.hm-faq-q { flex: 1; font-size: 19px; font-weight: 700; color: #1C2433; }
.hm-faq-arrow { flex: none; width: 26px; height: 26px; fill: none; stroke: #8A96A3; stroke-width: 2; transition: transform .2s; }
.hm-faq-item[open] .hm-faq-arrow { transform: rotate(180deg); }
.hm-faq-a { padding: 22px 32px 22px 98px; background: #F3F5F8; font-size: 16px; line-height: 1.8; color: var(--text); }
.hm-faq-a p { margin: 0; }

/* 제휴서비스 박스 위 여백 */
.hm-services { margin-top: 96px; }

@media (max-width: 1100px) {
  .hm-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hm-hero-hello { font-size: 16px; }
  .hm-sec { padding: 56px 16px 0; }
  .hm-sec-sub { font-size: 15px; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-steps li + li { border-left: 0; }
  .hm-steps li { padding: 24px 20px; }
  .hm-faq-no { width: 44px; padding-left: 4px; font-size: 18px; }
  .hm-faq-q { font-size: 16px; }
  .hm-faq-a { padding: 18px 18px 18px 48px; font-size: 15px; }
  .hm-services { margin-top: 64px; }
}
@media (max-width: 520px) {
  .hm-why-grid { grid-template-columns: 1fr; }
}

/* ===== 첫 화면: 다방 홈 레이아웃 (왼쪽 박스 3개 + 오른쪽 큰 박스) ===== */
.hm-top { background: #F4F5F7; padding: 40px 40px 48px; }
.hm-top-grid { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.25fr; grid-template-rows: 1fr 1fr; gap: 24px; }
.hm-box { position: relative; display: block; min-height: 250px; padding: 34px 32px; border-radius: 20px; background: #fff; color: inherit; overflow: hidden; transition: box-shadow .2s, transform .2s; }
a.hm-box:hover { box-shadow: 0 12px 30px rgba(24, 47, 101, .1); transform: translateY(-2px); }
.hm-box h2 { margin: 0 0 14px; font-size: 28px; font-weight: 800; color: #1C2433; letter-spacing: -0.03em; }
.hm-box p { margin: 0; font-size: 18px; line-height: 1.75; color: #6B7684; }
.hm-box-ic { position: absolute; right: 34px; bottom: 30px; width: 78px; height: 78px; }
.hm-box-a { grid-column: 1; grid-row: 1; }
.hm-box-b { grid-column: 2; grid-row: 1; }
.hm-box-c { grid-column: 1 / 3; grid-row: 2; display: flex; align-items: center; background: linear-gradient(120deg, #FFFFFF 40%, #EEF3FE 100%); }
.hm-box-c h2 { font-size: clamp(24px, 2vw, 32px); line-height: 1.4; margin-bottom: 22px; }
.hm-box-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 12px; background: #2F6BF6; color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 8px 20px rgba(47, 107, 246, .3); }
.hm-box-btn:hover { background: #1F58DE; }
.hm-box-ic-lg { width: 120px; height: 120px; right: 48px; bottom: auto; top: 50%; transform: translateY(-50%); }
.hm-box-main { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: center; padding: 48px 48px; background: linear-gradient(135deg, #EEF3FE 0%, #DDE8FD 100%); }
.hm-box-main .hm-hero-hello { margin: 0 0 14px; font-size: 19px; font-weight: 600; color: #4A4F5A; line-height: 1.5; }
.hm-box-main h1 { margin: 0 0 30px; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.4; font-weight: 800; color: #1C2433; letter-spacing: -0.03em; }
.hm-box-main h1 em { font-style: normal; color: #2F6BF6; }
.hm-box-main .hm-search { max-width: 520px; }

@media (max-width: 1200px) {
  .hm-top-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hm-box-main { grid-column: 1 / 3; grid-row: 1; }
  .hm-box-a { grid-row: 2; } .hm-box-b { grid-row: 2; }
  .hm-box-c { grid-row: 3; }
}
@media (max-width: 700px) {
  .hm-top { padding: 16px; }
  .hm-top-grid { grid-template-columns: 1fr; gap: 14px; }
  .hm-box-main, .hm-box-a, .hm-box-b, .hm-box-c { grid-column: 1; grid-row: auto; }
  .hm-box { min-height: 0; padding: 24px 22px 90px; }
  .hm-box-main { padding: 28px 22px; }
  .hm-box-c { padding-bottom: 24px; }
  .hm-box h2 { font-size: 22px; }
  .hm-box p { font-size: 15px; }
  .hm-box-ic { width: 60px; height: 60px; right: 22px; bottom: 20px; }
  .hm-box-ic-lg { display: none; }
  .hm-box-main .hm-hero-hello { font-size: 15px; }
}
@media (min-width: 1201px) {
  .hm-box-main { padding: 40px 40px; }
  .hm-box-main .hm-hero-hello { font-size: 17px; }
  .hm-box-main h1 { font-size: clamp(24px, 1.95vw, 36px); }
}

/* ===== 박스 구분을 다방처럼 또렷하게 ===== */
.hm-top { background: #EDEFF2; }                                       /* 바탕은 조금 더 진한 회색 */
.hm-box { background: #fff; border: 1px solid #DFE3E8; box-shadow: 0 2px 10px rgba(16, 24, 40, .05); }
a.hm-box:hover { border-color: #C9D6F5; box-shadow: 0 12px 28px rgba(16, 24, 40, .1); }
.hm-box-c { background: #fff; }

/* 오른쪽 큰 박스: 진한 파란색 배너 (다방의 큰 배너처럼 한눈에 띄게) */
.hm-box-main { border: 0; color: #fff; background: linear-gradient(135deg, rgba(18, 42, 110, .94) 0%, rgba(47, 107, 246, .9) 100%), url("/assets/img/vendor/hero-room-wide.webp") center / cover no-repeat; box-shadow: 0 10px 30px rgba(31, 88, 222, .25); }
.hm-box-main .hm-hero-hello { color: rgba(255, 255, 255, .85); }
.hm-box-main h1 { color: #fff; }
.hm-box-main h1 em { color: #FFE27A; }
.hm-box-main .hm-search { box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.hm-box-main .hm-search button { background: #0F2A6B; }
.hm-box-main .hm-search button:hover { background: #0A1F52; }

/* ===== 박스 구분 더 또렷하게 (2차) ===== */
.hm-top { background: #E3E7ED; }                                         /* 바탕을 한 단계 더 진하게 */
.hm-box { border: 1px solid #C9D1DC; box-shadow: 0 6px 18px rgba(16, 24, 40, .10); }
a.hm-box:hover { border-color: #2F6BF6; }

/* 공실 해결 박스: 왼쪽 글자 / 오른쪽 버튼 */
.hm-box-c { justify-content: space-between; gap: 24px; }
.hm-box-c-sub { margin: 0 0 10px !important; font-size: 17px !important; color: #6B7684 !important; }
.hm-box-c h2 { margin: 0; font-size: clamp(28px, 2.4vw, 40px); }
.hm-box-c .hm-box-btn { flex: none; height: 60px; padding: 0 30px; font-size: 18px; }
@media (max-width: 700px) {
  .hm-box-c { flex-direction: column; align-items: flex-start; }
}

/* 공실 박스: 위 문구도 큰 제목과 같은 크기·굵기로 */
.hm-box-c-sub { font-size: clamp(28px, 2.4vw, 40px) !important; font-weight: 800; color: #1C2433 !important; line-height: 1.35; letter-spacing: -0.03em; }

/* 공실 박스: 정사각형 버튼 */
.hm-box-c .hm-box-btn-sq { flex: none; width: 170px; height: 170px; padding: 18px; flex-direction: column; justify-content: center; gap: 12px; border-radius: 24px; text-align: center; font-size: 20px; line-height: 1.35; white-space: normal; }
.hm-box-btn-sq svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
@media (max-width: 1200px) { .hm-box-c .hm-box-btn-sq { width: 140px; height: 140px; font-size: 17px; } }
@media (max-width: 700px) { .hm-box-c .hm-box-btn-sq { width: 120px; height: 120px; font-size: 15px; } .hm-box-btn-sq svg { width: 30px; height: 30px; } }
/* 정사각형 버튼: 글자는 원래 그대로 (아이콘 없이) */
.hm-box-c .hm-box-btn-sq { flex-direction: row; flex-wrap: wrap; align-content: center; gap: 0 6px; padding: 22px; word-break: keep-all; }

/* ===== 홈 첫 화면: 검색 제목 줄 + 박스 3개 (2026-11) ===== */
.hm-top-grid.hm-top3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; height: auto; min-height: 0; align-content: start; }
.hm-top3 .hm-hero { height: auto; grid-column: 1 / -1; grid-row: auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 44px 40px 46px; }
.hm-top3 .hm-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.35; }
.hm-hero-sub { margin: 0 0 24px !important; font-size: 18px !important; color: rgba(255,255,255,.85) !important; }
.hm-top3 .hm-hero .hm-search { width: 100%; max-width: 680px; }
.hm-top3 .hm-box-a, .hm-top3 .hm-box-b, .hm-top3 .hm-box-s { grid-column: auto; grid-row: auto; }
.hm-box-s { display: block; }
@media (max-width: 900px) { .hm-top-grid.hm-top3 { grid-template-columns: 1fr; } .hm-top3 .hm-hero { padding: 30px 20px; } .hm-hero-sub { font-size: 15px !important; } }

/* ===== 최근 본 방 / 비슷한 방 / 집주인 인증 ===== */
.hm-recent { max-width: 1680px; margin: 0 auto; padding: 56px 40px 64px; }
.hm-recent-title { margin: 0 0 22px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; color: #1C2433; letter-spacing: -0.03em; }
.hm-recent-title em { font-style: normal; color: #2F6BF6; font-weight: 800; }
.hm-recent-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.hm-recent-tabs button { height: 44px; padding: 0 18px; border: 1px solid #D5DBE3; border-radius: 999px; background: #fff; font: inherit; font-size: 16px; font-weight: 800; color: #333D4B; cursor: pointer; }
.hm-recent-tabs button[aria-selected="true"] { background: #1C2433; border-color: #1C2433; color: #fff; }
.hm-recent-box { padding: 26px 28px 30px; border: 1px solid #E5E8EB; border-radius: 16px; background: #FAFBFC; }
.hm-recent-sub { margin: 0 0 18px; font-size: 17px; font-weight: 800; color: #1C2433; }
.hm-recent-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.hm-rc-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.hm-rc-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #EEF1F5; margin-bottom: 12px; }
.hm-rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hm-rc-card:hover .hm-rc-img img { transform: scale(1.04); }
.hm-rc-img i { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: #2F6BF6; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.hm-rc-type { font-size: 14px; color: #4E5968; }
.hm-rc-price { margin: 4px 0 6px; font-size: 21px; font-weight: 800; color: #191F28; }
.hm-rc-detail, .hm-rc-desc { font-size: 15px; color: #6B7684; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-rc-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; min-height: 220px; border: 1px solid #E5E8EB; border-radius: 10px; background: #fff; text-align: center; font-size: 16px; line-height: 1.7; color: #6B7684; text-decoration: none; }
.hm-rc-slot.is-more { border-color: #2F6BF6; color: #2F6BF6; }
.hm-rc-slot.is-more:hover { background: #F2F6FF; }
.hm-rc-slot i { width: 26px; height: 26px; border-radius: 50%; background: #2F6BF6; color: #fff; font-style: normal; font-weight: 800; display: grid; place-items: center; font-size: 16px; }
@media (max-width: 1100px) { .hm-recent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hm-recent { padding: 36px 16px 44px; } .hm-recent-box { padding: 18px 16px 20px; } .hm-recent-list { grid-template-columns: 1fr; } }

/* 첫 화면 파란 배너: 사진 대신 그라데이션 + 은은한 점 무늬 + 집·건물·위치 선 그림 */
.hm-top3 .hm-hero { position: relative; overflow: hidden; background:
  radial-gradient(circle at 15% 20%, rgba(120, 170, 255, .35) 0, transparent 38%),
  radial-gradient(circle at 88% 85%, rgba(130, 190, 255, .3) 0, transparent 40%),
  radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.4px) 0 0 / 22px 22px,
  linear-gradient(120deg, #142B6F 0%, #1E47B8 50%, #2F6BF6 100%); }
.hm-hero-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hm-top3 .hm-hero > :not(.hm-hero-deco) { position: relative; }
@media (max-width: 900px) { .hm-hero-deco { opacity: .6; } }

/* 숫자 팽그르르 (슬롯머신) */
.hm-odo { display: inline-block; height: 1.35em; overflow: hidden; vertical-align: bottom; line-height: 1.35; }
.hm-odo-col { display: flex; flex-direction: column; transition: transform 1.8s cubic-bezier(.12, .8, .2, 1); }
.hm-odo-col span { display: block; height: 1.35em; text-align: center; }
.hm-recent-title.is-swap, .hm-recent-list { animation: hmSwap .35s ease; }
@keyframes hmSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hm-recent-title.is-swap, .hm-recent-list { animation: none; } }

/* 첫 화면 높이 줄이기 */
.hm-top { padding-top: 24px; padding-bottom: 28px; }
.hm-top-grid.hm-top3 { gap: 18px; }
.hm-top3 .hm-hero { padding: 26px 40px 28px; }
.hm-top3 .hm-hero h1 { margin-bottom: 4px; font-size: clamp(24px, 2.1vw, 34px); }
.hm-top3 .hm-hero .hm-hero-sub { margin-bottom: 16px !important; font-size: 16px !important; }
.hm-top3 .hm-hero .hm-search { height: 52px; }
.hm-top3 .hm-box-a, .hm-top3 .hm-box-b, .hm-top3 .hm-box-s { min-height: 172px; padding: 26px 30px; }
.hm-top3 .hm-box-a h2, .hm-top3 .hm-box-b h2, .hm-top3 .hm-box-s h2 { margin-bottom: 10px; font-size: 25px; }
.hm-top3 .hm-box-a p, .hm-top3 .hm-box-b p, .hm-top3 .hm-box-s p { font-size: 16px; line-height: 1.65; }
.hm-top3 .hm-box-ic { width: 62px; height: 62px; right: 28px; bottom: 22px; }
/* '다가구 원/투룸', '오피스텔 원/투룸' 사이 아주 살짝 더 띄우기 */
.hm-top3 .hm-box-a h2, .hm-top3 .hm-box-b h2 { word-spacing: .14em; }
/* 쉐어하우스·코리빙·고시원: 오른쪽 위 '준비중' */
.hm-box-soon { position: absolute; top: 26px; right: 26px; padding: 4px 10px; border-radius: 999px; background: #EEF1F5; color: #6B7684; font-size: 13px; font-weight: 800; }
.hm-top3 .hm-box-s h2 { padding-right: 76px; }
@media (max-width: 900px) { .hm-top3 .hm-box-a, .hm-top3 .hm-box-b, .hm-top3 .hm-box-s { min-height: 0; padding: 22px 22px 80px; } .hm-top3 .hm-hero { padding: 22px 18px; } .hm-box-soon { top: 22px; right: 20px; } }
@media (max-width: 600px) { .hm-top3 .hm-box-a h2, .hm-top3 .hm-box-b h2, .hm-top3 .hm-box-s h2 { font-size: 21px; } }

/* 방 카드만 한 줄에 6개 */
.hm-recent-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.hm-rc-price { font-size: 18px; }
.hm-rc-detail, .hm-rc-desc { font-size: 14px; }
.hm-rc-none { grid-column: 1 / -1; padding: 28px 0; text-align: center; color: #6B7684; font-size: 16px; line-height: 1.7; }
@media (max-width: 1400px) { .hm-recent-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .hm-recent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 600px) { .hm-recent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-rc-price { font-size: 16px; } }

/* ===== 가로폭 통일 (내용 1200px) ===== */
.hm-top-grid, .hm-top-grid.hm-top3 { max-width: 1200px; }
.hm-top { padding-left: 20px; padding-right: 20px; }
.hm-recent, .hm-sec, .hm-rooms { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
.hm-services { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
.hm-recent-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hm-rc-price { font-size: 19px; }
@media (max-width: 1100px) { .hm-recent-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .hm-recent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
/* 1200px 안에서 박스 제목이 한 줄에 들어가게 */
.hm-top3 .hm-box-a h2, .hm-top3 .hm-box-b h2, .hm-top3 .hm-box-s h2 { font-size: 23px; }
@media (max-width: 600px) { .hm-top3 .hm-box-a h2, .hm-top3 .hm-box-b h2, .hm-top3 .hm-box-s h2 { font-size: 21px; } }
/* 쉐어하우스·코리빙·고시원 제목 한 줄 유지 + 준비중 표시는 모서리로 */
@media (min-width: 901px) {
  .hm-top3 .hm-box-s h2 { padding-right: 0; font-size: 22px; letter-spacing: -0.04em; white-space: nowrap; }
  .hm-box-soon { top: 12px; right: 12px; padding: 3px 9px; font-size: 12px; }
}

/* ===== 직거래 서류함 (카드 옆으로 넘기기) ===== */
.hm-docs { max-width: 1240px; margin: 0 auto; padding: 24px 20px 72px; }
.hm-docs-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.hm-docs-head h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: #1C2433; letter-spacing: -0.03em; }
.hm-docs-all { font-size: 15px; font-weight: 700; color: #2F6BF6; }
.hm-docs-wrap { position: relative; }
.hm-docs-list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 6px) / 5); gap: 6px; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hm-docs-list::-webkit-scrollbar { display: none; }
.hm-docs-list li { scroll-snap-align: start; }
.hm-doc { position: relative; display: flex; flex-direction: column; height: 300px; padding: 30px 26px 26px; border-top: 3px solid #2F6BF6; border-radius: 2px; background: #F1F2F4; color: #2F6BF6; text-decoration: none; transition: background .2s; }
.hm-doc:hover { background: #E8ECF6; }
.hm-doc-cat { align-self: flex-start; padding-bottom: 8px; margin-bottom: 22px; border-bottom: 1px solid #A9B4C6; font-size: 13px; font-weight: 600; }
.hm-doc b { font-size: 19px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.hm-doc small { margin-top: 10px; font-size: 13.5px; color: #6B7684; }
.hm-doc i { position: absolute; left: 26px; bottom: 26px; width: 28px; height: 28px; border: 1px solid #2F6BF6; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; line-height: 1; }
.hm-doc:hover i { background: #2F6BF6; color: #fff; }
.hm-docs-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: rgba(60, 66, 78, .55); color: #fff; font-size: 26px; cursor: pointer; }
.hm-docs-nav:hover { background: rgba(40, 46, 58, .75); }
.hm-docs-nav.is-next { right: 0; }
.hm-docs-nav.is-prev { left: 0; }
.hm-docs-nav[hidden] { display: none; }
@media (max-width: 1100px) { .hm-docs-list { grid-auto-columns: calc((100% - 2 * 6px) / 3); } }
@media (max-width: 700px) { .hm-docs-list { grid-auto-columns: 62%; } .hm-doc { height: 240px; padding: 24px 20px; } .hm-doc i { left: 20px; bottom: 20px; } .hm-docs-nav { display: none; } }

/* 임대인 홈으로 옮긴 부분 (임시) */
.ow .hm-sec, .ow .hm-services { padding-left: 0; padding-right: 0; }

/* ===== 자주 묻는 질문: 질문마다 카드로 나눠서 읽기 편하게 ===== */
.hm-faq-list { border-top: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-faq-item { border: 1px solid #D5DDE8; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 3px 10px rgba(23, 37, 84, .05); transition: border-color .2s, box-shadow .2s; }
.hm-faq-item:hover { border-color: #A9BCDD; box-shadow: 0 6px 16px rgba(23, 37, 84, .09); }
.hm-faq-item[open] { border-color: #2F6BF6; box-shadow: 0 8px 20px rgba(47, 107, 246, .12); }
.hm-faq-item summary { padding: 20px 24px; gap: 16px; }
.hm-faq-no { width: 36px; height: 36px; padding: 0; border-radius: 50%; background: #EEF3FE; display: grid; place-items: center; font-size: 16px !important; font-weight: 800; }
.hm-faq-item[open] .hm-faq-no { background: #2F6BF6; color: #fff; }
.hm-faq-a { padding: 18px 28px 22px 76px; border-top: 1px solid #E6ECF5; background: #F7F9FD; }
@media (max-width: 767px) { .hm-faq-item summary { padding: 16px; gap: 12px; } .hm-faq-no { width: 30px; height: 30px; font-size: 14px !important; } .hm-faq-a { padding: 14px 16px 18px 58px; } }
/* 추천 매물(광고) 표시 */
.hm-rc-ad { position: absolute; right: 10px; top: 10px; padding: 2px 7px; border-radius: 4px; background: rgba(25, 31, 40, .72); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; }

/* 첫 화면 파란 배너를 화면 끝까지 (글자·검색창은 가운데 그대로) + 아래 박스 3개가 배너 위로 살짝 올라옴 */
.hm { overflow-x: clip; }
.hm-top { padding-top: 0; }
.hm-top3 .hm-hero { margin: 0 calc(50% - 50vw); border: 0; border-radius: 0; box-shadow: none; padding: 64px 20px 128px; }
.hm-top3 .hm-hero h1 { font-size: clamp(26px, 2.5vw, 40px); }
.hm-top3 .hm-box-a, .hm-top3 .hm-box-b, .hm-top3 .hm-box-s { margin-top: -96px; z-index: 1; }
@media (max-width: 900px) {
  .hm-top3 .hm-hero { padding: 34px 18px 84px; }
  .hm-top3 .hm-box-a { margin-top: -60px; }
  .hm-top3 .hm-box-b, .hm-top3 .hm-box-s { margin-top: 0; }
}
/* 첫 화면 배너에 방 사진 (파란색을 덮어 글자가 잘 읽히게) */
.hm-top3 .hm-hero { background:
  radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.4px) 0 0 / 22px 22px,
  linear-gradient(120deg, rgba(20, 43, 111, .93) 0%, rgba(30, 71, 184, .84) 50%, rgba(47, 107, 246, .66) 100%),
  url("/assets/img/vendor/hero-room-wide.webp") center 40% / cover no-repeat, #1E47B8; }
/* 첫 화면 정리: 사진만 쓰고(선 그림·점무늬 빼기) 높이 넉넉하게 */
.hm-top3 .hm-hero .hm-hero-deco { display: none; }
.hm-top3 .hm-hero { padding: 92px 20px 176px; background:
  linear-gradient(120deg, rgba(20, 43, 111, .92) 0%, rgba(30, 71, 184, .82) 50%, rgba(47, 107, 246, .62) 100%),
  url("/assets/img/vendor/hero-room-wide.webp") center 40% / cover no-repeat, #1E47B8; }
.hm-top3 .hm-hero h1 { margin-bottom: 10px; }
.hm-top3 .hm-hero .hm-hero-sub { margin-bottom: 24px !important; }
.hm-top3 .hm-hero .hm-search { height: 56px; }
@media (max-width: 900px) { .hm-top3 .hm-hero { padding: 44px 18px 96px; } }
.hm-rc-img i.is-resident { background: #1E7B3C; }

/* 홈 방 종류 칸: 위 3칸 + 아래 아파트·분양 2칸 (2026-11-27) */
@media (min-width: 901px) {
  .hm-top-grid.hm-top3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hm-top3 .hm-box-a, .hm-top3 .hm-box-b, .hm-top3 .hm-box-s { grid-column: span 2; }
  .hm-top3 .hm-box-apt, .hm-top3 .hm-box-bn { grid-column: span 3; }
}
.hm-top3 .hm-box-apt, .hm-top3 .hm-box-bn { position: relative; min-height: 150px; padding: 24px 30px; }
.hm-top3 .hm-box-apt h2, .hm-top3 .hm-box-bn h2 { display: inline-block; margin: 0 0 10px; font-size: 23px; }
.hm-top3 .hm-box-apt p, .hm-top3 .hm-box-bn p { font-size: 16px; line-height: 1.65; }
.hm-box-new { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: #2F6BF6; color: #fff; font-size: 11px; font-weight: 800; vertical-align: 5px; }
.hm-box-bn .hm-box-new { background: #E8590C; }
@media (max-width: 900px) { .hm-top3 .hm-box-apt, .hm-top3 .hm-box-bn { padding: 22px 22px 80px; } }
/* 추천 매물 제목 크기 줄임 (2026-11-27) */
.hm-recent-title { font-size: 24px; }
@media (max-width: 600px) { .hm-recent-title { font-size: 21px; } }

/* ===== 홈 첫 화면 (다방처럼: 검색 · 왼쪽 방 종류 5칸 · 오른쪽 앱 다운로드) 2026-11-27 ===== */
.hm2 { margin: 0 calc(50% - 50vw); padding: 28px 20px 40px; background: #F4F5F7; }
.hm2-search { display: flex; align-items: center; gap: 10px; max-width: 680px; height: 52px; margin: 0 auto 22px; padding: 0 20px; border: 1px solid #E1E5EB; border-radius: 999px; background: #fff; }
.hm2-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #4E5968; stroke-width: 2; stroke-linecap: round; }
.hm2-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 15.5px; color: #191F28; }
.hm2-search:focus-within { border-color: #2F6BF6; box-shadow: 0 0 0 3px rgba(47,107,246,.15); }
.hm2-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.hm2-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 172px; gap: 16px; }
.hm2-box { position: relative; grid-column: span 2; padding: 22px 22px; border: 1px solid #E5E8EB; border-radius: 12px; background: #fff; text-decoration: none; color: #191F28; transition: box-shadow .2s, transform .2s; }
.hm2-box.is-wide { grid-column: span 3; }
.hm2-box:hover { box-shadow: 0 12px 28px -14px rgba(16,24,40,.25); transform: translateY(-2px); }
.hm2-box h2 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.hm2-box p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #6B7684; }
.hm2-box .hm-box-ic { position: absolute; right: 18px; bottom: 16px; width: 52px; height: 52px; }
.hm2-new { padding: 2px 7px; border-radius: 6px; background: #2F6BF6; color: #fff; font-size: 10.5px; font-weight: 800; }
.hm2-new.is-org { background: #E8590C; }
.hm2-app { position: relative; display: flex; overflow: hidden; border-radius: 12px; background: radial-gradient(120% 140% at 100% 0%, #5B8CFF 0%, #2F6BF6 40%, #16308F 100%); color: #fff; text-decoration: none; }
.hm2-app-t { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 30px 28px; }
.hm2-app-k { margin: 0; font-size: 14px; font-weight: 800; color: #BFD0FF; }
.hm2-app h2 { margin: 8px 0 0; font-size: 30px; font-weight: 800; line-height: 1.3; letter-spacing: -.04em; }
.hm2-app h2 em { font-style: normal; color: #FFE16B; }
.hm2-app-s { margin: 10px 0 0; font-size: 15px; color: #DCE6FF; }
.hm2-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.hm2-stores > span { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; background: #fff; color: #191F28; font-size: 14px; font-weight: 800; }
.hm2-stores svg { width: 18px; height: 18px; }
.hm2-app small { margin-top: 8px; font-size: 12px; color: #BFD0FF; }
.hm2-phone { position: absolute; right: 22px; bottom: -70px; width: 160px; padding: 6px; border-radius: 26px; background: #0F172A; box-shadow: 0 20px 40px rgba(0,0,0,.35); transform: rotate(6deg); }
.hm2-phone img { display: block; width: 100%; border-radius: 21px; }
.hm2-app:hover .hm2-phone { transform: rotate(4deg) translateY(-4px); transition: transform .3s; }
@media (max-width: 1100px) { .hm2-grid { grid-template-columns: 1fr; } .hm2-app { min-height: 240px; } }
@media (max-width: 640px) {
  .hm2 { padding: 16px 16px 28px; }
  .hm2-boxes { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .hm2-box, .hm2-box.is-wide { grid-column: span 1; min-height: 132px; padding: 16px; }
  .hm2-box:last-child { grid-column: 1 / -1; }
  .hm2-box h2 { font-size: 16.5px; } .hm2-box p { font-size: 12.5px; } .hm2-box .hm-box-ic { width: 40px; height: 40px; right: 12px; bottom: 12px; }
  .hm2-app h2 { font-size: 24px; } .hm2-phone { width: 120px; right: 10px; bottom: -50px; }
  .hm2-app-t { padding: 22px 20px; padding-right: 140px; }
}
/* 첫 화면에 분양 칸이 살짝 보이게: 노트북은 2단 유지, 휴대폰은 칸을 낮게 */
@media (max-width: 1100px) { .hm2-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } .hm2-app { min-height: 0; } }
@media (min-width: 901px) and (max-width: 1100px) { .hm2-boxes { grid-auto-rows: 150px; gap: 12px; } .hm2-box { padding: 18px; } .hm2-box p { font-size: 12.5px; } .hm2-app h2 { font-size: 24px; } .hm2-phone { width: 120px; } }
@media (max-width: 900px) { .hm2-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hm2 { padding: 12px 16px 20px; }
  .hm2-search { height: 46px; margin-bottom: 12px; }
  .hm2-boxes { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hm2-box, .hm2-box.is-wide, .hm2-box:last-child { grid-column: span 1; min-height: 84px; padding: 12px 10px; }
  .hm2-box.is-wide { grid-column: span 1; }
  .hm2-box:nth-child(1), .hm2-box:nth-child(2) { grid-column: span 1; }
  .hm2-box h2 { font-size: 14px; } .hm2-box p { display: none; } .hm2-new { display: none; }
  .hm2-box .hm-box-ic { width: 30px; height: 30px; right: 8px; bottom: 8px; }
  .hm2-boxes { grid-template-columns: repeat(5, 1fr); }
  .hm2-box { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 10px 4px; text-align: center; }
  .hm2-box h2 { margin: 0; font-size: 12.5px; letter-spacing: -.04em; word-break: keep-all; justify-content: center; }
  .hm2-box .hm-box-ic { position: static; width: 32px; height: 32px; }
  .hm2-app { min-height: 0; }
  .hm2-app-t { padding: 16px 18px; padding-right: 120px; }
  .hm2-app-k, .hm2-app-s, .hm2-app small { display: none; }
  .hm2-app h2 { margin: 0 0 10px; font-size: 19px; }
  .hm2-stores > span { height: 34px; padding: 0 10px; font-size: 12.5px; }
  .hm2-phone { width: 96px; right: 14px; bottom: -64px; }
}

/* ===== 홈 위 5칸: 아주 연한 바탕 + 살짝 보이는 테두리 + 마우스 효과 (2026-11-27) ===== */
.hm2 { background: #F8FAFD; }
.hm2-box { border: 1px solid #DCE3EE; box-shadow: 0 2px 6px rgba(16, 24, 40, .04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.hm2-box:hover { transform: translateY(-4px); border-color: #9DB9F7; box-shadow: 0 16px 32px -16px rgba(28, 60, 140, .35); }
.hm2-box .hm-box-ic { transition: transform .3s cubic-bezier(.2,.8,.3,1.4); }
.hm2-box:hover .hm-box-ic { transform: translateY(-4px) scale(1.08); }
.hm2-box h2 { transition: color .2s; }
.hm2-box:hover h2 { color: #2F6BF6; }
.hm2-search { border-color: #DCE3EE; }
@media (prefers-reduced-motion: reduce) { .hm2-box, .hm2-box:hover, .hm2-box .hm-box-ic, .hm2-box:hover .hm-box-ic { transition: none; transform: none; } }

/* ===== 홈 맨 아래: 우리 동네 공인중개사 (ZERO 링 배경 · 2026-11-27) ===== */
.hm-ag { position: relative; margin: 56px calc(50% - 50vw) 0; padding: 96px 20px 104px; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 50% 40%, #1B2E6E 0%, #101A44 55%, #0A1030 100%); }
.hm-ag > .zero-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hm-ag-in { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; text-align: center; }
.hm-ag-k { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #8FB4FF; letter-spacing: .02em; }
.hm-ag h2 { margin: 0; font-size: 40px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; color: #fff; }
.hm-ag h2 em { font-style: normal; color: #7FB0FF; }
.hm-ag-s { margin: 16px 0 44px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.ag-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; text-align: left; }
.ag-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px; border-radius: 20px; background: #fff; color: #191F28; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); transition: transform .25s ease, box-shadow .25s ease; }
.ag-card:hover { transform: translateY(-6px); box-shadow: 0 32px 60px -20px rgba(47, 107, 246, .6); }
.ag-sample { position: absolute; top: 14px; right: 14px; padding: 2px 7px; border-radius: 6px; background: #F2F4F6; color: #8B95A1; font-size: 11px; font-weight: 700; }
.ag-top { display: flex; align-items: center; gap: 12px; }
.ag-av { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #E5E8EB; }
.ag-name { margin: 0; font-size: 13px; color: #8B95A1; }
.ag-name b { font-size: 18px; color: #191F28; margin-right: 2px; }
.ag-ok { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 5px; background: #2F6BF6; color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.ag-off { margin: 3px 0 0; font-size: 13px; color: #6B7684; }
.ag-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2px 0 0; padding: 12px 0; border-radius: 12px; background: #F6F8FB; text-align: center; }
.ag-stats div + div { border-left: 1px solid #E5E8EB; }
.ag-stats dt { font-size: 11.5px; color: #8B95A1; }
.ag-stats dd { margin: 3px 0 0; font-size: 16px; font-weight: 800; color: #191F28; }
.ag-stats dd small { font-size: 11px; font-weight: 600; color: #8B95A1; }
.ag-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ag-tags span { padding: 4px 8px; border-radius: 6px; background: #EEF3FE; color: #2456D6; font-size: 12.5px; font-weight: 700; }
.ag-promise { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: #333D4B; }
.ag-reg { margin: 0; font-size: 11.5px; color: #A0A9B4; }
.ag-btns { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; margin-top: auto; padding-top: 4px; }
.ag-btns a { display: grid; place-items: center; height: 42px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.ag-call { border: 1px solid #D5DBE3; color: #333D4B; }
.ag-info { background: #2F6BF6; color: #fff; }
.ag-call:hover { background: #F4F6F9; } .ag-info:hover { background: #1F58DE; }
.hm-ag-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.hm-ag-cta a { font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; }
.hm-ag-all { padding: 14px 26px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); }
.hm-ag-all:hover { background: rgba(255, 255, 255, .2); }
.hm-ag-join { align-self: center; color: #A9C6FF !important; }
@media (max-width: 1100px) { .ag-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .hm-ag { padding: 72px 0 76px; }
  .hm-ag h2 { font-size: 28px; }
  .hm-ag-s { font-size: 15px; margin-bottom: 28px; padding: 0 20px; }
  .ag-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 20px 16px; scrollbar-width: none; }
  .ag-list::-webkit-scrollbar { display: none; }
  .ag-card { flex: 0 0 82%; scroll-snap-align: center; }
  .hm-ag-cta { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .ag-card, .ag-card:hover { transition: none; transform: none; } }
.ag-top > div { padding-right: 34px; min-width: 0; }

/* ===== 홈 위 5칸: 더 또렷하게 (2026-11-27) ===== */
.hm2 { background: linear-gradient(180deg, #EDF2FB 0%, #F4F7FC 100%); }
.hm2-search { border-color: #C9D5E8; box-shadow: 0 6px 18px -12px rgba(28, 60, 140, .35); }
.hm2-box { border: 1px solid #C9D5E8; background: linear-gradient(160deg, #FFFFFF 0%, #F6F9FF 100%); box-shadow: 0 8px 22px -16px rgba(28, 60, 140, .45); overflow: hidden; }
.hm2-box::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; pointer-events: none; }
.hm2-box:hover { transform: translateY(-6px); border-color: #7FA4F5; box-shadow: 0 22px 40px -18px rgba(28, 60, 140, .5); }
.hm2-box:hover::after { transform: translateX(120%); }
.hm2-box:active { transform: translateY(-2px) scale(.99); }
/* 처음 열 때 하나씩 떠오르기 */
@keyframes hm2In { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hm2-box { animation: hm2In .55s cubic-bezier(.2,.7,.2,1) both; }
.hm2-box:nth-child(2) { animation-delay: .06s; } .hm2-box:nth-child(3) { animation-delay: .12s; } .hm2-box:nth-child(4) { animation-delay: .18s; } .hm2-box:nth-child(5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .hm2-box { animation: none; } .hm2-box::after { display: none; } }
.ag-stats { grid-template-columns: repeat(2, 1fr); }
.ag-stats dd { font-size: 15px; }
.ag-stats dd small { font-size: 11.5px; }
.ag-tags span { background: #F1F3F6; color: #4E5968; }
