:root {
  --nest-green: #3f5430;
  --nest-green-dark: #2e4023;
  --nest-orange: #ed6b1f;
  --nest-cream: #f7f6f1;
  --nest-paper: #eeede7;
}

.nest-property-explorer,
.nest-single-property { color: var(--nest-green); font-family: inherit; }
.nest-intro { max-width: 850px; margin: 0 auto; padding: 36px 22px 42px; text-align: center; font-size: clamp(19px, 2vw, 27px); line-height: 1.45; font-weight: 500; }
.nest-map-wrap { position: relative; width: 100%; overflow-x: auto; overflow-y: hidden; background: #e8e7e0; -webkit-overflow-scrolling: touch; }
.nest-map-canvas { position: relative; width: 100%; aspect-ratio: 1802 / 872; overflow: hidden; }
.nest-map-canvas > img { display: block; width: 100%; height: auto; }
.nest-map-pin { appearance: none; position: absolute; width: 26px; height: 26px; min-width: 26px; max-width: 26px; min-height: 26px; max-height: 26px; aspect-ratio: 1 / 1; box-sizing: border-box; padding: 0; margin: 0; line-height: 0; border: 3px solid rgba(255,255,255,.92); border-radius: 50%; background: var(--nest-orange); box-shadow: 0 0 0 7px rgba(237,107,31,.18), 0 0 0 14px rgba(237,107,31,.08), 0 2px 8px rgba(59,50,31,.3); transform: translate(-50%,-50%); cursor: pointer; z-index: 2; transition: transform .18s ease, box-shadow .18s ease; }
.nest-map-pin:hover,
.nest-map-pin:focus-visible,
.nest-map-pin.is-active,
.nest-map-pin.is-hover { transform: translate(-50%,-50%) scale(1.15); outline: none; z-index: 4; }
.nest-map-popup { position: absolute; z-index: 6; width: min(330px, calc(100% - 28px)); display: grid; grid-template-columns: 112px 1fr; transform: translate(-50%, calc(-100% - 18px)); background: #fff; box-shadow: 0 14px 40px rgba(30,35,25,.24); border-radius: 4px; overflow: visible; line-height: 1.2; }
.nest-map-popup[hidden] { display: none; }
.nest-map-popup::after { content: ""; position: absolute; bottom: -10px; left: 50%; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.nest-map-popup img { width: 112px; height: 100%; min-height: 132px; object-fit: cover; border-radius: 4px 0 0 4px; }
.nest-map-popup > div { padding: 15px; }
.nest-map-popup p { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.nest-map-popup h3 { margin: 0 0 9px; color: var(--nest-green-dark); font-size: 17px; line-height: 1.18; }
.nest-map-popup span { display: block; margin-bottom: 12px; font-size: 11px; }
.nest-map-popup a { color: var(--nest-green); font-size: 12px; font-weight: 700; text-decoration: none; }
.nest-popup-close { position: absolute; right: -9px; top: -9px; z-index: 2; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--nest-green); color: #fff; cursor: pointer; }

.nest-property-grid { display: grid; gap: clamp(28px,4vw,58px) clamp(22px,3.3vw,48px); max-width: 1320px; margin: 0 auto; padding: 70px 34px 100px; }
.nest-cols-1 { grid-template-columns: 1fr; }
.nest-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.nest-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.nest-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.nest-property-card { min-width: 0; }
.nest-card-image { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #deddd5; }
.nest-card-primary { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.nest-property-card:hover .nest-card-primary { transform: scale(1.035); }
.nest-card-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); gap: 2px; opacity: 0; pointer-events: none; transition: opacity .25s ease; background: #fff; }
.nest-card-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.nest-card-mosaic img:last-child:nth-child(3) { grid-column: 1 / -1; }
.nest-card-image.has-mosaic:hover .nest-card-primary { opacity: 0; }
.nest-card-image.has-mosaic:hover .nest-card-mosaic { opacity: 1; }
.nest-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; letter-spacing: .24em; }
.nest-card-content { padding-top: 16px; }
.nest-card-content h3 { margin: 0 0 13px; font-size: 21px; line-height: 1.2; }
.nest-card-content h3 a,
.nest-card-footer a { color: var(--nest-green-dark); text-decoration: none; }
.nest-card-specs { display: flex; align-items: center; gap: 8px 15px; flex-wrap: wrap; font-size: 13px; }
.nest-card-specs span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.nest-card-specs b { color: var(--nest-green); font-size: 14px; font-weight: 400; }
.nest-card-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(63,84,48,.22); font-size: 14px; }
.nest-card-footer a { font-weight: 700; }

.nest-single-template { background: var(--nest-cream); }
.nest-single-property { max-width: 1280px; margin: 0 auto; padding: 70px 32px 110px; }
.nest-single-property header { max-width: 920px; margin-bottom: 36px; }
.nest-eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 13px; }
.nest-single-property h1 { margin: 10px 0 22px; font-size: clamp(36px,6vw,76px); line-height: 1; font-weight: 400; }
.nest-single-property h2 { margin: 0 0 24px; color: var(--nest-green-dark); font-size: clamp(27px,3vw,40px); font-weight: 400; }
.nest-single-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.nest-single-gallery img { width: 100%; height: 320px; object-fit: cover; }
.nest-single-gallery img:first-child { grid-row: span 2; height: 652px; }
.nest-single-section { max-width: 1040px; margin: 75px auto 0; font-size: 17px; line-height: 1.7; }
.nest-description { max-width: 820px; }
.nest-minimum { margin-top: 25px; font-weight: 600; }
.nest-amenities-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 24px; }
.nest-amenities-list span { position: relative; padding: 12px 12px 12px 31px; border-bottom: 1px solid rgba(63,84,48,.18); }
.nest-amenities-list span::before { content: "✓"; position: absolute; left: 7px; color: var(--nest-orange); font-weight: 700; }
.nest-single-map { border-radius: 3px; }
.nest-single-map .nest-map-canvas { min-width: 0; }
.nest-enquiry { max-width: 880px; padding: clamp(25px,5vw,55px); background: var(--nest-paper); }
.nest-book-button { display: inline-block; padding: 15px 24px; background: var(--nest-green); color: #fff !important; text-decoration: none; }
.nest-related-properties { margin-top: 95px; padding-top: 55px; border-top: 1px solid rgba(63,84,48,.22); }
.nest-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.nest-related-heading h2 { margin: 0; }
.nest-map-return { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border: 1px solid var(--nest-green); color: var(--nest-green-dark); font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease; }
.nest-map-return:hover { background: var(--nest-green); color: #fff; }
.nest-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(22px,3vw,42px); }

.nest-calendar { max-width: 620px; margin-top: 28px; padding: 25px; background: #fff; border: 1px solid rgba(63,84,48,.15); }
.nest-calendar-head { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; margin-bottom: 18px; }
.nest-calendar-head strong { text-align: center; text-transform: capitalize; font-size: 19px; }
.nest-calendar-head button { width: 38px; height: 38px; border: 1px solid rgba(63,84,48,.2); border-radius: 50%; background: transparent; color: var(--nest-green); font-size: 24px; cursor: pointer; }
.nest-calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.nest-calendar-grid > span { display: grid; min-height: 46px; place-items: center; }
.nest-weekday { min-height: 28px !important; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.nest-calendar-day { border-radius: 50%; font-size: 14px; }
.nest-calendar-day.is-unavailable { background: #ddd9d1; color: #88847c; text-decoration: line-through; }
.nest-calendar-day.is-today { box-shadow: inset 0 0 0 1px var(--nest-orange); }
.nest-calendar-key { display: flex; justify-content: flex-end; margin-top: 18px; font-size: 12px; }
.nest-calendar-key span { display: inline-flex; align-items: center; gap: 7px; }
.nest-calendar-key i { width: 14px; height: 14px; border-radius: 50%; background: #ddd9d1; }
.nest-empty { padding: 50px 20px; text-align: center; }

@media (max-width: 900px) {
  .nest-cols-3, .nest-cols-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nest-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nest-single-gallery img, .nest-single-gallery img:first-child { grid-row: auto; height: 360px; }
  .nest-amenities-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .nest-intro { padding: 28px 22px 34px; }
  .nest-property-explorer > .nest-map-wrap .nest-map-canvas { width: 760px; }
  .nest-property-grid, .nest-cols-2, .nest-cols-3, .nest-cols-4 { grid-template-columns: 1fr; padding: 45px 20px 75px; }
  .nest-map-popup { grid-template-columns: 92px 1fr; }
  .nest-map-popup img { width: 92px; }
  .nest-card-mosaic { display: none; }
  .nest-card-image.has-mosaic:hover .nest-card-primary { opacity: 1; }
  .nest-single-property { padding: 42px 20px 75px; }
  .nest-single-gallery { grid-template-columns: 1fr; }
  .nest-single-gallery img, .nest-single-gallery img:first-child { height: 280px; }
  .nest-single-section { margin-top: 50px; }
  .nest-related-properties { margin-top: 65px; padding-top: 40px; }
  .nest-related-heading { align-items: flex-start; flex-direction: column; }
  .nest-related-grid { grid-template-columns: 1fr; }
  .nest-amenities-list { grid-template-columns: 1fr; }
  .nest-calendar { padding: 16px 10px; }
  .nest-calendar-grid { gap: 2px; }
  .nest-calendar-grid > span { min-height: 39px; }
}
