/* =========================================================
   HERO — Biel Stal
   Lewa kolumna: prefix, tytuł, lead, CTA i opinie.
   Prawa: cztery kadry, dwa szersze i dwa węższe.
   ========================================================= */

body.home {
    padding-top: 0;
}

.tg-hero {
    background-color: #fff;
    color: var(--tg-ink);
    padding-top: calc(4.75rem + clamp(1.75rem, 5vh, 3.5rem));
    padding-bottom: clamp(3rem, 8vh, 5.5rem);
}

.tg-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
}

.tg-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 36rem;
}

.tg-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tg-accent);
}

.tg-hero__eyebrow::before {
    content: "";
    width: 1.35rem;
    height: 2px;
    flex-shrink: 0;
    background-color: var(--tg-accent);
}

.tg-hero__title {
    margin: 0;
    font-size: clamp(2.6rem, 4.6vw, 4.25rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.tg-hero__line {
    display: block;
}

.tg-hero__lead {
    max-width: 28rem;
    margin: 1.35rem 0 0;
    font-size: var(--tg-fs-lead);
    line-height: 1.55;
    color: var(--tg-muted);
}

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

.tg-hero__reviews {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--tg-muted);
    text-decoration: none;
    transition: color 0.3s var(--tg-ease);
}

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

.tg-hero__reviews:focus-visible,
.tg-hero .tg-btn:focus-visible {
    outline: 2px solid var(--tg-accent);
    outline-offset: 4px;
}

.tg-hero__mosaic {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1.15fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
    width: min(100%, 34rem);
    height: clamp(22rem, 44vh, 28rem);
    min-height: 0;
    justify-self: end;
}

.tg-hero__shot {
    margin: 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background-color: var(--tg-surface);
}

.tg-hero__shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tg-hero__shot--wide-top {
    grid-column: 1 / 3;
    grid-row: 1;
    border-radius: 1.75rem;
}

.tg-hero__shot--tall-top {
    grid-column: 3;
    grid-row: 1;
    border-radius: 999px;
}

.tg-hero__shot--tall-bot {
    grid-column: 1;
    grid-row: 2;
    border-radius: 999px;
}

.tg-hero__shot--wide-bot {
    grid-column: 2 / 4;
    grid-row: 2;
    border-radius: 1.75rem;
}

@media (max-width: 1023px) {
    .tg-hero {
        padding-top: calc(4.25rem + 1.25rem);
    }

    .tg-hero__layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.75rem;
    }

    .tg-hero__mosaic {
        order: -1;
        width: 100%;
        max-width: none;
        height: clamp(16rem, 62vw, 24rem);
        justify-self: stretch;
        grid-template-columns: 1.25fr 0.8fr;
        gap: 0.65rem;
    }

    .tg-hero__shot--wide-top {
        grid-column: 1;
        grid-row: 1;
        border-radius: 1.25rem;
    }

    .tg-hero__shot--tall-top {
        grid-column: 2;
        grid-row: 1;
    }

    .tg-hero__shot--tall-bot {
        grid-column: 1;
        grid-row: 2;
    }

    .tg-hero__shot--wide-bot {
        grid-column: 2;
        grid-row: 2;
        border-radius: 1.25rem;
    }

    .tg-hero__copy {
        max-width: none;
    }

    .tg-hero__title {
        font-size: clamp(2.15rem, 9vw, 3rem);
    }

    .tg-hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .tg-hero__reviews {
        order: -1;
    }
}

@media (max-width: 767px) {
    .tg-hero__eyebrow::before {
        display: none;
    }

    .tg-hero__eyebrow {
        gap: 0;
    }

    .tg-hero__mosaic {
        display: block;
        height: auto;
    }

    .tg-hero__shot:not(.tg-hero__shot--tall-top) {
        display: none;
    }

    .tg-hero__shot--tall-top {
        border-radius: 1.35rem;
    }

    .tg-hero__shot--tall-top img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .tg-hero__copy {
        align-items: center;
        max-width: none;
        text-align: center;
    }

    .tg-hero__lead {
        max-width: 28rem;
    }

    .tg-hero__actions,
    .tg-hero__types {
        align-items: center;
        justify-content: center;
    }
}

.tg-hero__types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.15rem;
    margin-top: 1.35rem;
}

.tg-hero__types a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--tg-muted);
    text-decoration: none;
}

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