/******************************
*   Cotizador
******************************/
html { scroll-padding: 170px; }

.cont__cotizador { padding: 0 ; }
.fil__cotiza { padding: 50px 0; }

.cotizacion {
    padding-top: 30px;
    padding-bottom: 0px;
    position: relative;
}
.coti__fil + .coti__fil { margin-top: 30px; }
.fil__opt {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.fil__opt label {
    margin: 0;
    cursor: pointer;
}
.fil__opt label span {
    display: block;
    padding: 13px 20px;
    line-height: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    color: rgb(var(--b01));
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fil__opt label span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(var(--blanco));
    border: 1px solid rgba(var(--b01), .2);
    border-radius: 4px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index: -1;
}
.fil__opt label input[type="radio"]{ display: none; }
.fil__opt label input:checked + span::before { background: rgb(var(--b01)); }
.fil__opt label input:checked + span { color: rgb(var(--blanco)); }
.datos__fil {
    display: flex;
    flex-direction: column;
    gap: 30px 60px;
    position: relative;
}
.ini__car {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.car__graf > * {
    width: 60vh;
    max-width: 100%;
    margin: 0 auto;
}

/*  Header */
.fil__head {
    font-weight: normal;
    font-size: 18px;
    color: rgb(var(--b02));
    line-height: 1.2;
}

/*  Slider */
.cont__range { padding: 25px 0 15px; }
.cont__range .ui-widget.ui-widget-content {
    border: 0;
    background: rgb(var(--b06));
    height: 4px;
}
.cont__range .ui-slider .ui-slider-handle {
    border-radius: 50%;
    background: rgb(var(--b04));
    border: 0;
    width: 2em;
    height: 2em;
    top: 50%;
    margin-left: -1em;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.cont__range .ui-slider .ui-slider-handle::before {
    content: "\f00c";
    font-weight: 900;
    font-family: "Font Awesome 6 Pro";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(var(--b08));
    line-height: 1;
}

/*  Precio */
.fil__precio .fil__head { font-weight: bold; }
.number__precio {
    font-weight: bold;
    font-size: 24px;
}

/*  Desgloce */
* + .fil__desgloce { margin-top: 30px; }
.fel__des {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    font-size: 12px;
}
.fel__des span strong { font-weight: 500; }

/*  Pago Inicial */
.fil__pago {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgb(var(--b06));
    text-align: right;
    font-weight: bold;
    color: rgb(var(--b01));
}
.fil__pago .fil__head { font-weight: bold; }
.fil__pago .number__cot { font-size: 22px; }

/*  Plazo Mensual */
.cont__plazo {
    padding: 30px 0;
    position: relative;
    background: rgb(var(--b07));
}

/*  Resultado */
.resultado {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 60px;
    z-index: 10;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 20px;
    padding: 30px 15px;
    font-weight: bold;
    line-height: 1;
}
.info__mensua { font-size: 16px; }
.info__price {
    font-size: 28px;
    color: rgb(var(--b04));
}
.info__price span { font-size:50% }
.texto__legal {
    font-size: 11px;
    line-height: 1.2;
}
.texto__legal > * + * { margin-top: 16px; }
.texto__legal ol,
.texto__legal ul { padding-inline-start: 15px; }
.texto__legal ol li + li,
.texto__legal ul li + li { margin-top: 6px; }

.form__cotiza {
    padding: 0;
    display: flex;
    flex-direction: column;
}
.form__cotiza .form { padding: 40px 0 90px; }
.form__cotiza .form * + .h__sect,
.form__cotiza .form .h__sect + * { margin-top: 60px; }
.logo__form + * { margin-top: 15px; }
.logo__form {
    margin: 0 auto;
    width: 180px;
}
.logo__form svg { fill: rgb(var(--b01)); }

@media (max-width: 767px) {
.fil__opt {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    background: rgb(var(--b08));
    top: 60px;
    z-index: 10;
    margin-left: -15px;
    margin-right: -15px;
}
.info__fil {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.fil__precio { text-align: center; }

}
@media (min-width: 768px) {
.ini__car {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: -ms-sticky;
    position: sticky;
    top: 40%;
}
.datos__fil {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
}
.datos__col { width: calc(50% - 30px); }
.datos__col:nth-child(1) {
    position: absolute;
    left: 0;
    height: 136%;
    z-index: 1;
}
/*  Plazo Mensual */
.fil__plazo {
    width: calc(50% - 30px);
    margin: 0 0 0 auto;
}

}
@media (min-width : 1200px) {
.resultado { top: 83px; }

}

