/*
 * Hero - style przeniesione 1:1 z template-parts/hero-v2.php.
 * Klasy zostaja te same (.hero-v2*), zeby wyglad sie nie zmienil.
 */
/* Nagłówek motywu jest position:fixed (header#header.header-fixed),
       więc górny padding musi zmieścić jego wysokość: 80px, a od 1170px - 100px. */
    .hero-v2 {
         
        margin-bottom: 40px;
        padding: 120px 20px 0;
       background:
  radial-gradient(900px 620px at 8% 18%,  rgba(37,86,168,.55) 0%, rgba(37,86,168,0) 62%),
  radial-gradient(760px 560px at 78% 8%,  rgba(20,64,140,.65) 0%, rgba(20,64,140,0) 60%),
  radial-gradient(680px 520px at 62% 96%, rgba(200,16,46,.32) 0%, rgba(200,16,46,0) 60%),
  radial-gradient(1100px 700px at 100% 60%, rgba(10,32,73,.9) 0%, rgba(10,32,73,0) 70%),
  linear-gradient(160deg, #123566 0%, #0E2A57 46%, #0A1F45 100%);
color: #fff;
overflow: hidden;
position: relative;
    }

    .hero-v2 .hero-v2-inner {
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        column-gap: 60px;
        align-items: start;
    }

    /* NADTYTUŁ */

    .hero-v2 .hero-v2-eyebrow {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 26px;
        font-family: "Figtree-Medium", sans-serif;
        font-size: 1.3rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #8fb2ea;
    }
.title-eyebrow {margin-bottom: 26px;
        font-family: "Figtree-Medium", sans-serif;
        font-size: 1.3rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #c12030;}
    .hero-v2 .hero-v2-eyebrow::before {
        content: "";
        width: 28px;
        height: 2px;
        background-color: #c12030;
        flex-shrink: 0;
    }

    /* NAGŁÓWEK I LEAD */

    .hero-v2 .hero-v2-title {
        font-family: "Figtree-Medium", sans-serif;
        font-size: clamp(3.2rem, 3.6vw, 5rem);
        line-height: 1.24;
        font-weight: 500;
        color: #fff;
        margin: 0 0 30px 0;
        max-width: 15em;
    }

    .hero-v2 .hero-v2-lead {
        font-size: 1.7rem;
        line-height: 1.75;
        color: #c2d3f0;
        margin: 0 0 38px 0;
        max-width: 34em;
    }

    /* PRZYCISKI */

    .hero-v2 .hero-v2-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-v2 .hero-v2-btn {
        display: inline-block;
        padding: 14px 30px;
       border-radius: 10px;
        border: 1px solid transparent;
        font-family: "Figtree-Medium", sans-serif;
        font-size: 1.6rem;
        line-height: 1.2;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
    }

    .hero-v2 .hero-v2-btn-primary {
        background-color: #e0121e;
        color: #fff;
    }

    .hero-v2 .hero-v2-btn-primary:hover {
        background-color: #c1101a;
    }

    .hero-v2 .hero-v2-btn-ghost {
        border-color: rgba(255, 255, 255, 0.55);
        color: #fff;
    }

    .hero-v2 .hero-v2-btn-ghost:hover {
        background-color: rgba(255, 255, 255, 0.12);
        border-color: #fff;
    }

    /* KOLAŻ ZDJĘĆ */

    .hero-v2 .hero-v2-gallery {
        display: grid;
        grid-template-columns: 1.33fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
        aspect-ratio: 1.55 / 1;
    }

    .hero-v2 .hero-v2-gallery figure {
        margin: 0;
        overflow: hidden;
        border-radius: 12px;
        background-color: rgba(255, 255, 255, 0.08);
    }

    .hero-v2 .hero-v2-gallery figure:first-child {
        grid-row: 1 / 3;
    }

    .hero-v2 .hero-v2-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* PASEK LICZB */

    .hero-v2 .hero-v2-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        list-style: none;
        margin: 60px 0 0 0;
        padding: 32px 0 70px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .hero-v2 .hero-v2-stats li {
        margin: 0;
        padding: 0 30px;
        border-left: 1px solid rgba(255, 255, 255, 0.22);
    }

    /* motyw dokleja ikonę li.svg do każdego <li> - w pasku liczb jest zbędna */
    .hero-v2 .hero-v2-stats li::before {
        content: none;
    }

    .hero-v2 .hero-v2-stats li:first-child {
        padding-left: 0;
        border-left: 0;
    }

    .hero-v2 .hero-v2-stat-value {
        font-family: "Figtree-Medium", sans-serif;
        font-size: 4rem;
        line-height: 1.1;
        color: #fff;
        margin: 0 0 14px 0;
    }

    .hero-v2 .hero-v2-stat-value span {
        font-size: 1.8rem;
        color: #a8c0e8;
        margin-left: 4px;
    }

    .hero-v2 .hero-v2-stat-desc {
        font-size: 1.4rem;
        line-height: 1.55;
        color: #b7c9e8;
        margin: 0;
    }

    /* RESPONSYWNOŚĆ */

    /* @media (min-width: 1170px) {
        .hero-v2 {
            padding-top: 170px;
        }
    } */

    @media (max-width: 1024px) {
        .hero-v2 .hero-v2-inner {
            grid-template-columns: 1fr;
            row-gap: 45px;
        }

        .hero-v2 .hero-v2-title,
        .hero-v2 .hero-v2-lead {
            max-width: none;
        }

        .hero-v2 .hero-v2-stats {
            grid-template-columns: repeat(2, 1fr);
            row-gap: 32px;
        }

        .hero-v2 .hero-v2-stats li:nth-child(3) {
            padding-left: 0;
            border-left: 0;
        }
    }

    @media (max-width: 640px) {
        .hero-v2 {
            padding-top: 125px;
        }

        .hero-v2 .hero-v2-stats {
            grid-template-columns: 1fr;
            padding-bottom: 45px;
        }

        .hero-v2 .hero-v2-stats li {
            padding: 0;
            border-left: 0;
        }

        .hero-v2 .hero-v2-stat-value {
            font-size: 3.4rem;
        }
    }

/* ═══════════════════════════════════════════════════════════════
   WIDOK MOBILNY - kompaktowanie

   Hero zajmowalo na telefonie niemal dwa ekrany: 125px gornego paddingu,
   tytul z clamp() o dolnej granicy 3.2rem, kolaz 1.55:1 i pasek liczb
   w jednej kolumnie (cztery pelnej wysokosci wiersze).

   Reguly celowo powtarzaja selektory z sekcji wyzej - stoja pozniej
   w pliku, wiec przy tej samej specyficznosci wygrywaja.
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    /* naglowek motywu jest fixed i ma 80px - 95px wystarcza z zapasem */
    .hero-v2 {
       padding-top: 60px;
        margin-left: -15px;
        margin-right: -15px;
    }

    .hero-v2 .hero-v2-inner {
        row-gap: 26px;
    }

    .hero-v2 .hero-v2-title {
        font-size: clamp(2.6rem, 7.5vw, 3.4rem);
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-v2 .hero-v2-lead {
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .hero-v2 .hero-v2-actions {
        gap: 10px;
    }

    .hero-v2 .hero-v2-btn {
        padding: 12px 22px;
        font-size: 1.5rem;
    }

    /* nizszy kolaz - 1.55:1 zjadalo pol ekranu telefonu */
    .hero-v2 .hero-v2-gallery {
        aspect-ratio: 2 / 1;
        gap: 6px;
    }

    /* pasek liczb w dwoch kolumnach zamiast czterech wierszy */
    .hero-v2 .hero-v2-stats {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 14px;
        row-gap: 18px;
        margin-top: 28px;
        padding: 20px 0 36px;
    }

    .hero-v2 .hero-v2-stat-value {
        font-size: 2.6rem;
        margin-bottom: 6px;
    }

    .hero-v2 .hero-v2-stat-value span {
        font-size: 1.4rem;
    }

    .hero-v2 .hero-v2-stat-desc {
        font-size: 1.25rem;
        line-height: 1.45;
    }
}
