/* ==========================================================================
   Skydime Properties — entity page (properties.html + property-details.html)
   Builds on tokens/primitives defined in styles.css. Presentation is fully
   scoped to body.properties-page so the approved Holdings homepage and
   other entity pages are unaffected.
   ========================================================================== */

body.properties-page {
  background: var(--bg);
}

/* [hidden] ties on specificity with the flex/grid display rules below, so
   without this the browser's cascade order lets display:flex/grid win and
   a "closed" overlay/panel still renders (and can intercept clicks). */
.modal-overlay[hidden],
.lightbox-overlay[hidden],
.video-overlay[hidden],
.share-popover[hidden],
.enquiry-success[hidden],
.enquiry-form[hidden],
#loading-content[hidden],
#detail-content[hidden],
.detail-options-section[hidden],
.best-use-tags[hidden],
.land-preview__more[hidden],
.view-more-wrap[hidden],
.finder-field[hidden] {
  display: none !important;
}

/* ---- Properties utility bar (replaces the Holdings utility bar content) --- */

.properties-utility {
  background: var(--brand-blue);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  position: fixed;
  inset: 0 0 auto;
  z-index: 101;
  width: 100%;
}

.properties-utility__inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  height: var(--utility-h-mobile);
}

@media (min-width: 768px) {
  .properties-utility__inner {
    height: var(--utility-h);
  }
}

/* ≥1024px: genuine three-zone layout (Holdings link / Our Businesses / contact
   cluster) instead of the compact two-item flex row used below that width.
   Grid, not hard-coded margins, so centering stays real at every width in
   this range and the right cluster can never collide with the group toggle. */
@media (min-width: 1024px) {
  .properties-utility__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
  }
}

.properties-utility__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s var(--ease);
}

.properties-utility__back:hover {
  opacity: 0.85;
}

.properties-utility__back svg {
  flex-shrink: 0;
}

/* Below 1024px, the group toggle isn't a grid cell yet — push it (and the
   contact/social cluster after it) to the right edge, next to the Holdings
   link, matching the approved compact/mobile arrangement. */
.properties-utility .entity-group-toggle {
  margin-left: auto;
}

@media (min-width: 1024px) {
  .properties-utility__back {
    grid-column: 1;
    justify-self: start;
  }

  .properties-utility .entity-group-toggle {
    grid-column: 2;
    justify-self: center;
    margin-left: 0;
  }

  .properties-utility__right {
    grid-column: 3;
    justify-self: end;
  }
}

.properties-utility__right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}

.properties-utility__contact {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.properties-utility__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.properties-utility__contact a:hover {
  color: var(--white);
}

@media (min-width: 560px) {
  .properties-utility__contact {
    display: inline-flex;
  }

  /* .properties-utility__contact a (above) sets display:inline-flex at
     specificity (0,1,1) — a plain single-class selector here would lose
     that tie and stay visible regardless of this media query. Qualifying
     with the .properties-utility__contact ancestor raises this to (0,2,0)
     so the hide rule actually wins, independent of source order. */
  .properties-utility__contact .properties-utility__contact--email {
    display: none;
  }
}

@media (min-width: 760px) {
  .properties-utility__contact .properties-utility__contact--email {
    display: inline-flex;
  }
}

/* Compact office-location item. Held back until 1180px — the entity-group
   toggle next to it has previously collided with the phone number at
   1024px, so location only ever appears once there's clearly spare room. */
.properties-utility__contact .properties-utility__contact--location {
  display: none;
}

@media (min-width: 1180px) {
  .properties-utility__contact .properties-utility__contact--location {
    display: inline-flex;
  }
}

.properties-utility .social-icons {
  display: none;
}

@media (min-width: 900px) {
  .properties-utility .social-icons {
    display: flex;
  }
}

/* ---- Fixed chrome (utility bar + header) ---------------------------------- */

body.properties-page .header {
  top: var(--utility-h-mobile);
}

body.properties-page .properties-hero,
body.properties-page .detail-header-space {
  margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile));
}

@media (min-width: 768px) {
  body.properties-page .header {
    top: var(--utility-h);
  }

  body.properties-page .properties-hero,
  body.properties-page .detail-header-space {
    margin-top: calc(var(--utility-h) + var(--header-h));
  }
}

/* ---- Shared centred container for all Properties content sections --------
   Header/utility-bar/footer keep the sitewide .container (1280px) unchanged.
   Content sections use this dedicated, slightly wider (1320px) container with
   gutters tuned per breakpoint per spec — the previous flat 2.5rem gutter
   from the shared .container was the source of the "random left offset"
   feel at laptop/desktop widths (43px at 1366, 80px at 1440, uncontrolled). */

.properties-container {
  width: min(1320px, calc(100% - 36px));
  margin-inline: auto;
}

@media (min-width: 390px) {
  .properties-container {
    width: min(1320px, calc(100% - 44px));
  }
}

@media (min-width: 768px) {
  .properties-container {
    width: min(1320px, calc(100% - 64px));
  }
}

@media (min-width: 1024px) {
  .properties-container {
    width: min(1320px, calc(100% - 88px));
  }
}

@media (min-width: 1440px) {
  .properties-container {
    width: min(1320px, calc(100% - 112px));
  }
}

/* ---- Typography scale (overrides shared styles.css sizing for this page) --
   .section-title h2 inherits --fs-section from styles.css unmodified, which
   clamps up to 48px at desktop widths — measured, confirmed oversized
   against this page's own 34-38px target. Scoped to body.properties-page so
   the shared rule (and the Holdings homepage that also uses .section-title)
   is untouched. */

body.properties-page .section-title h2 {
  margin-top: 0.55rem;
  font-size: 27px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  body.properties-page .section-title h2 {
    font-size: 31px;
  }
}

@media (min-width: 1024px) {
  body.properties-page .section-title h2 {
    font-size: 36px;
  }
}

body.properties-page .section-title p {
  margin-top: 14px;
  max-width: 680px;
  line-height: 1.65;
}

body.properties-page .eyebrow {
  font-size: 13px;
}

.footer-brand__parent {
  margin-top: -0.6rem;
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---- Properties header nav (flat list, no dropdown) ------------------------ */

.properties-page .nav-links {
  gap: 1.6rem;
}

/* ---- Shared section rhythm ------------------------------------------------ */

.properties-section {
  padding: 44px 0;
}

@media (min-width: 768px) {
  .properties-section {
    padding: 60px 0;
  }
}

@media (min-width: 1024px) {
  .properties-section {
    padding: 68px 0;
  }
}

.properties-section--compact {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .properties-section--compact {
    padding: 48px 0;
  }
}

@media (min-width: 1024px) {
  .properties-section--compact {
    padding: 52px 0;
  }
}

.properties-section--muted {
  background: var(--surface-muted);
}

.properties-section .section-title {
  max-width: 680px;
}

/* ---- Centered section introduction (opt-in per section) -------------------- */

.properties-section .section-title--centered {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.properties-section .section-title--centered h2 {
  max-width: 760px;
  margin-inline: auto;
}

.properties-section .section-title--centered p {
  max-width: 660px;
  margin-inline: auto;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 30px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.section-link:hover {
  color: var(--brand-green);
}

.section-cta {
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  text-align: center;
}

body.properties-page main [id] {
  scroll-margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile) + 18px);
}

@media (min-width: 768px) {
  body.properties-page main [id] {
    scroll-margin-top: calc(var(--utility-h) + var(--header-h) + 22px);
  }
}

/* ---- Properties hero -------------------------------------------------------- */

.properties-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: var(--brand-blue-deep);
}

@media (min-width: 768px) {
  .properties-hero {
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .properties-hero {
    height: 410px;
  }
}

@media (min-width: 1180px) {
  .properties-hero {
    height: 430px;
  }
}

@media (min-width: 1440px) {
  .properties-hero {
    height: 460px;
  }
}

.properties-hero__media,
.properties-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.properties-hero__media img {
  object-fit: cover;
  object-position: center 38%;
}

.properties-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 16, 38, 0.82) 0%,
    rgba(10, 16, 38, 0.58) 38%,
    rgba(10, 16, 38, 0.16) 62%,
    rgba(10, 16, 38, 0) 80%
  );
}

/* Root cause of the missing hero copy: this rule targeted the sitewide
   .container, but the hero markup wraps its content in .properties-container
   (the page's own centred container). With no match, that wrapper stayed
   position:static — and a static block paints BELOW a positioned sibling
   (the absolutely-positioned .properties-hero__overlay) regardless of DOM
   order, so the overlay visually buried the copy even though it was "there". */
.properties-hero .properties-container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.properties-hero__content {
  max-width: 560px;
  color: var(--white);
  padding: 1.5rem 0;
}

@media (min-width: 1024px) {
  .properties-hero__content {
    max-width: 600px;
  }
}

.properties-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.properties-hero__eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-green);
}

.properties-hero__headline {
  margin-top: 0.85rem;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .properties-hero__headline {
    font-size: 38px;
  }
}

@media (min-width: 1024px) {
  .properties-hero__headline {
    font-size: 46px;
  }
}

@media (min-width: 1440px) {
  .properties-hero__headline {
    font-size: 51px;
  }
}

.properties-hero__text {
  margin-top: 0.9rem;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .properties-hero__text {
    font-size: 17px;
  }
}

.properties-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* The shared .btn rule sets min-height:48px, which silently floors every
   Properties CTA back up to 48px regardless of a smaller height declared
   here — min-height always wins over a conflicting height in the box model,
   independent of selector specificity. Overriding min-height directly (not
   just height) on each of these already-specific selectors is what actually
   fixes it. Target: 44-46px for page-primary CTAs. */
.properties-hero__actions .btn {
  min-height: 45px;
}

/* ---- Quick property finder -------------------------------------------------- */

.properties-finder {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) 0;
}

.finder-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 0.9rem;
}

@media (min-width: 768px) {
  .finder-panel {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
  }
}

.finder-field {
  display: grid;
  gap: 0.25rem;
  position: relative;
  min-width: 0;
  padding: 0.35rem 0.75rem;
}

@media (min-width: 768px) {
  .finder-field {
    padding: 0.4rem 1.1rem;
    border-right: 1px solid var(--border-soft);
  }
}

.finder-field label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.finder-field label svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

.finder-field select {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
}

.finder-field select:focus-visible {
  outline: none;
}

.finder-submit {
  height: 48px;
  width: 100%;
  min-width: 0;
  margin: 0.35rem 0 0.1rem;
}

@media (min-width: 768px) {
  .finder-submit {
    height: auto;
    width: auto;
    margin: 0.5rem;
    padding: 0 1.5rem;
    border-radius: 9px;
  }
}

/* ---- Category chips (catalogue quick filter) -------------------------------- */

.explore-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 30px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.category-chips--center {
  justify-content: center;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.category-chip:hover {
  border-color: rgba(30, 49, 107, 0.32);
}

.category-chip.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
}

/* ---- Property card — compact, image-led -------------------------------------- */

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

@media (min-width: 700px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
}

.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.property-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.22);
  box-shadow: var(--shadow-sm);
}

.property-card__media {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

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

.property-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

.property-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(10, 16, 38, 0.55);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.property-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--brand-blue);
  line-height: 1.28;
}

.property-card__location {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.property-card__location svg {
  flex-shrink: 0;
  color: var(--brand-green);
}

.property-card__meta {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.property-card__price {
  margin-top: 0.5rem;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.88rem;
}

.property-card__footer {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.84rem;
}

.property-card__cta svg {
  transition: transform 0.2s var(--ease);
}

.property-card:hover .property-card__cta {
  color: var(--brand-green);
}

.property-card:hover .property-card__cta svg {
  transform: translateX(3px);
}

.property-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Premium compact pill — deliberately its own component rather than
   inheriting the generic 48px .btn sizing. */
.property-card-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding-inline: 15px;
  border-radius: 999px;
  border: 1px solid rgba(30, 49, 107, 0.28);
  background: transparent;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.property-card-enquire:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
}

.property-card__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--brand-blue);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.property-card__icon-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
}

/* ---- Reserved / Sold status treatment ------------------------------------
   Available properties render with no changes at all. Reserved and Sold add
   a small status pill (same badge language as .property-card__badge) plus a
   subtle navy wash + desaturation on the photo — deliberately not a red
   stamp, grey block or ribbon. The listing stays fully visible, readable and
   clickable in both states. */

.property-card__badge,
.property-card__status {
  z-index: 2;
}

.property-card__status {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  height: 27px;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(10, 16, 38, 0.28);
}

.property-card__status--reserved {
  background: var(--brand-blue);
}

/* Sold reads deliberately stronger than Reserved — larger badge, bolder
   shadow and a check-circle icon — so it's unmistakable when scanning a
   grid, without covering the photo or resorting to a red stamp/ribbon. */
.property-card__status--sold {
  height: 33px;
  padding: 0 0.9rem;
  font-size: 0.74rem;
  background: var(--brand-green);
  box-shadow: 0 4px 14px rgba(0, 168, 89, 0.4);
}

.property-card__status--sold svg {
  flex-shrink: 0;
}

.property-card--reserved .property-card__media::after,
.property-card--sold .property-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 33, 73, 0.1), rgba(20, 33, 73, 0.32));
}

.property-card--sold .property-card__media img {
  filter: grayscale(20%) saturate(85%) brightness(0.96);
}

.property-card--reserved .property-card__media img,
.property-card--sold .property-card__media img {
  transition: none;
}

.property-card--reserved:hover .property-card__media img,
.property-card--sold:hover .property-card__media img {
  transform: none;
}

.property-card-enquire--disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding-inline: 15px;
  border-radius: 999px;
  border: 1px dashed var(--border-soft);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: default;
}

.empty-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

/* ---- Real Estate Services / Professional Services (icon-led, editorial) ----- */

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 700px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.service-item {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
  box-shadow: var(--shadow-sm);
}

.service-item .icon-circle {
  width: 46px;
  height: 46px;
}

.service-item h3 {
  margin-top: 1rem;
  color: var(--brand-blue);
  font-size: 21px;
  font-weight: 700;
}

.service-item p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15.5px;
}

.pro-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .pro-services {
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
  }
}

.pro-services__list {
  display: grid;
  gap: 16px;
}

@media (min-width: 560px) {
  .pro-services__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .pro-services__list {
    grid-template-columns: 1fr;
  }
}

.pro-service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.pro-service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
  box-shadow: var(--shadow-sm);
}

.pro-service-item h3 {
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 700;
}

.pro-service-item p {
  margin-top: 0.4rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15.5px;
}

.pro-services__media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.pro-services__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 859px) {
  .pro-services__media {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ---- Property Management (image + text) ------------------------------------- */

.property-management {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .property-management {
    grid-template-columns: 48% 1fr;
    gap: 3rem;
  }
}

.property-management__media,
.property-management__copy {
  min-width: 0;
}

.property-management__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.property-management__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-list {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 1.6rem;
  list-style: none;
}

.pm-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pm-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-green);
}

.pm-list li strong {
  display: block;
  color: var(--brand-blue);
  font-size: 0.96rem;
  font-weight: 700;
}

.pm-list li p {
  margin-top: 0.2rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.property-management__copy .btn {
  min-height: 45px;
}

@media (max-width: 767px) {
  .property-management__copy .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

/* ---- Why Skydime Properties (journey) ---------------------------------------- */

.journey-list {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 700px) {
  .journey-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1180px) {
  .journey-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.journey-item {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.journey-item:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
  box-shadow: var(--shadow-sm);
}

.journey-item .icon-circle {
  width: 44px;
  height: 44px;
}

.journey-item__step {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--border);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.journey-item h3 {
  margin-top: 0.9rem;
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 700;
}

.journey-item p {
  margin-top: 0.4rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 15px;
}

/* ---- Company positioning ------------------------------------------------------ */

.positioning {
  background: var(--surface-muted);
}

.positioning__inner {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.positioning__inner h2 {
  font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--brand-blue);
}

.positioning__inner p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

/* ---- Final CTA ------------------------------------------------------------------ */

.properties-cta__panel {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 12% 15%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  color: var(--white);
  border-radius: 16px;
  border-top: 3px solid var(--brand-green);
  padding: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.properties-cta__panel h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.8rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.properties-cta__panel p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.properties-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.properties-cta__actions .btn {
  min-height: 45px;
}

@media (min-width: 860px) {
  .properties-cta__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- Back to top --------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand-blue);
  color: var(--white);
}

@media (min-width: 768px) {
  .back-to-top {
    right: 26px;
    bottom: 96px;
    width: 44px;
    height: 44px;
  }
}

body.has-sticky-actions .back-to-top {
  bottom: 140px;
}

/* The mobile sticky action bar already offers a WhatsApp route (and the
   desktop sidebar has its own), so the generic floating bubble would be a
   second, competing WhatsApp entry point on this page — one route only. */
body.has-sticky-actions .whatsapp-float {
  display: none;
}

@media (min-width: 768px) {
  body.has-sticky-actions .back-to-top {
    bottom: 96px;
  }
}

/* ---- Generic modal shell (enquiry / visit) ------------------------------------- */

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 16, 38, 0.6);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 1.85rem;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s var(--ease);
}

.modal-overlay.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.enquiry-dialog__handle {
  display: none;
}

/* Below this width the centred desktop dialog becomes a bottom sheet:
   anchored to the viewport edge, full width, rounded top corners only,
   with its own scroll region so long forms (site-visit fields, etc.)
   never get clipped by the viewport. */
@media (max-width: 640px) {
  #enquiry-modal {
    align-items: flex-end;
    padding: 0;
  }

  #enquiry-modal .enquiry-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    padding: 14px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateY(16px);
  }

  #enquiry-modal.is-open .enquiry-dialog {
    transform: translateY(0);
  }

  #enquiry-modal .enquiry-dialog__handle {
    display: block;
    width: 40px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: var(--border);
  }

  #enquiry-modal .modal-close {
    top: 14px;
  }
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--surface-muted);
  color: var(--brand-blue);
  cursor: pointer;
}

.modal-close:hover {
  background: var(--surface-strong);
}

.modal-title {
  margin: 0 0 0.35rem;
  padding-right: 2rem;
  color: var(--brand-blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-context {
  display: grid;
  gap: 0.05rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-soft);
}

.modal-context__title {
  color: var(--brand-blue);
  font-size: 0.95rem;
  font-weight: 700;
}

.modal-context__location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.enquiry-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label,
.form-row__legend {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.form-row label span {
  font-weight: 500;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  height: 45px;
  padding: 0 0.9rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-row input:focus-visible,
.form-row textarea:focus-visible,
.form-row select:focus-visible {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.16);
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #c0392b;
}

.form-row textarea {
  height: auto;
  min-height: 96px;
  padding: 0.65rem 0.9rem;
  resize: vertical;
}

.form-row label .req {
  color: var(--brand-green);
  font-weight: 700;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.form-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--text);
}

.form-row--visit,
.form-row--callback {
  display: none;
}

#enquiry-modal[data-mode="visit"] .form-row--visit {
  display: grid;
}

#enquiry-modal[data-mode="callback"] .form-row--callback {
  display: grid;
}

#enquiry-modal[data-mode="callback"] .form-row--email,
#enquiry-modal[data-mode="callback"] .form-row--preferred-contact,
#enquiry-modal[data-mode="callback"] .form-row--message {
  display: none;
}

.form-radio-group--intent {
  gap: 0.5rem 1.1rem;
}

.form-error {
  margin: 0;
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
}

.enquiry-submit {
  height: 45px;
  min-height: 45px;
  width: 100%;
  margin-top: 0.15rem;
}

.enquiry-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0.5rem 0 0.25rem;
}

.enquiry-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 168, 89, 0.12);
  color: var(--brand-green);
}

.enquiry-success h4 {
  color: var(--brand-blue);
  font-size: 1.08rem;
}

.enquiry-success p {
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 34ch;
}

/* ---- Share popover -------------------------------------------------------------- */

.share-popover {
  position: fixed;
  z-index: 210;
  display: grid;
  gap: 0.1rem;
  width: 190px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
}

.share-popover button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  height: 38px;
  padding: 0 0.65rem;
  border: none;
  background: none;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.share-popover button:hover {
  background: var(--surface-muted);
}

.share-popover i {
  width: 16px;
  text-align: center;
  color: var(--brand-blue);
}

/* ========================================================================
   Property Details page
   ======================================================================== */

.breadcrumb {
  padding: 0.95rem 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--brand-blue);
}

.breadcrumb li[aria-current] {
  color: var(--brand-blue);
  font-weight: 600;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--border);
}

.detail-head {
  padding: 0.25rem 0 1.5rem;
}

.detail-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.detail-head__row > div:first-child {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 68%;
}

@media (max-width: 699px) {
  .detail-head__row > div:first-child {
    max-width: 100%;
  }
}

.detail-head__badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(0, 168, 89, 0.12);
  color: var(--brand-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-head__status:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  height: 27px;
  padding: 0 0.75rem;
  margin-left: 0.5rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-head__status--reserved {
  background: var(--brand-blue);
}

.detail-head__status--sold {
  height: 31px;
  padding: 0 0.9rem;
  font-size: 0.75rem;
  background: var(--brand-green);
  box-shadow: 0 4px 14px rgba(0, 168, 89, 0.35);
}

.detail-head__status--sold svg {
  flex-shrink: 0;
}

.detail-head__title {
  margin-top: 0.6rem;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--brand-blue);
  line-height: 1.18;
}

@media (min-width: 768px) {
  .detail-head__title {
    font-size: 34px;
  }
}

@media (min-width: 1024px) {
  .detail-head__title {
    font-size: 37px;
  }
}

@media (min-width: 1440px) {
  .detail-head__title {
    font-size: 40px;
  }
}

.detail-head__location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.detail-head__location svg {
  color: var(--brand-green);
}

.detail-head__price {
  flex-shrink: 0;
  text-align: left;
}

@media (min-width: 700px) {
  .detail-head__price {
    text-align: right;
  }
}

.detail-head__price span {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-head__price strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--brand-blue);
  font-size: 22px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .detail-head__price strong {
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  .detail-head__price strong {
    font-size: 28px;
  }
}

.detail-head__price em {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  font-style: normal;
  color: var(--brand-green);
  font-size: 12.5px;
  font-weight: 700;
}

.detail-head__price em::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 980px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 52px;
    align-items: start;
  }
}

.detail-main,
.detail-sidebar {
  min-width: 0;
}

/* ---- Gallery mosaic ------------------------------------------------------------- */

.gallery {
  position: relative;
}

.gallery__mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.gallery__mosaic--multi {
  grid-template-columns: 1fr;
}

.gallery__mosaic--multi .gallery__cell--main {
  aspect-ratio: 16 / 10;
}

.gallery__mosaic--multi .gallery__cell:not(.gallery__cell--main) {
  display: none;
}

@media (min-width: 640px) {
  .gallery__mosaic--multi {
    grid-template-columns: 1.9fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    height: 400px;
  }

  .gallery__mosaic--multi .gallery__cell--main {
    aspect-ratio: auto;
  }

  .gallery__mosaic--multi .gallery__cell:not(.gallery__cell--main) {
    display: block;
  }
}

@media (min-width: 1024px) {
  .gallery__mosaic--multi {
    height: 440px;
  }
}

.gallery__cell {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
}

.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__mosaic--multi .gallery__cell--main {
  grid-row: 1 / span 2;
}

.gallery__mosaic--single .gallery__cell {
  aspect-ratio: 16 / 10;
}

.gallery__count {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(10, 16, 38, 0.65);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.gallery__count--mobile-only {
  display: none;
}

@media (max-width: 639px) {
  .gallery__count--mobile-only {
    display: inline-flex;
  }

  .gallery__count--desktop-only {
    display: none;
  }
}

.gallery__watch-video {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: none;
  background: rgba(10, 16, 38, 0.65);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* ---- Lightbox --------------------------------------------------------------- */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 24, 0.92);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.lightbox-overlay.is-open {
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  width: min(94vw, 1100px);
  max-height: 88vh;
}

.lightbox-dialog img {
  width: 100%;
  height: 88vh;
  object-fit: contain;
}

.lightbox-count {
  position: absolute;
  top: -54px;
  left: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

.lightbox-close {
  top: -54px;
  right: 0;
}

.lightbox-nav--prev {
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav--next {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .lightbox-count {
    top: 0.6rem;
    left: 0.75rem;
  }

  .lightbox-nav--prev {
    left: 0.4rem;
  }

  .lightbox-nav--next {
    right: 0.4rem;
  }
}

/* ---- Video modal ------------------------------------------------------------- */

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(6, 10, 24, 0.92);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.video-overlay.is-open {
  opacity: 1;
}

.video-dialog {
  position: relative;
  width: min(94vw, 960px);
}

.video-dialog__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video-dialog__frame video {
  width: 100%;
  height: 100%;
}

.video-close {
  position: absolute;
  top: -54px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 640px) {
  .video-close {
    top: -46px;
    right: 0;
  }
}

/* ---- Facts strip ---------------------------------------------------------------- */

.facts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.75rem 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 50%;
  padding: 0.65rem 0.75rem 0.65rem 0;
}

@media (min-width: 980px) {
  .fact-item {
    width: auto;
    flex: 1;
    padding-right: 1rem;
    border-right: 1px solid var(--border-soft);
  }

  .fact-item:last-child {
    border-right: none;
  }
}

.fact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-green);
}

.fact-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fact-item strong {
  display: block;
  margin-top: 0.1rem;
  color: var(--brand-blue);
  font-size: 0.88rem;
}

/* ---- Overview / features / amenities / landmarks -------------------------------- */

.detail-block {
  padding-top: 1.85rem;
  border-top: 1px solid var(--border-soft);
}

.detail-block:first-child {
  border-top: none;
  padding-top: 0;
}

.detail-block h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--brand-blue);
}

@media (min-width: 1024px) {
  .detail-block h2 {
    font-size: 26px;
  }
}

.detail-block p {
  margin-top: 0.7rem;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
  list-style: none;
}

.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 32px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 600;
}

.tag-list li svg {
  color: var(--brand-green);
}

/* ---- Location panel --------------------------------------------------------------- */

.location-panel {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.location-map-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background-color: var(--surface-muted);
  background-image: radial-gradient(rgba(30, 49, 107, 0.14) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
}

.location-map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 45%, transparent 40%, var(--surface-muted) 92%);
}

.location-map-placeholder__pin {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  color: var(--brand-green);
}

.location-map-placeholder span {
  position: relative;
  font-size: 0.78rem;
  max-width: 30ch;
}

/* ---- Detail sidebar (desktop sticky enquiry card) ----------------------------------- */

.detail-sidebar {
  display: block;
}

@media (min-width: 980px) {
  .detail-sidebar {
    position: sticky;
    top: calc(var(--utility-h) + var(--header-h) + 24px);
  }
}

.detail-sidebar__panel {
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.detail-sidebar__price {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-sidebar__price strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--brand-blue);
  font-size: 24px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

@media (min-width: 1024px) {
  .detail-sidebar__price strong {
    font-size: 27px;
  }
}

.detail-sidebar__prompt {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.detail-sidebar__subtext {
  margin: -0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.detail-sidebar__actions {
  display: grid;
  gap: 0.6rem;
}

.detail-sidebar__actions .btn-primary {
  width: 100%;
  height: 46px;
  min-height: 46px;
}

.detail-sidebar__actions .btn-secondary {
  width: 100%;
  height: 43px;
  min-height: 43px;
}

.detail-sidebar__secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-soft);
}

.detail-sidebar__quick-action {
  gap: 0.35rem;
  height: 40px;
  min-height: 40px;
  padding: 0 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.detail-sidebar__quick-action--whatsapp {
  background: rgba(0, 168, 89, 0.1);
  border: 1px solid rgba(0, 168, 89, 0.28);
  color: #16793f;
}

.detail-sidebar__quick-action--whatsapp:hover {
  background: rgba(0, 168, 89, 0.18);
  border-color: rgba(0, 168, 89, 0.4);
}

.whatsapp-btn {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.whatsapp-btn:hover {
  background: #1fb955;
  border-color: #1fb955;
}

/* ---- Mobile sticky action bar --------------------------------------------------------- */

.mobile-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -8px 24px rgba(20, 30, 63, 0.08);
}

.mobile-actions .btn {
  flex: 1;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 0 0.6rem;
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 980px) {
  .mobile-actions {
    display: none;
  }
}

body.detail-page {
  padding-bottom: 68px;
}

@media (min-width: 980px) {
  body.detail-page {
    padding-bottom: 0;
  }
}

/* ---- Related properties ------------------------------------------------------------- */

.related-properties {
  border-top: 1px solid var(--border-soft);
}

/* Related Properties targets a slightly smaller heading scale than the
   sitewide .section-title h2 rule (tuned for properties.html's own
   sections, out of scope here), per this page's own typography spec. */
.related-properties .section-title h2 {
  font-size: 26px;
}

@media (min-width: 768px) {
  .related-properties .section-title h2 {
    font-size: 29px;
  }
}

@media (min-width: 1024px) {
  .related-properties .section-title h2 {
    font-size: 32px;
  }
}

/* ---- Not found state ------------------------------------------------------------------ */

.not-found {
  padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0;
  text-align: center;
}

.not-found__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--brand-blue);
  margin-bottom: 1.25rem;
}

.not-found h1 {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--brand-blue);
}

.not-found p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.not-found .btn {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Sanity integration additions — additive only, same visual language as the
   rules above. New UI introduced by the Properties/Sanity integration:
   results status, View More reveal, card option/best-use bits, the Land &
   Plots "view all" link, the unavailable state, and the property-details
   Available Options section. No existing selector above this point is
   redefined here.
   ========================================================================== */

/* ---- Results status + View More reveal (Explore Properties) --------------- */

.results-status {
  margin: -6px auto 22px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.view-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.view-more-btn {
  min-width: 240px;
}

/* ---- Land & Plots preview "view all" link ---------------------------------- */

.land-preview__more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* ---- Property card additions: title info, option count, best-use tags ----- */

.property-card__title-info {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  color: var(--brand-green);
  font-size: 0.76rem;
  font-weight: 600;
}

.property-card__option-count {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.property-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.property-card__tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--brand-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---- Sanity-failure unavailable state --------------------------------------- */

.listings-unavailable {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.listings-unavailable p {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--text-muted);
}

.listings-unavailable__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---- Detail head: project name / price note --------------------------------- */

.detail-head__project {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.detail-head__price .price-note {
  display: block;
  font-style: normal;
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---- Best Use tags (facts strip / option cards) ------------------------------ */

.best-use-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.best-use-tags__label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.best-use-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 700;
}

/* ---- About This Property lede ------------------------------------------------- */

.detail-lede {
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* ---- Location panel: Get Directions link -------------------------------------- */

.location-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.84rem;
}

.location-directions-link:hover {
  color: var(--brand-green);
}

/* ---- Available Options section (property-details.html) ------------------------ */

.detail-options-section {
  margin: 2.25rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.detail-options-section__intro {
  margin-bottom: 1.5rem;
}

.detail-options-section__intro h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  color: var(--brand-blue);
}

.detail-options-section__intro p {
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

@media (min-width: 700px) {
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.option-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.option-card:hover {
  border-color: rgba(30, 49, 107, 0.22);
  box-shadow: var(--shadow-sm);
}

.option-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.option-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 16px 18px 18px;
}

.option-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.3;
}

.option-card__size {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.option-card__price {
  margin-top: 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.option-card__price strong {
  color: var(--brand-blue);
  font-size: 1.05rem;
  font-weight: 800;
}

.option-card__price-note {
  display: inline-block;
  width: fit-content;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 168, 89, 0.09);
  color: var(--brand-green);
  font-size: 0.74rem;
  font-weight: 700;
}

.option-card__facts {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.option-card__facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.option-card__facts li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--brand-green);
}

.option-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.option-card__tags li {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--brand-blue);
  font-size: 0.68rem;
  font-weight: 700;
}

.option-card__footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
}

.option-card__cta {
  flex: 1;
  min-height: 40px;
  height: 40px;
  font-size: 0.85rem;
  padding: 0 1rem;
}

.option-card__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: #25d366;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.option-card__whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: var(--white);
}

/* ---- Loading state (property-details.html) ------------------------------------ */

.detail-loading {
  padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0;
  text-align: center;
  color: var(--text-muted);
}

/* ---- Finder: Category field hidden when only one category is published ------- */

.finder-panel--no-category {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
  .finder-panel--no-category {
    grid-template-columns: 1fr 1fr auto;
  }
}
