/* Offer Banner */

.offer-banner {
    width: 100%;
    overflow: hidden;
}

/* Hero */

.offer-banner-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 30px 35px;
    overflow: hidden;
}

.offer-banner-head {
    position: relative;
    z-index: 2;
    flex: 1;
}

.offer-banner-title {
    letter-spacing: .1rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
}

.offer-banner-hero h1 {
    margin: 5px 0 10px;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.offer-banner-subline p {
    max-width: 700px;
    margin-top: 1.5rem;
    color: #31483f;
    line-height: 1.6;
}

/* Fireworks */

.firework {
    position: absolute;
    z-index: 1;
    width: 7px;
    height: 7px;
    background: #ffd86b;
    border-radius: 50%;
    box-shadow: 0 0 18px 8px rgba(255, 216, 107, 0.8);
    animation: firework 4.5s infinite ease-out;
}

.f1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.f2 {
    top: 45%;
    right: 8%;
    animation-delay: 1.4s;
}

.f3 {
    top: 15%;
    left: 42%;
    animation-delay: 2.8s;
}

@keyframes firework {

    0%,
    15% {
        opacity: 0;
        transform: scale(0.2);
    }

    20% {
        opacity: 1;
    }

    45% {
        opacity: 1;
        transform: scale(1);
        box-shadow:
            0 -55px 0 #c7f1c5,
            55px 0 0 #ffd86b,
            -55px 0 0 #fff,
            0 55px 0 #c7f1c5,
            40px 40px 0 #ffd86b,
            -40px -40px 0 #fff,
            40px -40px 0 #c7f1c5,
            -40px 40px 0 #ffd86b,
            0 0 25px 10px rgba(255, 216, 107, 0.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Content */

.offer-banner-content {
    padding: 22px 35px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    align-items: start;
}

.offer-banner-card {
    height: 100%;
    background: #fff;
    border-radius: 16px;
}

.offer-banner-card h2 {
    margin: 0 0 12px;
    font-family: Gloock, serif;
    font-size: 27px;
    font-weight: 400;
}

/* Offer List */

.offer-banner-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.offer-banner-list li {
    position: relative;
    padding: 5px 0 5px 24px;
    font-size: 15px;
    line-height: 1.6;
}

.offer-banner-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Note */

.offer-banner-note {
    margin-top: 1rem;
    color: #666;
    font-size: 13px;
}

/* Booking Box */

.offer-banner-period {
    padding: 1rem;
    background: #c7f1c5;
    border-radius: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.offer-banner-booking {
    margin: 1rem 0;
    padding: 0.75rem;
    text-align: center;
    background: #fff;
    border-radius: 16px;
}

.offer-banner-period strong {
    display: block;
    font-size: 26px;
}

/* Tablet styles */

@media (max-width: 900px) {
    .offer-banner-hero {
        display: block;
        text-align: center;
    }

    .offer-banner-content {
        grid-template-columns: 1fr;
    }

    .offer-banner-list {
        grid-template-columns: 1fr;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .offer-banner {
        margin: 3rem 0;
    }

    .offer-banner-hero {
        padding: 24px 20px;
    }

    .offer-banner-content {
        padding: 20px;
    }

    .offer-banner-hero h1 {
        font-size: 32px;
    }

    .offer-banner-title {
        font-size: 16px;
    }

    .offer-banner-card h2 {
        font-size: 24px;
    }

    .offer-banner-period strong {
        font-size: 22px;
    }
}