/* Explain: Physiotherapy clinic component styles and appointment UI */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-header {
    border-bottom: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--surface-color) 90%, transparent);
    backdrop-filter: blur(18px);
}

.hero-cinematic {
    position: relative;
    isolation: isolate;
}

.clinic-hero-overlay {
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary-color) 90%, transparent), color-mix(in srgb, var(--primary-color) 58%, transparent), color-mix(in srgb, var(--mint-color) 22%, transparent));
}

.appointment-card {
    position: relative;
    z-index: 10;
    border: 1px solid color-mix(in srgb, var(--mint-color) 48%, transparent);
    background: color-mix(in srgb, var(--surface-color) 74%, transparent);
    box-shadow: 0 2rem 6rem color-mix(in srgb, var(--primary-color) 26%, transparent);
    backdrop-filter: blur(24px);
}

.appointment-card::before,
.appointment-modal-card::before {
    content: "";
    position: absolute;
    inset: 0.8rem;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--mint-color) 58%, transparent);
    border-radius: inherit;
}

.appointment-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--mint-color) 66%, transparent);
    background: color-mix(in srgb, var(--mint-color) 46%, var(--surface-color));
    color: var(--primary-color);
}

.appointment-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--accent-color) 70%, transparent);
    background: color-mix(in srgb, var(--accent-color) 18%, var(--surface-color));
    color: var(--secondary-color);
}

.trust-card,
.treatment-card,
.choice-card,
.proof-card {
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--surface-color) 88%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.testimonial-card {
    border: 1px solid color-mix(in srgb, var(--surface-color) 14%, transparent);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--surface-color) 10%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.trust-card:hover,
.treatment-card:hover,
.choice-card:hover,
.proof-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--primary-color) 36%, transparent);
    background: var(--surface-color);
}

.testimonial-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--mint-color) 62%, transparent);
    background: color-mix(in srgb, var(--surface-color) 16%, transparent);
}

.icon-orb {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mint-color) 74%, var(--surface-color));
    color: var(--primary-color);
}

.soft-panel {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--mint-color) 34%, var(--background-color)), color-mix(in srgb, var(--surface-color) 84%, transparent)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent-color) 18%, transparent), transparent 22rem);
}

#treatments,
#proof,
#appointment-form {
    scroll-margin-top: 6rem;
}

body.appointment-modal-open {
    overflow: hidden;
}

.floating-contact-button {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9990;
    box-shadow: 0 1.2rem 3rem color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.appointment-modal {
    z-index: 10000;
}

.appointment-modal-card {
    background: color-mix(in srgb, var(--surface-color) 92%, transparent);
    box-shadow: 0 2rem 6rem color-mix(in srgb, var(--primary-color) 40%, transparent);
    backdrop-filter: blur(24px);
}

.close-modal-button {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 10002;
}

@media (min-width: 1024px) {
    .floating-contact-button {
        left: auto;
        right: 1.5rem;
        bottom: 1.5rem;
        width: auto;
        min-width: 11rem;
    }
}
