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

html,
body {
    font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

p {
    max-width: 68ch;
    overflow-wrap: anywhere;
}

.booking-intro-full {
    max-width: none !important;
}

a,
li {
    overflow-wrap: anywhere;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.about-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.about-expandable {
    --about-collapsed-height: 8.75rem;
    position: relative;
    overflow: hidden;
    max-height: var(--about-collapsed-height);
    transition: max-height 0.25s ease;
}

.about-expandable[data-expanded="true"] {
    max-height: none;
}

.about-expandable[data-expanded="false"]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.5rem;
    background: linear-gradient(to bottom, rgba(247, 241, 232, 0), rgba(247, 241, 232, 0.92) 60%, rgba(247, 241, 232, 1));
    pointer-events: none;
}

.about-expandable--tint[data-expanded="false"]::after {
    background: linear-gradient(to bottom, rgba(227, 234, 226, 0), rgba(227, 234, 226, 0.92) 60%, rgba(227, 234, 226, 1));
}

input:not([type="range"]),
textarea,
select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #e7dfd2;
    border-radius: 0.75rem;
    padding: 0.75rem 0.875rem;
    font-size: 1rem;
    line-height: 1.4;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 120px;
}

button {
    min-height: 44px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #4b6358;
    outline-offset: 2px;
}

input:not([type="range"]):focus,
textarea:focus,
select:focus {
    border-color: #4b6358;
    box-shadow: 0 0 0 3px rgba(75, 99, 88, 0.15);
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.site-toast-stack {
    position: fixed;
    right: clamp(1rem, 4vw, 2rem);
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    width: min(32rem, calc(100vw - 2rem));
    gap: 0.75rem;
    pointer-events: none;
}

.site-toast {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.875rem;
    align-items: start;
    border: 1px solid #e4dacb;
    border-left-width: 5px;
    border-radius: 1rem;
    background: rgba(255, 250, 244, 0.98);
    padding: 1rem;
    box-shadow: 0 18px 48px rgba(47, 41, 36, 0.16);
    pointer-events: auto;
    animation: site-toast-in 0.22s ease-out;
}

.site-toast[data-toast-hiding="true"] {
    animation: site-toast-out 0.18s ease-in forwards;
}

.site-toast--success {
    border-color: #cfe0d3;
    border-left-color: #4b6358;
}

.site-toast--error {
    border-color: #f0b8b3;
    border-left-color: #b42318;
}

.site-toast--warning {
    border-color: #f1d29d;
    border-left-color: #a15c12;
}

.site-toast__indicator {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.site-toast__indicator svg {
    width: 1.2rem;
    height: 1.2rem;
}

.site-toast--success .site-toast__indicator {
    background: #e3eae2;
    color: #4b6358;
}

.site-toast--error .site-toast__indicator {
    background: #fde8e6;
    color: #b42318;
}

.site-toast--warning .site-toast__indicator {
    background: #fff4da;
    color: #a15c12;
}

.site-toast__message {
    margin: 0;
    max-width: none;
    color: #2a2420;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
}

.site-toast__close {
    display: inline-flex;
    width: 2rem;
    min-height: 2rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #756a5f;
    padding: 0;
}

.site-toast__close:hover,
.site-toast__close:focus-visible {
    background: rgba(47, 41, 36, 0.08);
    color: #2a2420;
}

.site-toast__close svg {
    width: 1rem;
    height: 1rem;
}

@keyframes site-toast-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-toast-out {
    to {
        opacity: 0;
        transform: translateY(0.5rem);
    }
}

iframe {
    max-width: 100%;
}

.errorlist {
    margin-top: 0.5rem;
    color: #b91c1c;
    font-size: 0.9375rem;
    list-style: none;
    padding: 0;
}

section {
    scroll-margin-top: 96px;
}

.concerns-list {
    list-style: none !important;
    padding-left: 0;
    margin: 0;
}

.concerns-list li {
    position: relative;
    list-style: none !important;
    padding-left: 1.75rem;
}

.concerns-list li::marker {
    content: "";
}

.concerns-list li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0.125rem;
    width: 0.9rem;
    height: 0.55rem;
    border-left: 2px solid #4b6358;
    border-bottom: 2px solid #4b6358;
    transform: translateY(-50%) rotate(-45deg);
}

.important-notes-list {
    list-style: none;
    padding-left: 0;
}

.important-notes-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    list-style: none;
}

.important-notes-bullet {
    position: relative;
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background-color: #4b6358;
    margin-top: 0.25rem;
}

.important-notes-bullet::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.3rem;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -60%) rotate(-45deg);
}

.emdr-benefit-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background-color: #ffffff;
    padding: 0.625rem 1.125rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #2a2420;
    box-shadow: 0 6px 16px rgba(42, 36, 32, 0.06);
}

.divider-list > * + * {
    border-top: 1px solid #e7dfd2;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.timeline-number {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background-color: #4b6358;
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.timeline-row {
    position: relative;
}

.timeline-row::before {
    content: "";
    position: absolute;
    top: 1.375rem;
    left: 3.5rem;
    right: 3.5rem;
    height: 2px;
    background-color: #e7dfd2;
    z-index: 0;
}

.timeline-connector-v {
    position: absolute;
    top: 2.75rem;
    bottom: -1.5rem;
    left: 1.375rem;
    width: 2px;
    background-color: #e7dfd2;
}

.section-band {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.booking-datetime-shell {
    position: relative;
    width: 100%;
}

.booking-datetime-display {
    display: block;
    width: 100%;
    padding-right: 3.75rem;
    padding-left: 1rem;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.98)),
        #fff;
}

.booking-datetime-display[readonly] {
    color: #2a2420;
}

.booking-datetime-display:focus-visible {
    outline: none;
    outline-offset: 0;
    border-color: #4b6358;
    box-shadow: 0 0 0 3px rgba(75, 99, 88, 0.15);
}

.booking-datetime-display::placeholder {
    color: #9c8f82;
}

.booking-datetime-trigger {
    position: absolute;
    top: 50%;
    right: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 0.75rem;
    background: rgba(75, 99, 88, 0.1);
    color: #4b6358;
    line-height: 0;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.booking-datetime-trigger:hover,
.booking-datetime-trigger:focus-visible {
    background: rgba(75, 99, 88, 0.16);
    color: #3c5147;
}

.booking-datetime-trigger svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.booking-datetime-panel {
    margin-top: 0.75rem;
    width: 100%;
    max-width: 28rem;
    border: 1px solid #e7dfd2;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(42, 36, 32, 0.08);
}

.booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.booking-calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    min-height: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #4b6358;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-calendar-nav:hover:not(:disabled) {
    background: rgba(75, 99, 88, 0.1);
}

.booking-calendar-nav:disabled {
    color: #d3ccc0;
    cursor: default;
}

.booking-calendar-nav svg {
    width: 1.125rem;
    height: 1.125rem;
}

.booking-calendar-label {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #2a2420;
    text-transform: capitalize;
    margin: 0;
}

.booking-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
    margin-bottom: 0.375rem;
}

.booking-calendar-weekdays span {
    display: block;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9c8f82;
}

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.booking-calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #2a2420;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.booking-calendar-day--empty {
    visibility: hidden;
}

.booking-calendar-day:hover:not(:disabled):not([data-selected="true"]) {
    background: rgba(75, 99, 88, 0.1);
}

.booking-calendar-day:disabled {
    color: #d3ccc0;
    cursor: default;
}

.booking-calendar-day[data-selected="true"] {
    background: #4b6358;
    color: #fff;
    font-weight: 700;
}

.booking-calendar-day[data-today="true"]::after {
    content: "";
    position: absolute;
    bottom: 0.2rem;
    left: 50%;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 9999px;
    background: currentColor;
    transform: translateX(-50%);
}

.booking-slots {
    margin-top: 1.25rem;
    border-top: 1px solid #e7dfd2;
    padding-top: 1rem;
}

.booking-slots-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #2a2420;
    margin: 0 0 0.625rem;
}

.booking-slots-empty {
    font-size: 0.875rem;
    color: #9c8f82;
    margin: 0;
}

.booking-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    max-height: 14rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.booking-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border: 1px solid #e7dfd2;
    border-radius: 0.625rem;
    background: #fff;
    color: #2a2420;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.booking-slot:hover {
    border-color: #4b6358;
}

.booking-slot[data-selected="true"] {
    background: #4b6358;
    border-color: #4b6358;
    color: #fff;
}

.booking-datetime-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.booking-picker-action {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7dfd2;
    border-radius: 0.875rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.98)), #fff;
    padding: 0.625rem 0.875rem;
    color: #2a2420;
    font-family: "Nunito", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

textarea#id_notes {
    min-height: 8.75rem;
    height: 8.75rem;
    resize: vertical;
}

@media (max-width: 767px) {
    .site-toast-stack {
        right: 1rem;
        bottom: 1rem;
    }

    .site-toast {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 0.875rem;
    }

    .booking-datetime-display {
        padding-right: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-toast,
    .site-toast[data-toast-hiding="true"] {
        animation: none;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
