/* ==========================================================================
   HOME PAGE HERO (index.php) — loaded after styles.css.
   ========================================================================== */
.rhh-wrap { width: calc(100% - 64px); max-width: 1320px; margin: 0 auto; }
.rhh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rhh-hero { background: radial-gradient(1200px 520px at 0% 0%, #fff4e6 0%, rgba(255, 244, 230, 0) 60%), #fbfaf8; padding: 36px 0 8px; }
.rhh-hero svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.rhh-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 40px; align-items: stretch; }
.rhh-hero-copy { padding: 8px 0 4px; min-width: 0; }

.rhh-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ea7a0c; }
.rhh-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: #F28C1B; }
.rhh-title { margin: 0; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; font-weight: 900; letter-spacing: -0.035em; color: #0f1d3a; }
.rhh-title span { color: #F07F12; }
.rhh-sub { margin: 16px 0 24px; font-size: clamp(15px, 1.35vw, 18px); color: #475569; font-weight: 500; max-width: 560px; }

/* Tabs */
.rhh-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid #e7e2da; border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.rhh-tabs::-webkit-scrollbar { display: none; }
.rhh-tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: transparent; color: #1e293b; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.rhh-tab svg { width: 19px; height: 19px; }
.rhh-tab:hover { background: #fff7ed; }
.rhh-tab.active { background: linear-gradient(180deg, #F79A2E 0%, #EE7F12 100%); color: #fff; box-shadow: 0 4px 12px rgba(238, 127, 18, 0.28); }
.rhh-tab:focus-visible { outline: 3px solid #0f172a; outline-offset: 2px; }

/* Search */
.rhh-search { display: flex; align-items: center; gap: 10px; margin-top: 14px; height: 60px; padding: 0 6px 0 18px; background: #fff; border: 1px solid #e2ddd4; border-radius: 14px; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05); max-width: 620px; transition: border-color .15s ease, box-shadow .15s ease; }
.rhh-search:focus-within { border-color: #F28C1B; box-shadow: 0 0 0 4px rgba(242, 140, 27, 0.14), 0 6px 18px rgba(15, 23, 42, 0.05); }
.rhh-search-ico { width: 20px; height: 20px; flex: 0 0 20px; color: #475569; }
.rhh-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: #0f172a; }
.rhh-search input::placeholder { color: #94a3b8; }
.rhh-search-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 26px; border: 0; border-radius: 10px; background: linear-gradient(180deg, #F79A2E 0%, #EE7F12 100%); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(238, 127, 18, 0.28); transition: filter .15s ease, transform .15s ease; }
.rhh-search-btn svg { width: 19px; height: 19px; stroke-width: 2.3; }
.rhh-search-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.rhh-search-btn:focus-visible { outline: 3px solid #0f172a; outline-offset: 2px; }

/* Locality chips */
.rhh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rhh-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid #e5e0d8; border-radius: 999px; background: #fff; color: #1e293b; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.rhh-chip svg { width: 15px; height: 15px; color: #475569; }
.rhh-chip:hover { border-color: #fbc58a; background: #fff7ed; color: #c2410c; }

/* Trust row */
.rhh-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; max-width: 640px; }
.rhh-trust li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rhh-trust-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #fff1e0; color: #ea7a0c; display: inline-flex; align-items: center; justify-content: center; }
.rhh-trust-ico svg { width: 20px; height: 20px; }
.rhh-trust strong { display: block; font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.rhh-trust small { display: block; font-size: 12.5px; color: #64748b; line-height: 1.35; }

/* Photo */
.rhh-hero-visual { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14); background: #e9e3da; }
.rhh-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rhh-badge { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); color: #0f172a; font-size: 13.5px; font-weight: 700; line-height: 1.25; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16); }
.rhh-badge-ico { width: 34px; height: 34px; border-radius: 50%; background: #F07F12; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.rhh-badge-ico svg { width: 18px; height: 18px; }

/* Three paths */
.rhh-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; background: #fff; border: 1px solid #ece7df; border-radius: 18px; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05); overflow: hidden; }
.rhh-path { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 28px; color: #0f172a; text-decoration: none; transition: background .15s ease; }
.rhh-path + .rhh-path::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #ece7df; }
.rhh-path:hover { background: #fffaf3; }
.rhh-path:focus-visible { outline: 3px solid #0f172a; outline-offset: -3px; border-radius: 18px; }
.rhh-path-ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #fff1e0; color: #ea7a0c; display: inline-flex; align-items: center; justify-content: center; }
.rhh-path-ico svg { width: 23px; height: 23px; }
.rhh-path strong { display: block; font-size: 17px; font-weight: 800; }
.rhh-path small { display: block; margin-top: 2px; font-size: 13.5px; color: #64748b; }

/* Ad carousel right under the paths, same compact look as Browse */
.rhh-ad { margin-top: 22px; margin-bottom: 8px; }
.rhh-ad .rh-ad-wrap { max-width: none; margin: 0; padding: 0; }
.rhh-ad .rh-ad-slider { border-radius: 18px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12); }
.rhh-ad .rh-ad-slide { min-height: 210px; }
.rhh-ad .rh-ad-content { max-width: 680px; padding: 44px 40px 44px 96px; }
.rhh-ad .rh-ad-title { font-size: clamp(22px, 2.6vw, 36px); margin-bottom: 8px; }
.rhh-ad .rh-ad-cta { background: linear-gradient(180deg, #F79A2E 0%, #EE7F12 100%); color: #fff; padding: 12px 24px; font-size: 15px; }
.rhh-ad .rh-ad-arrow { width: 40px; height: 40px; opacity: 1; transform: translateY(-50%) scale(1); }
.rhh-ad .rh-ad-arrow.prev { left: 22px; }
.rhh-ad .rh-ad-arrow.next { right: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rhh-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .rhh-hero-visual { min-height: 340px; }
  .rhh-search, .rhh-trust { max-width: none; }
}
@media (max-width: 760px) {
  .rhh-wrap { width: calc(100% - 32px); }
  .rhh-hero { padding-top: 22px; }
  .rhh-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; box-sizing: border-box; }
  .rhh-tab { height: 42px; padding: 0 6px; justify-content: center; font-size: 13.5px; }
  .rhh-tab svg { display: none; }
  .rhh-search { height: auto; flex-wrap: wrap; padding: 8px; gap: 8px; }
  .rhh-search-ico { margin-left: 8px; }
  .rhh-search input { height: 44px; }
  .rhh-search-btn { width: 100%; justify-content: center; height: 46px; }
  .rhh-trust { grid-template-columns: 1fr; gap: 12px; }
  .rhh-hero-visual { min-height: 260px; border-radius: 18px; }
  .rhh-badge { top: 12px; right: 12px; font-size: 12.5px; }
  .rhh-paths { grid-template-columns: 1fr; }
  .rhh-path { padding: 16px 18px; }
  .rhh-path + .rhh-path::before { left: 18px; right: 18px; top: 0; bottom: auto; width: auto; height: 1px; }
  .rhh-ad .rh-ad-content { padding: 30px 22px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .rhh-tab, .rhh-search-btn, .rhh-chip, .rhh-path { transition: none; }
}

/* Original search bar + quick links (kept from the previous homepage) */
.rhh-oldsearch { margin-top: 4px; max-width: 640px; }
.rhh-oldsearch .rh-hero-chips { flex-wrap: nowrap; gap: 8px; margin: 14px 0 0; }
.rhh-oldsearch .rh-chip { white-space: nowrap; }
@media (max-width: 1240px) {
  .rhh-oldsearch .rh-chip { padding-left: 11px; padding-right: 11px; }
}
@media (max-width: 760px) {
  .rhh-oldsearch .rh-hero-chips { flex-wrap: wrap; }
}

/* Mobile polish (2026-10-15) */
@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  .rhh-hero { padding: 18px 0 4px; }
  .rhh-eyebrow, .rhh-badge { display: none; }
  .rhh-title { font-size: 40px; line-height: 1.05; }
  .rhh-sub { font-size: 16px; margin: 12px 0 18px; }
  .rhh-hero-copy { text-align: left; }
  .rhh-oldsearch .rh-hero-search-box { height: 58px; border-radius: 999px; }
  .rhh-oldsearch .rh-hero-search-box input { font-size: 15px; text-overflow: ellipsis; }
  .rhh-oldsearch .rh-hero-search-box input::placeholder { font-size: 15px; text-overflow: ellipsis; }
  .rhh-oldsearch .rh-hero-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 8px; margin: 14px 0 0; padding-bottom: 4px; scrollbar-width: none; }
  .rhh-oldsearch .rh-hero-chips::-webkit-scrollbar { display: none; }
  .rhh-oldsearch .rh-chip { flex: 0 0 auto; white-space: nowrap; }
  .rhh-oldsearch .rh-chip:last-child:nth-child(4) { display: none; }
  .rhh-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .rhh-trust li { flex-direction: column; text-align: center; gap: 6px; }
  .rhh-trust small { display: none; }
  .rhh-trust strong { font-size: 12.5px; }
  .rhh-hero-visual { min-height: 0; aspect-ratio: 4 / 3; border-radius: 18px; }
  .rhh-paths { margin-top: 18px; }
}
@media (max-width: 640px) {
  .rhh-oldsearch .rh-chip { padding: 0 11px; font-size: 13px; height: 38px; }
  .rhh-oldsearch .rh-chip svg { margin-right: 4px !important; width: 14px; height: 14px; }
  .rhh-oldsearch .rh-hero-chips { gap: 6px; }
  .rhh-trust { margin-top: 22px; margin-bottom: 4px; }
}
