* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: #2f2a25; background: #f8f6f1; line-height: 1.6; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; background: white; border-bottom: 1px solid #e8dfd0; }
.nav { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { display: block; width: 260px; max-width: 42vw; height: auto; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 30px; margin-left: auto; }
.nav-links a { color: #5c554d; text-decoration: none; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.nav-links a:hover { color: #b48645; }
.menu-button { display: none; border: 0; background: transparent; color: #5c554d; font-size: 1.8rem; cursor: pointer; }
.hero { min-height: 640px; padding: 80px 24px; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 40px; max-width: 1150px; margin: 0 auto; }
.hero-content h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1; margin: 10px 0 24px; }
.hero-text { max-width: 620px; font-size: 1.2rem; color: #665f57; }
.eyebrow { color: #b48645; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; font-size: 0.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button { display: inline-block; border-radius: 999px; padding: 13px 22px; text-decoration: none; font-weight: 800; border: 2px solid #2f2a25; cursor: pointer; font: inherit; }
.button.primary { background: #2f2a25; color: white; }
.button.secondary { background: transparent; color: #2f2a25; }
.hero-card { min-height: 410px; border-radius: 28px; padding: 28px; color: white; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.62)), linear-gradient(135deg, #d8ad68, #5c554d); box-shadow: 0 24px 60px rgba(47, 42, 37, 0.2); }
.hero-card h2 { font-size: 2rem; margin: 0; }
.card-label, .tag { display: inline-block; width: fit-content; background: rgba(255,255,255,0.92); color: #2f2a25; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 0.8rem; }
.section { max-width: 1150px; margin: 0 auto; padding: 70px 24px; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 8px 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 30px; padding-bottom: 30px; }
.stats div { background: white; border-radius: 20px; padding: 28px; border: 1px solid #e8dfd0; }
.stats strong { display: block; font-size: 2.2rem; }
.stats span { color: #665f57; }
.filter-panel { background: white; border: 1px solid #e8dfd0; border-radius: 24px; padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; box-shadow: 0 12px 35px rgba(47, 42, 37, 0.06); margin-bottom: 24px; }
.filter-panel label { font-weight: 800; color: #4b443d; }
.filter-panel select, .filter-panel input { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #d8cbb7; border-radius: 12px; font: inherit; background: white; }
.wide-field { grid-column: span 2; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.results-summary { margin: 18px 0; font-weight: 800; color: #5c554d; }
.listing-grid, .service-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing-card, .service-card, blockquote, .agent-card, .contact-form, .detail-card { background: white; border: 1px solid #e8dfd0; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 35px rgba(47, 42, 37, 0.06); }
.property-thumb { width: 100%; height: 220px; object-fit: cover; display: block; background: #eadfcf; }
.listing-body, .service-card, .agent-card, blockquote, .contact-form, .detail-card { padding: 24px; }
.listing-body h3, .service-card h3 { margin-top: 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.meta-pill { padding: 5px 10px; border-radius: 999px; background: #f0eadf; color: #5c554d; font-size: 0.82rem; font-weight: 800; }
.price { display: block; margin: 12px 0; font-size: 1.15rem; }
.services { background: #f0eadf; max-width: none; }
.services > * { max-width: 1150px; margin-left: auto; margin-right: auto; }
.about, .contact { display: grid; grid-template-columns: 1fr 0.85fr; gap: 32px; align-items: center; }
.agent-card { text-align: center; }
.agent-photo { height: 260px; border-radius: 20px; background: linear-gradient(135deg, #e8d6b9, #b48645); display: grid; place-items: center; color: white; font-weight: 800; margin-bottom: 18px; }
.contact { align-items: start; }
.contact-details a { color: #b48645; font-weight: 700; }
.contact-form { display: grid; gap: 16px; }
label { font-weight: 800; }
input, textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #d8cbb7; border-radius: 12px; font: inherit; }
textarea { resize: vertical; }
.footer { text-align: center; padding: 32px 24px; background: #2f2a25; color: white; }
.footer p { margin: 6px 0; }
.detail-hero { display: grid; grid-template-columns: 1fr 0.72fr; gap: 26px; align-items: start; }
.detail-main-image { width: 100%; border-radius: 24px; box-shadow: 0 12px 35px rgba(47,42,37,.1); }
.detail-card h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 8px 0; line-height: 1.05; }
.detail-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.detail-facts div { padding: 14px; border-radius: 16px; background: #f8f6f1; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; }
.video-box { margin-top: 34px; }
.video-box video { width: 100%; border-radius: 22px; background: #2f2a25; }
.not-found { background: white; padding: 32px; border-radius: 24px; border: 1px solid #e8dfd0; }
@media (max-width: 900px) {
  .menu-button { display: block; }
  .brand img { width: 210px; max-width: 68vw; }
  .nav-links { display: none; position: absolute; top: 92px; right: 18px; left: 18px; background: white; border: 1px solid #e8dfd0; border-radius: 18px; padding: 16px; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero, .about, .contact, .stats, .listing-grid, .service-grid, .testimonial-grid, .detail-hero { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 48px; }
}
@media (max-width: 560px) {
  .brand img { width: 170px; }
  .nav-links { top: 78px; }
  .filter-panel, .detail-facts, .gallery { grid-template-columns: 1fr; }
  .wide-field { grid-column: span 1; }
}


.hidden-field {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
}

.checkbox-label input {
  width: auto;
  margin-top: 6px;
}

.footer a {
  color: white;
  font-weight: 800;
}


.contact-property-note {
  margin: 0;
  padding: 10px 14px;
  background: #f0eadf;
  border-radius: 12px;
  color: #5c554d;
  font-weight: 800;
}

.property-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}


/* Photo count badge on listing cards */
.property-photo-wrap {
  position: relative;
  overflow: hidden;
}

.photo-count-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  z-index: 2;
}


/* Constant MP4 video display window */
.video-box {
  max-width: 960px;
  margin: 36px auto;
}

.video-box h2 {
  margin-bottom: 14px;
}

.video-box video,
.video-frame video {
  display: block;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 540px;
  background: #000;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(47, 42, 37, 0.16);
}

/* Phone/tablet keeps the same 16:9 window shape while shrinking to screen width */
@media (max-width: 760px) {
  .video-box {
    margin: 28px auto;
  }

  .video-box video,
  .video-frame video {
    max-width: 100%;
    max-height: none;
    border-radius: 16px;
  }
}


/* Multiple MP4 video viewers with constant display dimensions */
.video-section {
  max-width: 1150px;
  margin: 42px auto 0;
}

.video-section h2 {
  margin-bottom: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.video-box {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.video-box h3 {
  margin: 0 0 10px;
  color: #5c554d;
}

.video-box video,
.video-frame video,
.property-video {
  display: block;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 540px;
  background: #000;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(47, 42, 37, 0.16);
}

@media (max-width: 760px) {
  .video-section {
    margin-top: 28px;
  }

  .video-box,
  .video-box video,
  .video-frame video,
  .property-video {
    max-width: 100%;
  }

  .video-box video,
  .video-frame video,
  .property-video {
    max-height: none;
    border-radius: 16px;
  }
}


/* Gallery picture name/caption overlay */
.gallery-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.gallery-photo-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  color: white;
  font-weight: 800;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.72)
  );
}

/* Requested visual enhancement for the hero statement only */
.hero-statement {
  display: block;
  max-width: 760px;

  /* Change font here */
  font-family: Georgia, "Times New Roman", serif;

  /* Change size here */
  font-size: clamp(1.9rem, 4vw, 3.6rem);

  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-statement span {
  display: block;
}

.hero-statement-accent {
  color: #b48645;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (max-width: 760px) {
  .hero-statement {
    font-size: clamp(1.95rem, 9vw, 3.35rem);
    line-height: 1.08;
  }
}
/* Hide the removed Test Smart Filter button but preserve spacing */
.hero-action-spacer {
  visibility: hidden;
  pointer-events: none;
}

/* Reduce space between hero buttons and Smart Property Filter */
#listings {
  margin-top: -45px;
  padding-top: 35px;
}

/* Compact Smart Property Filter box */
#listings .filter-panel {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px;
  gap: 10px;
  border-radius: 18px;
}

#listings .filter-panel label {
  font-size: 0.82rem;
}

#listings .filter-panel select,
#listings .filter-panel input {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: 10px;
}

#listings .filter-actions {
  gap: 8px;
}

#listings .filter-actions .button {
  padding: 9px 14px;
  font-size: 0.9rem;
}

/* Property detail page layout update */
.property-detail-page {
  max-width: 1150px;
  margin: 0 auto;
}

.detail-back-row {
  margin-bottom: 22px;
}

.property-detail-title {
  max-width: 960px;
  margin: 0 auto 26px;
  text-align: center;
}

.property-detail-title h1 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.property-detail-title p {
  color: #665f57;
}

.detail-main-image-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 28px;
}

.detail-main-image {
  width: 100%;
  max-width: 960px;
  max-height: 620px;
  object-fit: contain;
  display: block;
  border-radius: 24px;
}

.detail-card-below {
  max-width: 960px;
  margin: 0 auto 36px;
}

/* Override older side-by-side detail layout */
.detail-hero {
  display: block;
}

/* Make property detail fact bubbles 4 per line */
.detail-card-below .detail-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.detail-card-below .detail-facts div {
  min-height: 78px;
  padding: 14px 12px;
  border-radius: 16px;
  background: #f0eadf;
  border: 1px solid #e8dfd0;
  text-align: center;
}

/* Tablet: 2 per line */
@media (max-width: 900px) {
  .detail-card-below .detail-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone: 1 per line */
@media (max-width: 520px) {
  .detail-card-below .detail-facts {
    grid-template-columns: 1fr;
  }
}

/* Featured property card link */
.hero-card .mini-link {
  display: inline-block;
  margin-top: 16px;
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.hero-card .mini-link:hover {
  text-decoration: underline;
}

/* Make text inside Test Featured Property card smaller and centered */
.hero-card {
  text-align: center;
  align-items: center;
}

.hero-card .card-label {
  font-size: 0.68rem;
  padding: 5px 10px;
  margin-left: auto;
  margin-right: auto;
}

.hero-card h2 {
  font-size: 1.45rem;
  line-height: 1.15;
  max-width: 90%;
  margin: 10px auto 6px;
}

.hero-card p {
  font-size: 0.92rem;
  line-height: 1.35;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero-card strong {
  font-size: 1rem;
  margin-top: 4px;
}

.hero-card .mini-link {
  font-size: 0.9rem;
  text-align: center;
}

/* Center text inside the Services bubbles */
.service-card {
  text-align: center;
}

/* Center the service title */
.service-card h3 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Center the service description */
.service-card p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 92%;
}

/* Isa Virtual Assistant */
.service-card-button {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid rgba(180, 134, 69, 0.22);
  appearance: none;
}

.service-card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(47, 42, 37, 0.14);
}

.service-card-button:focus-visible {
  outline: 3px solid rgba(180, 134, 69, 0.45);
  outline-offset: 4px;
}

.isa-assistant {
  --isa-gold: #b48645;
  --isa-gold-dark: #7c5a2e;
  --isa-ink: #2f2a25;
  --isa-muted: #6f665e;
  --isa-cream: #fffaf2;
  --isa-soft: #f0eadf;
  --isa-border: #dfd3c1;
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 10000;
  font-family: inherit;
}

.isa-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 18px 7px 7px;
  border: 1px solid rgba(180, 134, 69, 0.35);
  border-radius: 999px;
  background: #fff;
  color: var(--isa-ink);
  box-shadow: 0 14px 36px rgba(38, 31, 24, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.isa-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(38, 31, 24, 0.27);
}

.isa-launcher:focus-visible,
.isa-panel button:focus-visible,
.isa-panel a:focus-visible,
.isa-input-form textarea:focus-visible {
  outline: 3px solid rgba(180, 134, 69, 0.5);
  outline-offset: 3px;
}

.isa-launcher-avatar,
.isa-avatar,
.isa-message-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--isa-gold);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.isa-launcher-avatar {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
}

.isa-launcher-pulse {
  position: absolute;
  top: 4px;
  left: 39px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2aa66a;
}

.isa-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(410px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 110px));
  overflow: hidden;
  border: 1px solid rgba(180, 134, 69, 0.3);
  border-radius: 24px;
  background: var(--isa-cream);
  box-shadow: 0 28px 80px rgba(31, 28, 24, 0.34);
}

.isa-panel.is-open {
  display: grid;
  animation: isa-panel-in 180ms ease-out;
}

@keyframes isa-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.isa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(180, 134, 69, 0.22);
  background: #fff;
}

.isa-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  font-size: 1.45rem;
}

.isa-heading {
  min-width: 0;
  flex: 1;
}

.isa-label {
  margin: 0 0 1px;
  overflow: hidden;
  color: var(--isa-gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.isa-heading h2 {
  margin: 0;
  color: var(--isa-ink);
  font-size: 1.25rem;
  line-height: 1.05;
}

.isa-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--isa-muted);
  font-size: 0.74rem;
}

.isa-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2aa66a;
}

.isa-header-actions {
  display: flex;
  gap: 7px;
}

.isa-language,
.isa-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--isa-soft);
  color: var(--isa-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.isa-close {
  font-size: 1.45rem;
  line-height: 1;
}

.isa-messages {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  scroll-behavior: smooth;
}

.isa-message-row {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin: 0 0 12px;
}

.isa-message-row-user {
  justify-content: flex-end;
}

.isa-message-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
}

.isa-message {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 17px;
  color: var(--isa-ink);
  font-size: 0.93rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.isa-message-assistant {
  border-bottom-left-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(45, 38, 31, 0.07);
}

.isa-message-user {
  border-bottom-right-radius: 5px;
  background: var(--isa-gold);
  color: #fff;
}

.isa-message span {
  display: block;
  margin-top: 3px;
}

.isa-system-note {
  margin: 4px auto 14px;
  padding: 8px 10px;
  max-width: 92%;
  border-radius: 10px;
  background: rgba(180, 134, 69, 0.09);
  color: var(--isa-muted);
  font-size: 0.74rem;
  line-height: 1.4;
  text-align: center;
}

.isa-quick-replies {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 7px 14px 11px;
  scrollbar-width: thin;
}

.isa-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(180, 134, 69, 0.42);
  border-radius: 999px;
  background: #fff;
  color: var(--isa-gold-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.isa-chip:hover,
.isa-chip-primary {
  background: var(--isa-gold);
  color: #fff;
}

.isa-input-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  padding: 11px 13px;
  border-top: 1px solid rgba(180, 134, 69, 0.2);
  background: #fff;
}

.isa-input-form textarea {
  width: 100%;
  min-height: 43px;
  max-height: 112px;
  resize: none;
  border: 1px solid var(--isa-border);
  border-radius: 16px;
  padding: 11px 12px;
  background: var(--isa-cream);
  color: var(--isa-ink);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
}

.isa-send {
  min-height: 43px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: var(--isa-gold);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.isa-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 13px 9px;
  background: #fff;
  color: var(--isa-muted);
  font-size: 0.64rem;
  line-height: 1.25;
}

.isa-footer-note {
  max-width: 72%;
}

.isa-privacy-link {
  color: var(--isa-gold-dark);
  font-weight: 800;
  white-space: nowrap;
}

.isa-property-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 12px 33px;
  overflow: hidden;
  border: 1px solid rgba(180, 134, 69, 0.24);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(45, 38, 31, 0.08);
}

.isa-property-card > img {
  width: 94px;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.isa-property-card-body {
  min-width: 0;
  padding: 10px 10px 10px 0;
}

.isa-property-card h3,
.isa-property-card p {
  margin: 0 0 4px;
}

.isa-property-card h3 {
  color: var(--isa-ink);
  font-size: 0.88rem;
  line-height: 1.25;
}

.isa-property-id {
  color: var(--isa-gold-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.isa-property-card-body > p:not(.isa-property-id) {
  color: var(--isa-ink);
  font-size: 0.76rem;
}

.isa-property-facts {
  color: var(--isa-muted) !important;
  line-height: 1.3;
}

.isa-property-actions {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.isa-property-actions a,
.isa-property-actions button {
  border: 0;
  background: transparent;
  color: var(--isa-gold-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: underline;
}

.isa-comparison,
.isa-lead-summary {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.isa-compare-row {
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(180, 134, 69, 0.22);
  border-radius: 10px;
  background: var(--isa-cream);
}

.isa-compare-row span,
.isa-compare-row small {
  margin: 0;
}

.isa-compare-row small {
  color: var(--isa-muted);
}

.isa-lead-summary > div {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(180, 134, 69, 0.16);
}

@media (max-width: 600px) {
  body.isa-open {
    overflow: hidden;
  }

  .isa-assistant {
    right: 12px;
    bottom: 12px;
  }

  .isa-launcher-text {
    display: none;
  }

  .isa-launcher {
    width: 56px;
    min-height: 56px;
    padding: 7px;
  }

  .isa-launcher-avatar {
    width: 40px;
    height: 40px;
  }

  .isa-panel {
    position: fixed;
    inset: 8px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 20px;
  }

  .isa-property-card {
    grid-template-columns: 78px minmax(0, 1fr);
    margin-left: 0;
  }

  .isa-property-card > img {
    width: 78px;
    min-height: 128px;
  }

  .isa-footer-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isa-panel.is-open,
  .isa-launcher {
    animation: none;
    transition: none;
  }
}

/* Service bubble title color */
.service-card h3,
.service-card-button h3 {
  color: #b48645;
}

/* =========================================================
   Property icon system — local SVGs, no external dependency
   ========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.property-icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  color: #b48645;
  vertical-align: -0.18em;
}

.property-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.property-metric {
  min-width: 0;
  min-height: 58px;
  padding: 8px 6px;
  border: 1px solid rgba(180, 134, 69, 0.25);
  border-radius: 14px;
  background: #f8f6f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #4b443d;
  text-align: center;
}

.property-metric .property-icon {
  width: 22px;
  height: 22px;
}

.property-metric strong {
  max-width: 100%;
  font-size: 0.82rem;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #665f57;
}

.listing-location .property-icon {
  margin-top: 2px;
}

.photo-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.photo-count-badge .property-icon {
  width: 17px;
  height: 17px;
  color: white;
}

.property-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.property-detail-button .property-icon {
  color: currentColor;
  width: 18px;
  height: 18px;
}

.featured-property-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px 14px;
  margin: 12px 0 4px;
}

.featured-property-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-property-meta .property-icon {
  color: #f1c987;
  width: 20px;
  height: 20px;
}

.detail-card-below .detail-facts .detail-fact {
  min-height: 118px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow-wrap: anywhere;
}

.detail-fact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(180, 134, 69, 0.14);
  display: grid;
  place-items: center;
}

.detail-fact-icon .property-icon {
  width: 24px;
  height: 24px;
  color: #9d7138;
}

.detail-fact-value {
  font-size: 1.05rem;
  line-height: 1.25;
  color: #2f2a25;
}

.detail-fact-label {
  color: #6a6158;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.detail-card-below .detail-facts .detail-fact--wide {
  grid-column: span 2;
}

.detail-card-below .detail-facts .detail-fact--full {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .detail-card-below .detail-facts .detail-fact--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .property-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .detail-card-below .detail-facts .detail-fact--wide,
  .detail-card-below .detail-facts .detail-fact--full {
    grid-column: span 1;
  }
}

/* Consistent listing-card layout: the action remains fixed while long summaries scroll. */
.listing-card {
  height: 660px;
  display: flex;
  flex-direction: column;
}

.listing-card .property-photo-wrap {
  flex: 0 0 220px;
}

.listing-card .listing-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.listing-scroll-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.listing-scroll-content:focus-visible {
  outline: 2px solid #b48645;
  outline-offset: 3px;
  border-radius: 10px;
}

.listing-scroll-content::-webkit-scrollbar {
  width: 8px;
}

.listing-scroll-content::-webkit-scrollbar-track {
  background: #f0eadf;
  border-radius: 999px;
}

.listing-scroll-content::-webkit-scrollbar-thumb {
  background: #b48645;
  border-radius: 999px;
  border: 2px solid #f0eadf;
}

.listing-card .property-detail-button {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 16px;
}

@media (max-width: 560px) {
  .listing-card {
    height: 640px;
  }
}

/* v1.2.0: Compact property-detail icon ribbon and expandable information. */
.detail-card-below.detail-card-compact {
  overflow: visible;
  padding: 22px;
}

.detail-card-heading-row {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 18px 28px;
  margin-bottom: 18px;
}

.detail-card-heading-row .price {
  margin: 0;
  white-space: nowrap;
}

.detail-short-description {
  margin: 0;
  color: #665f57;
  line-height: 1.55;
}

.compact-detail-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px;
  margin: 0 0 18px;
  border: 1px solid #e8dfd0;
  border-radius: 18px;
  background: #fbf9f5;
}

.compact-detail {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  min-width: 68px;
  padding: 8px 12px;
  border: 1px solid rgba(180, 134, 69, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: #2f2a25;
  cursor: help;
  outline: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.compact-detail:hover,
.compact-detail:focus,
.compact-detail:focus-visible {
  transform: translateY(-1px);
  border-color: #b48645;
  background: #fff7e9;
  box-shadow: 0 8px 20px rgba(180, 134, 69, 0.18);
}

.compact-detail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.compact-detail-icon .property-icon {
  width: 22px;
  height: 22px;
  color: #9d7138;
}

.compact-detail-value {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.93rem;
  line-height: 1;
}

.compact-detail-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 40;
  transform: translate(-50%, 5px);
  width: max-content;
  max-width: min(260px, 80vw);
  padding: 7px 10px;
  border-radius: 8px;
  background: #2f2924;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.compact-detail-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #2f2924;
}

.compact-detail:hover .compact-detail-tooltip,
.compact-detail:focus .compact-detail-tooltip,
.compact-detail:focus-visible .compact-detail-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.property-info-sections {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.property-info-section {
  border: 1px solid #e8dfd0;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.property-info-section summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 44px 11px 14px;
  color: #2f2a25;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.property-info-section summary::-webkit-details-marker {
  display: none;
}

.property-info-section summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b48645;
  font-size: 1.35rem;
  font-weight: 500;
}

.property-info-section[open] summary::after {
  content: "−";
}

.property-info-section summary:hover,
.property-info-section summary:focus-visible {
  background: #fff7e9;
  color: #8b612c;
  outline: none;
}

.property-info-summary-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(180, 134, 69, 0.14);
}

.property-info-summary-icon .property-icon {
  width: 18px;
  height: 18px;
  color: #9d7138;
}

.property-info-section-body {
  padding: 2px 16px 16px;
  color: #5f574f;
  line-height: 1.65;
}

.property-info-section-body p {
  margin: 8px 0 0;
}

.property-info-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee6da;
}

.property-info-row:last-child {
  border-bottom: 0;
}

.property-info-row strong {
  color: #3f3832;
}

.detail-card-compact .property-detail-button {
  margin-top: 2px;
}

@media (max-width: 700px) {
  .detail-card-heading-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .compact-detail-ribbon {
    gap: 8px;
    padding: 11px;
  }

  .compact-detail {
    min-width: 62px;
    padding: 8px 10px;
  }

  .compact-detail-tooltip {
    top: calc(100% + 9px);
    bottom: auto;
  }

  .compact-detail-tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #2f2924;
  }

  .property-info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 420px) {
  .detail-card-below.detail-card-compact {
    padding: 17px;
  }

  .compact-detail {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 82px;
  }

  .compact-detail-value {
    max-width: 92px;
  }
}
