.home-page { --home-ink: #171d1b; --home-yellow: #f5c629; color: var(--home-ink); background: #f5f4ef; }
.home-page h1, .home-page h2, .home-page h3, .home-page p { margin-top: 0; }
.home-page h2 { font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.home-page a:focus-visible { outline: 3px solid #1974a3; outline-offset: 4px; }
.home-wrap { width: min(1260px, calc(100% - 5rem)); margin-inline: auto; }
.home-section { padding: clamp(5rem, 8vw, 8rem) 0; }
.home-kicker { color: #555e53; font-size: .875rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.home-hero { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; background: var(--home-ink); color: white; }
.home-hero__copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(4rem, 7vw, 7.5rem) clamp(2.5rem, 6.2vw, 7rem) 2rem max(2.5rem, calc((100vw - 1260px)/2)); }
.home-hero .home-kicker { color: #e5e8df; margin-bottom: 2.5rem; }
.home-hero .home-kicker span { display: inline-block; width: .55rem; height: .55rem; background: var(--home-yellow); border-radius: 50%; margin-right: .55rem; }
.home-hero h1 { color: white; font-size: clamp(3.3rem, 5.6vw, 6.1rem); line-height: .99; letter-spacing: -.055em; max-width: 10em; margin-bottom: 1.8rem; }
.home-hero h1 em { color: var(--home-yellow); font-style: normal; }
.home-hero__lead { color: #d0d5ce; max-width: 31rem; font-size: clamp(1.05rem, 1.25vw, 1.22rem); line-height: 1.65; }
.home-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.6rem; min-height: 3.5rem; padding: .9rem 1.2rem; border-radius: 4px; font-size: 1rem; line-height: 1.3; font-weight: 750; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.home-button--yellow { background: var(--home-yellow); color: #171d1b; }
.home-button--yellow:hover { background: #ffda53; color: #171d1b; }
.home-button--outline { color: white; border: 1px solid #858b85; }
.home-button--outline:hover { color: #171d1b; background: white; }
.home-button--dark { color: white; background: var(--home-ink); }
.home-button--dark:hover { color: white; background: #36413c; }
.home-button--outline-dark { color: var(--home-ink); border: 1px solid var(--home-ink); }
.home-button--outline-dark:hover { color: white; background: var(--home-ink); }
.home-hero__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: auto; padding-top: 4rem; color: #c8d0c7; font-size: .875rem; letter-spacing: .04em; }
.home-hero__foot span:first-child { color: white; font-weight: 700; }
.home-hero__image { min-height: 100%; position: relative; background: #777f76 url('../img/pompa-przy-domu.webp') center / cover no-repeat; }
.home-hero__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,15,.55), transparent 50%); }
.home-image-label { position: absolute; z-index: 1; bottom: 2.5rem; left: 2.5rem; color: white; }
.home-image-label span { display: block; font-size: .875rem; font-weight: 700; letter-spacing: .08em; margin-bottom: .7rem; }
.home-image-label strong { font-size: 1.3rem; line-height: 1.2; }
.home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.home-section-head h2 { margin-bottom: 0; }
.home-section-head > p { max-width: 23rem; color: #626960; margin-bottom: .3rem; }
.home-offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cbd0c8; border-left: 1px solid #cbd0c8; }
.home-offer-card { min-height: 340px; display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid #cbd0c8; border-bottom: 1px solid #cbd0c8; color: var(--home-ink); text-decoration: none; transition: background-color .18s ease; }
.home-offer-card:hover { background: #fff; color: var(--home-ink); }
.home-offer-card__top { display: flex; justify-content: space-between; color: #5c655a; font-size: .875rem; font-weight: 700; }
.home-offer-card__top span:last-child { color: var(--home-ink); font-size: 1.3rem; }
.home-offer-card img { object-fit: contain; object-position: left center; width: 84px; height: 65px; margin: 2rem 0 1.7rem; }
.home-offer-card h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.home-offer-card p { color: #50594f; font-size: 1rem; line-height: 1.6; }
.home-card-link { margin-top: auto; padding-top: 1.5rem; font-size: 1rem; font-weight: 750; }
.home-card-link span { margin-left: .5rem; }
.home-text-link { display: inline-block; margin-top: 2rem; color: var(--home-ink); font-size: 1rem; font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--home-ink); padding-bottom: .3rem; }
.home-text-link:hover { color: #52614f; }
.home-text-link span { margin-left: .8rem; }
.home-story { background: #fff; }
.home-story__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 9vw, 9rem); }
.home-story__history { border-top: 2px solid var(--home-ink); padding-top: 1.5rem; }
.home-story .home-story__date { margin: 3.5rem 0 .5rem; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.home-story__date strong { display: block; color: #947200; font-size: clamp(3.5rem, 6vw, 6rem); letter-spacing: -.06em; line-height: 1; margin: .35rem 0; }
.home-story__date span { display: block; font-size: 1.35rem; }
.home-story__caption { color: #50594f; font-size: 1rem; }
.home-story__copy h2 { max-width: 12em; }
.home-story__copy > p { max-width: 39rem; color: #586159; }
.home-story__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.home-story__facts div { border-top: 1px solid #cbd0c8; padding-top: 1rem; }
.home-story__facts strong, .home-story__facts span { display: block; }
.home-story__facts strong { font-size: 1.2rem; color: var(--home-ink); }
.home-story__facts span { margin-top: .3rem; color: #50594f; font-size: 1rem; }
.home-process { background: #252e29; color: #edf1ea; padding: clamp(5rem, 8vw, 8rem) 0; }
.home-process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; }
.home-process h2, .home-process h3 { color: white; }
.home-process .home-kicker { color: var(--home-yellow); }
.home-process__grid > div > p:not(.home-kicker) { max-width: 28rem; color: #c5cdc4; }
.home-process .home-actions { margin-top: 1.3rem; }
.home-steps { padding: 0; margin: 0; list-style: none; }
.home-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid #69736b; }
.home-steps li > span { color: var(--home-yellow); font-size: .875rem; }
.home-steps h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.home-steps p { color: #c5cdc4; font-size: 1rem; margin-bottom: 0; }
.home-local { background: #e9ebe4; }
.home-local__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.home-local__image { position: relative; }
.home-local__image img { display: block; width: 100%; aspect-ratio: 1.1; object-fit: cover; }
.home-local__image > span { position: absolute; bottom: 0; right: 0; background: var(--home-yellow); padding: 1.1rem 1.5rem; font-size: .875rem; font-weight: 800; letter-spacing: .08em; }
.home-local__copy > p:not(.home-kicker) { color: #586159; max-width: 31rem; }
.home-local__copy .home-towns { color: var(--home-ink) !important; font-weight: 700; line-height: 2; margin-top: 2rem; }
.home-towns span { color: #a48b29; padding: 0 .2rem; }
.home-knowledge { background: #f8f8f4; }
.home-knowledge .home-text-link { white-space: nowrap; }
.home-articles { border-top: 1px solid #cbd0c8; }
.home-article { display: grid; grid-template-columns: 1fr 3fr auto; align-items: center; gap: 1.5rem; padding: 1.8rem 0; border-bottom: 1px solid #cbd0c8; text-decoration: none; color: var(--home-ink); }
.home-article:hover { color: #60705f; }
.home-article > span:first-child { font-size: .875rem; letter-spacing: .08em; color: #596257; font-weight: 700; }
.home-article h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); margin: 0; letter-spacing: -.025em; }
.home-article__arrow { font-size: 1.4rem; }
.home-contact { background: var(--home-yellow); padding: clamp(4.5rem, 7vw, 7rem) 0; }
.home-contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; }
.home-contact .home-kicker { color: #534a1d; }
.home-contact h2 { margin-bottom: 1.5rem; }
.home-contact__actions { border-left: 1px solid rgba(23,29,27,.35); padding-left: 3rem; }
.home-contact__actions > span { display: block; font-size: .875rem; letter-spacing: .08em; font-weight: 750; }
.home-contact__phone { display: block; margin: .8rem 0 .3rem; color: var(--home-ink); text-decoration: none; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.2; font-weight: 750; letter-spacing: -.04em; }
.home-contact__phone:hover { color: #4c4930; }
.home-contact__phone span { font-size: 1rem; vertical-align: top; }
.home-contact__actions .home-actions { margin-top: 1rem; }
.home-page + * { margin-top: 0; }
body:has(.home-page) .site-footer { margin-top: 0; }
body:has(.home-page) .footer-bottom { font-size: 1rem; }
@media (max-width: 900px) {
    .home-hero { grid-template-columns: 1fr 1fr; min-height: 570px; }
    .home-hero__copy { padding: 4rem 2rem 2rem; }
    .home-offer-grid { grid-template-columns: repeat(2, 1fr); }
    .home-process__grid { gap: 3rem; }
    .home-contact__grid { gap: 2rem; }
}
@media (max-width: 650px) {
    .home-wrap { width: calc(100% - 2.5rem); }
    .home-section { padding: 4.5rem 0; }
    .home-hero { grid-template-columns: 1fr; }
    .home-hero__copy { padding: 4rem 1.25rem 2rem; }
    .home-hero h1 { font-size: clamp(3rem, 12vw, 4.3rem); }
    .home-hero__foot { padding-top: 3rem; }
    .home-hero__image { min-height: 320px; }
    .home-image-label { left: 1.25rem; bottom: 1.5rem; }
    .home-section-head { display: block; margin-bottom: 2rem; }
    .home-section-head > p { margin-top: 1.3rem; }
    .home-offer-grid { grid-template-columns: 1fr; }
    .home-offer-card { min-height: 300px; padding: 1rem; }
    .home-offer-card img { margin: 1.3rem 0; }
    .home-story__grid, .home-process__grid, .home-local__grid, .home-contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .home-story .home-story__date { margin-top: 2rem; }
    .home-local__image { order: 2; }
    .home-article { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
    .home-article > span:first-child { grid-column: 1 / -1; }
    .home-contact__actions { border-left: 0; border-top: 1px solid rgba(23,29,27,.35); padding: 2rem 0 0; }
}
@media (max-width: 380px) { .home-offer-card { min-height: 270px; } }
@media (prefers-reduced-motion: reduce) { .home-page *, .home-page *::before, .home-page *::after { transition: none !important; } }
