:root {
    --aga-green: #37A63B;
    --aga-blue: #005596;
}
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}
.bg-aga { background-color: var(--aga-green); }
.text-aga { color: var(--aga-green); }
.bg-aga-blue { background-color: var(--aga-blue); }
.text-aga-blue { color: var(--aga-blue); }

/* Hero: imagen de fondo + degradado suave verde → azul */
.hero-bg {
    background-color: var(--aga-green);
    background-image: 
        linear-gradient(135deg, 
            rgba(55, 166, 59, 0.92) 0%, 
            rgba(55, 166, 59, 0.78) 45%, 
            rgba(0, 85, 150, 0.82) 100%),
        url('../img/bg_aga_de_mexico.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Calidad & Seguridad: imagen de fondo con overlay verde */
.section-calidad-bg {
    background-color: var(--aga-green);
    background-image: 
        linear-gradient(rgba(55, 166, 59, 0.9), rgba(55, 166, 59, 0.88)),
        url('../img/background-2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-label-white{
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
}
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--aga-green);
    margin-bottom: 0.5rem;
}

.divider-aga {
    height: 4px;
    width: 80px;
    background: var(--aga-green);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 85, 150, 0.12);
}

.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.03); }

nav { transition: box-shadow 0.3s ease; }
nav.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); }

.icon-bounce:hover i { animation: bounce 0.5s ease; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.accent-line {
    width: 4px;
    background: var(--aga-green);
    min-height: 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--aga-green);
    letter-spacing: -0.02em;
}

.footer-block {
    transition: transform 0.2s ease;
}
.footer-block:hover {
    transform: translateX(4px);
}

/* Footer: degradado azul oscuro → verde */
.footer-gradient {
    background: linear-gradient(135deg, var(--aga-blue) 0%, #003d6b 40%, #0d5c3a 100%);
}

/* Logo: rotación 360° en eje X (flip tipo espiral, no en círculo plano) */
.logo-spin {
    perspective: 800px;
    transform-style: preserve-3d;
}
.logo-spin img {
    transform-style: preserve-3d;
    animation: logo-spiral-x 8s linear infinite;
}
@keyframes logo-spiral-x {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Botón flotante WhatsApp */
.btn-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}
.btn-whatsapp svg {
    width: 32px;
    height: 32px;
}