:root {
  --hm-bg: #f7f5ef;
  --hm-surface: #ffffff;
  --hm-ink: #17212b;
  --hm-muted: #667085;
  --hm-line: #e8e2d8;
  --hm-main: #0f3d3e;
  --hm-main-hover: #0b2f30;
  --hm-gold: #c8a35f;
  --hm-shadow: 0 18px 45px rgba(23, 33, 43, 0.08);
  --hm-radius: 22px;
}

.hm-page {
  background: var(--hm-bg);
  color: var(--hm-ink);
}

.hm-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hm-section {
  padding: 34px 0 58px;
}

.hm-hero,
.hm-property-header {
  background: linear-gradient(135deg, #fffdf8 0%, #f2eadc 100%);
  border-bottom: 1px solid var(--hm-line);
  padding: 54px 0 42px;
}

.hm-hero--compact {
  padding: 40px 0 32px;
}

.hm-hero h1,
.hm-property-header h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hm-hero p,
.hm-property-header p {
  max-width: 720px;
  color: var(--hm-muted);
  font-size: 18px;
}

.hm-eyebrow {
  margin: 0 0 8px;
  color: var(--hm-gold) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px !important;
}

.hm-search {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.hm-search label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 700;
}

.hm-search input {
  min-height: 48px;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
}

.hm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--hm-main);
  background: var(--hm-main);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.hm-button:hover {
  transform: translateY(-1px);
  background: var(--hm-main-hover);
  box-shadow: 0 10px 24px rgba(15,61,62,.18);
}

.hm-button--secondary {
  background: #fff;
  color: var(--hm-main) !important;
}

.hm-button--ghost {
  background: #f7f5ef;
  color: var(--hm-main) !important;
}

.hm-button--full {
  width: 100%;
}

.hm-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hm-property-card,
.hm-card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  overflow: hidden;
}

.hm-property-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #eee7dc;
  overflow: hidden;
}

.hm-property-card__media img,
.hm-property-gallery__hero img,
.hm-property-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-property-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--hm-muted);
  font-weight: 700;
}

.hm-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--hm-main);
  font-weight: 900;
  font-size: 12px;
}

.hm-property-card__body {
  padding: 18px;
}

.hm-property-card__topline,
.hm-property-card__location,
.hm-property-meta-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--hm-muted);
  font-size: 13px;
}

.hm-property-card h2 {
  margin: 9px 0 7px;
  font-size: 20px;
  line-height: 1.25;
}

.hm-property-card h2 a {
  color: var(--hm-ink);
  text-decoration: none;
}

.hm-property-card__price {
  margin: 12px 0;
  color: var(--hm-main);
  font-size: 22px;
  font-weight: 900;
}

.hm-property-card__facts,
.hm-fact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hm-property-card__facts span,
.hm-fact {
  background: #f8f6f0;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  padding: 7px 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.hm-property-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.hm-property-header__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: end;
}

.hm-property-price-box {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  padding: 22px;
  box-shadow: var(--hm-shadow);
}

.hm-property-price-box span {
  display: block;
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 700;
}

.hm-property-price-box strong {
  display: block;
  margin-top: 6px;
  color: var(--hm-main);
  font-size: 28px;
  line-height: 1.1;
}

.hm-property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 70px;
}

.hm-property-gallery,
.hm-content-card {
  margin-bottom: 22px;
}

.hm-property-gallery__hero {
  aspect-ratio: 16 / 10;
  border-radius: var(--hm-radius);
  overflow: hidden;
  background: #eee7dc;
  box-shadow: var(--hm-shadow);
}

.hm-property-gallery__thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hm-property-gallery__thumbs img {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}

.hm-fact-grid {
  margin-bottom: 22px;
}

.hm-fact {
  border-radius: 16px;
  min-width: 132px;
}

.hm-fact span {
  display: block;
  color: var(--hm-muted);
  font-size: 12px;
}

.hm-fact strong {
  display: block;
  margin-top: 3px;
  color: var(--hm-ink);
  font-size: 18px;
}

.hm-content-card {
  padding: 26px;
}

.hm-content-card h2 {
  margin-top: 0;
}

.hm-property-sidebar {
  position: relative;
}

.hm-cta-panel {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.hm-cta-panel h2 {
  margin-top: 0;
}

.hm-cta-panel__price {
  color: var(--hm-main) !important;
  font-size: 26px !important;
  font-weight: 900;
}

.hm-cta-panel__actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.hm-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--hm-line);
  box-shadow: 0 -12px 32px rgba(23,33,43,.12);
}

.hm-pagination {
  margin-top: 30px;
}

.hm-empty-state {
  padding: 40px;
  text-align: center;
  background: #fff;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-line);
}

@media (max-width: 1024px) {
  .hm-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-property-layout,
  .hm-property-header__inner {
    grid-template-columns: 1fr;
  }
  .hm-property-sidebar {
    display: none;
  }
  .hm-sticky-cta {
    display: grid;
  }
  body.single-hm_property {
    padding-bottom: 80px;
  }
}

@media (max-width: 720px) {
  .hm-container {
    width: min(100% - 24px, 1180px);
  }
  .hm-hero,
  .hm-property-header {
    padding: 34px 0 28px;
  }
  .hm-search {
    grid-template-columns: 1fr;
  }
  .hm-property-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hm-property-card__actions {
    grid-template-columns: 1fr;
  }
  .hm-property-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-sticky-cta .hm-button {
    min-height: 44px;
    padding: 0 8px;
    font-size: 13px;
  }
}

/* Phase C2: richer no-image placeholders and single-page trust sections */
.hm-property-placeholder {
  background:
    radial-gradient(circle at 16% 18%, rgba(200, 163, 95, .24), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(15, 61, 62, .18), transparent 30%),
    linear-gradient(135deg, #f7f1e6 0%, #efe6d8 42%, #f9f7f1 100%);
  color: var(--hm-main);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  height: 100%;
  text-align: center;
  padding: 20px;
}

.hm-property-placeholder__icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(200,163,95,.34);
  box-shadow: 0 12px 28px rgba(23,33,43,.08);
  font-size: 38px;
  line-height: 1;
}

.hm-property-placeholder__code {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--hm-gold);
  text-transform: uppercase;
}

.hm-property-placeholder__label {
  color: var(--hm-main);
  font-weight: 900;
  max-width: 260px;
}

.hm-property-gallery__hero--placeholder {
  min-height: 360px;
}

.hm-check-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.hm-check-list li {
  margin: 8px 0;
}

.hm-trust-card {
  background: linear-gradient(135deg, #fff 0%, #fbf8f0 100%);
}

.hm-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hm-mini-grid > div {
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.78);
}

.hm-mini-grid strong,
.hm-mini-grid span {
  display: block;
}

.hm-mini-grid strong {
  color: var(--hm-main);
  font-size: 16px;
  margin-bottom: 6px;
}

.hm-mini-grid span {
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .hm-mini-grid {
    grid-template-columns: 1fr;
  }
  .hm-property-gallery__hero--placeholder {
    min-height: 260px;
  }
}

/* Phase E: branding, homepage and expanded search */
.hm-page {
    background: #f7f4ed;
}

.hm-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.hm-home-hero {
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at 10% 10%, rgba(184, 155, 93, .20), transparent 28%),
        radial-gradient(circle at 90% 5%, rgba(0, 65, 61, .12), transparent 32%),
        #f7f1e6;
}

.hm-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 36px;
    align-items: center;
}

.hm-home-hero__copy h1 {
    max-width: 720px;
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .96;
    letter-spacing: -0.055em;
    color: #101010;
}

.hm-home-hero__copy p:not(.hm-eyebrow) {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.75;
    color: #4c5563;
}

.hm-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hm-home-hero__search {
    padding: 24px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 28px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 24px 80px rgba(25, 33, 31, .10);
    backdrop-filter: blur(8px);
}

.hm-home-hero__search h2 {
    margin: 0 0 14px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.hm-search--expanded {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.hm-home-hero__search .hm-search--expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-search--expanded label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.hm-search--expanded label span {
    font-size: 13px;
    font-weight: 800;
    color: #65707c;
}

.hm-search--expanded input,
.hm-search--expanded select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    background: #fff;
    color: #1e293b;
    font-weight: 650;
}

.hm-search__actions {
    display: flex;
    gap: 10px;
    grid-column: span 2;
}

.hm-home-hero__search .hm-search__actions {
    grid-column: 1 / -1;
}

.hm-search__actions .hm-button {
    min-height: 48px;
    white-space: nowrap;
}

.hm-button--ghost {
    background: transparent !important;
    color: #073f3b !important;
    border: 1px solid #073f3b !important;
}

.hm-section-heading {
    margin-bottom: 22px;
}

.hm-section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.045em;
}

.hm-section-heading--split {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

.hm-link {
    font-weight: 900;
    color: #073f3b;
    text-decoration: none;
}

.hm-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hm-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    color: #15312f;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(25, 33, 31, .06);
}

.hm-results-bar {
    display: inline-flex;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    color: #56616c;
}

.hm-results-bar strong {
    color: #073f3b;
    font-size: 20px;
}

.hm-sell-section {
    padding: 24px 0 70px;
}

.hm-sell-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border-radius: 30px;
    background: #073f3b;
    color: #fff;
    box-shadow: 0 30px 90px rgba(7, 63, 59, .20);
}

.hm-sell-card h2 {
    margin: 0 0 10px;
    max-width: 760px;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: -0.045em;
    color: #fff;
}

.hm-sell-card p:not(.hm-eyebrow) {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,.80);
    line-height: 1.75;
}

.hm-sell-card .hm-eyebrow {
    color: #d9c38a;
}

.hm-sell-card .hm-button {
    background: #fff;
    color: #073f3b;
    flex: 0 0 auto;
}

.single-hm_property .hm-property-single-title,
.hm-property-single h1 {
    font-size: clamp(34px, 5vw, 56px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
}

@media (max-width: 1024px) {
    .hm-home-hero__grid {
        grid-template-columns: 1fr;
    }

    .hm-search--expanded {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-search__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .hm-container {
        width: min(100% - 28px, 1180px);
    }

    .hm-home-hero {
        padding: 42px 0 32px;
    }

    .hm-home-hero__copy h1 {
        font-size: 38px;
    }

    .hm-home-hero__search,
    .hm-sell-card {
        border-radius: 22px;
        padding: 20px;
    }

    .hm-search--expanded,
    .hm-home-hero__search .hm-search--expanded {
        grid-template-columns: 1fr;
    }

    .hm-search__actions {
        display: grid;
        grid-column: auto;
    }

    .hm-section-heading--split,
    .hm-sell-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .single-hm_property .hm-property-single-title,
    .hm-property-single h1 {
        font-size: 31px !important;
    }
}

/* Phase E2: polished branding header/footer/homepage spacing */
html {
  scroll-behavior: smooth;
}

body.hm-site-body {
  background: #f7f4ed;
}

.hm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid rgba(23, 33, 43, .08);
  backdrop-filter: blur(12px);
}

.hm-site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--hm-ink);
  text-decoration: none !important;
  min-width: 230px;
}

.hm-brand__mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: var(--hm-main);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(15, 61, 62, .18);
}

.hm-brand__text strong,
.hm-brand__text em {
  display: block;
}

.hm-brand__text strong {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #101828;
}

.hm-brand__text em {
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
  color: var(--hm-muted);
}

.hm-site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hm-site-nav__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-site-nav__menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #24333f;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
}

.hm-site-nav__menu a:hover,
.hm-site-nav__menu .current-menu-item > a {
  background: rgba(15, 61, 62, .08);
  color: var(--hm-main);
}

.hm-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--hm-main);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.hm-home-hero {
  padding: 66px 0 46px;
}

.hm-home-hero__copy h1 {
  max-width: 680px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.hm-home-hero__copy p:not(.hm-eyebrow) {
  max-width: 620px;
}

.hm-home-hero__search {
  position: relative;
  overflow: hidden;
}

.hm-home-hero__search::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(200, 163, 95, .16), transparent 68%);
  pointer-events: none;
}

.hm-trust-strip {
  margin-top: -18px;
  padding: 0 0 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hm-trust-strip__item {
  padding: 18px 20px;
  border: 1px solid rgba(23, 33, 43, .08);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 45px rgba(23, 33, 43, .06);
}

.hm-trust-strip__item strong,
.hm-trust-strip__item span {
  display: block;
}

.hm-trust-strip__item strong {
  color: var(--hm-main);
  font-size: 18px;
  margin-bottom: 6px;
}

.hm-trust-strip__item span {
  color: var(--hm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.hm-section {
  padding-top: 26px;
}

.hm-property-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hm-property-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 61, 62, .18);
  box-shadow: 0 24px 70px rgba(23, 33, 43, .12);
}

.hm-property-card__media img,
.hm-property-gallery__hero img {
  transition: transform .35s ease;
}

.hm-property-card:hover .hm-property-card__media img {
  transform: scale(1.025);
}

.hm-sell-section {
  padding: 36px 0 78px;
}

.hm-sell-card {
  align-items: center;
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.hm-sell-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.hm-sell-card > * {
  position: relative;
  z-index: 1;
}

.hm-sell-card h2 {
  line-height: 1.08;
  max-width: 700px;
}

.hm-sell-card .hm-button {
  min-width: 190px;
  min-height: 52px;
  border-color: #fff;
}

.hm-site-footer {
  background: #0b2f30;
  color: rgba(255,255,255,.82);
  padding: 52px 0 24px;
}

.hm-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) minmax(240px, .9fr);
  gap: 34px;
}

.hm-site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.hm-site-footer a {
  color: rgba(255,255,255,.88);
  text-decoration: none !important;
}

.hm-brand--footer .hm-brand__mark {
  background: #fff;
  color: var(--hm-main);
}

.hm-brand--footer .hm-brand__text strong {
  color: #fff;
}

.hm-brand--footer .hm-brand__text em,
.hm-site-footer__brand p,
.hm-footer-contact {
  color: rgba(255,255,255,.70);
}

.hm-site-footer__brand p {
  max-width: 520px;
  margin: 18px 0 0;
  line-height: 1.75;
}

.hm-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hm-button--footer {
  background: #fff;
  color: var(--hm-main) !important;
  border-color: #fff;
}

.hm-site-footer__bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.hm-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.hm-info-card,
.hm-contact-panel {
  padding: 28px;
}

.hm-contact-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.hm-contact-panel h2 {
  margin: 0;
}

.hm-process-list {
  display: grid;
  gap: 14px;
}

.hm-process-list > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  padding: 18px;
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: #fff;
}

.hm-process-list span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(15,61,62,.10);
  color: var(--hm-main);
  font-weight: 950;
}

.hm-process-list strong {
  color: var(--hm-main);
  font-size: 17px;
}

.hm-process-list p {
  margin: 0;
  color: var(--hm-muted);
}

.single-hm_property .hm-property-single-title,
.hm-property-single h1,
.hm-property-header h1 {
  font-size: clamp(32px, 4.2vw, 50px) !important;
  line-height: 1.08 !important;
  max-width: 780px;
}

@media (max-width: 980px) {
  .hm-site-header__inner {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hm-site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hm-site-nav__menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hm-trust-strip,
  .hm-site-footer__grid,
  .hm-info-layout {
    grid-template-columns: 1fr;
  }

  .hm-contact-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .hm-brand {
    min-width: 0;
  }

  .hm-brand__text em {
    display: none;
  }

  .hm-header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hm-home-hero__copy h1 {
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hm-home-hero__copy p:not(.hm-eyebrow) {
    font-size: 16px;
    line-height: 1.65;
  }

  .hm-home-hero__actions {
    display: grid;
  }

  .hm-trust-strip {
    margin-top: 0;
    padding-bottom: 30px;
  }

  .hm-section-heading h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .hm-sell-section {
    padding-bottom: 54px;
  }

  .hm-sell-card {
    min-height: 0;
    padding: 24px;
  }

  .hm-sell-card h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .hm-site-footer__bottom {
    display: grid;
  }
}

/* Phase E3: typography and final homepage polish */
.hm-site-body,
.hm-page {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hm-home-hero {
  padding: 58px 0 44px;
}

.hm-home-hero__grid {
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
  gap: clamp(34px, 5vw, 68px);
}

.hm-home-hero__copy h1 {
  max-width: 620px;
  font-size: clamp(42px, 4.65vw, 58px) !important;
  line-height: 1.09 !important;
  letter-spacing: -0.046em !important;
  text-wrap: balance;
}

.hm-home-hero__copy p:not(.hm-eyebrow) {
  max-width: 590px;
  font-size: 17px;
  line-height: 1.78;
}

.hm-home-hero__search {
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 30px 90px rgba(23, 33, 43, .105);
}

.hm-home-hero__search h2 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hm-search--expanded input,
.hm-search--expanded select {
  min-height: 50px;
  border-radius: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.hm-search--expanded input:focus,
.hm-search--expanded select:focus {
  border-color: rgba(15, 61, 62, .42);
  box-shadow: 0 0 0 4px rgba(15, 61, 62, .08);
  outline: none;
}

.hm-button,
.hm-header-cta,
.hm-chip {
  letter-spacing: -0.01em;
}

.hm-button {
  min-height: 48px;
  padding-inline: 20px;
}

.hm-button--ghost:hover {
  background: rgba(15, 61, 62, .06) !important;
}

.hm-trust-strip {
  margin-top: -12px;
  padding-bottom: 38px;
}

.hm-trust-strip__item {
  border-radius: 18px;
  padding: 16px 18px;
}

.hm-section {
  padding-top: 36px;
  padding-bottom: 62px;
}

.hm-location-strip {
  padding-top: 20px;
  padding-bottom: 42px;
}

.hm-section-heading {
  margin-bottom: 26px;
}

.hm-section-heading .hm-eyebrow {
  margin-bottom: 10px;
}

.hm-section-heading h2 {
  font-size: clamp(30px, 3.55vw, 42px) !important;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hm-section-heading--split {
  align-items: center;
  margin-bottom: 28px;
}

.hm-chip {
  min-height: 40px;
  padding-inline: 17px;
  box-shadow: 0 10px 28px rgba(23, 33, 43, .055);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hm-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 61, 62, .25);
  background: #fffdf8;
}

.hm-property-grid {
  align-items: stretch;
  gap: 24px;
}

.hm-property-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hm-property-card__media {
  aspect-ratio: 16 / 10.5;
}

.hm-property-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.hm-property-card h2 {
  min-height: 2.55em;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: -0.024em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-property-card__location {
  min-height: 1.45em;
}

.hm-property-card__price {
  margin-top: 14px;
  font-size: 20px;
}

.hm-property-card__facts {
  margin-bottom: 2px;
}

.hm-property-card__facts span,
.hm-fact {
  padding: 6px 10px;
  font-size: 12px;
}

.hm-property-card__actions {
  margin-top: auto;
  padding-top: 18px;
}

.hm-property-card__actions .hm-button {
  min-height: 42px;
}

.hm-sell-section {
  padding: 42px 0 82px;
}

.hm-sell-card {
  border-radius: 28px;
  padding: clamp(30px, 4vw, 46px);
}

.hm-sell-card h2 {
  font-size: clamp(30px, 3.7vw, 42px) !important;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hm-sell-card p:not(.hm-eyebrow) {
  max-width: 680px;
}

.hm-site-footer {
  padding-top: 48px;
}

.hm-site-footer__brand p {
  max-width: 480px;
}

.hm-site-footer__bottom span:last-child {
  opacity: .9;
}

.hm-info-card h1,
.hm-contact-panel h2,
.page-template-default .hm-info-card h1 {
  letter-spacing: -0.04em;
  text-wrap: balance;
}

@media (max-width: 1180px) {
  .hm-home-hero__copy h1 {
    font-size: clamp(40px, 5vw, 54px) !important;
  }
}

@media (max-width: 980px) {
  .hm-home-hero {
    padding-top: 46px;
  }

  .hm-home-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hm-home-hero__copy h1,
  .hm-home-hero__copy p:not(.hm-eyebrow) {
    max-width: 760px;
  }

  .hm-trust-strip {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .hm-home-hero {
    padding: 34px 0 30px;
  }

  .hm-home-hero__copy h1 {
    font-size: 34px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.038em !important;
  }

  .hm-home-hero__copy p:not(.hm-eyebrow) {
    font-size: 15.5px;
  }

  .hm-home-hero__search {
    padding: 18px;
    border-radius: 22px;
  }

  .hm-home-hero__search h2 {
    font-size: 22px;
  }

  .hm-trust-strip__item {
    padding: 15px 16px;
  }

  .hm-section {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .hm-section-heading h2 {
    font-size: 29px !important;
  }

  .hm-section-heading--split {
    gap: 12px;
  }

  .hm-property-card h2 {
    min-height: auto;
    -webkit-line-clamp: 3;
  }

  .hm-property-card__media {
    aspect-ratio: 16 / 11;
  }

  .hm-sell-card h2 {
    font-size: 28px !important;
  }

  .hm-sell-card .hm-button {
    width: 100%;
  }
}

/* Phase F: archive search and filter polish */
.hm-hero--archive {
  padding: 42px 0 34px;
}

.hm-archive-hero__inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: end;
}

.hm-archive-hero__stats {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  padding: 20px;
  box-shadow: var(--hm-shadow);
}

.hm-archive-hero__stats span {
  display: block;
  color: var(--hm-muted);
  font-weight: 800;
  font-size: 13px;
}

.hm-archive-hero__stats strong {
  display: block;
  color: var(--hm-main);
  font-size: 36px;
  line-height: 1;
  margin-top: 6px;
}

.hm-archive-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.hm-filter-panel {
  position: sticky;
  top: 98px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
  padding: 20px;
}

.hm-filter-panel .hm-search {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
  gap: 12px;
}

.hm-filter-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hm-filter-panel__head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.hm-filter-panel__close {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--hm-line);
  background: #fff;
  color: var(--hm-main);
  font-size: 24px;
  line-height: 1;
}

.hm-results-area {
  min-width: 0;
}

.hm-results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--hm-line);
  border-radius: 18px;
}

.hm-results-toolbar__summary {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hm-results-toolbar__summary strong {
  color: var(--hm-main);
  font-size: 24px;
  line-height: 1;
}

.hm-results-toolbar__summary span {
  color: var(--hm-muted);
  font-weight: 700;
}

.hm-filter-toggle {
  display: none;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--hm-main);
  background: var(--hm-main);
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
}

.hm-sort-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 800;
}

.hm-sort-form select,
.hm-search select,
.hm-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: var(--hm-ink);
}

.hm-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.hm-active-filters a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hm-main);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hm-active-filters a span {
  opacity: .7;
}

.hm-active-filters__clear {
  background: #f8f6f0 !important;
  color: var(--hm-muted) !important;
}

.hm-property-grid--archive .hm-property-card {
  min-height: 100%;
}

.hm-empty-state--search {
  text-align: left;
  padding: 48px;
}

.hm-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hm-pagination {
  margin-top: 32px;
}

.hm-pagination .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hm-pagination .page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hm-main);
  font-weight: 900;
  text-decoration: none;
}

.hm-pagination .page-numbers.current {
  background: var(--hm-main);
  color: #fff;
  border-color: var(--hm-main);
}

@media (max-width: 980px) {
  .hm-archive-hero__inner {
    grid-template-columns: 1fr;
  }

  .hm-archive-layout {
    grid-template-columns: 1fr;
  }

  .hm-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hm-filter-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 9999;
    width: min(390px, 92vw);
    overflow: auto;
    border-radius: 0 22px 22px 0;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .hm-filter-is-open .hm-filter-panel {
    transform: translateX(0);
  }

  .hm-filter-panel__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hm-filter-is-open body:before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 61, 62, .35);
  }

  .hm-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hm-results-toolbar__summary {
    width: 100%;
    justify-content: space-between;
  }

  .hm-sort-form,
  .hm-sort-form label,
  .hm-sort-form select {
    width: 100%;
  }

  .hm-archive-hero__stats strong {
    font-size: 30px;
  }

  .hm-empty-state--search {
    padding: 28px;
  }
}

/* Phase G: Lead / LINE CTA flow */
.hm-lead-modal[hidden] {
  display: none !important;
}

.hm-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hm-lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 39, 39, .52);
  backdrop-filter: blur(4px);
}

.hm-lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 34px 90px rgba(7, 55, 55, .28);
}

.hm-lead-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hm-main);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hm-lead-modal__dialog h2 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.hm-lead-modal__intro {
  color: var(--hm-muted);
  margin-bottom: 22px;
}

.hm-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hm-lead-form label {
  display: grid;
  gap: 7px;
  color: var(--hm-muted);
  font-weight: 800;
}

.hm-lead-form input,
.hm-lead-form textarea {
  width: 100%;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fbfaf7;
  color: var(--hm-text);
  font-weight: 800;
}

.hm-lead-form textarea {
  resize: vertical;
}

.hm-lead-form__full,
.hm-lead-form__actions,
.hm-lead-form__note {
  grid-column: 1 / -1;
}

.hm-lead-form__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hm-lead-form__note {
  min-height: 22px;
  margin: 0;
  color: var(--hm-main);
  font-weight: 900;
}

.hm-lead-modal-is-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .hm-lead-modal {
    align-items: flex-end;
    padding: 0;
  }

  .hm-lead-modal__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    padding: 28px 20px 22px;
  }

  .hm-lead-form {
    grid-template-columns: 1fr;
  }
}

/* Phase I: SEO-ready single property polish */
.hm-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--hm-muted);
  font-size: 13px;
  font-weight: 700;
}
.hm-breadcrumb a {
  color: var(--hm-main);
  text-decoration: none;
}
.hm-breadcrumb a:hover { text-decoration: underline; }
.hm-property-seo-intro {
  margin-top: 18px;
  max-width: 760px !important;
  font-size: 17px !important;
  line-height: 1.75;
  color: var(--hm-muted);
}
.hm-section-head--compact {
  margin-bottom: 18px;
}
.hm-section-head--compact h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}
.hm-overview-card,
.hm-location-card {
  overflow: visible;
}
.hm-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hm-highlight-grid > div {
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  padding: 16px;
  background: #fffdf8;
}
.hm-highlight-grid span {
  display: block;
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}
.hm-highlight-grid strong {
  display: block;
  color: var(--hm-main);
  font-size: 16px;
  line-height: 1.35;
}
.hm-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hm-location-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.hm-location-grid p {
  color: var(--hm-muted);
  line-height: 1.7;
}
.hm-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.hm-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--hm-line);
  background: #fff;
  color: var(--hm-main) !important;
  font-weight: 800;
  text-decoration: none !important;
  font-size: 13px;
}
.hm-pill:hover {
  border-color: var(--hm-main);
  transform: translateY(-1px);
}
.hm-related-section {
  padding-top: 14px;
}
.hm-content-card .hm-check-list {
  padding-left: 0;
  list-style: none;
}
.hm-content-card .hm-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.hm-content-card .hm-check-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(15,61,62,.1);
  color: var(--hm-main);
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 900px) {
  .hm-highlight-grid,
  .hm-location-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .hm-highlight-grid,
  .hm-location-grid {
    grid-template-columns: 1fr;
  }
  .hm-breadcrumb {
    font-size: 12px;
  }
  .hm-property-seo-intro {
    font-size: 15px !important;
  }
}

/* Phase I2: single property conversion polish */
.hm-property-header__inner {
  align-items: center;
}

.hm-property-header h1 {
  max-width: 720px !important;
  font-size: clamp(31px, 3.8vw, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.047em !important;
  text-wrap: balance;
}

.hm-property-seo-intro {
  max-width: 680px !important;
  margin-top: 14px;
  font-size: 16px !important;
  line-height: 1.72;
}

.hm-property-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hm-button--soft {
  min-height: 40px;
  background: rgba(255,255,255,.72) !important;
  color: var(--hm-main) !important;
  border-color: rgba(15,61,62,.16) !important;
  box-shadow: none !important;
}

.hm-button--soft:hover {
  background: #fff !important;
  border-color: rgba(15,61,62,.32) !important;
}

.hm-property-gallery__hero {
  aspect-ratio: 16 / 9.8;
}

.hm-property-gallery__thumbs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hm-property-gallery__thumbs img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 24px rgba(23,33,43,.07);
}

.hm-highlight-grid > div,
.hm-insight-grid > div,
.hm-question-list li {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hm-highlight-grid > div:hover,
.hm-insight-grid > div:hover,
.hm-question-list li:hover {
  transform: translateY(-1px);
  border-color: rgba(15,61,62,.20);
  background: #fffdf8;
}

.hm-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hm-insight-grid > div {
  padding: 18px;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: #fff;
}

.hm-insight-grid strong,
.hm-insight-grid span {
  display: block;
}

.hm-insight-grid strong {
  color: var(--hm-main);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.hm-insight-grid span {
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 1.65;
}

.hm-question-card {
  background: linear-gradient(135deg, #fff 0%, #fbf8f1 100%);
}

.hm-question-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.hm-question-list li {
  position: relative;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  color: #334155;
  font-weight: 650;
  line-height: 1.55;
}

.hm-question-list li::before {
  content: "?";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15,61,62,.10);
  color: var(--hm-main);
  font-size: 12px;
  font-weight: 950;
}

.hm-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(200,163,95,.20), transparent 34%),
    linear-gradient(135deg, #0f3d3e 0%, #0b2f30 100%);
  color: #fff;
  border-color: rgba(255,255,255,.10);
}

.hm-bottom-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hm-bottom-cta p:not(.hm-eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
}

.hm-bottom-cta .hm-eyebrow {
  color: #d9c38a !important;
}

.hm-bottom-cta__actions {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.hm-bottom-cta .hm-button--secondary {
  background: #fff !important;
  color: var(--hm-main) !important;
  border-color: #fff !important;
}

.hm-sticky-cta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-inline: 14px;
}

.hm-sticky-cta .hm-button {
  min-width: 0;
  white-space: nowrap;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .hm-property-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hm-insight-grid,
  .hm-question-list,
  .hm-bottom-cta {
    grid-template-columns: 1fr;
  }

  .hm-bottom-cta__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .hm-property-header h1 {
    font-size: 30px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.035em !important;
  }

  .hm-property-share-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hm-property-share-row .hm-button {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .hm-property-gallery__hero {
    aspect-ratio: 4 / 3;
  }

  .hm-property-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hm-insight-grid > div,
  .hm-question-list li {
    padding: 15px;
  }

  .hm-question-list li {
    padding-left: 42px;
  }

  .hm-bottom-cta {
    padding: 22px;
  }

  .hm-bottom-cta__actions {
    display: grid;
    min-width: 0;
  }
}

/* Phase J: real homepage, trust content, sell/contact page polish */
.hm-home--phase-j .hm-home-hero__copy > p:not(.hm-eyebrow) {
  max-width: 720px;
}

.hm-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hm-hero-proof > div {
  min-width: 138px;
  padding: 13px 16px;
  border: 1px solid rgba(15,61,62,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 12px 34px rgba(15,61,62,.06);
}

.hm-hero-proof strong,
.hm-hero-proof span {
  display: block;
}

.hm-hero-proof strong {
  color: var(--hm-main);
  font-weight: 950;
  font-size: 18px;
  line-height: 1.1;
}

.hm-hero-proof span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.hm-section-heading--center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.hm-section-heading > p:not(.hm-eyebrow) {
  color: #64748b;
  line-height: 1.75;
  margin: 8px 0 0;
}

.hm-benefit-grid,
.hm-step-grid,
.hm-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.hm-benefit-card,
.hm-step-grid > div,
.hm-process-grid > article {
  border: 1px solid rgba(15,61,62,.10);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 52px rgba(15,61,62,.07);
  padding: 24px;
}

.hm-benefit-card span,
.hm-step-grid span,
.hm-process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding-inline: 10px;
  border-radius: 999px;
  background: rgba(15,61,62,.09);
  color: var(--hm-main);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
}

.hm-benefit-card h3,
.hm-step-grid strong,
.hm-process-grid h3 {
  display: block;
  margin: 18px 0 8px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 950;
}

.hm-benefit-card p,
.hm-step-grid p,
.hm-process-grid p {
  margin: 0;
  color: #64748b;
  line-height: 1.72;
  font-size: 14px;
}

.hm-how-it-works {
  padding-top: 4px;
}

.hm-sell-section--phase-j .hm-sell-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.hm-sell-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hm-sell-card__actions .hm-button--secondary {
  background: #fff !important;
  color: var(--hm-main) !important;
  border-color: #fff !important;
}

.hm-info-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
}

.hm-hero--sell h1,
.hm-info-page .hm-hero h1 {
  max-width: 860px;
  text-wrap: balance;
}

.hm-seller-ready-card,
.hm-contact-quick-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(200,163,95,.14), transparent 38%),
    rgba(255,255,255,.86);
}

.hm-seller-ready-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hm-seller-ready-card li {
  position: relative;
  padding-left: 30px;
  color: #475569;
  font-weight: 750;
  line-height: 1.55;
}

.hm-seller-ready-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15,61,62,.12);
  color: var(--hm-main);
  font-size: 12px;
  font-weight: 950;
}

.hm-process-grid--large > article {
  min-height: 230px;
}

.hm-mini-grid--checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-contact-panel--sticky {
  position: sticky;
  top: 100px;
}

.hm-contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hm-contact-methods > div {
  padding: 14px;
  border: 1px solid rgba(15,61,62,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.70);
}

.hm-contact-methods strong,
.hm-contact-methods span {
  display: block;
}

.hm-contact-methods strong {
  color: var(--hm-main);
  font-size: 13px;
  font-weight: 950;
}

.hm-contact-methods span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.hm-contact-panel__link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 850;
}

@media (max-width: 1024px) {
  .hm-benefit-grid,
  .hm-step-grid,
  .hm-process-grid,
  .hm-info-hero-grid,
  .hm-sell-section--phase-j .hm-sell-card {
    grid-template-columns: 1fr;
  }

  .hm-sell-card__actions {
    justify-content: flex-start;
  }

  .hm-contact-panel--sticky {
    position: static;
  }
}

@media (max-width: 720px) {
  .hm-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hm-benefit-card,
  .hm-step-grid > div,
  .hm-process-grid > article {
    padding: 19px;
    border-radius: 20px;
  }

  .hm-mini-grid--checklist {
    grid-template-columns: 1fr;
  }

  .hm-sell-card__actions {
    display: grid;
  }

  .hm-sell-card__actions .hm-button {
    width: 100%;
  }
}


/* Phase J2: CTA button visibility patch */
.hm-sell-card__actions .hm-button,
.hm-sell-card__actions .hm-button:visited,
.hm-sell-card__actions .hm-button:hover,
.hm-sell-card__actions .hm-button:focus,
.hm-sell-card__actions button.hm-button,
.hm-sell-card__actions button.hm-button:hover,
.hm-sell-card__actions button.hm-button:focus {
  color: var(--hm-main) !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  text-shadow: none !important;
}

.hm-sell-card__actions .hm-button:hover,
.hm-sell-card__actions button.hm-button:hover {
  background: #f7f5ef !important;
  border-color: #f7f5ef !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}

.hm-sell-card__actions .hm-button * {
  color: var(--hm-main) !important;
}

/* Phase M — Owner submission workflow */
.hm-owner-form-section{margin-top:36px;margin-bottom:54px}.hm-owner-submission{background:#fff;border:1px solid rgba(9,63,58,.12);border-radius:28px;box-shadow:0 22px 60px rgba(7,63,58,.08);overflow:hidden}.hm-owner-submission__head{padding:34px 38px 18px;background:linear-gradient(135deg,#fbfaf6,#eef4f1)}.hm-owner-submission__head h2{margin:0 0 8px;font-size:clamp(30px,4vw,52px);line-height:1.05;letter-spacing:-.035em}.hm-owner-submission__head p{max-width:760px;color:#5f6b73;font-size:18px;line-height:1.7}.hm-owner-notice{margin:22px 38px 0;padding:16px 18px;border-radius:18px;display:grid;gap:4px}.hm-owner-notice--success{background:#eaf6f1;border:1px solid #b8ded0;color:#063f39}.hm-owner-notice--error{background:#fff1ed;border:1px solid #ffd0c2;color:#8b2f17}.hm-owner-form{padding:28px 38px 38px}.hm-owner-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hm-owner-form__section{border:1px solid rgba(9,63,58,.12);border-radius:22px;padding:20px;margin:0;background:#fff}.hm-owner-form__section legend{font-size:18px;font-weight:800;padding:0 8px;color:#111827}.hm-owner-form label{display:grid;gap:7px;margin:0 0 14px;font-weight:700;color:#27323a}.hm-owner-form input:not([type=checkbox]),.hm-owner-form select,.hm-owner-form textarea{width:100%;border:1px solid rgba(9,63,58,.16);border-radius:14px;padding:13px 14px;background:#fff;font:inherit;color:#1f2937;box-shadow:none}.hm-owner-form input:focus,.hm-owner-form select:focus,.hm-owner-form textarea:focus{outline:none;border-color:#073f3a;box-shadow:0 0 0 3px rgba(7,63,58,.12)}.hm-owner-help{margin:-4px 0 14px;color:#66737a;font-size:14px;line-height:1.6}.hm-owner-form__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding-top:22px;border-top:1px solid rgba(9,63,58,.1)}.hm-owner-consent{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:10px;margin:0!important;font-weight:600!important;color:#4b5563!important;line-height:1.6}.hm-owner-consent input{margin-top:5px}.hm-owner-form__footer .hm-button{white-space:nowrap}.hm-sell-page .hm-owner-form-section .hm-owner-submission{scroll-margin-top:90px}@media(max-width:900px){.hm-owner-submission__head,.hm-owner-form{padding-left:22px;padding-right:22px}.hm-owner-form__grid{grid-template-columns:1fr}.hm-owner-form__footer{align-items:stretch;flex-direction:column}.hm-owner-form__footer .hm-button{width:100%;justify-content:center}.hm-owner-notice{margin-left:22px;margin-right:22px}}@media(max-width:560px){.hm-owner-form-section{margin-top:24px}.hm-owner-submission{border-radius:22px}.hm-owner-submission__head h2{font-size:32px}.hm-owner-submission__head p{font-size:16px}.hm-owner-form__section{padding:16px;border-radius:18px}}

/* Phase N — SEO Location Content Hub */
.hm-location-hub{background:linear-gradient(180deg,#f7f3eb 0%,#fbfaf6 46%,#f7f3eb 100%)}
.hm-location-hero{padding:58px 0 42px;background:radial-gradient(circle at 86% 8%,rgba(15,61,62,.10),transparent 34%),linear-gradient(135deg,#fbfaf6,#f2efe7)}
.hm-location-hero__grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(320px,.58fr);gap:38px;align-items:center}.hm-location-hero__content h1{margin:14px 0 18px;max-width:870px;font-size:clamp(42px,6vw,86px);line-height:.98;letter-spacing:-.055em}.hm-location-hero__content>p{max-width:760px;color:#53616b;font-size:19px;line-height:1.75}.hm-location-hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.hm-location-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:22px;border:1px solid rgba(15,61,62,.10);border-radius:28px;background:rgba(255,255,255,.78);box-shadow:0 26px 70px rgba(15,61,62,.10)}.hm-location-stats div{padding:18px;border-radius:20px;background:#fff;border:1px solid rgba(15,61,62,.08)}.hm-location-stats span{display:block;color:#69777f;font-size:13px;font-weight:850}.hm-location-stats strong{display:block;margin-top:7px;color:var(--hm-main);font-size:25px;line-height:1.15}.hm-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:24px;font-size:13px;font-weight:850;color:#66737a}.hm-breadcrumb a{color:#263238;text-decoration:none}.hm-breadcrumb span{color:#8a949b}.hm-location-content-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.hm-location-panel{padding:28px;border:1px solid rgba(15,61,62,.10);border-radius:28px;background:rgba(255,255,255,.84);box-shadow:0 18px 54px rgba(15,61,62,.07)}.hm-location-panel h2{margin:6px 0 14px;font-size:clamp(28px,3.3vw,44px);line-height:1.05;letter-spacing:-.035em}.hm-location-panel p{color:#52616b;line-height:1.75}.hm-location-highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}.hm-location-highlight-grid>div{padding:18px;border-radius:20px;background:#fbfaf6;border:1px solid rgba(15,61,62,.09)}.hm-location-highlight-grid span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(15,61,62,.10);color:var(--hm-main);font-weight:950}.hm-location-highlight-grid p{margin:10px 0 0;color:#263238;font-weight:780;line-height:1.55}.hm-pill-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.hm-pill-list--large{gap:12px}.hm-pill-list--large .hm-pill{padding:12px 16px}.hm-pill span{margin-left:5px;opacity:.62}.hm-location-results{align-items:start}.hm-location-faq h2{margin:0 0 22px;font-size:clamp(30px,4vw,52px);line-height:1.05;letter-spacing:-.04em}.hm-faq-list{display:grid;gap:12px;max-width:980px}.hm-faq-list details{border:1px solid rgba(15,61,62,.10);border-radius:20px;background:#fff;padding:18px 20px;box-shadow:0 14px 34px rgba(15,61,62,.05)}.hm-faq-list summary{cursor:pointer;font-weight:900;color:#152127}.hm-faq-list p{margin:12px 0 0;color:#52616b;line-height:1.7}.hm-location-crosslinks{padding-bottom:58px}@media(max-width:1024px){.hm-location-hero__grid,.hm-location-content-grid{grid-template-columns:1fr}.hm-location-stats{max-width:680px}.hm-location-highlight-grid{grid-template-columns:1fr}}@media(max-width:640px){.hm-location-hero{padding:38px 0 28px}.hm-location-hero__content h1{font-size:38px}.hm-location-hero__content>p{font-size:16px}.hm-location-stats{grid-template-columns:1fr;padding:14px;border-radius:22px}.hm-location-panel{padding:20px;border-radius:22px}.hm-location-hero__actions{display:grid}.hm-location-hero__actions .hm-button{width:100%;justify-content:center}}


/* Phase N2 — Location Hub Polish */
.hm-location-hub .hm-location-hero {
    padding: clamp(42px, 6vw, 88px) 0 clamp(34px, 5vw, 68px);
}
.hm-location-hub .hm-location-hero__content h1 {
    max-width: 760px;
    font-size: clamp(42px, 5.2vw, 82px);
    line-height: .93;
    letter-spacing: -0.055em;
}
.hm-location-hub .hm-location-hero__content > p {
    max-width: 760px;
    font-size: clamp(16px, 1.35vw, 22px);
    line-height: 1.65;
}
.hm-location-hub .hm-location-stats {
    align-self: center;
    box-shadow: 0 18px 55px rgba(10, 42, 38, .08);
}
.hm-location-content-grid {
    align-items: stretch;
}
.hm-location-panel {
    transition: transform .18s ease, box-shadow .18s ease;
}
.hm-location-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 60px rgba(10, 42, 38, .08);
}
.hm-location-mid-cta {
    margin-top: clamp(8px, 2vw, 18px);
    margin-bottom: clamp(24px, 4vw, 52px);
    border-radius: 32px;
    padding: clamp(24px, 4vw, 46px);
    background: linear-gradient(135deg, #083f3a 0%, #052f2c 100%);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(7, 50, 46, .16);
}
.hm-location-mid-cta::after {
    content: '';
    position: absolute;
    width: 230px;
    height: 230px;
    right: -45px;
    top: -85px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}
.hm-location-mid-cta__content,
.hm-location-mid-cta__actions {
    position: relative;
    z-index: 1;
}
.hm-location-mid-cta .hm-eyebrow {
    color: #d5b46a;
}
.hm-location-mid-cta h2 {
    margin: 0 0 12px;
    max-width: 760px;
    color: #fff;
    font-size: clamp(28px, 3.5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}
.hm-location-mid-cta p {
    margin: 0;
    max-width: 720px;
    color: rgba(255,255,255,.80);
    font-size: 17px;
    line-height: 1.75;
}
.hm-location-mid-cta__actions {
    display: grid;
    gap: 12px;
    min-width: 210px;
}
.hm-location-mid-cta__actions .hm-button,
.hm-location-mid-cta__actions .hm-button--secondary {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
}
.hm-location-mid-cta__actions .hm-button--secondary {
    background: #fff;
    color: #073f3a !important;
    border-color: #fff;
}
.hm-location-mid-cta__actions .hm-button--secondary:hover {
    background: #f7f3e9;
    color: #052f2c !important;
}
.hm-location-hub .hm-location-faq h2 {
    max-width: 880px;
    font-size: clamp(32px, 4.2vw, 64px);
    letter-spacing: -0.045em;
    line-height: .98;
}
.hm-location-hub .hm-results-toolbar,
.hm-location-hub .hm-filter-panel,
.hm-location-hub .hm-results-area {
    border-color: rgba(8, 63, 58, .10);
}
@media (max-width: 980px) {
    .hm-location-mid-cta {
        grid-template-columns: 1fr;
    }
    .hm-location-mid-cta__actions {
        min-width: 0;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 640px) {
    .hm-location-hub .hm-location-hero__content h1 {
        font-size: clamp(36px, 11vw, 48px);
        line-height: .98;
    }
    .hm-location-mid-cta {
        border-radius: 24px;
    }
    .hm-location-mid-cta__actions {
        grid-template-columns: 1fr;
    }
}

/* Phase U — Real Sale Listing Polish */
.hm-home--phase-u .hm-home-hero--sale-ready h1 {
  max-width: 760px;
}

.hm-home--phase-u .hm-home-hero--sale-ready .hm-home-hero__copy > p:not(.hm-eyebrow) {
  max-width: 680px;
}

.hm-home-hero__search--buyer {
  position: relative;
}

.hm-form-helper {
  margin: 12px 0 0;
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.hm-trust-strip--buyers .hm-trust-strip__item {
  min-height: 104px;
}

.hm-live-sale-section {
  padding-top: 26px;
}

.hm-property-grid--live-sale .hm-property-card {
  border-color: rgba(200, 163, 95, .38);
  box-shadow: 0 22px 55px rgba(15, 61, 62, .10);
}

.hm-sale-status-pill {
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 61, 62, .92);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  box-shadow: 0 10px 22px rgba(15,61,62,.18);
}

.hm-card-ready-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -2px 0 10px;
  color: var(--hm-main);
  font-size: 13px;
  font-weight: 800;
}

.hm-card-ready-note:before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15,61,62,.10);
}

.hm-property-price-box--sale em {
  display: block;
  margin-top: 10px;
  color: var(--hm-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.hm-sale-decision-card {
  background: linear-gradient(135deg, #ffffff 0%, #fbf7ee 100%);
  border-color: rgba(200, 163, 95, .35);
}

.hm-sale-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hm-sale-decision-grid > div {
  padding: 16px;
  border: 1px solid var(--hm-line);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
}

.hm-sale-decision-grid span,
.hm-sale-decision-grid strong {
  display: block;
}

.hm-sale-decision-grid span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

.hm-sale-decision-grid strong {
  margin-top: 4px;
  color: var(--hm-main);
  font-size: 17px;
  line-height: 1.35;
}

.hm-sale-decision-note {
  margin: 14px 0 0;
  color: var(--hm-muted);
  font-size: 14px;
  line-height: 1.65;
}

.hm-cta-assurance {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7f5ef;
  border: 1px solid var(--hm-line);
}

.hm-cta-assurance span,
.hm-cta-assurance strong {
  display: block;
}

.hm-cta-assurance span {
  color: var(--hm-muted);
  font-size: 12px;
  font-weight: 800;
}

.hm-cta-assurance strong {
  color: var(--hm-main);
  font-size: 18px;
  margin-top: 2px;
}

.hm-home--phase-u .hm-benefit-card p,
.hm-home--phase-u .hm-step-grid p,
.hm-home--phase-u .hm-trust-strip__item span {
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .hm-sale-decision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hm-sale-status-pill {
    top: 52px;
    left: 14px;
    right: auto;
  }
  .hm-live-sale-section {
    padding-top: 14px;
  }
}


/* Phase X: sale status display and CTA logic */
.hm-sale-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
}
.hm-sale-status--available {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.18);
}
.hm-sale-status--reserved {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid rgba(194, 65, 12, 0.22);
}
.hm-sale-status--sold {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(71, 85, 105, 0.22);
}
.hm-sale-status--hidden {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.22);
}
.hm-sale-status-pill--single {
  align-self: flex-start;
  margin-bottom: 12px;
}
.hm-property-card--sold .hm-property-card__media img,
.hm-property-card--hidden .hm-property-card__media img {
  filter: grayscale(0.25) saturate(0.75);
}
.hm-property-card--sold .hm-property-card__media::after,
.hm-property-card--hidden .hm-property-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  pointer-events: none;
}
.hm-property-card--reserved {
  border-color: rgba(194, 65, 12, 0.20);
}
.hm-property-card--sold,
.hm-property-card--hidden {
  background: #f8fafc;
}
.hm-property-status-inline {
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.hm-property-price-box--reserved {
  border-color: rgba(194, 65, 12, 0.22);
}
.hm-property-price-box--sold,
.hm-property-price-box--hidden {
  background: #f8fafc;
  border-color: rgba(71, 85, 105, 0.18);
}
.hm-status-alert {
  margin: 22px 0;
  padding: 20px;
  display: grid;
  gap: 8px;
  border-radius: 22px;
}
.hm-status-alert strong {
  font-size: 22px;
}
.hm-status-alert p {
  margin: 0;
  color: #475569;
}
.hm-status-alert.hm-sale-status--reserved {
  background: #fff7ed;
}
.hm-status-alert.hm-sale-status--sold,
.hm-status-alert.hm-sale-status--hidden {
  background: #f8fafc;
}
.hm-sticky-cta--sold,
.hm-sticky-cta--hidden {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 680px) {
  .hm-sale-status-pill {
    font-size: 11px;
    padding: 6px 10px;
  }
  .hm-status-alert strong {
    font-size: 18px;
  }
}


/* Phase X2: ready section filter and clearer status microcopy */
.hm-property-grid--live-sale .hm-property-card--reserved,
.hm-property-grid--live-sale .hm-property-card--sold,
.hm-property-grid--live-sale .hm-property-card--hidden {
  display: none;
}
.hm-card-ready-note--reserved,
.hm-card-ready-note--sold,
.hm-card-ready-note--hidden {
  color: #475569;
  font-weight: 750;
}
.hm-card-ready-note--reserved:before {
  content: "!";
  background: #fff7ed;
  color: #c2410c;
}
.hm-card-ready-note--sold:before,
.hm-card-ready-note--hidden:before {
  content: "i";
  background: #f1f5f9;
  color: #475569;
}
.hm-property-card--reserved .hm-property-card__price,
.hm-property-card--reserved .hm-card-ready-note {
  color: #9a3412;
}
.hm-property-card--sold .hm-property-card__price,
.hm-property-card--hidden .hm-property-card__price {
  color: #475569;
}

/* Phase AA: public trust/disclaimer polish for real owner-sale listings */
.hm-public-trust-card {
  border-color: rgba(14, 116, 144, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}
.hm-public-trust-intro {
  margin: 0 0 18px;
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  max-width: 920px;
}
.hm-public-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hm-public-trust-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}
.hm-public-trust-item strong {
  display: block;
  color: #0f3f3a;
  font-size: 15px;
  margin-bottom: 6px;
}
.hm-public-trust-item span {
  display: block;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}
.hm-public-disclaimer {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  color: #78350f;
  font-size: 14px;
  line-height: 1.65;
}
.hm-public-disclaimer strong {
  color: #92400e;
}
.hm-cta-panel__notice {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 4px;
}
.hm-cta-panel__notice strong {
  color: #0f3f3a;
  font-size: 13px;
}
.hm-cta-panel__notice span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}
.hm-bottom-cta__note {
  margin-top: 10px !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: 13px;
  line-height: 1.6;
}
.hm-public-trust-card--sell {
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .hm-public-trust-grid {
    grid-template-columns: 1fr;
  }
  .hm-public-disclaimer {
    grid-template-columns: 1fr;
  }
}

/* Phase AD: WordPress Site Identity custom logo support */
.hm-brand--has-logo {
  min-width: 0;
  gap: 0;
  flex: 0 0 auto;
}

.hm-brand__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  max-width: 100%;
}

.hm-brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 300px;
  max-height: 58px;
  object-fit: contain;
}

.hm-site-header .hm-brand--has-logo {
  min-width: clamp(180px, 22vw, 320px);
}

.hm-site-footer .hm-brand--has-logo {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.hm-site-footer .hm-brand__logo {
  max-width: 260px;
  max-height: 52px;
}

@media (max-width: 980px) {
  .hm-site-header .hm-brand--has-logo {
    min-width: 0;
  }

  .hm-brand__logo {
    max-width: 240px;
    max-height: 50px;
  }
}

@media (max-width: 680px) {
  .hm-brand__logo {
    max-width: min(54vw, 220px);
    max-height: 44px;
  }

  .hm-site-footer .hm-brand__logo {
    max-width: min(70vw, 240px);
  }
}

/* Phase AG: dynamic brand contact links */
.hm-footer-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.hm-button.hm-button--footer-light {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
.hm-site-footer__bottom a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
}
.hm-site-footer__bottom a:hover,
.hm-site-footer__bottom a:focus-visible {
  color: #fff;
}
.hm-contact-methods a {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--hm-main);
  text-decoration: none;
}
.hm-contact-methods a:hover,
.hm-contact-methods a:focus-visible {
  text-decoration: underline;
}
@media (max-width: 720px) {
  .hm-footer-contact-actions {
    display: grid;
  }
}
