.booking-hero {
    padding: 56px 0 42px;
    background: var(--soft, #f3f7f8);
    border-bottom: 1px solid var(--line, #dfe7ea);
    text-align: center;
}

.booking-hero h1 {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.2;
    color: var(--navy, #123b52);
}

.booking-hero p:not(.eyebrow) {
    max-width: 690px;
    margin: 18px auto 0;
    font-size: 15px;
    line-height: 1.8;
}

.booking-section { padding: 48px 0; }
.booking-card-heading { margin-bottom: 25px; }
.booking-card-heading > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
.booking-patient-options label > span { display: flex; align-items: center; gap: 8px; }
.booking-patient-options + .booking-hint { margin: -12px 0 24px; }
.booking-phone { display: inline-flex; align-items: center; min-height: 44px; margin: 12px 0; font-size: 20px; font-weight: 700; color: #146b46; }
.booking-help-icon { display: inline-flex; margin-bottom: 18px; color: #146b46; }
.booking-help-icon .icon { width: 34px; height: 34px; }
.booking-error { padding: 16px; margin: 20px 0; border: 1px solid #c9938e; background: #fff4f2; color: #852d24; font-size: 14px; }
.booking-review h3 { margin-bottom: 16px; font-size: 24px; }
.booking-review[tabindex]:focus { outline: 3px solid #066b9c; outline-offset: 4px; }
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    margin-top: 0;
    margin-bottom: 64px;
}

.booking-card,
.booking-help {
    min-width: 0;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line, #dfe7ea);
    border-radius: 12px;
}

.booking-card h2,
.booking-help h2,
.booking-review h2 {
    margin-bottom: 18px;
    color: var(--navy, #123b52);
    font-size: 25px;
    line-height: 1.3;
}

.booking-card > p,
.booking-help p {
    font-size: 14px;
    line-height: 1.8;
}

.booking-card > p {
    margin-bottom: 24px;
}

.booking-patient-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 28px;
    padding: 6px;
    border: 1px solid #a5b6c0;
    border-radius: 8px;
    background: #f3f7f8;
}

.booking-patient-options legend {
    padding: 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy, #123b52);
}

.booking-patient-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    min-width: 0;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--navy, #123b52);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
}

.booking-patient-options label:has(input:checked) {
    background: #fff;
    border-color: var(--navy, #123b52);
}

.booking-patient-options label:focus-within {
    outline: 3px solid #066b9c;
    outline-offset: 2px;
}

.booking-patient-options input[type="radio"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    accent-color: var(--navy, #123b52);
}

.booking-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.booking-field {
    min-width: 0;
}

.booking-wide {
    grid-column: 1 / -1;
}

.booking-field > label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink, #183c51);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

.booking-field input:not([type="radio"]):not([type="checkbox"]),
.booking-field select,
.booking-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid #8295a1;
    border-radius: 6px;
    background: #fff;
    color: var(--ink, #183c51);
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
}

.booking-field textarea {
    min-height: 120px;
    resize: vertical;
}

.booking-field input:focus-visible,
.booking-field select:focus-visible,
.booking-field textarea:focus-visible {
    outline: 3px solid #066b9c;
    outline-offset: 3px;
}

.booking-field [aria-invalid="true"] {
    border-color: #a33026;
}

.booking-field :disabled {
    background: #eef2f4;
    color: #546773;
    cursor: not-allowed;
}

.booking-hint {
    display: block;
    margin-top: 8px;
    color: #526773;
    font-size: 13px;
    line-height: 1.7;
}

.booking-status,
.booking-notice {
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid #b6cbd6;
    border-radius: 6px;
    background: #eef5f8;
    color: #294d62;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.booking-status[role="alert"] {
    border-color: #c9938e;
    background: #fff4f2;
    color: #852d24;
}

.booking-notice a,
.booking-status a,
.booking-help p a {
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.booking-actions button,
.booking-actions .button,
.booking-help .button,
.booking-whatsapp {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--navy, #123b52);
    border-radius: 6px;
    background: var(--navy, #123b52);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.booking-actions .booking-whatsapp,
.booking-help .booking-whatsapp {
    background: #146b46;
    border-color: #146b46;
    color: #fff;
}

.booking-actions button:hover,
.booking-actions .button:hover {
    background: #092d43;
}

.booking-actions .booking-whatsapp:hover,
.booking-help .booking-whatsapp:hover {
    background: #0d5435;
    border-color: #0d5435;
    color: #fff;
}

.booking-actions .booking-edit { background: #fff; color: var(--navy); border-color: #8295a1; }
.booking-actions .booking-edit:hover { background: var(--soft); }

.booking-actions a:focus-visible,
.booking-actions button:focus-visible,
.booking-help a:focus-visible {
    outline: 3px solid #066b9c;
    outline-offset: 4px;
}

.booking-actions button:disabled,
.booking-actions [aria-disabled="true"] {
    background: #e2e9ed;
    border-color: #a7b7c1;
    color: #526773;
    opacity: 1;
    cursor: not-allowed;
}

.booking-review {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line, #dfe7ea);
}

.booking-message {
    margin: 18px 0;
    padding: 20px;
    border: 1px solid #c8d8cf;
    border-radius: 6px;
    background: #f3f8f4;
    color: #244233;
    font: inherit;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.booking-help h3 {
    margin: 24px 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.booking-help p + p {
    margin-top: 14px;
}

.booking-help .button {
    width: 100%;
    margin-top: 22px;
}

.booking-help ul,
.booking-help ol {
    padding-left: 20px;
    color: var(--text, #4e626e);
    font-size: 14px;
}

.booking-help li + li {
    margin-top: 10px;
}

.booking-steps {
    margin-top: 32px;
    margin-bottom: 64px;
}

.booking-steps > h2 {
    margin-bottom: 30px;
    font-size: 30px;
    text-align: center;
}

.booking-steps ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.booking-steps li {
    min-width: 0;
    padding-top: 20px;
    border-top: 1px solid #c5d2da;
}

.booking-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--navy, #123b52);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.booking-steps h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.4;
}

.booking-steps p {
    font-size: 14px;
    line-height: 1.8;
}

.booking-layout [hidden],
.booking-card[hidden],
.booking-review[hidden],
#booking-form[hidden] {
    display: none !important;
}

@media (max-width: 800px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 0;
        margin-bottom: 48px;
    }

    .booking-help {
        padding: 28px;
    }

    .booking-steps ol {
        gap: 20px;
    }
}

@media (max-width: 550px) {
    .booking-patient-options .icon { display: none; }
    .booking-section { padding: 30px 0; }
    .booking-hero {
        padding: 36px 0 30px;
    }

    .booking-hero .container,
    .booking-layout.container,
    .booking-steps.container {
        width: calc(100% - 32px);
    }

    .booking-hero p:not(.eyebrow) {
        font-size: 14px;
    }

    .booking-card,
    .booking-help {
        padding: 22px 18px;
    }

    .booking-fields,
    .booking-steps ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-patient-options {
        gap: 4px;
        padding: 4px;
    }

    .booking-patient-options label {
        padding: 12px 7px;
        gap: 7px;
        font-size: 13px;
    }

    .booking-actions > button,
    .booking-actions > .button,
    .booking-actions > a {
        width: 100%;
    }

    .booking-message {
        padding: 16px;
        font-size: 13px;
    }

    .booking-steps {
        margin-bottom: 44px;
    }

    .booking-steps > h2 {
        font-size: 26px;
    }
}
