/* ==========================================================
   NEXORA WEB - BOTONES
========================================================== */


/* ==========================================================
   1. CONFIGURACIÓN GENERAL
========================================================== */

button,
.btn-primary,
.btn-secondary,
.btn-cotizacion,
.btn-details,
.pricing-button,
.contact-submit {
    font-family: inherit;
    cursor: pointer;
}


/* ==========================================================
   2. BOTÓN COTIZACIÓN - HEADER
========================================================== */

.btn-cotizacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 21px;

    background: #246bfd;
    color: #ffffff;

    border: none;
    border-radius: 7px;

    font-size: 14px;
    font-weight: bold;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-cotizacion:hover {
    background: #4784ff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(36, 107, 253, 0.28);
}


/* ==========================================================
   3. BOTÓN PRINCIPAL - HERO
========================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 24px;

    background: #246bfd;
    color: #ffffff;

    border: 1px solid #246bfd;
    border-radius: 7px;

    font-weight: bold;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: #4784ff;
    border-color: #4784ff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(36, 107, 253, 0.25);
}


/* ==========================================================
   4. BOTÓN SECUNDARIO
========================================================== */

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 24px;

    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;

    border: 1px solid #344155;
    border-radius: 7px;

    font-weight: bold;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.btn-secondary:hover {
    border-color: #3478ff;

    background: rgba(52, 120, 255, 0.08);

    transform: translateY(-2px);
}


/* ==========================================================
   5. BOTÓN VER DETALLES
========================================================== */

.btn-details {
    display: inline-flex;
    align-items: center;

    padding: 0;

    border: none;

    background: transparent;

    color: #5590ff;

    font-size: 15px;
    font-weight: bold;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.btn-details:hover {
    color: #ffffff;

    transform: translateX(4px);
}


/* ==========================================================
   6. BOTÓN CERRAR MODAL
========================================================== */

.modal-close {
    position: absolute;

    top: 15px;
    right: 20px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: transparent;

    color: #9da9bb;

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);

    transform: rotate(90deg);
}


/* ==========================================================
   7. BOTONES DE PRECIOS
========================================================== */

.pricing-button {
    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 14px;

    text-align: center;

    background: rgba(52, 120, 255, 0.10);

    border: 1px solid rgba(52, 120, 255, 0.35);
    border-radius: 7px;

    color: #6b9cff;

    font-weight: bold;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.pricing-button:hover {
    background: #246bfd;

    border-color: #246bfd;

    color: #ffffff;

    transform: translateY(-2px);
}


/* ==========================================================
   8. BOTÓN ENVIAR FORMULARIO
========================================================== */

.contact-submit {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    appearance: none;
    -webkit-appearance: none;

    border: none !important;
    border-radius: 7px;

    background: #246bfd !important;

    color: #ffffff !important;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-submit:hover {
    background: #4784ff !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(36, 107, 253, 0.25);
}


/* ==========================================================
   9. BOTÓN / TARJETA DE WHATSAPP
========================================================== */

.whatsapp-option {
    position: relative;

    width: 100%;
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 16px 18px;

    background: rgba(37, 211, 102, 0.04) !important;

    border: 1px solid rgba(37, 211, 102, 0.40) !important;
    border-radius: 10px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.whatsapp-option:hover {
    background: rgba(37, 211, 102, 0.08) !important;

    border-color: #25d366 !important;

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.10);
}


/* ==========================================================
   CÍRCULO VERDE DE WHATSAPP
========================================================== */

.whatsapp-icon {
    width: 52px !important;
    height: 52px !important;

    min-width: 52px;
    min-height: 52px;

    flex: 0 0 52px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    background: #25d366 !important;

    border: none !important;
    border-radius: 50% !important;

    color: #ffffff;

    line-height: 0 !important;

    box-sizing: border-box;

    overflow: hidden;

    box-shadow:
        0 7px 20px rgba(37, 211, 102, 0.25);
}


/* ==========================================================
   LOGO BLANCO DE WHATSAPP
========================================================== */

.whatsapp-logo {
    display: block !important;

    width: 28px !important;
    height: 28px !important;

    min-width: 28px;
    min-height: 28px;

    max-width: 28px !important;
    max-height: 28px !important;

    padding: 0 !important;
    margin: 0 !important;

    position: static !important;

    left: auto !important;
    top: auto !important;

    transform: none !important;

    color: #ffffff;

    object-fit: contain;

    overflow: visible;
}


/* ==========================================================
   TEXTO DE WHATSAPP
========================================================== */

.whatsapp-contact-text {
    flex: 1;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;

    min-width: 0;
}

.whatsapp-contact-text span {
    display: block;

    margin: 0 0 2px 0;

    color: #25d366 !important;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.2;
}

.whatsapp-contact-text strong {
    display: block;

    margin: 0;

    color: #ffffff !important;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.25;
}

.whatsapp-contact-text small {
    display: block;

    margin: 4px 0 0 0;

    color: #8998ad;

    font-size: 12px;

    line-height: 1.2;
}


/* ==========================================================
   QUITAR FLECHA DE WHATSAPP
========================================================== */

.whatsapp-arrow {
    display: none !important;
}


/* ==========================================================
   10. ACCESIBILIDAD
========================================================== */

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-cotizacion:focus-visible,
.btn-details:focus-visible,
.pricing-button:focus-visible,
.contact-submit:focus-visible,
.whatsapp-option:focus-visible,
.modal-close:focus-visible {
    outline: 3px solid rgba(52, 120, 255, 0.45);
    outline-offset: 3px;
}


/* ==========================================================
   11. RESPONSIVE - CELULAR
========================================================== */

@media (max-width: 600px) {

    .btn-cotizacion {
        display: none;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;

        text-align: center;
    }

    .pricing-button {
        width: 100%;
    }


    /* WHATSAPP */

    .whatsapp-option {
        min-height: 82px;

        padding: 14px;

        gap: 13px;
    }

    .whatsapp-icon {
        width: 48px !important;
        height: 48px !important;

        min-width: 48px;
        min-height: 48px;

        flex: 0 0 48px;
    }

    .whatsapp-logo {
        width: 25px !important;
        height: 25px !important;

        min-width: 25px;
        min-height: 25px;

        max-width: 25px !important;
        max-height: 25px !important;

        position: static !important;

        left: auto !important;
        top: auto !important;

        transform: none !important;
    }

    .whatsapp-contact-text strong {
        font-size: 14px;
    }

    .whatsapp-contact-text small {
        font-size: 11px;
    }
}