/* Header / footer common styles (top page only for now) */
.page-with-header {
    padding-top: 72px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.logo-header {
    height: 36px;
    width: auto;
    max-height: 36px;
}

.logo-footer {
    height: 32px;
    width: auto;
    max-height: 32px;
}

.header-nav {
    display: none;
}

.header-toggle {
    display: inline-flex;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.45);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-panel {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
    transform: translateY(8px) scale(0.98);
    transition: transform 0.25s ease;
}

.mobile-menu.is-open .mobile-menu-panel {
    transform: translateY(0) scale(1);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

.mobile-menu-title {
    font-weight: 800;
    color: #111827;
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(251, 191, 36, 0.25);
    background: rgba(251, 191, 36, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-list a:hover {
    background: rgba(251, 191, 36, 0.18);
    color: #92400e;
}

.mobile-menu-cta {
    margin-top: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #f59e0b;
    color: #111827;
    border-color: #f59e0b;
    text-align: center;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.25);
    font-weight: 700;
}

.mobile-menu-cta:hover {
    background: #f59e0b;
    color: #111827;
}

.mobile-menu-item {
    gap: 12px;
}

.mobile-menu-icon {
    width: 18px;
    height: 18px;
    color: #f59e0b;
    flex-shrink: 0;
}

.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #b45309;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(251, 191, 36, 0.15);
    color: #92400e;
}

.menu-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex !important;
    }

    .header-toggle {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }
}
