:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --ink: #122033;
  --muted: #64748b;
  --line: #dbe3ee;
  --brand: #0f766e;
  --accent: #2563eb;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.catalog-hero { min-height: 430px; color: #fff; background: linear-gradient(90deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .42)), url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80") center/cover; display: grid; grid-template-rows: auto 1fr; }
.catalog-nav { min-height: 76px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(15, 23, 42, .26); backdrop-filter: blur(8px); }
.catalog-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.catalog-brand img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.catalog-brand p { margin: 0 0 3px; color: rgba(255, 255, 255, .76); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.catalog-brand h1 { margin: 0; font-size: 22px; letter-spacing: 0; }
.hero-content { width: min(1180px, 100%); margin: 0 auto; padding: 66px 24px 82px; align-self: end; }
.hero-content span { display: inline-block; margin-bottom: 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); padding: 7px 12px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.hero-content h2 { max-width: 720px; margin: 0; font-size: clamp(36px, 6vw, 68px); line-height: 1.02; letter-spacing: 0; }
.hero-content p { max-width: 520px; margin: 16px 0 0; color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.5; }
.contact-link, .property-body button, .modal footer button { border: 0; border-radius: 10px; padding: 11px 14px; font-weight: 900; text-decoration: none; }
.contact-link { background: rgba(255, 255, 255, .94); color: #0f172a; }
.property-body button, #interest-send { background: var(--brand); color: #fff; }
.project-title-row { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; }
.project-title-row h2 { flex: 0 1 auto; min-width: 0; }
.project-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: 5px 9px; background: #f1f5f9; color: #0f172a; font-size: 11px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.badge-row .plan-badge { background: #fff7ed; color: #c2410c; }
main { width: min(1180px, 100%); margin: 0 auto; padding: 36px 24px 44px; }
.catalog-section { margin-bottom: 34px; }
.featured-property { display: grid; grid-template-columns: minmax(280px, 42%) 1fr; gap: 0; overflow: hidden; background: #fff; border: 1px solid rgba(203, 213, 225, .9); border-radius: 14px; box-shadow: 0 18px 44px rgba(15, 23, 42, .1); }
.featured-media { position: relative; min-height: 320px; background: #e2e8f0; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-media span { position: absolute; left: 14px; top: 14px; border-radius: 999px; background: rgba(15, 23, 42, .78); color: #fff; padding: 6px 12px; font-size: 12px; font-weight: 900; }
.featured-content { padding: 26px; display: grid; gap: 12px; align-content: center; }
.featured-kicker { width: fit-content; margin: 0; border-radius: 999px; background: #ecfdf5; color: #047857; padding: 6px 11px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.featured-content h2 { margin: 0; font-size: 30px; letter-spacing: 0; line-height: 1.12; }
.featured-content button { width: fit-content; border: 0; border-radius: 10px; padding: 11px 16px; background: var(--brand); color: #fff; font-weight: 900; }
.catalog-intro { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.catalog-intro-centered { justify-content: center; text-align: center; }
.catalog-intro h2 { margin: 0; font-size: 30px; letter-spacing: 0; }
.catalog-intro p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.catalog-stats { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--muted); font-weight: 900; white-space: nowrap; }
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; background: #fff; border: 1px solid rgba(203, 213, 225, .9); border-radius: 12px; padding: 14px; box-shadow: 0 14px 34px rgba(15, 23, 42, .07); }
.filters label { display: grid; gap: 6px; color: #334155; font-size: 12px; font-weight: 900; }
.filters select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; color: var(--ink); outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.filters select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.filters button { align-self: end; border: 0; border-radius: 10px; padding: 11px 14px; background: #f1f5f9; color: #334155; font-weight: 900; transition: background .18s ease, transform .18s ease; }
.filters button:hover { background: #e2e8f0; transform: translateY(-1px); }
.catalog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.property-card { overflow: hidden; background: #fff; border: 1px solid rgba(203, 213, 225, .9); border-radius: 12px; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 14px 34px rgba(15, 23, 42, .08); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.property-card:hover { transform: translateY(-3px); border-color: rgba(15, 118, 110, .28); box-shadow: 0 22px 46px rgba(15, 23, 42, .13); }
.photo-wrap { position: relative; background: #e2e8f0; aspect-ratio: 4 / 3; }
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-wrap span { position: absolute; left: 10px; top: 10px; border-radius: 999px; background: rgba(15, 23, 42, .78); color: #fff; padding: 5px 10px; font-size: 12px; font-weight: 900; }
.photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(15, 23, 42, .68); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.photo-arrow:hover { background: rgba(15, 23, 42, .86); }
.photo-arrow.prev { left: 10px; }
.photo-arrow.next { right: 10px; }
.photo-count { position: absolute; right: 10px; bottom: 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #0f172a; padding: 4px 8px; font-size: 12px; font-weight: 900; }
.photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #0f766e; font-size: 32px; font-weight: 900; }
.property-body { padding: 16px; display: grid; gap: 10px; align-content: start; }
.badge-row, .feature-row { display: flex; gap: 7px; flex-wrap: wrap; }
.badge-row span, .feature-row span { border-radius: 999px; background: #f1f5f9; color: #334155; padding: 4px 9px; font-size: 12px; font-weight: 900; }
.feature-row span { background: #ecfdf5; color: #047857; }
.property-body h2 { margin: 0; font-size: 19px; letter-spacing: 0; }
.location, .features, .description { margin: 0; color: var(--muted); line-height: 1.45; }
.price { font-size: 22px; color: #0f172a; }
.description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty-state { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 22px 0 4px; }
.pagination button { min-width: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; color: #334155; font-weight: 900; box-shadow: 0 8px 20px rgba(15, 23, 42, .06); }
.pagination button.active { border-color: var(--brand); background: #ecfdf5; color: #0f766e; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.empty-state h2 { margin: 0; }
.empty-state p { color: var(--muted); }
.catalog-footer { margin-top: 36px; padding: 26px 24px; background: #0f172a; color: #e2e8f0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.catalog-footer div { display: grid; gap: 4px; }
.catalog-footer strong { font-size: 16px; }
.catalog-footer span, .catalog-footer p { color: #94a3b8; font-size: 13px; margin: 0; }
.catalog-footer nav { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.catalog-footer a { color: #e2e8f0; text-decoration: none; font-size: 13px; font-weight: 900; }
.catalog-footer a:hover { color: #fff; text-decoration: underline; }
.catalog-footer p { justify-self: center; text-align: center; }
.legal-page { min-height: 100vh; background: var(--bg); display: grid; grid-template-rows: auto 1fr auto; }
.legal-header { padding: 20px 24px; background: #0f172a; color: #fff; }
.legal-header a { color: #fff; text-decoration: none; font-weight: 900; }
.legal-content { width: min(880px, 100%); margin: 0 auto; padding: 42px 24px; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 16px 38px rgba(15, 23, 42, .08); }
.legal-card h1 { margin: 0 0 16px; font-size: 34px; letter-spacing: 0; }
.legal-card h2 { margin: 24px 0 8px; font-size: 20px; }
.legal-card p, .legal-card li { color: #475569; line-height: 1.65; }
.legal-card ul { padding-left: 20px; }
.modal-overlay { position: fixed; inset: 0; z-index: 20; display: none; place-items: center; padding: 18px; background: rgba(15, 23, 42, .48); }
.modal-overlay.show { display: grid; }
.modal { width: min(620px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 80px rgba(15, 23, 42, .22); }
.modal header, .modal footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.modal footer { border-top: 1px solid var(--line); border-bottom: 0; justify-content: flex-end; }
.modal h2 { margin: 0; font-size: 20px; }
.modal header button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: #f1f5f9; color: #334155; font-weight: 900; }
.modal-body { padding: 16px; display: grid; gap: 12px; }
.modal-body p { margin: 0; font-weight: 900; }
.modal-body label { display: grid; gap: 7px; color: #334155; font-weight: 900; }
.modal-body textarea { min-height: 130px; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; resize: vertical; }
#interest-copy { background: #f1f5f9; color: #334155; }
@media (max-width: 920px) {
  .catalog-nav, .catalog-intro { align-items: stretch; flex-direction: column; }
  .catalog-hero { min-height: 380px; }
  .hero-content { padding: 44px 16px 56px; }
  main { padding: 24px 16px 34px; }
  .featured-property { grid-template-columns: 1fr; }
  .featured-media { min-height: 240px; }
  .featured-content h2 { font-size: 24px; }
  .filters, .catalog-list { grid-template-columns: 1fr; }
  .catalog-footer { grid-template-columns: 1fr; text-align: center; }
  .catalog-footer nav { justify-content: center; }
  .catalog-footer p { justify-self: center; text-align: center; }
  .catalog-intro h2 { font-size: 25px; }
}
