:root {
  --ink: #111d33;
  --muted: #677186;
  --soft: #f3f5f7;
  --line: #e2e6ea;
  --paper: #ffffff;
  --accent: #ff5b35;
  --accent-dark: #df3f1a;
  --green: #15966a;
  --cream: #fff4ed;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(17, 29, 51, .10);
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(255, 91, 53, .38); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  height: 76px;
  gap: 44px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(226, 230, 234, .85);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.05rem; font-weight: 850; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--accent); }
.brand-mark { display: flex; align-items: end; gap: 2px; width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: var(--ink); }
.brand-mark i { display: block; width: 4px; background: #fff; }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 15px; background: var(--accent); }
.brand-mark i:nth-child(3) { height: 11px; }
.site-nav { display: flex; align-self: stretch; align-items: center; gap: 30px; margin-right: auto; }
.site-nav a { position: relative; display: flex; align-items: center; height: 100%; color: var(--muted); font-size: .875rem; font-weight: 650; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); content: ""; opacity: 0; transform: scaleX(.4); transition: .18s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a.active::after { opacity: 1; transform: scaleX(1); }
.header-action { padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 750; text-decoration: none; transition: .18s ease; }
.header-action:hover { background: var(--accent); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); transition: transform .2s ease; }

main { min-height: 70vh; }
.market-hero, .filter-panel, .catalog-section, .detail-page, .developer-page, .simple-hero, .developer-grid, .map-page { width: min(1320px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.market-hero { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 500px; margin-top: 24px; overflow: hidden; border-radius: 26px; background: var(--ink); color: #fff; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(32px, 5vw, 76px); }
.hero-content::before { position: absolute; z-index: -1; top: -130px; left: -110px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.015); content: ""; }
.eyebrow { margin: 0 0 15px; color: #ffb09b; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.dark { color: var(--accent); }
.market-hero h1 { margin: 0; font-size: clamp(3.1rem, 5.5vw, 5.9rem); font-weight: 780; line-height: .92; letter-spacing: -.065em; }
.market-hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 430px; margin: 26px 0 0; color: #c4ccda; font-size: 1.05rem; line-height: 1.55; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 500px; margin-top: 42px; }
.hero-stats div { display: grid; gap: 5px; min-width: 0; padding: 14px 12px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.055); }
.hero-stats strong { font-size: 1.75rem; letter-spacing: -.055em; line-height: 1; }
.hero-stats span { color: #b8c1d0; font-size: .7rem; font-weight: 650; line-height: 1.3; }
.hero-property { position: relative; min-height: 500px; overflow: hidden; color: #fff; text-decoration: none; }
.hero-property::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,29,51,0) 45%, rgba(17,29,51,.9) 100%); content: ""; }
.hero-property img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-property:hover img { transform: scale(1.025); }
.hero-property-caption { position: absolute; z-index: 2; right: 36px; bottom: 32px; left: 36px; display: grid; gap: 4px; }
.hero-property-caption span { color: #e8ecf3; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-property-caption strong { font-size: 1.8rem; letter-spacing: -.04em; }
.hero-property-caption small { color: #d1d7e1; font-size: .8rem; }

.filter-panel { position: relative; z-index: 3; margin-top: -42px; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.filter-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.filter-title > div { display: grid; gap: 3px; }
.filter-title span { font-size: 1rem; font-weight: 780; }
.filter-title small { color: var(--muted); font-size: .75rem; }
.filter-title button { border: 0; background: transparent; color: var(--muted); font-size: .78rem; font-weight: 700; cursor: pointer; }
.filter-title button:hover { color: var(--accent); }
.filter-grid { display: grid; grid-template-columns: 1.35fr repeat(6, minmax(0, 1fr)) 1fr; gap: 9px; }
.filter-field { display: grid; gap: 7px; min-width: 0; }
.filter-field > span { color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .025em; }
.filter-field input, .filter-field select { width: 100%; height: 46px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--soft); color: var(--ink); font-size: .78rem; }
.filter-field select { padding-right: 5px; }
.filter-field input:focus, .filter-field select:focus { border-color: var(--ink); background: #fff; }
.filter-check { display: flex; align-items: center; gap: 9px; align-self: end; height: 46px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.filter-check input { position: absolute; opacity: 0; }
.check-ui { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border: 1px solid #bdc5ce; border-radius: 6px; }
.filter-check input:checked + .check-ui { border-color: var(--accent); background: var(--accent); }
.filter-check input:checked + .check-ui::after { color: #fff; content: "✓"; font-size: .75rem; font-weight: 900; }
.filter-check strong { font-size: .75rem; line-height: 1.1; }

.catalog-section { padding: 68px 0 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2, .content-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); letter-spacing: -.055em; }
.section-heading .eyebrow, .content-heading .eyebrow { margin-bottom: 8px; }
.section-heading > span, #results-count { padding: 9px 13px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: .78rem; font-weight: 750; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.project-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.project-card:hover { border-color: #c7ccd3; box-shadow: var(--shadow); transform: translateY(-4px); }
.card-link { position: absolute; z-index: 2; inset: 0; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf1; }
.card-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgba(17,29,51,.18)); content: ""; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .card-media img { transform: scale(1.035); }
.image-empty { display: grid; place-items: center; background: linear-gradient(145deg, #e9edf1, #f6f7f8); }
.image-empty::before { width: 64px; height: 64px; border: 1px solid #c9d0d8; border-radius: 50%; content: ""; }
.image-empty::after { position: absolute; top: calc(50% - 12px); width: 28px; height: 28px; border-right: 2px solid #aeb7c2; border-bottom: 2px solid #aeb7c2; background: none; content: ""; transform: rotate(45deg); }
.image-empty span { position: absolute; bottom: 23px; color: #8a95a3; font-size: .72rem; }
.card-body { padding: 20px 20px 18px; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.card-heading h3 { margin: 0; font-size: 1.32rem; line-height: 1.08; letter-spacing: -.045em; }
.card-developer { margin: 7px 0 0; color: var(--muted); font-size: .79rem; font-weight: 650; }
.card-heading h3 a, .card-developer a { position: relative; z-index: 3; color: inherit; text-decoration: none; }
.card-heading h3 a:hover, .card-developer a:hover { color: var(--accent); }
.card-arrow { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: .8rem; transition: .2s ease; }
.project-card:hover .card-arrow { border-color: var(--ink); background: var(--ink); color: #fff; }
.card-address { display: flex; gap: 6px; min-height: 38px; margin: 12px 0 18px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.card-address span { color: var(--accent); font-size: 1rem; line-height: 1.1; }
.card-address a { position: relative; z-index: 3; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,91,53,.45); text-underline-offset: 3px; }
.card-address a:hover { color: var(--accent); }
.card-price-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid var(--line); }
.card-price-row > div { display: grid; gap: 3px; }
.card-price-row small { color: var(--muted); font-size: .68rem; }
.card-price-row strong { font-size: 1.15rem; letter-spacing: -.035em; }
.card-price-row > span { color: var(--muted); font-size: .7rem; text-align: right; }
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 25px; margin-top: 15px; }
.card-chips span, .intro-badge { padding: 6px 8px; border-radius: 7px; background: var(--soft); color: #505b6c; font-size: .66rem; font-weight: 750; }
.card-chips .accent-chip, .intro-badge { background: #e8f7f1; color: #0d7c56; }
.more-wrap { display: flex; justify-content: center; margin-top: 42px; }
.load-more { padding: 14px 22px; border: 1px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 780; cursor: pointer; }
.load-more span { color: var(--accent); }
.load-more:hover { background: var(--ink); color: #fff; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 38px; color: var(--muted); font-size: .86rem; }
.catalog-pagination a { color: var(--ink); font-weight: 750; text-decoration: none; }
.catalog-pagination a:hover { color: var(--accent); }
.js .catalog-pagination.enhanced { display: none; }
.filter-error { min-height: 18px; margin: 10px 0 -10px; color: #b42318; font-size: .78rem; }
.project-grid[aria-busy="true"] { opacity: .55; pointer-events: none; }
.empty-state { display: grid; grid-column: 1 / -1; place-items: center; min-height: 220px; gap: 7px; border: 1px dashed #c8ced5; border-radius: var(--radius); background: var(--soft); color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); font-size: 1.1rem; }

.map-page { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 18px; height: min(760px, calc(100vh - 118px)); min-height: 620px; padding: 24px 0 34px; }
.map-sidebar { display: flex; flex-direction: column; min-height: 0; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.map-sidebar h1 { margin: 0; font-size: clamp(2.2rem, 3.5vw, 3.7rem); line-height: .94; letter-spacing: -.065em; }
.map-sidebar > p:not(.eyebrow) { margin: 17px 0 22px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.map-list { display: grid; gap: 8px; min-height: 0; overflow: auto; padding-right: 4px; }
.map-list-card { display: grid; gap: 4px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); text-decoration: none; transition: .18s ease; }
.map-list-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.map-list-card strong { font-size: .86rem; letter-spacing: -.02em; }
.map-list-card span { color: var(--muted); font-size: .7rem; }
.map-list-card b { color: var(--accent); font-size: .75rem; }
.project-map-card { position: relative; min-height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #dce7ef; }
.project-real-map { position: absolute; inset: 0; min-height: 620px; background: #dce7ef; }
.project-osm-marker { display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 18px rgba(17,29,51,.22), 0 0 0 5px rgba(255,91,53,.18); transition: transform .18s ease, background .18s ease; }
.project-osm-marker span { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.project-osm-marker:hover { background: var(--ink); transform: scale(1.16); }
.leaflet-popup-content { color: var(--ink); font-family: inherit; font-size: .82rem; line-height: 1.45; }
.leaflet-popup-content strong { display: inline-block; margin-bottom: 3px; font-size: .92rem; }
.leaflet-popup-content b { display: inline-block; margin: 4px 0; color: var(--accent); }
.leaflet-popup-content a { color: var(--accent); font-weight: 800; text-decoration: none; }
.map-caption { position: absolute; z-index: 4; right: 16px; bottom: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--muted); font-size: .66rem; font-weight: 700; backdrop-filter: blur(10px); }

.detail-page, .developer-page { padding: 34px 0 80px; }
.breadcrumbs { display: flex; overflow: hidden; align-items: center; gap: 9px; margin-bottom: 32px; color: #929aa7; font-size: .75rem; white-space: nowrap; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs b { overflow: hidden; color: var(--ink); font-weight: 650; text-overflow: ellipsis; }
.collection-breadcrumbs { width: min(1320px, calc(100% - 48px)); margin: 30px auto -16px; }
.project-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.project-intro h1 { max-width: 900px; margin: 0; font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.065em; }
.project-intro > div > p:last-child { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: .94rem; }
.project-intro a { color: var(--ink); font-weight: 750; text-decoration: none; }
.project-intro a:hover { color: var(--accent); }
.intro-badge { flex: 0 0 auto; padding: 10px 13px; border-radius: 99px; font-size: .75rem; }
.detail-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr; height: min(620px, 48vw); min-height: 420px; gap: 8px; overflow: hidden; border-radius: 22px; background: var(--soft); }
.detail-gallery button { overflow: hidden; padding: 0; border: 0; background: none; cursor: pointer; }
.detail-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.detail-gallery button:hover img { transform: scale(1.018); }
.detail-gallery.single { grid-template-columns: 1fr; }
.gallery-cover { height: 100%; }
.gallery-previews { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.gallery-previews button { min-width: 0; min-height: 0; }
.all-photos { position: absolute; right: 18px; bottom: 18px; padding: 11px 14px !important; border-radius: 9px !important; background: #fff !important; color: var(--ink); font-size: .75rem; font-weight: 780; box-shadow: 0 5px 18px rgba(17,29,51,.18); }
.all-photos span { margin-left: 5px; color: var(--accent); }
.gallery-empty { display: grid; grid-template-columns: 1fr; place-items: center; background: linear-gradient(145deg, #e9edf1, #f7f8f9); color: var(--muted); font-size: .85rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 42px; margin-top: 58px; }
.detail-content { min-width: 0; }
.content-section { padding: 0 0 52px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.content-section:last-child { margin-bottom: 0; }
.content-heading { margin-bottom: 24px; }
.content-heading.inline { display: flex; align-items: end; justify-content: space-between; }
.content-heading.inline button { border: 0; background: none; color: var(--accent); font-size: .78rem; font-weight: 780; cursor: pointer; }
.characteristics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.characteristic { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 18px; border-radius: 13px; background: var(--soft); }
.characteristic-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--accent); font-size: 1rem; }
.characteristic div { display: grid; gap: 4px; }
.characteristic small, .buying-grid span, .location-card small, .project-developer small { color: var(--muted); font-size: .7rem; }
.characteristic strong { font-size: .9rem; }
.purchase-card { position: sticky; top: 100px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.purchase-label { display: block; color: var(--muted); font-size: .72rem; }
.purchase-price { display: block; margin-top: 5px; font-size: 2rem; letter-spacing: -.055em; }
.purchase-meter { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }
.purchase-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; }
.purchase-facts div { display: grid; gap: 4px; padding: 12px; border-radius: 10px; background: var(--soft); }
.purchase-facts span { color: var(--muted); font-size: .64rem; }
.purchase-facts b { font-size: .78rem; }
.cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 9px; border: 0; border-radius: 10px; font-size: .8rem; font-weight: 780; text-align: center; text-decoration: none; cursor: pointer; }
.cta.primary { background: var(--accent); color: #fff; }
.cta.primary:hover { background: var(--accent-dark); }
.cta.secondary { background: var(--ink); color: #fff; }
.cta.secondary:hover { background: #273752; }
.cta.outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.cta.outline:hover { border-color: var(--ink); }
.cta.whatsapp { background: #e5f7ef; color: #08754e; }
.cta.disabled { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.cta-note { margin: 17px 0 0; color: var(--muted); font-size: .66rem; line-height: 1.5; text-align: center; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plans-grid a { display: flex; flex-direction: column; min-height: 175px; overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); text-decoration: none; }
.plans-grid img { width: 100%; height: 105px; margin-bottom: 12px; object-fit: contain; }
.plan-icon { display: grid; place-items: center; height: 105px; margin-bottom: 12px; border-radius: 9px; background: var(--soft); color: var(--accent); font-size: 2rem; }
.plans-grid strong { font-size: .8rem; }
.plans-grid small { margin-top: 5px; color: var(--accent); font-size: .68rem; }
.section-empty { margin: 0; padding: 20px; border-radius: 12px; background: var(--soft); color: var(--muted); font-size: .82rem; }
.buying-grid { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.buying-grid div { display: grid; gap: 7px; min-height: 100px; padding: 21px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buying-grid div:nth-child(even) { border-right: 0; }
.buying-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.buying-grid strong { font-size: .95rem; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-strip button { aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: 10px; cursor: pointer; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-strip button:hover img { transform: scale(1.04); }
.location-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; background: var(--soft); }
.location-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.2rem; }
.location-card > div:nth-child(2) { display: grid; gap: 4px; }
.location-card strong { font-size: .9rem; }
.location-card span { color: var(--muted); font-size: .72rem; }
.location-card a { color: var(--ink); font-size: .75rem; font-weight: 750; text-decoration: none; }
.map-muted { font-size: .7rem !important; }
.document-list { display: grid; gap: 9px; }
.document-list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); text-decoration: none; }
.document-list a > span { padding: 7px; border-radius: 6px; background: #fff0ec; color: var(--accent); font-size: .65rem; font-weight: 850; }
.document-list a > div { display: grid; gap: 3px; }
.document-list strong { font-size: .82rem; }
.document-list small { color: var(--muted); font-size: .67rem; }
.document-list a > b { color: var(--accent); }
.project-developer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.developer-monogram { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 1.3rem; font-weight: 850; }
.project-developer > div:nth-child(2) { display: grid; gap: 4px; }
.project-developer strong { font-size: .95rem; }
.project-developer a { color: var(--ink); font-size: .76rem; font-weight: 750; text-decoration: none; }
.project-developer a span { color: var(--accent); }
.photo-dialog { width: min(1100px, calc(100% - 32px)); max-height: 90vh; padding: 0; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.photo-dialog::backdrop { background: rgba(11, 18, 31, .82); backdrop-filter: blur(5px); }
.dialog-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.dialog-head strong { font-size: .9rem; }
.dialog-head button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.dialog-viewer { position: relative; display: grid; place-items: center; min-height: min(74vh, 760px); padding: 12px 64px 24px; background: #0d1422; }
.dialog-viewer > img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.gallery-nav { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 45px; height: 58px; border: 0; border-radius: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 2rem; cursor: pointer; transform: translateY(-50%); }
.gallery-nav.previous { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-unavailable { color: #fff; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.not-found { display: grid; place-items: start; width: min(760px, calc(100% - 40px)); min-height: 60vh; align-content: center; margin: 0 auto; padding: 70px 0; }
.not-found h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -.06em; }
.not-found p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.not-found .cta { width: auto; padding: 0 22px; }

.simple-hero { padding: 72px 0 45px; }
.simple-hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -.065em; }
.simple-hero > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.trust-page { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0 90px; }
.trust-page .breadcrumbs { width: auto; margin: 0 0 46px; }
.trust-page-head { max-width: 720px; }
.trust-page-head h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.065em; }
.trust-page-body { display: grid; gap: 13px; margin-top: 44px; }
.trust-page-body section { padding: 25px 0; border-top: 1px solid var(--line); }
.trust-page-body h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.035em; }
.trust-page-body p { max-width: 760px; margin: 12px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.trust-page-body a { color: var(--ink); font-weight: 720; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-email a { color: var(--accent); font-size: 1.04rem; }
.developer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 80px; }
.developer-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 106px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); text-decoration: none; transition: .2s ease; }
.developer-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.developer-card h2 { margin: 0; font-size: 1rem; letter-spacing: -.025em; }
.developer-card p { margin: 6px 0 0; color: var(--muted); font-size: .72rem; }
.developer-card > span { color: var(--accent); }
.developer-hero { position: relative; min-height: 410px; overflow: hidden; border-radius: 24px; background: var(--ink); color: #fff; }
.developer-hero.has-cover { background-image: linear-gradient(90deg, rgba(17,29,51,.98) 0%, rgba(17,29,51,.8) 45%, rgba(17,29,51,.1) 100%), var(--developer-cover); background-position: center; background-size: cover; }
.developer-hero-copy { display: flex; position: relative; z-index: 2; flex-direction: column; justify-content: center; width: min(650px, 100%); min-height: 410px; padding: 48px 58px; }
.developer-monogram.large { width: 68px; height: 68px; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); font-size: 1.7rem; backdrop-filter: blur(10px); }
.developer-hero h1 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: .95; letter-spacing: -.06em; }
.developer-hero p:not(.eyebrow) { margin: 18px 0 0; color: #c5cfdd; font-size: .9rem; }
.developer-hero a { align-self: flex-start; margin-top: 27px; padding: 12px 15px; border-radius: 9px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 780; text-decoration: none; }
.page-error { width: min(1000px, calc(100% - 40px)); margin: 70px auto; }

.site-footer { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center; gap: 18px 34px; min-height: 105px; padding: 25px max(24px, calc((100vw - 1320px) / 2)); border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { font-size: .95rem; }
.site-footer p, .site-footer small { margin: 0; font-size: .72rem; }
.footer-nav { display: flex; grid-column: 2 / -1; flex-wrap: wrap; gap: 8px 16px; }
.footer-nav a { color: var(--muted); font-size: .72rem; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 1120px) {
  .filter-grid { grid-template-columns: repeat(4, 1fr); }
  .filter-search { grid-column: span 2; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-page { grid-template-columns: 1fr; height: auto; }
  .map-sidebar { grid-row: 2; min-height: 0; }
  .project-map-card { grid-row: 1; }
  .project-map-card, .project-real-map { min-height: 520px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .developer-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { gap: 22px; }
  .header-action { display: none; }
  .market-hero { grid-template-columns: 1fr; }
  .hero-content { min-height: 430px; }
  .hero-property { min-height: 380px; }
  .filter-panel { margin-top: 18px; }
  .detail-gallery { grid-template-columns: 1fr; height: 56vw; min-height: 390px; }
  .gallery-previews { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .purchase-card { position: static; grid-row: 1; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer small, .footer-nav { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { height: 64px; padding: 0 16px; }
  .brand { font-size: .88rem; }
  .brand-mark { width: 25px; height: 25px; }
  .js .site-nav { position: absolute; top: 63px; right: 14px; left: 14px; display: none; align-self: auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .js .menu-open .site-nav { display: flex; }
  .site-nav a { min-height: 50px; padding: 0 16px; font-size: .88rem; }
  .site-nav a::after { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .market-hero, .filter-panel, .catalog-section, .detail-page, .developer-page, .simple-hero, .developer-grid, .trust-page, .map-page { width: calc(100% - 28px); }
  .collection-breadcrumbs { width: calc(100% - 28px); margin-top: 22px; }
  .market-hero { min-height: 0; margin-top: 14px; border-radius: 18px; }
  .hero-content { min-height: 390px; padding: 42px 25px; }
  .market-hero h1 { font-size: clamp(2.65rem, 15vw, 3.45rem); }
  .hero-lead { margin-top: 20px; font-size: .92rem; }
  .hero-stats { gap: 6px; margin-top: 30px; }
  .hero-stats div { padding: 12px 9px; border-radius: 10px; }
  .hero-stats strong { font-size: 1.35rem; }
  .hero-stats span { font-size: .62rem; }
  .hero-property { min-height: 300px; }
  .hero-property-caption { right: 22px; bottom: 22px; left: 22px; }
  .filter-panel { padding: 18px 14px; border-radius: 15px; }
  .filter-title small { display: none; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-search { grid-column: 1 / -1; }
  .filter-check { min-width: 0; }
  .catalog-section { padding: 46px 0 62px; }
  .map-page { padding-top: 18px; }
  .map-sidebar { padding: 22px; border-radius: 17px; }
  .project-map-card, .project-real-map { min-height: 430px; border-radius: 17px; }
  .map-caption { right: 10px; bottom: 10px; left: 10px; text-align: center; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-heading h2, .content-heading h2 { font-size: 1.8rem; }
  .card-heading h3 { font-size: 1.25rem; }
  .detail-page, .developer-page { padding-top: 20px; }
  .breadcrumbs { margin-bottom: 24px; }
  .project-intro { align-items: start; flex-direction: column; margin-bottom: 22px; }
  .project-intro h1 { font-size: 2.85rem; }
  .project-intro > div > p:last-child { font-size: .8rem; }
  .detail-gallery { height: 78vw; min-height: 300px; border-radius: 15px; }
  .detail-layout { gap: 36px; margin-top: 34px; }
  .purchase-card { padding: 21px; }
  .content-section { padding-bottom: 38px; margin-bottom: 36px; }
  .characteristics, .buying-grid { grid-template-columns: 1fr; }
  .buying-grid div, .buying-grid div:nth-child(even), .buying-grid div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .buying-grid div:last-child { border-bottom: 0; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .location-card { grid-template-columns: auto 1fr; }
  .location-card > a, .location-card > .map-muted { grid-column: 2; }
  .project-developer { grid-template-columns: auto 1fr; }
  .project-developer > a { grid-column: 2; }
  .dialog-viewer { min-height: 62vh; padding: 10px 44px 16px; }
  .gallery-nav { width: 36px; height: 48px; }
  .gallery-nav.previous { left: 5px; }
  .gallery-nav.next { right: 5px; }
  .related-grid { grid-template-columns: 1fr; }
  .simple-hero { padding-top: 48px; }
  .simple-hero h1 { font-size: 3rem; }
  .trust-page { padding-top: 24px; padding-bottom: 60px; }
  .trust-page .breadcrumbs { margin-bottom: 34px; }
  .trust-page-body { margin-top: 34px; }
  .developer-grid { grid-template-columns: 1fr; }
  .developer-hero { min-height: 370px; border-radius: 17px; }
  .developer-hero-copy { min-height: 370px; padding: 32px 24px; }
  .developer-hero.has-cover { background-image: linear-gradient(90deg, rgba(17,29,51,.95), rgba(17,29,51,.55)), var(--developer-cover); }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding: 25px 17px; }
}

@media (max-width: 380px) {
  .market-hero h1 { font-size: 2.1rem; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-search { grid-column: auto; }
  .project-intro h1 { font-size: 2.35rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .purchase-facts { grid-template-columns: 1fr; }
}

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