/* Okulickiego 14–16 · LANDO — arkusz stylów */

:root {
  --white: #fbfbf9;      /* tło strony */
  --plaster: #efeeea;    /* tynk – tła sekcji */
  --line: #d6d4cc;       /* linie, ramki */
  --ink: #26292b;        /* antracyt stolarki */
  --ink-soft: #5d6164;
  --larch: #a97c4e;      /* modrzew – akcent */
  --larch-deep: #8b6239;
  --sage: #6f7f6a;       /* zieleń działki */

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "tnum" 1;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p  { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { text-decoration: none; font-weight: 600; letter-spacing: 0.01em; display: flex; align-items: baseline; gap: 10px; }
.brand small { font-weight: 400; color: var(--ink-soft); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav li a { text-decoration: none; font-size: 15px; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav li a:hover { color: var(--ink); border-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0;
            background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav ul.open { display: flex; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(92vh, 860px); display: grid; align-items: end; }
.hero-slides { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hero-slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides .slide.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-slides .slide { transition: none; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,22,24,0.12) 0%, rgba(20,22,24,0.18) 35%, rgba(20,22,24,0.86) 100%);
}
.hero .wrap { padding: 120px 0 56px; }
.numbers {
  display: flex; flex-wrap: wrap; gap: 0 0.35em;
  font-size: clamp(46px, 12vw, 176px); font-weight: 200; line-height: 0.95; letter-spacing: -0.04em;
}
.numbers span { white-space: nowrap; }
.hero .numbers, .hero h1, .hero .meta { text-shadow: 0 1px 3px rgba(0,0,0,0.35); }
.numbers sup { font-size: 0.42em; font-weight: 300; vertical-align: 0.95em; letter-spacing: 0; margin-left: 0.02em; }
.hero h1 { margin-top: 28px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 400; max-width: 34ch; }
.hero .meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 15px; color: rgba(255,255,255,0.85); }
.hero .meta b { font-weight: 600; color: #fff; }

/* ---------- sekcje ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.plaster { background: var(--plaster); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px var(--gutter); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-soft); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* o inwestycji */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.facts > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.facts .v { font-size: clamp(30px, 3vw, 40px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.facts .v small { font-size: 0.5em; font-weight: 400; margin-left: 0.3em; }
.facts .k { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
.about-text { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gutter); }
@media (max-width: 820px) { .about-text { grid-template-columns: 1fr; } }

/* tabela domów */
.houses { width: 100%; border-collapse: collapse; font-size: 16px; }
.houses th, .houses td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.houses th { font-weight: 500; color: var(--ink-soft); font-size: 14px; border-top: 1px solid var(--line); }
.houses td.num, .houses th.num { text-align: right; padding-right: 0; padding-left: 16px; white-space: nowrap; }
.houses td.seg { font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; width: 1%; padding-right: 28px; }
.houses td.sum { font-weight: 600; }
.houses td:last-child, .houses th:last-child { padding-left: 28px; width: 1%; }
.houses .tag { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-soft); }
.houses .tag.ok { border-color: var(--sage); color: var(--sage); }
.table-note { margin-top: 18px; font-size: 14px; color: var(--ink-soft); max-width: none; }
@media (max-width: 720px) {
  .houses thead { display: none; }
  .houses, .houses tbody, .houses tr, .houses td { display: block; }
  .houses tr { border-top: 1px solid var(--line); padding: 16px 0; }
  .houses td { border: 0; padding: 4px 0; text-align: left !important; }
  .houses td.num { padding-left: 0; }
  .houses td.num::before { content: attr(data-label) " "; color: var(--ink-soft); }
  .houses td.seg { padding-bottom: 10px; }
}

/* rozkład pomieszczeń */
.rooms { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gutter); }
.rooms h3 { margin-bottom: 14px; }
.rooms dl { margin: 0; border-top: 1px solid var(--line); }
.rooms .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rooms .row dt { margin: 0; }
.rooms .row dd { margin: 0; white-space: nowrap; }
.rooms .row.total { font-weight: 600; }
.rooms .row.sub dt { color: var(--ink-soft); }
@media (max-width: 820px) { .rooms { grid-template-columns: 1fr; } }

/* przeglądarka rzutów */
.plans-ui { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px var(--gutter); align-items: start; }
@media (max-width: 900px) { .plans-ui { grid-template-columns: 1fr; } }
.seg-pick, .floor-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-pick { margin-bottom: 22px; }
.pick { border: 1px solid var(--line); background: transparent; border-radius: 4px; padding: 10px 16px; font-size: 15px; line-height: 1; }
.pick:hover { border-color: var(--ink-soft); }
.pick[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.plans-side h3 { margin-bottom: 10px; }
.plans-side .hint { font-size: 14px; color: var(--ink-soft); margin-top: 18px; }
.plans-side .dl { margin-top: 22px; display: grid; gap: 8px; }
.plans-side .dl a { font-size: 14px; color: var(--ink-soft); text-decoration-color: var(--line); }
.plans-side .dl a:hover { color: var(--ink); }
.plan-stage { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: clamp(12px, 2vw, 28px); }
.plan-stage figure { margin: 0; }
.plan-stage img { margin-inline: auto; max-height: 80vh; width: auto; max-width: 100%; cursor: zoom-in; }
.plan-stage figcaption { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }

/* PZT */
.pzt { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px var(--gutter); align-items: start; }
@media (max-width: 900px) { .pzt { grid-template-columns: 1fr; } }
.pzt figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: clamp(12px, 2vw, 24px); }
.pzt img { cursor: zoom-in; }
.pzt figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.bilans { border-top: 1px solid var(--line); }
.bilans .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bilans .row dd { margin: 0; white-space: nowrap; font-weight: 600; }
.bilans .row dt { margin: 0; }
.pzt-text { margin-top: 24px; }

/* galeria */
.variant { margin-bottom: clamp(40px, 5vw, 64px); }
.variant:last-child { margin-bottom: 0; }
.variant h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); flex: none; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery a { display: block; grid-column: span 6; overflow: hidden; border-radius: 4px; background: var(--plaster); }
.gallery a.wide { grid-column: span 12; }
.gallery a.tall { grid-column: span 5; }
.gallery a.rest { grid-column: span 7; }
.gallery a { height: clamp(220px, 34vw, 480px); }
.gallery a.wide { height: clamp(220px, 42vw, 600px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .gallery a, .gallery a.tall, .gallery a.rest { grid-column: span 12; height: auto; }
  .gallery img { height: auto; }
}

/* kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px var(--gutter); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.contact-card { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-card .big { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; letter-spacing: -0.02em; text-decoration: none; display: block; margin: 6px 0 14px; }
.contact-card .big:hover { color: var(--ink-soft); }
.contact-card address { font-style: normal; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.cta {
  display: inline-block; margin-top: 28px; padding: 14px 22px; border-radius: 4px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
}
.cta:hover { background: #000; }

/* stopka */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
footer p { max-width: 70ch; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: none; place-items: center;
  background: rgba(20,22,24,0.92); padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 96px); width: auto; height: auto; background: #fff; }
.lightbox .cap { position: absolute; left: 24px; bottom: 20px; color: rgba(255,255,255,0.8); font-size: 14px; max-width: 70ch; }
.lightbox .close { position: absolute; top: 16px; right: 16px; background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; border-radius: 4px; padding: 8px 12px; }
.lightbox .close:hover { border-color: #fff; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.standard .row dd { text-align: right; white-space: normal; }
.standard .row dt { color: var(--ink-soft); }

/* lokalizacja */
.map { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--plaster); }
.map iframe { display: block; width: 100%; height: clamp(320px, 48vw, 520px); border: 0; }
.map-link { display: inline-block; margin-top: 16px; font-size: 15px; color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.map-link:hover { text-decoration-color: var(--ink); }

/* linki zewnętrzne */
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ext { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 4px; font-size: 15px; font-weight: 500; text-decoration: none; }
.ext img { display: block; }
.ext-logo { background: #fff; }
.ext-logo:hover { background: #fff; border-color: var(--ink-soft); }
.ext:hover { background: var(--ink); color: #fff; }
.foot-links { display: flex; gap: 20px; align-items: center; }
.foot-links img { display: block; }
.foot-links a { text-decoration-color: var(--line); text-underline-offset: 3px; }

/* telefon w nagłówku */
.nav .wrap { gap: 20px; }
.nav ul { margin-left: auto; }
.nav-phone { order: 3; font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 4px; white-space: nowrap; }
.nav-phone:hover { background: var(--ink); color: #fff; }
@media (max-width: 1080px) { .nav-phone { display: none; } }

/* pasek kontaktu na telefonie */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); }
  .callbar a { color: #fff; text-align: center; padding: 15px 0; font-weight: 600; text-decoration: none; }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,0.2); }
  body { padding-bottom: 52px; }
}

/* karta domu */
.cta-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); margin-top: 22px; }
.cta-line:hover { background: var(--ink); color: #fff; }

/* punkty w okolicy */
.poi { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gutter); }
.poi h3 { font-size: 18px; margin-bottom: 12px; }
.poi dl { margin: 0; border-top: 1px solid var(--line); }
.poi .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.poi dt { margin: 0; }
.poi dd { margin: 0; white-space: nowrap; color: var(--ink-soft); }
@media (max-width: 1080px) { .poi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .poi { grid-template-columns: 1fr; } }

/* dziennik budowy */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); margin-left: 7px; }
.step { position: relative; padding: 0 0 36px 32px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); }
.step.is-zrobione::before { background: var(--ink); border-color: var(--ink); }
.step.is-trwa::before { background: var(--white); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--ink); }
.step-head { display: flex; gap: 14px; align-items: baseline; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.step.is-trwa .step-status { color: var(--ink); font-weight: 600; }
.step h3 { margin-bottom: 6px; }
.step.is-plan h3 { color: var(--ink-soft); }
.step p { color: var(--ink-soft); font-size: 15px; }
.step-photos { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-width: 760px; }
.step-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* formularz */
.form { margin-top: 28px; display: grid; gap: 14px; max-width: 560px; }
.form .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .f2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .cta { margin-top: 4px; border: 0; justify-self: start; cursor: pointer; }
.form .cta:disabled { opacity: 0.6; cursor: wait; }
.form-msg { margin: 0; font-size: 15px; min-height: 1.5em; }
.form-msg.ok { color: #2f6b3a; }
.form-msg.err { color: #a12d2d; }

/* logo */
.brand { align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; padding-right: 12px; margin-right: 2px; border-right: 1px solid var(--line); }
@media (max-width: 420px) { .brand small { display: none; } .brand-logo { height: 38px; } }
.contact-logo { display: block; height: 80px; width: auto; margin-bottom: 6px; }
.foot-logo { height: 56px; width: auto; display: block; flex-basis: 100%; max-width: 88px; margin-bottom: 4px; }
