/* ================= HERO PRO FINAL ================= */

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    z-index: 9999;

    box-shadow: 0 8px 25px rgba(0,0,0,0.3);

    transition: all 0.3s ease;

    animation: pulseWhats 2s infinite;
}

/* HOVER */
.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
}
.whatsapp-float::after {
    content: "Contáctanos";
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.whatsapp-float:hover::after {
    opacity: 1;
}
/* ANIMACIÓN PULSE */
@keyframes pulseWhats {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102, 0);
    }
}




.hero-pro {
    height: 70vh; /* 🔥 más compacto y elegante */
    background: radial-gradient(circle at top, #1e3c72, #0f2027);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

/* CONTENEDOR */
.hero-pro .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 80px;
    gap: 40px;
}

/* TEXTO */
.hero-pro .hero-text {
    max-width: 520px;
    animation: fadeUp 1s ease forwards;
}

.hero-pro .hero-text h1 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-pro .hero-text h1 span {
    color: #00e676;
}

.hero-pro .hero-text p {
    margin: 20px 0;
    font-size: 16px;
    color: #cfd8dc;
}

/* BOTONES */
.hero-pro .hero-botones {
    margin-top: 20px;
}

.hero-pro .btn-cta {
    background: linear-gradient(135deg, #00c853, #009624);
    padding: 12px 26px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    margin-right: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-pro .btn-cta:hover {
    transform: scale(1.05);
}

.hero-pro .btn-whatsapp {
    background: #25D366;
    padding: 12px 26px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
}

/* IMAGEN */
.hero-pro .hero-img {
    position: relative;
    width: 450px;
    height: 330px;
}

/* PRINCIPAL */
.hero-pro .img-main {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    position: relative;
    z-index: 3;
    animation: floatMain 6s ease-in-out infinite;
}

/* FLOTANTES */
.hero-pro .img-float {
    position: absolute;
    width: 120px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0.95;
}

/* POSICIONES */
.hero-pro .img-1 {
    top: -25px;
    left: -40px;
    animation: float1 5s ease-in-out infinite;
}

.hero-pro .img-2 {
    bottom: -25px;
    right: -30px;
    animation: float2 6s ease-in-out infinite;
}

.hero-pro .img-3 {
    top: 50%;
    right: -70px;
    transform: translateY(-50%);
    animation: float3 7s ease-in-out infinite;
}

/* GLOW */
.hero-pro::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,200,83,0.25), transparent);
    top: -120px;
    right: -120px;
    filter: blur(80px);
}

/* ANIMACIONES */
@keyframes floatMain {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

@keyframes float1 {
    0% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0) rotate(-2deg); }
}

@keyframes float2 {
    0% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-14px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(2deg); }
}

@keyframes float3 {
    0% { transform: translateY(-50%) translateY(0); }
    50% { transform: translateY(-50%) translateY(-10px); }
    100% { transform: translateY(-50%) translateY(0); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-pro {
        height: auto;
        padding: 60px 20px;
    }

    .hero-pro .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .hero-pro .hero-img {
        width: 300px;
        height: auto;
        margin-top: 30px;
    }

    .hero-pro .img-float {
        display: none;
    }
}


/*NUESTRO PROCESO*/


.video-proceso {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    object-fit: cover;
}
/* SECCIÓN */
.proceso-pro {
    padding: 80px 60px;
    background: #f8f9fb;
}

/* TÍTULO */
.titulo-seccion {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    font-weight: bold;
}

/* ITEM */
.proceso-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

/* ALTERNAR */
.proceso-item.reverse {
    flex-direction: row-reverse;
}

/* TEXTO */
.proceso-texto {
    flex: 1;
}

.proceso-texto h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.proceso-texto p {
    font-size: 16px;
    color: #555;
}

/* IMAGEN */
.proceso-img {
    flex: 1;
    text-align: center;
}

.proceso-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.proceso-img img:hover {
    transform: scale(1.05);
}

/* ANIMACIÓN */
.proceso-item {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s forwards;
}

.proceso-item:nth-child(2) { animation-delay: 0.2s; }
.proceso-item:nth-child(3) { animation-delay: 0.4s; }
.proceso-item:nth-child(4) { animation-delay: 0.6s; }
.proceso-item:nth-child(5) { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .proceso-item {
        flex-direction: column;
        text-align: center;
    }

    .proceso-item.reverse {
        flex-direction: column;
    }
}