/* Explain: Custom CSS for components like headers, panels, and forms. */
.site-header {
    background: linear-gradient(180deg, rgba(249, 250, 252, 0.88), rgba(249, 250, 252, 0.6));
    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(249, 250, 252, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

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

.image-frame-tall {
    height: min(70vh, 620px);
    min-height: 440px;
}

.image-frame-wide {
    height: min(60vh, 520px);
    min-height: 360px;
}

.trailer-card {
    min-height: 100%;
    border-radius: 2rem;
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.trailer-card:hover {
    border-color: rgba(59, 111, 196, 0.58);
    box-shadow: 0 26px 80px rgba(27, 38, 55, 0.11);
    transform: translateY(-6px);
}

.quiet-detail,
.step-row {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(249, 250, 252, 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.75;
}

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

.step-number {
    display: flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.booking-form,
.booking-overlay-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: #2E5AA8;
}

.form-status.error {
    color: #B04A3D;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(249, 250, 252, 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(27, 38, 55, 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(27, 38, 55, 0.22);
}

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

.faq-toggle {
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.faq-toggle:focus-visible {
    border-radius: 1.6rem;
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

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

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

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}

.faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq-panel-inner {
    overflow: hidden;
}

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

.dropdown:hover .nav-more-chevron,
.dropdown:focus-within .nav-more-chevron {
    transform: rotate(180deg);
}

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

    .image-frame-tall,
    .image-frame-wide {
        height: 420px;
        min-height: 0;
    }

    .image-frame-tall {
        margin-right: auto;
        margin-left: auto;
    }
}