/* Explain: Styles for visual elements like cards, buttons, and section dividers. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.62));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.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.84), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.6rem;
    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.9rem;
    content: "";
    pointer-events: none;
}

.media-frame-hero {
    height: min(70vh, 620px);
    min-height: 420px;
}

.media-frame-tall {
    height: 560px;
}

.floating-note {
    position: absolute;
    left: -1.25rem;
    bottom: 2.5rem;
    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.82rem;
    font-weight: 600;
}

.stat-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 1rem 1.1rem;
}

.stat-item span {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
}

.stat-item p {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

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

.tick-list {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.info-card,
.hours-row {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 1.25rem;
}

.info-card span {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.testimonial-card {
    border-radius: 2rem;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.rating-stars {
    display: inline-flex;
    gap: 0.3rem;
    color: var(--accent-color);
    font-size: 0.85rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

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

.mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.9);
    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.6rem;
    }

    .media-frame {
        border-radius: 2rem;
    }

    .media-frame-hero,
    .media-frame-tall {
        height: 460px;
        min-height: 0;
    }

    .media-frame-hero {
        margin-right: auto;
        margin-left: auto;
        max-width: 450px;
    }

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