:root {
    --primary-green: #405b3d;
    --primary-lightgreen: #cee6cc;
    --offer-green: #dfeddd;
    --winter-white: #bbcdd7;
    --summer-yellow: #d2d386;
    --placeholder-gray: #d9d9d9;
    --white: #ffffff;

    --container: min(1180px, 100% - 100px);
    --card-w: 420px;
    --card-h: 740px;
    --card-gap: 40px;
    --card-pad: 30px;
    --band-h: 1024px;
    --overlap: 60px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--white);
    color: var(--white);
    font-family: "Roboto Condensed", sans-serif;
    overflow-x: hidden;
}

/* Figma trims text boxes to cap height; this keeps spacing identical */
.trim {
    text-box: trim-both cap alphabetic;
}

.k-container {
    width: var(--container);
    margin-inline: auto;
}

/* ==================== HEADER ==================== */
.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 10;
    padding-top: 39px;
}

.site-header .k-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-icon {
    width: 69px;
    height: 69px;
}

.brand-wordmark {
    width: 187px;
    height: 31px;
}

.site-nav {
    display: flex;
    gap: 40px;
}

.site-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.site-nav a.active {
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.menu-toggle {
    display: none;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 5px;
    background: var(--white);
}

/* ==================== IMAGE BANDS ==================== */
.band {
    position: relative;
    height: var(--band-h);
    overflow: hidden;
}

.band > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero > img {
    inset: auto auto 0 50%;
    width: max(1797px, 100%);
    height: auto;
    transform: translateX(-50%);
}

.band-massage > img {
    object-position: 50% 50%;
}

.band-lounge > img {
    object-position: 50% 81%;
}

.hero-text {
    position: absolute;
    top: 401px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: max-content;
    color: var(--primary-lightgreen);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    mix-blend-mode: lighten;
}

/* ==================== CARD ROWS ==================== */
.card-row {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--card-gap);
    margin-top: calc(-1 * var(--overlap));
    margin-bottom: 80px;
    padding-inline: calc((100% - var(--container)) / 2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100% - var(--container)) / 2);
    scrollbar-width: none;
    scroll-margin-top: 0;
}

.card-row::-webkit-scrollbar {
    display: none;
}

.card-row.last {
    margin-bottom: 100px;
}

#daily-deals {
    margin-bottom: 110px;
}

.k-card {
    flex: 0 0 var(--card-w);
    height: var(--card-h);
    padding: var(--card-pad);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.k-card.green {
    background: var(--primary-green);
}
.k-card.winter {
    background: var(--winter-white);
}
.k-card.summer {
    background: var(--summer-yellow);
}
.k-card.light {
    background: var(--primary-lightgreen);
}
.k-card.lighter {
    background: var(--offer-green);
}

.k-card.light,
.k-card.lighter {
    color: var(--primary-green);
}

.card-title {
    margin: 0;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.k-card.green .card-title {
    color: var(--primary-lightgreen);
}

.card-subtitle {
    margin: 29px 0 0;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.card-bottom {
    margin-top: auto;
}

.card-desc {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.card-intro {
    margin: 0;
    width: 262px;
    color: var(--primary-lightgreen);
    font-size: 20px;
    line-height: 1;
}

.card-arrow {
    display: block;
    margin-top: 20px;
    width: 360px;
    height: 16px;
}

.card-divider {
    display: block;
    margin-top: 39px;
    width: 360px;
    height: 2px;
}

.card-price {
    margin-top: 39px;
}

.price-amount {
    margin: 0;
    font-size: 60px;
    font-weight: 800;
    line-height: 0.95;
}

.price-duration {
    margin: 30px 0 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 0.95;
}

.card-fineprint {
    margin: 81px 0 0;
    width: 360px;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.1;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--primary-green);
    padding: 72px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 380px);
    gap: 20px;
}

.footer-heading {
    margin: 0;
    color: var(--primary-lightgreen);
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}

.socials {
    display: flex;
    gap: 44px;
    margin-top: 30px;
}

.socials img {
    display: block;
    width: 37px;
    height: 37px;
}

.contact-heading {
    margin-top: 43px;
}

.phone {
    display: inline-block;
    margin-top: 30px;
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    height: 40px;
    padding: 0 8px;
    border: 2px solid var(--white);
    border-radius: 0;
    background: transparent;
    color: var(--white);
    font: 300 24px/1 "Roboto Condensed", sans-serif;
}

.contact-form textarea {
    height: 67px;
    padding-top: 6px;
    resize: none;
}

.contact-form ::placeholder {
    color: var(--white);
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--primary-lightgreen);
    outline-offset: 2px;
}

.contact-form button {
    height: 40px;
    border: 0;
    border-radius: 0;
    background: var(--white);
    color: var(--primary-green);
    font: 700 24px/1 "Roboto Condensed", sans-serif;
    cursor: pointer;
}

.map-box {
    width: 380px;
    height: 300px;
    background: var(--placeholder-gray);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 50px;
}

.footer-brand .icon {
    width: 56px;
    height: 56px;
}

.footer-brand .wordmark {
    width: 200px;
    height: 33px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ==================== TABLET / MOBILE ==================== */
@media (max-width: 1239px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 380px));
    }
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 16px;
        flex-direction: column;
        gap: 24px;
        padding: 24px 30px;
        background: var(--primary-green);
    }

    .site-nav.open {
        display: flex;
    }

    .site-header .k-container {
        position: relative;
    }
}

@media (max-width: 767px) {
    :root {
        --card-w: 340px;
        --card-h: 748px;
        --card-gap: 30px;
        --band-h: 993px;
    }

    .site-header {
        padding-top: 50px;
    }

    .brand {
        gap: 16px;
    }

    .brand-icon {
        width: 46px;
        height: 46px;
    }

    .brand-wordmark {
        width: 124px;
        height: 20px;
    }

    .hero > img {
        inset: auto -239px 0 auto;
        width: 1693px;
        transform: none;
    }

    /* Same crop and zoom as the Figma mobile frame */
    .band-massage > img {
        inset: -15px auto auto -1063px;
        width: 1822px;
        height: 1017px;
    }

    .band-lounge > img {
        inset: -107px auto auto -396px;
        width: 1011px;
        height: 1194px;
    }

    .hero-text {
        top: 398px;
        font-size: 32px;
    }

    .card-row,
    #daily-deals {
        margin-bottom: 60px;
    }

    .card-arrow {
        margin-top: 30px;
    }

    .card-row.last {
        margin-bottom: 80px;
    }

    .card-title {
        font-size: 60px;
    }

    .card-subtitle {
        margin-top: 22px;
        font-size: 24px;
    }

    .card-desc {
        font-size: 20px;
    }

    .card-intro {
        font-size: 18px;
    }

    .card-arrow,
    .card-divider,
    .card-fineprint {
        width: 280px;
    }

    .price-amount {
        font-size: 48px;
    }

    .price-duration {
        font-size: 20px;
    }

    .site-footer {
        padding: 50px 0 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .socials {
        gap: 44px;
        margin-top: 30px;
    }

    .contact-heading {
        margin-top: 30px;
    }

    .contact-form {
        margin-top: 24px;
    }

    .map-box {
        width: 100%;
    }

    .footer-brand {
        gap: 20px;
    }

    .footer-brand .icon {
        width: 50px;
        height: 50px;
    }

    .footer-brand .wordmark {
        width: 180px;
        height: 30px;
    }
}
