:root {
  color-scheme: light;
  --ink: #152026;
  --muted: #637078;
  --line: #d8dee2;
  --soft: #f4f7f6;
  --teal: #067d8c;
  --gold: #b28a4a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  gap: 34px;
  color: #38454d;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
}

.main-nav a:hover,
.destination-menu summary:hover {
  color: var(--teal);
}

.destination-menu {
  position: relative;
}

.destination-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  color: #38454d;
}

.destination-menu summary::-webkit-details-marker {
  display: none;
}

.destination-menu[open] summary {
  color: var(--teal);
}

.destination-panel {
  position: fixed;
  left: 50%;
  top: 72px;
  z-index: 40;
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  transform: translateX(-50%);
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(21, 32, 38, 0.16);
}

.destination-panel-head,
.destination-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.destination-panel-head strong {
  display: block;
  font-size: 22px;
}

.destination-panel-head span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.destination-grid fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f8faf9;
}

.destination-grid legend {
  padding: 0 4px;
  color: var(--ink);
  font-weight: 800;
}

.destination-grid label {
  cursor: pointer;
}

.destination-grid input {
  margin-right: 7px;
  accent-color: var(--teal);
}

.destination-city-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
}

.destination-city-list label {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #334148;
}

.destination-city-list span {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.destination-panel-foot {
  justify-content: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.destination-panel-foot a {
  padding: 0;
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.header-consult {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  padding: 120px 48px 48px;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 25, 30, 0.88), rgba(8, 25, 30, 0.45) 48%, rgba(8, 25, 30, 0.16)),
    url("https://www.landmaglobal.com/web-static/landMa/img/yingguolundun.png") center / cover;
}

.hero-content {
  position: relative;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7de5ef;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 620px;
  margin-top: 28px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.home-search input {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  color: var(--ink);
  font: inherit;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 700;
}

.primary-btn {
  background: var(--teal);
  color: var(--white);
}

.secondary-btn {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.secondary-btn.dark {
  border-color: var(--ink);
  color: var(--ink);
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-summary {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin-top: 84px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-summary div {
  padding: 24px;
  background: rgba(6, 20, 24, 0.72);
}

.hero-summary strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.hero-summary span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.intro,
.markets,
.properties,
.method,
.contact,
.subhero,
.insight-band,
.property-detail,
.lead-section,
.content-section {
  padding: 76px 48px;
}

.intro {
  background: var(--soft);
  color: #415058;
  font-size: 18px;
  line-height: 1.8;
}

.intro p,
.markets,
.properties,
.method,
.contact,
.subhero,
.insight-band,
.property-detail,
.lead-section,
.content-section,
footer {
  max-width: 1280px;
  margin: 0 auto;
}

.subhero {
  display: grid;
  gap: 20px;
  padding-top: 88px;
  padding-bottom: 58px;
  background: var(--soft);
}

.subhero h1 {
  max-width: 980px;
  color: var(--ink);
  font-size: 54px;
}

.subhero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

h2 {
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1.18;
  font-weight: 640;
}

.market-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.home-markets {
  padding-top: 56px;
  padding-bottom: 56px;
}

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

.market-grid .market-row {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
}

.market-grid .market-row h2 {
  font-size: 26px;
}

.market-grid .market-stat {
  margin-top: 18px;
  padding: 18px;
}

.market-grid .market-stat strong {
  font-size: 28px;
}

.market-row p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.market-stat {
  padding: 24px;
  background: var(--soft);
  border-left: 4px solid var(--teal);
}

.market-stat strong {
  display: block;
  font-size: 34px;
}

.market-stat span,
.market-stat small {
  display: block;
  color: var(--muted);
}

.content-section {
  border-top: 1px solid var(--line);
}

.knowledge-section {
  padding-top: 56px;
  padding-bottom: 56px;
  background: #f7f3ea;
  max-width: none;
}

.knowledge-section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

.knowledge-section .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.link-stack {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.guide-band {
  background: #f7f3ea;
  max-width: none;
}

.guide-band > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

.content-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.content-card h3 {
  font-size: 21px;
  line-height: 1.28;
}

.content-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card .text-link {
  margin-top: auto;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.collection-grid article {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 33, 38, 0.2), rgba(16, 33, 38, 0.9)), var(--teal);
}

.collection-grid h3 {
  font-size: 20px;
}

.collection-grid p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.searchTop {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.searchTopContainer,
.searchResultContainer {
  max-width: 1280px;
  margin: 0 auto;
}

.searchTop h1 {
  margin-bottom: 24px;
  font-size: 46px;
}

.searchContainer {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.searchItem {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.searchItemTitle {
  color: var(--ink);
  font-weight: 800;
}

.searchItemContent {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.searchItemContent input,
.sort-select select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.searchKeyword .searchItemContent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.searchItemBtn,
.searchAll,
.mapTypeCon button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.searchResultContainer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 48px;
}

.searchResultHeader {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.searchResultText {
  margin: 0;
  color: var(--muted);
}

.sort-select {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.searchResultContainerRight {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 20px;
}

.mapContainer,
.more-guides,
.counselor_info_card,
.lead-form.compact {
  border: 1px solid var(--line);
  background: var(--white);
}

.mapTypeCon {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.mapTypeCon .active,
.searchAllActive,
.filter.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.mapCon,
.map-frame {
  height: 420px;
  background: var(--soft);
  overflow: hidden;
}

.mapCon iframe,
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.more-guides {
  padding: 20px;
}

.guide-entry {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.guide-entry span {
  color: var(--muted);
  white-space: nowrap;
}

.listing-search {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  padding: 22px;
  background: var(--soft);
  border-left: 4px solid var(--teal);
}

.listing-search label {
  font-weight: 800;
}

.listing-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.listing-search input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.listing-search p,
.no-results,
.form-note {
  color: var(--muted);
  line-height: 1.7;
}

.no-results {
  margin-top: 24px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #2f3e46;
  cursor: pointer;
}

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

.property-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.property-card[hidden] {
  display: none;
}

.property-media {
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.property-card:hover img {
  transform: scale(1.04);
}

.image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--teal);
  font-weight: 800;
}

.property-body {
  padding: 22px;
}

.property-body h3 {
  min-height: 58px;
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.35;
}

.property-body h3 a:hover {
  color: var(--teal);
}

.address {
  min-height: 48px;
  color: var(--muted);
  line-height: 1.55;
}

dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.method {
  background: #102126;
  color: var(--white);
  max-width: none;
}

.method > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.method .eyebrow {
  color: #7de5ef;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.method-grid article {
  padding: 28px;
  background: #102126;
}

.method-grid span {
  color: var(--gold);
  font-weight: 800;
}

.method-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.insight-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
  background: #e9f1ef;
}

.insight-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.insight-band.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 48px 0;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--ink);
  font-weight: 800;
}

.breadcrumb span::before {
  content: "/";
  margin: 0 10px;
  color: var(--muted);
}

.property-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: start;
  padding-top: 34px;
}

.house_detail_container {
  max-width: 1280px;
  margin: 0 auto;
}

.detail-media {
  position: sticky;
  top: 96px;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(21, 32, 38, 0.1);
}

.detail-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

iframe[title="conversion tracking"] {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.detail-body h1 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.14;
}

.house_detail_header {
  padding: 8px 0 28px;
}

.summaryinfor_container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.summaryinfor_container div {
  display: block;
  min-height: 86px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.summaryinfor_container dt {
  margin-bottom: 8px;
  font-size: 13px;
}

.summaryinfor_container dd {
  text-align: left;
  font-size: 18px;
  line-height: 1.35;
}

.detail-body .address {
  min-height: auto;
  margin-bottom: 22px;
  font-size: 17px;
}

.detail-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
}

.detail-link-row a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  background: #fff;
}

.detail-link-row a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.detail-list {
  margin: 28px 0;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.house_content_container_wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 40px;
}

.house_content_container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.house_content_main .detail-section {
  padding-left: 0;
  padding-right: 0;
}

.house_content_main .detail-section:first-child {
  border-top: 0;
  padding-top: 8px;
}

.counselor_info_card_wrapper {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.counselor_info_card {
  display: grid;
  gap: 12px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(21, 32, 38, 0.08);
}

.counselor_info_card h2 {
  font-size: 26px;
}

.counselor_info_card p {
  color: var(--muted);
  line-height: 1.7;
}

.counselor-profile {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--soft);
}

.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
}

.counselor-profile strong,
.counselor-profile span {
  display: block;
}

.counselor-profile span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.advisor-contact {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #eef7f7;
  border-left: 3px solid var(--teal);
  font-weight: 700;
}

.advisor-contact a {
  color: var(--ink);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.form-status.error {
  color: #a43d2f;
}

.detail-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 48px;
  border-top: 1px solid var(--line);
}

.detail-section h2 {
  font-size: 32px;
}

.detail-list.full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.detail-list.full div {
  min-height: 86px;
  display: block;
  padding: 16px;
  background: #f8faf9;
  border: 1px solid var(--line);
}

.detail-list.full dt {
  margin-bottom: 8px;
  font-size: 13px;
}

.detail-list.full dd {
  text-align: left;
  line-height: 1.45;
  word-break: break-word;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

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

.narrative-grid article {
  padding: 22px;
  background: var(--soft);
  border-left: 4px solid var(--teal);
}

.narrative-grid strong {
  display: block;
  margin-bottom: 10px;
}

.narrative-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.label_container {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.label_container h2 {
  margin-bottom: 18px;
  font-size: 32px;
}

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

.label-list span {
  padding: 8px 12px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.house-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.house-type-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.house-type-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.house-type-card div {
  padding: 16px;
}

.house-type-card h3 {
  font-size: 20px;
}

.house-type-card p,
.empty-copy {
  color: var(--muted);
  line-height: 1.7;
}

.raw-detail {
  background: #101b1f;
  color: var(--white);
}

.raw-detail summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
}

.raw-detail pre {
  max-height: 620px;
  margin: 0;
  overflow: auto;
  padding: 0 22px 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.map-section p {
  color: var(--muted);
  line-height: 1.7;
}

.map-frame {
  height: 420px;
  margin-bottom: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.property-contact-section {
  background: #f7f3ea;
  max-width: none;
}

.property-contact-section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.property-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.lead-form.compact {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #334148;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.lead-form textarea {
  min-height: 150px;
  resize: vertical;
}

.lead-aside {
  padding: 28px;
  background: var(--soft);
  border-left: 4px solid var(--gold);
}

.lead-aside p,
.lead-aside li {
  color: var(--muted);
  line-height: 1.75;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-top: 1px solid var(--line);
}

.contact p {
  color: var(--muted);
  line-height: 1.8;
}

.contact .primary-btn {
  min-width: 140px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span {
  color: var(--ink);
  font-weight: 800;
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .main-nav a {
    padding: 4px 0;
  }

  .destination-menu summary {
    padding: 4px 0;
  }

  .destination-panel {
    left: 22px;
    right: 22px;
    top: 126px;
    width: auto;
    max-height: calc(100vh - 150px);
    transform: none;
    padding: 18px;
  }

  .destination-panel-head,
  .destination-panel-foot {
    display: grid;
    grid-template-columns: 1fr;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    display: none;
  }

  .hero,
  .intro,
  .markets,
  .properties,
  .method,
  .contact,
  .subhero,
  .searchTop,
  .searchResultContainer,
  .insight-band,
  .property-detail,
  .house_content_container_wrapper,
  .lead-section,
  .property-contact-section,
  .content-section,
  .detail-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 46px;
  }

  .subhero h1,
  .detail-body h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-summary,
  .market-row,
  .market-grid,
  .property-grid,
  .collection-grid,
  .method-grid,
  .contact,
  .searchResultContainer,
  .searchItem,
  .house_content_container,
  .insight-band,
  .property-detail,
  .lead-section,
  .property-contact,
  .detail-list.full,
  .summaryinfor_container,
  .detail-gallery,
  .house-type-grid,
  .narrative-grid,
  .content-grid,
  .guide-list,
  .insight-band.compact {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
  }

  .searchResultContainerRight,
  .counselor_info_card_wrapper {
    position: static;
  }

  .section-heading.split,
  .contact,
  .searchResultHeader,
  footer {
    display: block;
  }

  .home-markets,
  .knowledge-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .link-stack {
    margin-top: 18px;
  }

  .listing-search div {
    grid-template-columns: 1fr;
  }

  .home-search,
  .searchKeyword .searchItemContent,
  .price-range {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-frame {
    height: 320px;
  }

  .market-grid .market-row {
    padding: 18px;
  }

  .market-grid .market-row h2 {
    font-size: 24px;
  }

  .market-grid .market-row p:not(.eyebrow) {
    display: none;
  }

  .market-grid .market-stat {
    margin-top: 14px;
    padding: 14px;
  }

  .content-card {
    min-height: auto;
  }

  .filters {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .property-body h3,
  .address {
    min-height: auto;
  }
}
