/* Explain: Styles for various components including buttons, cards, forms, layout elements, and FAQ section. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.86), rgba(250, 249, 246, 0.52));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    border-radius: 1.75rem;
}

.arch-frame-medium {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    border-radius: 1.75rem;
}

.quiet-detail,
.amenity-row {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.85;
}

.class-card {
    min-height: 320px;
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.class-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.amenity-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

.amenity-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.cosmetic-image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    border-radius: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.cosmetic-card {
    border-radius: 1.6rem;
    padding: 1.5rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.cosmetic-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-4px);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.insurance-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-radius: 1.4rem;
    padding: 1.15rem 1.35rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.insurance-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-4px);
}

.insurance-card p {
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 700;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.86);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(31, 46, 35, 0.32);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.22);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 420px);
    }
}

.map-frame {
    overflow: hidden;
    border-radius: 1.8rem;
    min-height: 340px;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
}

.floating-actions {
    position: fixed;
    left: 1rem;
    bottom: calc(5.2rem + env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: var(--shadow-button);
    transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(31, 46, 35, 0.24);
}

.floating-label {
    line-height: 1;
}

.floating-whatsapp {
    background: var(--whatsapp-color);
}

.floating-whatsapp:hover {
    background: var(--whatsapp-hover);
}

.floating-call {
    background: var(--primary-color);
}

.floating-call:hover {
    background: var(--sage-dark);
}

.insurance-group {
    border-radius: 1.8rem;
    padding: 1.6rem;
}

.insurance-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    height: 1.9rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.insurance-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 1rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 0.75rem 0.95rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.insurance-item span {
    flex: 1;
}

@media (min-width: 768px) {
    .floating-actions {
        left: 1.5rem;
        bottom: 1.5rem;
    }
}

.doctor-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-radius: 1.4rem;
    padding: 1.2rem 1.3rem;
}

.doctor-stat-value {
    color: var(--sage-dark);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.15;
}

.doctor-stat-label {
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.65;
}

.doctor-qual {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 0.85rem 1rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.65;
}

.faq-item {
    border-radius: 1.6rem;
    overflow: hidden;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

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

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

.faq-item[open] {
    border-color: rgba(88, 129, 87, 0.58);
}

.faq-item summary:hover h3 {
    color: var(--accent-color);
}

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

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