/* Explain: Styles for UI components like cards, buttons, and modals. */
.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);
}

#services,
#why,
#about,
#faq,
#areas,
#appointment-form {
    scroll-margin-top: 6rem;
}

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

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

.floating-quick-actions {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-quick-actions .quick-action-btn {
    display: inline-flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 0.9rem 2rem color-mix(in srgb, var(--primary-color) 26%, transparent);
    transition: transform 300ms ease, background 300ms ease;
}

.floating-quick-actions .quick-action-btn:hover {
    transform: translateY(-0.2rem);
}

body.appointment-modal-open .floating-quick-actions {
    display: none;
}

.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;
    }

    .floating-quick-actions {
        left: 1.5rem;
        bottom: 1.5rem;
    }
}

.faq-card {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: color-mix(in srgb, var(--surface-color) 88%, transparent);
    box-shadow: var(--shadow-card);
    transition: border-color 300ms ease, background 300ms ease;
}

.faq-card[open] {
    border-color: color-mix(in srgb, var(--primary-color) 36%, transparent);
    background: var(--surface-color);
}

.faq-item > summary {
    list-style: none;
    cursor: pointer;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    transition: transform 300ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.service-details h3 {
    margin: 1.6rem 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.service-details p {
    margin: 0;
}

.service-details p + p {
    margin-top: 0.9rem;
}

/* لا تُعرض أي أسعار في الموقع */
[data-mc-price],
.service-price,
.price-tag,
.price-amount {
    display: none !important;
}
