/* ——— Hero block (sekcja + elementy wewnątrz) ——— */

.section-wrapper.hero-section__section {
    min-height: 70vh;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.hero-section__section {
    position: relative;
    background-color: #537856;
    overflow: hidden;
}

.section-wrapper.hero-section__section.global-section-style {
    padding: 20px 20px;
    border-radius: 0;
    background: transparent;
}

@media screen and (max-width: 785px) {
    .section-wrapper.hero-section__section.global-section-style {
        padding: 0;
        background: #0d2b34;
    }

    .section-wrapper.hero-section__section {
        background: #0d2b34;
    }
}

.hero-section-images-background-left {
    display: flex;
    position: absolute;
    left: 15%;
    top: 20%;
    z-index: 0;
}

.hero-section-images-background-right {
    display: flex;
    position: absolute;
    right: 10%;
    top: 10%;
    z-index: 0;
}

.hero-section-images-background-left,
.hero-section-images-background-right {
    opacity: 0.12;
}

.hero-section__inner-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding-top: 10vh;
    padding-bottom: 8vh;
    gap: clamp(1.25rem, 3vh, 2rem);
    font-family: "Syne", sans-serif;
}

.hero-section__inner-shell {
    border-radius: 25px;
    min-height: fit-content;
    background-position: center;
    background-size: cover;
    padding: 80px 40px 50px;
    position: relative;
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-section__inner-shell {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
        animation: hero-section-shell-in 0.88s cubic-bezier(0.33, 1, 0.68, 1) 0.04s forwards;
    }

    .hero-section__inner-content > * {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
        animation: hero-section-block-in 0.62s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    }

    .hero-section__inner-content > *:nth-child(1) {
        animation-delay: 0.14s;
    }

    .hero-section__inner-content > *:nth-child(2) {
        animation-delay: 0.26s;
    }

    .hero-section__inner-content > *:nth-child(3) {
        animation-delay: 0.38s;
    }

    .hero-section__inner-content > *:nth-child(4) {
        animation-delay: 0.5s;
    }
}

@keyframes hero-section-shell-in {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes hero-section-block-in {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section__inner-shell,
    .hero-section__inner-content > * {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0;
    text-align: center;
    gap: 0.35rem;
}

.hero-section__header a {
    text-decoration: none;
}

h1.hero-section__header-heading {
    font-family: "Syne", sans-serif;
    font-weight: 400;
    margin: 0;
    max-width: none;
    width: 100%;
    font-size: 62px;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-align: center;
    color: white;
}

h1.hero-section__header-heading strong {
    display: inline-block;
    white-space: nowrap;
    border-radius: 100px;
    padding: 2px 14px;
    background: var(--color, #9fdf55);
    color: #08272f;
}

h1.hero-section__header-heading p {
    margin: 0;
}

h1.hero-section__header-heading em {
    color: #ffffcc;
    font-style: normal;
}

#page h2.hero-section__header-heading {
    font-family: "Syne", sans-serif;
    color: #eefadf;
    text-shadow: none;
    font-size: clamp(20px, 2.8vw, 36px);
    font-weight: 400;
    margin: 0;
    max-width: none;
    width: 100%;
    text-align: center;
}

.hero-section__mini-heading {
    color: var(--color, #9fdf55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    margin: 0;
    max-width: none;
    width: 100%;
}

.hero-section__hero-text {
    color: #e8f1ee;
    max-width: none;
    width: 100%;
    margin: 0;
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.45;
    text-align: center;
}

.hero-section__hero-text p,
.hero-section__hero-text h1,
.hero-section__hero-text h2,
.hero-section__hero-text h3,
h1.hero-section__header-heading p {
    margin: 0;
}

.hero-section__body-content {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    align-items: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #ffffff42;
}

.hero-buttons {
    margin-top: clamp(1rem, 3vh, 2rem);
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.hero-section__additional-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

a.hero-section__additional-button {
    text-decoration: none;
    font-weight: 400;
    box-sizing: border-box;
}

a.hero-section__additional-button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    background: var(--ek-green, #9fdf55);
    color: var(--ek-dark, #0b2a30) !important;
    padding: 12px 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(159, 223, 85, 0.25);
}

a.hero-section__additional-button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(159, 223, 85, 0.32);
}

a.hero-section__additional-button--secondary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: #ffffcc;
    border-radius: 100px;
    border: 1px solid white;
    background: transparent;
    padding: 10px 24px;
    color: #eefadf !important;
    position: relative;
}

a.hero-section__additional-button--secondary .hero-section__button-label {
    text-decoration: none;
}

.hero-section__button-underline {
    display: block;
    width: 80%;
    max-width: 100%;
    margin-top: -10px;
    line-height: 0;
    position: absolute;
    bottom: calc(50% - 12px);
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    pointer-events: none;
}

.hero-section__button-underline img {
    display: block;
    width: 100%;
    height: auto;
}

a.hero-section__cta-main-button {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 15px 25px;
    border-radius: 999px;
    background: var(--ek-green, #9fdf55);
    color: var(--ek-dark, #0b2a30);
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    margin-top: -20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(159, 223, 85, 0.25);
}

a.hero-section__cta-main-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(159, 223, 85, 0.32);
}

img.hero-section__cta-image {
    max-width: 400px;
}

.hero-section__score-counter {
    margin: 0;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.score-counter-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.score-counter-value {
    color: #f4fbeb;
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-shadow: 0 0 18px rgba(159, 223, 85, 0.32);
}

.score-counter-sport {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.score-digit-sep {
    flex-shrink: 0;
    align-self: flex-end;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f7fbf3;
}

.score-digit {
    width: 60px;
    height: 75px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f7fbf3;
    font-weight: 400;
    font-size: 44px;
    font-family: Montserrat !important;
    background: #ffffff12;
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 20px rgba(0, 0, 0, .3);
}

.eco-slider {
    background: #ffffcc;
}

.social-media-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    right: 0;
    bottom: 50px;
}

.social-media-wrapper img {
    height: 34px;
    width: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    padding: 8px;
}

@media screen and (max-width: 1600px) {
    .section-wrapper.hero-section__section {
        min-height: 70vh;
    }

    h1.hero-section__header-heading {
        font-size: 45px;
    }

    .hero-section-images-background-left {
        left: -100px;
    }

    .hero-section-images-background-right {
        right: -100px;
    }
}

@media screen and (max-width: 1200px) {
    h1.hero-section__header-heading {
        font-size: 38px;
        font-weight: 400;
    }

    #page h2.hero-section__header-heading {
        font-size: 20px;
        font-weight: 400;
    }

    img.hero-section__cta-image {
        width: 270px;
    }

    .eco-slider__content svg {
        width: 60px;
        height: auto;
    }
}

@media screen and (max-width: 900px) {
    .hero-section__inner-shell {
        min-height: fit-content;
        padding: 60px 20px 40px;
    }

    .hero-section__hero-text {
        font-size: 16px;
    }

    .score-digit {
        width: 38px;
        height: 46px;
        font-size: 28px;
    }
}

@media screen and (max-width: 600px) {
    .social-media-wrapper {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        position: unset;
        right: unset;
        bottom: unset;
        margin-top: 20px;
    }
}
