/* =========================================================
   PRZYSTANEK 88 – zakładka inwestycji (Denali)
   Wymaga: Bootstrap 5.3 (CSS + bundle JS) – już na stronie.
   Wszystkie style są zamknięte w .p88 i nie wpływają na resztę strony.
   Kierunek: nowoczesna strona deweloperska – duże zdjęcia w zaokrąglonych kadrach,
   dużo powietrza, czysta typografia Montserrat, kafelki (bento), spokojne animacje.
   ========================================================= */
.p88 {
  --p88-navy: #2e3f51;        /* kolor firmowy – grafit */
  --p88-navy-deep: #243241;
  --p88-orange: #e95c20;      /* kolor firmowy – pomarańcz */
  --p88-orange-ink: #c2470f;  /* pomarańcz do drobnego tekstu */
  --p88-paper: #f5f4f5;       /* kolor firmowy – jasne tło */
  --p88-white: #ffffff;
  --p88-ink: #1f2a36;
  --p88-muted: #66717d;
  --p88-line: #e6e4e7;
  --p88-ok: #2f8f5b;
  --p88-sold: #9aa3ad;
  --p88-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --p88-sticky-top: 0px;      /* wysokość stałego menu strony, jeśli menu jest "fixed" */
  --p88-r-lg: 28px;           /* duże zaokrąglenia: zdjęcia, karty sekcji */
  --p88-r: 16px;
  --p88-ease: cubic-bezier(.2,.7,.2,1);

  font-family: var(--p88-font);
  color: var(--p88-ink);
  background: var(--p88-white);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}
.p88 *, .p88 *::before, .p88 *::after { box-sizing: border-box; }
.p88 h1, .p88 h2, .p88 h3, .p88 h4 { font-family: var(--p88-font); color: var(--p88-navy); font-weight: 600; text-wrap: balance; letter-spacing: -0.025em; }
.p88 h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); line-height: 1.08; margin: 0; }
.p88 h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .4rem; }
.p88 p { margin: 0 0 1rem; }
.p88 :where(a) { color: var(--p88-navy); }
.p88 .p88-num { font-variant-numeric: tabular-nums; }
.p88 :focus-visible { outline: 3px solid var(--p88-orange); outline-offset: 3px; }

.p88-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p88-muted); margin-bottom: 1rem; }
.p88-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--p88-orange); }
.p88-lead { font-size: 1.08rem; color: var(--p88-muted); max-width: 52ch; }
.p88-note { font-size: .8rem; color: var(--p88-muted); }
.p88-section { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.p88-section--paper { background: var(--p88-paper); }
.p88-head { display: grid; gap: 1.25rem 4rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); align-items: end; }
@media (min-width: 992px) { .p88-head { grid-template-columns: 1.1fr 1fr; } .p88-head .p88-lead { margin: 0; justify-self: end; } }

/* ---------- przyciski ---------- */
.p88-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .95rem; padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .25s var(--p88-ease), color .25s, border-color .25s, transform .25s var(--p88-ease), box-shadow .25s; }
.p88-btn:hover { transform: translateY(-2px); }
.p88-btn--primary { background: var(--p88-orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(233,92,32,.8); }
.p88-btn--primary:hover { background: #d24f17; color: #fff; }
.p88-btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.p88-btn--glass:hover { background: #fff; color: var(--p88-navy); }
.p88-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.p88-btn--ghost:hover { background: #fff; color: var(--p88-navy); }
.p88-btn--outline { background: transparent; color: var(--p88-navy); border-color: var(--p88-line); }
.p88-btn--outline:hover { border-color: var(--p88-navy); background: var(--p88-navy); color: #fff; }
.p88-btn--sm { padding: .55rem 1.05rem; font-size: .85rem; }

/* ---------- HERO: zdjęcie kamienicy w zaokrąglonym kadrze ---------- */
.p88-hero { padding: 12px 12px 0; }
.p88-hero__frame { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--p88-r-lg); min-height: clamp(560px, 82vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--p88-navy); }
.p88-hero__photo { position: absolute; inset: 0; z-index: -2; }
.p88-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; display: block; }
.p88-hero__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,50,65,.82) 0%, rgba(36,50,65,.55) 45%, rgba(36,50,65,.05) 80%), linear-gradient(0deg, rgba(36,50,65,.85) 0%, rgba(36,50,65,0) 45%); }
/* duże, półprzezroczyste 88 */
.p88-hero__big { position: absolute; z-index: -1; right: clamp(-1.5rem, -1.5vw, 0rem); bottom: clamp(7.5rem, 5rem + 6vw, 10rem); font-weight: 700; font-size: clamp(11rem, 4rem + 26vw, 30rem); line-height: .78; letter-spacing: -0.07em; color: rgba(255,255,255,.2); pointer-events: none; user-select: none; }
@media (max-width: 767.98px) { .p88-hero__big { bottom: auto; top: 1.5rem; color: rgba(255,255,255,.14); } }
.p88-hero__content { width: 100%; max-width: 1320px; margin: 0 auto; padding: clamp(6rem, 4rem + 6vw, 9rem) clamp(1.25rem, 1rem + 3vw, 4.5rem) 0; }
.p88-pill { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 1.25rem; }
.p88 .p88-title { color: #fff; font-weight: 600; font-size: clamp(3rem, 1.6rem + 6vw, 7rem); line-height: .95; letter-spacing: -0.045em; margin: 0; }
.p88 .p88-title span { color: var(--p88-orange); }
.p88-hero__claim { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); font-weight: 500; letter-spacing: -0.015em; margin: 1rem 0 0; color: #fff; }
.p88-hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 40ch; margin: .75rem 0 2rem; }
.p88-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.p88-hero__facts { width: calc(100% - 2 * clamp(.75rem, .5rem + 1.5vw, 2rem)); max-width: 1320px; margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) auto clamp(.75rem, .5rem + 1.5vw, 2rem); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-radius: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
@media (min-width: 768px) { .p88-hero__facts { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.p88-hero__facts > div { padding: 1.1rem 1.4rem; min-width: 0; }
.p88-hero__facts > div + div { border-left: 1px solid rgba(255,255,255,.18); }
@media (max-width: 767.98px) { .p88-hero__facts > div:nth-child(3) { border-left: 0; } .p88-hero__facts > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); } }
.p88-hero__facts dt { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.p88-hero__facts dt.is-accent { color: #ff8a55; }
.p88-hero__facts dd { margin: .2rem 0 0; font-size: .78rem; color: rgba(255,255,255,.72); }

/* animacje wejścia nagłówka */
@media (prefers-reduced-motion: no-preference) {
  .p88-hero__photo img { animation: p88-zoom 2.6s var(--p88-ease) both; }
  .p88-hero__big { animation: p88-fade-left 1.6s var(--p88-ease) .2s both; }
  .p88-pill, .p88-title, .p88-hero__claim, .p88-hero__lead, .p88-hero__cta, .p88-hero__facts { animation: p88-up 1s var(--p88-ease) both; }
  .p88-pill { animation-delay: .15s; } .p88-title { animation-delay: .25s; } .p88-hero__claim { animation-delay: .4s; } .p88-hero__lead { animation-delay: .5s; } .p88-hero__cta { animation-delay: .6s; } .p88-hero__facts { animation-delay: .75s; }
}
@keyframes p88-zoom { from { transform: scale(1.08); } }
@keyframes p88-fade-left { from { transform: translateX(6%); opacity: 0; } }
@keyframes p88-up { from { transform: translateY(28px); opacity: 0; } }

/* ---------- podnawigacja ---------- */
.p88-subnav { position: sticky; top: var(--p88-sticky-top); z-index: 20; padding-block: .75rem; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.p88-subnav__track { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: .3rem; border-radius: 999px; background: var(--p88-paper); width: max-content; max-width: 100%; }
.p88-subnav__track::-webkit-scrollbar { display: none; }
.p88-subnav a { flex: none; font-size: .85rem; font-weight: 600; color: var(--p88-muted); text-decoration: none; padding: .5rem .95rem; border-radius: 999px; white-space: nowrap; transition: background-color .2s, color .2s; }
.p88-subnav a:hover { color: var(--p88-navy); }
.p88-subnav a.is-active { color: #fff; background: var(--p88-navy); }

/* ---------- Lokalizacja: kafelki (bento) ---------- */
.p88-bento { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .p88-bento { grid-template-columns: repeat(3, minmax(0,1fr)); } .p88-bento__map { grid-column: 1 / -1; } }
@media (min-width: 992px) { .p88-bento { grid-template-columns: 2.2fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); } .p88-bento__map { grid-column: 1; grid-row: 1 / span 3; } }
.p88-bento__map { border-radius: var(--p88-r-lg); overflow: hidden; min-height: 280px; }
.p88-bento__map img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--p88-ease); }
.p88-bento__map:hover img { transform: scale(1.03); }
.p88-bento__tile { border-radius: var(--p88-r-lg); background: var(--p88-paper); padding: clamp(1.4rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 150px; }
.p88-bento__tile b { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--p88-navy); font-variant-numeric: tabular-nums; }
.p88-bento__tile span { font-size: .95rem; color: var(--p88-muted); }
@media (max-width: 767.98px) { .p88-bento__tile { min-height: 0; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 1rem; padding: 1.1rem 1.4rem; border-radius: 20px; } .p88-bento__tile b { font-size: 2rem; white-space: nowrap; } .p88-bento__map { min-height: 220px; } }
.p88-bento__tile.is-dark { background: var(--p88-navy); }
.p88-bento__tile.is-dark b { color: #ff8a55; }
.p88-bento__tile.is-dark span { color: rgba(255,255,255,.75); }

/* ---------- Lokale ---------- */
.p88-filters { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: flex-end; margin: 2rem 0 1.25rem; }
.p88-filter-group { min-width: 0; }
.p88-filter-group > span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--p88-muted); margin-bottom: .5rem; }
.p88-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.p88-chip { border: 1px solid var(--p88-line); background: var(--p88-white); color: var(--p88-ink); font: 500 .86rem/1 var(--p88-font); padding: .65rem 1rem; border-radius: 999px; cursor: pointer; transition: all .2s; }
.p88-chip:hover { border-color: var(--p88-navy); }
.p88-chip[aria-pressed="true"] { background: var(--p88-navy); border-color: var(--p88-navy); color: #fff; }
.p88-select { font: 500 .86rem var(--p88-font); padding: .6rem 2.2rem .6rem 1rem; border: 1px solid var(--p88-line); border-radius: 999px; background-color: var(--p88-white); color: var(--p88-ink); }
.p88-count { margin-left: auto; font-size: .85rem; color: var(--p88-muted); }

.p88-table-wrap { overflow-x: auto; background: var(--p88-white); border-radius: 20px; }
.p88-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 760px; }
.p88-table th { color: var(--p88-muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 1.1rem 1.25rem; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--p88-line); }
.p88-table td { padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--p88-line); vertical-align: middle; }
.p88-table tbody tr:last-child td { border-bottom: 0; }
.p88-table tbody tr { cursor: pointer; transition: background-color .2s; }
.p88-table tbody tr:hover { background: #faf7f5; }
.p88-table .p88-unit { font-weight: 700; color: var(--p88-navy); }
.p88-table .p88-price { font-weight: 600; color: var(--p88-navy); white-space: nowrap; }
.p88-table tbody tr:hover .p88-btn--outline { background: var(--p88-orange); border-color: var(--p88-orange); color: #fff; }
.p88-table .is-sold { color: var(--p88-sold); }
.p88-table .is-sold .p88-price { text-decoration: line-through; color: var(--p88-sold); }

.p88-status { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }
.p88-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p88-status--1 { color: var(--p88-ok); background: #e9f5ee; }
.p88-status--2 { color: #8a5d00; background: #fbf1d9; }
.p88-status--3 { color: #6c757d; background: #eceef0; }

.p88-cards { display: none; gap: .75rem; }
.p88-card { background: var(--p88-white); border: 0; border-radius: 20px; padding: 1.2rem 1.25rem; display: grid; gap: .7rem; cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit; transition: transform .25s var(--p88-ease), box-shadow .25s; }
.p88-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(46,63,81,.45); }
.p88-card__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.p88-card__unit { font-size: 1.3rem; font-weight: 700; color: var(--p88-navy); }
.p88-card__meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .86rem; color: var(--p88-muted); }
.p88-card__bottom { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-top: .7rem; border-top: 1px solid var(--p88-line); }
.p88-card__price { font-size: 1.2rem; font-weight: 700; color: var(--p88-navy); }
.p88-card__more { font-size: .82rem; font-weight: 600; color: var(--p88-orange-ink); }
@media (max-width: 767.98px) { .p88-table-wrap { display: none; } .p88-cards { display: grid; } .p88-count { margin-left: 0; width: 100%; } }
.p88-empty { padding: 2rem; text-align: center; color: var(--p88-muted); background: var(--p88-white); border-radius: 20px; }

/* ---------- Rzuty ---------- */
.p88-plans { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.p88-plans h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.p88-plans .nav-pills { background: var(--p88-white); padding: .3rem; border-radius: 999px; display: inline-flex; }
.p88-plans .nav-pills .nav-link { font: 600 .88rem var(--p88-font); color: var(--p88-muted); border-radius: 999px; padding: .55rem 1.2rem; }
.p88-plans .nav-pills .nav-link.active { background: var(--p88-navy); color: #fff; }
.visually-hidden {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden:not(caption) {
    position: absolute !important;
}
.p88-plan { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 992px) { .p88-plan { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.p88-plan__img { background: #fff; border-radius: var(--p88-r-lg); padding: 1.25rem; overflow-x: auto; }
.p88-plan__img img { width: 100%; min-width: 520px; display: block; }
.p88-plan__list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.p88-plan__list button { width: 100%; display: grid; grid-template-columns: 12px auto 1fr auto; gap: .8rem; align-items: center; padding: .9rem 1.1rem; background: var(--p88-white); border: 0; border-radius: var(--p88-r); font: inherit; color: inherit; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; transition: transform .2s var(--p88-ease), box-shadow .2s; }
.p88-plan__list button:hover { transform: translateX(4px); box-shadow: 0 10px 24px -18px rgba(46,63,81,.5); }
.p88-swatch { width: 12px; height: 12px; border-radius: 50%; }
.p88-plan__list b { color: var(--p88-navy); }
.p88-plan__list small { color: var(--p88-muted); }
.p88-plan__list .p88-plan__price { font-weight: 600; color: var(--p88-navy); white-space: nowrap; }

/* ---------- Modal lokalu ---------- */
.p88-modal .modal-content { border: 0; border-radius: var(--p88-r-lg); font-family: var(--p88-font); color: var(--p88-ink); overflow: hidden; }
.p88-modal .modal-header { border: 0; padding: 1.4rem 1.6rem .4rem; }
.p88 .p88-modal .modal-title { color: var(--p88-navy); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0; }
.p88-modal .modal-body { padding: 1rem 1.6rem 1.6rem; }
.p88-mgrid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .p88-mgrid { grid-template-columns: 1.4fr 1fr; } }
.p88-mplan { background: var(--p88-paper); border-radius: 20px; padding: 1rem; overflow-x: auto; }
.p88-mplan img { width: 100%; min-width: 480px; display: block; mix-blend-mode: multiply; }
.p88-mfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.25rem; }
.p88-mfacts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--p88-muted); font-weight: 600; }
.p88-mfacts dd { margin: .15rem 0 0; font-weight: 600; color: var(--p88-navy); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.p88-mfacts .is-big dd { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; }
.p88-rooms { width: 100%; font-size: .9rem; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 1.25rem; }
.p88-rooms td { padding: .5rem 0; border-bottom: 1px solid var(--p88-line); }
.p88-rooms td:last-child { text-align: right; font-weight: 600; }

/* ---------- Standard / galeria ---------- */
.p88-std { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .p88-std { grid-template-columns: 1.35fr 1fr; gap: 4.5rem; align-items: center; } }
.p88-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.p88-gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--p88-r-lg); position: relative; }
.p88-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--p88-ease); }
.p88-gallery button:hover img { transform: scale(1.05); }
.p88-gallery .g1 { grid-column: span 2; aspect-ratio: 16/10; }
.p88-gallery .g2, .p88-gallery .g3 { aspect-ratio: 1/1; }
.p88-std .p88-lead { margin-top: 1rem; }
.p88-included { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.p88-included li { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem .7rem .8rem; background: var(--p88-paper); border-radius: 999px; }
.p88-included svg { width: 20px; height: 20px; color: #fff; background: var(--p88-orange); border-radius: 50%; padding: 4px; flex: none; }
.p88-included strong { color: var(--p88-navy); font-weight: 600; font-size: .95rem; }
.p88-lightbox .modal-content { background: transparent; border: 0; }
.p88-lightbox img { width: 100%; border-radius: var(--p88-r-lg); }
.p88-lightbox .btn-close { position: absolute; top: -2.25rem; right: 0; filter: invert(1) grayscale(1) brightness(2); opacity: 1; }
.p88-lightbox figcaption { color: #fff; font-size: .85rem; margin-top: .6rem; text-align: center; font-family: var(--p88-font); }

/* ---------- Dla inwestora: karta ---------- */
#p88-inwestor { background: transparent; padding-block: 0; }
.p88-invband { position: relative; overflow: hidden; isolation: isolate; background: var(--p88-navy); color: #fff; border-radius: var(--p88-r-lg); padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 992px) { .p88-invband { grid-template-columns: auto 1fr; } }
.p88-invband::after { content: ""; position: absolute; z-index: -1; width: 40rem; height: 40rem; left: -14rem; top: -18rem; border-radius: 50%; background: radial-gradient(circle, rgba(233,92,32,.35), rgba(233,92,32,0) 65%); }
.p88-invband h2 { color: #fff; }
.p88-invband .p88-eyebrow { color: rgba(255,255,255,.7); }
.p88-invband .p88-lead { color: rgba(255,255,255,.78); margin: 1rem 0 1.75rem; }
.p88-roi-hero { font-size: clamp(4rem, 2.5rem + 6vw, 8rem); font-weight: 600; line-height: .9; letter-spacing: -0.05em; color: var(--p88-orange); font-variant-numeric: tabular-nums; }
.p88-roi-hero small { display: block; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.75); margin-top: 1rem; max-width: 18ch; line-height: 1.4; }

/* ---------- Harmonogram: pasek postępu ---------- */
.p88-line { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .p88-line { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.p88-stop { position: relative; background: var(--p88-paper); border-radius: 20px; padding: 1.5rem 1.4rem 1.4rem; overflow: hidden; }
.p88-stop::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--p88-line); }
.p88-stop.is-done::before { background: var(--p88-navy); }
.p88-stop.is-now::before { background: linear-gradient(90deg, var(--p88-orange) 55%, rgba(255,255,255,.2) 55%); }
.p88-stop__dot { display: none; }
.p88-stop__state { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; color: var(--p88-muted); }
.p88-stop.is-done .p88-stop__state { color: var(--p88-ok); }
.p88-stop.is-now { background: var(--p88-navy); }
.p88-stop.is-now h3 { color: #fff; }
.p88-stop.is-now p { color: rgba(255,255,255,.75); }
.p88-stop.is-now .p88-stop__state { color: #ff8a55; }
.p88-stop p { color: var(--p88-muted); font-size: .92rem; margin: 0; }

/* ---------- FAQ ---------- */
.p88-faq { display: grid; gap: 10px; }
.p88-faq .accordion-item { border: 0; background: var(--p88-white); border-radius: 20px !important; overflow: hidden; }
.p88-faq .accordion-button { font: 600 1.02rem var(--p88-font); color: var(--p88-navy); background: transparent; padding: 1.25rem 1.5rem; box-shadow: none; }
.p88-faq .accordion-button:not(.collapsed) { color: var(--p88-orange-ink); }
.p88-faq .accordion-body { padding: 0 1.5rem 1.4rem; color: var(--p88-muted); max-width: 70ch; }

/* ---------- Kontakt: karta w kadrze jak nagłówek ---------- */
#p88-kontakt { padding: 0 12px; background: transparent; }
#p88-kontakt > .container { background: var(--p88-navy); border-radius: var(--p88-r-lg); padding: clamp(2rem, 1.5rem + 4vw, 5.5rem) clamp(1.25rem, 1rem + 3vw, 4.5rem); max-width: none; color: #e8edf2; position: relative; overflow: hidden; isolation: isolate; }
#p88-kontakt > .container::after { content: "88"; position: absolute; z-index: -1; right: -2rem; bottom: -5rem; font-weight: 700; font-size: clamp(12rem, 8rem + 16vw, 26rem); line-height: .8; letter-spacing: -0.07em; color: rgba(255,255,255,.05); pointer-events: none; }
.p88-contact { display: grid; gap: 2.5rem; max-width: 1296px; margin: 0 auto; }
@media (min-width: 992px) { .p88-contact { grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: center; } }
#p88-kontakt h2 { color: #fff; }
#p88-kontakt .p88-eyebrow { color: rgba(255,255,255,.7); }
#p88-kontakt .p88-lead { color: rgba(255,255,255,.75); margin-top: 1rem; }
.p88-person { margin-top: 2rem; }
.p88-person small { color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.p88-person .p88-person__phone { display: block; color: #fff; text-decoration: none; font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); letter-spacing: -0.02em; margin: .35rem 0 .25rem; font-variant-numeric: tabular-nums; }
.p88-person .p88-person__phone:hover { color: #ff8a55; }
.p88-person .p88-person__mail { display: block; color: #fff; text-decoration: none; font-weight: 500; margin-bottom: .4rem; }
.p88-person span { display: block; color: rgba(255,255,255,.6); font-size: .92rem; }
.p88-form { background: var(--p88-white); color: var(--p88-ink); border-radius: 20px; padding: clamp(1.25rem, 1rem + 1.5vw, 2.4rem); display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.p88-form .p88-full { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .p88-form { grid-template-columns: 1fr; } }
.p88-form label { display: block; font-size: .8rem; font-weight: 600; color: var(--p88-navy); margin-bottom: .35rem; }
.p88-form input, .p88-form select, .p88-form textarea { width: 100%; font: 500 .95rem var(--p88-font); padding: .8rem 1rem; border: 1px solid var(--p88-line); border-radius: 12px; background: var(--p88-paper); color: var(--p88-ink); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.p88-form input:focus, .p88-form select:focus, .p88-form textarea:focus { border-color: var(--p88-navy); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(46,63,81,.1); }
.p88-form .p88-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .78rem; color: var(--p88-muted); font-weight: 500; }
.p88-form .p88-consent input { width: auto; margin-top: .2rem; }
.p88-form__msg { font-size: .9rem; font-weight: 600; padding: .8rem 1rem; border-radius: 12px; }
.p88-form__msg.is-ok { background: #e9f5ee; color: #1f6b42; }
.p88-form__msg.is-err { background: #fdecea; color: #a12a1b; }

/* ---------- Disclaimer + pasek mobilny ---------- */
.p88-legal { font-size: .75rem; color: var(--p88-muted); padding-block: 2rem 5.5rem; }
@media (min-width: 768px) { .p88-legal { padding-bottom: 2.5rem; } }
.p88-mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .4rem; background: rgba(255,255,255,.88); border-radius: 999px; box-shadow: 0 12px 30px -12px rgba(36,50,65,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.p88-mbar .p88-btn { padding: .8rem .5rem; }
.p88-mbar .p88-btn--outline { border-color: transparent; }
@media (min-width: 768px) { .p88-mbar { display: none; } }

/* ---------- spokojne pojawianie się przy przewijaniu (gdzie przeglądarka to wspiera) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .p88-head, .p88-bento > *, .p88-table-wrap, .p88-plans, .p88-gallery button, .p88-std > div:last-child, .p88-invband, .p88-stop, .p88-faq .accordion-item, .p88-form {
      animation: p88-in linear both; animation-timeline: view(); animation-range: entry 0% cover 25%;
    }
  }
}
@keyframes p88-in { from { opacity: 0; transform: translateY(36px); } }
@media (prefers-reduced-motion: reduce) { .p88 * { transition: none !important; animation: none !important; } }
