/* === Configuración general === */
body {
    background-color: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    color: #333;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === Contenedor principal === */
.contenedor {
    text-align: center;
    animation: fadeIn 1s ease forwards;
}

/* === Imagen centrada === */
.imagen-centro {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 250px;
    height: auto;
    opacity: 0;
    animation: fadeInZoom 1.5s ease forwards;
}

/* === Texto === */
h2 {
    margin: 0.5rem 0;
    font-size: 2rem;
    color: #003366;
    opacity: 0;
    animation: fadeIn 2s ease forwards 0.5s;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0;
    animation: fadeIn 2s ease forwards 0.8s;
}

/* === Botones === */
.botones {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1.8s ease forwards 1.2s;
}

.boton {
    background-color: #005fa3;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.boton:hover {
    background-color: #003f73;
    transform: scale(1.05);
}

/* === Animaciones === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInZoom {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* === Clases de animación reutilizables === */
.animar-fade {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

.animar-zoom {
    opacity: 0;
    animation: fadeInZoom 1.5s ease forwards;
}
