/* Home: vertical rhythm between sections */
.home-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.home-section.home-hero {
    padding-top: 0;
    padding-bottom: 0;
    --home-hero-header-offset: 7.5rem;
}

/* Gana sobre body.delibreakfast .home-section (--section-padding-y = 3.75rem) */
body.delibreakfast .home-section.home-hero {
    padding-top: 0;
    padding-bottom: 0;
}

.home-section.home-hero .home-hero__inner.slider-res {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: calc(100svh - var(--home-hero-header-offset));
    min-height: calc(100dvh - var(--home-hero-header-offset));
    overflow: visible;
}

.home-section.home-hero .home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home-section.home-hero .home-hero__img.slider-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-section.home-hero .home-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.home-section.home-hero .home-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 1.5rem 6.5rem;
    pointer-events: none;
}

.home-section.home-hero .home-hero__content a,
.home-section.home-hero .home-hero__content button {
    pointer-events: auto;
}

.home-section.home-hero .home-hero__text {
    position: static;
    width: 100%;
    max-width: 920px;
    margin: 0;
    line-height: 1.25;
    text-align: center;
    color: #f5f5f5;
    font-family: var(--font-serif);
    font-size: clamp(calc(1.05rem + 4pt), calc(2.4vw + 4pt), calc(1.65rem + 4pt));
    font-weight: 400;
}

.home-section.home-hero .home-hero__media picture,
.home-section.home-aperitivos picture,
.home-section.home-basket picture,
.home-por-ti__card picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-section.home-hero .home-hero__media picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-section.home-aperitivos picture img,
.home-section.home-basket picture img,
.home-por-ti__card picture img {
    width: 100%;
    height: auto;
}

.home-section.home-hero .home-hero__text h1.upper {
    display: block;
    margin: 0;
    font-family: 'Parisienne', cursive;
    font-size: clamp(calc(3.5rem + 4pt), calc(8.4vw + 4pt), calc(5.5rem + 4pt));
    font-weight: 400;
    line-height: 1.1;
    text-transform: none !important;
    color: #fafafa;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-section.home-hero .home-hero__text p.sub,
.home-section.home-hero .home-hero__text span.sub {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    display: block;
    margin: 0.75rem 0 0;
    font-size: clamp(calc(1.05rem + 4pt), calc(2.4vw + 4pt), calc(1.65rem + 4pt));
    font-weight: 400;
    line-height: 1.35;
    color: #f0f0f0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.home-section.home-hero .home-hero__cta.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 1.75rem;
    padding: 0.85rem 2.15rem;
    font-family: var(--font-sans);
    font-size: clamp(calc(1.05rem + 4pt), calc(2.2vw + 4pt), calc(1.35rem + 4pt));
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    animation: home-hero-cta-attention 2.4s ease-in-out infinite;
}

@keyframes home-hero-cta-attention {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 26px rgba(220, 53, 69, 0.72);
        transform: scale(1.035);
    }
}

.home-section.home-hero .home-hero__scroll-hint {
    position: absolute;
    left: 50%;
    bottom: calc(1.75rem + 40px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(-50%);
    color: #f5f5f5;
    text-decoration: none;
    opacity: 0.92;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-section.home-hero .home-hero__scroll-hint:hover,
.home-section.home-hero .home-hero__scroll-hint:focus {
    color: #fff;
    opacity: 1;
    text-decoration: none;
    outline: none;
}

.home-section.home-hero .home-hero__scroll-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
}

.home-section.home-hero .home-hero__scroll-hint-text {
    font-family: var(--font-sans);
    font-size: calc(0.8rem + 4pt);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.home-section.home-hero .home-hero__scroll-hint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    font-size: calc(1rem + 4pt);
    line-height: 1;
    animation: home-hero-scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes home-hero-scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-section.home-hero .home-hero__scroll-hint-icon {
        animation: none;
    }

    .home-section.home-hero .home-hero__cta.button {
        animation: none;
    }

    .home-section.home-hero .home-hero__scroll-hint.is-hidden {
        transform: translateX(-50%);
    }
}
