
.error404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
    padding: 60px 20px;
}

.construccion-box {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(19, 59, 114, 0.1);
    border-top: 5px solid var(--red, #c0392b);
    animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.construccion-box .error-code {
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #133b72, var(--red, #c0392b));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    letter-spacing: -4px;
}

.construccion-box img {
    width: 160px;
    height: auto;
    margin: 10px 0 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

.construccion-box h3 {
    margin: 0 0 12px;
    color: #133b72;
    font-weight: 800;
    font-size: 1.5rem;
}

.construccion-box p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.construccion-box .btn-volver {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 36px;
    background: linear-gradient(135deg, #133b72, #16578f);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(19, 59, 114, 0.3);
}

.construccion-box .btn-volver:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(19, 59, 114, 0.4);
    color: #fff;
}

/* Tablets */
@media (max-width: 768px) {
    .construccion-box {
        padding: 40px 25px;
    }
    .construccion-box .error-code {
        font-size: 5rem;
    }
    .construccion-box img {
        width: 110px;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .construccion-box img {
        width: 90px;
    }
    .construccion-box h3 {
        font-size: 1.2rem;
    }
    .construccion-box .error-code {
        font-size: 4rem;
    }
}

/* Pantallas pequeñas 320px */
@media (max-width: 320px) {
    .construccion-box img {
        width: 75px;
    }
    .construccion-box h3 {
        font-size: 1rem;
    }
    .construccion-box p {
        font-size: 0.85rem;
    }
}