:root {
    --ink:#14211d;
    --green:#173d32;
    --green-2:#225446;
    --cream:#f5f2eb;
    --paper:#fff;
    --muted:#6f7874;
    --line:#dde2df;
    --soft:#edf2ef;
    --gold:#c9ad68;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

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

button,
input,
textarea {
    font:inherit;
}

button {
    cursor:pointer;
}

.booking-header {
    height:82px;
    padding:0 5vw;

    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;

    background:#fff;
    border-bottom:1px solid var(--line);
}

.booking-brand {
    display:flex;
    align-items:baseline;
    gap:7px;

    color:var(--ink);
    text-decoration:none;
}

.booking-brand strong {
    font-size:29px;
    letter-spacing:-2px;
}

.booking-brand span {
    font-size:11px;
    font-weight:700;
    letter-spacing:4px;
}

.header-center {
    font-size:13px;
    font-weight:700;
}

.back-link {
    justify-self:end;
    color:var(--muted);
    text-decoration:none;
    font-size:13px;
}


.booking-hero {
    min-height:370px;

    display:flex;
    justify-content:space-between;
    align-items:flex-end;

    gap:50px;

    padding:80px 7vw 70px;

    background:var(--green);
    color:#fff;
}

.eyebrow,
.step-label,
.summary-eyebrow {
    display:block;

    margin-bottom:16px;

    font-size:10px;
    font-weight:800;
    letter-spacing:3px;
}

.booking-hero h1 {
    margin:0;

    font-family:Georgia,serif;
    font-size:clamp(54px,7vw,96px);
    font-weight:400;
    line-height:.92;
    letter-spacing:-3px;
}

.booking-hero h1 em {
    color:#d8c790;
    font-weight:400;
}

.booking-hero p {
    max-width:480px;
    margin:24px 0 0;

    color:rgba(255,255,255,.7);

    font-size:17px;
    line-height:1.6;
}

.tenant-box {
    width:310px;

    display:flex;
    align-items:center;
    gap:16px;

    padding:20px;

    border:1px solid rgba(255,255,255,.2);
    background:rgba(255,255,255,.07);
}

.tenant-icon {
    width:42px;
    height:42px;

    display:grid;
    place-items:center;

    border-radius:50%;
    background:#fff;
    color:var(--green);
}

.tenant-box strong,
.tenant-box span {
    display:block;
}

.tenant-box strong {
    margin-bottom:5px;
}

.tenant-box span {
    color:rgba(255,255,255,.65);
    font-size:12px;
}


.booking-shell {
    width:min(1500px,94%);
    margin:0 auto;
}


.booking-progress {
    display:flex;
    align-items:center;

    padding:35px 0;
}

.progress-item {
    display:flex;
    align-items:center;
    gap:10px;

    color:#929b97;

    font-size:11px;
    letter-spacing:1px;
}

.progress-item span {
    width:27px;
    height:27px;

    display:grid;
    place-items:center;

    border:1px solid #b9c0bc;
    border-radius:50%;
}

.progress-item.active {
    color:var(--green);
}

.progress-item.active span {
    background:var(--green);
    border-color:var(--green);
    color:#fff;
}

.progress-line {
    width:70px;
    height:1px;
    margin:0 15px;

    background:#cfd5d2;
}


.booking-block {
    margin-bottom:24px;
    padding:45px;

    background:#fff;
    border:1px solid var(--line);
}

.block-heading {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;

    gap:30px;

    margin-bottom:35px;
}

.step-label {
    color:#6c7973;
}

.block-heading h2 {
    margin:0;

    font-family:Georgia,serif;
    font-size:42px;
    font-weight:400;
}

.selection-hint {
    color:var(--muted);
    font-size:12px;
}


.room-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:12px;
}

.room-card {
    position:relative;

    padding:0;

    overflow:hidden;

    text-align:left;

    border:1px solid var(--line);
    background:#fff;
    color:var(--ink);

    transition:
        transform .2s ease,
        border .2s ease,
        box-shadow .2s ease;
}

.room-card:hover {
    transform:translateY(-3px);

    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.room-card.active {
    border:2px solid var(--green);
}

.room-image {
    height:220px;

    overflow:hidden;

    background:#e5e9e7;
}

.room-image img {
    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .3s ease;
}

.room-card:hover img {
    transform:scale(1.025);
}

.room-image-two img {
    object-position:40% center;
}

.room-image-three img {
    object-position:65% center;
}

.room-image-four img {
    object-position:center;
}

.room-info {
    min-height:120px;

    display:flex;
    justify-content:space-between;

    gap:15px;

    padding:22px;
}

.room-type {
    color:#76827d;

    font-size:9px;
    font-weight:800;
    letter-spacing:2px;
}

.room-info h3 {
    margin:8px 0 0;

    font-family:Georgia,serif;
    font-size:25px;
    font-weight:400;
}

.capacity {
    align-self:center;

    white-space:nowrap;

    color:var(--muted);
    font-size:11px;
}

.room-select {
    padding:14px 22px;

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

    color:var(--muted);

    font-size:11px;
    font-weight:700;
}

.room-card.active .room-select {
    background:var(--green);
    color:#fff;
}

.check {
    margin-right:5px;
}


.week-controls {
    display:flex;
    align-items:center;
    gap:14px;
}

.week-controls button {
    width:38px;
    height:38px;

    border:1px solid var(--line);
    background:#fff;

    border-radius:50%;
}

.week-controls strong {
    min-width:120px;

    text-align:center;

    font-family:Georgia,serif;
    font-size:16px;
    font-weight:400;
}


.calendar-days {
    display:grid;
    grid-template-columns:repeat(7,1fr);

    margin-bottom:35px;

    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.day-button {
    padding:22px 10px;

    border:0;
    border-right:1px solid var(--line);

    background:#fff;
    color:var(--ink);

    text-align:center;
}

.day-button:last-child {
    border-right:0;
}

.day-button span,
.day-button strong {
    display:block;
}

.day-button span {
    margin-bottom:8px;

    color:var(--muted);

    font-size:10px;
    text-transform:uppercase;
}

.day-button strong {
    font-family:Georgia,serif;
    font-size:25px;
    font-weight:400;
}

.day-button.active {
    background:var(--green);
    color:#fff;
}

.day-button.active span {
    color:rgba(255,255,255,.65);
}


.schedule-layout {
    display:grid;
    grid-template-columns:1fr 340px;

    gap:40px;
}

.schedule-header {
    display:flex;
    justify-content:space-between;
    align-items:flex-end;

    margin-bottom:24px;
}

.schedule-header span,
.schedule-header strong {
    display:block;
}

.schedule-header > div:first-child span {
    margin-bottom:4px;

    color:var(--muted);

    font-size:10px;
    letter-spacing:2px;
}

.schedule-header > div:first-child strong {
    font-family:Georgia,serif;
    font-size:27px;
    font-weight:400;
}

.availability-key {
    display:flex;
    align-items:center;
    gap:8px;

    color:var(--muted);
    font-size:11px;
}

.availability-key span {
    width:8px;
    height:8px;

    border-radius:50%;
    background:#5d9a77;
}


.time-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:8px;
}

.time-slot {
    min-height:52px;

    border:1px solid #d8dfdb;
    border-radius:3px;

    background:#fff;
    color:var(--ink);

    font-weight:700;
    font-size:13px;
}

.time-slot:hover:not(:disabled) {
    border-color:var(--green);
    background:#f0f5f2;
}

.time-slot.selected {
    background:var(--green);
    border-color:var(--green);
    color:#fff;
}

.time-slot:disabled {
    background:#f0f1f0;
    color:#b5bab7;

    cursor:not-allowed;

    text-decoration:line-through;
}

.demo-note {
    margin-top:20px;
    padding:13px 15px;

    background:#f5f7f6;
    color:#78817d;

    font-size:11px;
    line-height:1.5;
}


.booking-summary {
    position:sticky;
    top:20px;

    align-self:start;

    padding:30px;

    background:#182f27;
    color:#fff;
}

.summary-eyebrow {
    color:#adc0b8;
}

.booking-summary h3 {
    margin:0 0 28px;

    font-family:Georgia,serif;
    font-size:29px;
    font-weight:400;
}

.summary-row {
    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:15px;

    padding:15px 0;

    border-top:1px solid rgba(255,255,255,.12);
}

.summary-row span {
    color:rgba(255,255,255,.6);
    font-size:11px;
}

.summary-row strong {
    text-align:right;

    font-size:12px;
}

.duration-section {
    margin-top:20px;
}

.summary-label {
    display:block;

    margin-bottom:10px;

    color:rgba(255,255,255,.6);

    font-size:11px;
}

.duration-options {
    display:grid;
    grid-template-columns:1fr 1fr;

    gap:7px;
}

.duration-options button {
    padding:10px;

    border:1px solid rgba(255,255,255,.18);
    background:transparent;
    color:#fff;

    font-size:11px;
}

.duration-options button.active {
    background:#fff;
    color:var(--green);
}

.continue-button,
.confirm-button {
    width:100%;

    min-height:54px;

    margin-top:25px;

    border:0;
    border-radius:999px;

    background:#fff;
    color:var(--green);

    font-weight:800;
}

.continue-button:disabled {
    opacity:.4;
    cursor:not-allowed;
}


.details-block {
    scroll-margin-top:20px;
}

.details-layout {
    display:grid;
    grid-template-columns:1fr 340px;

    gap:40px;
}

.field-grid {
    display:grid;
    grid-template-columns:1fr 1fr;

    gap:18px;
}

.details-layout label {
    display:flex;
    flex-direction:column;

    gap:9px;

    margin-bottom:20px;

    color:#53605a;

    font-size:11px;
    font-weight:700;
}

.details-layout input,
.details-layout textarea {
    width:100%;

    padding:15px;

    border:1px solid #ccd4d0;
    background:#fff;

    color:var(--ink);

    font-size:15px;
}

.details-layout input:focus,
.details-layout textarea:focus {
    outline:2px solid rgba(23,61,50,.1);
    border-color:var(--green);
}

.confirm-button {
    max-width:300px;

    margin-top:5px;

    background:var(--green);
    color:#fff;
}

.final-summary {
    min-height:260px;

    padding:30px;

    background:#f1f4f2;
}

.final-summary > span {
    color:#74807a;

    font-size:9px;
    font-weight:800;
    letter-spacing:2px;
}

.final-summary > strong {
    display:block;

    margin:18px 0;

    font-family:Georgia,serif;
    font-size:27px;
    font-weight:400;
}

.final-summary p {
    margin:8px 0;

    color:#5e6964;
}

.final-note {
    margin-top:30px;
    padding-top:18px;

    border-top:1px solid #d2dad6;

    color:#7b8580;

    font-size:11px;
}


.outside-booking {
    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:50px;

    margin-top:80px;
    padding:75px 7vw;

    background:#e5e1d7;
}

.outside-booking span {
    color:#718078;

    font-size:10px;
    font-weight:800;
    letter-spacing:3px;
}

.outside-booking h2 {
    margin:12px 0;

    font-family:Georgia,serif;
    font-size:38px;
    font-weight:400;
}

.outside-booking p {
    color:var(--muted);
}

.outside-booking a {
    flex:0 0 auto;

    padding:16px 25px;

    border-radius:999px;

    background:var(--green);
    color:#fff;

    text-decoration:none;
    font-weight:700;
    font-size:13px;
}


.booking-modal {
    position:fixed;
    inset:0;

    z-index:999;

    display:none;
    place-items:center;

    padding:20px;

    background:rgba(7,17,13,.7);
    backdrop-filter:blur(6px);
}

.booking-modal.open {
    display:grid;
}

.modal-card {
    width:min(480px,100%);

    padding:50px;

    background:#fff;

    text-align:center;
}

.success-icon {
    width:65px;
    height:65px;

    display:grid;
    place-items:center;

    margin:0 auto 25px;

    border-radius:50%;

    background:var(--green);
    color:#fff;

    font-size:26px;
}

.modal-card > span {
    color:#7a847f;

    font-size:9px;
    font-weight:800;
    letter-spacing:3px;
}

.modal-card h2 {
    margin:12px 0;

    font-family:Georgia,serif;
    font-size:45px;
    font-weight:400;
}

.modal-card p {
    color:var(--muted);
    line-height:1.6;
}

.modal-card button {
    margin-top:20px;
    padding:13px 30px;

    border:0;
    border-radius:999px;

    background:var(--green);
    color:#fff;

    font-weight:700;
}


@media(max-width:1050px) {

    .room-grid {
        grid-template-columns:1fr 1fr;
    }

    .schedule-layout,
    .details-layout {
        grid-template-columns:1fr;
    }

    .booking-summary {
        position:static;
    }
}


@media(max-width:700px) {

    .booking-header {
        grid-template-columns:1fr 1fr;

        padding:0 20px;
    }

    .header-center {
        display:none;
    }

    .booking-hero {
        min-height:440px;

        flex-direction:column;
        align-items:flex-start;

        padding:
            70px
            22px
            55px;
    }

    .tenant-box {
        width:100%;
    }

    .booking-shell {
        width:100%;
    }

    .booking-progress {
        padding:25px 18px;
    }

    .progress-line {
        width:25px;
        margin:0 7px;
    }

    .progress-item strong {
        display:none;
    }

    .booking-block {
        padding:
            35px
            18px;

        border-left:0;
        border-right:0;
    }

    .block-heading {
        align-items:flex-start;
        flex-direction:column;

        gap:15px;
    }

    .room-grid {
        grid-template-columns:1fr;
    }

    .room-image {
        height:240px;
    }

    .calendar-days {
        overflow-x:auto;

        grid-template-columns:
            repeat(7,minmax(80px,1fr));
    }

    .time-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

    .field-grid {
        grid-template-columns:1fr;
    }

    .outside-booking {
        flex-direction:column;
        align-items:flex-start;

        padding:
            60px
            22px;
    }
}


/* ===== ROOM IMAGE UNIFORM FIX ===== */
.room-image,
.room-image-two,
.room-image-three,
.room-image-four {
    height: 230px;
    overflow: hidden;
}

.room-image img,
.room-image-two img,
.room-image-three img,
.room-image-four img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Finjustera bara Blänkaren */
.room-card[data-room="Mötesrum Blänkaren"] .room-image img {
    object-position: center 38%;
}
/* ===== END ROOM IMAGE UNIFORM FIX ===== */


/* HDhuset – valfri sluttid */
.booking-end-select {
    display: block;
    width: 100%;
    padding: 13px 14px;
    margin-top: 10px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font: inherit;
}

.booking-end-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.booking-length-summary {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.booking-length-summary strong {
    display: block;
    font-size: 18px;
}
