:root {
  --ink: #1c2a32; --muted: #56656e; --bg: #fbfaf7; --card: #ffffff; --band: #f2efe8;
  --brand: #1e5a47; --brand-2: #164536; --accent: #d9962c; --line: #e4dfd5; --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { margin: 0 0 .3em; font-size: 1.05rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
section { padding: 56px 0; }
.band { background: var(--band); }

.preview-bar, .sample-bar { background: #7a2e0e; color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 16px; }
.sample-bar { background: var(--accent); color: #2b1d05; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 250, 247, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.lang { border: 1.5px solid var(--brand); border-radius: 999px; padding: 6px 16px; font-weight: 600; text-decoration: none; }
.nav { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brand); }

.hero { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); max-width: 16ch; }
.lead { font-size: 1.15rem; opacity: .92; max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; background: var(--accent); color: #2b1d05; font-weight: 700; padding: 13px 22px; border-radius: 999px; text-decoration: none; text-align: center; }
.btn.ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.hero .btn.ghost { color: #fff; }

.trust { padding: 0; margin-top: -28px; }
.grid4 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: 0 6px 20px rgba(0, 0, 0, .05); }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--band); }
.card-body { padding: 14px 16px 18px; }
.card-price { font-size: 1.35rem; font-weight: 700; margin-top: 6px; }
.card-addr { font-weight: 600; }
.card-facts { color: var(--muted); font-size: .95rem; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: #dcebe4; color: var(--brand-2); }
.badge.rent { background: #e4e8f5; color: #26386b; }
.badge.sample { background: #fbe6c4; color: #6b4209; }
.empty { font-size: 1.1rem; }
.contact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; max-width: 720px; display: grid; gap: 14px; }
.contact label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.contact input:not([type=radio]):not([type=checkbox]), .contact textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #cfc8bb; border-radius: 10px; background: #fff; width: 100%; }
.contact .row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.contact fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.contact legend { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.contact .choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact .choice input { margin-top: 5px; }
.contact .consent { font-size: .85rem; color: var(--muted); }
.contact .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.trap { position: absolute; left: -9999px; }
.modal { border: 0; padding: 0; border-radius: var(--r); width: calc(100% - 32px); max-width: 600px; max-height: calc(100% - 32px); overflow-y: auto; background: transparent; }
.modal::backdrop { background: rgba(20, 30, 35, .55); }
.modal .contact { max-width: none; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.modal-head h2 { font-size: 1.5rem; margin: 0; }
.close { text-decoration: none; font-size: 1.8rem; line-height: 1; color: var(--muted); padding: 0 4px; }
dialog:target { display: block; position: static; margin: 16px auto; }
.lead-dark { font-size: 1.15rem; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
.note, .fine { color: var(--muted); font-size: .9rem; }
.sub { margin-top: 28px; }
.checks { padding: 0; list-style: none; }
.checks li { padding-left: 30px; position: relative; margin: 8px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.checks.big li { font-size: 1.1rem; }
.privacy { background: var(--brand-2); color: #fff; }
.privacy .checks li::before { color: var(--accent); }

.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.split p { margin: 0; max-width: 52ch; }
.about { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr; align-items: start; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; width: 100%; }
.team figure { margin: 0; }
.team figcaption { font-weight: 600; margin-top: 6px; }

.house { padding-top: 20px; }
.back { display: inline-block; margin-bottom: 12px; text-decoration: none; font-weight: 600; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); }
.gallery img { flex: 0 0 92%; max-width: 760px; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; border-radius: var(--r); background: var(--band); }
.house-grid { display: grid; gap: 28px; grid-template-columns: 1.6fr 1fr; margin-top: 24px; }
.house-h { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-top: 8px; }
.house-h small { display: block; font-family: Inter, sans-serif; font-size: 1rem; color: var(--muted); font-weight: 500; margin-top: 4px; }
.money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 10px; }
.money div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.money dt { color: var(--muted); font-size: .85rem; }
.money dd { margin: 0; font-weight: 700; font-size: 1.2rem; }
.money.two { grid-template-columns: 1fr 1fr; }
.money .wide { grid-column: 1 / -1; }
.side .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 14px; }
.side .btn { width: 100%; margin-top: 6px; }
.guide { padding-left: 18px; font-size: .92rem; color: var(--muted); }
.page-h { font-size: clamp(1.8rem, 5vw, 2.4rem); }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .92rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.foot-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.eho { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 800px) {
  section { padding: 40px 0; }
  .about, .house-grid { grid-template-columns: 1fr; }
  .money { grid-template-columns: 1fr 1fr; }
  .contact .row2 { grid-template-columns: 1fr; }
  .contact .btn { width: 100%; }
  .split .btn { width: 100%; }
}
