/* Explain: Styles for common UI elements like cards, forms, and navigation. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.88), rgba(250, 249, 246, 0.56));
    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.82), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.8);
    padding: 1.9rem;
    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 70px rgba(31, 46, 35, 0.1);
    transform: translateY(-6px);
}

.service-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1rem;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.15rem;
}

.process-step {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-color);
}

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

.media-frame-tall {
    height: min(72vh, 640px);
    min-height: 420px;
}

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

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.85rem;
    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.75;
}

.sector-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: rgba(250, 249, 246, 0.62);
    padding: 1rem 1.15rem;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.sector-row i {
    color: var(--accent-color);
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(250, 249, 246, 0.78);
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    background: transparent;
    padding: 1.2rem 1.4rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
}

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

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

.faq-answer {
    display: none;
    padding: 0 1.4rem 1.35rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.quote-form {
    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.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status {
    min-height: 1.2rem;
}

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

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

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

.cal-day {
    display: flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.cal-day.is-free:hover {
    border-color: var(--accent-color);
    background: var(--background-color);
}

.cal-day.is-selected {
    border-color: var(--accent-color);
    background: var(--sage-soft);
    color: var(--sage-dark);
}

.cal-day.is-full {
    background: rgba(163, 177, 138, 0.22);
    color: var(--logo-subtitle-color);
    cursor: not-allowed;
    text-decoration: line-through;
}

.cal-day.is-closed {
    background: transparent;
    color: rgba(75, 99, 83, 0.35);
    cursor: not-allowed;
}

.cal-day.is-blank {
    background: transparent;
    cursor: default;
    visibility: hidden;
}

.cal-day:disabled {
    cursor: not-allowed;
}

.slot-btn {
    display: flex;
    min-height: 3.2rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.55);
    padding: 0.7rem 1rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
}

.slot-btn:hover:not(:disabled) {
    border-color: var(--accent-color);
    background: var(--background-color);
}

.slot-btn.is-active {
    border-color: var(--accent-color);
    background: var(--sage-soft);
    color: var(--sage-dark);
}

.slot-btn:disabled {
    border-style: dashed;
    color: rgba(75, 99, 83, 0.5);
    cursor: not-allowed;
}

.booking-hidden {
    display: none;
}

.booking-done {
    display: none;
    flex-direction: column;
    gap: 0.9rem;
}

.booking-done.is-visible {
    display: flex;
}

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

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