/* DS AUTO Warszawa: nowy homepage, projekt na Design canvas (28.11.2026).
   Język wizualny: Poradnik Katalizatorów (kolory, typografia, karty) + DS AUTO (ciemna zieleń, pełne zdjęcia). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #292B2C;
  --muted: #5B625E;
  --line: #E0E8E2;
  --field: #C8D5CC;
  --alt: #F5F8F5;
  --tint: #EAF6EE;
  --action: #147D42;
  --action-hover: color-mix(in srgb, var(--action) 78%, #000);
  --accent: #2EC26A;
  --deep: #064425;
  --on-deep: #C9E8D3;
  --star: #F2B01E;
  --r: 14px;
  --r-card: 24px;
  --section-y: 96px;
  --topbar-display: block;
  --hero-dir: row;
  --slider-arrows: flex;
  --wrap-pad: clamp(16px, 4vw, 40px);
  --facts-lift: 48px;
  --shadow-sm: 0 1px 2px rgb(6 47 25 / .06);
  --shadow: 0 2px 4px rgb(6 47 25 / .04), 0 20px 44px -18px rgb(6 47 25 / .26);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3vw, 44px); }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--wrap-pad); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--action); }
.eyebrow::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--accent); }
.eyebrow--light { color: var(--accent); }
.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); }

.section { padding-block: calc(var(--section-y) * var(--section-scale, 1)); }
.section-head { max-width: 900px; margin-bottom: 48px; }
.hurt-section { padding-block: 0; }
.section-head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 20px 64px; align-items: end; }
.section-head--row h2 .h2-kicker { display: block; color: var(--action); }
.section-head__lead { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* Przyciski i linki */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r); background: var(--action); color: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:hover { background: var(--action-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: #fff; color: var(--action); border-color: var(--action); }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: var(--tint); color: var(--deep); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.btn--outline-light:hover { background: rgb(255 255 255 / .1); color: #fff; border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link .icon { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }

/* Górny pasek */
.topbar { display: var(--topbar-display); background: var(--ink); color: #E3E9E5; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar ul { display: flex; gap: 28px; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 16px; height: 16px; color: var(--accent); }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }

/* Nagłówek */
.header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); }
.header__in { position: relative; display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo img { width: 176px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a:hover { background: var(--alt); color: var(--action); }
.menu-btn { display: none; place-items: center; width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { padding: 56px 0 calc(56px + var(--facts-lift)); background: var(--alt); }
.hero__grid { display: flex; flex-direction: var(--hero-dir); gap: 56px; align-items: stretch; }
.hero__copy { flex: 1 1 54%; min-width: 0; padding-block: 20px 4px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .h1-kicker { display: block; margin-top: 12px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; color: var(--action); }
.hero .lead { max-width: 600px; margin-bottom: 32px; }

.finder { max-width: 640px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.finder label { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.finder__row { display: flex; gap: 10px; }
.finder__field { position: relative; flex: 1; min-width: 0; }
.finder__field .icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.finder input { width: 100%; min-height: 56px; padding: 0 16px 0 48px; border: 1.5px solid var(--field); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.finder input::placeholder { color: #737B76; }
.finder input:focus { outline: 3px solid rgb(20 125 66 / .22); outline-offset: 0; border-color: var(--action); }
.finder .btn { min-height: 56px; }
.finder__note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 15px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { width: 18px; height: 18px; stroke-width: 2.6; color: var(--action); }

.hero__visual { position: relative; flex: 1 1 46%; min-width: 0; min-height: 640px; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; border-radius: var(--r-card); }
.point-card { position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 410px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--tint); color: #0E5A2F; font-size: 14px; font-weight: 700; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.status.is-closed { background: #F6F1E6; color: #6E5520; }
.status.is-closed .status__dot { background: #D19A22; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(46 194 106 / .55); } 70% { box-shadow: 0 0 0 9px rgb(46 194 106 / 0); } 100% { box-shadow: 0 0 0 0 rgb(46 194 106 / 0); } }
.point-card__title { margin-bottom: 14px; font-size: 24px; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.point-card__list { display: grid; gap: 9px; margin-bottom: 20px; font-size: 15px; }
.point-card__list li { display: flex; align-items: flex-start; gap: 10px; }
.point-card__list .icon { margin-top: 1px; color: var(--action); }
.point-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* Fakty: karta czterech atutów nachodząca na dół hero, ikony dwukolorowe na ciemnej zieleni */
.facts { position: relative; z-index: 2; margin-top: calc(-1 * var(--facts-lift)); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow); }
.fact { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; padding: 32px 28px 34px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 18px; background: var(--deep); color: #fff; }
.fact__svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fact__svg .a { fill: var(--accent); stroke: var(--deep); stroke-width: 2.2; }
.fact__svg .af { fill: var(--accent); stroke: none; }
.fact__svg .as { stroke: var(--accent); }
.fact__svg .ad { stroke: var(--deep); stroke-width: 2.1; }
.fact__svg .thin { stroke-width: 1.5; }
.fact__svg .lens { fill: color-mix(in srgb, var(--accent) 24%, transparent); }
.fact__svg .dim { opacity: .5; }
.fact__text { min-width: 0; }
.fact h3 { margin-bottom: 6px; font-size: 19px; }
.fact p { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* Kroki */
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-card); background: var(--alt); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 59px; right: -24px; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--action) 0 6px, transparent 6px 10px); }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--action); color: #fff; font-size: 22px; font-weight: 800; }
.step h3 { margin-bottom: 10px; font-size: 22px; }
.step p { font-size: 16px; color: var(--muted); }
.step .link { margin-top: auto; padding-top: 20px; }

/* Wycena */
.valuation { background: var(--alt); }
.valuation__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.valuation__media { position: relative; padding: 0 56px 72px 0; }
.valuation__main { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-card); }
.valuation__inset { position: absolute; right: 0; bottom: 0; width: 50%; padding: 10px 10px 12px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.valuation__inset img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.valuation__inset figcaption { padding: 10px 6px 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.valuation__copy h2 { margin-bottom: 20px; }
.valuation__copy > p:not(.eyebrow) { margin-bottom: 28px; font-size: 18px; color: var(--muted); }
.elements { display: flex; gap: 12px; margin-bottom: 28px; }
.el { display: flex; flex-direction: column; width: 108px; height: 116px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 14px; background: linear-gradient(150deg, #fff 30%, #EDF1EE); }
.el__n { font-size: 13px; font-weight: 700; color: var(--muted); }
.el__s { margin-top: auto; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.el__name { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.checks { display: grid; gap: 12px; margin-bottom: 32px; }
.checks li { display: flex; gap: 12px; font-weight: 600; }
.checks .icon { margin-top: 3px; stroke-width: 2.6; color: var(--action); }

/* Punkty i mapa */
.points__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.points__copy h2 { margin-bottom: 18px; }
.points__copy > p:not(.sub-title):not(.eyebrow) { margin-bottom: 28px; color: var(--muted); }
.main-point { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.main-point__badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--action); color: #fff; }
.main-point h3 { margin-bottom: 2px; font-size: 19px; }
.main-point p { font-size: 15px; color: var(--muted); }
.main-point a { font-weight: 700; text-decoration: none; }
.sub-title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--alt); font-size: 15px; font-weight: 600; }
.chips--mobile li { border: 1.5px dashed var(--action); background: #fff; }
.map { padding: 28px; border-radius: var(--r-card); background: var(--alt); }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map__region { fill: #fff; stroke: var(--action); stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 14px 22px rgb(6 47 25 / .12)); }
.map__label { font: 700 22px var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.map__label--city { font-weight: 800; }
.map__dot { fill: var(--action); stroke: #fff; stroke-width: 3; }
.map__ring { fill: #fff; stroke: var(--action); stroke-width: 3; stroke-dasharray: 5 3; }
.map__main { fill: var(--action); stroke: #fff; stroke-width: 4; }
.map__halo { fill: var(--accent); opacity: .3; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.55); opacity: .45; } 100% { transform: scale(1.5); opacity: 0; } }
.map__leader { stroke: var(--action); stroke-width: 2.5; }
.map__callout { fill: var(--action); }
.map__callout-title { font: 800 26px var(--font); fill: #fff; }
.map__callout-sub { font: 600 17px var(--font); fill: #DDF2E5; }
.map__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.lg--main { width: 16px; height: 16px; background: var(--action); box-shadow: 0 0 0 4px rgb(46 194 106 / .3); }
.lg--dot { background: var(--action); }
.lg--ring { border: 2px dashed var(--action); background: #fff; }

/* Hurt */
.hurt { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: calc(var(--r-card) + 8px); background: var(--deep); color: #fff; }
.hurt__copy { padding: 64px; }
.hurt h2 { margin-bottom: 16px; color: #fff; }
.hurt__copy > p:not(.eyebrow) { max-width: 520px; margin-bottom: 30px; font-size: 18px; color: var(--on-deep); }
.hurt__contacts { display: grid; gap: 14px; margin-bottom: 34px; }
.hurt__contacts li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.hurt__contacts .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / .08); color: var(--accent); }
.hurt__contacts a { color: #fff; font-size: 20px; font-weight: 800; text-decoration: none; }
.hurt__contacts span:not(.ic) { font-size: 14px; color: var(--on-deep); }
.hurt__photo { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }

/* Opinie */
.reviews__grid { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 24px; align-items: stretch; }
.reviews__score { padding-right: 16px; }
.reviews__score h2 { font-size: clamp(26px, 2.4vw, 34px); }
.score { display: flex; align-items: center; gap: 16px; margin: 14px 0 6px; }
.score__num { font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.stars--lg .icon { width: 24px; height: 24px; }
.reviews__score .muted { margin-bottom: 18px; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--r-card); background: var(--alt); }
.quote__mark { width: 34px; height: 34px; fill: var(--accent); stroke: none; }
.quote blockquote { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.5; }
.quote figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.quote figcaption strong { display: block; font-size: 15px; color: var(--ink); }

/* Blog: slider z banerami wpisów */
.insights { background: var(--alt); }
.dsw-slider { --gap: 24px; --per-view: 3; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline-offset: 6px; border-radius: var(--r-card); }
.slider__foot { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.slider__progress { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--field); overflow: hidden; }
.slider__bar { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; border-radius: inherit; background: var(--deep); }
.slider__nav { display: var(--slider-arrows); gap: 10px; }
.slider__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--field); border-radius: 50%; background: #fff; color: var(--deep); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, opacity .2s; }
.slider__btn:hover:not(:disabled) { border-color: var(--deep); background: var(--deep); color: #fff; }
.slider__btn:disabled { opacity: .4; cursor: default; }
.slider__btn--prev .icon { transform: scaleX(-1); }
.dsw-slider.is-static .slider__foot { display: none; }
.insights__more { display: flex; justify-content: center; margin-top: 40px; }

.post { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; scroll-snap-align: start; transition: border-color .2s, box-shadow .2s; }
.post:hover { border-color: var(--action); box-shadow: var(--shadow-sm); }
.post:has(a:focus-visible) { outline: 3px solid var(--action); outline-offset: -3px; }
.post h3 a:focus-visible { outline: none; }
.post__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px 26px 26px; }
.post h3 { font-size: 20px; line-height: 1.3; text-wrap: pretty; }
.post h3 a { color: var(--ink); text-decoration: none; transition: color .2s; }
.post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.post:hover h3 a { color: var(--action); }
.post__excerpt { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--action); }
.post__more .icon { width: 18px; height: 18px; transition: transform .2s; }
.post:hover .post__more .icon { transform: translateX(3px); }

/* Baner wpisu: ciemna zieleń, pasy w kolorze akcentu, zdjęcie po skosie, logo w rogu.
   Wymiary w cqw (procent szerokości banera), więc baner skaluje się jak grafika. */
.bn { --x1: 72%; --x2: 56%; position: relative; container-type: inline-size; aspect-ratio: 3 / 2; overflow: hidden; isolation: isolate; border-bottom: 4px solid var(--accent); background: var(--deep); color: #fff; }
.bn::before, .bn::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--accent); }
.bn::before { clip-path: polygon(calc(var(--x1) - 6%) 0, calc(var(--x1) - 2.2%) 0, calc(var(--x2) - 2.2%) 100%, calc(var(--x2) - 6%) 100%); }
.bn::after { clip-path: polygon(calc(var(--x1) - 9.6%) 0, calc(var(--x1) - 8.2%) 0, calc(var(--x2) - 8.2%) 100%, calc(var(--x2) - 9.6%) 100%); }
.bn__media { position: absolute; inset: 0; clip-path: polygon(var(--x1) 0, 100% 0, 100% 100%, var(--x2) 100%); }
.bn__media img { position: absolute; top: 0; right: 0; width: calc(100% - var(--x2)); max-width: none; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; transition: transform .5s; }
.post:hover .bn__media img { transform: scale(1.05); }
.bn__in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: 6cqw 6cqw 6.5cqw; }
.bn__pill { padding: 1.3cqw 2.8cqw; border-radius: 999px; background: var(--accent); color: var(--deep); font-size: max(10px, 3cqw); font-weight: 800; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; }
.bn__title { max-width: 44cqw; margin-top: 3.6cqw; font-size: max(18px, 6.6cqw); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.bn__stat { max-width: 38cqw; margin-top: auto; }
.bn__num { font-size: max(30px, 12cqw); font-weight: 800; line-height: .9; letter-spacing: -0.03em; color: var(--accent); }
.bn__icon { display: block; width: max(30px, 10.5cqw); height: max(30px, 10.5cqw); fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bn__caption { margin-top: 1.6cqw; font-size: max(11px, 3.5cqw); font-weight: 600; line-height: 1.3; color: var(--on-deep); text-wrap: balance; }
.bn__brand { position: absolute; right: 0; bottom: 0; z-index: 2; padding: 2.4cqw 4cqw 2.4cqw 6.5cqw; background: var(--deep); clip-path: polygon(2.4cqw 0, 100% 0, 100% 100%, 0 100%); }
.bn__brand img { width: 20cqw; filter: brightness(0) invert(1); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__intro p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.faq__intro a { font-weight: 700; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.pm { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--tint); color: var(--action); transition: transform .2s, background-color .2s; }
.pm .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--action); color: #fff; }
.faq details p { padding: 0 56px 24px 0; color: var(--muted); }

/* Wezwanie do działania */
.cta { padding-block: 72px; background-color: var(--action); background-image: radial-gradient(rgb(255 255 255 / .09) 1.6px, transparent 1.8px); background-size: 18px 18px; color: #fff; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { margin-bottom: 10px; color: #fff; }
.cta p { font-size: 18px; color: #DDF2E5; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stopka: ciemna zieleń, układ stopki DS AUTO (marka i kontakt, cztery kolumny, dane prawne). */
.footer { --f-bg: color-mix(in srgb, var(--deep) 70%, #000); --f-line: rgb(255 255 255 / .12); --f-text: rgb(255 255 255 / .8); --f-muted: rgb(201 232 211 / .72); padding-top: 72px; background: var(--f-bg); color: var(--f-text); font-size: 15px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer :focus-visible { outline-color: var(--accent); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 36px 80px; padding-bottom: 48px; }
.footer__logo { display: inline-block; }
.footer__logo img { width: 200px; filter: brightness(0) invert(1); }
.footer__brand p { max-width: 400px; margin-top: 22px; font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.footer__contact { margin: 0; }
.footer__contact div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block: 14px; }
.footer__contact div:first-child { padding-top: 0; }
.footer__contact div + div { border-top: 1px solid var(--f-line); }
.footer__contact dt { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--f-muted); }
.footer__contact dd { min-width: 0; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; color: #fff; text-align: right; }
.footer__contact dd a { color: #fff; }
.footer__hours { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.footer__dot { width: 9px; height: 9px; flex: none; margin-left: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(46 194 106 / .22); }
.footer__hours.is-closed .footer__dot { background: #D19A22; box-shadow: 0 0 0 4px rgb(209 154 34 / .22); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 40px; padding-block: 48px; border-top: 1px solid var(--f-line); }
.footer h2 { margin-bottom: 18px; font-size: 13px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.footer__cols ul { display: grid; gap: 10px; }
.footer__company { display: grid; gap: 8px; font-style: normal; }
.footer__company strong { font-size: 16px; color: #fff; }
.footer__bottom { padding-block: 24px 32px; border-top: 1px solid var(--f-line); font-size: 14px; color: var(--f-muted); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; text-wrap: pretty; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__waste { margin-top: 14px; font-size: 13px; line-height: 1.6; }
.footer__waste strong { color: #fff; }

/* Kotwice: formularz wyceny nie chowa się pod przyklejonym nagłówkiem */
.finder { scroll-margin-top: 108px; }

/* Pasek z telefonem na telefonach */
.callbar { display: none; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px clamp(16px, 4vw, 40px) 16px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .nav.is-open a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .header__call { margin-left: auto; }
  .menu-btn { display: grid; }
  .topbar p { display: none; }
}

@media (max-width: 1024px) {
  .hero__grid { flex-direction: column; }
  .hero__visual { min-height: 560px; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { flex-direction: row; padding: 28px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact__text { padding-top: 6px; }
  .valuation__grid, .points__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .section-head--row { grid-template-columns: 1fr; }
  .section-head__lead { max-width: 640px; }
  .dsw-slider { --gap: var(--wrap-pad); --per-view: 2.2; }
  .slider__track { margin-inline: calc(-1 * var(--wrap-pad)); padding-inline: var(--wrap-pad); scroll-padding-inline: var(--wrap-pad); }
  .slider__track:focus-visible { outline-offset: -3px; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .reviews__score { grid-column: 1 / -1; padding-right: 0; }
  .hurt { grid-template-columns: minmax(0, 1fr); }
  .hurt__photo { min-height: 260px; max-height: 340px; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px 48px; }
  .footer__cols { gap: 32px 28px; }
}

@media (max-width: 900px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; font-size: 16px; }
  .section { --section-scale: .66; }
  .topbar { display: none; }
  .header__in { gap: 10px; min-height: 68px; }
  .logo img { width: 136px; }
  .header__call { width: 46px; padding: 0; }
  .header__call span { display: none; }
  :root { --facts-lift: 24px; }
  .hero { padding: 32px 0 calc(32px + var(--facts-lift)); }
  .hero__grid { gap: 32px; }
  .hero__copy { padding: 0; }
  .hero h1 { font-size: 36px; }
  .hero .lead { margin-bottom: 24px; font-size: 17px; }
  .finder { padding: 16px; border-radius: 18px; }
  .finder__row { flex-direction: column; }
  .finder .btn { width: 100%; }
  .ticks { flex-direction: column; gap: 8px; margin-top: 20px; }
  .hero__visual { display: flex; flex-direction: column; min-height: 0; }
  .hero__photo { position: relative; inset: auto; height: 200px; border-radius: 20px 20px 0 0; }
  .point-card { position: relative; left: auto; right: auto; bottom: auto; max-width: none; padding: 20px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; box-shadow: var(--shadow-sm); }
  .point-card__foot { flex-wrap: wrap; }
  .facts__grid { grid-template-columns: minmax(0, 1fr); border-radius: 20px; box-shadow: 0 2px 4px rgb(6 47 25 / .04), 0 14px 30px -16px rgb(6 47 25 / .24); }
  .fact { gap: 16px; padding: 18px 18px 20px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact__icon { width: 54px; height: 54px; border-radius: 15px; }
  .fact__svg { width: 38px; height: 38px; }
  .fact__text { padding-top: 2px; }
  .fact h3 { margin-bottom: 2px; font-size: 17px; }
  .fact p { font-size: 15px; line-height: 1.5; }
  .section-head { margin-bottom: 28px; }
  .section-head__lead { font-size: 16px; }
  .steps__list { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 24px; }
  .step:not(:last-child)::after { display: none; }
  .step__num { width: 48px; height: 48px; margin-bottom: 18px; font-size: 20px; }
  .valuation__media { padding: 0 20px 56px 0; }
  .valuation__inset { width: 62%; }
  .elements .el { flex: 1; width: auto; }
  .main-point { padding: 16px; }
  .map { padding: 14px; }
  .map__label { font-size: 30px; stroke-width: 9px; }
  .hurt__copy { padding: 32px 22px; }
  .hurt__contacts a { font-size: 18px; }
  .hurt__copy .btn { width: 100%; white-space: normal; text-align: center; }
  .reviews__grid { grid-template-columns: 1fr; }
  .score__num { font-size: 64px; }
  .quote { padding: 24px; }
  .quote blockquote { font-size: 17px; }
  .dsw-slider { --per-view: 1.15; }
  .slider__track { grid-auto-columns: min(calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)), 340px); }
  .slider__foot { gap: 16px; margin-top: 24px; }
  .slider__btn { width: 44px; height: 44px; }
  .post__body { padding: 20px 20px 22px; }
  .post h3 { font-size: 18px; }
  .insights__more { margin-top: 28px; }
  .insights__more .btn { width: 100%; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .cta { padding-block: 56px; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer__logo img { width: 168px; }
  .footer__brand p { margin-top: 18px; font-size: 15px; }
  .footer__contact div { gap: 16px; padding-block: 12px; }
  .footer__contact dd { font-size: 16px; }
  .footer__cols { gap: 32px 20px; padding-block: 36px; }
  .footer__bottom { padding-block: 22px 28px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .section[id] { scroll-margin-top: 16px; }
  .finder { scroll-margin-top: 84px; }
  .callbar { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -10px 24px -14px rgb(6 47 25 / .3); }
  .callbar .btn { min-height: 52px; padding: 0 12px; }
  /* Przycisk zgód CookieYes nad dolnym paskiem, żeby nie zasłaniał „Zadzwoń”. */
  .cky-btn-revisit-wrapper.cky-revisit-bottom-left,
  .cky-btn-revisit-wrapper.cky-revisit-bottom-right { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .footer__contact div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .footer__contact dd { text-align: left; }
  .footer__hours { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Mniejsze narożniki wyłącznie na stronie głównej. */
body.home { --r: 6px; --r-card: 8px; }
body.home :is(.skip, .menu-btn, .status, .fact__icon, .step__num, .el,
  .main-point__badge, .chips li, .hurt__contacts .ic, .slider__btn, .bn__pill, .pm) {
  border-radius: var(--r);
}
body.home :is(.finder, .point-card, .facts__grid, .valuation__inset, .main-point, .hurt) {
  border-radius: var(--r-card);
}
body.home .valuation__inset img { border-radius: 4px; }
body.home .pm .icon { transition: transform .2s; }
body.home .faq details[open] .pm { transform: none; }
body.home .faq details[open] .pm .icon { transform: rotate(45deg); }
@media (min-width: 1181px) {
  body.home .nav a { border-radius: var(--r); }
}
@media (max-width: 760px) {
  body.home .hero__photo { border-radius: var(--r-card) var(--r-card) 0 0; }
  body.home .point-card { border-radius: 0 0 var(--r-card) var(--r-card); }
}

/* Menu homepage: podkreślenie tekstu zamiast kolorowego tła. */
body.home .nav a {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  transition: color .16s ease;
}
body.home .nav a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: transparent;
  box-shadow: none;
  color: var(--action);
  text-decoration-line: underline;
}

/* Linia wysuwa się od lewej krawędzi tekstu, bez zmiany układu menu. */
@media (min-width: 1181px) {
  body.home .nav a { position: relative; }
  body.home .nav a:is(:hover, :focus-visible, [aria-current="page"]) { text-decoration-line: none; }
  body.home .nav a::after {
    content: "";
    position: absolute;
    inset-inline: 14px;
    bottom: 6px;
    height: 2px;
    background: currentColor;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .24s ease-out;
  }
  body.home .nav a:is(:hover, :focus-visible, [aria-current="page"])::after { transform: scaleX(1); }
}
@media (min-width: 1181px) and (max-width: 1360px) {
  body.home .nav a::after { inset-inline: 10px; }
}

/* Zatwierdzony duży banner homepage. */
body.home .hero {
  position: relative;
  isolation: isolate;
  padding: 0;
  background: #101c16;
  color: #fff;
}
body.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(9 18 14 / .96) 0%, rgb(9 18 14 / .88) 35%, rgb(9 18 14 / .42) 67%, rgb(9 18 14 / .2) 100%);
}
body.home .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: end;
  gap: 96px;
  min-height: 760px;
  padding-block: 72px 96px;
}
body.home .hero__copy { padding: 0; }
body.home .hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(48px, 4.4vw, 68px);
  line-height: 1.06;
}
body.home .hero h1 .h1-kicker {
  margin-top: 20px;
  font-size: clamp(26px, 2.5vw, 36px);
  color: #30c26a;
}
body.home .hero .lead { max-width: 590px; margin-bottom: 30px; color: #f2f5f3; font-size: 19px; }
body.home .hero .finder { color: var(--ink); box-shadow: 0 4px 16px rgb(0 0 0 / .12); }
body.home .hero .ticks { margin-top: 24px; color: #f0f5f1; }
body.home .hero .ticks .icon { color: #8cdda9; }
body.home .hero__visual { position: static; min-height: 0; }
body.home .hero__photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center 44%;
}
body.home .hero .point-card {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 4px 16px rgb(0 0 0 / .12);
}
body.home .hero .point-card__foot { flex-wrap: wrap; justify-content: center; }

@media (min-width: 1181px) and (max-width: 1360px) {
  body.home .header__in { gap: 20px; }
  body.home .logo img { width: 156px; }
  body.home .nav a { padding-inline: 10px; font-size: 14.5px; }
  body.home .nav a::after { inset-inline: 10px; }
  body.home .hero__grid { gap: 56px; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  body.home .hero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  body.home .hero h1 { font-size: 48px; }
  body.home .hero .finder__row { flex-direction: column; }
}
@media (max-width: 1000px) {
  body.home .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: 0; padding-block: 52px 80px; }
  body.home .hero__copy, body.home .hero__visual { width: 100%; max-width: 640px; }
  body.home .hero::before { background: linear-gradient(110deg, rgb(9 18 14 / .94) 5%, rgb(9 18 14 / .72) 100%); }
}
@media (max-width: 760px) {
  body.home .hero__grid { padding-block: 36px 64px; }
  body.home .hero h1 { font-size: 38px; }
  body.home .hero h1 .h1-kicker { margin-top: 16px; font-size: 25px; }
  body.home .hero .lead { font-size: 17px; margin-bottom: 26px; }
  body.home .hero .point-card { padding: 22px; }
  body.home .hero .point-card__title { font-size: 24px; }
  body.home .hero__photo { object-position: 62% center; }
}
