/* Spa & bien-être page */

.spa-page {
    color: #1a1a1a;
    background: #faf6f0;
    overflow-x: hidden;
}

.spa-page *,
.spa-page *::before,
.spa-page *::after {
    box-sizing: border-box;
}

.spa-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Header banner */
.spa-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .35) 100%),
        url("../images/home/villa-marrakech.jpg") center 45% / cover no-repeat;
}

.spa-hero__content {
    max-width: 900px;
    animation: spa-fade-up .8s ease-out;
}

.spa-hero__subtitle {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, .6);
}

.spa-hero .spa-hero__title {
    margin: 0 0 18px;
    font-size: 56px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, .6);
}

@keyframes spa-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spa-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-size: 14px;
    list-style: none;
}

.spa-breadcrumb li + li::before {
    content: "/";
    margin: 0 8px;
    opacity: .7;
}

.spa-breadcrumb a {
    color: #ffd066;
}

.spa-breadcrumb a:hover,
.spa-breadcrumb a:focus {
    color: #fff;
}

/* Intro */
.spa-divider {
    width: 120px;
    height: 2px;
    margin: 28px auto;
    background: #ffb000;
}

.spa-intro {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* Jump buttons */
.spa-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.spa-jump__link {
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #93241f;
    background: #fff;
    border: 1px solid #93241f;
    border-radius: 24px;
    transition: background-color .2s ease, color .2s ease;
}

.spa-jump__link:hover,
.spa-jump__link:focus {
    color: #fff;
    background: #93241f;
    text-decoration: none;
}

/* Category cards */
.spa-cards {
    column-count: 2;
    column-gap: 28px;
}

.spa-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 28px;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    scroll-margin-top: 110px;
}

.spa-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    color: #fff;
    background: linear-gradient(120deg, #93241f 0%, #5f1512 100%);
}

.spa-card .spa-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    color: #fff;
}

.spa-card__count {
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap;
    color: #ffd066;
}

.spa-list {
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.spa-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px;
    border-bottom: 1px solid #f0e9df;
}

.spa-item:last-child {
    border-bottom: 0;
}

.spa-item__main {
    flex: 1 1 auto;
    min-width: 0;
}

.spa-item__name {
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.spa-item__detail {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.spa-item__duration {
    flex: 0 0 auto;
    padding: 2px 9px;
    font-size: 12px;
    white-space: nowrap;
    color: #93241f;
    background: #f8ecea;
    border-radius: 12px;
}

.spa-item__price {
    flex: 0 0 auto;
    min-width: 82px;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    color: #93241f;
}

.spa-item--signature {
    background: #fff7e3;
    box-shadow: inset 3px 0 0 #ffb000;
}

.spa-item__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 700;
    vertical-align: 1px;
    color: #1a1a1a;
    background: #ffb000;
    border-radius: 10px;
}

/* Benefits and included */
.spa-extras {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.spa-extra {
    padding: 26px;
    background: #fff;
    border-top: 3px solid #ffb000;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}

.spa-extra .spa-extra__title {
    margin: 0 0 14px;
    font-size: 22px;
    color: #93241f;
}

.spa-extra__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.spa-extra__item {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 15px;
    line-height: 1.45;
}

.spa-extra__item::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #93241f;
    border-radius: 50%;
}

/* Price note */
.spa-note {
    margin: 26px 0 32px;
    font-size: 14px;
    font-style: italic;
    text-align: center;
    color: #666;
}

/* Booking banner */
.spa-booking {
    padding: 40px 24px;
    text-align: center;
    color: #fff;
    background: linear-gradient(120deg, #5f1512 0%, #93241f 100%);
    border-radius: 10px;
}

.spa-booking .spa-booking__title {
    margin: 0 0 8px;
    font-size: 28px;
    color: #fff;
}

.spa-booking__text {
    margin: 0 0 20px;
    font-size: 16px;
    color: #fff;
}

.spa-booking__cta {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 700;
    color: #1a1a1a;
    background: #ffb000;
    border-radius: 26px;
    transition: background-color .2s ease;
}

.spa-booking__cta:hover,
.spa-booking__cta:focus {
    color: #1a1a1a;
    background: #ffd066;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .spa-cards {
        column-count: 1;
    }
}

@media (max-width: 575px) {
    .spa-container {
        padding: 0 14px 40px;
    }

    .spa-hero {
        min-height: 400px;
        padding: 40px 14px;
    }

    .spa-hero__subtitle {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .spa-hero .spa-hero__title {
        font-size: 34px;
    }

    .spa-intro {
        font-size: 16px;
    }

    .spa-jump__link {
        padding: 8px 14px;
        font-size: 13px;
    }

    .spa-card__header {
        padding: 15px 16px;
    }

    .spa-item {
        flex-wrap: wrap;
        padding: 10px 16px;
    }

    .spa-item__main {
        flex-basis: 100%;
    }

    .spa-item__price {
        margin-left: auto;
    }

    .spa-extras {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .spa-extra {
        padding: 20px 16px;
    }

    .spa-booking .spa-booking__title {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spa-hero__content {
        animation: none;
    }

    .spa-jump__link,
    .spa-booking__cta {
        transition: none;
    }
}
