:root {
  --site-logo-width: 250px;
  --site-logo-home-width: 225px;
  --site-logo-footer-width: 250px;
  --red: #ad1831;
  --red-bright: #d21d3b;
  --charcoal: #1c1918;
  --ink: #292524;
  --muted: #716a66;
  --ivory: #f5f1e9;
  --paper: #fffdf9;
  --line: #ded8cf;
  --champagne: #bea06b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --page: min(1240px, calc(100vw - 48px));
  --header-height: 82px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; }

button, input, select { font: inherit; }

button { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--charcoal);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: var(--page);
  height: var(--header-height);
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, .36);
  transform: translateX(-50%);
}

.brand { display: block; width: var(--site-logo-width); }
.home-header .brand { width: var(--site-logo-home-width); }
.brand picture, .brand img { display: block; width: 100%; }
.site-header:not(.detail-header) .brand img { filter: brightness(0) invert(1); }

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav a, .header-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav a { position: relative; padding: 12px 0; }
.site-nav a::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: white;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, .7);
  transition: background .2s ease, color .2s ease;
}
.header-cta:hover { color: var(--charcoal); background: white; }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(820px, 92svh);
  height: 760px;
  color: white;
  overflow: visible;
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; object-position: center 48%; }

.hero-shade {
  background:
    linear-gradient(180deg, rgba(13, 10, 10, .64) 0%, rgba(13, 10, 10, .08) 36%, rgba(13, 10, 10, .46) 100%),
    linear-gradient(90deg, rgba(24, 12, 13, .34), transparent 62%);
}

.hero-content {
  position: absolute;
  top: 25%;
  left: 50%;
  width: var(--page);
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.light { color: #fff; }

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 8.4vw, 124px);
  font-weight: 400;
  line-height: .86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 570px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.35;
}

.property-search {
  position: absolute;
  z-index: 10;
  right: 50%;
  bottom: 38px;
  width: var(--page);
  display: grid;
  grid-template-columns: minmax(230px, 1.6fr) repeat(4, minmax(115px, 1fr)) 120px;
  color: var(--charcoal);
  background: rgba(255, 253, 249, .98);
  transform: translateX(50%);
  box-shadow: 0 18px 50px rgba(18, 10, 10, .18);
}

.search-field {
  min-width: 0;
  padding: 15px 18px 13px;
  border-right: 1px solid var(--line);
}

.search-field span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-field input, .search-field select {
  width: 100%;
  min-height: 26px;
  padding: 0 22px 0 0;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.search-field input::placeholder { color: #928a85; }
.search-field:focus-within { box-shadow: inset 0 -2px var(--red); }

.search-submit {
  grid-column: 6;
  grid-row: 1;
  border: 0;
  color: white;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease;
}
.search-submit:hover { background: var(--red-bright); }
.search-features { position: relative; grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line); }
.search-features summary { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 18px; font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; list-style: none; }
.search-features summary::-webkit-details-marker { display: none; }
.search-features summary::after { content: "+"; margin-left: auto; color: var(--red); font-size: 19px; font-weight: 400; }
.search-features[open] summary::after { content: "-"; }
.search-features summary span { color: var(--muted); font-weight: 400; text-transform: none; }
.search-features-panel { position: absolute; z-index: 2; top: 100%; left: 0; width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 10px 18px; background: #fffdfa; border: 1px solid var(--line); box-shadow: 0 22px 36px rgba(18, 10, 10, .18); }
.search-features-panel label { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 4px; font-size: 13px; cursor: pointer; }
.search-features-panel input { width: 16px; height: 16px; flex: none; accent-color: var(--red); }
.search-advanced { position: relative; grid-column: 1 / -1; grid-row: 3; border-top: 1px solid var(--line); }
.search-advanced summary { min-height: 38px; padding: 11px 18px 9px; color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; list-style: none; }
.search-advanced summary::-webkit-details-marker { display: none; }
.search-advanced-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 18px 16px; }
.search-advanced-panel label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.search-advanced-panel input, .search-advanced-panel select { width: 100%; min-height: 34px; padding: 0 8px; color: var(--charcoal); background: white; border: 1px solid var(--line); font-size: 13px; text-transform: none; }

.section { padding: 112px max(24px, calc((100vw - 1240px) / 2)); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading > p, .about-body p, .advisory-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.properties-index-search {
  position: relative;
  inset: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin: 0 0 42px;
  transform: none;
  box-shadow: 0 12px 32px rgba(18, 10, 10, .09);
}

.properties-intro { padding-bottom: 84px; }

.result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 0 22px;
  border-top: 1px solid var(--line);
}
.result-bar p { margin: 0; font-size: 13px; }
.text-button { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; }

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 20px;
}

.listing-card { min-width: 0; }
.listing-card a { text-decoration: none; }

.listing-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ded9d1;
}
.listing-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.listing-card:hover .listing-image img { transform: scale(1.025); }

.listing-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  color: white;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-body { padding-top: 17px; }
.listing-location { margin: 0 0 8px; color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.listing-body h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.16; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.listing-price { margin: 16px 0 0; font-size: 14px; font-weight: 800; }

.listing-skeleton { aspect-ratio: 4 / 3; background: linear-gradient(110deg, #ebe7df 8%, #f7f4ee 18%, #ebe7df 33%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position-x: -200%; } }

.empty-listings {
  grid-column: 1 / -1;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.empty-listings h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 32px; font-weight: 400; }
.empty-listings p { max-width: 560px; margin: 0 auto 24px; color: var(--muted); line-height: 1.6; }

.collections { padding-top: 70px; background: var(--ivory); }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #cac2b6; border-left: 1px solid #cac2b6; }
.collection {
  min-height: 285px;
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 20px;
  padding: 34px;
  text-align: left;
  border: 0;
  border-right: 1px solid #cac2b6;
  border-bottom: 1px solid #cac2b6;
  background: transparent;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}
.collection-index { grid-row: 1 / 3; color: var(--red); font-size: 12px; font-weight: 800; }
.collection-name { align-self: end; font-family: var(--serif); font-size: clamp(32px, 4vw, 55px); line-height: 1; }
.collection-copy { max-width: 410px; align-self: end; margin-top: 50px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.collection:hover { color: white; background: var(--red); }
.collection:hover .collection-index, .collection:hover .collection-copy { color: white; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .7fr);
  gap: 80px 110px;
}
.about-intro h2 { max-width: 820px; }
.about-body { padding-top: 34px; }
.about-body .about-lead { margin-bottom: 22px; color: var(--charcoal); font-family: var(--serif); font-size: 23px; line-height: 1.5; }
.about-body p + p { margin-top: 18px; }
.inline-link { display: inline-block; margin-top: 30px; color: var(--red); font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 4px; }
.about-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts div { padding: 28px 22px; border-right: 1px solid var(--line); }
.about-facts div:last-child { border-right: 0; }
.about-facts strong { display: block; margin-bottom: 7px; font-family: var(--serif); font-size: 33px; font-weight: 400; }
.about-facts span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }

.services { color: white; background: var(--charcoal); }
.services .section-heading > p { color: #bdb6b1; }
.service-list { border-top: 1px solid #4a4441; }
.service-row { display: grid; grid-template-columns: 70px minmax(180px, .7fr) 1fr; gap: 20px; align-items: center; min-height: 145px; border-bottom: 1px solid #4a4441; }
.service-row > span { color: var(--red-bright); font-size: 12px; font-weight: 800; }
.service-row h3 { margin: 0; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.service-row p { max-width: 570px; margin: 0; color: #bdb6b1; line-height: 1.6; }

.advisory { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 100px; background: var(--ivory); }
.advisory-mark { min-height: 390px; display: grid; place-items: center; border-right: 1px solid #d4ccbf; }
.advisory-mark img { width: min(270px, 68%); }
.advisory-copy { max-width: 670px; }
.advisory-copy > p { margin-top: 25px; }
.button { display: inline-block; padding: 15px 20px; text-decoration: none; font-size: 12px; font-weight: 800; }
.button.primary { margin-top: 32px; color: white; background: var(--red); }
.button.primary:hover { background: var(--red-bright); }

.seller-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 575px; background: var(--ivory); }
.seller-copy { align-self: center; padding: 88px max(32px, calc((100vw - 1240px) / 2)) 88px max(24px, calc((100vw - 1240px) / 2)); }
.seller-copy h2 { max-width: 610px; margin: 0; font-family: var(--serif); font-size: clamp(40px, 4.5vw, 65px); font-weight: 400; line-height: 1.05; }
.seller-copy > p:not(.eyebrow) { max-width: 550px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.seller-points { display: flex; flex-wrap: wrap; gap: 10px 18px; max-width: 570px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #d4ccbf; }
.seller-points span { color: var(--charcoal); font-size: 12px; font-weight: 700; }
.seller-copy .button { margin-top: 32px; }
.seller-photo { width: 100%; height: 100%; min-height: 575px; object-fit: cover; object-position: center; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; color: white; background: var(--red); }
.contact-options { border-top: 1px solid rgba(255, 255, 255, .45); }
.contact-options a { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.contact-options span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-options strong { font-family: var(--sans); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) repeat(3, minmax(130px, 1fr));
  align-items: start;
  gap: 56px 52px;
  padding: 74px max(24px, calc((100vw - 1240px) / 2)) 26px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer-intro img { width: var(--site-logo-footer-width); }
.footer-intro p { max-width: 235px; margin: 24px 0 0; color: var(--muted); line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.footer-column h2 { margin: 0 0 11px; color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.footer-column a { text-decoration: none; line-height: 1.4; }
.footer-column a:hover, .footer-bottom a:hover { color: var(--red); }
.footer-careers p { max-width: 170px; margin: 0; color: var(--muted); line-height: 1.6; }
.footer-careers .footer-arrow { margin-top: 7px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.footer-bottom a { text-decoration: none; }

/* Supporting pages */
.page-main { min-height: 65vh; }
.page-intro { padding: 105px max(24px, calc((100vw - 1240px) / 2)) 110px; background: var(--ivory); }
.page-intro-inner { max-width: 900px; }
.page-intro h1, .legal-intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6.7vw, 91px); font-weight: 400; line-height: 1; }
.page-intro-inner > p:last-child { max-width: 660px; margin: 26px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.careers-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.careers-details { max-width: 550px; }
.careers-details > p:first-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.careers-details .button { margin-top: 27px; }
.careers-details .careers-note { margin: 29px 0 0; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.careers-note a, .legal-content a { color: var(--red); }
.legal-page { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 115px; }
.legal-intro { padding-bottom: 47px; border-bottom: 1px solid var(--line); }
.legal-intro h1 { font-size: clamp(46px, 6vw, 74px); }
.legal-date { margin: 18px 0 0; color: var(--red); font-size: 13px; font-weight: 700; }
.legal-intro > p:last-child { max-width: 750px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.legal-content { max-width: 750px; }
.legal-content section { padding: 31px 0 28px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.legal-content p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-content p + p { margin-top: 14px; }

.whatsapp-float {
  position: fixed;
  z-index: 15;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: white;
  background: #1f8f59;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.whatsapp-float.is-hidden { opacity: 0; pointer-events: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Property detail */
.detail-header { position: relative; left: auto; width: 100%; padding: 0 max(24px, calc((100vw - 1240px) / 2)); color: var(--charcoal); background: white; transform: none; border-bottom: 1px solid var(--line); }
.detail-header .site-nav a::after { background: var(--red); }
.detail-main { padding-top: var(--header-height); min-height: 75vh; }
.detail-loading { width: var(--page); margin: 90px auto; color: var(--muted); }
.detail-hero { width: var(--page); margin: 58px auto 0; }
.detail-back { display: inline-block; margin-bottom: 25px; color: var(--red); font-size: 12px; font-weight: 800; text-decoration: none; }
.detail-title-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 34px; }
.detail-title-row h1 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 6vw, 82px); font-weight: 400; line-height: 1; }
.detail-location { margin: 14px 0 0; color: var(--muted); }
.detail-price { margin: 0; color: var(--red); font-size: 20px; font-weight: 800; white-space: nowrap; }
.detail-gallery { display: grid; grid-template-columns: 1.55fr .75fr; grid-template-rows: repeat(2, 250px); gap: 8px; }
.detail-gallery figure { margin: 0; min-width: 0; overflow: hidden; background: #ddd7ce; }
.detail-gallery figure:first-child { grid-row: 1 / 3; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery.gallery-1 { grid-template-columns: 1fr; grid-template-rows: min(54vw, 680px); }
.detail-gallery.gallery-1 figure:first-child { grid-row: auto; }
.detail-gallery.gallery-2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: 520px; }
.detail-gallery.gallery-2 figure:first-child { grid-row: auto; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; cursor: zoom-in; }
.gallery-open:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.detail-gallery-extra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.detail-gallery-extra figure { min-width: 0; height: 190px; margin: 0; overflow: hidden; background: #ddd7ce; }
.detail-gallery-extra img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-dialog { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 16px; color: white; background: var(--charcoal); border: 0; }
.photo-dialog::backdrop { background: rgba(0, 0, 0, .88); }
.photo-dialog > img { display: block; width: 100%; max-height: calc(100vh - 130px); object-fit: contain; }
.photo-close { display: block; margin: 0 0 12px auto; padding: 7px 12px; color: white; background: transparent; border: 1px solid #766e69; cursor: pointer; }
.photo-controls { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 12px; }
.photo-controls button { min-width: 100px; padding: 8px 12px; color: white; background: transparent; border: 1px solid #766e69; cursor: pointer; }
.photo-controls button:disabled { opacity: .4; cursor: default; }
.photo-controls span { font-size: 12px; font-variant-numeric: tabular-nums; }
.detail-content { width: var(--page); display: grid; grid-template-columns: 1fr 340px; gap: 90px; margin: 62px auto 110px; }
.detail-summary { display: flex; flex-wrap: wrap; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-summary span { font-size: 13px; }
.detail-description { margin-top: 36px; color: var(--muted); font-size: 17px; line-height: 1.8; white-space: pre-line; }
.detail-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 25px; margin: 34px 0 0; padding: 0; list-style: none; }
.detail-features li { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.inquiry-panel { align-self: start; padding: 28px; color: white; background: var(--charcoal); }
.inquiry-panel h2 { font-size: 32px; }
.inquiry-panel p { color: #c2bbb7; line-height: 1.6; }
.inquiry-panel .button { display: block; text-align: center; }
.not-found { width: var(--page); margin: 100px auto; text-align: center; }
.not-found-page { width: var(--page); min-height: 55vh; display: grid; place-content: center; justify-items: center; margin: 0 auto; text-align: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { color: var(--red); text-decoration: none; }
.breadcrumbs span { color: var(--muted); }
.property-agent-link { display: block; margin-top: 22px; color: white; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.related-properties { padding-top: 0; }
.area-intro .page-intro-inner { max-width: 840px; }
.area-link-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.area-link-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; margin-right: 22px; color: var(--charcoal); border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 20px; }
.area-link-grid a span { color: var(--red); font-family: var(--sans); font-size: 16px; }
.area-link-grid a:hover { color: var(--red); }
.agent-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 80px; padding-top: 82px; }
.agent-identity { display: grid; grid-template-columns: 170px 1fr; gap: 34px; align-items: start; }
.agent-portrait { width: 170px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--paper); }
.agent-portrait img { width: 100%; height: 100%; object-fit: cover; }
.agent-identity h1 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 6vw, 86px); font-weight: 400; line-height: .95; }
.agent-role { margin: 14px 0 0; color: var(--red); font-weight: 800; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.agent-bio { align-self: end; padding-top: 20px; border-top: 1px solid var(--line); }
.agent-bio > p:last-child { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.agent-directory { max-width: 820px; border-top: 1px solid var(--line); }
.agent-directory-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; color: var(--charcoal); border-bottom: 1px solid var(--line); text-decoration: none; }
.agent-directory-item:hover { color: var(--red); }
.agent-directory-avatar { width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; background: var(--paper); }
.agent-directory-avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent-directory-item strong, .agent-directory-item small { display: block; }
.agent-directory-item strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.agent-directory-item small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.valuation-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 90px; }
.valuation-layout h2 { margin-top: 0; }
.valuation-layout > div > p:not(.eyebrow) { max-width: 480px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.valuation-direct { margin-top: 34px; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 30px; background: white; border: 1px solid var(--line); }
.lead-form label { display: grid; gap: 8px; color: var(--charcoal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 12px; color: var(--charcoal); background: var(--paper); border: 1px solid var(--line); outline: none; font-size: 15px; font-weight: 400; text-transform: none; resize: vertical; }
.lead-form input, .lead-form select { min-height: 46px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(173, 24, 49, .08); }
.lead-form button { grid-column: 1 / -1; justify-self: start; }
.lead-form .form-status { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.lead-form .form-status.success { color: #1f6b46; }
.lead-form .form-status.error { color: var(--red); }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.insight-page { max-width: 920px; padding-top: 82px; }
.insight-page h1 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(48px, 7vw, 92px); font-weight: 400; line-height: .95; }
.insight-meta { color: var(--muted); font-size: 13px; }
.insight-body { max-width: 720px; margin-top: 54px; color: var(--muted); font-size: 18px; line-height: 1.8; }

@media (max-width: 1040px) {
  :root { --page: min(100% - 36px, 920px); }
  .site-header { grid-template-columns: 235px 1fr auto; gap: 16px; }
  .brand { width: min(var(--site-logo-width), 230px); }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .property-search { grid-template-columns: 1.4fr repeat(4, 1fr) 110px; }
  .search-field { padding-inline: 13px; }
  .about { gap: 60px; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  .footer-intro, .footer-bottom { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 32px); --header-height: 70px; }
  .site-header { left: 16px; width: calc(100% - 32px); grid-template-columns: 1fr auto; transform: none; }
  .brand { width: min(var(--site-logo-width), calc(100vw - 108px)); }
  .home-header .brand { width: min(var(--site-logo-home-width), calc(100vw - 108px)); }
  .brand, .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; border: 1px solid rgba(255, 255, 255, .55); background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 19px; height: 1px; background: currentColor; }
  .site-nav { position: fixed; inset: 0; z-index: 1; width: 100vw; height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; visibility: hidden; color: white; background: var(--charcoal); opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav a { font-family: var(--serif); font-size: 34px; font-weight: 400; }
  .menu-open .detail-header .brand img { filter: brightness(0) invert(1); }
  .menu-open .detail-header .menu-toggle { color: white; border-color: rgba(255, 255, 255, .55); }

  .hero { height: 790px; min-height: 100svh; }
  .hero-content { top: 19%; }
  .hero h1 { max-width: 330px; font-size: 66px; line-height: .9; }
  .hero-copy { max-width: 330px; font-size: 20px; }
  .property-search { bottom: 18px; grid-template-columns: 1fr 1fr; }
  .search-wide { grid-column: 1 / -1; }
  .search-field { border-bottom: 1px solid var(--line); }
  .search-features { grid-row: auto; }
  .search-features-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 320px; overflow-y: auto; }
  .search-advanced { grid-row: auto; }
  .search-advanced-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-submit { min-height: 58px; grid-column: 1 / -1; grid-row: auto; }

  .section { padding: 78px 16px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .section h2 { font-size: 43px; }
  .property-grid { grid-template-columns: 1fr; gap: 35px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection { min-height: 230px; grid-template-columns: 45px 1fr; padding: 26px 20px; }
  .collection-copy { margin-top: 35px; }
  .about { grid-template-columns: 1fr; gap: 16px; }
  .about-body { padding-top: 18px; }
  .about-facts { grid-template-columns: repeat(2, 1fr); margin-top: 35px; }
  .about-facts div:nth-child(2) { border-right: 0; }
  .about-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-row { grid-template-columns: 40px 1fr; gap: 12px; padding: 26px 0; }
  .service-row h3 { font-size: 35px; }
  .service-row p { grid-column: 2; }
  .advisory { grid-template-columns: 1fr; gap: 45px; }
  .advisory-mark { min-height: 230px; border-right: 0; border-bottom: 1px solid #d4ccbf; }
  .seller-section { grid-template-columns: 1fr; }
  .seller-copy { padding: 78px 16px 64px; }
  .seller-copy h2 { font-size: 43px; }
  .seller-photo { min-height: 0; height: 330px; }
  .contact { grid-template-columns: 1fr; gap: 45px; }
  .contact-options a { flex-direction: column; gap: 8px; }
  .area-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-link-grid a { margin-right: 14px; font-size: 18px; }
  .agent-hero, .valuation-layout { grid-template-columns: 1fr; gap: 48px; }
  .agent-identity { grid-template-columns: 110px 1fr; gap: 20px; }
  .agent-portrait { width: 110px; }
  .agent-identity h1 { font-size: 52px; }
  .lead-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .lead-form .full-field, .lead-form button, .lead-form .form-status { grid-column: auto; }
  .lead-form button { width: 100%; }
  .site-footer { padding: 64px 16px 26px; }
  .footer-intro img { width: min(var(--site-logo-footer-width), 250px); }
  .footer-column { gap: 13px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-intro { padding: 76px 16px 80px; }
  .page-intro h1 { font-size: 57px; }
  .page-intro-inner > p:last-child { font-size: 17px; }
  .careers-content { grid-template-columns: 1fr; gap: 25px; }
  .legal-page { width: calc(100% - 32px); padding: 70px 0 85px; }
  .legal-intro h1 { font-size: 48px; }
  .whatsapp-float { display: none; }

  .properties-index-search { bottom: auto; }

  .detail-header { left: 0; width: 100%; grid-template-columns: 1fr auto; }
  .detail-header .menu-toggle { color: var(--charcoal); border-color: var(--line); }
  .detail-title-row { grid-template-columns: 1fr; gap: 18px; }
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: 330px repeat(2, 180px); }
  .detail-gallery figure:first-child { grid-row: auto; }
  .detail-gallery.gallery-1, .detail-gallery.gallery-2 { grid-template-columns: 1fr; grid-template-rows: 330px; }
  .detail-gallery.gallery-2 { grid-template-rows: repeat(2, 260px); }
  .detail-gallery-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-gallery-extra figure { height: 150px; }
  .photo-controls button { min-width: 80px; }
  .detail-content { grid-template-columns: 1fr; gap: 45px; margin-top: 42px; }
}

@media (max-width: 520px) {
  .site-footer { grid-template-columns: 1fr; gap: 36px; }
  .footer-intro, .footer-bottom { grid-column: auto; }
  .page-intro h1 { font-size: 48px; }
  .area-link-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .brand { width: 48px; }
  .home-header .brand { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
