/* ==========================================================
   Vivid Horizon — Property Detail Page
   property-detail.css
   ========================================================== */

:root {
  --gold:       #C29B6B;
  --gold-light: #D4B483;
  --navy:       #293352;
  --charcoal:   #1C1C1C;
  --dark-bg:    #0d1018;
  --dark-surface: #141820;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Roboto Condensed', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--charcoal);
  color: rgba(255,255,255,0.88);
  font-family: var(--sans);
  padding-top: 124px;
  -webkit-font-smoothing: antialiased;
}

.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 767px) { .page-container { padding: 0 20px; } }

/* ==========================================================
   BREADCRUMB
   ========================================================== */

.breadcrumb {
  padding: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.breadcrumb a {
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: rgba(255,255,255,0.18); font-size: 10px; }
.breadcrumb__current { color: rgba(255,255,255,0.6); }

/* ==========================================================
   GALLERY CAROUSEL
   ========================================================== */

.gal-carousel {
  margin-top: 28px;
}

.gal-viewport {
  overflow: hidden;
}

.gal-track {
  display: flex;
  gap: 4px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.gal-slide {
  flex: 0 0 calc(33.333% - 3px);
  overflow: hidden;
  cursor: pointer;
  background: #111;
  position: relative;
}

/* VH logo watermark on each gallery photo */
.gal-slide::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 80px;
  height: 34px;
  background: url('images/vh-logo-white.png') right bottom / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
  z-index: 4;
}

.gal-slide__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.gal-slide:hover .gal-slide__img { transform: scale(1.04); }

/* Controls row */
.gal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
}

.gal-view-all {
  background: none;
  border: none;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 0;
}

.gal-view-all:hover { color: var(--gold-light); }

.gal-arrows {
  display: flex;
  gap: 4px;
}

.gal-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.65);
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.gal-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gal-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Lightbox */
.gallery-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.gallery-overlay.open { display: flex; }

.gallery-overlay__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  transition: color 0.2s;
}
.gallery-overlay__close:hover { color: var(--gold); }

.gallery-overlay__img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* Prev / Next arrows */
.gallery-overlay__prev,
.gallery-overlay__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  width: 52px;
  height: 52px;
  font-size: 34px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
}
.gallery-overlay__prev { left: 24px; }
.gallery-overlay__next { right: 24px; }
.gallery-overlay__prev:hover,
.gallery-overlay__next:hover {
  background: rgba(194,155,107,0.2);
  border-color: var(--gold);
  color: var(--gold);
}

/* Watermark on lightbox */
.gallery-overlay::after {
  content: '';
  position: fixed;
  bottom: 20px;
  right: 28px;
  width: 100px;
  height: 42px;
  background: url('images/vh-logo-white.png') right bottom / contain no-repeat;
  opacity: 0.38;
  pointer-events: none;
  z-index: 1010;
}

/* Photo counter */
.gallery-overlay__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .gal-slide { flex: 0 0 calc(50% - 2px); }
  .gal-view-all { font-size: 12px; }
}

@media (max-width: 479px) {
  .gal-slide { flex: 0 0 90%; }
}

/* ==========================================================
   PROPERTY HEADER
   ========================================================== */

.prop-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.prop-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.prop-header__left {}

.prop-header__ref {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.prop-header__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.prop-badge {
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.prop-badge--featured {
  background: var(--gold);
  color: var(--navy);
}

.prop-badge--type {
  background: transparent;
  border: 1px solid rgba(194,155,107,0.4);
  color: var(--gold);
}

.prop-badge--status {
  background: rgba(40,160,80,0.12);
  border: 1px solid rgba(40,160,80,0.4);
  color: rgba(100,220,120,0.9);
}

.prop-header__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: rgba(255,255,255,0.97);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.prop-header__location {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prop-header__location::before {
  content: '◉';
  font-size: 9px;
  color: var(--gold);
}

.prop-header__right {
  text-align: right;
  flex-shrink: 0;
}

.prop-header__price-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

.prop-header__price {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.prop-header__price-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
}

/* Action buttons */
.prop-header__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.22s;
}

.btn-primary:hover { background: var(--gold-light); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.22s, color 0.22s;
}

.btn-secondary:hover {
  border-color: rgba(194,155,107,0.55);
  color: var(--gold);
}

/* ==========================================================
   KEY STATS BAR
   ========================================================== */

.stats-bar {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  flex-wrap: wrap;
}

.stats-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stats-bar__item:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.stats-bar__icon {
  color: var(--gold);
  opacity: 0.8;
  flex-shrink: 0;
}

.stats-bar__text {}

.stats-bar__val {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  line-height: 1;
  margin-bottom: 3px;
}

.stats-bar__label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 767px) {
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stats-bar__item { border-right: none; padding-right: 0; margin-right: 0; }
}

/* ==========================================================
   MAIN CONTENT LAYOUT
   ========================================================== */

.prop-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  padding: 56px 0 80px;
  align-items: start;
}

@media (max-width: 1100px) {
  .prop-content { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================
   LEFT COLUMN
   ========================================================== */

.prop-body {}

/* Section divider */
.prop-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.prop-section:last-child { border-bottom: none; margin-bottom: 0; }

.prop-section__heading {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  margin: 0 0 6px;
}

.prop-section__sub {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prop-section__sub::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* Description */
.prop-desc {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
}

.prop-desc p { margin: 0 0 18px; }
.prop-desc p:last-child { margin-bottom: 0; }

.prop-desc--collapsed .prop-desc__extra { display: none; }

.prop-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap 0.2s;
}

.prop-read-more:hover { gap: 12px; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feature-item__icon {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.75;
}

.feature-item__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

.feature-item__val {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  margin-left: auto;
  letter-spacing: 0.04em;
}

/* Amenities list */
.amenities-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 767px) { .amenities-list { grid-template-columns: 1fr 1fr; } }

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.amenities-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

/* Floor plan section */
.floor-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 639px) { .floor-plans { grid-template-columns: 1fr; } }

.floor-plan-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: border-color 0.22s;
  overflow: hidden;
}

.floor-plan-card:hover { border-color: rgba(194,155,107,0.4); }

.floor-plan-card__img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #0d0d12;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.floor-plan-card__label {
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floor-plan-card__label span { color: var(--gold); }

/* Location / Map placeholder */
.map-placeholder {
  width: 100%;
  height: 320px;
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.2);
}

.map-placeholder__icon { color: var(--gold); opacity: 0.5; }

.map-placeholder__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  max-width: 420px;
  text-align: center;
}

#mapEmbed:not(.map-placeholder) {
  width: 100%;
  line-height: 0;
  border: 1px solid rgba(255,255,255,0.07);
}

/* ==========================================================
   RIGHT COLUMN — SIDEBAR
   ========================================================== */

.prop-sidebar {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Enquiry card */
.enquiry-card {
  background: var(--dark-surface);
  border: 1px solid rgba(194,155,107,0.15);
  padding: 32px 28px;
}

.enquiry-card__heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.97);
  margin: 0 0 4px;
}

.enquiry-card__sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 11px 14px;
  transition: border-color 0.22s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(194,155,107,0.55);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.35)' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-group select option { background: #1c1c1c; color: #fff; }

.form-disclaimer {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 12px 0 20px;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 15px 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.22s;
}

.form-submit:hover { background: var(--gold-light); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}

/* Agent card */
.agent-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.agent-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(194,155,107,0.15);
  border: 1px solid rgba(194,155,107,0.3);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
}

.agent-card__info {}

.agent-card__name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.agent-card__title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

.agent-card__contact {
  display: flex;
  gap: 12px;
}

.agent-card__contact a {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.agent-card__contact a:hover { color: var(--gold-light); }

/* Sharebar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.share-bar__label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-right: 4px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  transition: border-color 0.22s, color 0.22s;
}

.share-btn:hover { border-color: rgba(194,155,107,0.5); color: var(--gold); }

/* ==========================================================
   SIMILAR PROPERTIES
   ========================================================== */

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 8px;
}

.section-heading__label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-heading__label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-heading__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  margin: 0;
}

.section-heading__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(194,155,107,0.35) 0%, transparent 100%);
}

.section-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin: 4px 0 36px;
}

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

@media (max-width: 1100px) { .similar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .similar-grid { grid-template-columns: 1fr; } }

/* Reuse prop-card from listings-filtered.css inline */
.sim-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s, transform 0.3s;
}

.sim-card:hover {
  border-color: rgba(194,155,107,0.55);
  transform: translateY(-3px);
}

.sim-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a2538;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.sim-card:hover .sim-card__bg { transform: scale(1.04); }

.sim-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,8,0.92) 0%, rgba(5,5,8,0.22) 55%, rgba(5,5,8,0.03) 100%);
}

.sim-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
}

.sim-card__location {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.sim-card__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.97);
  margin: 0 0 6px;
}

.sim-card__price {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gold);
}

/* ==========================================================
   TOOL BUTTONS (Mortgage / Costs / PDF) — below content body
   ========================================================== */

.prop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.prop-tool-btn {
  flex: 1 1 180px;
  text-align: center;
  padding: 15px 20px;
  border: 1px solid rgba(194,155,107,0.32);
  background: transparent;
  color: rgba(255,255,255,0.68);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  display: block;
  white-space: nowrap;
}

.prop-tool-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(194,155,107,0.06);
}

/* ==========================================================
   NEARBY PROPERTIES CAROUSEL
   ========================================================== */

.nearby-section {
  background: var(--dark-bg);
  padding: 72px 0 56px;
}

.nearby-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.nearby-header .section-heading { margin-bottom: 0; }

.carousel-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(194,155,107,0.3);
  background: rgba(41,51,82,0.25);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(4px);
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.carousel-track-wrap {
  overflow: hidden;
  margin: 0 -8px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 8px 8px;
}

.carousel-track::-webkit-scrollbar { display: none; }

/* Nearby card — Christie's style: info below image */
.nearby-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  background: #111722;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s, transform 0.3s;
}

.nearby-card:hover {
  border-color: rgba(194,155,107,0.45);
  transform: translateY(-3px);
}

.nearby-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.nearby-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a2538;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.nearby-card:hover .nearby-card__img { transform: scale(1.04); }

.nearby-card__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.nearby-card__action {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  transition: background 0.2s;
}

.nearby-card__action:hover { background: #fff; }

.nearby-card__body {
  padding: 16px 18px 20px;
}

.nearby-card__price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  margin-bottom: 5px;
}

.nearby-card__feats {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
}

.nearby-card__name {
  font-family: var(--serif);
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 3px;
}

.nearby-card__loc {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--gold);
  opacity: 0.8;
}

/* ==========================================================
   RELATED STORIES
   ========================================================== */

.stories-section {
  background: var(--dark-bg);
  padding: 0 0 80px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 900px) { .stories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .stories-grid { grid-template-columns: 1fr; } }

.story-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #111722;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s, transform 0.3s;
}

.story-card:hover {
  border-color: rgba(194,155,107,0.4);
  transform: translateY(-3px);
}

.story-card__img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #1a2538;
  flex-shrink: 0;
}

.story-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-card__tag {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.story-card__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  margin: 0 0 12px;
}

.story-card__excerpt {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.42);
  margin: 0 0 20px;
  flex: 1;
}

.story-card__link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.story-card:hover .story-card__link { gap: 12px; }

/* ==========================================================
   NEWSLETTER
   ========================================================== */

.newsletter-section {
  background: var(--navy);
  border-top: 1px solid rgba(194,155,107,0.15);
  padding: 80px 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 860px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 36px; }
}

.newsletter-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  line-height: 1.25;
  margin: 10px 0 14px;
}

.newsletter-title em {
  font-style: italic;
  color: var(--gold);
}

.newsletter-sub {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.38);
  margin: 0;
}

.newsletter-fields {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.newsletter-input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  background: transparent;
  border: 1px solid rgba(194,155,107,0.45);
  border-right: none;
  color: rgba(255,255,255,0.9);
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: var(--gold); }

.newsletter-btn {
  height: 52px;
  padding: 0 32px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #b08a5a;
  border-color: #b08a5a;
}

.newsletter-legal {
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  margin: 0;
  line-height: 1.6;
}

.newsletter-legal a {
  color: rgba(255,255,255,0.38);
  text-decoration: underline;
}

.newsletter-success {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 16px 0;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 991px) {
  body { padding-top: 72px; }
  .prop-header__top { flex-direction: column; }
  .prop-header__right { text-align: left; }
  .prop-header__actions { justify-content: flex-start; }
  .stats-bar__item { padding-right: 20px; margin-right: 20px; }
}

@media (max-width: 639px) {
  .features-grid { grid-template-columns: 1fr; }
  .amenities-list { grid-template-columns: 1fr; }
}
