/* ===== FUENTES DE CONSTRUCCIÓN ===== */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES TEMÁTICAS - CONSTRUCCIÓN Y MANTENIMIENTO ===== */
:root {
    /* Paleta de colores industrial y profesional */
    --primary-blue: #1e3a8a;         /* Azul marino profesional */
    --primary-orange: #ea580c;       /* Naranja de seguridad */
    --primary-yellow: #f59e0b;       /* Amarillo de advertencia */
    --primary-gray: #374151;         /* Gris oscuro estructural */
    --primary-red: #dc2626;          /* Rojo de emergencia */
    --primary-green: #059669;        /* Verde de aprobación */
    
    /* Colores de fondo y superficies */
    --bg-light: #f8fafc;            /* Gris muy claro como concreto */
    --bg-white: #ffffff;             /* Blanco puro */
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(248, 250, 252, 0.85);
    
    /* Textos */
    --text-dark: #1f2937;           /* Gris muy oscuro */
    --text-medium: #4b5563;         /* Gris medio */
    --text-light: #9ca3af;          /* Gris claro */
    
    /* Sombras industriales */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.2);
    
    /* Gradientes industriales */
    --gradient-structure: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gray) 100%);
    --gradient-safety: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%);
    --gradient-progress: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    --gradient-concrete: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* ===== TEMA OSCURO - MODO NOCTURNO INDUSTRIAL ===== */
[data-bs-theme="oscuro"] {
    --bg-light: #1f2937;
    --bg-white: #111827;
    --bg-card: rgba(31, 41, 55, 0.95);
    --bg-glass: rgba(17, 24, 39, 0.85);
    --text-dark: #f9fafb;
    --text-medium: #d1d5db;
    --text-light: #9ca3af;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* ===== CONFIGURACIÓN BASE ===== */
body {
    font-family: var(--font-primary);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none; /* Ocultar cursor por defecto para usar el personalizado */
}

/* ===== FONDO ANIMADO DE CONSTRUCCIÓN ===== */
.construction-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 10% 90%, rgba(30, 58, 138, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(234, 88, 12, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
        var(--bg-light);
}

/* ===== ELEMENTOS FLOTANTES DE CONSTRUCCIÓN ===== */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-tool, .construction-material, .engineering-symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.4;
    pointer-events: none;
    animation: float-construction 12s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

/* Posicionamiento específico de elementos */
.tool-1 { top: 15%; left: 10%; animation-delay: 0s; }
.tool-2 { top: 70%; right: 15%; animation-delay: -3s; }
.tool-3 { top: 40%; left: 85%; animation-delay: -6s; }
.tool-4 { bottom: 25%; left: 5%; animation-delay: -9s; }

.material-1 { top: 25%; right: 10%; animation-delay: -1.5s; }
.material-2 { top: 60%; left: 20%; animation-delay: -4.5s; }
.material-3 { top: 50%; right: 30%; animation-delay: -7.5s; }
.material-4 { bottom: 40%; right: 5%; animation-delay: -10.5s; }
.material-5 { top: 80%; left: 75%; animation-delay: -13.5s; }

.symbol-1 { top: 20%; left: 55%; animation-delay: -2s; }
.symbol-2 { bottom: 20%; right: 55%; animation-delay: -5s; }
.symbol-3 { top: 65%; left: 65%; animation-delay: -8s; }
.symbol-4 { top: 45%; left: 30%; animation-delay: -11s; }

/* ===== LÍNEAS DE CONSTRUCCIÓN ===== */
.construction-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(30, 58, 138, 0.1) 20%, 
        rgba(30, 58, 138, 0.2) 50%, 
        rgba(30, 58, 138, 0.1) 80%, 
        transparent 100%);
    animation: line-construction 15s linear infinite;
}

.line-1 {
    top: 30%;
    width: 100%;
    animation-delay: 0s;
    transform-origin: 0% 50%;
}

.line-2 {
    top: 60%;
    width: 100%;
    animation-delay: -5s;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(234, 88, 12, 0.1) 20%, 
        rgba(234, 88, 12, 0.2) 50%, 
        rgba(234, 88, 12, 0.1) 80%, 
        transparent 100%);
}

.line-3 {
    top: 80%;
    width: 100%;
    animation-delay: -10s;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(245, 158, 11, 0.1) 20%, 
        rgba(245, 158, 11, 0.2) 50%, 
        rgba(245, 158, 11, 0.1) 80%, 
        transparent 100%);
}

/* ===== PARTÍCULAS DE PROGRESO ===== */
.progress-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ===== CURSOR PERSONALIZADO DE CONSTRUCCIÓN ===== */
#construction-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-orange);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.6);
    transition: all 0.2s ease;
}

.cursor-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border: 2px solid var(--primary-orange);
    border-radius: 4px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

/* Estados del cursor */
#construction-cursor.hover .cursor-inner {
    width: 14px;
    height: 14px;
    background: var(--primary-yellow);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
}

#construction-cursor.hover .cursor-trail {
    width: 36px;
    height: 36px;
    border-color: var(--primary-yellow);
    opacity: 0.5;
}

#construction-cursor.click .cursor-inner {
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    box-shadow: 0 0 30px rgba(220, 38, 38, 1);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.page-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== SECCIÓN HERO DE CONSTRUCCIÓN ===== */
.hero-section {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 30px,
            rgba(30, 58, 138, 0.02) 30px,
            rgba(30, 58, 138, 0.02) 60px
        );
    animation: blueprint-move 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-word {
    display: inline-block;
    margin: 0 0.2em;
    animation: word-build 2.5s ease-in-out infinite;
}

.title-word:nth-child(1) { animation-delay: 0s; color: var(--primary-blue); }
.title-word:nth-child(2) { animation-delay: 0.3s; color: var(--primary-orange); }
.title-word:nth-child(3) { animation-delay: 0.6s; color: var(--primary-gray); }

.title-word.highlight {
    background: var(--gradient-safety);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(234, 88, 12, 0.3);
}

.page-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
}

/* ===== ICONOS DE CONSTRUCCIÓN ===== */
.construction-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.const-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.const-icon:hover {
    transform: translateY(-8px) scale(1.05);
}

.icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--gradient-structure);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.const-icon:hover .icon-circle {
    box-shadow: var(--shadow-medium);
    transform: rotateY(15deg);
}

.const-icon span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== SECCIÓN DE CONTENIDO ===== */
.section-container {
    margin: 4rem 0;
}

.section-title {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-decoration {
    font-size: 2rem;
    animation: decoration-rotate 3s ease-in-out infinite;
}

.title-decoration:nth-child(1) { animation-delay: 0s; }
.title-decoration:nth-child(3) { animation-delay: 1.5s; }

/* ===== GRID DE CURSOS ===== */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

/* ===== TARJETAS DE CONSTRUCCIÓN ===== */
.construction-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(30, 58, 138, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.construction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-structure);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.construction-card[data-card-type="btp"]::before {
    background: var(--gradient-progress);
}

.construction-card:hover::before {
    opacity: 1;
}

.construction-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-orange);
}

.construction-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: build-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ===== ILUSTRACIONES DE TARJETAS ===== */
.card-illustration {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-background {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--gradient-concrete);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 58, 138, 0.1);
}

.construction-card:hover .illustration-background {
    transform: rotateY(8deg) scale(1.05);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-orange);
}

/* Edificios para BTP */
.building-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -2px;
}

.building {
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: building-rise 4s ease-in-out infinite;
}

.building-base {
    width: 50px;
    height: 12px;
    background: linear-gradient(45deg, #6b7280, #4b5563);
    animation-delay: 0s;
}

.building-middle {
    width: 45px;
    height: 10px;
    background: linear-gradient(45deg, #374151, #1f2937);
    animation-delay: 0.8s;
    margin-top: -2px;
}

.building-top {
    width: 40px;
    height: 8px;
    background: linear-gradient(45deg, #1e3a8a, #1e40af);
    animation-delay: 1.6s;
    margin-top: -2px;
}

.construction-icon {
    position: absolute;
    top: -25px;
    right: -20px;
    font-size: 2rem;
    animation: construction-pulse 2.5s ease-in-out infinite;
}

/* ===== CONTENIDO DE TARJETAS ===== */
.card-title {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
}

.card-description {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
    font-size: 1rem;
}

/* ===== CARACTERÍSTICAS ===== */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.feature-item:hover {
    background: rgba(30, 58, 138, 0.1);
    transform: translateX(8px);
    border-color: var(--primary-orange);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-structure);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ===== BOTONES DE CONSTRUCCIÓN ===== */
.btn-construction {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-structure);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.construction-card[data-card-type="btp"] .btn-construction {
    background: var(--gradient-progress);
}

.btn-construction:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-safety);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-construction:hover .btn-icon {
    transform: translateX(6px);
}

/* ===== CALL TO ACTION DE CONSTRUCCIÓN ===== */
.construction-cta {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(30, 58, 138, 0.1);
}

.construction-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, 
            rgba(30, 58, 138, 0.08) 0%, 
            transparent 40%),
        radial-gradient(circle at 70% 30%, 
            rgba(234, 88, 12, 0.06) 0%, 
            transparent 50%);
    animation: cta-construction-flow 20s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: rocket-build 2.5s ease-in-out infinite;
}

.construction-cta h3 {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.construction-cta p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-action {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--gradient-safety);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary-action:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-primary-action:hover .btn-shine {
    left: 100%;
}

/* ===== DECORACIONES CTA ===== */
.cta-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-building {
    position: absolute;
    top: 15%;
    right: 10%;
    font-size: 2.5rem;
    animation: float-construction 5s ease-in-out infinite;
    animation-delay: 0s;
}

.decoration-star {
    position: absolute;
    font-size: 1.5rem;
    animation: star-construct 2.5s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.star-2 {
    bottom: 25%;
    right: 20%;
    animation-delay: 1.2s;
}

.star-3 {
    top: 65%;
    left: 10%;
    animation-delay: 2.4s;
}

/* ===== ANIMACIONES ===== */
@keyframes float-construction {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes line-construction {
    0% { transform: translateX(-100%) scaleX(0); }
    50% { transform: translateX(0%) scaleX(1); }
    100% { transform: translateX(100%) scaleX(0); }
}

@keyframes word-build {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes decoration-rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

@keyframes build-up {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes building-rise {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

@keyframes construction-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(234, 88, 12, 0.4));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(234, 88, 12, 0.8));
        transform: scale(1.1);
    }
}

@keyframes blueprint-move {
    0% { transform: translateX(-50px) translateY(50px); }
    100% { transform: translateX(50px) translateY(-50px); }
}

@keyframes cta-construction-flow {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

@keyframes rocket-build {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes star-construct {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        cursor: auto; /* Restaurar cursor en móviles */
    }
    
    #construction-cursor {
        display: none;
    }
    
    .page-container {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }
    
    .construction-icons {
        gap: 1rem;
    }
    
    .const-icon {
        padding: 0.75rem;
    }
    
    .icon-circle {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .construction-card {
        padding: 2rem;
    }
    
    .card-illustration {
        width: 120px;
        height: 120px;
    }
    
    .construction-cta {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .construction-card {
        padding: 1.5rem;
    }
    
    .card-illustration {
        width: 100px;
        height: 100px;
    }
    
    .feature-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .btn-construction {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-tool,
    .construction-material,
    .engineering-symbol,
    .line,
    #construction-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}
/* ===== ESTILOS DE IMPRESIÓN ===== */
@media print {
    /* Ocultar elementos innecesarios */
    #preloader-placeholder,
    #header-placeholder,
    #theme-toggle-placeholder,
    #arrow-button-placeholder,
    .skip-link,
    .construction-background,
    .floating-elements,
    .construction-lines,
    .progress-particles,
    #construction-cursor,
    .cursor-inner,
    .cursor-trail,
    #footer-placeholder,
    .construction-icons,
    .card-illustration,
    .cta-decoration,
    .btn-construction,
    .btn-primary-action,
    nav,
    footer,
    button {
        display: none !important;
    }
    
    /* Resetear fondo y colores */
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        background: white !important;
        font-size: 12pt;
        line-height: 1.5;
        color: black !important;
        cursor: auto !important;
    }
    
    /* Contenedor principal */
    .page-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    /* Sección hero */
    .hero-section {
        background: white !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 1cm 0 !important;
        margin-bottom: 0.5cm !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    .hero-section::before {
        display: none !important;
    }
    
    .page-title {
        font-size: 24pt;
        margin-bottom: 0.5cm;
        color: black !important;
    }
    
    .title-word {
        color: black !important;
        -webkit-text-fill-color: black !important;
        background: none !important;
    }
    
    .page-subtitle {
        font-size: 12pt;
        color: black !important;
        margin-bottom: 0.5cm;
    }
    
    /* Títulos de sección */
    .section-title {
        font-size: 18pt;
        color: black !important;
        margin-bottom: 0.5cm;
        border-bottom: 2pt solid black;
        padding-bottom: 0.2cm;
    }
    
    .title-decoration {
        display: none;
    }
    
    /* Grid de cursos */
    .cursos-grid {
        display: block;
        margin-bottom: 0;
    }
    
    /* Tarjetas */
    .construction-card {
        background: white !important;
        border: 1pt solid black !important;
        border-radius: 0 !important;
        padding: 0.5cm !important;
        margin-bottom: 0.5cm;
        box-shadow: none !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
    }
    
    .construction-card::before {
        display: none !important;
    }
    
    .card-header {
        display: none;
    }
    
    .card-body {
        padding: 0;
    }
    
    .card-title {
        font-size: 14pt;
        font-weight: bold;
        color: black !important;
        margin-bottom: 0.3cm;
        border-bottom: 1pt solid black;
        padding-bottom: 0.1cm;
    }
    
    .card-description {
        font-size: 11pt;
        color: black !important;
        margin-bottom: 0.3cm;
        text-align: left;
    }
    
    /* Características */
    .card-features {
        margin-bottom: 0.3cm;
    }
    
    .feature-item {
        background: white !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0.1cm 0;
        margin-bottom: 0.1cm;
        display: flex;
        align-items: center;
    }
    
    .feature-icon {
        display: inline-block;
        width: auto;
        height: auto;
        background: white !important;
        border-radius: 0;
        box-shadow: none !important;
        margin-right: 0.2cm;
        font-size: 10pt;
    }
    
    .feature-item span {
        font-size: 10pt;
        color: black !important;
    }
    
    .card-footer {
        display: none;
    }
    
    /* Call to action */
    .construction-cta {
        background: white !important;
        border: 2pt solid black !important;
        border-radius: 0 !important;
        padding: 0.5cm !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        page-break-inside: avoid;
    }
    
    .construction-cta::before {
        display: none !important;
    }
    
    .cta-icon {
        display: none;
    }
    
    .construction-cta h3 {
        font-size: 16pt;
        color: black !important;
        margin-bottom: 0.3cm;
    }
    
    .construction-cta p {
        font-size: 11pt;
        color: black !important;
        margin-bottom: 0;
    }
    
    /* Evitar saltos de página */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black !important;
    }
    
    article {
        page-break-inside: avoid;
    }
    
    /* Enlaces */
    a {
        color: black !important;
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
    }
    
    /* Optimizar márgenes de página */
    @page {
        margin: 1.5cm;
        size: A4;
    }
}