body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #4A4A4A; /* gris oscuro */
    background-color: #FFFFFF;
}
html {
    scroll-padding-top: 80px; /* Igual a la altura de tu header */
    scroll-behavior: smooth;  /* Scroll suave */
}


/* ================= WHATSAPP FLOTANTE PREMIUM ================= */

.whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 64px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.35s ease;
    animation: whatsapp-pulse 2.2s infinite;
}

.whatsapp-float i {
    position: relative;
    top: 1px;
}

/* Hover */
.whatsapp-float:hover {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
}

/* Animación pulse */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
/* ================= SPLASH SCREEN GTECOI ================= */

#splash {
    position: fixed;
    inset: 0;   
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("../images/fondos/fondo-nati.jpg");
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;
    opacity: 1;
    visibility: visible;

    transition: opacity 0.6s ease, visibility 0.6s ease;
}
/* ===== Splash: MODO MÓVIL SIN FONDO ===== */
@media (max-width: 768px) {
    #splash {
        background-image: none !important;     /* quita la imagen */
        background-color: #ffffff !important;   /* fondo blanco */
    }
}
/* Logo animado */
#splash img {
    width: 260px;
    max-width: 80%;
    opacity: 0;

    animation:
        logoReveal 2s ease forwards,
        logoPulse 1.2s ease infinite;

    /* Evita conflicto entre animaciones */
    animation-delay: 0s, 2s;
}

/* Animación de entrada */
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    40% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulso sutil continuo */
@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Ocultar splash */
#splash.hide {
    opacity: 0;
    visibility: hidden;
}



/* Responsive */
@media (max-width: 768px) {

    .whatsapp-float {
        position: fixed !important;
        width: 58px;
        height: 58px;
        font-size: 28px;
        line-height: 58px;
        bottom: 20px;
        right: 20px;
    }
}



/* Secciones generales */
.section {
    padding: 60px;
    text-align: center;
}

.section h2 {
    color: #00A651; /* verde GTCOI */
}

/* Espacio para anclas de secciones con header sticky */
.section::before {
    content: "";
    display: block;
    height: 80px;
    margin-top: -80px; 
}
.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo-container {
    cursor: pointer;
}
                                                                                                  


@keyframes formFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
