/* Explain: Styles for story cards, glass panels, and mobile CTA bar. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.6));
    backdrop-filter: blur(18px);
}

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

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-color);
    content: "";
}

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

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.2rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.media-frame::after {
    position: absolute;
    inset: 0.9rem;
    border: 1px solid rgba(250, 249, 246, 0.55);
    border-radius: 1.5rem;
    content: "";
    pointer-events: none;
}

.floating-note {
    position: absolute;
    bottom: 2.5rem;
    left: -1rem;
    z-index: 2;
    display: flex;
    max-width: 260px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 1.6rem;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
}

.stat-card,
.info-card,
.service-card,
.achieve-card,
.clinic-info,
.contact-method {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 1.5rem;
}

.stat-value {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat-card p,
.info-card p {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.service-card,
.achieve-card {
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover,
.achieve-card:hover {
    border-color: rgba(88, 129, 87, 0.55);
    box-shadow: 0 24px 70px rgba(31, 46, 35, 0.1);
    transform: translateY(-6px);
}

.icon-badge {
    display: inline-flex;
    width: 3.2rem;
    height: 3.2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    background: var(--sage-soft);
    color: var(--accent-color);
    font-size: 1.3rem;
}

.clinic-hours {
    display: grid;
    gap: 0.65rem;
}

.clinic-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed var(--glass-border);
    padding-bottom: 0.65rem;
    font-size: 0.95rem;
}

.clinic-hours-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.clinic-hours-row .day {
    color: var(--text-color);
    font-weight: 600;
}

.clinic-hours-row .time {
    color: var(--text-muted);
}

.map-frame {
    display: flex;
    overflow: hidden;
    min-height: 340px;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
}

.contact-method {
    text-decoration: none;
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

a.contact-method:hover {
    border-color: var(--accent-color);
    box-shadow: 0 18px 50px rgba(31, 46, 35, 0.1);
    transform: translateY(-4px);
}

.contact-method h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.contact-method .value {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

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

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

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

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

.mobile-cta-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.92);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

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

    .floating-note {
        position: relative;
        left: auto;
        bottom: auto;
        margin: -2rem auto 0;
    }

    .map-frame {
        min-height: 280px;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(31, 46, 35, 0.9);
    backdrop-filter: blur(6px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-image {
    max-width: 94vw;
    max-height: 86vh;
    border-radius: 1.2rem;
    background: #ffffff;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 249, 246, 0.4);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.15);
    color: #ffffff;
    font-size: 1.35rem;
    cursor: pointer;
    transition: background 250ms ease;
}

.lightbox-close:hover {
    background: rgba(250, 249, 246, 0.3);
}

@media (max-width: 767px) {
    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 0.3rem 1.4rem;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.faq-item[open] {
    border-color: rgba(88, 129, 87, 0.55);
    box-shadow: 0 22px 60px rgba(31, 46, 35, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0;
    color: var(--text-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.7;
    list-style: none;
}

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

.faq-question i {
    flex-shrink: 0;
    color: var(--accent-color);
    font-size: 0.85rem;
    transition: transform 300ms ease;
}

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

.faq-answer {
    padding-bottom: 1.15rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
}

@media (max-width: 767px) {
    .faq-item {
        padding: 0.25rem 1.1rem;
    }

    .faq-question {
        font-size: 1rem;
    }
}

.story-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 1rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.story-card:hover {
    border-color: rgba(88, 129, 87, 0.55);
    box-shadow: 0 24px 70px rgba(31, 46, 35, 0.1);
    transform: translateY(-6px);
}

.story-photo {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    background: var(--surface-color);
}

.story-photo img {
    transition: transform 500ms ease;
}

.story-card:hover .story-photo img {
    transform: scale(1.05);
}

.story-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.story-quote {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.95;
}

.story-name {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 700;
}

.legal-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.62);
    padding: clamp(1.25rem, 3.5vw, 2rem);
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.legal-card:hover {
    border-color: rgba(88, 129, 87, 0.45);
    box-shadow: 0 22px 60px rgba(31, 46, 35, 0.08);
}