:root {
  --ink: #10232d;
  --ink-soft: #42545c;
  --night: #0b2029;
  --night-2: #133641;
  --brass: #c69b4b;
  --brass-light: #e5c985;
  --mist: #edf1ef;
  --paper: #fbfcfb;
  --white: #ffffff;
  --line: #d8e0dc;
  --success: #176b52;
  --danger: #a33b31;
  --shadow-sm: 0 8px 24px rgba(11, 32, 41, 0.08);
  --shadow-lg: 0 26px 70px rgba(11, 32, 41, 0.16);
  --radius-sm: 0.6rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --container: 1180px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: 0.7rem 1rem; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 780px); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section--mist { background: var(--mist); }
.section--night { color: var(--white); background: var(--night); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading__copy { max-width: 650px; }
.section-heading h2, .page-intro h1, .content-page h1, .contact-panel h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading p { margin: 0.7rem 0 0; color: var(--ink-soft); }
.section--night .section-heading p { color: #bad0d5; }
.eyebrow { margin: 0 0 0.55rem; color: #8a682b; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.section--night .eyebrow, .hero .eyebrow { color: var(--brass-light); }
.text-link { color: var(--ink); font-weight: 750; text-decoration-thickness: 1px; }
.muted { color: var(--ink-soft); }

.site-header { position: relative; z-index: 50; color: var(--white); background: var(--night); border-bottom: 1px solid rgba(255,255,255,0.11); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--white); font-weight: 800; line-height: 1.15; text-decoration: none; letter-spacing: -0.02em; }
.brand__mark { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; color: var(--night); background: var(--brass); border-radius: 0.65rem 0.65rem 0.15rem 0.65rem; font-family: var(--font-display); font-size: 1.1rem; }
.brand__text span { display: block; color: #b9cbcf; font-size: 0.68rem; font-weight: 650; letter-spacing: 0.11em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { color: #d9e4e6; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"] { box-shadow: 0 2px var(--brass); }
.site-nav .button { color: var(--night); }
.menu-toggle { display: none; width: 46px; height: 42px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,0.24); border-radius: var(--radius-sm); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: currentColor; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.76rem 1.1rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button--small { min-height: 40px; padding: 0.58rem 0.8rem; font-size: 0.86rem; }
.button--gold { color: var(--night); background: var(--brass); }
.button--gold:hover { background: var(--brass-light); }
.button--dark { color: var(--white); background: var(--night); }
.button--dark:hover { background: var(--night-2); }
.button--outline { color: var(--night); background: transparent; border-color: #aab9b6; }
.button--outline:hover { border-color: var(--night); }
.button--outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,0.35); }
.button--outline-light:hover { border-color: var(--white); }
.button--outline-dark { color: var(--night); background: var(--white); border-color: var(--line); }
.button--whatsapp { color: var(--white); background: var(--success); }

.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(115deg, var(--night) 0%, #123640 58%, #1b4b54 100%); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: 0.25; background: url("/assets/images/architectural-pattern.svg") center / cover; }
.hero__inner { position: relative; min-height: 610px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.7fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(4rem, 8vw, 7rem); }
.hero__copy h1 { max-width: 750px; margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }
.hero__copy > p { max-width: 650px; margin: 1.35rem 0 0; color: #d5e2e4; font-size: clamp(1rem, 2vw, 1.16rem); }
.hero-search { max-width: 820px; display: grid; grid-template-columns: 1.35fr 1fr 0.8fr auto; gap: 0.55rem; margin-top: 2rem; padding: 0.55rem; color: var(--ink); background: rgba(255,255,255,0.97); border-radius: 0.85rem; box-shadow: var(--shadow-lg); }
.hero-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-search input, .hero-search select { min-width: 0; min-height: 50px; padding: 0.72rem 0.8rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.hero__panel { position: relative; padding: 1.6rem; background: rgba(5,24,31,0.5); border: 1px solid rgba(255,255,255,0.17); border-radius: var(--radius-lg); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.hero__panel::before { display: block; width: 3.2rem; height: 0.18rem; margin-bottom: 1.35rem; content: ""; background: var(--brass); }
.hero__panel h2 { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.hero__panel p { color: #c6d8db; }
.market-list { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.13); }
.market-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
.market-list strong { color: var(--brass-light); font-size: 0.85rem; }

.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.property-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 180ms ease, box-shadow 180ms ease; }
.property-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11, 32, 41, 0.12); }
.property-card__media, .property-detail__media { position: relative; overflow: hidden; background: #dfe7e4; }
.property-card__media { aspect-ratio: 16 / 9; }
.property-detail__media { min-height: 440px; }
.property-image { width: 100%; height: 100%; object-fit: cover; }
.property-media--fallback { background: #193944 url("/assets/images/property-placeholder.svg") center / cover no-repeat; }
.property-media__mark { position: absolute; width: 4.5rem; height: 4.5rem; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); border: 1px solid rgba(229,201,133,0.42); }
.badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: 0.36rem 0.62rem; border-radius: 999px; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.05em; text-transform: uppercase; }
.badge--featured { color: var(--night); background: var(--brass-light); }
.property-card__body { padding: 1.25rem; }
.property-card__title { margin: 0; font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; line-height: 1.2; }
.property-card__title-link { text-decoration: none; }
.property-card__title-link:hover { text-decoration: underline; }
.property-card__meta { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin: 1rem 0 0; padding: 0; color: var(--ink-soft); font-size: 0.87rem; list-style: none; }
.property-card__meta li:not(:last-child)::after { margin-left: 1rem; content: "·"; color: #9aaaab; }
.property-card__price-row { min-height: 63px; display: flex; align-items: end; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.property-card__price strong, .property-card__price span { display: block; }
.property-card__price strong { font-size: 1.2rem; }
.property-card__price span { color: var(--ink-soft); font-size: 0.82rem; }
.property-card__price-on-request { color: var(--ink-soft); font-weight: 700; }
.property-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category-card { min-height: 210px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; padding: 1.3rem; color: var(--white); background: var(--night-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); text-decoration: none; }
.category-card::after { position: absolute; width: 160px; height: 160px; right: -58px; top: -72px; content: ""; border: 1px solid rgba(229,201,133,0.28); transform: rotate(24deg); }
.category-card:nth-child(even) { background: #244c53; }
.category-card span { color: var(--brass-light); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.category-card strong { position: relative; z-index: 1; max-width: 12rem; margin-top: 0.35rem; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; }
.category-card:hover { border-color: var(--brass); }

.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value-card { min-height: 210px; padding: 1.4rem; background: var(--paper); }
.value-card__number { color: #997634; font-family: var(--font-display); font-size: 1.8rem; }
.value-card h3 { margin: 1.8rem 0 0.55rem; font-size: 1rem; line-height: 1.3; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.cta-band { display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); color: var(--white); background: linear-gradient(100deg, var(--night), #1a4650); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cta-band h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; line-height: 1.05; }
.cta-band p { max-width: 680px; margin: 0.8rem 0 0; color: #c9dadd; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.page-intro { color: var(--white); background: linear-gradient(115deg, var(--night), #1b4851); }
.page-intro__inner { min-height: 320px; display: flex; flex-direction: column; justify-content: center; padding-block: 3.5rem; }
.page-intro h1 { max-width: 850px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-intro p { max-width: 700px; margin: 1rem 0 0; color: #d0dfe1; font-size: 1.08rem; }
.page-intro--inventory .page-intro__inner { min-height: 238px; padding-block: 2.6rem; }
.page-intro--inventory h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }

.listing-layout { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
.filter-panel { padding: 1.05rem 1.15rem 1.15rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-panel__header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 0.85rem; }
.filter-panel__header .eyebrow { margin-bottom: 0.2rem; }
.filter-panel__header > p { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 0.82rem; text-align: right; }
.filter-panel h2 { margin: 0; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; }
.filter-panel__fields { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(135px, 1fr)); gap: 0.7rem; align-items: end; }
.form-field { display: grid; gap: 0.35rem; margin-top: 0.85rem; }
.form-field label { font-size: 0.86rem; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 46px; padding: 0.7rem 0.75rem; color: var(--ink); background: var(--white); border: 1px solid #bcc9c5; border-radius: 0.45rem; }
.filter-panel .form-field { margin-top: 0; }
.filter-panel .form-field input, .filter-panel .form-field select { min-height: 42px; padding-block: 0.52rem; font-size: 0.9rem; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field--checkbox { display: flex; align-items: center; gap: 0.65rem; }
.form-field--checkbox input { width: 1.15rem; height: 1.15rem; accent-color: var(--night); }
.filter-actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 0.85rem; }
.results-bar { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.7rem; }
.results-bar p { margin: 0; color: var(--ink-soft); font-weight: 700; }
.results-bar .results-scope { margin-top: 0.15rem; color: #64767c; font-size: 0.77rem; font-weight: 500; }
.inventory-label { flex: 0 0 auto; padding: 0.28rem 0.6rem; color: var(--night); background: #e7d4a9; border-radius: 999px; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.inventory-container { min-width: 0; }
.inventory-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.property-inventory { width: 100%; min-width: 960px; border-collapse: separate; border-spacing: 0; font-size: 0.88rem; line-height: 1.35; }
.property-inventory caption.visually-hidden, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.property-inventory th { position: sticky; top: 0; z-index: 2; padding: 0.72rem 0.8rem; color: #d9e4e6; background: var(--night); border-bottom: 1px solid #07171d; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.075em; text-align: left; text-transform: uppercase; }
.property-inventory th:first-child { border-radius: calc(var(--radius) - 1px) 0 0; }
.property-inventory th:last-child { border-radius: 0 calc(var(--radius) - 1px) 0 0; }
.property-inventory th:nth-child(1) { width: 19%; }
.property-inventory th:nth-child(2) { width: 16%; }
.property-inventory th:nth-child(3) { width: 8%; }
.property-inventory th:nth-child(4) { width: 10%; }
.property-inventory th:nth-child(5) { width: 14%; }
.property-inventory th:nth-child(6) { width: 8%; }
.property-inventory th:nth-child(7) { width: 8%; }
.property-inventory th:nth-child(8) { width: 17%; }
.property-inventory td { padding: 0.78rem 0.8rem; vertical-align: middle; background: var(--white); border-bottom: 1px solid #e3e8e6; }
.property-inventory tbody tr:nth-child(even) td { background: #f7f9f8; }
.property-inventory tbody tr:last-child td { border-bottom: 0; }
.property-inventory tbody tr:hover td { background: #edf3f1; }
.property-inventory tbody .inventory-row--featured td { background: #fffaf0; }
.property-inventory tbody .inventory-row--featured:hover td { background: #f9f0dc; }
.inventory-property { min-width: 0; display: grid; gap: 0.18rem; }
.inventory-property__title { color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.inventory-property__title:hover { text-decoration: underline; }
.inventory-property__reference { color: var(--ink-soft); font-size: 0.72rem; }
.inventory-cell--numeric { font-variant-numeric: tabular-nums; white-space: nowrap; }
.inventory-value { display: grid; gap: 0.08rem; }
.inventory-value strong { font-size: 0.9rem; line-height: 1.25; }
.inventory-value span { color: var(--ink-soft); font-size: 0.68rem; }
.inventory-value--price strong { color: #79591f; font-size: 0.98rem; }
.inventory-value .inventory-value--muted { color: var(--ink-soft); font-size: 0.82rem; }
.inventory-featured { display: inline-flex; padding: 0.24rem 0.5rem; color: #5c4315; background: #f0dca8; border-radius: 999px; font-size: 0.66rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }
.inventory-dash { color: #879794; }
.inventory-actions { display: flex; align-items: center; gap: 0.42rem; }
.inventory-actions .button { min-height: 34px; padding: 0.43rem 0.58rem; font-size: 0.76rem; white-space: nowrap; }
.inventory-skeleton { display: block; width: 100%; height: 0.8rem; overflow: hidden; background: linear-gradient(90deg, #e3e8e6 25%, #f5f7f6 50%, #e3e8e6 75%); background-size: 200% 100%; border-radius: 0.3rem; animation: shimmer 1.3s infinite; }
.inventory-status { min-height: 190px; }
.inventory-status__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; }
.pagination { margin-top: 2rem; }
.pagination__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
.pagination__link, .pagination__ellipsis { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 0.45rem 0.72rem; border-radius: 0.45rem; }
.pagination__link { background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.pagination__link[aria-current="page"] { color: var(--white); background: var(--night); border-color: var(--night); }
.pagination__link[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.property-detail-shell { padding: clamp(2rem, 5vw, 5rem) 0; }
.property-detail-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.property-detail__content { padding: clamp(1.4rem, 5vw, 3.5rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--ink-soft); font-size: 0.82rem; }
.breadcrumb a { font-weight: 700; }
.breadcrumb__separator { color: #97a7a5; }
.property-detail__title { max-width: 900px; margin: 0.6rem 0 0; font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.property-detail__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.7rem; margin-top: 1.2rem; }
.property-detail__price strong { color: #8a672c; font-size: 1.6rem; }
.property-detail__price span { color: var(--ink-soft); }
.property-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 2rem 0 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.property-fact { padding: 1rem; background: var(--mist); }
.property-fact__label { color: var(--ink-soft); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.property-fact__value { margin: 0.2rem 0 0; font-weight: 750; }
.property-description { max-width: 780px; margin-top: 2rem; }
.property-description h2 { margin: 0; font-family: var(--font-display); font-size: 1.8rem; }
.property-description p { margin: 0.6rem 0 0; white-space: pre-line; }
.property-detail__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.back-link { display: inline-block; margin-top: 1.8rem; font-weight: 750; }

.content-page { padding: clamp(4rem, 7vw, 7rem) 0; }
.content-page h1, .contact-panel h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
.lead { color: var(--ink-soft); font-size: 1.15rem; }
.content-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.content-copy h2 { margin: 2.5rem 0 0.6rem; font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.content-copy p { color: var(--ink-soft); }
.service-stack { display: grid; gap: 0.8rem; }
.service-item { padding: 1.2rem; background: var(--night); color: var(--white); border-left: 4px solid var(--brass); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.service-item h3 { margin: 0; font-size: 1rem; }
.service-item p { margin: 0.35rem 0 0; color: #c5d7da; font-size: 0.9rem; }

.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.contact-panel { padding: clamp(1.8rem, 5vw, 4rem); color: var(--white); background: var(--night); }
.contact-panel p { color: #c8d9dc; }
.contact-list { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.contact-list strong, .contact-list span { display: block; }
.contact-list span { color: #b9cbcf; font-size: 0.8rem; }
.contact-form { padding: clamp(1.8rem, 5vw, 4rem); background: var(--white); }
.contact-form h2 { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.contact-form .button { margin-top: 1.2rem; }
.form-note { color: var(--ink-soft); font-size: 0.82rem; }

.status-card { grid-column: 1 / -1; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; padding: 2rem; text-align: center; background: var(--mist); border: 1px dashed #a8b8b4; border-radius: var(--radius); }
.status-card p { max-width: 540px; margin: 0; }
.status-card__icon { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; color: var(--white); background: var(--night-2); border-radius: 50%; font-weight: 850; }
.status-card--error .status-card__icon { background: var(--danger); }
.skeleton { margin-inline: 1.2rem; overflow: hidden; background: linear-gradient(90deg, #e3e8e6 25%, #f5f7f6 50%, #e3e8e6 75%); background-size: 200% 100%; border-radius: 0.35rem; animation: shimmer 1.3s infinite; }
.skeleton--media { aspect-ratio: 16 / 9; margin: 0; border-radius: 0; }
.skeleton--line { height: 0.8rem; margin-top: 1rem; }
.skeleton--title { width: 70%; height: 1.5rem; margin-top: 0.7rem; margin-bottom: 1.4rem; }
@keyframes shimmer { to { background-position: -200% 0; } }

.site-footer { color: #c6d7da; background: #07181f; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr; gap: 3rem; padding-block: 4rem 3rem; }
.site-footer h2 { max-width: 430px; margin: 1rem 0 0; color: var(--white); font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1.2; }
.site-footer h3 { margin: 0 0 0.7rem; color: var(--white); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; border-top: 1px solid rgba(255,255,255,0.11); font-size: 0.82rem; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 1000px) {
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:last-child { grid-column: span 2; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__panel { max-width: 650px; }
  .filter-panel__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header__inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; align-items: stretch; padding: 1rem; background: var(--night); border-top: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg); }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--brass-light); }
  .hero__inner { padding-block: 3.6rem 4rem; }
  .hero__copy h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-search { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .property-grid, .content-grid, .contact-layout { grid-template-columns: 1fr; }
  .page-intro--inventory .page-intro__inner { min-height: 205px; padding-block: 2.2rem; }
  .filter-panel__header { align-items: start; flex-direction: column; gap: 0.45rem; }
  .filter-panel__header > p { text-align: left; }
  .filter-panel__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-table-wrap { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .property-inventory { min-width: 0; display: block; font-size: 0.84rem; }
  .property-inventory thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .property-inventory tbody { display: grid; gap: 0.65rem; }
  .property-inventory tr { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(120px, 0.75fr); grid-template-areas: "property property" "project block" "size price" "type featured" "action action"; padding: 0.72rem 0.8rem; background: var(--white); border: 1px solid var(--line); border-radius: 0.72rem; box-shadow: 0 5px 16px rgba(11, 32, 41, 0.05); }
  .property-inventory tbody tr:nth-child(even), .property-inventory tbody .inventory-row--featured { background: var(--white); }
  .property-inventory tbody .inventory-row--featured { border-left: 4px solid var(--brass); }
  .property-inventory td, .property-inventory tbody tr:nth-child(even) td, .property-inventory tbody .inventory-row--featured td { min-width: 0; display: block; padding: 0.38rem 0.2rem; background: transparent; border: 0; white-space: normal; }
  .property-inventory tbody tr:hover td, .property-inventory tbody .inventory-row--featured:hover td { background: transparent; }
  .property-inventory td::before { display: block; margin-bottom: 0.08rem; color: #71827f; content: attr(data-label); font-size: 0.62rem; font-weight: 850; letter-spacing: 0.065em; text-transform: uppercase; }
  .property-inventory td[data-column="property"] { grid-area: property; padding-bottom: 0.62rem; border-bottom: 1px solid var(--line); }
  .property-inventory td[data-column="project"] { grid-area: project; }
  .property-inventory td[data-column="block"] { grid-area: block; }
  .property-inventory td[data-column="size"] { grid-area: size; }
  .property-inventory td[data-column="price"] { grid-area: price; }
  .property-inventory td[data-column="type"] { grid-area: type; }
  .property-inventory td[data-column="featured"] { grid-area: featured; }
  .property-inventory td[data-column="action"] { grid-area: action; padding-top: 0.62rem; border-top: 1px solid var(--line); }
  .inventory-property__title { font-size: 1.15rem; }
  .inventory-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .inventory-actions .button { min-height: 38px; }
  .property-detail__media { min-height: 300px; }
  .property-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--container)); }
  .section { padding-block: 3.5rem; }
  .property-grid, .category-grid, .value-grid, .filter-panel__fields { grid-template-columns: 1fr; }
  .value-card:last-child { grid-column: auto; }
  .category-card { min-height: 165px; }
  .property-card__actions { grid-template-columns: 1fr; }
  .filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-actions .button { width: 100%; }
  .results-bar { align-items: start; }
  .inventory-label { display: none; }
  .property-facts { grid-template-columns: 1fr; }
  .property-detail__media { min-height: 240px; }
  .property-detail__actions, .property-detail__actions .button, .cta-band__actions, .cta-band__actions .button { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > :first-child { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
