/* Hestia Home — one stylesheet for the whole site.
   1. Fonts (local files in /assets/fonts)  2. Tokens from the design system (light theme)
   3. Components from the design system (prefix de-)  4. Page layout and blocks drawn for this site.
   Change colours, spacing and radii only in the :root block below. */

/* 1. Fonts: local files, split by script; the browser loads only the subsets a page uses. */
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500-cyrillic-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500-cyrillic.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400-800-cyrillic-ext.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400-800-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400-800-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400-800-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-600-cyrillic-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-600-cyrillic.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 2. Tokens */
:root {
  --paper: #f6f7f3;
  --surface: #ffffff;
  --sunk: #eceee8;
  --ink: #16201b;
  --muted: #58645c;
  --line: #dde1db;
  --line-strong: #8a958e;
  --brand: #1f4d3a;
  --on-brand: #ffffff;
  --brand-tint: #e2ebe4;
  --cta: #f5c132;
  --cta-hover: #e4ad17;
  --on-cta: #16201b;
  --success: #2c7a4b;
  --danger: #b3261e;
  --shadow-float: 0 8px 24px rgba(22, 32, 27, 0.12);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-20: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font-display: Unbounded, "Arial Black", system-ui, sans-serif;
  --font-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* 3. Components */

/* Hestia Home components. Plain CSS classes for a hand-written HTML landing page.
   Every value comes from tokens.css custom properties. Prefix: de- */

.de-root, .de-root * { box-sizing: border-box; }
.de-root { font-family: var(--font-sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; }

/* Focus ring: solid 2px ink, 2px offset, on every interactive element */
.de-btn:focus-visible, .de-input:focus-visible, .de-wordmark:focus-visible, .de-header__tel:focus-visible, .de-modal__close:focus-visible, .de-check input:focus-visible, .de-faq summary:focus-visible, .de-link:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}

.de-eyebrow { font-family: var(--font-sans); font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0; }
.de-link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Button */
.de-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.35; font-weight: 600;
  border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color .15s ease;
}
.de-btn--cta { background: var(--cta); color: var(--on-cta); }
.de-btn--cta:hover { background: var(--cta-hover); }
.de-btn--brand { background: var(--brand); color: var(--on-brand); }
.de-btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.de-btn--block { width: 100%; }
.de-btn[disabled] { background: var(--sunk); color: var(--muted); border-color: var(--line); cursor: not-allowed; }

/* Field */
.de-field { display: grid; gap: var(--space-2); }
.de-field__label { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.de-input {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  font: 400 17px/1.4 var(--font-sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.de-input::placeholder { color: var(--muted); }
.de-field__help { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0; }
.de-field--error .de-input { border: 2px solid var(--danger); }
.de-field--error .de-field__help { color: var(--danger); }

/* Checkbox (consent) */
.de-check { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.de-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--brand); }

/* Lead form */
.de-form { display: grid; gap: var(--space-4); padding: var(--space-8); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); max-width: 520px; }
.de-form__title { font-family: var(--font-display); font-size: 24px; line-height: 1.25; font-weight: 600; margin: 0; }
.de-form__note { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0; }
.de-form__status { display: flex; gap: var(--space-2); align-items: center; font-weight: 600; color: var(--success); margin: 0; }

/* Plot facts */
.de-facts { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0; list-style: none; }
.de-chip {
  display: inline-flex; align-items: baseline; gap: var(--space-1);
  padding: 6px 12px; border-radius: var(--radius-pill); background: var(--brand-tint); color: var(--ink);
  font-family: var(--font-mono); font-size: 14px; line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums;
}
.de-chip__key { color: var(--brand); font-family: var(--font-sans); font-weight: 600; font-size: 13px; }

/* House offer card */
.de-offer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.de-offer__list { margin: 0; padding: var(--space-4); border-radius: var(--radius-sm); list-style: none; display: grid; gap: var(--space-2); font-size: 15px; line-height: 1.45; }
.de-offer__list--fits { background: var(--brand-tint); }
.de-offer__list--minus { background: var(--sunk); }
.de-offer__list .de-offer__head { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.de-offer__list--minus .de-offer__head { color: var(--muted); }
@media (max-width: 720px) { .de-offer__cols { grid-template-columns: 1fr; } }

/* FAQ */
.de-faq { border-top: 1px solid var(--line); }
.de-faq details { border-bottom: 1px solid var(--line); }
.de-faq summary { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; line-height: 1.4; }
.de-faq summary::-webkit-details-marker { display: none; }
.de-faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--brand); font-size: 20px; line-height: 1; }
.de-faq details[open] summary::after { content: "−"; }
.de-faq p { margin: 0 0 var(--space-4); color: var(--ink); max-width: 65ch; }

/* Cookie consent */
.de-cookie { display: grid; gap: var(--space-4); padding: var(--space-6); max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-float); }
.de-cookie__title { margin: 0; font-weight: 700; font-size: 17px; }
.de-cookie p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.de-cookie__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.de-cookie__actions .de-btn { flex: 1 1 140px; }

/* ===== Blocks ported from the Zagacie landing pages ===== */

/* Tag on media: "Wizualizacja", "Stan na XI 2026" */
.de-tag { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-size: 13px; line-height: 1.4; font-weight: 600; }

/* Pending marker: data the developer, the lawyer or the client has not confirmed yet */
.de-pending { display: inline-block; padding: 2px 8px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--sunk); color: var(--ink); font-family: var(--font-mono); font-size: 13px; line-height: 1.4; font-weight: 500; }
.de-publish [data-pending] { display: none; }

/* Header */
.de-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) var(--space-4); background: var(--paper); border-bottom: 1px solid var(--line); }
.de-wordmark { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--brand); text-decoration: none; white-space: nowrap; }
.de-header__nav { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-4); min-width: 0; }
.de-header__tel { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.de-header__msg { display: inline-flex; gap: var(--space-2); }
.de-header__msg .de-btn { min-height: 44px; padding: var(--space-2) var(--space-4); }
.de-header--sticky { position: sticky; top: 0; z-index: 5; }
@media (max-width: 760px) { .de-header__msg { display: none; } .de-wordmark { font-size: 15px; } .de-header__nav { gap: var(--space-2); } }

/* Hero */
.de-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.de-hero__text { display: grid; gap: var(--space-4); justify-items: start; min-width: 0; }
.de-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw + 14px, 56px); line-height: 1.05; letter-spacing: -.02em; margin: 0; overflow-wrap: break-word; }
.de-hero__lead { font-size: 20px; line-height: 1.5; margin: 0; max-width: 52ch; }
.de-hero__price { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3vw + 20px, 44px); line-height: 1; letter-spacing: -.02em; color: var(--brand); margin: 0; font-variant-numeric: tabular-nums; }
.de-hero__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--brand); }
.de-hero__media img, .de-hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.de-hero__media .de-tag { position: absolute; left: var(--space-4); bottom: var(--space-4); }
@media (max-width: 820px) { .de-hero { grid-template-columns: 1fr; gap: var(--space-6); } .de-hero__lead { font-size: 17px; } .de-hero__text .de-btn { width: 100%; } .de-hero__media { aspect-ratio: 4 / 5; max-height: 70vh; } }

/* House table */
.de-houses-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.de-houses { width: 100%; border-collapse: collapse; font-size: 15px; }
.de-houses th { padding: var(--space-3) var(--space-4); text-align: left; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--sunk); }
.de-houses td { padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 14px; line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.de-houses td:first-child { font-family: var(--font-sans); font-size: 15px; font-weight: 600; }
.de-houses__price { color: var(--brand); }
.de-houses tr[data-status="reserved"] td, .de-houses tr[data-status="sold"] td { color: var(--muted); }
.de-status { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid transparent; font-family: var(--font-sans); font-size: 13px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.de-status--free { background: var(--brand); color: var(--on-brand); }
.de-status--reserved { background: var(--sunk); color: var(--ink); border-color: var(--line-strong); }
.de-status--sold { background: transparent; color: var(--muted); border-color: var(--line); text-decoration: line-through; }
.de-houses__note { margin: var(--space-3) 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (max-width: 680px) {
  .de-houses thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .de-houses, .de-houses tbody { display: block; }
  .de-houses tr { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); padding: var(--space-4); border-top: 1px solid var(--line); }
  .de-houses tr:first-child { border-top: 0; }
  .de-houses td { display: block; padding: 0; border: 0; white-space: normal; }
  .de-houses td::before { content: attr(data-label); display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 400; color: var(--muted); }
  .de-houses td:first-child { grid-column: 1 / -1; font-size: 17px; }
  .de-houses td:first-child::before { content: none; }
}

/* Compare: house vs flat */


/* Distances */
.de-dist { margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.de-dist li { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: var(--space-4); align-items: baseline; padding: var(--space-3) var(--space-6); border-top: 1px solid var(--line); }
.de-dist li:first-child { border-top: 0; }
.de-dist__num { font-family: var(--font-display); font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--brand); white-space: nowrap; font-variant-numeric: tabular-nums; }
.de-dist__what { font-size: 15px; line-height: 1.45; }
.de-dist__what small { display: block; font-size: 13px; color: var(--muted); }
.de-dist-col { display: grid; gap: var(--space-3); }
.de-dist__src { margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
@media (max-width: 480px) { .de-dist li { padding: var(--space-3) var(--space-4); grid-template-columns: minmax(88px, auto) 1fr; } .de-dist__num { font-size: 20px; } }

/* Steps */

/* Sticky bar (phones) */
.de-sticky { display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-float); }
.de-sticky .de-btn--cta { flex: 1 1 auto; min-width: 0; padding-inline: var(--space-3); }
.de-sticky__icon { flex: 0 0 48px; width: 48px; padding: 0; }
.de-sticky__icon :is(img, svg) { width: 26px; height: 26px; display: block; }
.de-sticky--fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; }
@media (min-width: 821px) { .de-sticky--fixed { display: none; } }

/* Choice chips: one-answer questions of the lead form */
.de-choices { display: grid; gap: var(--space-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.de-choices legend { padding: 0; margin-bottom: var(--space-2); font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.de-choices__list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.de-choice { position: relative; display: inline-flex; }
.de-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.de-choice span { display: inline-flex; align-items: center; width: 100%; min-height: 44px; padding: var(--space-2) var(--space-4); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); font-size: 15px; line-height: 1.35; font-weight: 500; }
.de-choice input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.de-choice input:checked + span::before { content: "\2713"; margin-right: var(--space-2); }
.de-choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 480px) { .de-choices__list { display: grid; grid-template-columns: 1fr 1fr; } }

/* Lead form: errors, honeypot, modal */
.de-form__error { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--danger); }
.de-form__error:empty { display: none; }
.de-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.de-modal { position: relative; width: 100%; max-width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink); }
.de-modal::backdrop { background: rgba(22, 32, 27, 0.6); }
.de-modal .de-form { max-width: none; }
.de-modal__close { position: absolute; top: var(--space-2); right: var(--space-2); width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .de-modal { max-width: none; width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .de-modal .de-form { min-height: 100dvh; padding: var(--space-6) var(--space-4); border: 0; border-radius: 0; align-content: start; }
  .de-form { padding: var(--space-6); }
}

/* 4. Page layout and site blocks */
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
[hidden] { display: none !important; }
img, video { max-width: 100%; }
.de-root h1, .de-root h2, .de-root h3, .de-root p { overflow-wrap: break-word; }
.de-skip { position: absolute; left: -9999px; }
.de-skip:focus { left: var(--space-4); top: var(--space-4); z-index: 50; padding: var(--space-2) var(--space-4); background: var(--surface); color: var(--ink); outline: 2px solid var(--ink); }


.de-wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--space-4); }
.de-section { padding-block: 72px; }
.de-section--sunk { background: var(--sunk); }
.de-section__head { display: grid; gap: var(--space-3); max-width: 65ch; margin-bottom: var(--space-12); }
.de-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.2vw + 18px, 36px); line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.de-h3 { font-family: var(--font-sans); font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0; }
.de-lead { font-size: 17px; line-height: 1.5; margin: 0; }
.de-caption { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0; }
.de-header .de-wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.de-header { padding-inline: 0; }
.de-hero-section { padding-block: var(--space-8) var(--space-12); }

/* Three numbers */

/* Cards: reasons */

/* Package "before the viewing" */

/* Map + distances */
.de-split { display: grid; gap: var(--space-6); grid-template-columns: 1fr; align-items: start; }
.de-map { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--sunk); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.de-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.de-map__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.de-map__route line { stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.de-map__pin { position: absolute; display: grid; gap: 2px; padding: 6px 10px 6px 30px; transform: translate(-14px, -50%); background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-float); white-space: nowrap; line-height: 1.2; }
.de-map__pin::before { content: ""; position: absolute; left: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--surface); }
.de-map__pin--home::before { background: var(--cta); box-shadow: 0 0 0 3px var(--ink); }
.de-map__pin b { font-size: 15px; font-weight: 800; }
.de-map__pin small { font-size: 12px; color: var(--muted); }
.de-map__pin--city { transform: translate(calc(-100% + 14px), -50%); padding: 6px 30px 6px 10px; text-align: right; }
.de-map__pin--city::before { left: auto; right: 8px; }
.de-map__dist { position: absolute; left: 47.8%; top: 48.6%; transform: translate(-50%, -150%) rotate(-21deg); padding: 2px 8px; background: var(--cta); color: var(--on-cta); border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.de-map figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px var(--space-3); padding: 6px 10px; background: rgba(255, 255, 255, 0.92); font-size: 12px; line-height: 1.4; color: var(--muted); }
.de-map figcaption a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.de-map__osm { margin-left: auto; }
@media (max-width: 480px) { .de-map { aspect-ratio: auto; } .de-map img { aspect-ratio: 4 / 3; height: auto; } .de-map__route { bottom: auto; height: auto; aspect-ratio: 4 / 3; } .de-map figcaption { position: static; } .de-map__pin b { font-size: 13px; } .de-map__pin small { font-size: 11px; } .de-map__dist { display: none; } }

/* Founder */

/* Final call: brand panel + open form */

/* Footer */
.de-linkbtn { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.de-linkbtn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; min-height: 44px; }

/* Cookie banner: strip on phones, bottom-left card on desktop */
.de-cookie--fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; max-width: none; border-radius: 0; border-width: 1px 0 0; padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px)); }
.de-cookie__settings { display: grid; gap: var(--space-3); }
.de-cookie__settings .de-check { color: var(--ink); font-size: 15px; }

/* Sticky bar appears only when the hero button and the final form are out of view */
.de-sticky--fixed { display: none; }
.de-sticky--fixed.is-visible { display: flex; }

/* Status message of the form */
.de-form__sending { opacity: .7; pointer-events: none; }

@media (min-width: 768px) {
  .de-wrap { padding-inline: var(--space-8); }
  .de-lead { font-size: 20px; }
  .de-cookie--fixed { left: var(--space-6); right: auto; bottom: var(--space-6); max-width: 440px; border-width: 1px; border-radius: var(--radius-md); padding-bottom: var(--space-6); }
}
@media (min-width: 1024px) {
  .de-section { padding-block: 120px; }
  .de-hero-section { padding-block: var(--space-12) var(--space-20); }
  .de-split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (min-width: 821px) { .de-sticky--fixed, .de-sticky--fixed.is-visible { display: none; } }
@media (orientation: landscape) and (max-height: 480px) { .de-sticky { padding-block: var(--space-1); } .de-sticky .de-btn { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .de-btn { transition: none; } }

/* Small-screen fixes */
.de-wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.de-cookie .de-linkbtn { min-height: 0; }
@media (max-width: 767px) {
  .de-cookie--fixed { gap: var(--space-3); padding: var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); }
  .de-cookie--fixed .de-cookie__actions .de-btn { flex: 1 1 0; padding-inline: var(--space-2); }
}
.de-modal { position: fixed; inset: 0; margin: auto; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
@media (max-width: 640px) { .de-modal { max-height: none; } }
.de-linkbtn { display: inline; line-height: inherit; }

/* Hero video over its poster; gallery with play-on-click videos */
.de-hero__media picture, .de-hero__media picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.de-hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.de-hero__media video.is-playing { opacity: 1; }
.de-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--surface); cursor: pointer; transition: transform .15s ease; }
.de-play::before { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent var(--brand); }
.de-play:hover { transform: scale(1.08); }
.de-play:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }


/* 5. Motion: small and quiet. Everything is visible without JavaScript and with "reduce motion". */
.de-anim [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.de-anim [data-reveal].is-in { opacity: 1; transform: none; }
.de-btn { transition: background-color .15s ease, border-color .15s ease, transform .1s ease; }
.de-btn:active { transform: scale(.98); }
.de-btn--ghost:hover { background: var(--brand-tint); }
.de-btn--brand:hover { filter: brightness(1.12); }
.de-choice span { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.de-choice:hover span { border-color: var(--brand); }
.de-faq summary { transition: color .15s ease; }
.de-faq summary:hover { color: var(--brand); }
.de-faq details[open] > p { animation: de-fade .25s ease; }
.de-modal[open] { animation: de-pop .22s ease; }
.de-modal[open]::backdrop { animation: de-dim .22s ease; }
.de-sticky--fixed.is-visible { animation: de-up .25s ease; }
.de-cookie--fixed:not([hidden]) { animation: de-up .3s ease; }
.de-header--sticky { transition: box-shadow .2s ease; }
.de-header--sticky.is-scrolled { box-shadow: 0 6px 16px rgba(22, 32, 27, 0.06); }
@keyframes de-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes de-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes de-dim { from { opacity: 0; } to { opacity: 1; } }
@keyframes de-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes de-settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .de-anim [data-reveal] { opacity: 1; transform: none; }
}

/* 6. Theme "white and yellow" (prototype variant B). Overrides the tokens above; delete this block to return to the green theme. */
:root {
  --paper: #ffffff; --surface: #ffffff; --sunk: #f4f4f2;
  --ink: #111111; --muted: #595959; --line: #e3e3df; --line-strong: #8a8a86;
  --brand: #111111; --on-brand: #ffffff; --brand-tint: #f4f4f2;
  --cta: #ffd60a; --cta-hover: #f0c800; --on-cta: #111111;
  --font-display: Inter, "Helvetica Neue", Arial, sans-serif;
}
mark { background: var(--cta); color: var(--on-cta); padding: 0 .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.de-h2, .de-form__title { font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; }
.de-h2 { font-size: clamp(24px, 2vw + 17px, 36px); line-height: 1.12; }
.de-section__head { max-width: 780px; margin-inline: auto; text-align: center; justify-items: center; }
.de-eyebrow { color: var(--muted); }
.de-header { background: var(--cta); border-bottom: 0; }
.de-wordmark { color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.de-header .de-btn--ghost { color: var(--ink); border-color: var(--ink); }
.de-header .de-pending { background: transparent; border-color: var(--ink); }
.de-btn--cta { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.de-chip { background: var(--sunk); }
.de-status--free { background: var(--cta); color: var(--on-cta); }

/* CTA row repeated after sections */
.de-ctarow { display: grid; justify-items: center; gap: var(--space-2); margin: var(--space-8) 0 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--muted); }
.de-ctarow .de-btn { min-width: min(100%, 360px); }

/* cards with icons, steps, promise */

/* comparison table: with us / on your own */

/* final block: black panel */
.de-faq { margin-inline: auto; }
.de-faq summary::after { color: var(--ink); background: var(--cta); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; flex: none; }
.de-link { color: var(--ink); }

/* 7. Calmer look: dark header, offer on the left, sentence-case headings, yellow only for the main action */
.de-h2, .de-form__title, .de-btn--cta, .de-wordmark { text-transform: none; }
.de-h2 { letter-spacing: -.02em; }
mark { background: none; color: inherit; padding: 0; text-decoration: underline; text-decoration-color: var(--cta); text-decoration-thickness: .16em; text-underline-offset: .14em; }
.de-btn { border-radius: var(--radius-pill); }
.de-btn--cta { letter-spacing: 0; }
.de-faq summary::after { background: var(--sunk); }

/* 7b. Buttons: final yellow and radius */
:root { --cta: #ffd400; --cta-hover: #e6bf00; --radius-btn: 10px; }
.de-btn { border-radius: var(--radius-btn); transition: background-color .2s ease, border-color .2s ease, transform .1s ease; }
.de-btn--cta { font-weight: 700; }

/* 8. Dark header and first screen. One block: every rule for the header over the photo and the hero lives here.
   Phones and portrait tablets: the house is visible at the top, the offer sits below it on the dark shade.
   From 821px: the offer is always at the left edge, the house fills the right side. */
:root { --hero-dark: #080d0f; --hero-muted: #c8cdd0; --header-h: 64px; --hero-gutter: clamp(16px, 4.5vw, 112px); }
@media (min-width: 1024px) { :root { --header-h: 80px; } }

/* header */
.de-header--dark { padding-block: 0; color: #ffffff; background: rgba(32, 47, 76, 0.55); border-bottom: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s ease, box-shadow .2s ease; }
.de-header--dark.is-scrolled { background: rgba(32, 47, 76, 0.94); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); }
.de-header--dark .de-wrap { max-width: none; min-height: var(--header-h); padding-inline: var(--hero-gutter); gap: var(--space-4); }
.de-header--dark .de-wordmark { gap: var(--space-2); color: #ffffff; font-size: 17px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.de-wordmark svg { color: var(--cta); flex: none; }
.de-header--dark .de-header__nav { flex: none; gap: var(--space-3); }
.de-header--dark .de-header__tel { display: inline-flex; gap: var(--space-2); padding: 0 var(--space-4); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-btn); color: #ffffff; }
.de-header--dark .de-pending { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.de-header--dark .de-header__msg { display: none; gap: var(--space-2); }
.de-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-btn); color: #ffffff; }
.de-iconbtn:hover { border-color: var(--cta); color: var(--cta); }
.de-header--dark :is(.de-wordmark, .de-header__tel, .de-iconbtn):focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
/* phones: the number without its icon, in a narrow frame, so name + number fit from 320px */
@media (max-width: 440px) {
  .de-header--dark .de-wrap { gap: var(--space-2); }
  .de-header--dark .de-header__tel { padding-inline: 10px; font-size: 13px; }
  .de-header--dark .de-header__tel svg { display: none; }
}
@media (max-width: 379px) {
  .de-header--dark .de-wordmark { font-size: 14px; letter-spacing: .02em; }
  .de-header--dark .de-wordmark svg { width: 22px; height: 22px; }
  .de-header--dark .de-header__tel { padding-inline: 8px; font-size: 12px; }
}
@media (min-width: 900px) { .de-header--dark .de-header__msg { display: inline-flex; } }

/* first screen: frame */
.de-herofull { --band: clamp(40px, 100svh - 640px, 300px); position: relative; isolation: isolate; display: flex; overflow: hidden; margin-top: calc(-1 * var(--header-h) - 1px); min-height: 100svh; background: var(--hero-dark); color: #ffffff; }
.de-herofull__media { position: absolute; inset: 0; z-index: -2; }
.de-herofull__media :is(picture, img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* phones: the picture fills only the band above the offer, so the whole house is in view */
.de-herofull__media { bottom: auto; height: calc(var(--header-h) + var(--band) + 220px); }
.de-herofull__media img { object-position: 50% 55%; }
.de-herofull__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(32, 47, 76, 0.25) 0, rgba(32, 47, 76, 0.15) var(--header-h), rgba(32, 47, 76, 0.45) calc(var(--header-h) + var(--band)), var(--hero-dark) calc(var(--header-h) + var(--band) + 220px)); }
.de-herofull .de-wrap.de-herofull__inner { max-width: none; display: flex; flex-direction: column; gap: var(--space-8); padding: calc(var(--header-h) + var(--band)) var(--hero-gutter) var(--space-6); }

/* first screen: the offer */
.de-herofull__text { display: grid; gap: var(--space-4); justify-items: start; max-width: 640px; margin-block: auto; text-align: left; }
.de-herofull__kicker { display: inline-flex; align-items: center; gap: var(--space-3); margin: 0; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.de-herofull__kicker::before { content: ""; width: 28px; height: 2px; flex: none; background: var(--cta); }
.de-herofull__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(27px, 4vw + 13px, 40px); line-height: 1.07; letter-spacing: -.03em; text-transform: none; text-wrap: balance; }
.de-herofull__title em { color: var(--cta); font-style: normal; }
.de-herofull__title span { display: block; margin-top: .55em; font-size: clamp(17px, .8vw + 13px, 24px); font-weight: 600; line-height: 1.35; letter-spacing: 0; color: rgba(255, 255, 255, 0.92); text-wrap: pretty; }
.de-herofull__lead { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.de-herofull__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); width: 100%; margin: 0; padding: 0; list-style: none; }
.de-herofull__perks li { display: grid; gap: var(--space-1); align-content: start; font-size: 13px; line-height: 1.35; color: var(--hero-muted); }
.de-herofull__perks svg { color: var(--cta); width: 24px; height: 24px; }
.de-herofull__perks b { display: block; font-size: 14px; line-height: 1.25; font-weight: 700; color: #ffffff; }
.de-herofull__cta { display: grid; gap: var(--space-3); width: 100%; }
.de-herofull__cta .de-btn { width: 100%; min-height: 52px; padding-inline: var(--space-6); font-size: 16px; }
.de-btn--light { background: rgba(32, 47, 76, 0.35); color: #ffffff; border: 1px solid #ffffff; }
.de-btn--light:hover { background: rgba(255, 255, 255, 0.12); }
.de-herofull .de-btn:focus-visible { outline-color: #ffffff; }

/* first screen: numbers and the visualisation note */
.de-herofull__bottom { display: grid; gap: var(--space-2); }
.de-herofull__foot { display: flex; margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.4; font-weight: 500; }
.de-herofull__foot .de-tag { background: rgba(32, 47, 76, 0.7); color: var(--hero-muted); font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.15); }

/* the house slowly drifts (only when motion is allowed: the script adds .de-anim) */
.de-anim .de-herofull__media > picture { animation: de-drift 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes de-drift { from { transform: scale(1.02); } to { transform: scale(1.08) translate(-1%, -1%); } }

/* tablets in portrait: same order, more air */
@media (min-width: 600px) and (max-width: 820px) {
  .de-herofull__title { font-size: clamp(38px, 4vw + 10px, 46px); }
  .de-herofull__lead { font-size: 17px; }
  .de-herofull__cta { grid-template-columns: repeat(2, max-content); }
  .de-herofull__perks { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); width: auto; }
  .de-herofull__perks li { display: flex; align-items: center; gap: var(--space-3); }
}

/* from 821px: offer at the left edge over a dark left side, the house on the right */
@media (min-width: 821px) {
  .de-herofull .de-wrap.de-herofull__inner { padding: calc(var(--header-h) + var(--space-8)) var(--hero-gutter) var(--space-6); gap: var(--space-6); }
  .de-herofull__media { bottom: 0; height: auto; }
  .de-herofull__shade { background: linear-gradient(90deg, rgba(32, 47, 76, 0.95) 0%, rgba(32, 47, 76, 0.85) 40%, rgba(32, 47, 76, 0.35) 68%, rgba(32, 47, 76, 0.1) 100%), linear-gradient(0deg, rgba(32, 47, 76, 0.8) 0%, rgba(32, 47, 76, 0) 30%); }
  .de-herofull__media img { object-position: 70% 50%; }
  .de-herofull__text { max-width: min(640px, 60%); gap: var(--space-5, 20px); }
  .de-herofull__title { font-size: clamp(38px, 1.9vw + 20px, 62px); }
  .de-herofull__lead { font-size: 18px; max-width: 56ch; }
  .de-herofull__perks { display: flex; width: auto; gap: 0; }
  .de-herofull__perks li { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; }
  .de-herofull__perks li + li { margin-left: var(--space-6); padding-left: var(--space-6); border-left: 1px solid rgba(255, 255, 255, 0.18); }
  .de-herofull__perks b { font-size: 16px; }
  .de-herofull__cta { display: flex; flex-wrap: wrap; width: auto; }
  .de-herofull__cta .de-btn { width: auto; min-height: 56px; padding-inline: 30px; }
  .de-herofull__foot { justify-content: flex-end; }
}
/* wide screens: the left side is solid dark, the house starts after the text column */
@media (min-width: 1100px) {
  .de-herofull__media { left: 38%; }
  .de-herofull__media img { object-position: 62% 50%; }
  .de-herofull__shade { background: linear-gradient(90deg, var(--hero-dark) 0%, var(--hero-dark) 38%, rgba(32, 47, 76, 0.7) 46%, rgba(32, 47, 76, 0.2) 62%, rgba(32, 47, 76, 0) 80%), linear-gradient(0deg, rgba(32, 47, 76, 0.85) 0%, rgba(32, 47, 76, 0) 26%); }
  .de-herofull__text { max-width: min(760px, 44vw); }
  .de-herofull__cta { flex-wrap: nowrap; }
  .de-anim .de-herofull__media > picture { transform-origin: 75% 50%; }
}
@media (min-width: 1800px) and (min-height: 900px) {
  .de-herofull__text { max-width: min(900px, 42vw); }
  .de-herofull__title { font-size: clamp(62px, 2.7vw, 80px); }
  .de-herofull__lead { font-size: 21px; }
  .de-herofull__kicker { font-size: 14px; }
  .de-herofull__perks li { font-size: 15px; }
  .de-herofull__perks b { font-size: 18px; }
  .de-herofull__cta .de-btn { min-height: 60px; font-size: 17px; }
}
/* short windows: keep the offer and the numbers on one screen */
@media (min-width: 821px) and (max-height: 860px) {
  .de-herofull__title { font-size: clamp(32px, 5.2vh, 50px); }
  .de-herofull__text { gap: var(--space-3); }
  .de-herofull__lead { font-size: 17px; }
  .de-herofull .de-wrap.de-herofull__inner { padding-top: calc(var(--header-h) + var(--space-6)); padding-bottom: var(--space-4); gap: var(--space-4); }
}
/* short phones (iPhone 8/SE class): tighter rhythm so the main button stays on the first screen */
@media (max-width: 820px) and (max-height: 700px) { .de-herofull__text { gap: var(--space-3); } .de-herofull__title span { margin-top: .4em; } }
/* phones held sideways */
@media (orientation: landscape) and (max-height: 500px) {
  .de-herofull { --band: 0px; }
  .de-herofull__title { font-size: 26px; }
  .de-herofull__lead { font-size: 15px; }
  .de-herofull__cta .de-btn { min-height: 48px; }
}

/* 10. Flat in Kraków vs house near Kraków: full-width light band under the dark first screen, two white cards, VS in between, the sum and the button below */
.de-vs-section { background: var(--sunk); color: var(--ink); }
.de-vs-section .de-wrap { max-width: 1320px; padding-inline: var(--hero-gutter); }
.de-vs { display: grid; gap: var(--space-8); }
.de-vs__head { display: grid; gap: var(--space-2); justify-items: center; max-width: 720px; margin-inline: auto; text-align: center; }
.de-vs__head .de-lead { color: var(--muted); }
.de-vs__grid { position: relative; display: grid; gap: var(--space-4); container-type: inline-size; }
.de-vs__card { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.de-vs__card--ours { border: 2px solid var(--cta); box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08); }
.de-vs__media { position: relative; aspect-ratio: 4 / 3; background: var(--sunk); }
.de-vs__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.de-vs__media .de-tag { position: absolute; left: var(--space-3); bottom: var(--space-3); font-size: 12px; font-weight: 500; }
.de-vs__body { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6); }
.de-vs__label { margin: 0; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.de-vs__card--ours .de-vs__label { color: var(--ink); }
.de-vs__big { margin: 0; font-weight: 800; font-size: clamp(38px, 3vw + 22px, 56px); line-height: 1.05; letter-spacing: -.02em; }
.de-vs__big small { font-size: .42em; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.de-vs__card--ours .de-vs__big { background: linear-gradient(transparent 62%, var(--cta) 62%, var(--cta) 92%, transparent 92%); justify-self: start; padding-inline: 2px; }
.de-vs__ppm { margin: 0; font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.de-vs__list { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.de-vs__list li { position: relative; padding-left: 28px; }
.de-vs__list li::before { content: "\2013"; position: absolute; left: 4px; color: var(--line-strong); }
.de-vs__card--ours .de-vs__list li::before { content: "\2713"; left: 0; top: .15em; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--cta); color: var(--on-cta); font-size: 11px; font-weight: 800; }
.de-vs__price { margin: var(--space-3) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.de-vs__badge { position: relative; z-index: 1; justify-self: center; display: grid; place-items: center; width: 64px; height: 64px; margin-block: calc(-1 * var(--space-8)); border: 4px solid var(--sunk); border-radius: 50%; background: var(--ink); color: var(--cta); font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.de-vs__sum { display: grid; gap: var(--space-3); justify-items: center; max-width: 680px; margin-inline: auto; text-align: center; color: var(--muted); }
.de-vs__sum p { margin: 0; }
.de-vs__sum b { color: var(--ink); }
.de-vs__plus { font-size: clamp(24px, 1.6vw + 18px, 34px); line-height: 1.2; font-weight: 800; color: var(--ink); }
.de-vs__plus span { background: linear-gradient(transparent 58%, var(--cta) 58%, var(--cta) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 2px; }
.de-vs__sum .de-btn { margin-top: var(--space-2); min-width: min(100%, 340px); min-height: 52px; }
.de-vs__note { font-size: 13px; line-height: 1.45; }
.de-vs__source { font-size: 12px; line-height: 1.45; color: var(--line-strong); }
@media (min-width: 720px) {
  .de-vs__grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
  /* VS sits on the seam between the two pictures */
  .de-vs__badge { position: absolute; left: 50%; top: calc((100cqw - var(--space-12)) / 2 * .375); width: 84px; height: 84px; margin: 0; transform: translate(-50%, -50%); border-width: 6px; font-size: 24px; }
}

/* 12. Three things that decide: sticky title on the left, a yellow timeline with three cards on the right.
   The card in the middle of the screen is dark; the others are quiet. Without JavaScript the first card stays dark. */
.de-three { display: grid; gap: var(--space-8); }
.de-three__head { display: grid; gap: var(--space-3); align-content: start; }
.de-three__head .de-h2 { font-size: clamp(28px, 2.6vw + 18px, 52px); line-height: 1.08; text-wrap: balance; }
.de-three__list { position: relative; display: grid; gap: var(--space-4); margin: 0; padding: 0 0 0 40px; list-style: none; }
.de-three__list::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--cta); }
.de-three__item { position: relative; display: grid; gap: var(--space-3); padding: var(--space-6); border-radius: 14px; background: var(--sunk); color: var(--muted); transition: background-color .35s ease, color .35s ease; }
.de-three__item::before { content: ""; position: absolute; left: -40px; top: var(--space-6); width: 25px; height: 25px; border: 3px solid var(--cta); border-radius: 50%; background: var(--paper); transition: background-color .35s ease; }
.de-three__item.is-active { background: var(--hero-dark); color: rgba(255, 255, 255, 0.86); }
.de-three__item.is-active::before { background: var(--cta); }
.de-three__n { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--line-strong); }
.de-three__item.is-active .de-three__n { color: var(--cta); }
.de-three__title { margin: 0; font-size: clamp(20px, 1vw + 16px, 26px); line-height: 1.25; font-weight: 800; color: var(--ink); transition: color .35s ease; }
.de-three__item.is-active .de-three__title { color: #ffffff; }
.de-three__item p { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.6; }
.de-three__fact { justify-self: start; font-size: 12px; line-height: 1.45; }
.de-three__fact:not(.de-pending) { padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(17, 17, 17, 0.06); }
.de-three__item.is-active .de-three__fact:not(.de-pending) { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
@media (min-width: 900px) {
  .de-three { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-12); align-items: start; }
  .de-three__head { position: sticky; top: calc(var(--header-h) + var(--space-12)); }
  .de-three__list { gap: var(--space-6); padding-left: 64px; }
  .de-three__list::before { left: 15px; }
  .de-three__item { padding: var(--space-8); min-height: 260px; align-content: center; }
  .de-three__item::before { left: -64px; top: 50%; width: 33px; height: 33px; margin-top: -16px; }
}

/* 13. First screen on phones: one wide button, a short promise under it; the perks repeat the numbers block below, so phones skip them */
.de-herofull__note { margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 820px) {
  .de-herofull__perks { display: none; }
  .de-herofull__cta .de-btn--cta { min-height: 60px; font-size: 17px; }
  .de-herofull__cta .de-btn--light { justify-self: center; width: auto; min-height: 44px; padding-inline: var(--space-3); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
  .de-herofull__note { text-align: center; }
}

/* 14. Numbers right under the first screen + a slot for real social proof (avatars and the client count, shown only when true) */
.de-proof { padding-block: var(--space-8) var(--space-12); background: var(--paper); }
.de-proof__social { display: grid; justify-items: center; gap: var(--space-3); margin-bottom: var(--space-6); text-align: center; }
.de-proof__social p { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.45; color: var(--ink); }
.de-proof__faces { display: flex; }
.de-proof__faces span { display: grid; place-items: end center; width: 44px; height: 44px; overflow: hidden; border: 3px solid var(--paper); border-radius: 50%; background: #dfe5ef; color: #7d8aa3; }
.de-proof__faces span:nth-child(2) { background: #f6e3c0; color: #b98634; }
.de-proof__faces span:nth-child(3) { background: #d9e8e1; color: #6f9483; }
.de-proof__faces span:nth-child(4) { background: #ead9e6; color: #9a7391; }
.de-proof__faces span:nth-child(5) { background: #e4e1d8; color: #8e8873; }
.de-proof__faces svg { width: 34px; height: 34px; margin-bottom: -4px; }
.de-proof__faces span + span { margin-left: -12px; }
.de-proof__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.de-proof__card { display: grid; gap: var(--space-2); align-content: start; min-width: 0; padding: var(--space-6) var(--space-4); background: var(--sunk); border-radius: 14px; }
.de-proof__card:nth-child(n + 3) { grid-column: 1 / -1; }
.de-proof__card b { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.de-proof__card span { font-size: 15px; line-height: 1.4; color: var(--muted); }
@media (min-width: 900px) {
  .de-proof { padding-block: var(--space-12); }
  .de-proof__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
  .de-proof__card { padding: var(--space-8) var(--space-6); container-type: inline-size; }
  /* every number fits one line of its card: the size follows the card width, the same for all four */
  .de-proof__card b { font-size: clamp(28px, 17cqi, 56px); }
  .de-proof__card:nth-child(n + 3) { grid-column: auto; }
}

/* 15. The houses in Zagacie: dark band; photos with round arrows and dots, a dark panel with numbers and the houses table,
   a yellow "why" card and the drive card on the side, a row of four facts below. All numbers come from the price list and the measured drive. */
.de-estate-section { background: radial-gradient(120% 80% at 50% 0%, #121a1e 0%, var(--hero-dark) 60%); color: #ffffff; }
.de-estate-section .de-wrap { max-width: 1400px; padding-inline: var(--hero-gutter); }
.de-estate__head { display: grid; gap: var(--space-3); justify-items: center; max-width: 820px; margin: 0 auto var(--space-12); text-align: center; }
.de-estate__eyebrow { display: inline-flex; align-items: center; gap: var(--space-4); margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta); }
.de-estate__eyebrow::before, .de-estate__eyebrow::after { content: ""; width: 48px; height: 2px; background: var(--cta); }
.de-estate__head .de-h2 { color: #ffffff; }
.de-estate__head .de-h2 em { font-style: normal; color: var(--cta); }
.de-estate__head .de-lead { color: rgba(255, 255, 255, 0.78); }

.de-estate { display: grid; gap: var(--space-6); }
/* photos */
.de-estate__media { position: relative; min-width: 0; overflow: hidden; border-radius: 18px; background: #2a3c5e; }
.de-estate__slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.de-estate__slides::-webkit-scrollbar { display: none; }
.de-estate__slides:focus-visible { outline: 2px solid var(--cta); outline-offset: -2px; }
.de-estate__slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3.4; scroll-snap-align: start; }
.de-estate__slide img, .de-estate__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.de-estate__slide .de-tag { position: absolute; right: var(--space-3); top: var(--space-3); background: rgba(32, 47, 76, 0.6); color: #ffffff; font-size: 11px; font-weight: 500; }
.de-estate__loc { position: absolute; left: var(--space-3); top: var(--space-3); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; pointer-events: none; }
.de-estate__arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: rgba(32, 47, 76, 0.55); color: #ffffff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .15s ease; }
.de-estate__arrow:hover { background: var(--cta); color: var(--on-cta); border-color: var(--cta); }
.de-estate__arrow:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.de-estate__arrow--prev { left: var(--space-3); }
.de-estate__arrow--next { right: var(--space-3); }
.de-estate__dots { position: absolute; left: 0; right: 0; bottom: var(--space-3); display: flex; justify-content: center; gap: 2px; }
.de-estate__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.de-estate__dots button::before { content: ""; display: block; width: 9px; height: 9px; margin: auto; border-radius: 50%; background: rgba(255, 255, 255, 0.7); }
.de-estate__dots button[aria-current="true"]::before { background: var(--cta); transform: scale(1.2); }
.de-estate__dots button:focus-visible { outline: 2px solid var(--cta); border-radius: 50%; }

/* panel */
.de-estate__panel { display: grid; gap: var(--space-6); min-width: 0; padding: var(--space-6) var(--space-4); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; }
.de-estate__main { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.de-estate__dev { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hero-muted); }
.de-estate__title { margin: 0; font-size: clamp(28px, 1.6vw + 20px, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.de-estate__spec { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.de-estate__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.de-estate__tiles li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); min-width: 0; padding: var(--space-3); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 13px; color: var(--hero-muted); }
.de-estate__tiles svg { flex: none; color: var(--cta); }
.de-estate__tiles b { display: block; color: #ffffff; font-size: 15px; white-space: nowrap; }
.de-estate .de-houses-wrap { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; overflow: hidden; }
.de-estate .de-houses th { background: rgba(255, 255, 255, 0.05); color: var(--hero-muted); letter-spacing: .04em; text-transform: none; font-size: 13px; }
.de-estate .de-houses th, .de-estate .de-houses td { padding: 10px var(--space-3); }
.de-estate .de-houses td { border-top: 1px solid rgba(255, 255, 255, 0.08); color: #ffffff; font-family: var(--font-sans); font-size: 14px; font-weight: 500; }
.de-estate .de-houses td:first-child { font-weight: 700; }
.de-estate .de-houses__price { color: #ffffff; }
.de-estate .de-houses tr[data-status="reserved"] td, .de-estate .de-houses tr[data-status="sold"] td { color: var(--hero-muted); }
.de-estate .de-status--free { background: var(--cta); color: var(--on-cta); }
.de-estate .de-status--reserved { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.de-estate__note { margin: 0; font-size: 12px; color: var(--hero-muted); }
.de-estate__note .de-pending, .de-estate__cta .de-pending { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }

/* side cards */
.de-estate__side { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.de-estate__why { padding: var(--space-6); border-radius: 16px; background: #fbefd6; color: var(--ink); }
.de-estate__why-title { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); font-size: 18px; line-height: 1.25; font-weight: 800; }
.de-estate__why ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.de-estate__why li { position: relative; padding-left: 24px; }
.de-estate__why li::before { content: "\2713"; position: absolute; left: 2px; font-weight: 800; }
.de-estate__drive { padding: var(--space-6); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
.de-estate__drive-title { display: flex; align-items: center; gap: var(--space-3); margin: 0; font-size: 17px; font-weight: 800; }
.de-estate__drive-title svg { color: var(--cta); }
.de-estate__drive-num { margin: var(--space-3) 0 var(--space-1); font-size: 28px; line-height: 1.1; font-weight: 800; }
.de-estate__drive-sub { margin: 0; font-size: 14px; line-height: 1.45; color: var(--hero-muted); }

.de-estate__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.de-estate__cta .de-btn { min-height: 56px; padding-inline: var(--space-8); font-size: 16px; }
.de-btn--outline { background: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.7); }
.de-btn--outline:hover { background: rgba(255, 255, 255, 0.1); }
.de-estate .de-btn:focus-visible { outline-color: #ffffff; }

/* four facts under the card */
.de-estate__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); margin: var(--space-12) 0 0; padding: 0; list-style: none; }
.de-estate__facts li { display: flex; align-items: center; gap: var(--space-3); min-width: 0; font-size: 14px; color: var(--hero-muted); }
.de-estate__facts svg { flex: none; color: var(--cta); width: 30px; height: 30px; }
.de-estate__facts b { display: block; color: #ffffff; font-size: 18px; line-height: 1.25; }

/* phones */
@media (max-width: 680px) {
  .de-estate__tiles { grid-template-columns: 1fr 1fr; }
  .de-estate__tiles li:last-child { grid-column: 1 / -1; }
  .de-estate__cta .de-btn { width: 100%; }
  .de-estate .de-houses tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "dom st" "plot price"; align-items: center; gap: 2px var(--space-3); padding: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .de-estate .de-houses tr:first-child { border-top: 0; }
  .de-estate .de-houses td { padding: 0; border: 0; white-space: nowrap; font-size: 14px; }
  .de-estate .de-houses td::before { content: none; }
  .de-estate .de-houses td:nth-child(1) { grid-area: dom; grid-column: auto; font-size: 15px; }
  .de-estate .de-houses td:nth-child(2) { grid-area: plot; color: var(--hero-muted); }
  .de-estate .de-houses td:nth-child(3) { grid-area: price; text-align: right; }
  .de-estate .de-houses td:nth-child(4) { grid-area: st; justify-self: end; }
  .de-estate .de-status { padding: 2px 8px; font-size: 12px; }
  .de-estate__eyebrow::before, .de-estate__eyebrow::after { width: 24px; }
}
@media (min-width: 760px) { .de-estate__side { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .de-estate__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .de-estate__facts li + li { padding-left: var(--space-6); border-left: 1px solid rgba(255, 255, 255, 0.12); } }
/* wide: photos left, panel right; inside the panel the table and the side cards sit next to each other */
@media (min-width: 1100px) {
  .de-estate { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: stretch; }
  .de-estate__slide { aspect-ratio: auto; height: 100%; min-height: 600px; }
  .de-estate__panel { padding: var(--space-8); align-content: start; }
}
/* very wide: the side cards move next to the table */
@media (min-width: 1360px) {
  .de-estate__panel { grid-template-columns: minmax(0, 1fr) 240px; }
  .de-estate__side { grid-template-columns: 1fr; }
  .de-estate__cta { grid-column: 1 / -1; }
}

/* 16. Questions in three groups: one place for everything the blocks above do not answer */
.de-faq--groups { display: grid; gap: var(--space-8); max-width: 820px; margin-inline: auto; border-top: 0; }
.de-faq__group { border-top: 1px solid var(--line); }
.de-faq__title { margin: 0; padding: var(--space-4) 0 var(--space-2); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* 17. Buyer's package: six short lines, two columns on wide screens */
.de-pack6 { display: grid; gap: var(--space-4); max-width: 1040px; margin: 0 auto; padding: 0; list-style: none; }
.de-pack6 li { display: grid; grid-template-columns: auto 1fr; gap: 2px var(--space-4); align-items: start; padding: var(--space-6); background: var(--surface); border-radius: 14px; }
.de-pack6 svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--cta); color: var(--on-cta); }
.de-pack6 h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; }
.de-pack6 p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (min-width: 760px) { .de-pack6 { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }

/* 18. Steps: five short lines; a row with a connecting line on wide screens */
.de-flow { counter-reset: de-flow; display: grid; gap: var(--space-4); max-width: 1120px; margin: 0 auto; padding: 0; list-style: none; }
.de-flow li { counter-increment: de-flow; position: relative; display: grid; gap: var(--space-1); padding-left: 60px; min-height: 44px; }
.de-flow li::before { content: counter(de-flow); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cta); color: var(--on-cta); font-weight: 800; font-size: 17px; }
.de-flow b { font-size: 17px; line-height: 1.3; }
.de-flow span { font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (min-width: 900px) {
  .de-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-6); }
  .de-flow li { padding: 64px 0 0; }
  .de-flow li::after { content: ""; position: absolute; left: 52px; right: -16px; top: 22px; height: 2px; background: var(--line); }
  .de-flow li:last-child::after { content: none; }
}

/* 19. Video reviews (real recordings only; hidden on the published site until they exist) */
.de-reviews { display: grid; gap: var(--space-6); }
.de-review { display: grid; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.de-review__video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: #2a3c5e; }
.de-review__play { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.de-review__play::before { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent var(--ink); }
.de-review__video .de-pending { position: absolute; left: var(--space-3); bottom: var(--space-3); }
.de-review__quote { display: grid; gap: var(--space-3); align-content: center; margin: 0; padding: var(--space-6); }
.de-review__mark { font-size: 56px; line-height: .6; font-weight: 800; color: var(--cta); }
.de-review__quote p { margin: 0; font-size: 17px; line-height: 1.55; }
.de-review__quote footer { font-size: 14px; color: var(--muted); }
.de-review__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-6); }
.de-review__photos .de-pending { display: grid; place-items: center; aspect-ratio: 4 / 3; text-align: center; }
@media (min-width: 900px) {
  .de-reviews { grid-template-columns: 1fr 1fr; }
  .de-review { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .de-review__video { aspect-ratio: auto; min-height: 340px; }
}

/* 20. Who is behind it: dark band, photo on the left, four facts and the button on the right */
.de-trust-section { background: var(--hero-dark); color: rgba(255, 255, 255, 0.88); }
.de-trust { display: grid; gap: var(--space-8); align-items: center; }
.de-trust__photo { margin: 0; display: grid; gap: var(--space-3); max-width: 420px; }
.de-trust__img { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 16px; background: #2a3c5e; }
.de-trust__photo figcaption { font-size: 14px; color: var(--hero-muted); }
.de-trust__body { display: grid; gap: var(--space-6); justify-items: start; }
.de-trust__body .de-eyebrow { color: var(--cta); }
.de-trust__body .de-h2 { color: #ffffff; text-align: left; }
.de-trust__body .de-h2 span { display: block; color: var(--cta); }
.de-trust__list { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.de-trust__list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; font-size: 16px; line-height: 1.5; }
.de-trust__list svg { width: 40px; height: 40px; padding: 9px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; color: var(--cta); }
.de-trust__list b { color: #ffffff; }
.de-trust__list .de-pending { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.de-trust__cta { margin: 0; }
.de-trust .de-btn:focus-visible { outline-color: #ffffff; }
@media (min-width: 900px) { .de-trust { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-20); } }

/* 21. Final block: four short cards next to the form */

/* 22. Footer: dark, continues the final block; small, two rows */
.de-footer { padding-block: var(--space-8) calc(var(--space-8) + 76px); background: var(--hero-dark); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; line-height: 1.55; color: var(--hero-muted); }
.de-footer .de-wrap { display: grid; gap: var(--space-6); }
.de-footer p { margin: 0; }
.de-footer a { color: #ffffff; }
.de-footer__top { display: grid; gap: var(--space-3); align-items: center; }
.de-footer__brand { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; justify-self: start; color: #ffffff; font-weight: 800; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.de-footer__brand svg { color: var(--cta); flex: none; }
.de-footer__tagline { color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.de-footer__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); }
.de-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.de-footer__nav a:hover { color: var(--cta); }
.de-footer__social .de-pending { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }
.de-footer__bottom { display: grid; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; }
.de-footer__bottom .de-pending { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }
.de-footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); align-items: center; }
.de-footer__links a, .de-footer__links .de-linkbtn { display: inline-flex; align-items: center; min-height: 44px; color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.de-footer :is(a, .de-linkbtn):focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
@media (min-width: 821px) {
  .de-footer { padding-bottom: var(--space-8); }
  .de-footer__top { grid-template-columns: auto 1fr auto auto; gap: var(--space-6); }
}

/* 23. Palette after searchestate.co (founder 13.11): buttons and accents #e09913, dark blocks #202f4c.
   Button text stays dark: white on #e09913 is too faint to read (contrast about 2.3:1). */
:root { --cta: #e09913; --cta-hover: #c8850c; --on-cta: #111111; --hero-dark: #202f4c; }

/* 24. Final block: evening house in the background, navy shade on the left, offer + three points, white form card on the right */
.de-final { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-dark); color: #ffffff; }
.de-final__bg { position: absolute; inset: 0; z-index: -2; }
.de-final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; display: block; }
.de-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(32, 47, 76, 0.86) 0%, rgba(32, 47, 76, 0.78) 45%, var(--hero-dark) 100%); }
.de-final .de-wrap { display: grid; gap: var(--space-8); align-items: center; max-width: 1320px; padding-inline: var(--hero-gutter); }
.de-final__text { position: relative; display: grid; gap: var(--space-6); justify-items: start; align-content: center; }
.de-final__eyebrow { display: inline-flex; align-items: center; gap: var(--space-4); margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.de-final__eyebrow::before { content: ""; width: 44px; height: 3px; border-radius: 2px; background: var(--cta); }
.de-final .de-h2 { margin: 0; color: #ffffff; text-align: left; font-size: clamp(32px, 2.2vw + 20px, 54px); line-height: 1.06; letter-spacing: -.03em; }
.de-final .de-h2 span { display: block; color: var(--cta); }
.de-final__lead { margin: 0; max-width: 46ch; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.de-final__perks { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.de-final__perks li { display: flex; align-items: center; gap: var(--space-4); font-size: 18px; font-weight: 700; }
.de-final__perks svg { flex: none; width: 52px; height: 52px; padding: 11px; border: 2px solid var(--cta); border-radius: 12px; color: var(--cta); background: rgba(32, 47, 76, 0.5); }
.de-final__tag { position: static; justify-self: start; background: rgba(32, 47, 76, 0.7); color: var(--hero-muted); border: 1px solid rgba(255, 255, 255, 0.15); font-size: 11px; font-weight: 500; }

/* the form card */
.de-final .de-form { gap: var(--space-4); max-width: none; width: 100%; padding: var(--space-6) var(--space-4); color: var(--ink); border: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.de-form__head { display: grid; gap: var(--space-1); }
.de-form__head p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.de-final .de-form__title, .de-modal .de-form__title { font-family: var(--font-sans); font-size: clamp(24px, 1vw + 18px, 30px); font-weight: 800; letter-spacing: -.02em; }
.de-form__row { display: grid; gap: var(--space-4); }
.de-form .de-input { border-color: var(--line); border-radius: 10px; }
.de-form .de-input:focus { border-color: var(--cta); outline: 2px solid rgba(224, 153, 19, 0.3); outline-offset: 0; }
.de-form .de-choice span { border-color: var(--line); border-radius: 10px; }
.de-form .de-choice input:checked + span { background: #fdf0d8; border-color: var(--cta); color: var(--ink); font-weight: 700; }
.de-form .de-choice input:checked + span::before { content: "\2713"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: var(--space-2); border-radius: 50%; background: var(--ink); color: #ffffff; font-size: 11px; }
/* budget: one answer per row with a round radio mark */
.de-choices--rows .de-choices__list { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
.de-choices--rows .de-choice span { padding-left: 46px; font-size: 16px; font-weight: 600; }
.de-choices--rows .de-choice span::after { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--line-strong); border-radius: 50%; background: #ffffff; }
.de-choices--rows .de-choice input:checked + span::before { content: none; }
.de-choices--rows .de-choice input:checked + span::after { border-color: var(--ink); box-shadow: inset 0 0 0 4px #ffffff; background: var(--ink); }
.de-form .de-btn--block { min-height: 58px; font-size: 17px; border-radius: 12px; }
.de-form__note { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; }
.de-form__note svg { flex: none; margin-top: 1px; color: var(--muted); }
.de-final .de-form .de-btn:focus-visible { outline-color: var(--ink); }

@media (min-width: 560px) { .de-final .de-form { padding: var(--space-8); } }
@media (min-width: 1024px) {
  .de-final::before { background: linear-gradient(90deg, rgba(32, 47, 76, 0.94) 0%, rgba(32, 47, 76, 0.78) 38%, rgba(32, 47, 76, 0.25) 62%, rgba(32, 47, 76, 0.55) 100%); }
  .de-final__bg img { object-position: 40% 60%; }
  .de-final .de-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: var(--space-12); min-height: 760px; }
}

/* 25. Final block: the same people row (real photos and the client count go here when they exist) */
.de-final__social { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.de-final__social p { margin: 0; }
.de-final__social .de-proof__faces span { border-color: var(--hero-dark); }
.de-final__social .de-pending { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #ffffff; }

/* 26. Cookie banner on phones: compact strip (title hidden visually, short padding, buttons in one row) so the first-screen button stays visible */
@media (max-width: 767px) {
  .de-cookie--fixed { gap: var(--space-2); padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 20px rgba(32, 47, 76, 0.18); }
  .de-cookie--fixed .de-cookie__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .de-cookie--fixed p { font-size: 12px; line-height: 1.4; }
  .de-cookie--fixed .de-cookie__actions .de-btn { min-height: 44px; padding-block: var(--space-2); font-size: 14px; }
}

/* 27. Team row under "Kto za tym stoi": three roles, neutral avatars until real photos exist */
.de-team { display: grid; gap: var(--space-6); margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.de-team__title { margin: 0; font-size: 22px; font-weight: 800; color: #ffffff; }
.de-team__list { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.de-team__list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; align-content: start; padding: var(--space-6); border-radius: 14px; background: #2a3c5e; }
.de-team__face { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.45); }
.de-team__list h3 { margin: 0; font-size: 18px; font-weight: 800; color: #ffffff; }
.de-team__list p { margin: var(--space-1) 0 0; font-size: 15px; line-height: 1.5; }
.de-team__list .de-pending { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
@media (min-width: 900px) { .de-team__list { grid-template-columns: repeat(3, 1fr); } .de-team__list li { grid-template-columns: 1fr; } }
/* published without a founder photo: drop the empty photo column instead of leaving a gap */
.de-publish .de-trust:has(.de-trust__img[data-pending]) { grid-template-columns: minmax(0, 1fr); }
.de-publish .de-trust__photo:has(.de-trust__img[data-pending]) { display: none; }

/* 28. Phone: country select next to the number; error colour wins over the form's grey border */
.de-phone { display: flex; gap: var(--space-2); }
.de-phone .de-input { flex: 1 1 auto; min-width: 0; }
.de-phone .de-phone__country { flex: none; width: auto; max-width: 46%; padding-inline: var(--space-3); font-weight: 700; cursor: pointer; }
.de-form .de-field--error .de-input { border: 2px solid var(--danger); }
.de-form .de-field--error .de-phone__country { border: 1px solid var(--line); }

/* 29. Cookie categories: registered text (title, description, providers) under each switch */
.de-cookie__cat { display: grid; gap: var(--space-1); }
.de-cookie__cat p { font-size: 13px; }
.de-cookie__prov { display: grid; gap: 2px; margin: 0; padding-left: var(--space-6); font-size: 13px; line-height: 1.45; color: var(--ink); }
.de-cookie__prov a { font-size: 12px; }
.de-cookie--fixed .de-cookie__settings { max-height: 55vh; overflow-y: auto; }
