/* ======Estilo botón wsp========= */
/* ========================================= */
/* ESTILOS BASE DEL BOTÓN WHATSAPP */
/* ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;

    /* Flexbox para alinear el icono y el texto */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Tamaño inicial más pequeño */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

/* ========================================= */
/* ESTILOS DEL ICONO */
/* ========================================= */
.whatsapp-float i {
    font-size: 30px;
    margin-right: 0;
    transition: margin-right 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

/* ========================================= */
/* ESTILOS DEL TEXTO "Chatea con nosotros" */
/* ========================================= */
.whatsapp-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* ========================================= */
/* ESTILOS AL PASAR EL CURSOR (HOVER EFFECT) */
/* ========================================= */
.whatsapp-float:hover {
    background-color: #1DA851;
    width: 180px;
    border-radius: 30px;
    justify-content: flex-start;
    padding-left: 15px;
    padding-right: 15px;
}

.whatsapp-float:hover i {
    margin-right: 10px;
    font-size: 24px;
    color: #ffffff;
}

.whatsapp-float:hover .whatsapp-text {
    width: auto;
    opacity: 1;
    color: #ffffff; 
}

/* ========================================= */
/* RESPONSIVIDAD PARA TABLETS */
/* ========================================= */
@media (max-width: 1024px) and (min-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
    }

    .whatsapp-float i {
        font-size: 26px;
    }

    .whatsapp-float:hover {
        width: 160px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .whatsapp-text {
        font-size: 13px;
    }
}

/* ========================================= */
/* RESPONSIVIDAD PARA MÓVILES */
/* ========================================= */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        /* Removemos el centrado que causaba problemas */
        left: auto;
        transform: none;

        /* Forzamos el círculo y centramos el ícono */
        justify-content: center;
        padding-left: 0;
        border-radius: 50%;
    }

    .whatsapp-float i {
        font-size: 24px;
        margin-right: 0;
    }

    /* Ocultamos completamente el texto en móviles */
    .whatsapp-text {
        display: none;
    }

    /* Deshabilitamos el efecto hover en móviles */
    .whatsapp-float:hover {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .whatsapp-float:hover i {
        margin-right: 0;
        font-size: 24px;
    }

    .whatsapp-float:hover .whatsapp-text {
        width: 0;
        opacity: 0;
        display: none;
    }
}

/* ========================================= */
/* RESPONSIVIDAD PARA PANTALLAS MUY PEQUEÑAS */
/* ========================================= */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float i {
        font-size: 20px;
    }

    .whatsapp-float:hover {
        width: 45px;
        height: 45px;
    }

    .whatsapp-float:hover i {
        font-size: 20px;
    }
}

/* ========================================= */
/* RESPONSIVIDAD PARA PANTALLAS GRANDES */
/* ========================================= */
@media (min-width: 1200px) {
    .whatsapp-float {
        width: 65px;
        height: 65px;
        bottom: 40px;
        right: 40px;
    }

    .whatsapp-float i {
        font-size: 32px;
    }

    .whatsapp-float:hover {
        width: 200px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .whatsapp-text {
        font-size: 15px;
    }
}

/* ========FIN estilo wsp========= */



/* ==================Estilos imágenes productos===================== */

.mi-imagen {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    /* Propiedad a animar, duración, tipo de animación */
}

/* ==================FIN===================== */




/* ===========ESTILOS ICONOS PRECIOS=============== */

.contenedor-planes {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
}

.cuadro-plan {
    flex: 1;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.cuadro-plan h3 {
    margin-bottom: 10px;
    color: #333;
}

.cuadro-plan .precio {
    font-size: 2.5em;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.cuadro-plan .impuestos {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.lista-caracteristicas {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.lista-caracteristicas li {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #555;
    line-height: 1.4;
}

/* Estilos para los iconos */
.icono-check,
.icono-x {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.1em;
    flex-shrink: 0;
}

.icono-check {
    color: #ffffff;
    background-color: #4CAF50;
}

.icono-x {
    color: #ffffff;
    background-color: #dc3545;
    font-size: 1.09em;
}

/* Estilos para el botón */
.btn-solicitar {
    background-color: #4CAF50;
    /* Verde de tu marca */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.btn-solicitar:hover {
    background-color: #eef5ee;
}

/* ==========================FIN================================ */

/* ======Botón enviar información========  */

.btn-modern {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
    background: #45a049;
}



/* ==================FIN Botón enviar información===================== */



/* =================================Acordeón FAQ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.acordeon {
    font-family: sans-serif;
    max-width: 800px;
    margin: 0 auto;
    color: #343a40;
}

.elemento {
    display: block;
    grid-template-columns: auto 1fr auto;
    column-gap: 18px;
    row-gap: 24px;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 24px;
}

.acordeon-cabecera {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    position: relative;
}

.acordeon-cabecera .textoFAQ {
    flex-grow: 1;
    line-height: 1.2;
    font-size: 16px;
    font-weight: 550;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #333;
    margin-right: 10px;
}

.caja-escondida {
    display: block;
    line-height: 1.6;
}

.caja-escondida {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.caja-escondida p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

/* en el caso se deba poner sub temas */
/* .caja-escondida ul {
    padding-left: 20px;
    color: #868e96;
    margin-top: 20px;
} */

.elemento.activo .caja-escondida {
    max-height: 500px;
    padding: 15px 20px;
}

.iconoAbajo {
    width: 24px;
    height: 24px;
    stroke: #42633b;
    margin-left: auto;
}

.acordeon-cabecera .iconoAbajo {
    margin-left: auto;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.elemento.activo .acordeon-cabecera .iconoAbajo {
    transform: rotate(180deg);
}


.numero {
    font-size: 20px;
    font-weight: 700;
    color: #ced4da;
}

.activo {
    border-top: 4px solid #1DA851;
}

.activo .caja-escondida {
    display: block;
}

/* ======================================FIN============================= */

.modificar-texto {
    text-align: center;
}

.estilo-form {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
}

.borde-iframe {
    border: none;
}

/* ====Botón Abajo -> Inicio ============== */
.scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scrollToTopBtn:hover {
    background-color: #000;
    opacity: 1;
}

/* ============Fin Botón Abajo -> Inicio===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita scroll horizontal */
}