/* ============================================================
   WILDWOOD RENTAL HUB — Homepage / Directory Styles (home.css)
   Loaded only on index.html alongside style.css
   ============================================================ */

/* ── Section utilities ──────────────────────────────────────── */
.section--tight  { padding: 56px 0; }
.section--gray   { background: var(--bg); }

/* ── Section headings ───────────────────────────────────────── */
.dir-section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.2;
}
.dir-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dir-section-head .dir-section-title { margin-bottom: 0; }
.dir-view-all {
  font-size: .9rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  transition: color var(--transition);
}
.dir-view-all:hover { color: var(--navy); }

/* ── Hero ───────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background: #0a2240;
  overflow: hidden;
}

/* Carousel slides */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
}

/* Dot navigation */
.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, transform .3s ease;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.hero-dot:hover { background: rgba(255,255,255,.75); }
.home-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,34,64,.38) 0%, rgba(10,34,64,.55) 100%);
}
.home-hero__content {
  position: relative; z-index: 1;
  width: 100%;
  padding: 56px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-hero__content h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.home-hero__content > p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 28px;
}

/* ── Hero Search Form ───────────────────────────────────────── */
.home-search {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  padding: 20px 20px 16px;
  max-width: 900px;
  width: 100%;
}
.home-search__row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.home-search__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 120px;
}
.home-search__field label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.home-search__field select,
.home-search__field input[type="date"] {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 9px 12px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  width: 100%;
  transition: border-color var(--transition);
}
.home-search__field select:focus,
.home-search__field input[type="date"]:focus {
  outline: none;
  border-color: var(--teal);
}
.home-search__btn {
  flex-shrink: 0;
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 800;
}
.home-search__checks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.check-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.check-toggle input { accent-color: var(--teal); width: 16px; height: 16px; cursor: pointer; }
.home-search__adv {
  margin-left: auto;
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal);
  transition: color var(--transition);
}
.home-search__adv:hover { color: var(--navy); }

/* ── Category Grid ──────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  background: var(--surface);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
}
.cat-card:hover .cat-card__img { transform: scale(1.04); }
.cat-card__body {
  padding: 16px 18px;
}
.cat-card__body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.cat-card__body p {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* ── Directory Listing Grid ─────────────────────────────────── */
.dir-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dir-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dir-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.dir-card__img-wrap {
  position: relative;
  overflow: hidden;
}
.dir-card__img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.dir-card:hover .dir-card__img-wrap img { transform: scale(1.05); }
.dir-card__badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.dir-card__body {
  padding: 16px 18px 18px;
}
.dir-card__body h3 {
  font-size: .98rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.dir-card__loc {
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}
.dir-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.dir-card__price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}
.dir-card__price strong {
  color: var(--navy);
  font-weight: 900;
  font-size: 1.05rem;
}

/* ── Destination Grid ───────────────────────────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dest-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dest-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
}
.dest-card:hover .dest-card__img { transform: scale(1.05); }
.dest-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 16px 16px;
  background: linear-gradient(to top, rgba(10,34,64,.85) 0%, transparent 100%);
}
.dest-card__body h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.dest-card__count {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* ── Convention Center Banner ───────────────────────────────── */
.conv-banner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 300px;
  background: var(--surface);
}
.conv-banner__img {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}
.conv-banner__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
}
.conv-banner__eyebrow {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
}
.conv-banner__body h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.conv-banner__body > p {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.conv-banner__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.conv-banner__pills span {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.2);
}

/* ── Why Wildwood Rental Hub Grid ─────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
}
.why-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.why-card p {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

/* ── Owner Strip ────────────────────────────────────────────── */
.owner-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 44px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.owner-strip__text h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.owner-strip__text p {
  font-size: .95rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 520px;
  margin: 0;
}
.owner-strip__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Newsletter ─────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0a5f6b 100%);
}
.newsletter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-text h2 {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 900;
  margin-bottom: 6px;
}
.newsletter-text p {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.newsletter-input {
  padding: 11px 18px;
  border-radius: var(--radius-xs);
  border: none;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  width: 260px;
  max-width: 100%;
}
.newsletter-input:focus { outline: 2px solid var(--gold); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .conv-banner { grid-template-columns: 1fr; }
  .conv-banner__img { min-height: 220px; }
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .home-search__row { flex-direction: column; }
  .home-search__field { min-width: 100%; }
  .home-search__btn { width: 100%; }
  .owner-strip { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .newsletter-wrap { flex-direction: column; align-items: flex-start; }
  .newsletter-input { width: 100%; }
  .conv-banner__body { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .dir-listing-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Competitive homepage refresh
   ============================================================ */
.directory-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10253d;
}
.directory-hero__media,
.directory-hero__shade {
  position: absolute;
  inset: 0;
}
.directory-hero__media {
  background: #10253d;
}
.directory-hero__media img,
.directory-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.directory-hero__slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 4500ms ease;
}
.directory-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.photo-credit {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  color: rgba(255,255,255,.86);
  background: rgba(12,30,50,.54);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  backdrop-filter: blur(8px);
}
.directory-hero__shade {
  background:
    linear-gradient(0deg, rgba(12,30,50,.58), rgba(12,30,50,.2)),
    linear-gradient(90deg, rgba(12,30,50,.68), rgba(12,30,50,.2));
}
.directory-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 78px;
  padding-bottom: 72px;
}
.directory-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  font-weight: 900;
  max-width: 860px;
  margin-bottom: 16px;
}
.directory-hero__lead {
  color: rgba(255,255,255,.88);
  font-size: 1.14rem;
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.directory-search {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(170px, 1.18fr)
    minmax(108px, .72fr)
    minmax(108px, .72fr)
    minmax(84px, .5fr)
    minmax(130px, .92fr)
    minmax(150px, auto);
  gap: 0;
  align-items: end;
  max-width: 1120px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  overflow: visible;
}
.directory-search label {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-right: 1px solid var(--border);
}
.directory-search span {
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.directory-search input,
.directory-search select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: .95rem;
  font-weight: 800;
}
.directory-search__btn {
  height: 100%;
  min-height: 70px;
  border-radius: 0;
  padding-left: 30px;
  padding-right: 30px;
  font-weight: 900;
}
.home-advanced-search {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 132px;
  z-index: 2;
  display: flex;
  justify-content: center;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-advanced-search:hover {
  color: #fff;
}
.directory-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.directory-hero__links a {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  padding: 8px 12px;
}
.directory-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.directory-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.directory-strip__grid > div {
  padding: 22px 20px;
  border-left: 1px solid var(--border-light);
}
.directory-strip__grid strong,
.directory-strip__grid span {
  display: block;
}
.directory-strip__grid strong {
  color: var(--navy);
  margin-bottom: 5px;
}
.directory-strip__grid span {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.55;
}
.search-helper {
  background: #f7fbfb;
  border-bottom: 1px solid var(--border);
}
.search-helper__grid {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 24px;
  padding-bottom: 24px;
}
.search-helper__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.search-helper__intro h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.1;
  max-width: 460px;
  margin-bottom: 10px;
}
.search-helper__intro p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.65;
  max-width: 520px;
}
.search-helper__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.search-helper-card {
  min-height: 188px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.search-helper-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e9f4f4;
  color: #0D6F72;
  font-size: .78rem;
  font-weight: 900;
}
.search-helper-card h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 8px;
}
.search-helper-card p {
  color: var(--text-muted);
  font-size: .86rem;
  line-height: 1.55;
}
.search-helper-card--payment {
  background: linear-gradient(145deg, #102844 0%, #0D6F72 100%);
  border-color: transparent;
}
.search-helper-card--payment span {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.search-helper-card--payment h3,
.search-helper-card--payment p {
  color: #fff;
}
.search-focus {
  background: #f7fbfb;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.search-focus__panel {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 12px;
  background: #102844;
  box-shadow: var(--shadow-sm);
}
.search-focus__panel img,
.search-focus__shade {
  position: absolute;
  inset: 0;
}
.search-focus__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.search-focus__shade {
  background:
    linear-gradient(90deg, rgba(12,30,50,.78), rgba(12,30,50,.34)),
    linear-gradient(0deg, rgba(12,30,50,.32), rgba(12,30,50,.08));
}
.search-focus__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 38px;
  color: #fff;
}
.search-focus__content h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
  margin-bottom: 10px;
}
.search-focus__content p:not(.eyebrow) {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 620px;
}
.search-focus__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn--ghost-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.wildwood-map-block {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: stretch;
}
.wildwood-map {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(27,58,92,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27,58,92,.05) 1px, transparent 1px),
    linear-gradient(135deg, #dff5f3 0%, #eef9ff 48%, #f8f4df 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow-sm);
}
.property-map-sidebar .wildwood-map {
  min-height: 285px;
}
.wildwood-map::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 47%;
  width: 116px;
  transform: rotate(8deg);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,231,176,.92));
  border: 1px solid rgba(212,146,10,.32);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.34);
}
.wildwood-map::after {
  content: 'Atlantic Ocean';
  position: absolute;
  right: 24px;
  top: 24px;
  color: rgba(27,58,92,.55);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.map-pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(27,58,92,.16);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(27,58,92,.15);
  padding: 8px 12px 8px 9px;
  font-size: .84rem;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.map-pin::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(13,139,139,.16);
}
.map-pin:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(27,58,92,.2);
}
.map-pin--north { top: 16%; left: 48%; }
.map-pin--wildwood { top: 40%; left: 43%; }
.map-pin--west { top: 48%; left: 19%; }
.map-pin--crest { top: 62%; left: 50%; }
.map-pin--diamond { top: 79%; left: 54%; }
.property-map-sidebar .map-pin {
  gap: 6px;
  padding: 7px 10px 7px 8px;
  font-size: .72rem;
}
.property-map-sidebar .map-pin::before {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 3px rgba(13,139,139,.16);
}
.wildwood-map[data-zoom="wide"] {
  background-size: 26px 26px, 26px 26px, auto;
}
.wildwood-map[data-zoom="wide"]::before {
  left: 50%;
  width: 86px;
}
.wildwood-map[data-zoom="wide"] .map-pin {
  font-size: .66rem;
  padding: 6px 9px 6px 7px;
}
.wildwood-map[data-zoom="near"] {
  background-size: 44px 44px, 44px 44px, auto;
}
.wildwood-map[data-zoom="near"]::before {
  left: 42%;
  width: 132px;
}
.wildwood-map[data-zoom="near"] .map-pin {
  font-size: .78rem;
  padding: 8px 11px 8px 9px;
}
.map-zoom-controls {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 8px;
  align-items: center;
}
.map-zoom-btn {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.map-zoom-btn:hover,
.map-zoom-btn.is-active {
  background: #e9f4f4;
  border-color: rgba(13,111,114,.24);
  color: #0D6F72;
}
.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.map-copy h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.map-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.property-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 22px;
  align-items: start;
}
.property-map-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}
.map-copy--compact {
  display: block;
  padding: 14px;
}
.map-copy--compact h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.map-copy--compact p {
  font-size: .82rem;
  line-height: 1.45;
  margin-bottom: 0;
}
.wildwood-map--vertical {
  min-height: 285px;
}
.home-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.home-property-grid--beside-map {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.town-guide-section {
  background: #fff;
  scroll-margin-top: 104px;
}
.wildwood-guide-hero {
  position: relative;
  min-height: 310px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 12px;
  background: #102844;
  box-shadow: var(--shadow-sm);
}
.wildwood-guide-hero img,
.wildwood-guide-hero__shade {
  position: absolute;
  inset: 0;
}
.wildwood-guide-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.wildwood-guide-hero__shade {
  background:
    linear-gradient(90deg, rgba(12,30,50,.72), rgba(12,30,50,.18)),
    linear-gradient(0deg, rgba(12,30,50,.42), rgba(12,30,50,.04));
}
.wildwood-guide-hero__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 34px;
  color: #fff;
}
.wildwood-guide-hero__content h3 {
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 10px;
}
.wildwood-guide-hero__content p:not(.eyebrow) {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  line-height: 1.65;
}
.wildwood-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 18px;
  margin-bottom: 18px;
}
.wildwood-story__intro,
.wildwood-story__panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.wildwood-story__intro h3,
.wildwood-story__panel h3 {
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
.wildwood-story__intro p:not(.eyebrow),
.wildwood-story__panel p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
}
.wildwood-story__intro p + p {
  margin-top: 12px;
}
.wildwood-story__panel {
  background: linear-gradient(145deg, #f7fbfb 0%, #fff8e6 100%);
}
.town-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.town-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.town-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #102844;
}
.town-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px;
}
.town-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13,139,139,.38);
  box-shadow: var(--shadow);
}
.town-card span {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.town-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}
.google-review-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: thin;
}
.google-review {
  flex: 0 0 min(360px, calc(100vw - 56px));
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.review-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-arrow {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.review-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(13,139,139,.4);
  color: var(--teal);
}
.review-arrow:focus-visible {
  outline: 3px solid rgba(13,139,139,.22);
  outline-offset: 2px;
}
.google-review__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.google-review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}
.google-review__top strong,
.google-review__top small {
  display: block;
}
.google-review__top strong {
  color: var(--navy);
  font-size: .96rem;
}
.google-review__top small {
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 700;
}
.google-review__stars {
  color: #F4B400;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.google-review p {
  color: var(--text);
  font-size: .93rem;
  line-height: 1.7;
  margin: 0;
}
.directory-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.directory-tier {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.directory-tier--standard {
  border: 2px solid var(--teal);
  box-shadow: 0 10px 34px rgba(13,139,139,.16);
}
.directory-tier--management {
  border: 2px solid var(--gold);
  box-shadow: 0 10px 34px rgba(212,146,10,.16);
}
.directory-tier__name {
  display: inline-flex;
  color: var(--navy);
  background: var(--navy-light);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.directory-tier strong {
  display: block;
  color: var(--navy);
  font-size: 2.15rem;
  margin-bottom: 8px;
}
.directory-tier strong span {
  color: var(--text-muted);
  font-size: 1rem;
}
.directory-tier p {
  min-height: 78px;
  font-size: .92rem;
  line-height: 1.6;
}
.directory-tier ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 22px;
}
.directory-tier li {
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
}
.directory-tier li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  margin-right: 8px;
}
.management-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.management-mini h2 {
  margin-bottom: 10px;
}
.management-mini p:not(.eyebrow) {
  max-width: 760px;
  font-size: .98rem;
  line-height: 1.7;
}

.new-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10253d;
}
.new-hero__media,
.new-hero__shade {
  position: absolute;
  inset: 0;
}
.new-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.new-hero__shade {
  background:
    linear-gradient(90deg, rgba(12,30,50,.92) 0%, rgba(12,30,50,.72) 46%, rgba(12,30,50,.36) 100%),
    linear-gradient(0deg, rgba(12,30,50,.45), rgba(12,30,50,.1));
}
.new-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}
.new-hero__copy { max-width: 700px; }
.eyebrow {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--dark { color: var(--teal); }
.new-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
  font-weight: 900;
  max-width: 720px;
  margin-bottom: 22px;
}
.new-hero__lead {
  color: rgba(255,255,255,.86);
  font-size: 1.12rem;
  max-width: 650px;
  line-height: 1.75;
}
.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .84rem;
  font-weight: 800;
}
.new-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.home-main-btn {
  min-height: 52px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(13,139,139,.28);
}
.new-hero__actions .home-main-btn {
  min-width: 210px;
}
.match-panel .home-main-btn {
  margin-top: 2px;
}
.match-panel {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.3);
}
.match-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.match-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.match-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.match-panel span {
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.match-panel input,
.match-panel select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: .95rem;
  padding: 11px 12px;
}
.match-panel__checks {
  display: flex;
  gap: 16px;
  margin: 16px 0 18px;
  flex-wrap: wrap;
}
.match-panel__checks label {
  flex-direction: row;
  align-items: center;
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
}
.match-panel__checks input { width: auto; }
.match-panel__link {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 800;
  text-align: center;
  font-size: .9rem;
}
.proof-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.proof-strip__grid > div {
  padding: 24px 22px;
  border-left: 1px solid var(--border-light);
}
.proof-strip__grid strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}
.proof-strip__grid span {
  display: block;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.55;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.audience-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.audience-card > div { padding: 22px; }
.audience-card span {
  display: block;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.audience-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.audience-card p { font-size: .94rem; }
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 46px;
  align-items: start;
}
.split-band > div:first-child > p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 14px 0 22px;
}
.comparison-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
}
.comparison-list div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}
.comparison-list strong,
.comparison-list span { display: block; }
.comparison-list span {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: .92rem;
}
.owner-proof-card {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.owner-proof-card h3,
.owner-proof-card strong { color: #fff; }
.owner-proof-card p {
  color: rgba(255,255,255,.78);
  margin: 10px 0 18px;
}
.owner-proof-card ul {
  display: grid;
  gap: 10px;
}
.owner-proof-card li {
  color: rgba(255,255,255,.88);
  font-weight: 700;
  padding-left: 18px;
  position: relative;
}
.owner-proof-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.rhythm-intro {
  max-width: 780px;
  margin-bottom: 28px;
}
.rhythm-intro h2 {
  margin-bottom: 12px;
}
.rhythm-intro p:not(.eyebrow) {
  font-size: 1.02rem;
  line-height: 1.75;
}
.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rhythm-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.rhythm-card span {
  display: inline-flex;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.rhythm-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.rhythm-card p {
  font-size: .9rem;
  line-height: 1.65;
}
.cta-dual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.cta-dual h2 { max-width: 760px; }
.cta-dual p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 8px;
}
.cta-dual__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .home-property-grid,
  .search-helper__grid,
  .directory-tier-grid,
  .directory-strip__grid { grid-template-columns: 1fr 1fr; }
  .directory-search {
    grid-template-columns:
      minmax(145px, 1.1fr)
      minmax(96px, .68fr)
      minmax(96px, .68fr)
      minmax(76px, .48fr)
      minmax(116px, .82fr)
      minmax(132px, auto);
  }
  .directory-search label { padding: 12px 10px; }
  .directory-search__btn {
    min-height: 64px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .search-helper__cards { grid-template-columns: 1fr; }
  .wildwood-map-block { grid-template-columns: 1fr; }
  .property-map-layout { grid-template-columns: 1fr; }
  .property-map-sidebar { position: static; }
  .home-property-grid--beside-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .town-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wildwood-story { grid-template-columns: 1fr; }
  .directory-search__btn { min-height: 58px; border-radius: 0; }
  .management-mini { flex-direction: column; align-items: flex-start; }
  .new-hero__inner,
  .split-band { grid-template-columns: 1fr; }
  .proof-strip__grid,
  .audience-grid,
  .rhythm-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .directory-hero { min-height: auto; }
  .directory-hero__inner { padding-top: 46px; padding-bottom: 42px; }
  .home-property-grid,
  .search-helper__grid,
  .directory-tier-grid,
  .directory-strip__grid { grid-template-columns: 1fr; }
  .directory-search { grid-template-columns: 1fr; }
  .search-helper__cards { grid-template-columns: 1fr; }
  .search-helper__intro { padding: 18px 0 0; }
  .search-focus__content { padding: 26px; }
  .search-focus__actions .btn { width: 100%; }
  .town-card-grid { grid-template-columns: 1fr; }
  .wildwood-guide-hero { min-height: 280px; }
  .wildwood-guide-hero__content { padding: 26px; }
  .wildwood-story__intro,
  .wildwood-story__panel { padding: 20px; }
  .wildwood-map { min-height: 360px; }
  .wildwood-map--vertical { min-height: 300px; }
  .home-property-grid--beside-map { grid-template-columns: 1fr; }
  .map-pin span { max-width: 120px; white-space: normal; }
  .map-pin--west { left: 8%; }
  .directory-search label { border-right: 0; border-bottom: 1px solid var(--border); }
  .directory-search__btn { width: 100%; }
  .directory-strip__grid > div { border-left: 0; border-top: 1px solid var(--border-light); }
  .management-mini { padding: 22px; }
  .new-hero { min-height: auto; }
  .new-hero__shade { background: linear-gradient(0deg, rgba(12,30,50,.82), rgba(12,30,50,.68)); }
  .new-hero__inner {
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 34px;
  }
  .new-hero h1 { font-size: 1.9rem; }
  .new-hero__lead { font-size: 1rem; }
  .hero-proof-row span { width: 100%; justify-content: center; }
  .new-hero__actions .btn { width: 100%; }
  .match-panel { padding: 18px; }
  .match-panel__grid,
  .proof-strip__grid,
  .audience-grid,
  .rhythm-grid { grid-template-columns: 1fr; }
  .proof-strip__grid > div {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
  }
  .cta-dual {
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .cta-dual__actions .btn { width: 100%; }
}

@media (min-width: 820px) {
  .property-map-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  }
  .property-map-sidebar {
    position: sticky;
    top: 96px;
  }
  .home-property-grid--beside-map {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1180px) {
  .home-property-grid--beside-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Featured carousel */
.featured-head-actions { display: flex; align-items: center; gap: 1rem; }
.home-property-grid--carousel {
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: calc((100% - 22px) / 2);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 10px; scrollbar-width: thin;
}
.home-property-grid--carousel > * { scroll-snap-align: start; }
.featured-promo { display: flex; align-items: stretch; background: linear-gradient(160deg, var(--navy) 0%, #0D8B8B 100%); color: #fff; border: 0; }
.featured-promo__inner { display: flex; flex-direction: column; justify-content: center; gap: .6rem; padding: 1.75rem; width: 100%; }
.featured-promo__inner .badge { align-self: flex-start; background: #F7C948; color: var(--navy); }
.featured-promo h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.featured-promo p { color: rgba(255,255,255,.85); margin: 0; }
.featured-promo__price strong { font-size: 1.75rem; color: #fff; }
.featured-promo small { color: rgba(255,255,255,.75); text-align: center; }
@media (max-width: 760px) { .home-property-grid--carousel { grid-auto-columns: 85%; } }
.review-arrow[hidden] { display: none !important; }

/* Homepage search bar on tablets: stack into rows instead of squeezing */
@media (min-width: 641px) and (max-width: 1100px) {
  .directory-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-search label { border-bottom: 1px solid var(--border); }
  .directory-search label:first-child { grid-column: span 3; }
  .directory-search__btn { grid-column: span 2; height: 100%; border-radius: 0 0 10px 0; }
}

.featured-promo--light { background: #fff; border: 2px dashed #b9d9d9; color: var(--navy); }
.featured-promo--light h3 { color: var(--navy); }
.featured-promo--light p { color: var(--text-muted); }
.featured-promo--light small { color: var(--text-muted); }
.featured-promo--light .badge { background: var(--teal-light); color: #0a5c5c; }
#latest-rentals[hidden] { display: none !important; }

/* ── Featured rentals (redesign) ─────────────────────────────── */
.featured-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.featured-head .dir-section-title { margin: 0; }
.featured-head__sub { margin: .4rem 0 0; color: var(--text-muted); font-size: 1rem; }
.featured-head-actions { display: flex; align-items: center; gap: .75rem; }
.featured-track.home-property-grid--carousel { grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; align-items: stretch; }
.featured-track.featured-track--pair { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
.featured-track > .property-card { height: 100%; }
.featured-promo__inner { height: 100%; box-sizing: border-box; }
.featured-promo .btn { margin-top: auto; }
.featured-promo__inner > small { margin-top: .25rem; }
@media (max-width: 1024px) { .featured-track.home-property-grid--carousel { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 640px) {
  .featured-track.home-property-grid--carousel { grid-auto-columns: 86%; }
  .featured-track.featured-track--pair { grid-template-columns: minmax(0, 1fr); }
  .featured-head-actions .btn { display: none; }
}
.guide-page { padding-top: 8.5rem; }
@media (max-width: 760px) { .guide-page { padding-top: 7rem; } }

/* Featured band directly under the homepage search */
.featured-band { background: linear-gradient(180deg, #E6F4F4 0%, #F7F9FC 100%); border-top: 4px solid #F7C948; padding: 48px 0 64px; }
.featured-band .dir-section-title::before { content: '★ '; color: #E0A800; }

/* Featured carousel promo cards: same structure, buttons on one line */
.featured-promo__inner { justify-content: flex-start; }
.featured-promo__inner .badge { margin-bottom: .1rem; }
.featured-promo__price { margin-top: .15rem; }
.featured-promo--light .featured-promo__price strong { color: var(--navy); }
.featured-promo .btn { margin-top: auto; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.featured-promo { border: 2px solid transparent; box-sizing: border-box; }
.featured-promo--light { border: 2px dashed #b9d9d9; }

/* Featured promo button: sunny yellow so it stands out on the teal/navy card */
.featured-promo .featured-promo__btn { background: #F7C948; color: #1B3A5C; border: 0; font-weight: 700; }
.featured-promo .featured-promo__btn:hover { background: #FFD966; color: #1B3A5C; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* Homepage rentals: listings first, small note + controls underneath */
.featured-band { padding: 32px 0 56px; }
.featured-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.featured-foot__note { margin: 0; color: var(--text-muted); font-size: .92rem; max-width: 640px; }
.featured-foot__note strong { color: var(--navy); }
.featured-foot__star { color: #E0A800; }
@media (max-width: 640px) {
  .featured-band { padding: 24px 0 44px; }
  .featured-foot { margin-top: .75rem; }
  .featured-foot__note { font-size: .88rem; }
}
@media (max-width: 640px) {
  .featured-foot .featured-head-actions { width: 100%; justify-content: space-between; }
  .featured-foot .featured-head-actions .btn { display: inline-flex; }
}

/* Homepage town buttons: two labelled rows, bigger buttons */
.directory-hero__towns { display: grid; gap: 12px; margin-top: 20px; }
.directory-hero__row { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.directory-hero__label { flex: none; width: auto; padding-top: 14px; padding-right: 4px; white-space: nowrap; color: #F7C948; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.directory-hero__towns .directory-hero__links { margin-top: 0; gap: 10px; min-width: 0; }
.directory-hero__towns .directory-hero__links a { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 44px; padding: 10px 22px; font-size: .95rem; font-weight: 800; white-space: nowrap; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); transition: background .15s, color .15s; }
.directory-hero__towns .directory-hero__links a:hover { background: #fff; color: var(--navy); }
.directory-hero__row--near .directory-hero__links a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); min-width: 0; padding: 9px 18px; font-size: .9rem; font-weight: 700; }
@media (max-width: 900px) {
  .directory-hero__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .directory-hero__label { width: auto; padding-top: 0; }
}
@media (max-width: 640px) {
  .directory-hero__towns { gap: 14px; }
  .directory-hero__row, .directory-hero__towns .directory-hero__links { width: 100%; }
  .directory-hero__towns .directory-hero__links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .directory-hero__towns .directory-hero__links::-webkit-scrollbar { display: none; }
  .directory-hero__towns .directory-hero__links a { min-width: 0; flex: none; padding: 10px 18px; }
}

/* Homepage search: Filters button + panel (same filters as Search Rentals) */
.directory-hero { overflow: visible; }
.directory-hero__media { overflow: hidden; }
.directory-search { grid-template-columns: minmax(170px, 1.18fr) minmax(108px, .72fr) minmax(108px, .72fr) minmax(84px, .5fr) minmax(110px, .8fr) auto minmax(130px, auto); }
.directory-search__filters { align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 70px; padding: 0 20px; border: 0; border-right: 1px solid var(--border); background: #fff; color: var(--navy); font: 800 .95rem var(--font-body, 'Inter', sans-serif); cursor: pointer; white-space: nowrap; }
.directory-search__filters:hover, .directory-search__filters[aria-expanded="true"] { background: var(--navy-light); }
.directory-search__filters:focus-visible { outline: 3px solid #F7C948; outline-offset: -3px; }
.directory-search .srch-more { text-align: left; }
.directory-search .srch-more span { color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; }
.directory-search .srch-more .srch-select > span { font-size: .8rem; font-weight: 700; color: var(--navy); }
.directory-search .srch-more label { display: flex; padding: 0; border: 0; gap: 10px; }
.directory-search .srch-more .srch-select { flex-direction: column; gap: 5px; }
.directory-search .srch-more select, .directory-search .srch-more input[type="text"] { border: 1.5px solid #cdd6df; padding: 10px 12px; font-weight: 500; font-size: 15px; border-radius: 10px; background: #fff; }
.directory-search .srch-more input[type="checkbox"] { width: 18px; height: 18px; }
body.srch-more-open .directory-hero__inner { z-index: 10000; }
@media (min-width: 641px) and (max-width: 1100px) {
  .directory-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-search__filters { grid-column: span 1; min-height: 58px; border-right: 1px solid var(--border); border-top: 0; }
  .directory-search__btn { grid-column: span 1; }
}
@media (max-width: 640px) {
  .directory-search { grid-template-columns: 1fr 1fr; }
  .directory-search label { grid-column: 1 / -1; }
  .directory-search__filters { min-height: 56px; border-right: 1px solid var(--border); border-radius: 0 0 0 10px; }
  .directory-search__btn { border-radius: 0 0 10px 0; min-height: 56px; }
}

/* Homepage: small cards in a grid so many rentals show at once */
.featured-track.home-grid-compact { display: grid; grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto; gap: 14px; overflow: visible; padding-bottom: 0; }
.home-grid-compact > .property-card { height: 100%; border-radius: 12px; }
.home-grid-compact > .property-card:hover { transform: translateY(-2px); }
.home-grid-compact .property-card__img-wrap { aspect-ratio: 4 / 3; }
.home-grid-compact .property-card__badges { top: 8px; left: 8px; gap: 4px; }
.home-grid-compact .property-card__badges .badge { font-size: .72rem; padding: 3px 7px; }
.home-grid-compact .property-card__badges .badge--verified, .home-grid-compact .property-card__badges .badge--owner { display: none; }
.home-grid-compact .property-card__body { padding: 10px 12px 4px; }
.home-grid-compact .property-card__location { font-size: .74rem; margin-bottom: 3px; letter-spacing: .02em; }
.home-grid-compact .property-card__title { font-size: .92rem; line-height: 1.3; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-grid-compact .property-card__meta { font-size: .76rem; margin: 0; }
.home-grid-compact .property-card__tags, .home-grid-compact .property-card__availability, .home-grid-compact .property-card__rating { display: none; }
.home-grid-compact .property-card > .property-card__footer, .home-grid-compact > .property-card > .property-card__footer { padding: 8px 12px 0; }
.home-grid-compact .property-card__price strong { font-size: .98rem; }
.home-grid-compact .property-card__price, .home-grid-compact .property-card__price span { font-size: .76rem; }
.home-grid-compact .property-card__alt { font-size: .74rem; }
.home-grid-compact .property-card__link { margin: 8px 12px 12px; padding: 7px 10px; font-size: .8rem; min-height: 0; }
.home-grid-compact .property-card__link::after { content: ''; position: absolute; inset: 0; }
.home-grid-compact .property-card__link:hover { transform: none; } /* a transform here would shrink the whole-card click area */
/* the two promo cards, sized to match */
.home-grid-compact .featured-promo__inner { padding: 14px; gap: .4rem; }
.home-grid-compact .featured-promo h3 { font-size: 1rem; line-height: 1.25; }
.home-grid-compact .featured-promo p { font-size: .8rem; line-height: 1.4; }
.home-grid-compact .featured-promo__price strong { font-size: 1.2rem; }
.home-grid-compact .featured-promo .badge { font-size: .72rem; padding: 3px 8px; }
.home-grid-compact .featured-promo .btn { min-height: 38px; padding: 6px 10px; font-size: .82rem; }
.home-grid-compact .featured-promo small { font-size: .74rem; }
@media (max-width: 1279px) { .featured-track.home-grid-compact { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .featured-track.home-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px) { .featured-track.home-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 540px) { .featured-track.home-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .home-grid-compact .property-card__body { padding: 8px 10px 2px; } .home-grid-compact .property-card > .property-card__footer, .home-grid-compact > .property-card > .property-card__footer { padding: 6px 10px 0; } .home-grid-compact .property-card__link { margin: 6px 10px 10px; min-height: 36px; } }
@media (hover: none), (pointer: coarse) { .home-grid-compact .property-card__link { min-height: 44px; } }
@media (hover: none), (pointer: coarse) { .home-grid-compact .featured-promo .btn { min-height: 44px; } }

/* Homepage rail: two rows of small cards (about 7 across on a laptop), slide with the arrows */
.home-rail { position: relative; }
.featured-track.home-grid-compact { grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-template-columns: none; grid-auto-columns: calc((100% - 6 * 14px) / 7); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; margin: -4px -2px 0; }
.featured-track.home-grid-compact::-webkit-scrollbar { display: none; }
.home-grid-compact > * { scroll-snap-align: start; }
.home-rail__arrow { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(16,40,68,.22); display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.home-rail__arrow:hover { background: var(--navy); color: #fff; }
.home-rail__arrow:focus-visible { outline: 3px solid #F7C948; outline-offset: 2px; }
.home-rail__arrow--prev { left: -18px; }
.home-rail__arrow--next { right: -18px; }
@media (max-width: 1279px) { .featured-track.home-grid-compact { grid-auto-columns: calc((100% - 5 * 14px) / 6); } }
@media (max-width: 1099px) { .featured-track.home-grid-compact { grid-auto-columns: calc((100% - 4 * 14px) / 5); } }
@media (max-width: 899px) { .featured-track.home-grid-compact { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 699px) { .featured-track.home-grid-compact { grid-auto-columns: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 540px) {
  .featured-track.home-grid-compact { grid-auto-columns: calc((100% - 10px) / 2.15); gap: 10px; }
  .home-rail__arrow--prev { left: -8px; }
  .home-rail__arrow--next { right: -8px; }
}
@media (max-width: 1300px) and (min-width: 541px) { .home-rail__arrow--prev { left: -10px; } .home-rail__arrow--next { right: -10px; } }
.home-grid-compact .property-card__location, .home-grid-compact .property-card__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
