/* Explain: Styles for UI components like header, sections, cards, and referral panel. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.94), rgba(250, 249, 246, 0.7));
    backdrop-filter: blur(18px);
    transition: box-shadow 300ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 40px rgba(31, 46, 35, 0.09);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    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.9), rgba(255, 255, 255, 0.55));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero-media {
    position: relative;
}

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

.media-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-float {
    position: relative;
    width: 100%;
    margin-top: 1.25rem;
    border-radius: 1.5rem;
    padding: 1.35rem 1.5rem;
}

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

.step-card:hover {
    border-color: rgba(88, 129, 87, 0.5);
    box-shadow: 0 20px 50px rgba(31, 46, 35, 0.08);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    margin-bottom: 0.55rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
}

.offer-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    border-radius: 1.9rem;
    background: linear-gradient(160deg, rgba(250, 249, 246, 0.96), rgba(241, 244, 235, 0.72));
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

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

.offer-price {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.quote-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.7rem;
    background: rgba(250, 249, 246, 0.74);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(250, 249, 246, 0.72);
    padding: 1.05rem 1.35rem;
    transition: border-color 250ms ease, background 250ms ease;
}

.faq-item[open] {
    border-color: var(--accent-color);
    background: var(--background-color);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--text-color);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.5;
}

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

.faq-chevron {
    color: var(--accent-color);
    transition: transform 300ms ease;
}

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

.faq-answer {
    margin: 0.85rem 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

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

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

.form-status {
    color: var(--text-muted);
}

.form-status.success {
    color: var(--primary-color);
}

.form-status.error {
    color: var(--logo-subtitle-color);
}

.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.3rem;
    background: rgba(250, 249, 246, 0.68);
    padding: 1rem 1.1rem;
}

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

.slot-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}

.slot-chip:hover,
.slot-chip:focus-visible {
    border-color: var(--accent-color);
    background: var(--sage-soft);
    color: var(--sage-dark);
    outline: none;
    transform: translateY(-2px);
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.cal-day {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    background: rgba(250, 249, 246, 0.7);
}

.cal-day-head {
    border-bottom: 1px solid var(--glass-border);
    background: var(--surface-color);
    padding: 0.6rem 0.75rem;
    text-align: center;
    color: var(--sage-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cal-slots {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem;
}

.cal-slot {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.8rem;
    text-align: left;
    font-size: 0.7rem;
    line-height: 1.35;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.cal-slot-time {
    color: var(--text-color);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cal-slot-name {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.3;
}

.cal-slot-name i {
    margin-top: 0.28rem;
}

.cal-slot-busy {
    border: 1px solid rgba(88, 129, 87, 0.25);
    background: var(--sage-soft);
}

.cal-slot-busy .cal-slot-name {
    color: var(--text-muted);
}

.cal-slot-free {
    border: 1px dashed var(--accent-color);
    background: var(--background-color);
}

.cal-slot-free .cal-slot-time {
    color: var(--primary-color);
}

.cal-slot-free-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.cal-slot-free:hover,
.cal-slot-free:focus-visible {
    border-style: solid;
    background: var(--sage-soft);
    outline: none;
    transform: translateY(-2px);
}

@media (min-width: 640px) {
    .week-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .week-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.reward-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.2rem;
    background: linear-gradient(150deg, rgba(88, 129, 87, 0.18), rgba(250, 249, 246, 0.95) 55%, rgba(163, 177, 138, 0.26));
    padding: clamp(1.75rem, 5vw, 3rem);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

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