/* ZZK — układ ciepłej makiety. Działa również bez serwera i bez bibliotek. */
.container { width: min(1320px, calc(100% - 88px)); max-width: 1320px; }
.site-header { position: relative; z-index: 40; padding: 0; border-bottom: 0; }
.header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 40px 58px; gap: 0 48px; min-height: 98px; position: relative; padding: 0; }
.header-inner .brand { grid-column: 1; grid-row: 1 / 3; gap: 12px; align-self: center; margin: 0; }
.header-inner .logo-symbol { width: 67px; height: 70px; }
.header-inner .brand-name { font-size: 13px; line-height: 1.13; letter-spacing: -.15px; }
.utility-nav { grid-column: 2; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: 16px; min-width: 0; }
.utility-link { font-size: calc(11px * var(--scale)); padding: 5px 0; white-space: nowrap; color: var(--muted); }
.utility-link:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.utility-nav .header-search { width: 174px; min-width: 120px; height: 29px; margin: 0; order: 0; border: 0; border-left: 1px solid var(--border); border-radius: 0; background: transparent; }
.utility-nav .header-search input { padding: 5px 0 5px 13px; font-size: calc(11px * var(--scale)); background: transparent; color: var(--ink); }
.utility-nav .header-search button { min-width: 32px; min-height: 29px; height: 29px; padding: 5px; color: var(--ink); }
.utility-nav .header-search .icon { width: 18px; height: 18px; }
.utility-nav .header-search:focus-within { border-radius: 2px; box-shadow: 0 0 0 2px var(--green); }
.utility-nav .header-tools { display: flex; gap: 7px; margin: 0; order: 0; }
.utility-nav .font-tools { padding-left: 9px; border-left: 1px solid var(--border); gap: 0; margin: 0; }
.utility-nav .font-size { min-width: 25px; min-height: 30px; padding: 3px; color: var(--ink); }
.utility-nav .contrast-toggle { min-width: 34px; min-height: 30px; padding: 6px; margin: 0; }
.main-nav-row { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.main-nav-row .main-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 32px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.main-nav-row .nav-dropdown { border: 0; }
.main-nav-row .nav-link { min-height: 45px; padding: 12px 0; font-size: calc(13px * var(--scale)); font-weight: 650; white-space: nowrap; gap: 9px; }
.main-nav-row .dropdown-menu { min-width: 235px; top: calc(100% - 2px); right: auto; left: -14px; }
.main-nav-row .nav-dropdown:last-of-type .dropdown-menu { right: 0; left: auto; }
.main-nav-row .dropdown-menu a { font-size: calc(14px * var(--scale)); padding: 11px 14px; }
.mobile-menu-button, .mobile-accessibility { display: none; }

/* Otwarcie: rzeczywista fotografia i tekst w nieprzezroczystym panelu. */
.home-hero.hero { width: 100%; max-width: none; height: auto; min-height: 545px; margin: 0; position: relative; overflow: hidden; border-radius: 0; background: var(--soft); }
.home-hero .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; filter: saturate(.88) contrast(.98); }
.home-hero .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(57 39 20 / 8%), transparent 45%); }
.home-hero .hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; padding-top: 70px; min-height: 545px; }
.home-hero .hero-content { position: relative; inset: auto; width: min(650px, 55%); padding: 32px 42px 0; background: var(--surface); box-shadow: 0 0 0 1px rgb(89 59 42 / 3%); }
.home-hero .hero-eyebrow { display: flex; align-items: center; gap: 17px; color: var(--ink); font-size: calc(10px * var(--scale)); letter-spacing: 2px; line-height: 1.5; margin: 0 0 19px; }
.hero-eyebrow::before { content: ""; width: 55px; height: 2px; background: var(--gold); }
.home-hero h1 { font-size: calc(clamp(37px, 3.35vw, 50px) * var(--scale)); font-weight: 750; line-height: 1.08; letter-spacing: -1.9px; color: var(--ink); margin: 0 0 16px; max-width: none; }
.home-hero p { font-size: calc(15px * var(--scale)); line-height: 1.55; color: var(--muted); margin: 0 0 20px; max-width: none; }
.home-hero .desktop-break { display: none; }
.hero-search { display: flex; width: 100%; min-height: 52px; border: 1px solid var(--border); border-radius: 3px; background: var(--paper); overflow: visible; }
.hero-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 13px 17px; border-radius: 3px 0 0 3px; font-size: calc(15px * var(--scale)); }
.hero-search input:focus-visible { outline-offset: -3px; }
.hero-search button { display: grid; place-items: center; min-width: 60px; flex-shrink: 0; color: var(--on-accent); background: var(--green); border-radius: 0 2px 2px 0; }
.hero-search button:hover { background: var(--green-dark); }
.hero-search .icon { width: 24px; height: 24px; }
.hero-slide-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; min-height: 28px; }
.hero-read-more { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: calc(12px * var(--scale)); font-weight: 600; padding-block: 4px; white-space: nowrap; }
.hero-read-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-read-more .icon { width: 16px; height: 16px; }
.hero-slide-navigation { display: flex; align-items: center; gap: 2px; }
.hero-slide-navigation .slide-dots { display: flex; align-items: center; margin: 0; gap: 2px; }
.hero-slide-navigation .slide-dot { width: 26px; height: 26px; min-width: 26px; padding: 0; background: transparent; border-radius: 50%; position: relative; }
.hero-slide-navigation .slide-dot::before { content: ""; position: absolute; inset: 10px; background: var(--border); border-radius: 50%; }
.hero-slide-navigation .slide-dot.active::before { background: var(--green); inset: 9px; }
.hero-slide-navigation .previous, .hero-slide-navigation .next { position: static; display: grid; place-items: center; width: 26px; height: 26px; padding: 5px; color: var(--green); }
.hero-slide-navigation .previous .icon { transform: rotate(180deg); }
.hero-slide-navigation .icon { width: 14px; height: 14px; }
.hero-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--gold); margin-top: 15px; padding: 19px 0 21px; gap: 16px; }
.hero-shortcuts a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 14px; align-items: center; gap: 9px; min-height: 40px; font-size: calc(12px * var(--scale)); font-weight: 650; line-height: 1.35; }
.hero-shortcuts a:hover { color: var(--green); }
.hero-shortcuts a > .icon:first-child { width: 29px; height: 32px; color: var(--green); stroke-width: 1.6; }
.hero-shortcuts a > .icon:last-child { width: 14px; height: 14px; color: var(--green); }

/* Sześć kategorii z projektu i osobne wejście do mapy zasobu. */
.home-services { background: var(--soft); border-bottom: 1px solid rgb(151 119 87 / 8%); }
.home-services-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-block: 34px; }
.section-rule { width: 70px; height: 2px; background: var(--gold); display: block; margin: 0 0 16px; }
.services-intro h2 { margin: 0; font-size: calc(29px * var(--scale)); line-height: 1.1; letter-spacing: -.9px; font-weight: 750; max-width: 210px; }
.home-map-link { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; font-size: calc(12px * var(--scale)); }
.home-map-link > .icon { color: var(--green); width: 27px; height: 30px; margin-top: 1px; }
.home-map-link strong { display: block; font-size: calc(14px * var(--scale)); }
.home-map-link small { display: block; line-height: 1.45; margin: 3px 0; color: var(--muted); font-size: calc(11px * var(--scale)); }
.home-map-link span > span { color: var(--green); display: inline-flex; gap: 6px; align-items: center; font-size: calc(10px * var(--scale)); }
.home-map-link span > span .icon { width: 12px; height: 12px; }
.home-map-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.service-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; row-gap: 0; }
.service-row { display: grid; grid-template-columns: 39px minmax(0, 1fr) 17px; gap: 15px; align-items: center; padding: 17px 0; min-height: 91px; border-bottom: 1px solid var(--border); }
.service-row:nth-last-child(-n+3) { border-bottom: 0; }
.service-row > .icon:first-child { width: 39px; height: 43px; color: var(--ink); stroke-width: 1.8; }
.service-row > .icon:last-child { width: 17px; height: 17px; color: var(--green); }
.service-row strong { font-size: calc(15px * var(--scale)); line-height: 1.35; display: block; font-weight: 650; }
.service-row small { font-size: calc(12px * var(--scale)); line-height: 1.45; color: var(--muted); display: block; margin-top: 5px; }
.service-row:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

/* Aktualności: wyróżniony artykuł i dwie mniejsze informacje. */
.home-news-section { padding: 35px 0 45px; background: var(--surface); }
.home-news-section .section-heading { margin-bottom: 24px; gap: 24px; align-items: center; }
.home-news-section .section-heading h2 { font-size: calc(30px * var(--scale)); font-weight: 750; }
.home-news-section .section-heading .text-link { font-size: calc(12px * var(--scale)); }
.home-news-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 0 30px; }
.home-news-item { min-width: 0; }
.home-news-feature { grid-column: 1; grid-row: 1 / 3; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; padding-right: 28px; border-right: 1px solid var(--border); }
.editorial-image { display: block; overflow: hidden; min-width: 0; background: var(--soft); border-radius: 2px; }
.editorial-image img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; filter: saturate(.72) sepia(.35); transition: transform .3s; }
.editorial-image:hover img { transform: scale(1.025); }
.home-news-feature .editorial-image { min-height: 295px; }
.editorial-copy { min-width: 0; }
.editorial-copy .eyebrow { display: flex; align-items: center; gap: 10px; font-size: calc(9px * var(--scale)); letter-spacing: 1px; text-transform: uppercase; line-height: 1.4; color: var(--ink); }
.editorial-copy .eyebrow::before { content: ""; width: 22px; height: 2px; flex-shrink: 0; background: var(--gold); }
.editorial-copy time { display: block; font-size: calc(11px * var(--scale)); color: var(--muted); margin-top: 7px; }
.editorial-copy h3 { margin: 10px 0; font-size: calc(23px * var(--scale)); line-height: 1.17; letter-spacing: -.45px; font-weight: 700; }
.editorial-copy h3 a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.editorial-copy p { font-size: calc(14px * var(--scale)); line-height: 1.55; color: var(--muted); margin: 0 0 18px; }
.editorial-copy .editorial-more { font-size: calc(12px * var(--scale)); }
.editorial-copy .button { min-height: 41px; padding: 10px 15px; }
.home-news-compact { display: grid; grid-template-columns: 114px minmax(0, 1fr); gap: 17px; align-content: start; }
.home-news-compact + .home-news-compact { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 18px; }
.home-news-compact .editorial-image { height: 110px; }
.home-news-compact h3 { font-size: calc(17px * var(--scale)); line-height: 1.25; margin-block: 7px; letter-spacing: -.2px; }
.home-news-compact .editorial-copy p { font-size: calc(12px * var(--scale)); line-height: 1.5; margin-bottom: 9px; }
.home-news-compact .editorial-more { font-size: calc(12px * var(--scale)); padding: 0; }
.home-news-compact .editorial-more .icon { width: 14px; height: 14px; }
.home-news-compact .eyebrow { font-size: calc(11px * var(--scale)); }
.numbers-section { padding-block: 35px 42px; }
.numbers-section .section-heading h2 { font-size: calc(27px * var(--scale)); }
.stats-six { gap: 0; }
.stats-six .stat-card { background: transparent; border: 0; border-right: 1px solid var(--border); padding: 12px 20px; border-radius: 0; min-height: 100px; }
.stats-six .stat-card:first-child { padding-left: 0; }
.stats-six .stat-card:last-child { border-right: 0; }
.stats-six .stat-card strong { font-size: calc(31px * var(--scale)); }
.stats-six .stat-card p { font-size: calc(11px * var(--scale)); }
.stats-six .stat-icon { width: 30px; height: 35px; stroke-width: 2; }

@media (min-width: 1650px) {
  .home-hero .hero-inner { min-height: 575px; }
  .home-hero .hero-content { padding-top: 38px; width: 655px; }
  .home-hero h1 { font-size: calc(52px * var(--scale)); }
}
@media (max-width: 1200px) {
  .container { width: calc(100% - 56px); }
  .header-inner { gap: 0 30px; }
  .main-nav-row .main-nav { gap: 24px; }
  .home-hero .hero-content { width: 59%; padding-inline: 30px; }
  .home-hero h1 { font-size: calc(42px * var(--scale)); letter-spacing: -1.5px; }
  .home-services-inner { grid-template-columns: 190px minmax(0, 1fr); gap: 26px; }
  .service-links { column-gap: 20px; }
  .service-row { grid-template-columns: 31px minmax(0, 1fr) 14px; gap: 11px; }
  .service-row > .icon:first-child { width: 31px; height: 36px; }
  .service-row strong { font-size: calc(13px * var(--scale)); }
  .home-news-grid { gap: 0 22px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .home-news-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; padding-right: 22px; }
  .editorial-copy h3 { font-size: calc(20px * var(--scale)); }
  .home-news-compact { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
  .stats-six .stat-card { padding-inline: 12px; gap: 10px; }
}
@media (max-width: 950px) {
  .header-inner { grid-template-rows: 39px 54px; min-height: 93px; gap: 0 18px; }
  .header-inner .logo-symbol { width: 54px; height: 60px; }
  .header-inner .brand-name { font-size: 11px; }
  .main-nav-row .main-nav { gap: 18px; }
  .main-nav-row .nav-link { font-size: calc(12px * var(--scale)); }
  .utility-nav { gap: 10px; }
  .utility-nav .header-search { width: 146px; }
  .utility-nav .font-tools { display: none; }
  .main-nav-row .mobile-accessibility { display: none; }
  .home-hero .hero-content { width: 65%; padding-inline: 28px; }
  .home-hero h1 { font-size: calc(40px * var(--scale)); }
  .home-services-inner { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .services-intro h2 { font-size: calc(26px * var(--scale)); }
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service-row:nth-last-child(-n+2) { border-bottom: 0; }
  .home-news-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .home-news-feature { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr 1fr; border-right: 0; padding: 0 0 24px; border-bottom: 1px solid var(--border); gap: 28px; }
  .home-news-feature .editorial-image { min-height: 245px; }
  .home-news-compact + .home-news-compact { margin: 0; padding: 0 0 0 22px; border-top: 0; border-left: 1px solid var(--border); }
  .home-news-compact { grid-template-columns: 100px minmax(0, 1fr); }
  .editorial-copy h3 { font-size: calc(24px * var(--scale)); }
  .home-news-compact h3 { font-size: calc(18px * var(--scale)); }
  .stats-six { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .stats-six .stat-card:nth-child(3) { border-right: 0; }
  .stats-six .stat-card:nth-child(4) { padding-left: 0; }
}
@media (min-width: 761px) and (max-width: 950px) {
  .utility-nav .font-tools { display: flex; padding-left: 6px; }
  .utility-nav .font-size { min-width: 21px; }
  .utility-nav { gap: 8px; }
  .utility-nav .header-search { width: 130px; min-width: 100px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 76px auto; gap: 0; min-height: 0; }
  .header-inner .brand { grid-column: 1; grid-row: 1; gap: 10px; }
  .header-inner .logo-symbol { width: 52px; height: 59px; }
  .header-inner .brand-name { font-size: 11px; }
  .utility-nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--border); padding: 5px 0 7px; gap: 14px; justify-content: flex-start; }
  .utility-nav .utility-link { min-height: 32px; display: inline-flex; align-items: center; font-size: calc(11px * var(--scale)); }
  .utility-nav .header-search { margin-left: auto; min-width: 0; width: 200px; height: 36px; flex: 1; }
  .utility-nav .header-search input { font-size: calc(12px * var(--scale)); padding-block: 9px; }
  .utility-nav .header-search button { height: 36px; min-height: 36px; min-width: 34px; }
  .utility-nav .header-tools { gap: 0; }
  .utility-nav .contrast-toggle { min-height: 36px; min-width: 34px; }
  .main-nav-row { grid-column: 2; grid-row: 1; }
  .main-nav-row .mobile-menu-button { display: grid; width: 44px; height: 44px; place-items: center; padding: 10px; }
  .main-nav-row .main-nav { display: none; position: absolute; top: 100%; left: -20px; right: -20px; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 0; background: var(--surface); border-block: 1px solid var(--border); box-shadow: var(--shadow); max-height: 75dvh; overflow-y: auto; }
  .main-nav-row .main-nav.mobile-open { display: flex; }
  .main-nav-row .nav-dropdown { border-bottom: 1px solid var(--border); }
  .main-nav-row .nav-link { display: flex; justify-content: space-between; width: 100%; font-size: calc(16px * var(--scale)); min-height: 48px; padding: 12px 4px; }
  .main-nav-row .dropdown-menu { position: static; padding: 0 0 12px 8px; box-shadow: none; border: 0; min-width: 0; }
  .main-nav-row .dropdown-menu a { min-height: 44px; padding: 11px 10px; font-size: calc(14px * var(--scale)); }
  .main-nav-row .mobile-accessibility { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 5px; gap: 12px; font-size: 13px; }
  .mobile-accessibility .font-tools { display: flex; border: 0; padding: 0; gap: 8px; }
  .mobile-accessibility .font-size { min-width: 44px; min-height: 44px; background: var(--soft); }
  .home-hero.hero { min-height: 0; }
  .home-hero .hero-inner { min-height: 0; padding-top: 135px; }
  .home-hero .hero-image { object-position: 66% center; }
  .home-hero .hero-content { width: 100%; padding: 28px 30px 0; }
  .home-hero h1 { font-size: calc(42px * var(--scale)); letter-spacing: -1.5px; }
  .home-hero .hero-content #hero-description { font-size: calc(15px * var(--scale)); }
  .hero-shortcuts { gap: 18px; padding-block: 18px 20px; }
  .hero-shortcuts a { font-size: calc(12px * var(--scale)); }
  .home-services-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 28px; }
  .services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: center; }
  .services-intro .section-rule { grid-column: 1 / -1; margin-bottom: 14px; width: 55px; }
  .services-intro h2 { max-width: 270px; font-size: calc(28px * var(--scale)); }
  .home-map-link { margin: 0; justify-self: end; max-width: 220px; }
  .service-links { column-gap: 24px; }
  .service-row { padding-block: 17px; min-height: 96px; }
  .service-row strong { font-size: calc(15px * var(--scale)); }
  .service-row small { font-size: calc(12px * var(--scale)); }
  .home-news-section { padding-block: 30px 34px; }
  .home-news-section .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .home-news-section .section-heading h2 { font-size: calc(29px * var(--scale)); }
  .home-news-grid { display: block; }
  .home-news-feature { display: grid; gap: 22px; padding-bottom: 26px; }
  .home-news-feature .editorial-image { min-height: 240px; }
  .home-news-compact { grid-template-columns: 150px minmax(0, 1fr); padding-top: 24px; gap: 22px; }
  .home-news-compact + .home-news-compact { border-left: 0; border-top: 1px solid var(--border); margin-top: 24px; padding: 24px 0 0; }
  .home-news-compact .editorial-image { height: 145px; }
  .home-news-compact h3 { font-size: calc(21px * var(--scale)); }
  .home-news-compact .editorial-copy p { font-size: calc(14px * var(--scale)); }
  .home-news-compact .eyebrow { font-size: calc(9px * var(--scale)); }
  .home-news-compact .editorial-more { font-size: calc(12px * var(--scale)); }
  .numbers-section { padding-block: 30px; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 32px); }
  .main-nav-row .main-nav { left: -16px; right: -16px; }
  .utility-nav { gap: 10px; }
  .utility-nav .header-search input { flex: 1; width: 100%; padding-left: 9px; font-size: 11px; }
  .utility-nav .utility-link { font-size: 10px; }
  .header-inner .brand-name { font-size: 10px; }
  .header-inner .logo-symbol { width: 46px; height: 53px; }
  .home-hero .hero-inner { width: 100%; padding-top: 122px; }
  .home-hero .hero-content { padding: 27px 23px 0; }
  .home-hero .hero-eyebrow { font-size: calc(9px * var(--scale)); margin-bottom: 17px; letter-spacing: 1.6px; }
  .hero-eyebrow::before { width: 42px; }
  .home-hero h1 { font-size: calc(36px * var(--scale)); letter-spacing: -1.4px; line-height: 1.1; }
  .home-hero h1 br { display: none; }
  .home-hero .hero-content #hero-description { font-size: calc(14px * var(--scale)); line-height: 1.6; }
  .hero-search input { font-size: calc(14px * var(--scale)); padding-inline: 12px; }
  .hero-search button { min-width: 53px; }
  .hero-shortcuts { gap: 14px; }
  .hero-shortcuts a { grid-template-columns: 1fr; align-content: start; gap: 7px; font-size: calc(11px * var(--scale)); position: relative; padding-right: 9px; }
  .hero-shortcuts a > .icon:first-child { width: 26px; height: 29px; }
  .hero-shortcuts a > .icon:last-child { position: absolute; right: 0; top: 9px; width: 13px; }
  .hero-slide-navigation { gap: 0; }
  .hero-slide-navigation .slide-dot, .hero-slide-navigation .previous, .hero-slide-navigation .next { width: 24px; min-width: 24px; }
  .hero-read-more { font-size: calc(11px * var(--scale)); }
  .home-services-inner { padding-block: 25px; gap: 17px; }
  .services-intro { grid-template-columns: 1fr; gap: 0; }
  .services-intro h2 { max-width: none; font-size: calc(28px * var(--scale)); }
  .home-map-link { justify-self: start; max-width: none; margin-top: 16px; }
  .home-map-link small { display: inline; margin-right: 8px; }
  .home-map-link span > span { display: inline-flex; }
  .service-links { grid-template-columns: 1fr; gap: 0; }
  .service-row { grid-template-columns: 37px minmax(0, 1fr) 20px; gap: 17px; padding: 16px 0; min-height: 86px; border-bottom: 1px solid var(--border); }
  .service-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-row:last-child { border-bottom: 0; }
  .service-row > .icon:first-child { width: 36px; height: 40px; }
  .home-news-section .section-heading h2 { font-size: calc(27px * var(--scale)); }
  .home-news-section .section-heading .text-link { font-size: calc(11px * var(--scale)); }
  .home-news-feature { display: block; }
  .home-news-feature .editorial-image { height: 225px; min-height: 0; margin-bottom: 20px; }
  .editorial-copy h3 { font-size: calc(24px * var(--scale)); }
  .editorial-copy p { font-size: calc(15px * var(--scale)); }
  .home-news-compact { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
  .home-news-compact .editorial-image { height: 110px; }
  .home-news-compact h3 { font-size: calc(18px * var(--scale)); }
  .home-news-compact .editorial-copy p { font-size: calc(13px * var(--scale)); }
  .stats-six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
  .stats-six .stat-card { min-height: 95px; padding: 10px 14px; gap: 12px; }
  .stats-six .stat-card:nth-child(odd) { border-right: 1px solid var(--border); padding-left: 0; }
  .stats-six .stat-card:nth-child(even) { border-right: 0; padding-left: 14px; }
  .stats-six .stat-card strong { font-size: calc(28px * var(--scale)); }
  .stats-six .stat-icon { width: 28px; height: 32px; }
  .stats-six .stat-card p { font-size: calc(11px * var(--scale)); }
  body[data-font-size="2"] .home-hero.hero { height: auto; min-height: 0; }
  body[data-font-size="2"] .home-hero h1 { font-size: 41px; }
  body[data-font-size="2"] .hero-shortcuts { gap: 10px; }
  body[data-font-size="2"] .stats-six .stat-card { flex-direction: column; }
}
@media (max-width: 350px) {
  .home-hero h1 { font-size: calc(32px * var(--scale)); }
  .utility-nav { gap: 6px; }
  .utility-nav .header-search input { padding-left: 6px; }
  .home-news-compact { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .home-news-compact h3 { font-size: calc(17px * var(--scale)); }
}

/* Ustawienia czytelności mają pierwszeństwo przed kolorystyką makiety. */
body.contrast .home-hero .hero-content,
body.contrast .home-services,
body.contrast .home-news-section { background: var(--paper); }
body.contrast .home-hero .hero-image { opacity: .4; filter: none; }
body.contrast .home-hero .hero-shade { background: transparent; }
body.contrast .hero-search { background: #171717; border-color: var(--border); }
body.contrast .hero-search button { color: #000; background: var(--green); }
body.contrast .hero-shortcuts,
body.contrast .service-row,
body.contrast .home-news-feature,
body.contrast .home-news-compact,
body.contrast .stats-six .stat-card { border-color: var(--border); }
body.contrast .hero-eyebrow::before,
body.contrast .section-rule,
body.contrast .editorial-copy .eyebrow::before { background: var(--green); }
body.contrast .editorial-image img { filter: none; }
body.contrast .hero-read-more,
body.contrast .hero-shortcuts a,
body.contrast .service-row > .icon,
body.contrast .home-map-link { color: var(--green); }
body.contrast .main-nav-row .main-nav.mobile-open { background: #000; }
body.contrast .mobile-accessibility .font-size { background: #171717; }
body.contrast .utility-link { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .editorial-image img { transition: none; }
  .editorial-image:hover img { transform: none; }
}
