.nh-phone-contact {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .7rem;
    max-width: 100%;
    line-height: 1.4;
}
.nh-phone-contact > span { font-size: .9em; }
.nh-phone-contact > a:last-child, .nh-catalogue-totals a { text-decoration: underline; text-underline-offset: .16em; }
.nh-catalogue-totals { max-width: 1360px; margin: .5rem auto 1rem; padding: 0 1rem; line-height: 1.7; }
.project-template-wrapper .topSection .projectTitleRow h1 { margin: 0; line-height: 1.15; font-size: var(--fontSizeXXL, 2rem); }
.footer-contact .nh-phone-contact { align-items: center; }
@media (max-width: 860px) {
    .nhw-mobile-cta > a:last-child, .nhk-mobile-cta > a:last-child { grid-column: 1 / -1; min-height: 32px; padding: .25rem; }
    .nhw-mobile-cta > .nh-phone-contact, .nhk-mobile-cta > .nh-phone-contact {
        display: grid;
        gap: 0;
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        font-size: .875rem;
    }
    .nhw-mobile-cta > .nh-phone-contact > span, .nhk-mobile-cta > .nh-phone-contact > span {
        grid-column: 1 / -1;
        grid-row: 2;
        background: #fff;
        color: #202820;
        padding: .16rem .5rem;
        text-align: center;
    }
    .nhw-mobile-cta > .nh-phone-contact > a, .nhk-mobile-cta > .nh-phone-contact > a {
        min-height: 44px;
        padding: .35rem;
        font-size: .875rem;
    }
}

/* Shared company details at the foot of the public WordPress theme. */
.footer-main.nh-footer-directory {
    display: block;
    width: 100%;
    padding: clamp(2rem, 4vw, 3.75rem) clamp(1.25rem, 4vw, 3.5rem) 1.5rem;
    background: #202826;
    color: #f8f9f7;
    font-size: 1rem;
    line-height: 1.55;
}
.nh-footer-directory__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.nh-footer-directory__columns {
    display: grid;
    grid-template-columns: .88fr 1fr 1fr 1.25fr;
    gap: clamp(1.5rem, 3.2vw, 3.5rem);
}
.nh-footer-directory__columns > div { min-width: 0; }
.nh-footer-directory h2 {
    margin: 0 0 1rem;
    color: #f8f9f7;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
}
.nh-footer-directory address, .nh-footer-directory p {
    margin: 0;
    color: #e2e9e5;
    font-style: normal;
}
.nh-footer-directory a,
.nh-footer-directory a:visited { color: inherit; }
.nh-footer-directory a {
    text-decoration: none;
    text-underline-offset: .2em;
}
.nh-footer-directory a:hover { text-decoration: underline; }
.nh-footer-directory a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 3px;
}
.nh-footer-directory__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}
.nh-footer-directory__brand img {
    display: block;
    max-width: 100%;
    height: auto;
}
.nh-footer-directory__certificate {
    display: inline-block;
    padding: .35rem .6rem;
    background: #fff;
    border-radius: 6px;
}
.nh-footer-directory .nh-phone-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
}
.nh-footer-directory .nh-phone-contact > span {
    color: #c3ceca;
    font-size: .9375rem;
}
.nh-footer-directory__phone {
    font-size: clamp(1.375rem, 2.15vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.nh-footer-directory .nh-phone-contact > a:last-child {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .65rem .95rem;
    margin-top: .7rem;
    background: #b82835;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: .9375rem;
    font-weight: 700;
}
.nh-footer-directory .nh-phone-contact > a:last-child:hover { background: #a3212e; }
.nh-footer-directory__email {
    display: inline-block;
    margin-top: .65rem;
    overflow-wrap: anywhere;
}
.nh-footer-directory__branch p {
    margin: .7rem 0 0;
    color: #c3ceca;
}
.nh-footer-directory__company dl {
    margin: .75rem 0 0;
    color: #e2e9e5;
    font-size: .9375rem;
    font-variant-numeric: tabular-nums;
}
.nh-footer-directory__company dl > div {
    display: grid;
    grid-template-columns: 3.75rem 1fr;
    gap: .25rem;
}
.nh-footer-directory__company dt { color: #c3ceca; }
.nh-footer-directory__company dd { margin: 0; }
.nh-footer-directory__company dl > .nh-footer-directory__account {
    display: block;
    margin-top: .55rem;
}
.nh-footer-directory__links, .nh-footer-directory__bottom,
.nh-footer-directory__links nav, .nh-footer-directory__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem 1.5rem;
}
.nh-footer-directory__links, .nh-footer-directory__bottom { justify-content: space-between; }
.nh-footer-directory__links {
    margin-top: clamp(1.75rem, 3vw, 3rem);
    padding: 1.1rem 0;
    border-block: 1px solid #43504c;
    font-size: .9375rem;
}
.nh-footer-directory__links a {
    padding-block: .25rem;
}
.nh-footer-directory__bottom {
    padding-top: 1rem;
    color: #c3ceca;
    font-size: .875rem;
}
.nh-footer-directory__bottom small { font-size: inherit; }
.nh-footer-directory__menu { list-style: none; margin: 0; padding: 0; }
#footer-wojewodztwa { scroll-margin-top: 7rem; }

@media (max-width: 1023px) {
    .nh-footer-directory__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 599px) {
    .nh-footer-directory__columns { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .nh-footer-directory__brand { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .nh-footer-directory__brand > a:first-child img { width: 132px; }
    .nh-footer-directory__certificate img { width: 76px; }
    .nh-footer-directory__links, .nh-footer-directory__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }
}

@media (max-width: 768px) {
    /* Keep the last footer links above the floating calculator when scrolled to the end. */
    body:has(.nh-estimator--floating) .nh-footer-directory {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 860px) {
    /* The regional contact bar has three rows before its script measures the height. */
    body.nhw-wroclaw-page {
        --nhw-measured-cta-height: calc(7.5rem + env(safe-area-inset-bottom, 0px));
    }
    body.nhk-katowice-page {
        --nhk-measured-cta-height: calc(7.5rem + env(safe-area-inset-bottom, 0px));
    }
}

/* The guarantee and references are links; the company total is a read-only fact. */
.site-footer .footer-stats {
    min-height: 0;
    padding: clamp(1.25rem, 2.4vw, 2.25rem) clamp(1.25rem, 4vw, 3.5rem);
    color: #fff;
}
.footer-stats .footer-stats__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    gap: 0;
    margin: 0 auto;
    padding: 0;
}
.footer-stats .footer-stats__item {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 1.6vw, 1.5rem);
    min-width: 0;
    padding: .75rem clamp(.75rem, 1.8vw, 1.75rem);
    color: #fff;
    cursor: auto;
    transform: none;
    transition: none;
}
.footer-stats .footer-stats__item + .footer-stats__item { border-inline-start: 1px solid rgb(255 255 255 / 40%); }
.footer-stats .footer-stats__icon {
    flex: none;
    width: clamp(2.5rem, 3.75vw, 3.5rem);
    height: clamp(2.5rem, 3.75vw, 3.5rem);
    margin: 0;
}
.footer-stats .footer-stats__label {
    font-size: clamp(1.125rem, 1.48vw, 1.375rem);
    font-weight: 700;
    line-height: 1.25;
}
.footer-stats .footer-stats__content { gap: .2rem; }
.footer-stats .footer-stats__detail { font-size: 1rem; line-height: 1.4; }
.footer-stats .footer-stats__link,
.footer-stats .footer-stats__link:visited {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
.footer-stats__link .footer-stats__label {
    text-decoration: underline;
    text-decoration-color: rgb(255 255 255 / 70%);
    text-underline-offset: .22em;
    text-decoration-thickness: 1px;
}
.footer-stats__link:hover .footer-stats__label,
.footer-stats__link:focus-visible .footer-stats__label { text-decoration-color: #fff; text-decoration-thickness: 2px; }
.footer-stats__link:focus-visible { outline: 2px solid #fff; outline-offset: -3px; border-radius: 4px; }

@media (max-width: 760px) {
    .footer-stats .footer-stats__inner { grid-template-columns: minmax(0, 1fr); }
    .footer-stats .footer-stats__item { padding: 1rem 0; }
    .footer-stats .footer-stats__item + .footer-stats__item {
        border-inline-start: 0;
        border-block-start: 1px solid rgb(255 255 255 / 40%);
    }
}

:is(.nhw-proof, .nhk-proof) :is(.nhw-proof__item, .nhk-proof__item) > :is(strong, a) {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-weight: 700;
    line-height: 1.25;
}
:is(.nhw-proof__item, .nhk-proof__item) > a:any-link,
:is(.nhw-final-cta__actions, .nhk-final-cta__actions) .nh-phone-contact > a:last-child:any-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .2em;
}
:is(.nhw-proof, .nhk-proof) :is(.nhw-proof__item, .nhk-proof__item) > a:focus-visible,
:is(.nhw-final-cta__actions, .nhk-final-cta__actions) .nh-phone-contact > a:last-child:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Inline links inside the pale quote, contact and catalogue panels. */
.nh-interview-card .nh-interview-badge { color: #ae222d; }
.quickQuoteBar .text h2 a:any-link,
.nhw-steps article p a:any-link,
.promo-bar .pb-content :is(h3, p) a:any-link,
.promo-bar .pb-cta-actions .nh-phone-contact > a:last-child:any-link,
.footer-contact__content .nh-phone-contact > a:last-child:any-link,
:is(.nhw-branch-contact, .nhw-hero__actions, .nhk-hero__actions) .nh-phone-contact > a:last-child:any-link,
.nh-catalogue-totals a:any-link,
.nh-project-quote > a:any-link,
.nh-project-quote + p > a:any-link {
    color: #245c4a;
    text-decoration: underline;
    text-underline-offset: .18em;
}
:is(.quickQuoteBar .text, .nhw-steps article p, .promo-bar .pb-content, .promo-bar .pb-cta-actions,
    .footer-contact__content, .nhw-branch-contact, .nhw-hero__actions, .nhk-hero__actions, .nh-catalogue-totals,
    .nh-project-quote, .nh-project-quote + p) a:focus-visible {
    outline: 2px solid #245c4a;
    outline-offset: 3px;
}
.site-header .header-cta:any-link,
.site-footer .footer-form__submit {
    background-color: #d12e36;
    color: #fff;
}
.site-header .header-cta:hover,
.site-footer .footer-form__submit:hover { background-color: #af202d; }
.site-header .header-cta:focus-visible,
.site-footer .footer-form__submit:focus-visible {
    outline: 2px solid #212825;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff;
}

/* Keep photo captions and the contact line readable on light areas of the media. */
.offers-menu-row .offer-element .offer-content {
    background-color: rgb(12 20 17 / 65%);
}
.offers-menu-row .offer-element .offer-content::after {
    content: "";
    position: absolute;
    inset: 100% 0 auto;
    height: 1.5rem;
    background: linear-gradient(to bottom, rgb(12 20 17 / 65%), transparent);
    pointer-events: none;
}
.offers-menu-row .offer-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}
.offers-menu-row .offer-link:is(:hover, :focus-visible) .offer-title {
    text-decoration: underline;
    text-decoration-thickness: .07em;
    text-underline-offset: .15em;
}
.background-movie-container .bg-container .shadow { background-color: rgb(0 0 0 / 60%); }
.background-movie-container .hero-content .contact a:any-link { color: #fff; }
.background-movie-container .hero-content .contact a:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: .18em;
}
.background-movie-container .hero-content .contact a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.project-template-wrapper .smallInfo { background-color: #fcfcfc; }
.offers-menu-row .offer-link .offer-content .offer-suptitle .anim {
    color: #fff;
    background: none;
    animation: none;
}
