*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#f7f6f1;
  color:#10282a;
  font-family:Arial,Helvetica,sans-serif;
}

a{
  color:inherit;
}

.navbar{
  height:82px;
  padding:0 6%;
  display:flex;
  align-items:center;
  background:#fff;
  gap:45px;
}

.logo{
  margin-right:auto;
  font-family:Georgia,serif;
  font-size:24px;
  font-weight:700;
  text-decoration:none;
  letter-spacing:1px;
}

.navbar nav{
  display:flex;
  gap:32px;
}

.navbar nav a{
  text-decoration:none;
  font-size:13px;
}

.nav-cta{
  padding:14px 22px;
  background:#10282a;
  color:white;
  text-decoration:none;
  font-size:12px;
}

.hero{
  min-height:690px;
  padding:115px 6% 70px;
  position:relative;
  background:
    linear-gradient(90deg,rgba(244,242,235,.98) 0%,rgba(244,242,235,.92) 48%,rgba(244,242,235,.35) 100%),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=85') center/cover;
}

.hero-content{
  max-width:920px;
}

.eyebrow{
  display:block;
  margin-bottom:22px;
  font-size:11px;
  letter-spacing:2.5px;
  font-weight:700;
}

.hero h1{
  font-family:Georgia,serif;
  font-size:clamp(58px,7vw,105px);
  font-weight:400;
  line-height:.88;
  letter-spacing:-4px;
}

.hero-copy{
  max-width:520px;
  margin-top:30px;
  font-size:17px;
  line-height:1.7;
  color:#506062;
}

.search-panel{
  max-width:1000px;
  margin-top:48px;
  background:#fff;
  box-shadow:0 18px 50px rgba(0,0,0,.09);
}

.search-tabs{
  display:flex;
  border-bottom:1px solid #eee;
}

.search-tabs button{
  border:0;
  background:none;
  padding:16px 25px;
  font-weight:700;
}

.search-tabs .active{
  border-bottom:2px solid #10282a;
}

.search-fields{
  display:grid;
  grid-template-columns:2fr 1.3fr 1.3fr auto;
}

.search-fields label{
  padding:20px;
  border-right:1px solid #eee;
}

.search-fields label span{
  display:block;
  font-size:9px;
  letter-spacing:1.5px;
  margin-bottom:8px;
  font-weight:700;
}

.search-fields input,
.search-fields select{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#596668;
}

.search-button{
  border:0;
  padding:0 30px;
  background:#10282a;
  color:white;
  font-weight:700;
}

.hero-stat{
  position:absolute;
  right:6%;
  bottom:35px;
  display:flex;
  flex-direction:column;
  color:white;
  text-align:right;
}

.hero-stat strong{
  font-family:Georgia,serif;
  font-size:25px;
}

.hero-stat span{
  font-size:11px;
}

.intro{
  padding:120px 6% 70px;
  max-width:1500px;
  margin:auto;
}

.intro-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:100px;
  align-items:end;
}

.intro h2,
.section-heading h2,
.map-section h2{
  font-family:Georgia,serif;
  font-size:clamp(46px,5vw,74px);
  font-weight:400;
  line-height:.98;
}

.intro p,
.map-section p{
  color:#697576;
  line-height:1.8;
  max-width:500px;
}

.properties{
  max-width:1500px;
  margin:auto;
  padding:20px 6% 130px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.property-card{
  background:white;
}

.property-photo{
  height:410px;
  background-color:#e4e4dc;
  background-size:cover;
  background-position:center;
  position:relative;
}

.property-one .property-photo{
  background-image:url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1000&q=85');
}

.property-two .property-photo{
  background-image:url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1000&q=85');
}

.property-three .property-photo{
  background-image:url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1000&q=85');
}

.tag{
  position:absolute;
  top:18px;
  left:18px;
  background:white;
  padding:9px 12px;
  font-size:9px;
  letter-spacing:1px;
  font-weight:700;
}

.heart{
  position:absolute;
  right:18px;
  top:18px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:0;
  background:white;
  font-size:20px;
}

.property-info{
  padding:25px;
}

.property-info span{
  font-size:9px;
  letter-spacing:1.5px;
  font-weight:700;
}

.property-info h3{
  margin:10px 0;
  font-family:Georgia,serif;
  font-size:25px;
  font-weight:400;
}

.property-info p{
  color:#7b8585;
  font-size:13px;
  margin-bottom:18px;
}

.property-info strong{
  font-size:14px;
}

.destinations{
  background:white;
  padding:120px 6%;
}

.section-heading{
  max-width:1500px;
  margin:0 auto 65px;
}

.destination-grid{
  max-width:1500px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.destination-grid article{
  padding:45px 28px;
  border-top:1px solid #d9dddd;
  border-right:1px solid #d9dddd;
}

.destination-grid article:last-child{
  border-right:0;
}

.destination-grid span{
  font-size:10px;
}

.destination-grid h3{
  font-family:Georgia,serif;
  font-size:35px;
  font-weight:400;
  margin:60px 0 8px;
}

.destination-grid p{
  color:#7b8585;
  font-size:13px;
}

.relocation{
  padding:120px 6%;
  background:#10282a;
  color:white;
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:100px;
}

.light{
  color:#b5c3bf;
}

.relocation h2{
  font-family:Georgia,serif;
  font-size:clamp(50px,6vw,84px);
  line-height:.95;
  font-weight:400;
}

.relocation-copy{
  align-self:end;
  max-width:520px;
}

.relocation-copy p{
  color:#c5cfcc;
  line-height:1.8;
  margin-bottom:30px;
}

.relocation-copy a{
  color:white;
  text-decoration:none;
  border-bottom:1px solid #879895;
  padding-bottom:6px;
}

.services{
  padding:100px 6%;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  max-width:1500px;
  margin:auto;
}

.services .service-card{
  display:block;
  padding:35px;
  border-left:1px solid #d5d9d7;
  color:inherit;
  text-decoration:none;
  position:relative;
  transition:background-color .2s ease, border-color .2s ease;
}

.services .service-card:hover,
.services .service-card:focus-visible{
  background-color:#f7f6f1;
  border-left-color:#10282a;
}

.services .service-card:focus-visible{
  outline:2px solid #10282a;
  outline-offset:-2px;
}

.services span{
  font-size:10px;
}

.services h3{
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:400;
  margin:45px 0 15px;
  display:flex;
  align-items:center;
  gap:10px;
}

.services p{
  color:#6c7777;
  font-size:14px;
  line-height:1.7;
}

.service-arrow{
  font-family:Arial,sans-serif;
  font-size:20px;
  font-weight:400;
  color:#10282a;
  opacity:.55;
  transition:transform .2s ease, opacity .2s ease;
}

.services .service-card:hover .service-arrow,
.services .service-card:focus-visible .service-arrow{
  transform:translateX(5px);
  opacity:1;
}

/* Services responsive tiers: desktop keeps the 4-column layout above
   (base .services rule), tablet drops to 2 columns, and mobile
   (<=600px) is exactly 1 full-width card per row. Kept as its own
   dedicated breakpoint pair, separate from the shared 800px block
   below, so this section's layout isn't coupled to unrelated sections'
   breakpoint. */
@media(max-width:900px){
  .services{
    padding:60px 22px;
    grid-template-columns:repeat(2,1fr);
  }

  .services .service-card:nth-child(3),
  .services .service-card:nth-child(4){
    border-top:1px solid #d5d9d7;
  }

  .services h3{
    margin-top:25px;
  }
}

@media(max-width:600px){
  .services{
    grid-template-columns:1fr;
  }

  .services .service-card{
    border-left:0;
    border-top:1px solid #d5d9d7;
    padding:35px 0;
  }

  .services .service-card:first-child{
    border-top:0;
  }
}

.map-section{
  background:white;
  padding:110px 6%;
  display:grid;
  grid-template-columns:.8fr 1.4fr;
  gap:80px;
  align-items:center;
}

.map-section p{
  margin-top:30px;
}

.map-placeholder{
  height:520px;
  background:#e4e4dc;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  text-align:center;
  padding:20px;
}

.map-placeholder span{
  font-family:Georgia,serif;
  font-size:27px;
}

.map-placeholder small{
  color:#718080;
}

.home-map{
  height:520px;
  width:100%;
  max-width:100%;
  background:#e4e4dc;
  overflow:hidden;
}

.home-map.home-map-fallback{
  overflow-y:auto;
  padding:10px 0;
}

.home-map-fallback-list{
  list-style:none;
  margin:0;
  padding:0;
}

.home-map-fallback-list li{
  border-bottom:1px solid #d5d9d7;
}

.home-map-fallback-list a{
  display:block;
  padding:16px 20px;
  font-size:14px;
  color:#10282a;
}

.home-map-fallback-list a:hover,
.home-map-fallback-list a:focus-visible{
  background:#fff;
}

.home-map .leaflet-popup-content{
  font-family:Arial,Helvetica,sans-serif;
  margin:14px 16px;
  min-width:200px;
}

.home-map .popup-photo{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
  margin-bottom:10px;
  background:#e4e4dc;
}

.home-map .popup-title{
  font-family:Georgia,serif;
  font-size:17px;
  margin:0 0 4px;
  color:#10282a;
}

.home-map .popup-place{
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#69726f;
  margin:0 0 8px;
}

.home-map .popup-price{
  font-weight:700;
  font-size:14px;
  margin:0 0 10px;
  color:#10282a;
}

.home-map .popup-link{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  color:#10282a;
  border-bottom:1px solid #10282a;
}

.cta{
  padding:130px 6%;
  text-align:center;
  background:#d8c6aa;
}

.cta span{
  font-size:10px;
  letter-spacing:3px;
}

.cta h2{
  font-family:Georgia,serif;
  font-size:clamp(55px,7vw,90px);
  line-height:.92;
  font-weight:400;
  margin:25px 0 40px;
}

.cta a{
  display:inline-block;
  background:#10282a;
  color:white;
  text-decoration:none;
  padding:18px 28px;
}

footer{
  background:#0b1d1f;
  color:white;
  padding:80px 6%;
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:60px;
}

footer strong{
  display:block;
  margin-bottom:20px;
}

.footer-brand strong{
  font-family:Georgia,serif;
  font-size:28px;
}

footer p,
footer a{
  color:#9cacab;
  font-size:13px;
}

footer a{
  display:block;
  text-decoration:none;
  margin:12px 0;
}

.copyright{
  padding:25px 6%;
  background:#0b1d1f;
  border-top:1px solid #26383a;
  color:#7d8c8c;
  font-size:11px;
}

@media(max-width:800px){

  .navbar{
    height:68px;
    padding:0 20px;
  }

  .navbar nav{
    display:none;
  }

  .nav-cta{
    padding:11px 14px;
  }

  .hero{
    min-height:760px;
    padding:90px 22px 50px;
    background:
      linear-gradient(rgba(244,242,235,.88),rgba(244,242,235,.78)),
      url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1000&q=80') center/cover;
  }

  .hero h1{
    font-size:58px;
    letter-spacing:-2.5px;
  }

  .hero-copy{
    font-size:15px;
  }

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

  .search-fields label{
    border-right:0;
    border-bottom:1px solid #eee;
  }

  .search-button{
    padding:20px;
  }

  .hero-stat{
    display:none;
  }

  .intro{
    padding:80px 22px 45px;
  }

  .intro-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  .intro h2,
  .section-heading h2,
  .map-section h2{
    font-size:43px;
  }

  .properties{
    grid-template-columns:1fr;
    padding:10px 22px 80px;
  }

  .property-photo{
    height:370px;
  }

  .destinations{
    padding:80px 22px;
  }

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

  .destination-grid article{
    border-bottom:1px solid #d9dddd;
  }

  .destination-grid h3{
    font-size:26px;
    margin-top:35px;
  }

  .relocation{
    padding:80px 22px;
    grid-template-columns:1fr;
    gap:45px;
  }

  .relocation h2{
    font-size:48px;
  }

  /* .services responsive rules now live in their own dedicated 900px/600px
     breakpoints above, so this shared 800px block no longer sets them. */

  .map-section{
    padding:80px 22px;
    grid-template-columns:1fr;
    gap:40px;
  }

  .map-placeholder,
  .home-map{
    height:360px;
  }

  .cta{
    padding:90px 22px;
  }

  footer{
    padding:65px 22px;
    grid-template-columns:1fr 1fr;
    gap:45px 25px;
  }

  .footer-brand{
    grid-column:1/-1;
  }
}

/* ===== PROFESSIONAL SEARCH BAR OVERRIDE ===== */

.search-panel{
  width:min(100%, 1050px);
  margin-top:34px;
  background:#fff;
  border-radius:18px;
  padding:10px;
  box-shadow:0 20px 55px rgba(0,0,0,.14);
  overflow:hidden;
}

.search-tabs{
  display:flex;
  gap:6px;
  border-bottom:1px solid #ececea;
  padding:0 4px 9px;
}

.search-tabs button{
  border:0;
  background:#f5f5f2;
  padding:11px 28px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  color:#10282a;
}

.search-tabs .active{
  background:#10282a;
  color:#fff;
  border-bottom:0;
}

.search-fields{
  display:grid;
  grid-template-columns:minmax(200px,2fr) minmax(160px,1.3fr) minmax(150px,1.2fr) 150px;
  align-items:stretch;
  margin-top:8px;
  border:1px solid #e8e8e5;
  border-radius:13px;
  overflow:hidden;
  background:#fff;
}

.search-fields label{
  min-width:0;
  padding:14px 18px;
  border-right:1px solid #e8e8e5;
  border-bottom:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.search-fields label span{
  display:block;
  font-size:9px;
  line-height:1;
  letter-spacing:1.3px;
  text-transform:uppercase;
  margin-bottom:8px;
  font-weight:700;
  color:#667170;
}

.search-fields input,
.search-fields select{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#263536;
  font-size:14px;
  min-height:24px;
}

/* The rules above remove the browser's default focus ring with no
   replacement, which leaves keyboard users with zero indication of which
   search field is focused. Restore a visible indicator without bringing
   back the default ring on a mouse click. */
.search-fields input:focus-visible,
.search-fields select:focus-visible{
  outline:2px solid #10282a;
  outline-offset:2px;
}

.search-button{
  border:0;
  padding:0 22px;
  min-height:70px;
  background:#10282a;
  color:#fff;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:.2s ease;
}

.search-button:hover{
  background:#183b3e;
}

/* Mobile */
@media (max-width: 700px){

  .search-panel{
    width:100%;
    margin-top:24px;
    padding:8px;
    border-radius:16px;
  }

  .search-tabs{
    padding:0 2px 8px;
  }

  .search-tabs button{
    flex:1;
    padding:10px 12px;
  }

  .search-fields{
    grid-template-columns:1fr 1fr !important;
    border-radius:12px;
  }

  .search-fields label{
    padding:12px 13px;
    border-right:1px solid #e8e8e5;
    border-bottom:1px solid #e8e8e5;
  }

  .search-fields label:nth-of-type(2){
    border-right:0;
  }

  .search-fields label:nth-of-type(3){
    border-bottom:0;
  }

  .search-button{
    min-height:62px;
    padding:10px 12px;
  }
}

@media (max-width: 420px){

  .search-fields{
    grid-template-columns:1fr !important;
  }

  .search-fields label{
    border-right:0 !important;
    border-bottom:1px solid #e8e8e5 !important;
  }

  .search-button{
    width:100%;
    min-height:54px;
  }
}

/* ===== END SEARCH BAR OVERRIDE ===== */

/* ===== MOBILE HERO + SEARCH FINAL POLISH ===== */
@media (max-width:700px){

  .hero{
    min-height:auto;
    padding-bottom:28px;
  }

  .hero h1{
    font-size:48px !important;
    line-height:.91;
    letter-spacing:-2px;
    max-width:430px;
  }

  .hero-copy{
    font-size:16px !important;
    line-height:1.55;
    max-width:520px;
  }

  .search-panel{
    margin-top:20px;
    padding:8px;
    border-radius:16px;
    box-shadow:0 14px 35px rgba(0,0,0,.12);
  }

  .search-tabs{
    gap:6px;
    padding:0 0 8px;
  }

  .search-tabs button{
    padding:10px 15px;
    min-height:44px;
  }

  .search-fields{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    border-radius:12px;
  }

  .search-fields label{
    min-height:67px;
    padding:10px 14px;
  }

  .search-fields label:first-child{
    grid-column:1 / -1;
    border-right:0;
  }

  .search-fields label:nth-child(2){
    border-right:1px solid #e8e8e5;
  }

  .search-fields label:nth-child(3){
    border-right:0;
  }

  .search-fields label span{
    font-size:8px;
    margin-bottom:6px;
  }

  .search-fields input,
  .search-fields select{
    font-size:13px;
  }

  .search-button{
    grid-column:1 / -1;
    width:100%;
    min-height:52px;
    font-size:14px;
  }
}

@media (max-width:420px){

  .hero h1{
    font-size:43px !important;
    line-height:.92;
  }

  .hero-copy{
    font-size:15px !important;
  }

  .search-fields{
    grid-template-columns:1fr 1fr !important;
  }

  .search-fields label{
    border-bottom:1px solid #e8e8e5 !important;
  }

  .search-fields label:first-child{
    grid-column:1 / -1;
  }

  .search-fields label:nth-child(2){
    border-right:1px solid #e8e8e5 !important;
  }

  .search-fields label:nth-child(3){
    border-right:0 !important;
  }

  .search-button{
    grid-column:1 / -1;
  }
}

/* ===== END MOBILE POLISH ===== */

/* FIX HOME LOCATION AUTOCOMPLETE */
.search-panel,
.search-fields {
  overflow: visible !important;
}

.home-location-wrap {
  position: relative !important;
  width: 100%;
}

.home-location-suggestions {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  background: #fff !important;
}
