/* =========================================================
   K&K Invest · motyw (Propozycja 1, styl holmi.pl)
   Wartości zmierzone na holmi.pl przy 1440 px:
   kontener 30 px od krawędzi, Urbanist (nagłówki) + DM Sans (treść),
   etykiety 12/500 z trackingiem 2 px, tytuł slajdu 100/500,
   karty z ramką rgba(0,0,0,.2), sekcja procesu #F7F7F7.
   Warstwy (z-index): nagłówek 50, menu mobilne 49, baner cookies 60,
   okna <dialog> w warstwie top layer przeglądarki.
   ========================================================= */
:root {
  --ink: #090402;
  --text: rgba(0, 0, 0, .7);
  --muted: rgba(0, 0, 0, .55);
  --line: rgba(0, 0, 0, .2);
  --line-soft: rgba(0, 0, 0, .12);
  --grey: #F7F7F7;
  --white: #FFFFFF;
  --error: #B3261E;
  --urbanist: "Urbanist", "Segoe UI", sans-serif;
  --dm: "DM Sans", "Segoe UI", sans-serif;
  --pad: 30px;
  --header-h: 70px;
  --admin-bar: 0px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 10px); }
body { font-family: var(--dm); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { padding: 0; }
.header ul, .footer ul, .menu-mobile ul, .plans__list, .kk-reports { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: calc(16px + var(--admin-bar)); }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -.125em; }

.wrap { padding-inline: var(--pad); }
.label {
  font-family: var(--urbanist); font-size: 12px; font-weight: 500; line-height: 1.3;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink);
}
.label--white { color: #fff; }

/* Przycisk: prostokąt, tekst z podkreśleniem (jak „Kontakt” na holmi) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; font-family: var(--urbanist); font-size: 14px; font-weight: 600; letter-spacing: .5px; line-height: 1.1;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn span { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.btn:hover span { background-size: 0 1px; background-position: 100% 100%; }
.btn:active { transform: translateY(1px); }
.btn--white { background: var(--white); color: #000; }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #333; }

.u-link { display: inline-block; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .3s; }
.u-link:hover { opacity: .6; }

/* ========== NAGŁÓWEK ========== */
.header { position: fixed; top: var(--admin-bar); left: 0; right: 0; z-index: 50; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.header.is-solid { background: var(--white); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.header__inner { height: var(--header-h); padding-inline: var(--pad); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; color: var(--ink); flex: none; }
.logo__mark { font-family: var(--urbanist); font-weight: 600; font-size: 28px; letter-spacing: -.5px; }
.logo__word { font-family: var(--urbanist); font-weight: 300; font-size: 24px; letter-spacing: .2px; }
.logo__img { width: auto; max-height: 46px; }
.logo__img--light { display: none; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 40px; }
.nav__item { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__item > a { position: relative; font-family: var(--urbanist); font-size: 14px; font-weight: 500; letter-spacing: 1px; color: #000; padding: 10px 0; }
.nav__item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__item > a:hover::after, .nav__item.is-current > a::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: grid; place-items: center; width: 22px; height: 30px; color: #000; font-size: 13px; }
.nav__toggle .icon { transition: transform .3s var(--ease); }
.nav__drop.is-open .nav__toggle .icon { transform: rotate(180deg); }
.nav__sub { position: absolute; top: 100%; left: -20px; min-width: 240px; background: var(--white); padding: 8px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .3s var(--ease); }
.nav__drop.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 15px 20px; font-family: var(--urbanist); font-size: 14px; font-weight: 500; letter-spacing: 1px; color: #000; }
.nav__sub a:hover { background: var(--grey); }
.header__cta { flex: none; }
.header.is-solid .header__cta { background: var(--ink); color: #fff; }
.header.is-solid .header__cta:hover { background: #333; }

/* Nad zdjęciem: białe logo i menu (czytelne na każdym zdjęciu), po przewinięciu wracają do czerni */
@media (min-width: 1101px) {
  .header:not(.is-solid) .logo,
  .header:not(.is-solid) .nav__item > a,
  .header:not(.is-solid) .nav__toggle { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
  .header:not(.is-solid) .logo__img--dark { display: none; }
  .header:not(.is-solid) .logo__img--light { display: block; }
  .logo, .nav__item > a, .nav__toggle { transition: color .4s var(--ease); }
}

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span:not(.visually-hidden) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.menu-mobile { position: fixed; inset: calc(var(--header-h) + var(--admin-bar)) 0 0; z-index: 49; background: var(--white); padding: 20px var(--pad) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: .35s var(--ease); }
.menu-mobile.is-open { opacity: 1; visibility: visible; }
.menu-mobile__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--urbanist); font-size: 24px; font-weight: 500; color: var(--ink); }
.menu-mobile__list .sub-menu a { padding-left: 20px; font-size: 18px; }
.menu-mobile__contact { margin-top: 30px; font-family: var(--urbanist); font-size: 16px; line-height: 2; color: var(--ink); }

/* ========== HERO ========== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); color: #fff; }
.hero__slide { position: absolute; inset: 0; transform: translateX(100%); transition: transform 1.2s cubic-bezier(.77, 0, .18, 1); }
.hero__slide.is-active { transform: translateX(0); z-index: 1; }
.hero__slide.is-prev { transform: translateX(-100%); }
.hero__slide.no-anim { transition: none; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .18) 110px, rgba(0, 0, 0, 0) 200px), linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 55%), linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 45%); pointer-events: none; }
.hero__content { position: absolute; left: var(--pad); right: var(--pad); top: 43.2%; z-index: 1; }
.hero__content .label { margin-bottom: 23px; }
.hero__title { font-family: var(--urbanist); font-size: 100px; font-weight: 500; line-height: 1; letter-spacing: -1px; color: #fff; }
.hero__link { position: absolute; right: 30px; top: 70.1%; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-family: var(--urbanist); font-size: 14px; font-weight: 600; letter-spacing: .5px; color: #fff; border-bottom: 1px solid #fff; padding-bottom: 3px; }
.hero__link .icon { font-size: 16px; transition: transform .3s var(--ease); }
.hero__link:hover .icon { transform: translateX(4px); }
.hero__tagline { position: absolute; left: var(--pad); right: var(--pad); top: 76%; z-index: 2; font-family: var(--urbanist); font-size: 32px; font-weight: 400; line-height: 1.25; color: #fff; pointer-events: none; }
.hero__dots { position: absolute; left: 50%; bottom: 28px; z-index: 3; display: flex; gap: 10px; transform: translateX(-50%); }
.hero__dots button { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background-color .3s, transform .3s; }
.hero__dots button[aria-selected="true"] { background: #fff; transform: scale(1.3); }

/* ========== KIM JESTEŚMY ========== */
.about { padding: 108px 0 0; }
.about .label { margin-bottom: 20px; }
.about__text { max-width: 673px; font-family: var(--urbanist); font-size: 17px; line-height: 1.5; color: var(--ink); }
.about__text strong { font-weight: 700; }
.about__text--lead { font-size: 27px; line-height: 1.25; max-width: 956px; margin-bottom: 36px; }
.about--investment { padding-bottom: 0; }
.about--investment .crumbs { margin-bottom: 40px; }

/* ========== USŁUGI ========== */
.services { padding: 128px 0 0; }
.services .label { margin-bottom: 20px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service { border: 1px solid var(--line); padding: 40px 40px 10px; min-height: 420px; }
.service__icon { display: block; width: 64px; height: 64px; color: var(--ink); margin: -12px 0 20px -4px; }
.service h3 { font-family: var(--urbanist); font-size: 24px; font-weight: 500; line-height: 1.25; color: var(--ink); padding-top: 25px; border-top: 1px solid var(--line); margin-bottom: 20px; }
.service p { margin-bottom: 20px; }
.service__link { margin-top: 18px; }
.service a { color: var(--ink); transition: opacity .3s; }
.service a:hover { opacity: .6; }

/* ========== W SPRZEDAŻY (karuzela) ========== */
.sale { padding: 107px 0 90px; }
.sale .label { margin-bottom: 20px; }
.sale__title { font-family: var(--urbanist); font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--ink); margin-bottom: 42px; }
.sale__title a:hover { opacity: .6; }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px; margin-inline: var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.house { scroll-snap-align: start; }
.house__img { display: block; width: 100%; height: 700px; overflow: hidden; cursor: pointer; background: var(--grey); }
.house__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.house:hover .house__img img { transform: scale(1.04); }
.house__name { font-family: var(--urbanist); font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--ink); margin-top: 10px; }
.house__name button { font-weight: inherit; text-align: left; }
.house__meta, .house__price { font-family: var(--urbanist); font-size: 16px; font-weight: 500; letter-spacing: 2px; line-height: 1.3; color: var(--ink); margin-top: 4px; }
.house__price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.status { font-family: var(--urbanist); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.status--wolny { border-color: var(--ink); color: var(--ink); }
.status--zarezerwowany { border-style: dashed; border-color: var(--ink); color: var(--ink); }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel__dots button { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .2); transition: background-color .3s; }
.carousel__dots button[aria-selected="true"] { background: #000; }

/* ========== PROCES + WARTOŚCI ========== */
.process { background: var(--grey); padding: 108px 0; }
.process .label { margin-bottom: 20px; }
.process__text { max-width: 956px; font-family: var(--urbanist); font-size: 27px; font-weight: 400; line-height: 1.25; color: var(--ink); }
.values { display: grid; grid-template-columns: 537px 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.values__list .label { margin-bottom: 40px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 30px 0 15px; font-family: var(--urbanist); font-size: 24px; font-weight: 500; line-height: 1.3; color: #1F2124; text-align: left; }
.acc__sign { position: relative; width: 14px; height: 14px; flex: none; }
.acc__sign::before, .acc__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #1F2124; }
.acc__sign::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.acc__item.is-open .acc__sign::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel > p { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel > p { padding: 10px 0 25px; }
.values__sketch { width: 100%; max-width: 720px; justify-self: center; mix-blend-mode: multiply; }

/* ========== BANER ========== */
.banner { position: relative; height: 650px; overflow: hidden; color: #fff; background: var(--ink); }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 60%); pointer-events: none; }
.banner__thumb { position: absolute; top: 80px; right: 30px; z-index: 1; width: 320px; }
.banner__thumb img { width: 320px; height: 180px; object-fit: cover; }
.banner__thumb span { display: block; margin-top: 12px; font-family: var(--urbanist); font-size: 16px; font-weight: 600; letter-spacing: .5px; line-height: 1.1; }
.banner__title { position: absolute; left: 30px; bottom: 60px; z-index: 1; font-family: var(--urbanist); font-size: 40px; font-weight: 400; line-height: 1.35; }
.banner__btn { position: absolute; right: 30px; bottom: 60px; z-index: 1; }

/* ========== CYTAT ========== */
.quote { padding: 110px var(--pad) 95px; }
.quote p { max-width: 890px; margin: 0 auto; text-align: center; font-family: var(--urbanist); font-size: 24px; font-weight: 700; line-height: 1.3; color: #000; }

/* ========== KONTAKT ========== */
.contact { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 535px); justify-content: center; column-gap: clamp(60px, 6vw, 110px); row-gap: 50px; padding: 0 var(--pad); align-items: center; }
.contact__info { display: flex; flex-direction: column; align-items: flex-start; }
.contact__title { font-family: var(--urbanist); font-size: 40px; font-weight: 500; line-height: 1.35; color: var(--ink); margin-bottom: 70px; }
.contact__info .label { margin: 0 0 20px; }
.contact__info .u-link, .contact__info p { font-family: var(--dm); font-size: 17px; letter-spacing: .5px; line-height: 1.5; color: #000; margin-bottom: 14px; }
.contact__info .contact__line { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.contact__info .u-link:last-of-type { margin-bottom: 42px; }
.contact__form { position: relative; justify-self: stretch; width: 100%; max-width: 535px; padding: 25px; overflow: hidden; }
.contact__form > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__form::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .3); }
.form { position: relative; z-index: 2; display: flex; flex-direction: column; color: #fff; }
.form__title { font-family: var(--urbanist); font-size: 20px; font-weight: 500; line-height: 1.3; margin-bottom: 20px; }
.form label { font-family: var(--urbanist); font-size: 11px; font-weight: 600; margin-bottom: 6px; }
.form input:not([type="checkbox"]), .form textarea, .form select { width: 100%; background: #fff; border: 1px solid var(--line); padding: 15px; font-family: var(--dm); font-size: 15px; color: rgba(0, 0, 0, .8); margin-bottom: 20px; border-radius: 0; appearance: none; }
.form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23090402' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; padding-right: 40px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(0, 0, 0, .5); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: var(--error) !important; box-shadow: inset 0 0 0 1px var(--error); }
.form textarea { resize: vertical; min-height: 70px; }
.form__check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; }
.form__check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.form__check label { margin: 0; font-family: var(--dm); font-size: 12px; font-weight: 400; line-height: 1.45; }
.form__check label a { text-decoration: underline; }
.form__check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 1px; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; padding: 12px 20px; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__error { background: #fff; color: var(--error); padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.form__ok { margin-top: 14px; padding: 12px 14px; background: #fff; color: var(--ink); font-family: var(--urbanist); font-size: 16px; font-weight: 600; }
.form__legal { margin-top: 14px; font-size: 11px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.form__legal a { text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; }
.contact--inline { padding: 0; grid-template-columns: 1fr; justify-content: start; }
.contact--inline .contact__form { justify-self: start; }

/* ========== STOPKA ========== */
.footer { margin-top: 110px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(0, 0, 0, .15); border-bottom: 1px solid rgba(0, 0, 0, .15); }
.footer__col { min-height: 300px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; }
.footer__col + .footer__col { border-left: 1px solid rgba(0, 0, 0, .15); }
.footer__col--logo { align-items: center; text-align: center; }
.logo--footer { color: rgba(0, 0, 0, .55); }
.footer__company { font-size: 12px; line-height: 1.6; color: var(--muted); }
.u-link--caps { font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.footer__addr { font-family: var(--urbanist); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(0, 0, 0, .6); }
.footer__contact { display: inline-flex; align-items: center; gap: 10px; font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; }
.footer__contact span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.footer__contact .icon { transition: transform .3s var(--ease); }
.footer__contact:hover .icon { transform: translateX(4px); }
.footer__menu { display: flex; flex-direction: column; gap: 20px; }
.footer__menu a { font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); transition: opacity .3s; }
.footer__menu a:hover { opacity: .55; }
.footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.footer__bottom > * { padding: 22px 30px; display: flex; align-items: center; }
.footer__bottom > p { display: block; }
.footer__bottom > * + * { border-left: 1px solid rgba(0, 0, 0, .15); }
.footer__social { justify-content: center; gap: 22px; font-size: 18px; }
.footer__social a:hover { opacity: .55; }
.footer__legal { gap: 10px 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer__legal-menu { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__legal a:hover, .footer__cookies:hover { opacity: .55; }
.footer__cookies { font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.footer__credit { letter-spacing: 1px; text-transform: none; color: var(--muted); }
.footer__credit a { text-decoration: underline; }
.footer__top { font-size: 16px; }

/* ========== SZCZEGÓŁY DOMU (okno) ========== */
.unit { width: min(1000px, calc(100vw - 32px)); margin: auto; max-height: min(90vh, 780px); padding: 0; border: 0; overflow: auto; background: #fff; color: var(--text); opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .45s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; }
.unit[open] { opacity: 1; transform: none; }
@starting-style { .unit[open] { opacity: 0; transform: translateY(14px); } }
.unit::backdrop { background: rgba(9, 4, 2, .55); }
.unit__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; font-size: 20px; color: var(--ink); }
.unit__grid { display: grid; grid-template-columns: 1fr 1fr; }
.unit__img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; background: var(--grey); }
.unit__body { padding: 44px 40px 40px; }
.unit__body h2 { font-family: var(--urbanist); font-size: 40px; font-weight: 500; line-height: 1.1; color: var(--ink); margin: 14px 0 18px; }
.unit__price { font-family: var(--urbanist); font-size: 30px; font-weight: 500; color: var(--ink); }
.unit__ppm { margin-bottom: 22px; }
.unit__specs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-bottom: 26px; }
.unit__specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.unit__specs dt { font-family: var(--urbanist); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.unit__specs dd { font-family: var(--urbanist); font-size: 18px; font-weight: 500; color: var(--ink); margin: 0; }
.unit__history { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 14px; }
.unit__history td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.unit__history td:last-child { text-align: right; color: var(--ink); }
.unit__omnibus { font-size: 13px; margin-bottom: 24px; }
.unit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.unit__card { font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; }

/* ========== KARTA DOMU / GALERIA (okno) ========== */
.karta { width: min(1200px, calc(100vw - 32px)); max-height: 92vh; margin: auto; padding: 0; border: 0; overflow: auto; background: #fff; opacity: 0; transition: opacity .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; }
.karta[open] { opacity: 1; }
@starting-style { .karta[open] { opacity: 0; } }
.karta::backdrop { background: rgba(9, 4, 2, .6); }
.karta__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 16px 14px 30px; background: #fff; border-bottom: 1px solid var(--line); }
.karta__head h2 { font-family: var(--urbanist); font-size: 20px; font-weight: 500; color: var(--ink); }
.karta__tools { display: flex; align-items: center; gap: 18px; }
.karta__dl { display: inline-flex; align-items: center; gap: 8px; font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; border-bottom: 1px solid currentColor; }
.karta__close { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; color: var(--ink); }
.karta__media { padding: 20px; background: var(--grey); }
.karta__media img { width: 100%; height: auto; margin: 0 auto; }

/* ========== CENNIK ========== */
.prices { padding: 10px 0 110px; }
.prices .label { margin-bottom: 20px; }
.prices__title { font-family: var(--urbanist); font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--ink); margin-bottom: 42px; }
.prices__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 40px; margin-top: 26px; font-size: 14px; }
.prices__foot .u-link { font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; }
.kk-admin-note { padding: 16px 20px; border: 1px dashed var(--line); font-size: 14px; }

/*
 * Wygląd cennika wtyczki DeweloperCeny.pl (klasy .dew-*), zawężony do .kk-dew,
 * żeby wygrywał z domyślnym stylem wtyczki niezależnie od wybranego w niej wyglądu.
 */
.kk-dew { font-family: var(--urbanist); color: var(--ink); }
.kk-dew .dew-table { width: 100%; border-collapse: collapse; border: 0; background: none; font-variant-numeric: tabular-nums; }
.kk-dew .dew-table thead th { text-align: left; background: none; font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); padding: 0 20px 18px 0; border: 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.kk-dew .dew-table td { padding: 24px 20px 24px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font-family: var(--urbanist); font-size: 16px; font-weight: 500; letter-spacing: 1px; color: var(--ink); white-space: nowrap; vertical-align: middle; }
.kk-dew .dew-unit-row { transition: background-color .3s var(--ease); }
.kk-dew .dew-unit-row:hover { background: var(--grey); }
.kk-dew .dew-col-nr strong { font-size: 24px; font-weight: 400; letter-spacing: 0; }
.kk-dew .dew-td-price strong { font-size: 20px; font-weight: 600; letter-spacing: .5px; }
.kk-dew .dew-table td.dew-col-cena_m2 { font-size: 14px; color: var(--muted); }
.kk-dew .dew-lokal-status { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--ink); border-radius: 0; background: none; color: var(--ink); }
.kk-dew .dew-status-zarezerwowany { border-style: dashed; }
.kk-dew .dew-status-sprzedany { color: var(--muted); border-color: var(--line); }
.kk-dew .dew-status-row-sprzedany .dew-td-price strong { text-decoration: line-through; color: var(--muted); }
.kk-dew .dew-table td.dew-col-akcje { text-align: right; padding-right: 0; }
.kk-dew .dew-akcje { display: inline-flex; flex-wrap: wrap; gap: 12px 28px; }
.kk-dew .dew-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-family: var(--urbanist); font-size: 14px; font-weight: 600; letter-spacing: .5px; color: #000; transition: opacity .3s; }
.kk-dew .dew-btn .icon, .kk-dew .dew-btn .dew-ikona { width: 18px; height: 18px; }
.kk-dew .dew-btn__tekst { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.kk-dew .dew-btn:hover { opacity: .55; background: none; color: #000; }
.kk-dew .dew-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .5px; border: 1px solid var(--line); border-radius: 0; background: none; padding: 3px 8px; }
.kk-dew .dew-unit-card { border: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; padding: 30px; }
.kk-dew .dew-card-number { font-size: 24px; font-weight: 400; }
.kk-dew .dew-card-price { font-size: 22px; font-weight: 600; }
.kk-dew .dew-card-area, .kk-dew .dew-card-ppm, .kk-dew .dew-card-meta { font-size: 14px; letter-spacing: 1px; color: var(--muted); }
.kk-dew input, .kk-dew select { border: 1px solid var(--line); border-radius: 0; padding: 10px 12px; font-family: var(--dm); }

/*
 * Tabela z wtyczki (.dew-inwestycja-wrap). Wtyczka ma cztery warianty wyglądu
 * (klasyczny, minimalny, nowoczesny, elegancki) z selektorami do (0,3,2),
 * dlatego tu prefiks .kk-dew .dew-inwestycja-wrap i zmienne wtyczki ustawione na barwy motywu.
 */
.kk-dew .dew-inwestycja-wrap {
  --dew-accent: var(--ink); --dew-accent-contrast: #fff; --dew-table-font: var(--urbanist); --dew-table-color: var(--ink);
  --dew-table-weight: 500; --dew-grid-width: 1px; --dew-grid-color: var(--line); --dew-btn-height: 0;
  --dew-el-tlo: #fff; --dew-el-karta: transparent; --dew-el-tekst: var(--ink); --dew-el-tekst-2: rgba(0, 0, 0, .6); --dew-el-tekst-3: var(--muted);
  --dew-el-linia: var(--line); --dew-el-linia-hover: var(--line); --dew-el-marka: var(--ink); --dew-el-marka-tlo: transparent;
  --dew-el-akcent: var(--ink); --dew-el-hover: var(--grey); --dew-el-mono: var(--urbanist);
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; max-width: none;
  font-family: var(--urbanist); font-size: 16px; color: var(--ink);
}
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-header { display: flex; justify-content: flex-end; margin: 0 0 24px; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-header:not(:has(.dew-inwestycja-prospekt)) { display: none; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-header h3, .kk-dew .dew-inwestycja-wrap .dew-inwestycja-address { display: none; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-prospekt a { display: inline-flex; align-items: center; gap: 8px; min-height: 0; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: none; color: #000; font-family: var(--urbanist); font-size: 14px; font-weight: 600; text-decoration: none; }
.kk-dew .dew-inwestycja-wrap .dew-table-responsive { border: 0; border-radius: 0; box-shadow: none; background: transparent; padding-bottom: 10px; scrollbar-color: var(--ink) var(--grey); }
.kk-dew .dew-inwestycja-wrap .dew-table-responsive::-webkit-scrollbar-track { background: var(--grey); border-radius: 0; }
.kk-dew .dew-inwestycja-wrap .dew-table-responsive::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 0; border: 0; }
.kk-dew .dew-inwestycja-wrap .dew-table-scrollarea::before { background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
.kk-dew .dew-inwestycja-wrap .dew-table-scrollarea::after { background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); }
.kk-dew .dew-inwestycja-wrap .dew-scroll-hint { font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 1px; color: var(--muted); }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table { border: 0; border-collapse: collapse; border-spacing: 0; margin: 0; background: transparent; font-family: var(--urbanist); color: var(--ink); font-variant-numeric: tabular-nums; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table thead th { padding: 0 20px 18px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--urbanist); font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; text-align: left; vertical-align: bottom; white-space: nowrap; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr,
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr.dew-status-row-zarezerwowany,
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr.dew-status-row-sprzedany { background: transparent; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td,
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td:first-child,
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td:last-child { padding: 24px 20px 24px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--urbanist); font-size: 16px; font-weight: 500; letter-spacing: .5px; text-align: left; vertical-align: middle; transition: background-color .3s var(--ease); }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr:hover td { background: var(--grey); border-color: var(--line); }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr.dew-status-row-sprzedany td { color: var(--muted); font-size: 16px; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table td.dew-col-nr strong { display: inline; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; color: var(--ink); font-size: 24px; font-weight: 400; letter-spacing: 0; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr.dew-status-row-sprzedany td.dew-col-nr strong { background: none; color: var(--muted); }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table td.dew-td-price,
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table td.dew-td-price strong,
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table td.dew-col-cena_laczna strong { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: .5px; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table td.dew-col-cena_m2 { color: var(--muted); font-size: 14px; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr.dew-status-row-sprzedany td.dew-td-price,
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr.dew-status-row-sprzedany td.dew-td-price strong { color: var(--muted); text-decoration: line-through; }
.kk-dew .dew-inwestycja-wrap .dew-lokal-status { display: inline-block; gap: 0; padding: 4px 9px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--urbanist); font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: 1.5px; text-transform: uppercase; }
.kk-dew .dew-inwestycja-wrap .dew-lokal-status::before { display: none; }
.kk-dew .dew-inwestycja-wrap .dew-lokal-status.dew-status-zarezerwowany { border-style: dashed; background: transparent; color: var(--ink); }
.kk-dew .dew-inwestycja-wrap .dew-lokal-status.dew-status-sprzedany { border-color: var(--line); background: transparent; color: var(--muted); }
.kk-dew .dew-inwestycja-wrap .dew-addons { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.kk-dew .dew-inwestycja-wrap .dew-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: rgba(0, 0, 0, .65); font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: .3px; }
.kk-dew .dew-inwestycja-wrap .dew-chip i { display: none; }
.kk-dew .dew-inwestycja-wrap .dew-chip__kwota { border: 0; padding: 0; }
.kk-dew .dew-inwestycja-wrap .dew-chip__kwota b { color: var(--ink); font-weight: 600; }
.kk-dew .dew-inwestycja-wrap .dew-chip__kwota em { color: var(--ink); font-style: normal; }
.kk-dew .dew-inwestycja-wrap .dew-chip__detal { color: var(--muted); font-size: 11px; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table td.dew-td-actions { width: 1%; padding-right: 0; text-align: right; white-space: nowrap; }
.kk-dew .dew-inwestycja-wrap .dew-akcje { display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 20px; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table .dew-btn,
.kk-dew .dew-inwestycja-wrap .dew-cards-list .dew-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #000; font-family: var(--urbanist); font-size: 14px; font-weight: 600; letter-spacing: .5px; text-decoration: none; transition: opacity .3s; }
.kk-dew .dew-inwestycja-wrap .dew-inwestycja-table .dew-btn:hover,
.kk-dew .dew-inwestycja-wrap .dew-cards-list .dew-btn:hover { background: transparent; color: #000; opacity: .55; }
.kk-dew .dew-inwestycja-wrap .dew-btn .dew-ikona { width: 18px; height: 18px; }
/* Podpisy przy ikonach (wtyczka chowa je w wariancie „elegancki”) */
.kk-dew .dew-inwestycja-wrap.dew-inwestycja-wrap .dew-inwestycja-table td.dew-td-actions .dew-btn.dew-btn-ikona,
.kk-dew .dew-inwestycja-wrap.dew-inwestycja-wrap .dew-cards-list .dew-btn.dew-btn-ikona { flex: none; width: auto; min-width: 0; padding: 0; }
.kk-dew .dew-inwestycja-wrap .dew-btn-ikona .dew-btn__tekst { position: static !important; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
.kk-dew .dew-inwestycja-wrap .dew-vat-info { margin: 20px 0 0; font-family: var(--dm); font-size: 14px; font-style: normal; color: var(--text); }
.kk-dew .dew-inwestycja-wrap .dew-unit-card { border: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; }

/* Okno historii cen wtyczki (dopinane przez wtyczkę do <body>) */
.dew-modal-overlay { background: rgba(9, 4, 2, .55) !important; }
.dew-modal-overlay .dew-modal { border-radius: 0; box-shadow: 0 20px 60px rgba(9, 4, 2, .2); font-family: var(--dm); color: var(--text); }
.dew-modal-overlay .dew-modal-header { background: #fff; border-bottom: 1px solid var(--line); }
.dew-modal-overlay .dew-modal-header h3 { font-family: var(--urbanist); font-size: 24px; font-weight: 500; color: var(--ink); }
.dew-modal-overlay .dew-modal-close { color: var(--ink); }

/* ========== RZUTY ========== */
.plans { padding: 0 0 110px; }
.plans .label { margin-bottom: 20px; }
.plans__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.plans__title { font-family: var(--urbanist); font-size: 27px; font-weight: 400; line-height: 1.25; color: var(--ink); }
.plans__tabs { display: flex; gap: 40px; }
.plans__tabs button { font-family: var(--urbanist); font-size: 14px; font-weight: 500; letter-spacing: 1px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.plans__tabs button:hover { color: #000; }
.plans__tabs button[aria-selected="true"] { color: #000; border-color: #000; }
.plans__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.plans__panel:not([hidden]) { animation: rise .7s var(--ease) both; }
.plans__img { margin: 0; border: 1px solid var(--line); padding: 50px; display: grid; place-items: center; min-height: 640px; }
.plans__img img { max-height: 560px; width: auto; }
.plans__rooms { border: 1px solid var(--line); padding: 50px 40px 40px; display: flex; flex-direction: column; }
.plans__total { font-family: var(--urbanist); font-size: 100px; font-weight: 500; line-height: 1; letter-spacing: -1px; color: var(--ink); }
.plans__total span { display: block; margin-top: 18px; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }
.plans__list { margin: 40px 0 34px; }
.plans__list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--urbanist); font-size: 17px; color: var(--ink); }
.plans__list li:first-child { border-top: 1px solid var(--line); }
.plans__list li span:last-child { font-weight: 600; white-space: nowrap; }
.plans__card { margin-top: auto; align-self: flex-start; font-family: var(--urbanist); font-size: 14px; font-weight: 600; letter-spacing: .5px; color: #000; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .3s; }
.plans__card:hover { opacity: .55; }
.plans__note { margin-top: 20px; font-size: 14px; }

/* ========== INWESTYCJA: PARAMETRY, GALERIA, LOKALIZACJA ========== */
.kk-content--narrow { max-width: 780px; }
.params { padding: 90px 0 0; }
.params .label { margin-bottom: 20px; }
.params__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; }
.params__item { border: 1px solid var(--line); padding: 30px 30px 26px; }
.params__item dt { font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.params__item dd { margin: 0; font-family: var(--urbanist); font-size: 40px; font-weight: 500; line-height: 1.1; color: var(--ink); }
.gallery { padding: 0 0 110px; }
.gallery .label { margin-bottom: 20px; }
.gallery__note { margin-bottom: 30px; font-size: 14px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--grey); cursor: zoom-in; }
/* Pierwsze zdjęcie duże, ostatnie domyka rząd (bez pustych pól przy dowolnej liczbie zdjęć) */
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item:last-child:nth-child(3n + 1):not(:first-child) { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.gallery__item:last-child:nth-child(3n + 2):not(:nth-child(2)) { grid-column: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.location { background: var(--grey); padding: 108px 0; }
.location__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: stretch; }
.location .label { margin-bottom: 20px; }
.location__title { font-family: var(--urbanist); font-size: 27px; line-height: 1.25; color: var(--ink); margin-bottom: 30px; }
.location__info p + p { margin-top: 14px; }
.location__info .u-link { font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; }
.location__map { position: relative; min-height: 460px; border: 1px solid var(--line); background: #EDEDED; }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-family: var(--urbanist); color: var(--ink); }
.location__load .icon { width: 40px; height: 40px; }
.location__load span { font-size: 16px; font-weight: 600; border-bottom: 1px solid currentColor; }
.location__load small { font-family: var(--dm); font-size: 12px; color: var(--muted); }

/* ========== LISTA INWESTYCJI ========== */
.investments { padding: 20px 0 110px; }
.investments__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inv-card__img { display: block; height: 560px; overflow: hidden; background: var(--grey); }
.inv-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inv-card:hover .inv-card__img img { transform: scale(1.04); }
.inv-card__status { margin-top: 16px; }
.inv-card__name { font-family: var(--urbanist); font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--ink); margin-top: 12px; }
.inv-card__meta { font-family: var(--urbanist); font-size: 16px; font-weight: 500; letter-spacing: 2px; color: var(--ink); margin-top: 4px; }
.inv-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; }
.inv-card__link span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ========== PODSTRONY ========== */
.page-head { padding: calc(var(--header-h) + 80px) 0 60px; }
.page-head .crumbs { margin-bottom: 40px; }
.page-head .label { margin-bottom: 20px; }
.page-head__title { font-family: var(--urbanist); font-size: 64px; font-weight: 500; line-height: 1.05; letter-spacing: -1px; color: var(--ink); max-width: 1100px; }
.page-head__lead { margin-top: 24px; font-size: 17px; max-width: 640px; }
.page-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 36px; }
.page-head__actions .u-link { font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; }
.page-head--contact { padding-bottom: 80px; }
.kk-content--intro { margin-top: 30px; max-width: 673px; }
.page-hero { position: relative; height: 70vh; min-height: 480px; overflow: hidden; color: #fff; background: var(--ink); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, 0) 200px), linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 60%); }
.page-hero__content { position: absolute; left: var(--pad); right: var(--pad); bottom: 60px; z-index: 1; }
.page-hero__content .label { margin-bottom: 20px; }
.page-hero__title { font-family: var(--urbanist); font-size: 80px; font-weight: 500; line-height: 1; letter-spacing: -1px; }
.page-crumbs { padding-top: 30px; }
.page-body { padding: 50px 0 20px; }
.page-body__date { margin-bottom: 20px; font-family: var(--urbanist); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.company { padding: 110px 0 0; }
.company__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 40px; }
.company .label { margin-bottom: 16px; }
.company p { font-size: 15px; line-height: 1.8; }
.company .u-link { margin-top: 8px; font-family: var(--urbanist); font-weight: 600; color: #000; }

/* Okruszki */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--ink); }

/* Treść z edytora bloków (O nas, dokumenty, nowe podstrony) */
.kk-content { max-width: 880px; font-size: 16px; line-height: 1.7; color: var(--text); }
.kk-content > * + * { margin-top: 1.1em; }
.kk-content h2, .kk-content h3, .kk-content h4 { font-family: var(--urbanist); color: var(--ink); line-height: 1.25; }
.kk-content h2 { font-size: 32px; font-weight: 500; margin-top: 2em; }
.kk-content h3 { font-size: 22px; font-weight: 500; margin-top: 1.6em; }
.kk-content h4 { font-size: 18px; font-weight: 600; }
.kk-content > :first-child { margin-top: 0; }
.kk-content p.label { margin-top: 3em; }
.kk-content p.label + h2 { margin-top: .6em; }
.kk-content .is-style-lead, .kk-content .has-large-font-size { font-family: var(--urbanist); font-size: 27px; line-height: 1.3; color: var(--ink); }
.kk-content a:not(.btn):not(.wp-block-button__link) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.kk-content a:not(.btn):hover { opacity: .65; }
.kk-content strong { color: var(--ink); }
.kk-content ul, .kk-content ol { padding-left: 1.3em; }
.kk-content li + li { margin-top: .5em; }
.kk-content li::marker { color: var(--ink); }
.kk-content blockquote { border-left: 1px solid var(--ink); padding-left: 24px; font-family: var(--urbanist); font-size: 22px; color: var(--ink); }
.kk-content hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.kk-content figure { margin-left: 0; margin-right: 0; }
.kk-content figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.kk-content .wp-block-table { overflow-x: auto; }
.kk-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.kk-content th, .kk-content td, .kk-content .wp-block-table th, .kk-content .wp-block-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border: 0; border-bottom: 1px solid var(--line); }
.kk-content tr:first-child td strong { font-family: var(--urbanist); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.kk-content .wp-block-table.is-style-stripes { border: 0; }
.kk-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: none; }
.kk-content .wp-block-button__link { display: inline-block; padding: 15px 30px; background: var(--ink); color: #fff; border-radius: 0; font-family: var(--urbanist); font-size: 14px; font-weight: 600; text-decoration: none; }
.kk-content .is-style-underline .wp-block-button__link { background: none; color: #000; padding: 0 0 2px; border-bottom: 1px solid currentColor; }
.kk-content .wp-block-image img { width: 100%; }
.kk-content .alignwide { max-width: 1200px; }
.kk-content .alignfull { max-width: none; margin-inline: calc(-1 * var(--pad)); }
.kk-content .aligncenter { margin-inline: auto; text-align: center; }
.kk-content .alignleft { float: left; margin: .3em 24px 1em 0; }
.kk-content .alignright { float: right; margin: .3em 0 1em 24px; }
.kk-content .kk-stats { gap: 30px; }
.kk-content .kk-stats .wp-block-column { border: 1px solid var(--line); padding: 30px; }
.kk-content .kk-stat__num { font-family: var(--urbanist); font-size: 48px; font-weight: 500; line-height: 1; color: var(--ink); }
.kk-reports li + li { margin-top: 10px; }
.kk-reports a { font-family: var(--urbanist); font-size: 16px; font-weight: 600; }

/* Wpisy (aktualności) */
.posts { padding: 0 0 40px; }
.posts__list { max-width: 880px; border-top: 1px solid var(--line); }
.post-row { padding: 30px 0; border-bottom: 1px solid var(--line); }
.post-row__title { margin: 10px 0 12px; font-family: var(--urbanist); font-size: 27px; font-weight: 400; line-height: 1.25; color: var(--ink); }
.post-row__title a:hover { opacity: .6; }
.nav-links { display: flex; gap: 16px; margin-top: 30px; font-family: var(--urbanist); font-weight: 600; }
.nav-links .current { border-bottom: 1px solid currentColor; }

/* ========== BANER COOKIES ========== */
.cc { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(520px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(9, 4, 2, .14); padding: 28px 28px 24px; opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.cc.is-visible { opacity: 1; transform: none; }
.cc__title { font-family: var(--urbanist); font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.cc__text { font-size: 14px; line-height: 1.55; }
.cc__text a { color: var(--ink); text-decoration: underline; }
.cc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.cc__btn { padding: 12px 18px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--urbanist); font-size: 14px; font-weight: 600; letter-spacing: .3px; transition: background-color .3s, color .3s; }
.cc__btn:hover { background: var(--grey); }
.cc__btn--dark { background: var(--ink); color: #fff; }
.cc__btn--dark:hover { background: #333; }
.cc__link { font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid currentColor; margin-left: 4px; }
.cc-modal { width: min(640px, calc(100vw - 32px)); max-height: min(90vh, 760px); margin: auto; padding: 0; border: 0; overflow: auto; background: #fff; color: var(--text); }
.cc-modal::backdrop { background: rgba(9, 4, 2, .55); }
.cc-modal__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 18px 16px 18px 30px; background: #fff; border-bottom: 1px solid var(--line); }
.cc-modal__head h2 { font-family: var(--urbanist); font-size: 22px; font-weight: 500; color: var(--ink); }
.cc-modal__close { width: 44px; height: 44px; display: grid; place-items: center; font-size: 20px; color: var(--ink); }
.cc-modal__intro { padding: 22px 30px 6px; font-size: 14px; }
.cc-modal__intro a { color: var(--ink); text-decoration: underline; }
.cc-modal__list { list-style: none; padding: 0 30px; }
.cc-cat { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cc-cat p { font-size: 13px; line-height: 1.55; margin-top: 6px; padding-right: 60px; }
.cc-switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cc-cat__title { font-family: var(--urbanist); font-size: 17px; font-weight: 600; color: var(--ink); }
.cc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-switch__ui { margin-left: auto; width: 44px; height: 24px; border-radius: 12px; background: #CFCFCF; position: relative; transition: background-color .25s; flex: none; }
.cc-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.cc-switch input:checked + .cc-switch__ui { background: var(--ink); }
.cc-switch input:checked + .cc-switch__ui::after { transform: translateX(20px); }
.cc-switch input:disabled + .cc-switch__ui { opacity: .45; }
.cc-switch input:focus-visible + .cc-switch__ui { outline: 2px solid var(--ink); outline-offset: 2px; }
.cc-switch__state { position: absolute; right: 56px; font-size: 12px; color: var(--muted); }
.cc-modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 22px 30px 26px; }

/* ========== LICZNIKI (strona główna i „O nas”) ========== */
.about__grid { display: block; }
.about--stats .about__grid { display: grid; grid-template-columns: minmax(0, 673px) minmax(0, 1fr); gap: 50px 90px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 26px 24px 24px 0; border-bottom: 1px solid var(--line); }
.stats__item:nth-child(odd) { border-right: 1px solid var(--line); }
.stats__item:nth-child(even) { padding-left: 24px; }
.stats__value { margin: 0; font-family: var(--urbanist); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -1px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats__affix { font-size: .45em; font-weight: 500; letter-spacing: 0; }
.stats__affix--pre { margin-right: .2em; }
.stats__affix--post { margin-left: .12em; }
.stats__label { font-size: 14px; line-height: 1.45; color: var(--text); max-width: 28ch; }
.stats--row { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top-color: var(--ink); }
.stats--row .stats__item, .stats--row .stats__item:nth-child(even) { padding: 30px 24px 28px; border-right: 1px solid var(--line); }
.stats--row .stats__item:first-child { padding-left: 0; }
.stats--row .stats__item:last-child { border-right: 0; }

/* ========== STRONA GŁÓWNA: PROCES, ETAPY, RYSUNEK ========== */
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 80px; }
.process__link { flex: none; display: inline-flex; align-items: center; gap: 10px; font-family: var(--urbanist); font-size: 14px; font-weight: 600; letter-spacing: .5px; color: #000; }
.process__link span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.process__link .icon { transition: transform .3s var(--ease); }
.steps-strip { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin: 70px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps-strip::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.steps-strip.is-in::before { transform: scaleX(1); }
.steps-strip__item { position: relative; padding: 34px 28px 0 0; }
.steps-strip__item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--grey); }
.steps-strip__num { display: block; margin-bottom: 26px; font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--muted); }
.steps-strip__icon { display: block; width: 46px; height: 46px; margin: 0 0 20px -3px; color: var(--ink); }
.steps-strip__title { margin-bottom: 8px; font-family: var(--urbanist); font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.steps-strip__text { max-width: 26ch; font-size: 14px; line-height: 1.5; }
.process .values { margin-top: 100px; }

/* Rysunek domu kreską (canvas) */
.blueprint { position: relative; margin: 0; }
.blueprint__canvas { display: block; width: 100%; height: 100%; }
.blueprint--inline { width: 100%; aspect-ratio: 16 / 11; max-height: 620px; }
.blueprint--hero { aspect-ratio: 5 / 4; border: 1px solid var(--line); background: #fff; }
.blueprint--hero .blueprint__canvas { position: absolute; inset: 0; }
.blueprint__plate { position: absolute; right: -1px; bottom: -1px; display: grid; grid-template-columns: auto auto; border: 1px solid var(--line); background: #fff; font-family: var(--urbanist); font-size: 10px; font-weight: 500; line-height: 1.3; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); }
.blueprint__cell { padding: 9px 14px; }
.blueprint__cell:nth-child(odd) { border-right: 1px solid var(--line); }
.blueprint__cell:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.blueprint__cell--brand { font-weight: 700; }

/* ========== STRONA „O NAS” ========== */
.about-hero { padding: calc(var(--header-h) + 44px) 0 40px; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 70px; align-items: center; }
.about-hero .crumbs { margin-bottom: 56px; }
.about-hero .label { margin-bottom: 22px; }
.about-hero__title { max-width: 12ch; font-family: var(--urbanist); font-size: 72px; font-weight: 500; line-height: 1.02; letter-spacing: -1.5px; color: var(--ink); }
.about-hero__lead { max-width: 46ch; margin-top: 28px; font-size: 17px; line-height: 1.6; }
.about-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.about-hero__actions .u-link { font-family: var(--urbanist); font-size: 14px; font-weight: 600; color: #000; }
.about-stats { padding: 40px 0 0; }

/* Przewijany pas haseł (tekst konturowy na przemian z pełnym) */
.marquee { overflow: hidden; padding: 90px 0 30px; }
.marquee__track { display: flex; width: max-content; animation: kk-marquee 48s linear infinite; }
.marquee__group { display: flex; flex: none; align-items: center; margin: 0; }
.marquee__word { padding: 0 .38em; font-family: var(--urbanist); font-size: clamp(56px, 8vw, 132px); font-weight: 500; line-height: 1.05; letter-spacing: -1px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee__word:nth-child(4n + 1) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
@keyframes kk-marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }

/* „Jak pracujemy”: etapy po lewej, przyklejona plansza z rysunkami po prawej */
.how { padding: 90px 0 30px; }
.how__head { max-width: 920px; margin-bottom: 60px; }
.how__head .label { margin-bottom: 20px; }
.how__title { font-family: var(--urbanist); font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 70px; align-items: start; }
.how__steps { margin: 0; padding: 0; list-style: none; }
.how__step { min-height: 52vh; padding: 36px 0 60px; border-top: 1px solid var(--line); opacity: .32; transition: opacity .5s var(--ease); }
.how__step.is-active { opacity: 1; }
.how__step:last-child { min-height: 40vh; }
.how__num { display: block; margin-bottom: 18px; font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--muted); }
.how__step-title { margin-bottom: 18px; font-family: var(--urbanist); font-size: 40px; font-weight: 500; line-height: 1.1; color: var(--ink); }
.how__text { max-width: 44ch; font-size: 16px; line-height: 1.7; }
.how__sheet { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 30px); }
.how__board { border: 1px solid var(--line); background-color: #fff; background-image: linear-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.scenes__svg { display: block; width: 100%; height: auto; color: var(--ink); }
.how__meta { display: flex; align-items: center; gap: 20px; padding: 14px 18px; border-top: 1px solid var(--line); background: #fff; font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--ink); }
.how__progress { position: relative; flex: 1; height: 1px; overflow: hidden; background: var(--line); }
.how__progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transition: transform .6s var(--ease); }

/* Sceny SVG: linie rysują się po kolei (długość ścieżki znormalizowana przez pathLength="1") */
.scene { opacity: 0; transition: opacity .3s var(--ease); }
.scene.is-active { opacity: 1; }
.scene path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0s linear .3s; }
.scene path.l2 { stroke-width: 1; opacity: .45; }
.scene path.dash { stroke-width: 1; stroke-dasharray: 6 6; stroke-dashoffset: 0; opacity: 0; transition: opacity .3s var(--ease); }
.scene.is-active path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) calc(var(--i, 0) * 60ms); }
.scene.is-active path.dash { opacity: .6; transition: opacity .8s var(--ease) calc(var(--i, 0) * 60ms); }
.scene text { fill: currentColor; font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; opacity: 0; transition: opacity .2s; }
.scene.is-active text { opacity: .8; transition: opacity .6s var(--ease) calc(var(--i, 0) * 60ms + .3s); }
html:not(.js) .scene:first-child { opacity: 1; }
html:not(.js) .scene path { stroke-dashoffset: 0; }
html:not(.js) .scene text { opacity: .8; }

/* Wartości: karty */
.about-values { padding: 80px 0 0; }
.about-values .label { margin-bottom: 20px; }
.about-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.value-card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 40px 40px 36px; overflow: hidden; border: 1px solid var(--line); }
.value-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .value-card:hover::after { transform: scaleX(1); } }
.value-card__num { font-family: var(--urbanist); font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--muted); }
.value-card__icon { width: 64px; height: 64px; margin: 34px 0 34px -4px; color: var(--ink); }
.value-card__title { margin-top: auto; margin-bottom: 14px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--urbanist); font-size: 32px; font-weight: 500; line-height: 1.15; color: var(--ink); }
.value-card__text { font-size: 15px; line-height: 1.6; }

/* Zdjęcie z cytatem (delikatna paralaksa tam, gdzie przeglądarka zna animacje sterowane przewijaniem) */
.band { position: relative; height: 640px; margin-top: 110px; overflow: hidden; color: #fff; background: var(--ink); }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 65%); pointer-events: none; }
.band__quote { position: absolute; left: var(--pad); right: var(--pad); bottom: 60px; z-index: 1; max-width: 960px; margin: 0; }
.band__quote blockquote { margin: 0 0 22px; }
.band__quote p { font-family: var(--urbanist); font-size: 44px; font-weight: 400; line-height: 1.2; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band__bg { animation: kk-band linear both; animation-timeline: view(); }
    @keyframes kk-band { from { transform: scale(1.16) translateY(-5%); } to { transform: scale(1.16) translateY(5%); } }
  }
}

/* Dane firmy i zaproszenie */
.about-cta { padding: 110px 0; }
.about-cta__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.about-cta__company { padding: 40px 40px 10px 0; border-right: 1px solid var(--line); }
.about-cta__company .label { margin-bottom: 20px; }
.about-cta__company p { margin-bottom: 16px; line-height: 1.8; }
.about-cta__company .u-link { font-family: var(--urbanist); font-weight: 600; color: #000; }
.about-cta__name { font-family: var(--urbanist); font-size: 24px; font-weight: 500; color: var(--ink); }
.about-cta__invite { padding: 40px 0 10px 40px; }
.about-cta__title { margin-bottom: 18px; font-family: var(--urbanist); font-size: 40px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.about-cta__text { max-width: 48ch; margin-bottom: 30px; font-size: 16px; line-height: 1.7; }

/* ========== ANIMACJE ========== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero__slide.is-active .hero__content > * { animation: rise 1.1s var(--ease) .5s both; }
  .hero__slide.is-active .hero__title { animation-delay: .65s; }
  .hero__slide.is-active .hero__link { animation: rise 1.1s var(--ease) .8s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .scene path, .scene.is-active path { stroke-dashoffset: 0; transition: none; }
  .scene.is-active text { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ========== RESPONSYWNOŚĆ ========== */
@media (max-width: 1280px) {
  .nav__list { gap: 28px; }
}
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header { background: var(--white); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
  .hero__title { font-size: 72px; }
  .services__grid, .params__grid { grid-template-columns: 1fr 1fr; }
  .service { min-height: 0; padding-bottom: 20px; }
  .carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .values { grid-template-columns: 1fr; }
  .about--stats .about__grid { grid-template-columns: 1fr; }
  .about-hero__grid, .how__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-hero__title { font-size: 56px; }
  .stats--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--row .stats__item:nth-child(odd) { padding-left: 0; }
  .stats--row .stats__item:nth-child(even) { border-right: 0; }
  .about-values__grid { grid-template-columns: 1fr 1fr; }
  .how__step-title { font-size: 32px; }
  .values__sketch { max-width: 520px; }
  .contact { grid-template-columns: minmax(0, 535px); padding: 0 var(--pad); gap: 50px; }
  .contact__form { justify-self: start; }
  .contact__title { margin-bottom: 40px; }
  .investments__grid, .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item:last-child:nth-child(n):not(:first-child) { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery__item:last-child:nth-child(2n):not(:first-child) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .location__grid { grid-template-columns: 1fr; }
  .page-head__title { font-size: 52px; }
  .page-hero__title { font-size: 60px; }
  .footer__bottom { grid-template-columns: 1fr 1fr; }
  .footer__legal { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid rgba(0, 0, 0, .15); justify-content: flex-start; }
}
@media (max-width: 900px) {
  .plans__head { flex-direction: column; align-items: flex-start; }
  .plans__panel { grid-template-columns: 1fr; }
  .plans__img { min-height: 0; padding: 30px; }
  .plans__img img { max-height: 460px; }
  .plans__total { font-size: 64px; }
  /* Tabela wtyczki jako karty (atrybuty data-label z wtyczki) */
  .kk-dew .dew-table thead { display: none; }
  .kk-dew .dew-table, .kk-dew .dew-table tbody { display: block; }
  .kk-dew .dew-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 22px 0; border-top: 1px solid var(--ink); }
  .kk-dew .dew-unit-row:hover { background: transparent; }
  .kk-dew .dew-table td { display: grid; gap: 2px; padding: 0; border: 0; white-space: normal; }
  .kk-dew .dew-table td::before { content: attr(data-label); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
  .kk-dew .dew-table .dew-col-nr { grid-row: 1; grid-column: 1; }
  .kk-dew .dew-table .dew-col-status { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; }
  .kk-dew .dew-table .dew-col-nr::before, .kk-dew .dew-table .dew-col-status::before, .kk-dew .dew-table .dew-col-akcje::before { display: none; }
  .kk-dew .dew-table td.dew-col-akcje { grid-column: 1 / -1; text-align: left; }
  /* To samo dla tabeli z wtyczki (mocniejszy prefiks niż warianty wtyczki) */
  .kk-dew .dew-inwestycja-wrap .dew-table-responsive { overflow: visible; padding: 0; }
  .kk-dew .dew-inwestycja-wrap .dew-table-scrollarea::before, .kk-dew .dew-inwestycja-wrap .dew-table-scrollarea::after, .kk-dew .dew-inwestycja-wrap .dew-scroll-hint { display: none; }
  .kk-dew .dew-inwestycja-wrap .dew-table-responsive > table.dew-inwestycja-table { display: block; width: 100% !important; min-width: 0; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table thead { display: none; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody { display: block; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 22px 0; border-top: 1px solid var(--ink); }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody tr:hover td { background: transparent; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td,
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td:first-child,
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td:last-child { display: grid; align-content: start; gap: 2px; width: auto; min-width: 0; padding: 0; border: 0; white-space: normal; text-align: left; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td::before { content: attr(data-label); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td.dew-col-nr { grid-row: 1; grid-column: 1; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td.dew-col-status { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td.dew-col-status::before,
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td.dew-td-actions::before { display: none; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td.dew-td-addons,
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td.dew-td-actions { grid-column: 1 / -1; }
  .kk-dew .dew-inwestycja-wrap .dew-inwestycja-table tbody td.dew-td-actions .dew-akcje { flex-wrap: wrap; gap: 12px 24px; }
  .company__grid { grid-template-columns: 1fr; }
  .steps-strip { grid-template-columns: 1fr 1fr; border-top: 0; margin-top: 50px; }
  .steps-strip::before, .steps-strip__item::before { display: none; }
  .steps-strip__item { padding: 26px 20px 26px 0; border-top: 1px solid var(--line); }
  .about-hero__grid { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__sheet { order: -1; top: calc(var(--header-h) + var(--admin-bar)); z-index: 2; padding: 10px 0 0; background: #fff; }
  .how__board { max-width: 560px; margin: 0 auto; }
  .scenes__svg { height: 30vh; }
  .how__step { min-height: 55vh; }
  .how__step:last-child { min-height: 40vh; }
  .process__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  :root { --pad: 20px; --header-h: 64px; }
  .hero__content { top: 34%; }
  .hero__title { font-size: 56px; }
  .hero__tagline { font-size: 24px; top: auto; bottom: 80px; }
  .hero__link { top: auto; bottom: 40px; left: var(--pad); right: auto; }
  .hero__dots { left: auto; right: var(--pad); transform: none; bottom: 44px; }
  .about { padding-top: 70px; }
  .about__text--lead { font-size: 22px; }
  .stats__value { font-size: 44px; }
  .stats--row .stats__item, .stats--row .stats__item:nth-child(even) { padding: 22px 16px 20px; }
  .steps-strip { grid-template-columns: 1fr; }
  .about-hero { padding-top: calc(var(--header-h) + 30px); }
  .about-hero .crumbs { margin-bottom: 36px; }
  .about-hero__title { font-size: 44px; }
  .blueprint--hero { aspect-ratio: auto; }
  .blueprint--hero .blueprint__canvas { position: relative; height: auto; aspect-ratio: 10 / 9; }
  .blueprint__plate { position: static; grid-template-columns: 1fr auto; border-width: 1px 0 0; }
  .marquee { padding-top: 60px; }
  .how { padding-top: 70px; }
  .how__title { font-size: 28px; }
  .how__step-title { font-size: 28px; }
  .about-values__grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; }
  .band { height: 500px; margin-top: 80px; }
  .band__quote p { font-size: 28px; }
  .about-cta { padding: 80px 0; }
  .about-cta__grid { grid-template-columns: 1fr; }
  .about-cta__company { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-cta__invite { padding: 30px 0 0; }
  .about-cta__title { font-size: 32px; }
  .services, .sale, .params { padding-top: 80px; }
  .services__grid, .params__grid, .investments__grid { grid-template-columns: 1fr; }
  .carousel__track { grid-auto-columns: 82%; }
  .house__img { height: 460px; }
  .inv-card__img { height: 420px; }
  .process { padding: 80px 0; }
  .process__text { font-size: 22px; }
  .banner { height: 560px; }
  .banner__thumb { width: 200px; top: 30px; right: 20px; }
  .banner__thumb img { width: 200px; height: 112px; }
  .banner__title { font-size: 30px; left: 20px; bottom: 100px; right: 20px; }
  .banner__btn { left: 20px; right: auto; bottom: 30px; }
  .quote { padding: 80px var(--pad); }
  .quote p { font-size: 20px; }
  .contact__title { font-size: 32px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item:first-child, .gallery__item:last-child:nth-child(2n):not(:first-child) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .location { padding: 80px 0; }
  .location__map { min-height: 340px; }
  .page-head { padding-top: calc(var(--header-h) + 50px); padding-bottom: 40px; }
  .page-head__title { font-size: 40px; }
  .page-hero__title { font-size: 44px; }
  .kk-content .is-style-lead { font-size: 21px; }
  .kk-content h2 { font-size: 26px; }
  .footer { margin-top: 80px; }
  .footer__cols, .footer__bottom { grid-template-columns: 1fr; }
  .footer__col { min-height: 0; padding: 36px var(--pad); }
  .footer__col + .footer__col, .footer__bottom > * + * { border-left: 0; border-top: 1px solid rgba(0, 0, 0, .15); }
  .footer__col--logo { align-items: flex-start; text-align: left; }
  .footer__social { justify-content: flex-start; }
  .unit__grid { grid-template-columns: 1fr; }
  .unit__img { min-height: 240px; height: 240px; }
  .unit__body { padding: 28px 22px; }
  .cc { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px 20px; }
  .cc__btn { flex: 1 1 auto; }
  .cc-modal__list, .cc-modal__intro, .cc-modal__actions { padding-left: 20px; padding-right: 20px; }
  .cc-cat p { padding-right: 0; }
}
