
body.cl-landing {
    --my-verde: #00c7af;
    --my-rosa:  #ff2569;
    --my-gris:  #939393;
    --my-gris-c:#ececec;
}

.landing-navbar {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
.landing-navbar .navbar-brand img {
    width: 250px;
}
.landing-navbar .navbar-nav > li > a {
    padding: 22px 12px;
    font-size: 17px;
    font-weight: 400;
    color: #404040 !important;
    border-bottom: 2px solid transparent;
}
.landing-navbar .navbar-nav > li > a:hover,
.landing-navbar .navbar-nav > li > a.active {
    border-bottom-color: var(--my-rosa);
    color: var(--my-rosa) !important;
}
.landing-navbar .navbar-nav > li:last-child {
    padding: 13px;
}
.landing-navbar .navbar-nav > li > a.destacado {
    padding: 10px 15px;
    border-radius: 5px;
    color: #fff !important;
    border-bottom: transparent !important;
    font-weight: 600;
    background: var(--my-rosa) !important;
    text-align: center;
}
.landing-navbar .navbar-nav > li > a.destacado:hover {
    background-color: #bf1652 !important;
}
@media (max-width: 991.98px) {
    .landing-navbar {
        position: relative;
        z-index: 1030;
        align-items: flex-start;
    }
    .landing-navbar .navbar-collapse {
        background-color: #fff;
        padding: 12px 16px 16px;
        margin: 0 -12px;
        border-top: 1px solid #eee;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    }
    .landing-navbar .navbar-nav {
        padding-top: 4px;
        gap: 2px;
    }
    .landing-navbar .navbar-nav > li {
        padding: 0 !important;
    }
    .landing-navbar .navbar-nav > li > a {
        padding: 12px 4px;
        border-bottom: 1px solid #f4f4f4;
    }
    .landing-navbar .navbar-nav > li:last-child > a {
        border-bottom: 0;
    }
    .landing-navbar .navbar-nav > li > a.destacado {
        margin-top: 8px;
        display: inline-block;
        border-bottom: 0 !important;
    }
}

@media (max-width: 575px) {
    .landing-navbar .navbar-brand img {width: 200px;margin-top: 5px;}
}

.landing-footer {
    background: var(--my-verde) url('/frontend/images/shapes.png') no-repeat 0 -20px;
    background-size: 450px;
    color: #fff;
    padding: 40px 0 40px;
    margin-top: 0;
}
.landing-footer .logo-blanco img {
    width: 250px;
    margin-bottom: 20px;
}
.landing-footer .copy {
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
}
.landing-footer .copy a,
.landing-footer a {
    color: #fff;
    text-decoration: none;
}
.landing-footer .copy a:hover {
    opacity: .8;
}

@media (max-width: 768px) {
    .container {max-width: 840px;}
}

/* === Hero === */
.landing-erp-header {
    padding: 140px 0 60px;
    background: #f0f0f2 url('/frontend/images/landings/erp/slider2019.webp') left bottom no-repeat;
    /* background-size: 45% auto; */
    min-height: 810px;
}
@media (max-width: 1200px) {
    .landing-erp-header {
        background-size: 100% auto;
    }
}
.landing-erp-header h1,
.landing-erp-header p {
    max-width: 540px;
}
.landing-erp-header h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #404040;
    margin-bottom: 16px;
    font-family: 'WorkSans-Bold', sans-serif;
}
.landing-erp-header h4 {
    font-size: 21px;
    font-weight: 500;
    color: #404040;
    line-height: 1.3;
}
.landing-erp-header .h-descripcion {
    margin-top: 24px;
}
.landing-erp-header .h-descripcion p {
    margin: 6px 0 20px 0;
    color: #404040;
    font-size: 19px;
}
.landing-erp-header .h-descripcion strong {
    margin-right: 6px;
}

@media (max-width: 992px) {
    .landing-erp-header {
        padding: 115px 0 75px 0;
    }
}
@media (max-width: 768px) {
    .landing-erp-header {
        background-image: none;
        padding: 120px 0 50px 0 !important;
    }
    .landing-erp-header h1 {
        font-size: 32px!important;
        line-height: 1.2 !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        text-wrap: balance;
    }
    
    .landing-erp-header h4 {text-align: center;}

    .landing-erp-header .h-descripcion {margin-left: 10%;}
}

@media (max-width: 500px) {
    .landing-erp-header {
        padding: 90px 0 75px !important;
    }

    .landing-erp-header .h-descripcion {margin-left: 5%;}
}

/* === Form card === */
.cardbox {
    background: #fff;
    border-radius: 5px;
    color: #404040;
    padding: 30px;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
}
.form-registro h3 {
    color: #131313;
    font-family: 'WorkSans-SemiBold', sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
}
.form-registro .registrate {
    color: #131313;
    font-size: 15px;
    margin-bottom: 16px;
    text-align: center;
}
.form-registro .form-control {
    border-radius: 3px;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    height: 45px;
    font-size: 15px;
    background: #fff !important;
    color: #404040 !important;
    line-height: 17.6px;
}
.form-registro .form-control:focus {
    outline: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1) !important;
}
.form-registro .iti {
    width: 100%;
}
.form-registro #lnkRegistrarme {
    background-color: var(--my-rosa) !important;
    border-color: var(--my-rosa);
    color: #fff !important;
    font-weight: 600;
    width: 100%;
    border-radius: 0.9rem;
}
.form-registro #lnkRegistrarme:hover {
    background-color: #bf1652 !important;
    border-color: #bf1652;
}
.form-registro small a,
.form-registro #lblUsuarioExistente a {
    color: var(--my-rosa);
}
.form-registro .alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: .25rem;
    padding: .75rem 1rem;
    margin-bottom: 0;
    font-size: 14px;
}
.form-registro .form-tyc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    text-align: left;
}
.form-registro .form-tyc a {
    color: var(--my-rosa) !important;
}
/* intlTelInput: el wrapper que envuelve a #txtTelefono debe ocupar 100% --- */
.form-registro .iti {
    width: 100%;
    display: block;
}
.form-registro .iti--separate-dial-code .iti__selected-flag {
    background-color: #f4f4f4;
    border-radius: 3px 0 0 3px;
}
/* El intlTelInput.css del repo apunta a /public/images/flags.png (1x, redirige)
   y a ../img/flags@2x.png (2x, 404). En displays retina la bandera queda invisible.
   Aquí scopeamos el fix solo a esta landing apuntando al path real
   /images/flags*.png que ya están en public/images/. ---*/
.form-registro .iti__flag {
    background-image: url('/images/flags.png');
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .form-registro .iti__flag {
        background-image: url('/images/flags@2x.png');
    }
}

@media (max-width: 767.98px) {
    .cardbox {
        padding: 20px;
        margin-top: 20px;
    }
}
@media (max-width: 575px) {
    #divRegistroForm {
        padding: 20px !important;
        max-width: 100% !important;
        padding-top: 0 !important;
    }

    .form-registro h3 {font-size: 22px!important;line-height: 1.2 !important;}

}

/* === Clientes === */
.planes-clientes .cliente-det {
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.planes-clientes .cliente-det img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* === Funcionalidades (skills layout) === */
.funcionalidades-landing {
    background-color: #fff;
}
.funcionalidades-landing h2 {
    font-weight: 700;
    color: #404040;
}
.funcionalidades-landing > .mx-auto > p {
    color: #6c6c6c;
    font-size: 16px;
}
.funcionalidades-landing .cont-skills {
    padding: 2.5rem 1rem;
    gap: 1.5rem 1rem;
    justify-content: space-evenly!important;
    margin-bottom: 30px;
}
.funcionalidades-landing .skills-funct {
    flex: 0 1 315px;       
    max-width: 320px;
    text-align: center;
    margin-bottom: 0.5rem;
}
.funcionalidades-landing .skills-funct p {
    color: #404040;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}
.funcionalidades-landing .skills-funct b {
    color: #131313;       
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .funcionalidades-landing .skills-funct {
        flex: 0 1 220px;
    }
}
@media (max-width: 575px) {
    .funcionalidades-landing .skills-funct {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .funcionalidades-landing h2 {
        font-size: 26px !important;
        line-height: 1 !important;
        text-wrap: balance;
    }
}

/* === Integraciones === */
#integraciones {
    padding: 30px 0;
    background: #fff;
}
#integraciones hr {
    border: 0;
    border-top: 1px solid #e8e8e8;
}
#integraciones .integration-logos {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 16px 8px;
    border: 0;
}
#integraciones .integration-logos .list-group-item {
    border: 0;
    background: transparent;
    padding: 8px 4px;
    flex: 1 1 auto;
    text-align: center;
    min-width: 90px;
    max-width: 150px;
}
#integraciones .integration-logos img {
    width: 100%;
    height: 50px;
    max-width: 130px;
    object-fit: contain;
    object-position: center;
}
#integraciones .link-lg {
    color: var(--my-rosa) !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

#integraciones .logos-row {margin: 20px 0 30px 0;}

@media (max-width: 575px) {
    #integraciones h2 {font-size: 26px !important;line-height: 1 !important;}
}

/* === Planes === */
.planes {
    background: whitesmoke;
}
.planes .nav-pills {
    background: #ccc;
    width: 300px;
    margin: 0 auto 40px auto;
    border-radius: 1.5rem;
    flex-wrap: nowrap;
}
.planes .nav-item {
    width: 50%;
    text-align: center;
    margin: 0 !important;
}
.planes .nav-link {
    display: block;
    width: 100%;
    color: #000;
    background: transparent;
    border: 0;
    padding: 0.6rem;
    border-radius: 1.5rem;
    font-weight: 500;
}
.planes .nav-link.active,
.planes .nav-pills .nav-link.active {
    color: #fff;
    background: var(--my-verde);
    border: 0;
}
.planes .nav-link:hover:not(.active) {
    color: #000;
}

@media (min-width: 720px) and (max-width: 820px) {
    .landing-erp-header h1 { font-size: 32px; }
    .funcionalidades-landing .item-feature { padding: 16px 6px; }
}

@media (max-width: 575px) {
    .planes h2 {font-size: 26px !important;line-height: 1 !important;text-wrap: balance;}
}
