:root {
  --bg: #f4f1ea;
  --ink: #1c1914;
  --muted: #6b6458;
  --line: #ddd6c8;
  --accent: #2f4a3c;
  --accent-2: #c4a35a;
  --white: #fffcf7;
  --ok: #2f6b45;
  --hold: #9a6b12;
  --res: #1d4f7a;
  --sold: #7a2e2e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Calibri, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,252,247,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--ink); }
.nav a { text-decoration: none; color: var(--ink); margin-left: 18px; font-size: 14px; }
.hero {
  position: relative; min-height: 78vh;
  background: #111 url("../images/hero.jpg") center/cover no-repeat;
  color: #fff;
  display: flex; align-items: flex-end;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(20,16,10,.72));
}
.hero-inner { position: relative; z-index: 1; padding: 48px 0 56px; }
.hero h1 { font-size: clamp(28px, 5vw, 52px); margin: 0 0 10px; line-height: 1.1; }
.hero p { max-width: 640px; font-size: 18px; }
.btn {
  display: inline-block; background: var(--accent-2); color: #1c1914;
  text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 4px;
  border: 0; cursor: pointer;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid #fff; margin-left: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.kpi { background: rgba(255,255,255,.12); padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); }
.kpi b { display: block; font-size: 20px; }
.kpi span { font-size: 12px; opacity: .85; }
section { padding: 72px 0; }
h2 { font-size: 32px; margin: 0 0 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.muted { color: var(--muted); }
.table-wrap { overflow: auto; background: var(--white); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 860px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { background: #efe8d8; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.price { font-weight: 800; font-size: 18px; }
.price small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.badge.dostepny { background: #e4f4ea; color: var(--ok); }
.badge.rezerwacja { background: #e4eef8; color: var(--res); }
.badge.wstrzymane { background: #f7edd4; color: var(--hold); }
.badge.sprzedane { background: #f6e4e4; color: var(--sold); }
.linkish { background: none; border: 0; color: var(--accent); cursor: pointer; text-decoration: underline; padding: 0; font: inherit; }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: var(--white); border: 1px solid var(--line); padding: 16px; }
.plan svg { width: 100%; height: auto; }
.room-list { font-size: 13px; columns: 2; margin: 12px 0 0; }
.contact { background: var(--accent); color: #fff; }
.contact h2, .contact a { color: #fff; }
form { display: grid; gap: 10px; }
input, textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit;
}
.contact input, .contact textarea { border-color: transparent; }
.hp { position: absolute; left: -9999px; }
footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-box { background: var(--white); width: min(720px, 100%); max-height: 86vh; overflow: auto; padding: 24px; }
.notice { font-size: 13px; background: #efe8d8; padding: 10px 12px; margin-bottom: 16px; }
@media (max-width: 900px) {
  .kpis, .grid-3, .two, .plans { grid-template-columns: 1fr; }
  .nav a.hidem { display: none; }
}
