/* Home page: cream hero with the Asunción collage, overlapping search panel, listing cards. */
.home-page { --home-ink: #243f34; --home-accent: #c66540; --home-cream: #fcf6ef; background: var(--home-cream); }
.home-page .header { border-color: #3a4e3e1f; }

.home-hero { position: relative; isolation: isolate; background: radial-gradient(circle at 16% 37%, #fffdf9 0%, #fcf4eb 58%, #f8eee3 100%); overflow: hidden; }
/* Copy and collage share the page grid (42/58). The collage's transparent left edge runs under the
   copy column, and its right edge may pass the grid by one gutter, never more. */
.home-hero-inner { display: grid; grid-template-columns: 42fr 58fr; min-height: clamp(480px, 37vw, 540px); }
.home-hero-copy { position: relative; z-index: 1; padding-top: clamp(56px, 5.4vw, 84px); padding-bottom: 60px; pointer-events: none; }
.home-hero-art { position: relative; z-index: 0; pointer-events: none; }
.home-hero-art img { position: absolute; right: -40px; bottom: 0; width: calc(145% + 40px); max-width: none; height: auto; filter: saturate(.93) contrast(.99); user-select: none; }
/* On wide screens only the collage breaks out of the grid: it is sized on the viewport and ends at its
   right edge, while copy and search stay in the centred container. */
@media (min-width: 1181px) {
  .home-hero-inner { display: block; min-height: clamp(520px, calc(min(75vw, 1450px) * .3475 + 90px), 600px); }
  .home-hero-copy { max-width: 42%; }
  .home-hero-art { position: static; }
  .home-hero-art img { right: 0; width: min(75vw, 1450px); }
}
.home-eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 30px; color: var(--home-ink); font-size: 12px; font-weight: 750; letter-spacing: .27em; text-transform: uppercase; }
.home-eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--home-accent); }
.home-hero h1 { max-width: 600px; margin: 0; color: var(--home-ink); font-size: clamp(44px, 4.2vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -.055em; }
.home-hero h1 em { font-family: inherit; font-style: normal; font-weight: inherit; color: var(--home-accent); }
.home-lead { max-width: 400px; margin: 24px 0 0; color: #34473f; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; letter-spacing: -.02em; }

/* Native controls keep the search usable without JavaScript and give phones their own date pickers. */
.home-search-wrap { position: relative; z-index: 5; margin-top: -36px; }
.home-search { display: grid; grid-template-columns: 1.1fr 1.45fr .85fr auto; align-items: stretch; padding: 12px 14px; background: #fffffffa; border: 1px solid #1b352a0d; border-radius: 22px; box-shadow: 0 16px 32px #302a2221, 0 3px 8px #302a2206; }
.home-search > * { min-width: 0; }
.search-field { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 10px 22px; color: var(--home-ink); border-radius: 12px; cursor: pointer; }
.search-field:not(:nth-child(3))::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 46px; transform: translateY(-50%); background: #e5e6e3; }
.search-field:hover, .search-field:focus-within { background: #f8f6f2; }
.search-field > .icon { width: 24px; height: 24px; }
.search-field > .icon:last-child:not(:first-child) { width: 15px; height: 15px; margin-left: auto; transform: rotate(90deg); pointer-events: none; }
.search-control { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.search-dates { gap: 14px; }
.search-dates .search-control + .search-control { padding-left: 14px; border-left: 1px solid #eeeeea; }
.field-label { font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.search-control select, .search-control input { width: 100%; min-width: 0; height: 24px; margin-top: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #6a716d; font-size: 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.search-control input::placeholder { color: #8b918d; }
.search-control input[type=date] { min-height: 24px; }
.search-control input[type=date]::-webkit-date-and-time-value { text-align: left; }
.search-control input[type=number]::-webkit-inner-spin-button { opacity: .5; }
.search-control select:focus-visible, .search-control input:focus-visible { outline: 2px solid #d19a71; outline-offset: 4px; border-radius: 3px; }
.search-submit { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 230px; padding: 15px 24px; border: 0; border-radius: 13px; background: var(--home-ink); color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; transition: background .18s, transform .18s; }
.search-submit:hover { background: #315b46; transform: translateY(-1px); }
.search-submit .icon { width: 18px; height: 18px; }
.search-more { grid-column: 1 / -1; margin: 6px 8px 0; padding-top: 8px; border-top: 1px solid #f0eee9; font-size: 13px; color: #586761; }
.search-more summary { width: max-content; padding: 4px 0; cursor: pointer; font-weight: 600; }
.search-more-fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; padding: 10px 0 8px; }
.search-more-fields label { display: grid; gap: 6px; font-weight: 600; color: var(--home-ink); }
.search-more-fields input, .search-more-fields select { width: 100%; height: 42px; border-color: #deded9; border-radius: 9px; }

.home-listings { padding: 70px 0 72px; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-accent { display: block; width: 30px; height: 2px; margin-bottom: 22px; background: var(--home-accent); }
.home-section-head h2 { margin: 0; color: var(--home-ink); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.16; font-weight: 650; letter-spacing: -.045em; }
.home-section-head .muted { margin: 8px 0 0; font-size: 13px; }
.view-all { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; color: var(--home-ink); font-size: 15px; font-weight: 650; white-space: nowrap; }
.view-all:hover { color: var(--home-accent); text-decoration: none; }
.view-all .icon { width: 18px; height: 18px; }
.home-page .empty { background: #fff; border: 1px solid var(--line); border-radius: 18px; }

.home-band { padding: 34px 0; background: #eaf0e8; }
.home-band-host { background: #f8f2e8; }
.home-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-band h2 { margin: 0 0 6px; color: var(--home-ink); font-size: 24px; font-weight: 650; letter-spacing: -.04em; }
.home-band p { margin: 0; color: #556b5c; font-size: 15px; }
.band-link { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid #829e8c; border-radius: 9px; color: var(--home-ink); font-size: 15px; font-weight: 650; white-space: nowrap; }
.band-link:hover { background: #ffffff80; text-decoration: none; }
.band-link .icon { width: 17px; height: 17px; }
.home-notes { padding-top: 60px; padding-bottom: 40px; }
.home-barrios { padding: 70px 0 40px; }
.home-listings + .home-barrios { padding-top: 10px; }
.home-section-head h2 span { color: #42694c; }
.home-section-lead { max-width: 560px; margin: 12px 0 0; color: #4c5f55; font-size: 16px; line-height: 1.6; }
.barrios-count { margin: 0; padding-bottom: 6px; color: #5b6a62; font-size: 14px; white-space: nowrap; }
.barrios-count strong { color: var(--home-ink); font-size: 18px; font-weight: 650; margin-right: 4px; }

@media (max-width: 1050px) {
  .home-hero-inner { grid-template-columns: 46fr 54fr; }
  .home-hero-art img { right: -24px; width: calc(150% + 24px); }
  .search-field { padding-inline: 13px; gap: 10px; }
  .search-submit { min-width: 0; padding-inline: 18px; }
}
/* Below 900px the hero stacks: story, then collage, then the search card overlapping it. */
@media (max-width: 900px) {
  .home-hero { min-height: 0; background: linear-gradient(155deg, #fffdf9 0%, #fcf4eb 72%, #f7ecdf 100%); }
  .home-hero-inner { display: block; min-height: 0; }
  .home-hero-copy { padding-top: 42px; padding-bottom: 0; }
  .home-hero h1 { font-size: clamp(38px, 7.4vw, 58px); max-width: 520px; }
  .home-lead { margin-top: 18px; }
  .home-eyebrow { margin-bottom: 22px; }
  .home-hero-art { height: clamp(200px, 50vw, 440px); margin: 8px calc(50% - 50vw) 0; overflow: hidden; }
  .home-search-wrap { margin-top: -22px; }
  .home-hero-art img { width: 135%; right: -16%; bottom: -2px; max-width: none; border-radius: 0; }
  .home-search { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: 12px; }
  .search-field::after { display: none; }
  .search-field { min-height: 66px; }
  .search-field:first-child, .search-dates { grid-column: 1 / -1; }
  .search-field:first-child { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
  .search-dates { border-bottom: 1px solid var(--line); border-radius: 0; }
  .search-submit { min-height: 56px; margin-left: 8px; }
  .search-more-fields { grid-template-columns: 1fr 1fr; }
  .search-more-fields label:first-child { grid-column: 1 / -1; }
  .home-listings { padding-top: 56px; }
  }
@media (max-width: 600px) {
  .home-hero-copy { padding-top: 34px; }
  .home-eyebrow { gap: 10px; margin-bottom: 18px; font-size: 10px; letter-spacing: .18em; }
  .home-eyebrow::before { width: 9px; height: 9px; }
  .home-hero h1 { font-size: clamp(36px, 10.2vw, 48px); }
  .home-lead { max-width: 330px; margin-top: 14px; font-size: 16px; }
  .home-hero-art { height: clamp(200px, 62vw, 320px); }
  .home-hero-art img { width: 165%; right: -22%; }
  .home-search-wrap { margin-top: -16px; }
  .home-search { grid-template-columns: minmax(0, 1fr); border-radius: 19px; }
  .search-field { min-height: 60px; padding: 8px 10px; }
  .search-field:nth-child(3) { border-bottom: 1px solid var(--line); border-radius: 0; }
  .search-field > .icon { width: 21px; height: 21px; }
  .field-label { font-size: 14px; }
  .search-submit { height: 52px; min-height: 0; margin: 10px 0 0; }
  .search-more { margin-inline: 4px; }
  .search-more-fields { grid-template-columns: 1fr; gap: 12px; }
  .home-listings { padding: 46px 0 52px; }
  .home-section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .section-accent { margin-bottom: 13px; }
  .home-section-head h2 { font-size: 28px; }
  .home-band { padding: 30px 0; }
  .home-band-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .home-band h2 { font-size: 22px; }
  .home-notes { padding-top: 44px; }
  .home-barrios { padding-top: 46px; }
  .home-section-lead { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .search-submit, 