.otium-booking {
    --otium-accent: #007f3b;
    --otium-ink: #18211c;
    --otium-muted: #647069;
    --otium-border: #dce5df;
    --otium-soft: #f3f8f5;
    --otium-focus: #ec008c;
    --otium-font-family: var(--e-global-typography-primary-font-family, "Plus Jakarta Sans");
    box-sizing: border-box;
    width: 100%;
    max-width: 980px;
    margin: 2rem auto;
    overflow: hidden;
    border: 1px solid var(--otium-border);
    border-radius: 24px;
    background: #fff;
    color: var(--otium-ink);
    box-shadow: 0 24px 70px rgba(24, 33, 28, 0.1);
    font-family: var(--otium-font-family), sans-serif;
}

.otium-booking *,
.otium-booking *::before,
.otium-booking *::after {
    box-sizing: border-box;
}

.otium-booking * {
    font-family: inherit;
}

.otium-booking__header {
    position: relative;
    padding: clamp(2rem, 5vw, 3.75rem) clamp(1.25rem, 5vw, 4rem) 2rem;
    background:
        linear-gradient(110deg, rgba(0, 150, 64, 0.08), transparent 62%),
        #fff;
}

.otium-booking__header::after {
    position: absolute;
    top: 1.4rem;
    right: clamp(1.25rem, 5vw, 4rem);
    width: 64px;
    height: 9px;
    border-radius: 99px;
    background: linear-gradient(90deg, #00a0e9 0 31%, #ec008c 31% 64%, #80c41c 64%);
    content: "";
}

.otium-booking h2,
.otium-booking h3,
.otium-booking h4,
.otium-booking p {
    margin-top: 0;
    font-family: var(--otium-font-family), sans-serif;
}

.otium-booking h2 {
    max-width: 700px;
    margin-bottom: 0.65rem;
    color: var(--otium-ink);
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.otium-booking__header > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--otium-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.otium-booking__eyebrow {
    margin-bottom: 0.65rem;
    color: var(--otium-accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.otium-booking__progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 0 clamp(1.25rem, 5vw, 4rem) 1.75rem;
    background: #fff;
    list-style: none;
}

.otium-booking__progress li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #7a847e;
    font-size: 0.84rem;
    font-weight: 700;
}

.otium-booking__progress li:not(:last-child)::after {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 0.8rem;
    left: 2.5rem;
    height: 1px;
    background: var(--otium-border);
    content: "";
}

.otium-booking__progress span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--otium-border);
    border-radius: 50%;
    background: #fff;
}

.otium-booking__progress .is-current,
.otium-booking__progress .is-complete {
    color: var(--otium-ink);
}

.otium-booking__progress .is-current span,
.otium-booking__progress .is-complete span {
    border-color: var(--otium-accent);
    background: var(--otium-accent);
    color: #fff;
}

.otium-booking__progress .is-complete:not(:last-child)::after {
    background: var(--otium-accent);
}

.otium-booking__panel {
    padding: clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid var(--otium-border);
    background: #fff;
}

.otium-booking [hidden] {
    display: none !important;
}

.otium-booking__duration,
.otium-booking__needs {
    min-width: 0;
    margin: 0 0 2rem;
    padding: 0;
    border: 0;
}

.otium-booking__duration legend,
.otium-booking__needs legend {
    width: 100%;
    margin-bottom: 0.85rem;
    color: var(--otium-ink);
    font-size: 1rem;
    font-weight: 800;
}

.otium-booking__duration {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.otium-booking__duration legend {
    grid-column: 1 / -1;
}

.otium-booking__duration label {
    position: relative;
    cursor: pointer;
}

.otium-booking__duration input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.otium-booking__duration label > span {
    display: flex;
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.15rem;
    border: 1px solid var(--otium-border);
    border-radius: 14px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.otium-booking__duration label:hover > span {
    border-color: #8ab99d;
    transform: translateY(-1px);
}

.otium-booking__duration input:checked + span {
    border-color: var(--otium-accent);
    background: var(--otium-soft);
    box-shadow: inset 0 0 0 1px var(--otium-accent);
}

.otium-booking__duration input:focus-visible + span,
.otium-booking :is(button, input, select, textarea, a):focus-visible {
    outline: 3px solid var(--otium-focus);
    outline-offset: 3px;
}

.otium-booking__duration strong {
    font-size: 1rem;
}

.otium-booking__duration small {
    margin-top: 0.25rem;
    color: var(--otium-muted);
    font-size: 0.82rem;
}

.otium-booking__availability h3,
.otium-booking__section-heading h3,
.otium-booking__success h3 {
    margin-bottom: 0.45rem;
    color: var(--otium-ink);
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    line-height: 1.25;
}

.otium-booking__status {
    min-height: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--otium-muted);
}

.otium-booking__status.is-loading::before {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 0.5rem;
    border: 2px solid #bfd0c5;
    border-top-color: var(--otium-accent);
    border-radius: 50%;
    vertical-align: -0.08rem;
    animation: otium-spin 800ms linear infinite;
    content: "";
}

.otium-booking__status.is-error,
.otium-booking__form-error {
    color: #a12622;
}

.otium-booking__dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.8rem;
}

.otium-booking__more {
    display: block;
    margin: 1rem auto 0;
    padding: 0.65rem 1rem;
    border: 0;
    border-bottom: 2px solid currentColor;
    background: transparent;
    color: var(--otium-accent);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
}

.otium-booking__more:hover {
    filter: brightness(0.82);
}

.otium-booking__date {
    padding: 1rem;
    border: 1px solid var(--otium-border);
    border-radius: 14px;
    background: #fff;
}

.otium-booking__date h4 {
    margin-bottom: 0.75rem;
    color: var(--otium-ink);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: capitalize;
}

.otium-booking__slots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.otium-booking__slot {
    min-height: 42px;
    padding: 0.55rem;
    border: 1px solid #9eb1a5;
    border-radius: 9px;
    background: #fff;
    color: #174429;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.otium-booking__slot:hover {
    background: var(--otium-soft);
    transform: translateY(-1px);
}

.otium-booking__slot.is-selected {
    border-color: var(--otium-accent);
    background: var(--otium-accent);
    color: #fff;
}

.otium-booking__selection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid #80c41c;
    border-radius: 10px;
    background: var(--otium-soft);
}

.otium-booking__selection span {
    color: var(--otium-muted);
    font-size: 0.82rem;
}

.otium-booking__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.otium-booking__actions--end {
    justify-content: flex-end;
}

.otium-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.3rem;
    border: 1px solid var(--otium-accent);
    border-radius: 10px;
    background: var(--otium-accent);
    color: #fff !important;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: filter 140ms ease, transform 140ms ease;
}

.otium-button:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

.otium-button:disabled {
    border-color: #bdc6c0;
    background: #bdc6c0;
    cursor: not-allowed;
    filter: none;
    transform: none;
}

.otium-button--secondary {
    border-color: #aab6ae;
    background: #fff;
    color: var(--otium-ink) !important;
}

.otium-booking__section-heading {
    margin-bottom: 1.5rem;
}

.otium-booking__section-heading > p:last-child {
    margin: 0;
    color: var(--otium-accent);
    font-weight: 750;
}

.otium-booking__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.otium-booking__grid label,
.otium-booking__consent {
    color: #28332c;
    font-size: 0.9rem;
    font-weight: 700;
}

.otium-booking__grid label > span {
    color: #a12622;
}

.otium-booking__wide {
    grid-column: 1 / -1;
}

.otium-booking :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 0.4rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #aebbb2;
    border-radius: 9px;
    background: #fff;
    color: var(--otium-ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
}

.otium-booking textarea {
    min-height: 92px;
    resize: vertical;
}

.otium-booking :is(input, select, textarea):user-invalid {
    border-color: #b83a34;
}

.otium-booking__needs {
    margin-top: 2rem;
}

.otium-booking__check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.otium-booking__check-grid label,
.otium-booking__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.otium-booking__check-grid label {
    padding: 0.8rem;
    border: 1px solid var(--otium-border);
    border-radius: 10px;
    cursor: pointer;
}

.otium-booking__check-grid label:has(input:checked) {
    border-color: #66a27d;
    background: var(--otium-soft);
}

.otium-booking :is(input[type="checkbox"]) {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    margin: 0.08rem 0 0;
    accent-color: var(--otium-accent);
}

.otium-booking__consent {
    margin: 1.25rem 0;
    font-weight: 500;
    line-height: 1.5;
}

.otium-booking__consent a {
    color: var(--otium-accent);
    font-weight: 700;
}

.otium-booking__form-error {
    margin: 1rem 0 0;
    padding: 0.8rem 1rem;
    border-left: 4px solid #b83a34;
    border-radius: 6px;
    background: #fff2f1;
    font-weight: 650;
}

.otium-booking__required {
    margin: 0.75rem 0 0;
    color: var(--otium-muted);
    font-size: 0.78rem;
}

.otium-booking__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.otium-booking__success {
    padding-top: clamp(2.5rem, 7vw, 5rem);
    padding-bottom: clamp(2.5rem, 7vw, 5rem);
    text-align: center;
}

.otium-booking__success-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    background: var(--otium-accent);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.otium-booking__success-date {
    margin: 1.2rem auto 0.4rem;
    color: var(--otium-ink);
    font-size: 1.08rem;
    font-weight: 800;
}

.otium-booking__success-reference {
    color: var(--otium-muted);
    font-size: 0.84rem;
}

.otium-booking__success .otium-button {
    margin-top: 1rem;
}

@keyframes otium-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 680px) {
    .otium-booking {
        margin: 1rem auto;
        border-radius: 16px;
    }

    .otium-booking__progress {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .otium-booking__progress li {
        justify-content: center;
        font-size: 0;
    }

    .otium-booking__progress li:not(:last-child)::after {
        right: -25%;
        left: 62%;
    }

    .otium-booking__duration,
    .otium-booking__grid,
    .otium-booking__check-grid {
        grid-template-columns: 1fr;
    }

    .otium-booking__wide {
        grid-column: auto;
    }

    .otium-booking__selection,
    .otium-booking__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .otium-booking__actions--end {
        align-items: flex-end;
    }

    .otium-booking__actions .otium-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .otium-booking *,
    .otium-booking *::before,
    .otium-booking *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
