/* 리호클린 홈 레이아웃·접근성 정밀 보정 (2026-11-24)
   rc-forest.css의 딥 포레스트 & 샴페인 골드 토큰을 그대로 공유해 홈 전 섹션·하위 페이지 색감 충돌을 완전히 해소한다. */
.riho-home-review {
  --review-forest: var(--f-gd, #0A241B);
  --review-forest-deep: var(--f-gx, #061812);
  --review-emerald: var(--f-g, #134434);
  --review-ink: var(--f-ink, #13231D);
  --review-copy: var(--f-mut, #46564F);
  --review-paper: var(--f-paper, #FAF8F3);
  --review-cream: var(--f-cream, #F2EDE2);
  --review-line: var(--f-line, #DED8C8);
  --review-gold: var(--f-gold, #DEC68D);
  --review-gold-hi: var(--f-gold-hi, #EAD7A8);
  --review-white: #FAF8F3;
  --review-radius: 10px;
  --review-gutter: clamp(18px, 4vw, 48px);
  --review-shell: min(calc(100% - 2 * var(--review-gutter)), 1200px);
  background: var(--review-paper);
}

.riho-home-review main.h2--scene {
  background: var(--review-paper) !important;
}

/* 히어로 레이아웃·비율·가독성 */
.riho-home-review .h2--scene .h2-hero--scene {
  min-height: 580px;
  background: var(--review-forest) !important;
}

.riho-home-review main.h2--scene .h2-hero--scene .h2-hero__photo::before {
  background:
    linear-gradient(90deg, #0A241B 0%, rgba(10, 36, 27, 0.95) 24%, rgba(10, 36, 27, 0.80) 40%, rgba(10, 36, 27, 0.28) 64%, rgba(10, 36, 27, 0) 80%) !important;
}

.riho-home-review .h2--scene .h2-hero__copy {
  width: var(--review-shell);
  padding-block: 68px 76px;
}

.riho-home-review .h2--scene .h2-hero .h2-kicker {
  margin-bottom: 18px;
}

.riho-home-review .h2--scene .h2-hero h1 {
  font-size: clamp(36px, 4.5vw, 62px) !important;
  letter-spacing: -0.03em;
}

.riho-home-review .h2--scene .h2-hero .h2-lead {
  max-width: 480px;
  color: #E3EAE6 !important;
  font-size: 17px;
  line-height: 1.75;
}

.riho-home-review .h2-hero .h2-lead .nw {
  white-space: normal;
}

.riho-home-review .h2--scene .h2-hero .h2-signals {
  margin-top: 28px;
}

.riho-home-review .h2--scene .h2-hero .h2-actions {
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
}

.riho-home-review .h2--scene .h2-hero .h2-actions > a {
  width: auto;
  min-width: min(100%, 226px);
  min-height: 62px;
  box-sizing: border-box;
}

.riho-home-review .h2-actions .tel-btn {
  padding-inline: 26px !important;
}

.riho-home-review .h2-actions .tel-btn .tel-l {
  font-size: 17px !important;
}

.riho-home-review .h2--scene .h2-hero .h2-actions .h2-btn {
  justify-content: space-between;
  padding-inline: 22px !important;
}

/* 지역 찾기 섹션 */
.riho-home-review .riho-renewal .rr-finder {
  scroll-margin-top: 84px;
}

.riho-home-review .rr-finder .rr-finder__layout {
  width: var(--review-shell);
}

.riho-home-review .riho-renewal .rr-finder__form select {
  min-width: 0;
}

/* 서비스·자주 묻는 가이드 카드 그리드 */
.riho-home-review .h2--scene .sc-cards {
  padding: clamp(44px, 5.5vw, 80px) 0 0 !important;
}

.riho-home-review .h2--scene .sc-cards + .sc-cards {
  padding: clamp(28px, 3.8vw, 52px) 0 clamp(48px, 6vw, 84px) !important;
}

.riho-home-review .h2--scene .sc-cards .h2-shell {
  width: var(--review-shell);
}

.riho-home-review .h2--scene .sc-cards + .sc-cards .h2-shell {
  padding-top: clamp(26px, 3.2vw, 44px);
  border-top: 1px solid var(--review-line);
}

.riho-home-review .h2--scene .sc-cards .h2-head {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.riho-home-review .h2--scene .sc-cards .h2-head h2 {
  font-size: clamp(26px, 3vw, 42px) !important;
  line-height: 1.26;
  word-break: keep-all;
}

.riho-home-review .h2--scene .sc-grid6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 36px) clamp(14px, 2.2vw, 26px);
}

.riho-home-review .h2--scene .sc-cards .h2-card__img {
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  background: var(--review-cream);
  border-radius: var(--review-radius);
}

.riho-home-review .h2--scene .sc-cards .h2-card__img img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  object-fit: cover;
  border-radius: 0 !important;
}

.riho-home-review .h2--scene .sc-cards .h2-card__body {
  padding: 14px 2px 0 !important;
}

.riho-home-review .h2--scene .sc-cards .h2-card__body :is(strong, span) {
  display: block;
  overflow: visible;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.riho-home-review .h2--scene .sc-cards .h2-card__body strong {
  font-size: clamp(17px, 1.65vw, 22px) !important;
  line-height: 1.4;
}

.riho-home-review .h2--scene .sc-cards .h2-card__body span {
  font-size: clamp(15px, 1.15vw, 16.5px) !important;
  line-height: 1.56;
}

.riho-home-review .h2--scene .sc-cards .h2-card:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--review-gold);
  text-underline-offset: 0.24em;
}

/* 하단 최종 상담 배너 */
.riho-home-review .h2--scene .h2-final {
  width: var(--review-shell);
  margin: clamp(32px, 4vw, 56px) auto 0 !important;
  padding: clamp(36px, 4vw, 58px) clamp(28px, 4.2vw, 60px) !important;
  border-radius: 16px 16px 0 0 !important;
  background:
    linear-gradient(90deg, #0A241B 0%, rgba(10, 36, 27, 0.94) 38%, rgba(10, 36, 27, 0.62) 66%, rgba(10, 36, 27, 0.14) 100%),
    var(--review-forest) url(/assets/scene/riho-band-v1-1600.webp) right center / cover no-repeat !important;
}

.riho-home-review .h2--scene .h2-final h2 {
  font-size: clamp(26px, 2.8vw, 40px) !important;
  text-wrap: balance;
  word-break: keep-all;
}

.riho-home-review .h2--scene .h2-final a.tel-btn {
  min-width: min(100%, 256px) !important;
  min-height: 64px;
  margin-top: 24px;
  padding: 12px 28px !important;
  box-sizing: border-box;
}

.riho-home-review .h2--scene .h2-final a.tel-btn .tel-l {
  font-size: 17px !important;
}

/* 전국 16개 시·도 지역 안내 띠 */
.riho-home-review .rg-home-band {
  padding: clamp(36px, 4.5vw, 64px) 0;
  background: var(--review-cream);
  color: var(--review-ink);
  border-top: 1px solid var(--review-line);
}

.riho-home-review .rg-home-band__in {
  width: var(--review-shell);
}

.riho-home-review .rg-home-band .rg-home-band__k {
  color: var(--f-gold-deep, #8B6D2E);
  letter-spacing: 0.05em;
}

.riho-home-review .rg-home-band h2 {
  color: var(--review-forest);
}

.riho-home-review .rg-home-band p {
  color: var(--review-copy);
}

.riho-home-review .rg-home-band__chips {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.riho-home-review .rg-home-band .rg-home-band__chips a {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 6px 4px;
  background: #FFFFFF;
  color: var(--review-forest);
  border: 1px solid var(--review-line);
  border-radius: var(--review-radius);
  opacity: 1;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(6, 24, 18, 0.04);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--f-ease);
}

.riho-home-review .rg-home-band .rg-home-band__chips a:hover,
.riho-home-review .rg-home-band .rg-home-band__chips a:focus-visible {
  background: var(--review-forest);
  color: var(--review-gold-hi);
  border-color: var(--review-forest);
  transform: translateY(-2px);
}

.riho-home-review .rg-home-band .rg-home-band__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 248px);
  min-height: 50px;
  border-radius: 999px !important;
  background: var(--review-forest) !important;
  color: var(--review-gold-hi) !important;
  font-weight: 700;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--f-ease);
}

.riho-home-review .rg-home-band .rg-home-band__go:hover {
  background: var(--review-emerald) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* 홈 바닥글 4열 정렬 */
.riho-home-review .riho-renewal {
  padding-bottom: 0;
}

.riho-home-review .riho-renewal .rr-footer {
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 36px 0 28px !important;
}

.riho-home-review .rr-footer .cb-footcols {
  flex: none;
  width: var(--review-shell);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 0.85fr) minmax(0, 1.25fr);
  grid-auto-flow: row;
  align-items: start;
  gap: 18px 28px;
  padding: 0 0 18px;
}

.riho-home-review .rr-footer .cb-footcall {
  grid-column: auto;
  min-width: 0;
  padding: 0;
}

.riho-home-review .rr-footer .cb-footcall a {
  width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
}

.riho-home-review .rr-footer > :is(strong, span) {
  width: var(--review-shell);
  margin-inline: auto;
}

/* 반응형 브레이크포인트 */
@media (max-width: 1000px) {
  .riho-home-review .rg-home-band__chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .riho-home-review .rr-footer .cb-footcols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .riho-home-review .h2--scene .h2-hero--scene {
    min-height: 0;
  }

  .riho-home-review .h2--scene .h2-hero--scene .h2-hero__photo {
    width: 100% !important;
    height: clamp(210px, 56vw, 380px) !important;
  }

  .riho-home-review main.h2--scene .h2-hero--scene .h2-hero__photo::before {
    background: linear-gradient(0deg, #0A241B 0%, rgba(10, 36, 27, 0) 32%) !important;
  }

  .riho-home-review .h2--scene .h2-hero__copy {
    margin-top: -12px;
    padding-block: 16px 32px;
  }

  .riho-home-review .h2--scene .h2-hero h1 {
    font-size: clamp(32px, 8.8vw, 48px) !important;
  }

  .riho-home-review .h2--scene .h2-hero .h2-actions {
    flex-direction: column;
    gap: 10px;
  }

  .riho-home-review .h2--scene .h2-hero .h2-actions > a {
    width: 100%;
    min-height: 56px;
  }

  .riho-home-review .h2--scene .h2-hero .h2-signals {
    margin-top: 22px;
  }

  .riho-home-review .h2--scene .sc-grid6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .riho-home-review .h2--scene .h2-final {
    padding: 30px 20px 0 !important;
    background: var(--review-forest) !important;
  }

  .riho-home-review .h2--scene .h2-final::after {
    content: "";
    display: block;
    height: clamp(150px, 43vw, 245px);
    margin: 18px -20px 0;
    background:
      linear-gradient(180deg, #0A241B 0%, rgba(10, 36, 27, 0) 30%),
      url(/assets/scene/riho-band-v1-m-820.webp) center 62% / cover no-repeat;
  }

  .riho-home-review .h2--scene .h2-final a.tel-btn {
    min-height: 56px;
    min-width: 0 !important;
  }

  .riho-home-review .rg-home-band .rg-home-band__go {
    width: 100%;
  }

  .riho-home-review .rr-footer .cb-footcols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .riho-home-review .rr-footer .cb-footcall {
    padding-block: 14px 6px;
  }

  .riho-home-review .rr-footer .cb-footcall > p {
    margin-bottom: 8px;
  }

  .riho-home-review .rr-footer .cb-footcall a {
    max-width: 340px;
  }

  .riho-home-review .riho-renewal .rr-footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 359px) {
  .riho-home-review .h2--scene .sc-grid6 {
    grid-template-columns: 1fr;
  }
  .riho-home-review .rg-home-band__chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
