.home-hero {
  position: relative;
  display: flex;
  min-height: clamp(620px,76vh,790px);
  align-items: center;
  background: var(--color-navy-900);
  color: #fff;
  isolation: isolate;
}
.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,rgba(8,23,37,.96) 0%,rgba(8,23,37,.78) 43%,rgba(8,23,37,.18) 100%),var(--hero-image) center/cover no-repeat;
  content: "";
}
.home-hero__inner { width: min(calc(100% - 3rem),var(--content-width)); margin-inline: auto; }
.home-hero__content { max-width: 720px; padding-block: clamp(4rem,8vh,7rem); }
.home-hero h1 { max-width: 650px; margin: .7rem 0 1.2rem; color: #fff; font-size: clamp(3.4rem,6.2vw,5.7rem); line-height: .99; letter-spacing: -.045em; }
.home-hero h1 em, .services-section h2 em { font-weight: 400; }
.home-hero h1 em { color: var(--color-gold-300); }
.home-hero__intro { max-width: 560px; margin: 1.35rem 0 1.5rem; color: rgba(255,255,255,.84); font-size: clamp(1rem,1.5vw,1.2rem); line-height: 1.65; }
.home-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: max(1.5rem,calc((100% - var(--content-width))/2));
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  letter-spacing: .16em;
}
.proof-strip { background: #fff; border-bottom: 1px solid var(--color-line); }
.proof-strip__inner { display: grid; grid-template-columns: repeat(4,1fr); padding-block: 1.35rem; }
.proof-strip__inner>div { display: flex; align-items: center; gap: .8rem; padding-inline: 1rem; border-right: 1px solid var(--color-line); }
.proof-strip__inner>div:first-child { padding-left: 0; }
.proof-strip__inner>div:last-child { border: 0; }
.proof-strip strong { color: #b38d4b; font: 1.4rem var(--font-display); }
.proof-strip span { font-size: .85rem; color: var(--color-muted); }
.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; }
.property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 28px rgba(8,23,37,.05);
  transition: transform .25s,box-shadow .25s;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.property-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 1.45; background: #e8e8e5; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.property-card:hover .property-card__media img { transform: scale(1.035); }
.property-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .4rem .7rem;
  background: rgba(11,27,43,.88);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.property-card__body { padding: 1.25rem; }
.property-card__location { color: var(--color-muted); font-size: .78rem; letter-spacing: .04em; }
.property-card__body h3 { margin: .45rem 0; font-size: 1.4rem; }
.property-card__body h3 a:hover { color: #96713b; }
.property-card__project { margin-top: 0; color: var(--color-muted); font-size: .85rem; }
.property-card__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; padding-bottom: 1rem; border-bottom: 1px solid var(--color-line); }
.property-card__facts span { padding: .35rem .6rem; border-radius: 3px; background: var(--color-ivory-50); font-size: .75rem; color: #46535e; }
.property-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.property-card__bottom strong { color: var(--color-navy-800); font-size: 1rem; }
.property-card__bottom a { color: #8a6936; font-size: .82rem; font-weight: 700; }
.markets-band { padding: 4.5rem 0; background: var(--color-navy-900); color: #fff; }
.markets-band__inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 3rem; }
.markets-band h2 { max-width: 480px; color: #fff; }
.market-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem 2rem; }
.market-links a { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); }
.market-links a span { color: var(--color-gold-300); }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.service-grid article { min-height: 220px; padding: 1.875rem; border: 1px solid var(--color-line); background: #fff; }
.service-grid article>span { color: #a8792c; font: 600 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.service-grid h3 { margin: 1.1rem 0 .6rem; font: 500 1.625rem/1.25 var(--font-display); color: var(--color-navy-800); }
.service-grid p { margin: 0; color: var(--color-muted); font-size: .82rem; line-height: 1.8; }
.insight-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; }
.insight-card { overflow: hidden; border: 1px solid var(--color-line); background: #fff; }
.insight-card>a { display: flex; height: 100%; flex-direction: column; }
.insight-card img { width: 100%; height: 210px; object-fit: cover; }
.insight-card>a>div { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.insight-card h3 { margin: .45rem 0; font-size: 1.35rem; }
.insight-card p:not(.eyebrow) { color: var(--color-muted); font-size: .88rem; }
.insight-card span { margin-top: auto; padding-top: 1rem; color: #8a6936; font-size: .82rem; font-weight: 700; }

/* About section — restored from the previous homepage structure, styled for the current brand */

.about.newhaus-about {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  align-items: center;
  gap: 2rem clamp(2rem,4.5vw,3.4rem);
  padding: clamp(3.5rem,6vw,5rem) clamp(1.25rem,6vw,5.5rem);
  background: #f0e9db;
  color: var(--color-ink);
  text-align: left;
}
.newhaus-about .about-intro { max-width: 660px; min-width: 0; }
.newhaus-about .about-intro h2 { margin: .5rem 0 1rem; color: var(--color-navy-800); font: 500 clamp(2.3rem,4vw,3.4rem)/1.12 var(--font-display); letter-spacing: -.035em; }
.newhaus-about .about-intro h2 em { color: #9a783e; font-weight: 500; }
.newhaus-about .about-intro>p:not(.eyebrow) { max-width: 650px; margin: .9rem 0; color: #627083; font-size: .9rem; line-height: 1.8; }
.newhaus-about .about-intro .about-lead { color: #536176; font-size: 1.05rem; line-height: 1.7; }
.newhaus-about-card {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem,3vw,2rem);
  border: 1px solid #ded5c5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16,36,58,.045);
}
.newhaus-about-symbol {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  margin: 0 0 1.1rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  object-fit: contain;
}
.newhaus-about-card .eyebrow { margin: 0 0 .55rem; color: #a77a2e; }
.newhaus-about-card h3 { margin: 0 0 .55rem; color: var(--color-navy-800); font: 600 1.65rem/1.2 var(--font-display); }
.newhaus-about-card>p:not(.eyebrow) { margin: 0 0 1.2rem; color: #627083; font-size: .84rem; line-height: 1.75; }
.newhaus-about-card .button { margin-top: .2rem; }
.newhaus-about .principles-grid { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; margin-top: .35rem; }
.newhaus-about .principles-grid article { min-width: 0; padding: 1.35rem; border: 1px solid #ded5c5; border-radius: 6px; background: rgba(255,255,255,.83); }
.newhaus-about .principles-grid article>span { color: #a77a2e; font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.newhaus-about .principles-grid h3 { margin: .7rem 0 .4rem; color: var(--color-navy-800); font: 500 1.25rem/1.25 var(--font-display); }
.newhaus-about .principles-grid p { margin: 0; color: #627083; font-size: .78rem; line-height: 1.65; }

@media (max-width: 950px) {
  .property-grid, .insight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .markets-band__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Reference-matched homepage hero actions and floating property finder */

.home-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.home-hero__actions .button { min-width: 205px; }
.button--outline-light { border-color: rgba(255,255,255,.65); background: rgba(8,23,37,.2); color: #fff; }
.button--outline-light:hover { border-color: var(--color-gold-300); background: rgba(255,255,255,.08); color: var(--color-gold-300); }
.property-search-section { position: relative; z-index: 5; width: min(1320px,calc(100% - 48px)); margin: -32px auto 0; padding-bottom: 1rem; }
.property-search-panel { padding: 17px 20px 18px; border: 1px solid #e4ded2; border-radius: 9px; background: #fff; box-shadow: 0 12px 36px rgba(16,36,58,.14); }
.property-search-panel__heading { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.property-search-panel__heading h2 { font: 600 18px/1.2 var(--font-display); color: #10243a; }
.property-search-panel__heading p { color: #627083; font-size: 11px; }
.property-search {
  display: grid;
  grid-template-columns: minmax(180px,1.5fr) repeat(3,minmax(145px,1fr)) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  width: 100%;
}
.property-search input, .property-search select {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid #ded8cd;
  border-radius: 4px;
  background: #fcfbf8;
  color: #10243a;
  font: 400 12px var(--font-body);
}
.property-search input::placeholder { color: #777; }
.property-search input:focus, .property-search select:focus { border-color: var(--color-gold-500); outline: 2px solid rgba(214,183,122,.2); }
.property-search .button {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  min-height: 45px;
  white-space: nowrap;
  background: var(--color-navy-800);
  color: #fff;
}
.property-search .button:hover { background: var(--color-navy-700); }

@media (max-width: 900px) {
  .property-search { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .property-search input { grid-column: 1/-1; }
  .property-search .button { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  .home-hero__scroll { display: none; }
  .proof-strip__inner { grid-template-columns: repeat(2,1fr); gap: .8rem; padding-block: 1rem; }
  .proof-strip__inner>div { padding: .5rem; border: 0; }
  .property-grid, .insight-grid, .service-grid { grid-template-columns: 1fr; }
  .property-card__media { aspect-ratio: 1.5; }
  .markets-band { padding: 3rem 0; }
  .market-links { gap: .25rem 1rem; }
  .about.newhaus-about { grid-template-columns: minmax(0,1fr); gap: 1.5rem; padding: 3rem 1.15rem; }
  .newhaus-about-card { width: 100%; max-width: none; }
  .newhaus-about .principles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .newhaus-about .principles-grid article { padding: 1rem; }
  .newhaus-about .about-intro h2 br { display: none; }
  .property-search input, .property-search select, .property-search .button { grid-column: 1; width: 100%; min-width: 0; }
}

/* Property finance calculator — single, responsive calculator with EMI / CLP / PLP modes */

.property-finance-section { position: relative; overflow: hidden; background: #f7f4ee; padding-block: clamp(4rem,7vw,6.5rem); }
.property-finance-section:before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(54%,760px);
  height: 390px;
  background: linear-gradient(90deg,#f7f4ee 0%,rgba(247,244,238,.2) 45%,rgba(247,244,238,.05)),url("/assets/images/new-haus-hero-v2.webp") center 42%/cover no-repeat;
  opacity: .25;
  pointer-events: none;
}
.property-finance-section>.container { position: relative; z-index: 1; }
.finance-intro { max-width: 920px; margin: 0 0 2.4rem 4px; }
.finance-intro .eyebrow { margin-bottom: .8rem; color: #a8792c; font-weight: 700; letter-spacing: .16em; }
.finance-intro h2 { margin: 0 0 .45rem; color: #10243a; font: 600 clamp(2.3rem,4.4vw,3.6rem)/1.08 var(--font-display); letter-spacing: -.035em; }
.finance-intro>p:not(.eyebrow) { max-width: 850px; margin: 0; color: #354454; font-size: clamp(1rem,1.5vw,1.25rem); }
.finance-intro__rule { display: block; width: 105px; height: 2px; margin-top: 1.65rem; background: #c99b4c; }
.finance-card {
  padding: clamp(1.25rem,3.2vw,3rem);
  border: 1px solid rgba(16,36,58,.1);
  border-radius: 16px;
  background: rgba(255,253,249,.96);
  box-shadow: 0 16px 36px rgba(17,30,41,.14);
}
.finance-main { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); gap: clamp(1.5rem,3vw,2.8rem); }
.finance-form { display: flex; min-width: 0; flex-direction: column; gap: 1.1rem; }
.finance-form label { display: grid; gap: .48rem; color: #10243a; font-size: .94rem; font-weight: 700; }
.finance-select-label { margin-bottom: -.55rem; }
.finance-mode, .finance-form input, .finance-form select:not(.finance-mode) {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: .75rem .9rem;
  border: 1px solid #c9c3b8;
  border-radius: 7px;
  background: #fffdfa;
  color: #142638;
  font: 500 1rem var(--font-body);
}
.finance-mode { min-height: 58px; font-size: 1.05rem; }
.finance-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem 1.35rem; }
.finance-fields label:last-child:nth-child(odd) { grid-column: 1/-1; max-width: 50%; }
.finance-calculate {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: .15rem;
  padding: .85rem 1.2rem;
  border: 1px solid #0b1b2b;
  border-radius: 8px;
  background: #0b1b2b;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s,border-color .2s;
}
.finance-calculate:hover { border-color: #c99b4c; background: #17334d; }
.finance-results { min-width: 0; padding: 0 0 0 clamp(1.5rem,3vw,2.7rem); border-left: 1px solid #d8d0c3; }
.finance-results h3 { margin: 0; color: #10243a; font: 600 clamp(1.7rem,2.6vw,2.25rem)/1.15 var(--font-display); }
.finance-results__sub { margin: .35rem 0 1.65rem; color: #4c5965; }
.finance-highlight { padding: 1.2rem 1.5rem; border: 1px solid #efdfc4; border-radius: 9px; background: #f8ead4; }
.finance-highlight span { display: block; color: #192a3a; font-weight: 700; }
.finance-highlight strong { display: block; margin-top: .15rem; color: #9b6c20; font: 600 clamp(2rem,3.6vw,3rem)/1.2 var(--font-display); overflow-wrap: anywhere; }
.finance-highlight small { color: #15283a; font: 500 .48em var(--font-body); }
.finance-result-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .8rem; border-bottom: 1px solid #e6dfd4; color: #172b3d; }
.finance-result-row strong { text-align: right; white-space: nowrap; }
.finance-plan-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.2rem; border: 1px solid #e1d5c3; border-radius: 10px; overflow: hidden; }
.finance-plan-link {
  display: flex;
  min-width: 0;
  min-height: 94px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  color: #10243a;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.finance-plan-link+ .finance-plan-link { border-left: 1px solid #d8c29e; }
.finance-plan-link:hover, .finance-plan-link:focus-visible { background: #f8f0e3; }
.finance-plan-icon { color: #b07a25; font-size: 2rem; line-height: 1; }
.finance-plan-code { color: #a57424; font: 600 1.45rem var(--font-display); }
.finance-plan-copy { display: grid; gap: .2rem; }
.finance-plan-copy strong { font-size: 1rem; }
.finance-plan-copy small { color: #4e5b67; font-size: .85rem; line-height: 1.45; }
.finance-plan-arrow { margin-left: auto; color: #a57424; opacity: 0; }
.finance-plan-link:hover .finance-plan-arrow, .finance-plan-link:focus-visible .finance-plan-arrow { opacity: 1; }
.finance-disclaimer { margin: .75rem 0 0; color: #69727a; font-size: .68rem; line-height: 1.55; }
.finance-mode-note { grid-column: 1/-1; margin: 0; color: #68737c; font-size: .8rem; font-weight: 400; }

@media (max-width: 850px) {
  .finance-main { grid-template-columns: 1fr; }
  .finance-results { padding: 1.6rem 0 0; border-top: 1px solid #d8d0c3; border-left: 0; }
  .finance-plan-links { margin-top: 1.6rem; }
}

@media (max-width: 560px) {
  .property-finance-section { padding-block: 3.2rem; }
  .finance-card { padding: 1rem; border-radius: 12px; }
  .finance-intro { margin-bottom: 1.5rem; }
  .finance-intro h2 { font-size: 2.25rem; }
  .finance-fields { grid-template-columns: 1fr; }
  .finance-fields label:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
  .finance-result-row { padding: .85rem .2rem; font-size: .85rem; }
  .finance-result-row strong { white-space: normal; }
  .finance-plan-links { grid-template-columns: 1fr; }
  .finance-plan-link { min-height: 78px; padding: .85rem; }
  .finance-plan-link+.finance-plan-link { border-top: 1px solid #d8c29e; border-left: 0; }
  .finance-plan-copy small { font-size: .78rem; }
  .finance-highlight { padding: 1rem; }
  .finance-highlight strong { font-size: 2.15rem; }
}

/* Homepage contact section — compact proportions matched to the previous site */

.contact-section { background: #fff; padding-block: clamp(3.75rem,5.5vw,5rem); }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); gap: clamp(2rem,3.2vw,2.8rem); align-items: start; max-width: 1100px; margin-inline: auto; }
.contact-copy { max-width: 390px; padding-top: .35rem; }
.contact-layout h2 { max-width: 390px; margin: .7rem 0 .85rem; color: var(--color-navy-800); font-size: clamp(2rem,3vw,2.65rem); line-height: 1.12; }
.contact-description { max-width: 370px; margin: 0; color: #687789 !important; font-size: .9rem; line-height: 1.7; }
.contact-details { display: grid; justify-items: start; gap: .62rem; margin-top: 1.6rem; color: var(--color-navy-800); font-size: .8rem; }
.contact-details strong { font-size: .9rem; }
.contact-details>span { margin-top: -.42rem; color: #46576a; }
.contact-details>a:not(.button) { color: var(--color-navy-800); text-decoration: none; }
.contact-details>a:not(.button):hover { text-decoration: underline; }
.contact-whatsapp { min-height: 44px; margin-top: .35rem; padding: .7rem 1.1rem; font-size: .75rem; }
.contact-form-wrap {
  width: 100%;
  min-width: 0;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid #e2ded6;
  border-radius: 9px;
  background: #fcfbf8;
  box-shadow: 0 10px 28px rgba(16,36,58,.05);
}
.contact-form-wrap h3 { margin: 0 0 .25rem; color: #263b50; font: 500 1.55rem/1.2 var(--font-display); }
.contact-form-intro { margin: 0 0 .9rem; color: #687789; font-size: .75rem; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .7rem .8rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.contact-form label {
  display: grid;
  min-width: 0;
  gap: .32rem;
  color: #405047;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.4;
}
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: .58rem .68rem;
  border: 1px solid #ded8cd;
  border-radius: 4px;
  background: #fff;
  color: var(--color-ink);
  font: 400 .78rem var(--font-body);
}
.contact-form textarea { min-height: 76px; resize: vertical; }
.contact-form>label:nth-of-type(3) { grid-column: 1; grid-row: 2; }
.contact-form .contact-message-field, .contact-form .contact-enquiry-consent, .contact-form .checkbox-label, .contact-form .contact-submit { grid-column: 1/-1; }
.contact-form .contact-message-field { grid-row: 3; }
.contact-enquiry-consent { margin: 0; color: #59675f; font-size: .66rem; line-height: 1.55; }
.contact-enquiry-consent a { text-decoration: underline; }
.contact-form .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: #59675f;
  font-size: .66rem;
  font-weight: 400;
  line-height: 1.5;
}
.contact-form .checkbox-label input {
  flex: 0 0 16px;
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: .1rem 0 0;
  padding: 0;
  accent-color: #a8792c;
}
.contact-form .contact-submit { width: 100%; min-height: 44px; margin-top: .05rem; padding: .7rem 1rem; font-size: .78rem; }
.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
}
.contact-success { margin: 0 0 .8rem; padding: .6rem .75rem; border-left: 3px solid #9a793d; background: #f4efe4; color: #304635; font-size: .75rem; }

@media (max-width: 950px) {
  .contact-layout { grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr); gap: 1.6rem; }
  .contact-copy { max-width: 100%; }
  .contact-form-wrap { width: 100%; }
}

@media (max-width: 700px) {
  .contact-section { padding-block: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-copy { max-width: 560px; }
  .contact-layout h2 { font-size: 2.25rem; }
  .contact-form-wrap { padding: 1.1rem; }
  .contact-form { grid-template-columns: 1fr; gap: .72rem; }
  .contact-form>label:nth-of-type(3), .contact-form .contact-message-field, .contact-form .contact-enquiry-consent, .contact-form .checkbox-label, .contact-form .contact-submit {
    grid-column: 1;
    grid-row: auto;
  }
  .contact-details { gap: .58rem; margin-top: 1.3rem; }
}

/*
==========================================================

MOBILE HOMEPAGE — match the user's approved reference.

All rules are limited to <=620px; desktop styling is untouched.

Search controls remain the original PHP-generated controls.

\==========================================================
*/

@media (max-width: 620px) {
  /* Keep the mobile header clean: WhatsApp lives beside Explore in the hero. */

  .site-header .header-whatsapp { display: none !important; }
  .home-hero { min-height: 372px; align-items: flex-start; }
  .home-hero::before {
    background-image: linear-gradient(90deg,rgba(8,23,37,.76) 0%,rgba(8,23,37,.38) 58%,rgba(8,23,37,.12) 100%),        var(--hero-image);
    background-position: 62% center;
  }
  .home-hero__inner { width: 100%; max-width: none; padding-inline: 28px; }
  .home-hero__content { width: 100%; max-width: 390px; padding: 46px 0 82px; }
  .home-hero__eyebrow {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px;
    color: var(--color-gold-300);
    font-size: clamp(.5rem,2.1vw,.62rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .16em;
  }
  .home-hero__eyebrow::after {
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 7px;
    background: var(--color-gold-300);
    content: "";
  }
  .home-hero__desktop-copy, .home-hero__intro--desktop { display: none; }
  .home-hero__mobile-copy, .home-hero__intro--mobile { display: initial; }
  .home-hero h1 { max-width: 350px; margin: 0 0 13px; color: #fff; font-size: clamp(2.65rem,10.5vw,3.15rem); line-height: .91; letter-spacing: -.045em; }
  .home-hero h1 em { display: inline-block; margin-top: 2px; color: var(--color-gold-300); font-size: .94em; font-weight: 400; }
  .home-hero__intro--mobile { max-width: 360px; margin: 0; color: rgba(255,255,255,.92); font-size: clamp(.78rem,3.35vw,.91rem); line-height: 1.48; display: block !important; }
  .home-hero__actions .button {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 9px;
    border-radius: 8px;
    font-size: clamp(.72rem,3.05vw,.84rem);
    line-height: 1.15;
    white-space: nowrap;
  }
  .home-hero__actions .button--gold span { font-size: 1.15em; }
  .home-hero__whatsapp svg {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: var(--color-gold-300);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Floating card begins below both buttons, with a deliberate clear gap. */

  .property-search-section { position: relative; z-index: 5; width: calc(100% - 28px); max-width: none; margin: -58px auto 0; padding: 0 0 1rem; }
  .property-search-panel { padding: 15px 15px 16px; border: 1px solid #e4ded2; border-radius: 18px; background: #f7f5f0; box-shadow: 0 13px 32px rgba(16,36,58,.14); }
  .property-search-panel__heading { display: block; margin: 0 0 12px; }
  .property-search-panel__heading h2 { margin: 0; color: #10243a; font: 600 clamp(1.45rem,6vw,1.72rem)/1.15 var(--font-display); letter-spacing: -.025em; }
  .property-search-panel__heading p { display: none; }

  /* Two-by-two grid: original search input + original three selects. */

  .property-search { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; width: 100%; }
  .property-search input, .property-search select {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 8px 9px;
    border: 1px solid #ded8cd;
    border-radius: 8px;
    background: #fff;
    color: #10243a;
    font: 400 .72rem var(--font-body);
  }
  .property-search input::placeholder { color: #68717b; opacity: 1; }
  .property-search .button {
    grid-column: 1/-1;
    width: 100%;
    min-height: 41px;
    margin-top: 1px;
    border-radius: 8px;
    background: var(--color-navy-800);
    color: var(--color-gold-300);
    font-size: .82rem;
  }
}

@media (max-width: 370px) {
  .home-hero__inner { padding-inline: 21px; }
  .home-hero__content { padding-top: 43px; }
  .home-hero h1 { font-size: 2.55rem; }
  .home-hero__actions { width: 100%; gap: 7px; }
  .home-hero__actions .button { padding-inline: 6px; font-size: .69rem; }
  .property-search-section { width: calc(100% - 24px); }
  .property-search-panel { padding: 13px; }
  .property-search input, .property-search select { font-size: .67rem; }
}

/* Hero CTA: WhatsApp replaces Speak with our team in the same second-button position. */

.home-hero__whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.home-hero__whatsapp svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: var(--color-gold-300);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 620px) {
  .home-hero__actions { display: grid; grid-template-columns: max-content minmax(0,1fr); width: min(100%,300px); gap: 9px; margin-top: 17px; align-items: stretch; }
  .home-hero__actions > .button { width: 100%; min-width: 0; min-height: 44px; white-space: nowrap; }
}

/*
HERO COPY VISIBILITY SAFETY FIX

Desktop uses the original base hero copy. Mobile alternate copy is enabled

only at the mobile breakpoint.
*/

.home-hero__desktop-copy { display: inline !important; }
.home-hero__intro--desktop { display: block !important; }
.home-hero__mobile-copy { display: none !important; }
.home-hero__intro--mobile { display: none !important; }

@media (max-width: 620px) {
  .home-hero__desktop-copy { display: none !important; }
  .home-hero__mobile-copy { display: inline !important; }
  .home-hero__intro--desktop { display: none !important; }
}

/* Mobile property search card — wider layout */

@media (max-width: 620px) {
  .property-search-section > .container { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0; }
}

/* OUR ADVANTAGE — mobile-only section; desktop proof strip remains unchanged. */

.advantage-section { display: none; }

@media (max-width: 620px) {
  .proof-strip { display: none; }
  .advantage-section { display: block; padding: 38px 0 42px; background: #f7f5f0; }
  .advantage-section>.container { width: calc(100% - 24px); max-width: none; margin-inline: auto; }
  .advantage-heading {
    display: flex;
    width: 100%;
    max-width: 520px;
    align-items: center;
    justify-content: center;
    gap: clamp(8px,3.3vw,24px);
    margin: 0 auto 25px;
  }
  .advantage-heading span { height: 1px; flex: 1 1 110px; min-width: 12px; max-width: 110px; background: #d6b77a; }
  .advantage-heading h2 {
    flex: 0 0 auto;
    margin: 0;
    color: #10243a;
    font: 700 clamp(.68rem,2.9vw,.82rem)/1.2 var(--font-body);
    letter-spacing: .22em;
    text-align: center;
    white-space: nowrap;
  }
  .advantage-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: stretch; }
  .advantage-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5px;
    border-right: 1px solid #d8d0c3;
    text-align: center;
  }
  .advantage-item:last-child { border-right: 0; }
  .advantage-item svg {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 0 9px;
    fill: none;
    stroke: #a8792c;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .advantage-item h3 { margin: 0; color: #10243a; font: 500 clamp(.72rem,3.1vw,.94rem)/1.25 var(--font-display); letter-spacing: -.015em; overflow-wrap: normal; text-wrap: balance; }
}

@media (max-width: 360px) {
  .advantage-heading { gap: 7px; margin-bottom: 21px; }
  .advantage-heading h2 { letter-spacing: .17em; font-size: .65rem; }
  .advantage-item { padding-inline: 3px; }
  .advantage-item svg { width: 28px; height: 28px; margin-bottom: 7px; }
  .advantage-item h3 { font-size: .68rem; }
}
