/* ===========================================
SPYNN BOOKING PAGE
PART 1 OF 4
=========================================== */

:root{

    --purple:#8B5CF6;
    --mint:#72E3C7;
    --gradient:linear-gradient(135deg,#8B5CF6,#72E3C7);

    --text:#171717;
    --muted:#6B7280;

    --background:#F7F8FC;
    --card:#FFFFFF;
    --border:#ECECF3;

    --shadow:0 30px 80px rgba(15,23,42,.08);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;
    background:var(--background);
    color:var(--text);
    -webkit-font-smoothing:antialiased;

}

img{

    display:block;
    max-width:100%;

}

/* ===========================================
LAYOUT
=========================================== */

.booking-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px;

}

.booking-container{

    width:1500px;

    max-width:100%;

    display:grid;

    grid-template-columns:2.2fr 1fr;

    background:white;

    border-radius:42px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

.booking-left{

    padding:65px 70px;

}

.booking-right{

    background:#FCFCFE;

    border-left:1px solid var(--border);

    padding:60px 50px;

}

.logo{

    height:80px;

    width:auto;

    margin-bottom:35px;

}

/* ===========================================
PROGRESS
=========================================== */

.progress{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:55px;

}

.progress-item{

    display:flex;

    flex-direction:column;

    align-items:center;

    min-width:72px;

}

.progress-circle{

    width:44px;

    height:44px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#ECECF4;

    color:#9CA3AF;

    font-weight:700;

    transition:.3s;

    margin-bottom:10px;

}

.progress-item.active .progress-circle{

    background:var(--gradient);

    color:white;

}

.progress-item span{

    font-size:13px;

    color:#9CA3AF;

    font-weight:600;

}

.progress-item.active span{

    color:#111827;

}

.progress-line{

    flex:1;

    height:2px;

    background:#ECECF4;

    margin-bottom:22px;

}

/* ===========================================
STEP
=========================================== */

.booking-step{

    display:none;

    animation:fade .35s ease;

}

.booking-step.active{

    display:block;

}

.coverage-gate{
    animation:fade .35s ease;
}

.coverage-form{
    display:grid;
    gap:12px;
    max-width:560px;
}

.coverage-form label{
    font-size:15px;
    font-weight:700;
}

.coverage-form input{
    width:100%;
    height:68px;
    padding:0 22px;
    border:2px solid var(--border);
    border-radius:18px;
    background:white;
    color:var(--text);
    font:500 18px 'Inter',sans-serif;
    outline:none;
    transition:border-color .25s,box-shadow .25s;
}

.coverage-form input:focus{
    border-color:var(--purple);
    box-shadow:0 0 0 4px rgba(139,92,246,.10);
}

.coverage-form .continue{
    margin-top:18px;
}

.coverage-message{
    min-height:22px;
    color:var(--muted);
    font-size:15px;
    line-height:1.5;
}

.coverage-message.error{
    color:#b91c1c;
}

@keyframes fade{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:none;

}

}

.step-label{

    font-size:13px;

    color:var(--purple);

    letter-spacing:2px;

    font-weight:700;

    margin-bottom:18px;

}

h1{

    font-size:72px;

    line-height:.92;

    letter-spacing:-3px;

    margin-bottom:18px;

}

.subtitle{

    font-size:22px;

    color:var(--muted);

    margin-bottom:55px;

}

.booking-left h3{

    font-size:24px;

    margin-bottom:30px;

    font-weight:700;

}

/* ===========================================
SERVICE GRID
=========================================== */

.service-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;

}
.service-card{

    background:white;

    border:2px solid var(--border);

    border-radius:28px;

    padding:34px;

    min-height:210px;

    cursor:pointer;

    transition:.35s;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(135deg,rgba(139,92,246,.04),rgba(114,227,199,.04));

    opacity:0;

    transition:.35s;

}

.service-card:hover{

    transform:translateY(-8px);

    border-color:#DDDDF0;

    box-shadow:0 20px 55px rgba(15,23,42,.08);

}

.service-card:hover::before{

    opacity:1;

}

.service-card.selected{

    border-color:var(--purple);

    box-shadow:0 20px 60px rgba(139,92,246,.18);

}

.service-card.selected::before{

    opacity:1;

}

.service-card h2{

    position:relative;

    font-size:34px;

    font-weight:800;

    margin-bottom:16px;

    z-index:2;

}

.service-card p{

    position:relative;

    font-size:17px;

    line-height:1.7;

    color:var(--muted);

    z-index:2;

}

.service-card h4{

    position:relative;

    margin-top:34px;

    font-size:42px;

    font-weight:900;

    z-index:2;

}

.add-bedding-link{
    display:block;
    margin:24px auto 0;
    border:0;
    background:transparent;
    color:var(--purple);
    font:700 16px 'Inter',sans-serif;
    cursor:pointer;
}

.add-bedding-link:hover{
    color:var(--text);
}

.bedding-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.bedding-item-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:20px 22px;
    border:2px solid var(--border);
    border-radius:20px;
    background:white;
}

.bedding-item-card h4{
    font-size:18px;
    line-height:1.25;
}

.bedding-item-card p{
    margin-top:6px;
    color:var(--muted);
    font-size:15px;
    font-weight:700;
}

.quantity-control{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.quantity-control button{
    display:grid;
    width:36px;
    height:36px;
    place-items:center;
    border:1px solid var(--border);
    border-radius:50%;
    background:white;
    color:var(--text);
    font:700 21px 'Inter',sans-serif;
    cursor:pointer;
    transition:.2s;
}

.quantity-control button:hover{
    border-color:var(--purple);
    color:var(--purple);
}

.quantity-control strong{
    width:18px;
    text-align:center;
    font-size:17px;
}

.bedding-package-heading{
    margin-top:38px;
}

.bedding-package-heading span{
    color:var(--muted);
    font-size:15px;
    font-weight:500;
}

.bedding-package-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.bedding-package-card{
    display:flex;
    min-height:156px;
    padding:20px;
    border:2px solid var(--border);
    border-radius:20px;
    background:white;
    color:var(--text);
    text-align:left;
    cursor:pointer;
    flex-direction:column;
    transition:.25s;
}

.bedding-package-card:hover{
    border-color:#ddddef;
    transform:translateY(-3px);
}

.bedding-package-card.selected{
    border-color:var(--purple);
    box-shadow:0 14px 34px rgba(139,92,246,.12);
}

.bedding-package-card strong{
    font-size:17px;
}

.bedding-package-card span{
    margin-top:9px;
    color:var(--muted);
    font-size:13px;
    line-height:1.45;
}

.bedding-package-card b{
    margin-top:auto;
    padding-top:14px;
    font-size:16px;
}

/* ===========================================
BUTTON
=========================================== */

.continue{

    width:100%;

    height:68px;

    margin-top:42px;

    border:none;

    border-radius:999px;

    background:var(--gradient);

    color:white;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 20px 50px rgba(139,92,246,.25);

}

.continue:hover{

    transform:translateY(-3px);

    box-shadow:0 25px 60px rgba(139,92,246,.35);

}

/* ===========================================
SUMMARY
=========================================== */

.summary{

    background:white;

    border-radius:28px;

    padding:38px;

    box-shadow:0 20px 60px rgba(15,23,42,.05);

    position:sticky;

    top:40px;

}

.summary h3{

    font-size:28px;

    margin-bottom:34px;

    font-weight:800;

}

.summary-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 0;

    border-bottom:1px solid var(--border);

}

.summary-row span{

    color:var(--muted);

    font-size:16px;

}

.summary-row strong{

    font-size:18px;

    font-weight:700;

}
.summary-row.total{

    border-bottom:none;

    padding-top:34px;

    margin-bottom:28px;

}

.summary-row.total span{

    color:var(--text);

    font-size:22px;

    font-weight:700;

}

.summary-row.total strong{

    font-size:36px;

    font-weight:900;

}

.summary-info{

    margin-top:34px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.info-item{

    display:flex;

    align-items:center;

    gap:14px;

}

.info-dot{

    width:10px;

    height:10px;

    border-radius:50%;

    background:var(--gradient);

    flex-shrink:0;

}

.info-item p{

    font-size:16px;

    color:var(--muted);

    line-height:1.6;

}

/* ===========================================
ANIMATIONS
=========================================== */

.service-card,
.summary,
.continue{

    transition:all .3s ease;

}

.summary{

    animation:fadeUp .45s ease;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(18px);

}

to{

opacity:1;

transform:translateY(0);

}

}
/* ===========================================
MOBILE
=========================================== */

@media (max-width:1200px){

    .booking-container{

        grid-template-columns:1fr;

    }

    .booking-right{

        border-left:none;

        border-top:1px solid var(--border);

    }

}

@media (max-width:900px){

    .booking-page{

        padding:24px;

    }

    .booking-left,

    .booking-right{

        padding:40px;

    }

    .service-grid{

        grid-template-columns:1fr;

    }

    .progress{

        display:none;

    }

    h1{

        font-size:52px;

    }

    .subtitle{

        font-size:20px;

    }

}

@media (max-width:600px){

    .booking-left,

    .booking-right{

        padding:28px;

    }

    .logo{

        height:58px;

    }

    h1{

        font-size:40px;

        letter-spacing:-2px;

    }

    .subtitle{

        font-size:18px;

    }

    .service-card{

        min-height:180px;

        padding:26px;

    }

    .service-card h2{

        font-size:30px;

    }

    .service-card p{

        font-size:16px;

    }

    .service-card h4{

        font-size:34px;

    }

    .continue{

        height:62px;

        font-size:17px;

    }

    .summary{

        padding:28px;

    }

    .summary-row.total strong{

        font-size:30px;

    }

    .bedding-list,
    .bedding-package-grid{
        grid-template-columns:1fr;
    }

    .bedding-item-card{
        min-height:88px;
    }

    .bedding-package-card{
        min-height:132px;
    }

}

@media (max-width:600px){.booking-page{padding:12px;align-items:flex-start}.booking-container{border-radius:24px}.booking-left,.booking-right{padding:24px 20px}.logo{height:76px!important;max-width:100%;object-fit:contain}.booking-step h1{font-size:36px;letter-spacing:-2px;line-height:1}.subtitle{margin-bottom:30px;font-size:17px}.service-grid{gap:14px}.service-card{min-height:0;padding:22px}.service-card h2{font-size:26px}.service-card h4{margin-top:20px;font-size:29px}.quantity-control button{width:42px;height:42px}.time-grid,.date-grid{gap:12px}.time-card{min-height:64px;font-size:16px}.address-form input,.address-form textarea{font-size:16px}.button-row{flex-direction:column-reverse}.button-row .continue,.back{width:100%;min-height:56px;height:56px}.review-row{flex-direction:column;gap:7px}.review-row strong{max-width:100%;text-align:left}.payment-card,.confirmation-card{border-radius:22px}.booking-legal-links{flex-wrap:wrap;margin-inline:0}}

/* Larger SPYNN mark on the booking journey. */
.logo{height:150px}

@media (max-width:600px){
    .logo{height:100px}
}

/* ===========================================
PAYMENT & CONFIRMATION
=========================================== */

.payment-card,
.confirmation-card{
    border:1px solid var(--border);
    border-radius:28px;
    background:white;
    padding:30px;
    box-shadow:0 20px 60px rgba(15,23,42,.05);
}

.payment-divider{
    display:flex;
    align-items:center;
    gap:16px;
    margin:28px 0;
    color:var(--muted);
    font-size:14px;
    font-weight:600;
}

.payment-divider::before,
.payment-divider::after{
    content:"";
    height:1px;
    flex:1;
    background:var(--border);
}

.payment-message{
    min-height:22px;
    margin-top:18px;
    color:var(--muted);
    font-size:15px;
}

.payment-message.error{
    color:#dc2626;
}

.payment-security{
    margin-top:18px;
    color:var(--muted);
    font-size:14px;
    line-height:1.5;
    text-align:center;
}

.confirmation-card{
    text-align:center;
    padding:46px 32px;
}

.confirmation-mark{
    display:grid;
    width:70px;
    height:70px;
    margin:0 auto 24px;
    place-items:center;
    border-radius:50%;
    background:var(--gradient);
    color:white;
    font-size:36px;
    font-weight:800;
    box-shadow:0 18px 40px rgba(139,92,246,.25);
}

.confirmation-card h2{
    font-size:29px;
    letter-spacing:-1px;
    margin-bottom:12px;
}

.confirmation-card p{
    color:var(--muted);
    font-size:17px;
    line-height:1.6;
}

.confirmation-reference{
    margin-top:30px;
    padding-top:26px;
    border-top:1px solid var(--border);
    color:var(--muted);
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.confirmation-reference strong{
    display:block;
    margin-top:8px;
    color:var(--text);
    font-size:14px;
    letter-spacing:0;
    text-transform:none;
}

@media (max-width:600px){
    .payment-card,
    .confirmation-card{
        padding:24px 20px;
    }
}
/* ===========================================
DATE PICKER
=========================================== */

.date-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:10px;

    margin-bottom:40px;

}

.date-card{

    height:110px;

    border:2px solid var(--border);

    border-radius:24px;

    background:white;

    font-size:22px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

    font-family:'Inter',sans-serif;

}

.date-card:hover{

    transform:translateY(-4px);

    border-color:var(--purple);

    box-shadow:0 18px 40px rgba(139,92,246,.12);

}

.date-card.selected{

    background:linear-gradient(135deg,#8B5CF6,#72E3C7);

    color:white;

    border-color:transparent;

    box-shadow:0 20px 45px rgba(139,92,246,.25);

}
.day{

    display:block;

    font-size:14px;

    letter-spacing:2px;

    font-weight:700;

    color:#7C7C88;

    margin-bottom:10px;

}

.number{

    display:block;

    font-size:34px;

    font-weight:900;

    color:#111827;

    line-height:1;

}

.month{

    display:block;

    font-size:14px;

    font-weight:600;

    color:#7C7C88;

    margin-top:8px;

}

.available{

    display:inline-block;

    margin-top:16px;

    padding:6px 12px;

    border-radius:999px;

    background:#EEFDF7;

    color:#16A34A;

    font-size:12px;

    font-weight:700;

}

.date-card.selected .day,

.date-card.selected .number,

.date-card.selected .month,

.date-card.selected .available{

    color:white;

}

.date-card.selected .available{

    background:rgba(255,255,255,.2);

}
.date-card *{

    pointer-events:none;

}

/* ===========================================
TIME, ADDRESS & REVIEW
=========================================== */

.button-row{
    display:flex;
    gap:16px;
    margin-top:42px;
}

.button-row .continue{
    margin-top:0;
}

.back{
    height:68px;
    padding:0 30px;
    border:2px solid var(--border);
    border-radius:999px;
    background:white;
    color:var(--text);
    font:700 18px 'Inter',sans-serif;
    cursor:pointer;
    transition:.3s;
}

.back:hover{
    border-color:#D9D9E8;
    transform:translateY(-3px);
}

.time-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.time-card{
    min-height:86px;
    border:2px solid var(--border);
    border-radius:22px;
    background:white;
    color:var(--text);
    font:700 19px 'Inter',sans-serif;
    cursor:pointer;
    transition:.3s;
}

.time-card:hover{
    transform:translateY(-4px);
    border-color:var(--purple);
    box-shadow:0 18px 40px rgba(139,92,246,.12);
}

.time-card.selected{
    background:var(--gradient);
    border-color:transparent;
    color:white;
    box-shadow:0 20px 45px rgba(139,92,246,.25);
}

.time-card.unavailable,
.time-card:disabled{
    cursor:not-allowed;
    color:#9CA3AF;
    background:#F5F5F8;
    border-color:#ECECF3;
    box-shadow:none;
    transform:none;
}

.time-card.unavailable span{
    display:block;
    margin-top:7px;
    color:#9CA3AF;
    font-size:12px;
    font-weight:600;
}

.availability-message{
    margin:-22px 0 22px;
    color:var(--muted);
    font-size:15px;
    font-weight:600;
}

.availability-message.error{
    color:#b91c1c;
}

.address-form{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.address-form input,
.address-form textarea{
    width:100%;
    border:2px solid var(--border);
    border-radius:18px;
    background:white;
    color:var(--text);
    font:500 17px 'Inter',sans-serif;
    outline:none;
    padding:20px 22px;
    transition:border-color .25s, box-shadow .25s;
}

.contact-form input:last-child{
    grid-column:1 / -1;
}

.address-form input:focus,
.address-form textarea:focus{
    border-color:var(--purple);
    box-shadow:0 0 0 4px rgba(139,92,246,.10);
}

.address-form textarea{
    grid-column:1 / -1;
    min-height:130px;
    resize:vertical;
}

.review-card{
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:28px;
    background:white;
    box-shadow:0 20px 60px rgba(15,23,42,.05);
}

.review-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:28px;
    padding:22px 26px;
    border-bottom:1px solid var(--border);
}

.review-row span{
    color:var(--muted);
    font-size:16px;
}

.review-row strong{
    max-width:60%;
    text-align:right;
    font-size:17px;
    line-height:1.5;
}

.review-row.total{
    border-bottom:0;
}

.review-row.total span,
.review-row.total strong{
    color:var(--text);
    font-size:22px;
    font-weight:800;
}

.booking-legal-links{
    display:flex;
    justify-content:center;
    gap:9px;
    margin:26px 20px 0;
    color:var(--muted);
    font-size:12px;
}

.booking-legal-links a{
    color:inherit;
    text-decoration:none;
}

.booking-legal-links a:hover{
    color:var(--text);
}

.progress-line.active{
    background:linear-gradient(90deg,#8B5CF6,#72E3C7);
}

@media (max-width:600px){
    .date-grid,
    .time-grid,
    .address-form{
        grid-template-columns:1fr;
    }

    .date-card{
        height:auto;
        min-height:136px;
        padding:16px;
    }

    .button-row{
        gap:12px;
        margin-top:30px;
    }

    .back{
        height:62px;
        padding:0 22px;
        font-size:16px;
    }

    .review-row{
        gap:18px;
        padding:20px;
    }
}
