/* Critical CSS para páginas públicas - Above the Fold */
/* Carga inmediata para evitar FOUC */

/* Prevención FOUC optimizada */
html.tema-oscuro body { background: #0B0F14; color: #E5E7EB; }
html.tema-claro body { background: #F8FAFC; color: #0F172A; }

body {
    opacity: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    transition: opacity 0.15s ease-in;
}

body.ready { opacity: 1; }

/* Banner crítico (above the fold) */
.business-banner {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #00f3ff 0%, #bd00ff 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    border-radius: 0 0 20px 20px;
}

.business-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid white;
    background-size: cover;
    background-position: center;
}

.business-name-content {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 2.2rem;
    margin: 1.5rem auto 1rem;
}

/* Navegación crítica */
.business-menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 16px;
    min-width: 75px;
    text-decoration: none;
}

/* Mobile optimizado */
@media (max-width: 768px) {
    .business-banner { height: 220px; }
    .business-logo { width: 110px; height: 110px; }
    .business-name-content { font-size: 1.6rem; }
}
