/* ===================================
   BREADCRUMBS PREMIUM MODERNO
   Paleta Azul/Blanco/Neutro - Diseño Limpio
   =================================== */

/* Variables de color - Paleta Profesional */
:root {
    /* Backgrounds */
    --dark-bg: #0f1419;
    --darker-bg: #0a0e13;
    --surface: #1a1f29;
    
    /* Azules principales */
    --primary-blue: #3b82f6;
    --bright-blue: #60a5fa;
    --light-blue: #93c5fd;
    --deep-blue: #2563eb;
    
    /* Neutros */
    --white: #ffffff;
    --text-white: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.75);
    --text-gray: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-soft: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
}

/* Reset */
.breadcrumbs {
    margin: 0;
    padding: 0;
}

/* ========== PAGE HEADER ========== */
.page-header {
    position: relative;
    background: #0a0e13;
    min-height: 400px;
    padding: 100px 0 70px;
    overflow: hidden;
}

/* Canvas de red de fondo */
.network-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* Overlay con gradiente sutil */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at top center,
        rgba(59, 130, 246, 0.12) 0%,
        transparent 70%
    );
    z-index: 2;
}

/* Patrón de grid sutil */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

/* Partículas flotantes decorativas */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--bright-blue);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 14s;
}

.particle:nth-child(2) {
    top: 65%;
    left: 80%;
    animation-delay: 3s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    top: 35%;
    left: 65%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle:nth-child(4) {
    top: 75%;
    left: 25%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    top: 20%;
    left: 45%;
    animation-delay: 5s;
    animation-duration: 17s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(25px, -35px) scale(1.3);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, -70px) scale(0.7);
        opacity: 0.3;
    }
    75% {
        transform: translate(35px, -50px) scale(1.1);
        opacity: 0.7;
    }
}

/* Container con z-index superior */
.page-header .container {
    position: relative;
    z-index: 10;
}

/* ========== BREADCRUMB MINIMALISTA ========== */
.breadcrumb-banner {
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease-out;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 12px 24px;
    margin: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 8px;
    border-radius: 6px;
}

.breadcrumb-link:hover {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.1);
}

.breadcrumb-link svg {
    transition: transform 0.3s ease;
    stroke: currentColor;
}

.breadcrumb-link:hover svg {
    transform: translateY(-2px);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    opacity: 0.6;
}

.breadcrumb-item.active {
    color: var(--text-white);
    font-weight: 600;
}

/* ========== CONTENIDO DEL HEADER ========== */
.header-content {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Líneas decorativas */
.accent-line {
    width: 70px;
    height: 2px;
    background: #1e3a8a;
    margin: 0 auto 35px;
    border-radius: 10px;
    animation: expandWidth 1.2s ease-out 0.6s both;
}

.accent-line.bottom {
    margin: 35px auto 0;
    animation-delay: 1s;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 70px;
        opacity: 1;
    }
}

/* Título */
.page-title {
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 40px 0;
    letter-spacing: 12px;
    line-height: 1.1;
    position: relative;
    text-transform: uppercase;
}

.title-highlight {
    color: #1e3a8a;
    display: inline-block;
    position: relative;
    text-shadow: 
        2px 2px 0px #ffffff,
        -2px -2px 0px #ffffff,
        2px -2px 0px #ffffff,
        -2px 2px 0px #ffffff,
        0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Línea decorativa debajo del título */
.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: #1e3a8a;
    border-radius: 10px;
}

/* Descripción */
.page-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto;
    max-width: 700px;
    font-weight: 400;
}

/* ========== ANIMACIONES ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .page-title {
        font-size: 4.5rem;
        letter-spacing: 10px;
    }
}

@media (max-width: 992px) {
    .page-header {
        min-height: 380px;
        padding: 90px 0 60px;
    }

    .page-title {
        font-size: 4rem;
        letter-spacing: 8px;
    }

    .page-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 350px;
        padding: 80px 0 50px;
    }

    .page-title {
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .page-description {
        font-size: 1.05rem;
        padding: 0 20px;
    }

    .breadcrumb-list {
        padding: 10px 20px;
        gap: 6px;
    }

    .breadcrumb-item,
    .breadcrumb-link {
        font-size: 13px;
    }

    .particle {
        width: 2.5px;
        height: 2.5px;
    }

    .accent-line {
        width: 60px;
        margin-bottom: 30px;
    }

    .accent-line.bottom {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .page-header {
        min-height: 320px;
        padding: 70px 0 40px;
    }

    .page-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
        margin-bottom: 35px;
    }

    .page-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .accent-line {
        width: 50px;
        margin-bottom: 25px;
    }

    .accent-line.bottom {
        margin-top: 25px;
    }

    .breadcrumb-list {
        padding: 8px 16px;
    }
    
    .title-highlight::after {
        height: 2px;
    }
}

/* ========== ACCESIBILIDAD ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.breadcrumb-link:focus {
    outline: 2px solid var(--bright-blue);
    outline-offset: 3px;
    border-radius: 8px;
}

.breadcrumb-link:focus:not(:focus-visible) {
    outline: none;
}

/* ========== EFECTOS ADICIONALES ========== */

/* Brillo sutil en los bordes */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.5) 50%, 
        transparent 100%
    );
    z-index: 5;
}