/* Explain: Styling for various reusable UI components and layout elements. */
.site-header {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
}

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

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

.tech-panel {
    border: 1px solid var(--glass-border);
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
    border-radius: 1rem;
}

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

.image-frame-large {
    height: min(70vh, 600px);
    min-height: 400px;
}

.image-frame-medium {
    height: 500px;
    max-width: 100%;
}

.metric-card {
    border-left: 3px solid var(--accent-color);
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 0 1rem 1rem 0;
}

.metric-card span {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.service-card {
    border-radius: 1rem;
    padding: 2.5rem;
    transition: transform 300ms ease, box-shadow 300ms ease;
    border: 1px solid var(--glass-border);
    background: var(--background-color);
}

.service-card:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
    border-color: var(--border-color);
}

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

.feature-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-color);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.form-status.success {
    color: #059669;
}

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

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.5);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.rich-content {
    line-height: 1.8;
}

.rich-content p {
    margin-bottom: 1.5rem;
}

.rich-content h2 {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    line-height: 1.3;
}

.rich-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.rich-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.rich-content li {
    margin-bottom: 0.5rem;
}

.rich-content strong {
    font-weight: 700;
    color: var(--text-color);
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
}

@media (max-width: 767px) {
    .image-frame-large,
    .image-frame-medium {
        height: 400px;
        min-height: 0;
    }
}