.reserva-diagnostico-section {
    position: relative;
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background:
        radial-gradient(1200px 420px at 8% -10%, rgba(26, 160, 199, 0.16), transparent 55%),
        radial-gradient(900px 380px at 100% 0%, rgba(12, 39, 64, 0.08), transparent 50%),
        linear-gradient(180deg, #f4fbfd 0%, #ffffff 55%, #f7fafc 100%);
    overflow: hidden;
}

.reserva-diagnostico-section__container {
    max-width: 1080px;
}

.reserva-diagnostico-section__eyebrow {
    margin: 0 0 0.45rem;
    color: #0b7894;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.reserva-diagnostico-section__title {
    margin: 0 0 0.75rem;
    color: #0c2740;
    font-size: clamp(1.75rem, 5vw, 2.55rem);
    line-height: 1.12;
    font-weight: 800;
}

.reserva-diagnostico-section__lead {
    margin: 0;
    max-width: 42rem;
    color: #243848;
}

.reserva-diagnostico-section__test-badge {
    display: inline-block;
    margin: 0.85rem 0 0;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(12, 39, 64, 0.08);
    color: #0c2740;
    font-size: 0.85rem;
    font-weight: 600;
}

.reserva-diagnostico-section__layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.reserva-diagnostico-section__panel,
.reserva-diagnostico-section__success {
    background: #ffffff;
    border: 1px solid rgba(9, 45, 73, 0.1);
    border-radius: 22px;
    padding: clamp(1.1rem, 3vw, 1.45rem);
    box-shadow: 0 12px 28px rgba(7, 36, 76, 0.06);
}

.reserva-diagnostico-section__panel-title {
    margin: 0 0 0.75rem;
    color: #0c2740;
    font-size: 1.15rem;
    font-weight: 750;
}

.reserva-diagnostico-section__status {
    margin: 0 0 1rem;
    color: #4b5e6c;
}

.reserva-diagnostico-section__days {
    display: grid;
    gap: 1rem;
    max-height: min(62vh, 560px);
    overflow: auto;
    padding-right: 0.25rem;
}

.reserva-diagnostico-day {
    border: 1px solid rgba(9, 45, 73, 0.1);
    border-radius: 16px;
    padding: 0.85rem;
    background: #f7fbfd;
}

.reserva-diagnostico-day__title {
    margin: 0 0 0.65rem;
    color: #0c2740;
    font-size: 0.98rem;
    font-weight: 700;
}

.reserva-diagnostico-day__slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reserva-diagnostico-slot {
    appearance: none;
    border: 1px solid rgba(26, 160, 199, 0.35);
    background: #ffffff;
    color: #0c2740;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 650;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.reserva-diagnostico-slot:hover,
.reserva-diagnostico-slot:focus-visible {
    background: rgba(26, 160, 199, 0.12);
    border-color: #1aa0c7;
    outline: none;
}

.reserva-diagnostico-slot.is-selected {
    background: #1aa0c7;
    border-color: #1aa0c7;
    color: #ffffff;
}

.reserva-diagnostico-section__selected {
    margin: 0 0 1rem;
    color: #0b7894;
    font-weight: 650;
}

.reserva-diagnostico-client {
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #f0f8fb;
    border: 1px solid rgba(26, 160, 199, 0.28);
}

.reserva-diagnostico-client__label {
    margin: 0 0 0.25rem;
    color: #4b5e6c;
    font-size: 0.82rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.reserva-diagnostico-client__name {
    margin: 0 0 0.35rem;
    color: #0c2740;
    font-size: 1.08rem;
    font-weight: 750;
}

.reserva-diagnostico-client__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #243848;
    font-size: 0.95rem;
}

.reserva-diagnostico-client__meta li + li {
    margin-top: 0.15rem;
}

.reserva-diagnostico-form {
    display: grid;
    gap: 0.85rem;
}

.reserva-diagnostico-form__field {
    display: grid;
    gap: 0.35rem;
}

.reserva-diagnostico-form__field label {
    color: #0c2740;
    font-size: 0.9rem;
    font-weight: 650;
}

.reserva-diagnostico-form__field input,
.reserva-diagnostico-form__field textarea {
    width: 100%;
    border: 1px solid rgba(9, 45, 73, 0.16);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    color: #0c2740;
    background: #fff;
    font: inherit;
}

.reserva-diagnostico-form__field input:focus,
.reserva-diagnostico-form__field textarea:focus {
    outline: 2px solid rgba(26, 160, 199, 0.35);
    border-color: #1aa0c7;
}

.reserva-diagnostico-form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.reserva-diagnostico-form__error {
    margin: 0;
    color: #b42318;
    font-size: 0.92rem;
}

.reserva-diagnostico-form .iadev-cta[disabled] {
    opacity: 0.55;
    pointer-events: none;
}

.reserva-diagnostico-section__empty p {
    margin: 0 0 1rem;
    color: #243848;
}

.reserva-diagnostico-section__success {
    grid-column: 1 / -1;
}

.reserva-diagnostico-section__success-slot {
    margin: 0 0 1.1rem;
    color: #0c2740;
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .reserva-diagnostico-section__layout {
        grid-template-columns: 1fr;
    }

    .reserva-diagnostico-section__days {
        max-height: none;
    }
}
