.skip-link {
    position: fixed;
    z-index: 20000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border: 1px solid var(--brand-gold);
    border-radius: var(--radius-control);
    background: var(--brand-black);
    color: var(--brand-ivory);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--brand-gold);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===== MEJORA 4: LAZY LOADING & SKELETON ===== */
img.skeleton {
    background: linear-gradient(90deg, rgba(196, 164, 106, 0.08), rgba(196, 164, 106, 0.03), rgba(196, 164, 106, 0.08));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    background-color: rgba(255, 255, 255, 0.08);
}

img.loaded {
    animation: fadeIn 0.3s ease-in;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeIn {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

/* ===== MEJORA 5: PAGE LOADER ===== */
#pageLoader {
    display: none;
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.3);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(196, 164, 106, 0.2);
    border-top-color: var(--brand-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
