.hero {
    position: relative;
    height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.75) 35%,
            rgba(0, 0, 0, 0.45) 70%,
            rgba(0, 0, 0, 0.15) 100%);
    width: 100%;
}

.hero__elements {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: min(600px, 100%);
    padding-left: var(--padding-website);
}

@keyframes seraing-pneus-hero-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__elements,
.hero-page__content {
    animation: seraing-pneus-hero-in 0.8s ease both;
}

@media (prefers-reduced-motion: reduce) {

    .hero__elements,
    .hero-page__content {
        animation: none;
    }
}

.hero__subtitle {
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.hero__title {
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.2;
}

.hero__text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero__cta {
    display: flex;
    gap: 20px;
}

@media screen and (max-width: 1200px) {
    .hero {
        display: flex;
        justify-content: center;
        text-align: left;
        padding-top: 70px;
    }

    .hero__elements {
        padding-left: var(--padding-mobile);
        padding-right: var(--padding-mobile);
        width: 80%;
    }

    .hero__overlay {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.60) 60%,
                rgba(0, 0, 0, 0.30) 100%);
    }

    .hero__cta {
        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 640px;
        padding-top: 90px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 600px) {
    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }
}

@media screen and (max-width: 480px) {
    .hero__elements {
        width: 100%;
    }

    .hero__title {
        font-size: 20px;
    }

    .hero__text {
        font-size: 14px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        justify-content: center;
    }

    #hero-cta-prim,
    #hero-cta-sec {
        width: 100%;
    }
}

.hero-page {
    position: relative;
    height: 40vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

@media screen and (max-width: 768px) {
    .hero-page {
        height: auto;
        min-height: 380px;
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .hero-page__content {
        padding: 0 var(--padding-mobile);
    }
}

@media screen and (max-height: 500px) {
    .hero-page {
        height: auto;
        min-height: 320px;
        padding-top: 80px;
        padding-bottom: 30px;
    }
}

.hero-page__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-page__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-page__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.58) 30%,
            rgba(0, 0, 0, 0.48) 60%,
            rgba(0, 0, 0, 0.32) 100%),
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.38) 100%);
}

.hero-page__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 var(--padding-website);
}

.hero-page__subtitle {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-page__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    max-width: 800px;
    margin: 0;
}

.hero-page__breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-page__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.hero-page__breadcrumb a:hover {
    color: var(--primary-color);
}

.hero-page__breadcrumb span {
    margin: 0 4px;
}