/* =========================================================
   OFERTA — podstrona Biel Stal
   Wstęp, garaże ze zdjęciem, cztery usługi tekstem, zamknięcie.
   ========================================================= */

.tg-offerpage {
    background-color: #fff;
    color: var(--tg-ink);
    padding-bottom: clamp(1rem, 3vh, 2rem);
}

.tg-offerpage__intro {
    padding-top: clamp(2.5rem, 7vh, 5rem);
    padding-bottom: clamp(3rem, 7vh, 5rem);
    max-width: var(--adcore-section-max);
}

.tg-offerpage__title {
    max-width: 11em;
    margin: 0;
    font-size: clamp(2.6rem, 4.6vw, 4.1rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.tg-offerpage__lead {
    max-width: 38rem;
    margin: 1.25rem 0 0;
    font-size: var(--tg-fs-lead);
    line-height: 1.55;
    color: var(--tg-muted);
    text-wrap: pretty;
}

.tg-offerpage__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.5rem;
    margin-top: 2rem;
}

.tg-offerpage__garage {
    scroll-margin-top: 5.5rem;
}

.tg-offerpage__garage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.tg-offerpage__heading {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.tg-offerpage__copy p,
.tg-offerpage__text,
.tg-offerpage__close p {
    margin: 0;
    max-width: 38rem;
    font-size: var(--tg-fs-body);
    line-height: 1.65;
    color: var(--tg-muted);
    text-wrap: pretty;
}

.tg-offerpage__copy p + p {
    margin-top: 1rem;
}

.tg-offerpage__frame {
    margin: 0;
    overflow: hidden;
    border-radius: 1.75rem;
    background-color: var(--tg-surface);
}

.tg-offerpage__frame img {
    display: block;
    width: 100%;
    height: clamp(16rem, 32vw, 24rem);
    object-fit: cover;
    object-position: center 40%;
}

.tg-offerpage__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: clamp(2.5rem, 6vh, 4rem) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--tg-line);
}

.tg-offerpage__facts li {
    min-width: 0;
    padding: clamp(1.35rem, 3vh, 2rem) clamp(1rem, 2vw, 1.75rem) 0 0;
}

.tg-offerpage__facts li + li {
    padding-left: clamp(1rem, 2vw, 1.75rem);
    border-left: 1px solid var(--tg-line);
}

.tg-offerpage__fact-value {
    margin: 0 0 0.4rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--tg-accent);
}

.tg-offerpage__fact-note {
    margin: 0;
    max-width: 24rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--tg-faint);
    text-wrap: pretty;
}

.tg-offerpage__services {
    margin-top: clamp(3rem, 7vh, 5rem);
}

.tg-offerpage__service {
    padding-block: clamp(2.25rem, 5vh, 3.5rem);
    border-top: 1px solid var(--tg-line);
    scroll-margin-top: 5.5rem;
}

.tg-offerpage__points {
    max-width: 38rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--tg-line);
}

.tg-offerpage__points li {
    padding: 0.85rem 0;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--tg-ink);
    border-bottom: 1px solid var(--tg-line);
}

a.tg-link.tg-offerpage__ask,
a.tg-link.tg-offerpage__ask:link,
a.tg-link.tg-offerpage__ask:visited,
.tg-offerpage__actions a.tg-link,
.tg-offerpage__actions a.tg-link:link,
.tg-offerpage__actions a.tg-link:visited {
    color: var(--tg-muted);
}

a.tg-link.tg-offerpage__ask:hover,
a.tg-link.tg-offerpage__ask:focus-visible,
.tg-offerpage__actions a.tg-link:hover,
.tg-offerpage__actions a.tg-link:focus-visible {
    color: var(--tg-accent);
}

.tg-offerpage__ask {
    margin-top: 1.15rem;
}

.tg-offerpage__close {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
    padding-top: clamp(2.5rem, 6vh, 4rem);
    padding-bottom: clamp(3rem, 7vh, 5rem);
    border-top: 1px solid var(--tg-line);
}

@media (max-width: 1023px) {
    .tg-offerpage__garage-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .tg-offerpage__frame img {
        height: clamp(14rem, 52vw, 22rem);
    }

    .tg-offerpage__facts {
        grid-template-columns: 1fr;
    }

    .tg-offerpage__facts li,
    .tg-offerpage__facts li + li {
        padding: 1.15rem 0 0;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .tg-offerpage__intro,
    .tg-offerpage__copy,
    .tg-offerpage__service,
    .tg-offerpage__close {
        text-align: center;
    }

    .tg-offerpage__intro {
        margin-inline: auto;
    }

    .tg-offerpage__title {
        margin-inline: auto;
    }

    .tg-offerpage__lead,
    .tg-offerpage__copy p,
    .tg-offerpage__text,
    .tg-offerpage__close p {
        margin-inline: auto;
    }

    .tg-offerpage__actions,
    .tg-offerpage__close {
        align-items: center;
    }

    .tg-offerpage__actions {
        justify-content: center;
    }

    .tg-offerpage__facts li,
    .tg-offerpage__facts li + li {
        text-align: center;
    }

    .tg-offerpage__fact-note {
        margin-inline: auto;
    }

    .tg-offerpage__points {
        margin-inline: auto;
    }
}

.tg-offerpage__services .tg-offerpage__garage {
    padding-block: clamp(2.25rem, 5vh, 3.5rem);
    border-top: 1px solid var(--tg-line);
    scroll-margin-top: 5.5rem;
}

.tg-offerpage__services .tg-offerpage__garage .tg-offerpage__facts {
    margin-top: clamp(2rem, 5vh, 3rem);
}

.tg-offerpage__actions--inline {
    margin-top: 1.25rem;
}

.tg-offerpage__services .tg-offerpage__garage .tg-offerpage__points {
    margin-top: 1.15rem;
}

/* Wiaty, hale, konstrukcje i przykład schowka. */

.tg-offerdepth__lead {
    max-width: 40rem;
    margin: 0.85rem 0 0;
    font-size: var(--tg-fs-body);
    line-height: 1.65;
    color: var(--tg-muted);
}

.tg-offerdepth__kicker {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tg-accent);
}

.tg-offerdepth__choose {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.35rem;
}

.tg-offerdepth__pick {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    padding: 1.15rem 1.1rem 1.2rem;
    border: 1px solid var(--tg-line);
    border-radius: 0.85rem;
    background: #fff;
    color: inherit;
    text-decoration: none;
    text-align: left;
}

.tg-offerdepth__pick.is-current {
    border-color: var(--tg-accent);
}

a.tg-offerdepth__pick:hover,
a.tg-offerdepth__pick:focus-visible {
    border-color: var(--tg-accent);
}

.tg-offerdepth__pick h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--tg-ink);
}

.tg-offerdepth__pick p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--tg-muted);
}

.tg-offerdepth__spec {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 1.35rem 0 0;
    text-align: left;
}

.tg-offerdepth__spec div {
    padding: 1rem 1.25rem 1rem 0;
    border-top: 1px solid var(--tg-line);
}

.tg-offerdepth__spec div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.tg-offerdepth__spec dt {
    margin: 0 0 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tg-accent);
}

.tg-offerdepth__spec dd {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--tg-ink);
}

.tg-offerdepth__more {
    margin: 1.15rem 0 0;
}

.tg-offerdepth__example {
    margin-top: clamp(1.75rem, 4vh, 2.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--tg-line);
    text-align: left;
}

.tg-offerdepth__example h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.tg-offerdepth__example h3 a {
    color: inherit;
    text-decoration: none;
}

.tg-offerdepth__example h3 a:hover,
.tg-offerdepth__example h3 a:focus-visible {
    color: var(--tg-accent);
}

.tg-offerdepth__example ul {
    max-width: 40rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.tg-offerdepth__example li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--tg-line);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.tg-offerfaq {
    padding-block: clamp(2.25rem, 5vh, 3.5rem);
    border-top: 1px solid var(--tg-line);
    scroll-margin-top: 5.5rem;
    text-align: left;
}

.tg-offerfaq__list {
    max-width: 46rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--tg-line);
}

.tg-offerfaq details {
    border-bottom: 1px solid var(--tg-line);
}

.tg-offerfaq summary {
    padding: 0.95rem 1.75rem 0.95rem 0;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.tg-offerfaq summary:focus-visible {
    outline: 2px solid var(--tg-accent);
    outline-offset: 3px;
}

.tg-offerfaq summary::-webkit-details-marker {
    display: none;
}

.tg-offerfaq summary::after {
    content: "+";
    float: right;
    margin-right: -1.75rem;
    color: var(--tg-accent);
    font-weight: 500;
}

.tg-offerfaq details[open] summary::after {
    content: "–";
}

.tg-offerfaq details p {
    margin: 0 0 1rem;
    max-width: 40rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--tg-muted);
}

@media (max-width: 1023px) {
    .tg-offerdepth__choose,
    .tg-offerdepth__spec {
        grid-template-columns: 1fr;
    }

    .tg-offerdepth__spec div {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .tg-offerpage__service .tg-offerdepth,
    .tg-offerpage__service .tg-offerdepth p,
    .tg-offerpage__service .tg-offerdepth li,
    .tg-offerdepth__example,
    .tg-offerfaq,
    .tg-offerfaq p {
        text-align: left;
    }
}

.tg-offerpage__guide {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.15rem;
    margin: 1rem 0 0;
    font-size: 0.9375rem;
    font-weight: 500;
}

.tg-offerpage__guide a {
    color: var(--tg-muted);
    text-decoration: none;
}

.tg-offerpage__guide a:hover,
.tg-offerpage__guide a:focus-visible {
    color: var(--tg-accent);
}
