/* 리호클린 홈 v2 (2026-10-26, 목업 01·02 구성 + 지금 딥그린·라임 색) */
.h2 { --ink: #102f27; --ink2: #3c5a51; --deep: #0b3b2c; --lime: #c9e66e; --ivory: #f7f6f0; --sage: #eef1e8; --line: #dfe3d6; background: var(--ivory); color: var(--ink); font-family: Pretendard, "Noto Sans KR", Arial, sans-serif; word-break: keep-all; }
.h2 *, .h2 *::before, .h2 *::after { box-sizing: border-box; }
.h2 a { text-decoration: none; }
.h2-shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.h2-kicker { margin: 0 0 10px; color: #2f7a52; font-size: .86rem; font-weight: 800; letter-spacing: .02em; }
.h2 h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; }

/* 히어로: 오른쪽 따뜻한 공간 사진, 왼쪽 글 — 사진 위 글자 상자 없음 */
.h2-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 560px; background: var(--ivory); overflow: hidden; }
.h2-hero__photo { position: absolute; inset: 0 0 0 42%; }
.h2-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h2-hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ivory) 0%, rgba(247,246,240,.0) 28%); z-index: 1; }
.h2-hero__copy { position: relative; z-index: 2; padding: 84px 0 72px; }
.h2-hero__copy > * { max-width: 520px; }
.h2-hero h1 { margin: 0 0 18px; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 900; color: var(--deep); }
.h2-hero h1 em { font-style: normal; color: #2f7a52; }
.h2-lead { margin: 0 0 28px; color: var(--ink2); font-size: 1.06rem; line-height: 1.75; }
.h2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.h2-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; background: var(--deep); color: #fff; font-weight: 800; }
.h2-btn:hover, .h2-btn:focus-visible { background: #0f4a37; color: #fff; }
.h2-signals { display: flex; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--ink2); font-size: .9rem; font-weight: 700; }
.h2-signals b { margin-right: 6px; color: #2f7a52; }
.h2-note { margin: 14px 0 0; color: #7b8a83; font-size: .76rem; }

/* 지역 찾기: 히어로 아래 한 줄 바(기존 폼 재사용) */
.h2 .rr-finder { background: transparent; padding: 0; margin: -36px 0 0; position: relative; z-index: 3; }
.h2 .rr-finder__layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: center; width: min(1200px, calc(100% - 40px)); margin-inline: auto; padding: 26px 30px; border-radius: 20px; background: var(--sage); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,47,39,.08); }
.h2 .rr-finder__layout h2 { font-size: 1.3rem; }
.h2 .rr-finder__layout p:not(.rr-kicker) { display: none; }
.h2 .rr-finder .rr-kicker { margin: 0 0 6px; color: #2f7a52; font-size: .82rem; font-weight: 800; }
.h2 .rr-finder__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.h2 .rr-finder__form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink2); }
.h2 .rr-finder__form select { min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .95rem; }
.h2 .rr-finder__form button { min-height: 50px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--deep); color: #fff; font-weight: 800; cursor: pointer; }

/* 섹션 공통 */
.h2-sec { padding: 88px 0; }
.h2-sec--tint { background: var(--sage); }
.h2-head { margin-bottom: 30px; max-width: 760px; }
.h2-head > p:not(.h2-kicker) { margin: 12px 0 0; color: var(--ink2); line-height: 1.7; }
.h2-head--row { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 20px; }
.h2-more { color: var(--deep); font-weight: 800; white-space: nowrap; }
.h2-grid { display: grid; gap: 20px; }
.h2-grid--2 { grid-template-columns: repeat(2, 1fr); }
.h2-grid--3 { grid-template-columns: repeat(3, 1fr); }
.h2-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 사진 카드: 사진 아래 글(사진 위 글자 상자 없음) */
.h2-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.h2-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9ebe2; }
.h2-grid--2 .h2-card__img { aspect-ratio: 16 / 9; }
.h2-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.h2-card__body { position: relative; display: grid; gap: 6px; padding: 18px 48px 20px 20px; }
.h2-card__body strong { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.h2-card__body span { color: var(--ink2); font-size: .92rem; line-height: 1.55; }
.h2-card__body i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font-style: normal; font-weight: 900; font-size: .85rem; }
.h2-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(16,47,39,.12); }
.h2-card:hover .h2-card__img img { transform: scale(1.04); }
.h2-card:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }

/* 청소 범위 */
.h2-scope { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.h2-scope .h2-head { margin: 0; }
.h2-scope__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.h2-scope__box { padding: 26px; border-radius: 20px; background: var(--deep); color: #fff; }
.h2-scope__box--line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.h2-scope__box h3 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 800; color: var(--lime); }
.h2-scope__box--line h3 { color: #2f7a52; }
.h2-scope__box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.h2-scope__box li { position: relative; padding-left: 22px; font-weight: 600; }
.h2-scope__box li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.h2-scope__box--line li::before { background: transparent; border: 2px solid #9fb59a; }

/* 상담 흐름 */
.h2-sec--deep { background: var(--deep); color: #fff; }
.h2-sec--deep .h2-kicker { color: var(--lime); }
.h2-flow { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; }
.h2-steps { margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.h2-steps li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.h2-steps b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font-size: .85rem; }
.h2-steps strong { font-size: 1.02rem; }
.h2-steps span { color: #c9d6cf; font-size: .9rem; line-height: 1.6; }
.h2-flow__art { margin: 0; justify-self: center; }
.h2-flow__art img { width: min(300px, 100%); height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }

/* FAQ(기존 마크업 재사용) */
.h2 .rr-faq { padding: 88px 0; background: var(--sage); }

/* 마지막 상담 */
.h2-final { padding: 72px 0; background: linear-gradient(120deg, #0b3b2c, #12503b); color: #fff; }
.h2-final__in { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.h2-final .h2-kicker { color: var(--lime); }
.h2-final p:not(.h2-kicker) { margin: 12px 0 0; color: #c9d6cf; max-width: 560px; line-height: 1.7; }

@media (max-width: 1024px) {
  .h2-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .h2-scope, .h2-flow { grid-template-columns: 1fr; }
  .h2-flow__art { display: none; }
}
@media (max-width: 820px) {
  .h2-hero { min-height: 0; }
  .h2-hero__photo { position: relative; inset: auto; height: 260px; order: -1; }
  .h2-hero__photo::before { background: linear-gradient(0deg, var(--ivory) 0%, rgba(247,246,240,0) 40%); }
  .h2-hero__copy { padding: 8px 0 56px; }
  .h2-signals { flex-wrap: wrap; gap: 10px 18px; }
  .h2 .rr-finder { margin: 0; }
  .h2 .rr-finder__layout { grid-template-columns: 1fr; padding: 22px 18px; gap: 14px; }
  .h2 .rr-finder__form { grid-template-columns: 1fr; }
  .h2-sec, .h2 .rr-faq { padding: 60px 0; }
  .h2-grid--2, .h2-grid--3 { grid-template-columns: 1fr; }
  .h2-steps { grid-template-columns: 1fr; }
  .h2-scope__cols { grid-template-columns: 1fr; }
  .h2-head--row { flex-direction: column; align-items: start; }
  .h2-final__in { flex-direction: column; align-items: start; }
}
@media (max-width: 480px) {
  .h2-grid--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .h2-grid--4 .h2-card__body { padding: 12px 12px 14px; }
  .h2-grid--4 .h2-card__body span { display: none; }
  .h2-grid--4 .h2-card__body i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .h2-card, .h2-card__img img { transition: none; } }
/* 홈 래퍼(.riho-renewal a {color:inherit}, 기존 rr-finder 어두운 배경 색) 덮어쓰기 */
.h2 a.h2-btn, .h2 a.h2-btn:visited { color: #fff !important; }
.h2 .rr-finder h2, .h2 .rr-finder h2 em { color: var(--deep) !important; }
.h2 .rr-finder h2 em { color: #2f7a52 !important; font-style: normal; }
.h2 .rr-finder .rr-kicker { color: #2f7a52 !important; }
.h2 .rr-finder__form label { color: var(--ink2) !important; }
@media (min-width: 821px) { .h2 .rr-finder__form { grid-template-columns: 1fr 1fr auto !important; } .h2 .rr-finder__form button { width: auto !important; grid-column: auto !important; } }
.h2 .rr-faq { background: transparent !important; }
.h2 .rr-faq > * { background: transparent !important; }
.h2-flow__art img { border-radius: 22px; }
.h2-hero .h2-actions a.tel-btn { min-height: 52px; }
.h2 .rr-faq { padding-top: 16px !important; }
.h2 .rr-finder__form button { display: flex !important; align-items: center; justify-content: center; gap: 10px; padding-top: 0 !important; padding-bottom: 0 !important; }
/* 청소 범위: 왼쪽 글을 키우고 두 상자와 세로 가운데 정렬 */
.h2-scope { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 56px; }
.h2-scope .h2-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.h2-scope .h2-head > p:not(.h2-kicker) { font-size: 1.05rem; }
.h2-scope__box { padding: 32px 30px; min-height: 250px; }
.h2-scope__box li { font-size: 1.04rem; }
/* 아주 넓은 화면(2560 등): 히어로를 1920 안에 두어 사진이 늘어나지 않게 */
.h2-hero { max-width: 1920px; margin-inline: auto; }
@media (min-width: 1921px) { .h2 { background: var(--ivory); } .h2-hero__photo { border-radius: 0 0 0 28px; overflow: hidden; } }
@media (min-width: 1921px) { .h2-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, var(--ivory) 0%, rgba(247,246,240,0) 16%); z-index: 1; } }
/* 옛 떠 있는 헤더용 래퍼 위 여백 30px 제거(헤더 위 빈 띠) */
.riho-renewal { padding-top: 0 !important; }
