/* ============================= */
/* GLOBALNY WRAPPER STRONY */
/* ============================= */

.granpak-page {
    width: 100%;
    overflow: hidden;
}

.gp-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}


/* ============================= */
/* HERO */
/* ============================= */

.gp-hero {
    position: relative;
    height: 711px;
    display: flex;
    align-items: center;

    background-color: #fff;
    background-image: var(--hero-bg-desktop);

    background-size: 1600px auto;
    background-position: center top;
    background-repeat: no-repeat;

    color: #fff;
}

.gp-hero::before {
    display: none;
}

.gp-hero .gp-container {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: flex-start;

    width: 100%;
}

.gp-hero__content {
    max-width: 520px;
    margin-left: -130px;

    text-align: center;
}

.gp-hero h1 {
    font-size: 44px;
    line-height: 1.08;
    margin-bottom: 30px;

    color: #fff;
    text-align: center;
}

.gp-hero p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;

    color: #fff;
    text-align: center;
}


/* ============================= */
/* PRZYCISK */
/* ============================= */

.gp-btn {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 260px;
    height: 58px;

    color: #fff !important;

    text-decoration: none !important;
    text-transform: uppercase !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;

    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%) !important;

    transition: 0.3s ease !important;

    border: none !important;
    box-shadow: none !important;

    overflow: hidden !important;

    background: transparent !important;

    z-index: 1;
}

.gp-btn::before {
    display: none !important;
    content: none !important;
}

.gp-btn::after {
    content: "" !important;

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        #6f6f6f 0%,
        #9d9d9d 45%,
        #d2d2d2 100%
    ) !important;

    z-index: -1;

    transition: 0.3s ease !important;
}

.gp-btn:hover::after {
    background: linear-gradient(
        90deg,
        #8b8b8b 0%,
        #b7b7b7 45%,
        #ececec 100%
    ) !important;
}


/* ============================= */
/* INTRO */
/* ============================= */

.gp-intro {
    padding: 90px 0;
    background: #fff;
}

.gp-intro__content {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;
}

.gp-intro h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 28px;

    color: #111;
}

.gp-intro__text {
    font-size: 18px;
    line-height: 1.8;

    color: #333;
}

.gp-intro__text p {
    margin-bottom: 18px;
}

.gp-intro__text p:last-child {
    margin-bottom: 0;
}


/* ============================= */
/* PRZYKŁADY USZLACHETNIEŃ */
/* ============================= */

.gp-examples {
    padding: 100px 0;
}

.gp-examples h2 {
    font-size: 42px;
    text-align: center;

    margin-bottom: 30px;

    color: #111;
}

.gp-examples__intro {
    max-width: 1100px;
    margin: 0 auto 60px;

    text-align: center;

    font-size: 20px;
    line-height: 1.8;

    color: #555;
}

.gp-examples__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-bottom: 45px;
}

.gp-example-card {
    overflow: hidden;
    background: #fff;
}

.gp-example-card img {
    width: 100%;
    display: block;

    transition: 0.4s ease;
}

.gp-example-card:hover img {
    transform: scale(1.03);
}

.gp-examples__bottom {
    max-width: 1200px;
    margin: 0 auto;

    text-align: center;

    font-size: 20px;
    line-height: 1.8;

    color: #555;
}


/* ============================= */
/* DOLNA CZĘŚĆ SEKCJI PRZYKŁADÓW */
/* ============================= */

.gp-examples-extra {
    max-width: 1250px;
    margin: 30px auto 0;
}

.gp-examples-extra h2 {
    font-size: 42px;
    line-height: 1.2;

    text-align: center;

    margin-bottom: 45px;

    color: #222;
}

.gp-examples-extra__text {
    max-width: 1000px;
    margin: 0 auto;

    text-align: center;

    font-size: 19px;
    line-height: 1.8;

    color: #5a5a5a;
}

.gp-examples-extra__text p {
    margin-bottom: 22px;
}

.gp-examples-extra__text p:last-child {
    margin-bottom: 0;
}


/* ============================= */
/* RODZAJE USZLACHETNIEŃ */
/* ============================= */

.gp-types {
    position: relative;
    padding: 110px 0;

    background: #111;
    color: #fff;
}

.gp-types h2 {
    text-align: center;

    font-size: 42px;
    margin-bottom: 70px;

    color: #fff;
}

.gp-types__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

    gap: 18px;

    max-width: 1320px;
    margin: 0 auto;
}

.gp-type-card {
    text-align: center;
}

.gp-type-card__image {
    width: 105px;
    height: 105px;

    margin: 0 auto 20px;

    border-radius: 50%;
    overflow: hidden;

    background: #222;
}

.gp-type-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.gp-type-card h3 {
    font-size: 17px;
    margin-bottom: 14px;

    color: #fff;
}

.gp-type-card__text {
    font-size: 14px;
    line-height: 1.6;

    color: rgba(255,255,255,0.75);
}


/* ============================= */
/* BRANŻE */
/* ============================= */

.gp-industries {
    padding: 110px 0;
    background: #fff;
}

.gp-industries h2 {
    text-align: center;

    font-size: 42px;
    margin-bottom: 45px;

    color: #333;
}

.gp-industries__text {
    max-width: 1500px;
    margin: 0 auto 70px;

    text-align: center;

    font-size: 19px;
    line-height: 1.8;

    color: #666;
}

.gp-industries__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 30px;

    max-width: 1500px;
    margin: 0 auto;
}

.gp-industry-card {
    text-align: center;
}

.gp-industry-card__image {
    margin: 0 auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-industry-card__image img {
    width: auto;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}

.gp-industry-card h3 {
    font-size: 20px;
    line-height: 1.4;

    color: #444;
}


/* ============================= */
/* ZOBACZ RÓŻNICĘ */
/* ============================= */

.gp-difference {
    padding: 110px 0;
    background: #f3f3f3;
}

.gp-difference__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.gp-difference__content h2 {
    font-size: 42px;
    line-height: 1.2;

    margin-bottom: 45px;

    color: #111;
}

.gp-difference__text {
    font-size: 24px;
    line-height: 1.45;

    color: #666;
}

.gp-difference__text p {
    margin-bottom: 32px;
}

.gp-difference__text p:last-child {
    margin-bottom: 0;
}


/* ============================= */
/* BEFORE / AFTER */
/* ============================= */

.gp-before-after {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 440px;

    aspect-ratio: 1 / 1;

    margin: 0 auto;

    background: #ddd;
}

.gp-before-after__image,
.gp-before-after__before img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.gp-before-after__before {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 2;

    clip-path: inset(0 50% 0 0);
}

.gp-before-after__before img {
    width: 100%;
    height: 100%;

    max-width: none;
}

.gp-before-after__range {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: ew-resize;

    z-index: 5;
}

.gp-before-after__line {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 4px;

    background: #fff;

    transform: translateX(-50%);

    z-index: 3;
}

.gp-before-after__handle {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 40px;
    height: 40px;

    transform: translate(-50%, -50%);

    background: #fff;
    color: #777;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 700;

    z-index: 4;
}


/* ============================= */
/* VIDEO */
/* ============================= */

.gp-video-section {
    padding: 110px 0;

    background: #000;
    color: #fff;
}

.gp-video-section h2 {
    text-align: center;

    font-size: 42px;
    line-height: 1.2;

    margin-bottom: 55px;

    color: #fff;
}

.gp-video-section__text {
    max-width: 1350px;
    margin: 0 auto 70px;

    font-size: 20px;
    line-height: 1.55;

    color: #fff;
}

.gp-video-section__embed {
    position: relative;

    max-width: 1180px;
    margin: 0 auto;

    aspect-ratio: 16 / 9;
}

.gp-video-section__embed iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}


/* ============================= */
/* PARK MASZYNOWY */
/* ============================= */

.gp-machine {
    padding: 110px 0;
    background: #fff;
}

.gp-machine h2 {
    text-align: center;

    font-size: 42px;
    line-height: 1.2;

    margin-bottom: 70px;

    color: #333;
}

.gp-machine__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.gp-machine__text {
    font-size: 22px;
    line-height: 1.45;

    color: #666;
}

.gp-machine__image img {
    width: 100%;
    height: auto;

    display: block;
}


/* ============================= */
/* CTA */
/* ============================= */

.gp-cta {
    position: relative;

    padding: 70px 0;
    margin-bottom: 30px;

    background-color: #111;
    background-size: cover;
    background-position: center;

    color: #fff;
}

.gp-cta::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.35);
}

.gp-cta .gp-container {
    position: relative;
    z-index: 2;
}

.gp-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr auto;

    gap: 70px;

    align-items: center;
}

.gp-cta h2 {
    font-size: 42px;
    line-height: 1.15;

    color: #fff;

    margin: 0;
}

.gp-cta__text {
    font-size: 18px;
    line-height: 1.6;

    color: #fff;
}

.gp-cta__btn {
    width: 240px;
    height: 54px;
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1600px) {

    .gp-hero {
        height: 44.42vw;
        background-size: contain;
    }

}

@media (max-width: 1200px) {

    .gp-types__grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 992px) {

    .gp-examples__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gp-industries__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gp-difference__inner,
    .gp-machine__inner,
    .gp-cta__inner {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .gp-hero {
        position: relative;

        aspect-ratio: 400 / 600;
        min-height: auto !important;
        height: auto !important;

        background-color: #fff !important;

        background-image: var(--hero-bg-mobile, var(--hero-bg-desktop)) !important;

        background-size: 100% auto !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    .gp-hero .gp-container {
        position: absolute;

        inset: 0;

        display: flex;
        align-items: flex-end;
        justify-content: center;

        padding-bottom: 40px;

        z-index: 2;
    }

    .gp-hero__content {
        max-width: none;
        margin-left: 0;

        text-align: center;
    }

    .gp-hero h1 {
        font-size: 23px;
        line-height: 1.15;

        margin-bottom: 14px;
    }

    .gp-hero p {
        font-size: 15px;
        line-height: 1.45;

        margin-bottom: 18px;
    }

    .gp-btn {
        width: 220px;
        height: 52px;

        font-size: 12px !important;
    }

    .gp-intro,
    .gp-examples,
    .gp-types,
    .gp-industries,
    .gp-difference,
    .gp-video-section,
    .gp-machine {
        padding: 80px 0;
    }

    .gp-intro h2,
    .gp-examples h2,
    .gp-examples-extra h2,
    .gp-types h2,
    .gp-industries h2,
    .gp-difference__content h2,
    .gp-video-section h2,
    .gp-machine h2,
    .gp-cta h2 {
        font-size: 34px;
    }

    .gp-examples__intro,
    .gp-examples__bottom,
    .gp-examples-extra__text,
    .gp-industries__text,
    .gp-machine__text,
    .gp-video-section__text {
        font-size: 17px;
    }

    .gp-examples__grid,
    .gp-types__grid,
    .gp-industries__grid {
        grid-template-columns: 1fr;
    }

    .gp-examples-extra {
        margin-top: 30px;
    }

    .gp-examples-extra__text {
        padding-left: 15px;
        padding-right: 15px;
    }

    .gp-difference__content h2,
    .gp-difference__text {
        text-align: center;
    }

    .gp-difference__text {
        font-size: 18px;
    }

    .gp-before-after {
        max-width: 100%;
    }

}