/* ============================================
   CLEARFUNERALCOSTS - CRITICAL STYLES
   Критические стили для первой загрузки
   ============================================ */

/* SKIP LINKS FOR ACCESSIBILITY */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--navy-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 6px;
}

/* SCREEN READER ONLY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* CRITICAL CSS VARIABLES - REMOVED TO AVOID CONFLICTS */

/* CRITICAL MOBILE STYLES */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subheadline {
        font-size: 1.2rem;
    }
}

/* CRITICAL LOADING STATES */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-sage);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
