﻿/* ========================================================= SERVICIOS - NORTE RAICES ========================================================= */

.nr-servicios {
    background: linear-gradient( to bottom, #ffffff, #f5f6f4 );
    padding: 15px 0 20px 0;
}
/* ========================================================= TITULO PRO NUEVO ========================================================= */

.nr-section-title {
    background: #ffffff;
    border: 1px solid #ecefe9;
    border-radius: 36px;
    padding: 34px 50px 30px 50px;
    margin: 0 auto 20px auto;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,.035);
}
/* ========================================================= TITULO SUPERIOR ========================================================= */

.nr-mini-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 8px;
    color: #78af47;
    text-transform: uppercase;
    margin-bottom: 14px;
}
    /* ICONO */

    .nr-mini-title svg {
        width: 54px;
        height: 54px;
        stroke-width: 2;
        flex-shrink: 0;
    }
/* ========================================================= LINEA ========================================================= */

.nr-section-title-line {
    width: 64px;
    height: 3px;
    background: #78af47;
    border-radius: 50px;
    margin: 0 auto 20px auto;
}
/* ========================================================= TITULO PRINCIPAL ========================================================= */

.nr-section-title h2 {
    font-size: 44px;
    font-weight: 850;
    color: #0f1f0f;
    line-height: 1.02;
    letter-spacing: -2px;
    margin: 0 auto 18px auto;
    max-width: 1100px;
}
/* ========================================================= DESCRIPCION ========================================================= */

.nr-section-title p {
    font-size: 16px;
    color: #6a716a;
    line-height: 1.6;
    max-width: 900px;
    margin: auto;
}
/* ========================================================= CARDS ========================================================= */

.servicio-card {
    background: #eef1ec;
    border: 1px solid #e2e6df;
    border-radius: 34px;
    padding: 32px;
    height: 100%;
    transition: .30s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.03);
}

    .servicio-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(0,0,0,.05);
    }
/* ========================================================= DIFERENTES TONOS SUAVES ========================================================= */

.soft-1 {
    background: #eef1ec;
}

.soft-2 {
    background: #f0f2ef;
}

.soft-3 {
    background: #ecefea;
}

.soft-4 {
    background: #f2f4f1;
}
/* ========================================================= TOP CARD ========================================================= */

.servicio-top {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}
/* ========================================================= ICONOS ========================================================= */

.servicio-icon {
    width: 62px;
    min-width: 62px;
    height: 62px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7f2;
    color: #6ea83e;
    font-size: 28px;
    font-weight: 300;
    box-shadow: 0 6px 18px rgba(0,0,0,.03);
}
/* ========================================================= TITULO CARD ========================================================= */

.servicio-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #121212;
    line-height: 1.45;
    margin: 0;
    margin-top: 4px;
}
/* ========================================================= DIVIDER ========================================================= */

.servicio-divider {
    width: 42px;
    height: 2px;
    background: #78b548;
    border-radius: 50px;
    margin-bottom: 22px;
}
/* ========================================================= TEXTO ========================================================= */

.servicio-card p {
    font-size: 13px;
    color: #5f655f;
    line-height: 1.9;
    margin: 0;
}


/* ========================================================= MODAL CONSULTA SERVICIOS PRO ========================================================= */

#modalAsesoramiento .modal-dialog {
    max-width: 760px;
}

#modalAsesoramiento .modal-content {
    border: none;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient( 180deg, #f6fcf7 0%, #eef7f0 100% );
    box-shadow: 0 18px 55px rgba(26, 94, 43, 0.14);
}
/* ========================================================= HEADER ========================================================= */

#modalAsesoramiento .modal-header {
    padding: 22px 28px 0 28px;
}

#modalAsesoramiento .modal-title {
    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
    color: #123d1d;
    letter-spacing: -1px;
    margin: 0;
}

#modalAsesoramiento .btn-close {
    transform: scale(1.05);
    opacity: .55;
    transition: .22s;
}

    #modalAsesoramiento .btn-close:hover {
        opacity: 1;
        transform: scale(1.12) rotate(90deg);
    }
/* ========================================================= BODY ========================================================= */

#modalAsesoramiento .modal-body {
    padding: 12px 28px 22px 28px;
}
/* ========================================================= NOMBRE + CONTACTO EN FILA ========================================================= */

#modalAsesoramiento .datos-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

#modalAsesoramiento .campo-box {
    flex: 1;
}
/* ========================================================= RESPONSIVE ========================================================= */

@media(max-width:768px) {
    #modalAsesoramiento .datos-row {
        flex-direction: column;
        gap: 14px;
    }

    #modalAsesoramiento .campo-box {
        width: 100%;
    }
}
/* ========================================================= LABELS ========================================================= */

#modalAsesoramiento .form-label {
    font-size: 15px;
    font-weight: 700;
    color: #1b4425;
    margin-bottom: 8px;
}
/* ========================================================= INPUTS ========================================================= */

#modalAsesoramiento .form-control {
    border: none;
    border-radius: 18px;
    background: #ffffff;
    min-height: 50px;
    padding: 12px 18px;
    font-size: 16px;
    color: #1d2d21;
    box-shadow: inset 0 0 0 1px rgba(41, 123, 62, 0.10), 0 8px 18px rgba(65, 126, 79, 0.05);
    transition: all .22s ease;
}

    #modalAsesoramiento .form-control:focus {
        box-shadow: 0 0 0 3px rgba(83, 177, 105, 0.14), 0 10px 22px rgba(66, 140, 84, 0.10);
        border: none;
        background: #ffffff;
    }

#modalAsesoramiento textarea.form-control {
    width: 100%;
    display: block;
    min-height: 120px;
    resize: none;
    border-radius: 22px;
    padding: 18px 20px;
    line-height: 1.5;
}
/* ========================================================= FIX TEXTAREA ASP.NET ========================================================= */

#modalAsesoramiento textarea {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: block;
    box-sizing: border-box;
    flex: 1;
}
/* ========================================================= ESPACIADOS ========================================================= */

#modalAsesoramiento .mb-3 {
    margin-bottom: 16px !important;
}

#modalAsesoramiento .mb-4 {
    margin-bottom: 18px !important;
}
/* ========================================================= SERVICIOS BOX ========================================================= */

#modalAsesoramiento .row {
    margin: 0;
}

#modalAsesoramiento .col-12 {
    background: #ffffff;
    border-radius: 22px;
    padding: 14px 16px;
    box-shadow: 0 10px 28px rgba(47, 109, 61, 0.06);
    border: 1px solid rgba(77, 145, 92, 0.06);
}
/* ========================================================= CHECKS PRO DEFINITIVO ========================================================= */

#modalAsesoramiento .servicio-check {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 32px;
    margin-bottom: 2px;
}
    /* ========================================================= ASP:CHECKBOX GENERA UN SPAN ========================================================= */

    #modalAsesoramiento .servicio-check span {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start;
        gap: 14px;
        width: 100%;
        min-height: 32px;
        padding: 0;
        margin: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        cursor: pointer;
        transition: .18s ease;
        line-height: 1.2;
    }
    /* ========================================================= CHECKBOX ========================================================= */

    #modalAsesoramiento .servicio-check input[type=checkbox] {
        appearance: none;
        -webkit-appearance: none;
        width: 24px;
        height: 24px;
        min-width: 24px;
        margin: 0 !important;
        border-radius: 8px;
        border: 2px solid #8cc79a;
        background: #ffffff;
        position: relative;
        cursor: pointer;
        transition: all .18s ease;
        box-shadow: none;
        flex-shrink: 0;
    }
        /* ========================================================= HOVER CHECK ========================================================= */

        #modalAsesoramiento .servicio-check input[type=checkbox]:hover {
            border-color: #56b66d;
            transform: scale(1.04);
        }
        /* ========================================================= CHECKED ========================================================= */

        #modalAsesoramiento .servicio-check input[type=checkbox]:checked {
            background: #2fa24c;
            border-color: #2fa24c;
            box-shadow: 0 0 0 5px rgba(47,162,76,.12);
        }
            /* ========================================================= TILDE ========================================================= */

            #modalAsesoramiento .servicio-check input[type=checkbox]:checked::after {
                content: "";
                position: absolute;
                left: 7px;
                top: 3px;
                width: 6px;
                height: 12px;
                border: solid #ffffff;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }
    /* ========================================================= LABEL ========================================================= */

    #modalAsesoramiento .servicio-check label {
        display: flex;
        align-items: center;
        margin: 0 !important;
        padding: 0 !important;
        cursor: pointer;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.2;
        color: #203126;
        transition: .18s ease;
    }
    /* ========================================================= HOVER TEXTO ========================================================= */

    #modalAsesoramiento .servicio-check:hover label {
        color: #23853c;
    }
    /* ========================================================= TEXTO CHECKED ========================================================= */

    #modalAsesoramiento .servicio-check input[type=checkbox]:checked + label {
        color: #23853c;
        font-weight: 700;
    }
/* ========================================================= FOOTER ========================================================= */

#modalAsesoramiento .modal-footer {
    padding: 0 28px 24px 28px;
    gap: 10px;
}
/* ========================================================= BOTON CANCELAR ========================================================= */

#modalAsesoramiento .btn-light {
    border: none;
    background: #edf3ee;
    color: #35553d;
    border-radius: 14px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: .22s;
}

    #modalAsesoramiento .btn-light:hover {
        background: #dfeae1;
        transform: translateY(-1px);
    }
/* ========================================================= BOTON ENVIAR ========================================================= */

#modalAsesoramiento .btn-success {
    border: none;
    background: linear-gradient( 135deg, #2ca34c, #56c271 );
    border-radius: 14px;
    padding: 11px 24px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(49, 158, 72, 0.18);
    transition: all .22s ease;
}

    #modalAsesoramiento .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(49, 158, 72, 0.24);
    }
/* ========================================================= RESPONSIVE ========================================================= */

@media(max-width:1400px) {
    .nr-mini-title {
        font-size: 30px;
    }

    .nr-section-title h2 {
        font-size: 38px;
    }
}

@media(max-width:1200px) {
    .nr-section-title {
        padding: 30px 38px 28px 38px;
    }

    .nr-mini-title {
        font-size: 26px;
        letter-spacing: 6px;
    }

        .nr-mini-title i {
            width: 28px;
            height: 28px;
        }

    .nr-section-title h2 {
        font-size: 34px;
        max-width: 760px;
    }

    .nr-section-title p {
        font-size: 15px;
    }

    .servicio-card {
        padding: 28px;
    }
}

@media(max-width:991px) {
    .nr-servicios {
        padding: 15px 0 20px 0;
    }

    .nr-section-title {
        padding: 28px 26px;
        border-radius: 30px;
    }

    .nr-mini-title {
        font-size: 22px;
        letter-spacing: 5px;
        gap: 10px;
    }

        .nr-mini-title i {
            width: 24px;
            height: 24px;
        }

    .nr-section-title h2 {
        font-size: 30px;
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .nr-section-title p {
        font-size: 14px;
        line-height: 1.65;
    }

    .servicio-card {
        padding: 26px;
    }

    .servicio-top {
        gap: 16px;
    }

    .servicio-icon {
        width: 58px;
        min-width: 58px;
        height: 58px;
        font-size: 25px;
        border-radius: 18px;
    }

    .servicio-card h3 {
        font-size: 20px;
    }

    .servicio-card p {
        font-size: 17px;
    }
}

@media(max-width:768px) {
    .nr-servicios {
        padding: 15px 0 20px 0;
    }

    .nr-section-title {
        padding: 24px 20px;
        border-radius: 24px;
        margin-bottom: 40px;
    }

    .nr-mini-title {
        font-size: 16px;
        letter-spacing: 4px;
        margin-bottom: 12px;
    }

        .nr-mini-title i {
            width: 18px;
            height: 18px;
        }

    .nr-section-title-line {
        width: 48px;
        margin-bottom: 16px;
    }

    .nr-section-title h2 {
        font-size: 24px;
        line-height: 1.08;
        margin-bottom: 14px;
    }

    .nr-section-title p {
        font-size: 13px;
        line-height: 1.6;
    }

    .servicio-card {
        padding: 22px;
        border-radius: 28px;
    }

    .servicio-top {
        gap: 14px;
        margin-bottom: 20px;
    }

    .servicio-icon {
        width: 52px;
        min-width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 16px;
    }

    .servicio-card h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .servicio-divider {
        width: 34px;
        margin-bottom: 18px;
    }

    .servicio-card p {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* =========================================================
   WRAPPER GENERAL
========================================================= */

.float-consulta-wrapper {

    position: fixed;

    right: 22px;

    bottom: 165px;

    z-index: 99999;

    display: flex;

    flex-direction: column;

    align-items: flex-end;
}

/* =========================================================
   MENSAJE
========================================================= */

.hint-consulta {

    margin-bottom: 14px;

    display: flex;

    flex-direction: column;

    align-items: flex-end;
}

/* =========================================================
   TEXTO
========================================================= */

.hint-texto {

    background: linear-gradient(
        135deg,
        #74b9ff,
        #4da3ff
    );

    color: #ffffff;

    padding: 14px 18px;

    border-radius: 18px;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.2;

    box-shadow:
        0 12px 30px rgba(116,185,255,.35);

    white-space: nowrap;
}

/* =========================================================
   FLECHA
========================================================= */

.hint-flecha {

    width: 18px;

    height: 18px;

    background: #5caeff;

    transform: rotate(45deg);

    margin-top: -8px;

    margin-right: 28px;
}

/* =========================================================
   BOTON MAIL
========================================================= */

.float-consulta-wrapper .btn-servicios-float {

    position: relative;

    right: auto;

    bottom: auto;
}

