:root {
    --gold: #9C8161;
    --gold2: #a66d0b;
    --ink: #111827;
    --muted: #697386;
    --line: #dfe3e8;
    --cream: #fffaf1;
    --black: #171717;
    --danger: #b42318
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f5f6f7;
    color: var(--ink);
    font-family: Arial,Helvetica,sans-serif
}

.page {
    /* min-height: 100vh; */
    padding: 50px 16px;
}

.booking-card {
    max-width: 1050px;
    margin: auto;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px #00000012
}

.brandbar {
    background: linear-gradient(110deg,#111,#222);
    color: #fff;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 50px
}

.brand {
    width: 230px
}

.brand img {
    display: block;
    max-width: 190px;
    max-height: 72px;
    object-fit: contain
}

.progress {
    list-style: none;
    margin: 0;
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    overflow: visible;
    height: auto;
}

.progress li {
    position: relative;
    text-align: center;
    flex: 1;
    color: #d1d5db;
    font-size: 12px
}

.progress li:not(:last-child):after {
    content: "";
    position: absolute;
    height: 2px;
    background: #69707a;
    left: 60%;
    right: -40%;
    top: 14px
}

.progress span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    margin: 0 auto 6px;
    width: 29px;
    height: 29px;
    border: 1px solid #aeb4bb;
    border-radius: 50%;
    background: #666d75;
    color: #fff
}

.progress li.active span,.progress li.done span {
    background: var(--gold);
    border-color: #9C8161;
}

.progress li.active,.progress li.done {
    color: #fff
}

.progress li.done:not(:last-child):after {
    background: var(--gold)
}

.progress b {
    font-weight: 600
}

.step {
    display: none;
    padding: 28px 32px 32px
}

.step.active {
    display: block
}

.heading {
    text-align: center;
    margin-bottom: 22px
}

.heading h1 {
    font-size: 26px;
    margin: 0 0 7px;
    text-transform: none;
    font-weight: 600;
}

.heading p {
    margin: 0;
    color: var(--muted)
}

.services {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px
}

.service {
    min-height: 112px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 15px;
    cursor: pointer;
    color: var(--ink)
}

.service:hover,.service.selected {
    border-color: var(--gold);
    background: var(--cream);
    box-shadow: inset 0 0 0 1px var(--gold)
}

.service .icon {
    font-size: 31px;
    line-height: 1;
    color: #26364e
}

.service.selected .icon {
    color: var(--gold2)
}

.actions {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    gap: 12px
}

.actions.right {
    justify-content: flex-end
}

.actions button {
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer
}

.primary {
    border: 0;
    color: white;
    background: #9C8161;
}

.secondary {
    background: #fff;
    border: 1px solid #c8ced7;
    color: #1f2937
}

.date-time-grid,.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.calendar-box,.time-box,.review {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px
}

.calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px
}

.calendar-head button {
    border: 0;
    background: none;
    font-size: 26px;
    cursor: pointer
}

.weekdays,.calendar {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    text-align: center;
    gap: 5px
}

.weekdays {
    font-size: 12px;
    color: #667085;
    margin-bottom: 6px
}

.day {
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: white;
    cursor: pointer
}

.day:hover:not(:disabled) {
    background: #fff1d5
}

.day.selected {
    background: var(--gold2);
    color: white
}

.day:disabled {
    color: #c6cbd1;
    cursor: not-allowed;
    background: transparent
}

.day.weekend:not(:disabled) {
    color: #9a670b
}

.notice {
    margin-top: 15px;
    background: #fff5e4;
    border-radius: 8px;
    padding: 11px;
    color: #70521f;
    font-size: 12px;
    line-height: 1.45
}

.time-box h2 {
    font-size: 18px;
    margin: 0 0 15px
}

.time-option {
    display: flex!important;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 12px;
    cursor: pointer
}

.time-option:has(input:checked) {
    border-color: var(--gold);
    background: var(--cream);
    box-shadow: inset 0 0 0 1px var(--gold)
}

.time-option input {
    order: 3;
    margin-left: auto;
    accent-color: var(--gold2)
}

.time-icon {
    font-size: 30px;
    color: var(--gold2)
}

.time-option strong,.time-option small {
    display: block
}

.time-option small {
    color: var(--muted);
    margin-top: 4px
}

.details-grid label {
    display: block;
    font-weight: 700;
    margin-bottom: 15px
}

.details-grid label span {
    font-weight: 400
}

.details-grid input,.details-grid textarea {
    display: block;
    width: 100%;
    border: 1px solid #cfd5dc;
    border-radius: 7px;
    padding: 13px;
    margin-top: 7px;
    font: inherit
}

.details-grid textarea {
    height: 194px;
    resize: vertical
}

.details-grid em,.consent em {
    color: #d92d20;
    font-style: normal
}

.field-help {
    font-size: 12px;
    color: var(--muted);
    margin: -9px 0 15px
}

.counter {
    display: block;
    text-align: right;
    color: var(--muted);
    font-weight: 400
}

.error {
    color: var(--danger);
    font-size: 13px;
    min-height: 16px
}

.review {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.review-item small {
    display: block;
    color: var(--muted);
    margin-bottom: 3px
}

.review-item strong {
    font-size: 16px
}

.review-item.comments {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 14px
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563
}

.consent input {
    margin-top: 4px;
    accent-color: var(--gold2)
}

.consent a {
    color: #9a670b
}

.success {
    text-align: center;
    padding: 70px 25px
}

.success-mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    background: #f6e6c5;
    color: #8a5b0b;
    font-size: 34px
}

.muted {
    color: var(--muted)
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: #8b9296 !important;
    opacity: 1 !important;
    font-size: 14px;
    font-weight: 400;
}



@media(max-width: 760px) {
    .brandbar {
        display:block;
        padding: 16px
    }

    .brand {
        margin: 0 auto 15px;
        text-align: center
    }

    .brand img {
        margin: auto
    }

    .progress b {
        font-size: 10px
    }

    .step {
        padding: 22px 16px
    }

    .services {
        grid-template-columns: repeat(2,1fr)
    }

    .date-time-grid,.details-grid,.review {
        grid-template-columns: 1fr
    }

    .review-item.comments {
        grid-column: auto
    }

    .heading h1 {
        font-size: 22px
    }
}
