﻿
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #0f2027 0%, #2c5364 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    animation: fadeIn 1.2s ease;
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

.hero-image img {
    width: 350px;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .hero-image img:hover {
        transform: scale(1.07) rotate(-2deg);
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }

.recommendations {
    background: #fff;
    color: #333;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(44,83,100,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
    transition: box-shadow 0.3s, transform 0.3s;
}

    .recommendations:hover {
        box-shadow: 0 6px 24px rgba(44,83,100,0.18);
        transform: translateY(-4px) scale(1.01);
    }

    .recommendations ul li {
        transition: background 0.3s, color 0.3s, padding-left 0.3s;
        padding-left: 0;
    }

        .recommendations ul li:hover {
            background: #e3f2fd;
            color: #1976d2;
            padding-left: 10px;
            border-radius: 6px;
        }

img[alt="Actualización TI"] {
    transition: transform 0.3s, box-shadow 0.3s;
}

    img[alt="Actualización TI"]:hover {
        transform: scale(1.08) rotate(2deg);
        box-shadow: 0 8px 32px rgba(44,83,100,0.18);
    }

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.construccion-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
    animation: fadeIn 1.5s ease;
}

.construccion-logo {
    width: 120px;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

.construccion-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(44,83,100,0.1);
}

.construccion-text {
    font-size: 1.2rem;
    color: #334155;
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.mensaje-flotante {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #2563eb;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(44,83,100,0.18);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.8s;
}

.btn-cerrar {
    background: #fff;
    color: #2563eb;
    border: none;
    border-radius: 0.5rem;
    padding: 0.3rem 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}

    .btn-cerrar:hover {
        background: #2563eb;
        color: #fff;
    }