@font-face {
    font-family: "Calibri";
    src: URL("fonts/calibri-light.ttf") format("truetype");
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: "Calibri";
    src: URL("fonts/calibri-regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Calibri";
    src: URL("fonts/calibri-bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

:root {
    --blu: #162144;
    --blu-scuro: #162144;
    --blu-chiaro: #7C94D6;
    --oro: #EAA434;
    --rosso: #c41e3a;
    --scuro: #162144;
    --bianco: #FFFFFF;
    --azzurrino: #7C94D6;
    --header-bg: #e8eef7;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    font-weight: 400;
    color: var(--blu-scuro);
}


/*** general */

@media only screen and (max-width: 600px) {
    .no_mobile {
        display: none !important;
    }
}

a,
.btn-link {
    color: var(--azzurrino) !important;
    text-decoration: none !important;
}

.btn_primario {
    color: #fff;
    background: var(--blu);
    border: none;
    border-radius: 30px;
    padding: 6px 12px;
    width: 100%;
    line-height: 15px;
}

.btn_primario:hover {
    color: var(--blu);
    background: var(--azzurrino);
}


/*** header */

.greyBack {
    background: #f9f9f9;
}

.greyBack2 {
    background: #f5f5f5;
}

#call_header {
    width: 100%;
    display: inline-block;
    margin: auto;
    max-width: 200px;
    width: 200px;
    position: relative;
    right: 0px;
    float: right;
    top: 15px;
}

@media only screen and (max-width: 600px) {
    #call_header {
        width: 100%;
        display: block;
        margin: auto;
        max-width: 100%;
        width: 100%;
        position: relative;
        right: 0px;
        float: unset;
        top: 15px;
    }
}

#call_header * {
    text-align: center;
}

#call_header span {
    color: var(--blu);
    font-size: 13px;
    display: block;
    line-height: 12px;
}

#call_header img {
    filter: invert(1);
    margin-right: 10px;
}

header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 5%);
    padding: 5px 0px;
}

.site-header {
    background: var(--header-bg);
}

#logo {
    width: 250px;
    display: inline-block;
}

@media only screen and (max-width: 600px) {
    #logo {
        width: 100%;
    }
}

.side-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 1029;
    opacity: 0;
    transition: opacity .25s ease;
}

.side-menu-backdrop.visibile {
    display: block;
    opacity: 1;
}

#side_menu {
    transition: all 0.75s;
    position: absolute;
    left: -100%;
    z-index: 10;
    width: 0%;
    height: 100%;
}

#side_menu.visibile {
    left: 0%;
    width: 100%;
}

@media (min-width: 768px) {
    .side-menu-backdrop.visibile {
        display: none;
    }
}

#side_menu ul {
    padding: 15px;
}

#side_menu ul li {
    list-style: none;
    padding: 5px 0px;
    font-size: 18px;
    font-weight: bold;
}

#side_menu a {
    color: inherit !important;
}


/* Burger: Bootstrap navbar-toggler */

.site-navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    border: 1px solid rgba(22, 33, 68, .2);
    border-radius: 0.375rem;
}

.site-navbar-toggler .navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(22, 33, 68, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-navbar-toggler:hover {
    border-color: var(--blu-scuro);
}

@media (min-width: 768px) {
    #toggle_menu {
        display: none;
    }
}


/*** page */

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

#page {
    padding: 0px 0px;
}

#menu_laterale_desk {}

#menu_laterale_desk .card {}


/*** footer */

footer {
    background: #f5f5f5;
    position: relative;
    bottom: 0;
    margin-bottom: 0px;
    padding-bottom: 30px;
}

footer a {
    font-size: 13px;
}


/* form */

.form_calcolo_rata {
    max-width: 500px;
    margin: auto;
}

.form_calcolo_rata label {
    width: 100%;
    position: relative;
}

.row_input {
    position: relative;
    padding-bottom: 10px;
}

.row_input label.label {
    color: rgba(0, 0, 0, 0.87);
    font-weight: 700;
    font-size: 1rem;
    -ms-flex-order: 1;
    order: 1;
    line-height: 1.5;
    padding-bottom: 5px;
}

.radio_input {
    margin: 5px 0px;
    font-size: 20px;
}

.radio_input [type="radio"]:checked,
.radio_input [type="radio"]:not(:checked) {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio_input [type="radio"]:checked+span,
.radio_input [type="radio"]:not(:checked)+span {
    border: solid 1px #9e9e9e;
    border-radius: 3px;
    position: relative;
    padding-left: 40px;
    padding-right: 10px;
    cursor: pointer;
    display: inline-block;
    line-height: 46px;
    font-size: 16px;
    transition: 0.28s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio_input [type="radio"]:checked+span {
    border-color: var(--oro);
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}

.radio_input [type="radio"]+span {
    width: 100%;
}

.radio_input [type="radio"].with-gap:checked+span:before,
.radio_input [type="radio"]:checked+span:after {
    border: 2px solid #4b9f17;
}

.radio_input [type="radio"]+span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 11px 10px;
    width: 24px;
    height: 24px;
    z-index: 0;
    transition: 0.28s ease;
    border-radius: 50px;
}

.radio_input [type="radio"]+span:after,
.radio_input [type="radio"]+span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 11px 10px;
    width: 24px;
    height: 24px;
    z-index: 0;
    transition: 0.28s ease;
}

.radio_input [type="radio"].with-gap:checked+span:after,
.radio_input [type="radio"].with-gap:checked+span:before,
.radio_input [type="radio"]:checked+span:after {
    border: 2px solid var(--oro);
}

.radio_input [type="radio"].with-gap:checked+span:after,
.radio_input [type="radio"]:checked+span:after {
    background-color: var(--oro);
}

[type="radio"]:not(:checked)+span:before {
    border: 2px solid #5a5a5a;
}

.radio_input [type="radio"]+span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 11px 10px;
    width: 24px;
    height: 24px;
    z-index: 0;
    transition: 0.28s ease;
}

.radio_input [type="radio"].with-gap:checked+span:after {
    transform: scale(0.5);
    border-radius: 100px;
}

.radio_input [type="radio"].with-gap:checked+span:after,
.radio_input [type="radio"]:checked+span:after {
    background-color: #4b9f17;
}

.radio_input [type="radio"].with-gap:checked+span:after,
.radio_input [type="radio"].with-gap:checked+span:before,
.radio_input [type="radio"]:checked+span:after {
    border: 2px solid #4b9f17;
}

.radio_input [type="checkbox"]:checked,
.radio_input [type="checkbox"]:not(:checked) {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio_input [type="checkbox"]:checked+span,
.radio_input [type="checkbox"]:not(:checked)+span {
    border: solid 1px #9e9e9e;
    border-radius: 3px;
    position: relative;
    padding-left: 40px;
    padding-right: 10px;
    cursor: pointer;
    display: inline-block;
    line-height: 46px;
    font-size: 16px;
    transition: 0.28s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio_input [type="checkbox"]:checked+span {
    border-color: var(--oro);
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}

.radio_input [type="checkbox"]+span {
    width: 100%;
}

.radio_input [type="checkbox"].with-gap:checked+span:before,
.radio_input [type="checkbox"]:checked+span:after {
    border: 2px solid #4b9f17;
}

.radio_input [type="checkbox"]+span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 11px 10px;
    width: 24px;
    height: 24px;
    z-index: 0;
    transition: 0.28s ease;
    border-radius: 50px;
}

.radio_input small {
    font-size: 14px;
    line-height: 19px !important;
    display: block;
    padding: 15px;
    color: #6b6b6b;
}

.radio_input [type="checkbox"]+span:after,
.radio_input [type="checkbox"]+span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 11px 10px;
    width: 24px;
    height: 24px;
    z-index: 0;
    transition: 0.28s ease;
}

.radio_input [type="checkbox"].with-gap:checked+span:after,
.radio_input [type="checkbox"].with-gap:checked+span:before,
.radio_input [type="checkbox"]:checked+span:after {
    border: 2px solid var(--oro);
}

.radio_input [type="checkbox"].with-gap:checked+span:after,
.radio_input [type="checkbox"]:checked+span:after {
    background-color: var(--oro);
}

[type="checkbox"]:not(:checked)+span:before {
    border: 2px solid #5a5a5a;
}

.radio_input [type="checkbox"]+span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 11px 10px;
    width: 24px;
    height: 24px;
    z-index: 0;
    transition: 0.28s ease;
}

.radio_input [type="checkbox"].with-gap:checked+span:after {
    transform: scale(0.5);
    border-radius: 100px;
}

.radio_input [type="checkbox"].with-gap:checked+span:after,
.radio_input [type="checkbox"]:checked+span:after {
    background-color: #4b9f17;
}

.radio_input [type="checkbox"].with-gap:checked+span:after,
.radio_input [type="checkbox"].with-gap:checked+span:before,
.radio_input [type="checkbox"]:checked+span:after {
    border: 2px solid #4b9f17;
}

.half {
    width: 49%;
    display: inline-block;
}

.text_input [type="text"] {
    font-weight: 400;
    border: 1px solid #9e9e9e;
    border-radius: 4px;
    width: calc(100% - 1rem);
    padding-left: 1rem;
    background-color: transparent;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: 0;
    height: 3rem;
    position: relative;
    font-size: 16px;
    margin: 0 0 8px 0;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: box-shadow 0.3s, border 0.3s;
    border-radius: 4px;
    padding-left: 15px;
}

.three-input-date {
    height: 3.125rem;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    box-shadow: none;
    font-weight: 400;
    padding: 0 1rem;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    box-shadow: inset 0 0 0 0.0625rem #9e9e9e;
}

.three-input-date input {
    border: none;
    -ms-flex: 1;
    flex: 1;
    width: 27%;
    -moz-appearance: textfield;
    line-height: 1;
}

.three-input-date label {
    color: rgba(0, 0, 0, 0.87);
    font-weight: 700;
    font-size: 1rem;
    -ms-flex-order: 1;
    order: 1;
    line-height: 1.5;
    width: 100%;
    position: relative;
}

.three-input-date input:focus {
    border: none;
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */

input[type="number"] {
    -moz-appearance: textfield;
}

.text_input [type="number"] {
    font-weight: 400;
    border: 1px solid #9e9e9e;
    border-radius: 4px;
    width: calc(100% - 1rem);
    padding-left: 1rem;
    background-color: transparent;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: 0;
    height: 3rem;
    position: relative;
    font-size: 16px;
    margin: 0 0 8px 0;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: box-shadow 0.3s, border 0.3s;
    border-radius: 4px;
    padding-left: 15px;
}

.text_input [type="email"] {
    font-weight: 400;
    border: 1px solid #9e9e9e;
    border-radius: 4px;
    width: calc(100% - 1rem);
    padding-left: 1rem;
    background-color: transparent;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: 0;
    height: 3rem;
    position: relative;
    font-size: 16px;
    margin: 0 0 8px 0;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: box-shadow 0.3s, border 0.3s;
    border-radius: 4px;
    padding-left: 15px;
}

.text_input:focus {
    border: 1px solid var(--azzurrino);
}

.autocomplete-items {
    position: absolute;
    z-index: 10;
    width: 100%;
    background: #fff;
}

.autocomplete_element {
    padding: 5px 15px;
    font-weight: 500;
    border-bottom: 1px solid #eaeaea;
}

.row_input.mens2 .inline {
    width: 50%;
    display: inline-block;
    margin-right: 0px;
    padding-right: 0px;
}

.row_input.mens3 .inline {
    width: 33%;
    display: inline-block;
    margin-right: 0px;
    padding-right: 0px;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #9e9e9e;
    border-radius: 4px;
}

.container_2 {
    zoom: 0.7;
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    user-select: none;
    line-height: 23px;
    font-weight: lighter;
    color: #8a8a8a;
}


/* Hide the browser's default checkbox */

.container_2 input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}


/* On mouse-over, add a grey background color */

.container_2:hover input~.checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

.container_2 input:checked~.checkmark {
    background-color: var(--oro);
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.container_2 input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.container_2 .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#manage_consensi {
    padding: 20px;
}

.btn {
    width: 100%;
    padding: 15px auto;
    color: #fff;
    font-weight: bold;
}

.btn.green {
    background: var(--oro);
    color: var(--blu-scuro) !important;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-cta {
    background: transparent;
    color: var(--blu-scuro) !important;
    border: 2px solid var(--blu-scuro);
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s;
}

.btn-cta:hover {
    background: var(--blu-scuro);
    color: var(--bianco) !important;
    border-color: var(--blu-scuro);
}

.quick-cta-bar {
    background: var(--blu-chiaro);
    border-top: 1px solid rgba(22, 33, 68, 0.08);
}

.btn-whatsapp {
    border-color: #25D366 !important;
    color: #25D366 !important;
}

.btn-whatsapp:hover {
    background: #25D366 !important;
    color: #fff !important;
    border-color: #25D366 !important;
}

.btn.green {
    background: var(--oro);
    color: var(--blu-scuro) !important;
}

.btn.green:hover {
    background: #f5b84d;
    color: var(--blu-scuro) !important;
    box-shadow: 0 3px 12px rgba(234, 164, 52, .35);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 7px), calc(100% - 15px) calc(1em + 7px), calc(100% - 2.7em) 0.9em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

.green_txt {
    color: var(--oro);
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid var(--azzurrino);
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
    display: inline-block;
}


/* Safari */

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#step .col {
    text-align: center;
    opacity: 0.6;
    position: relative;
}

#step .col.active {
    opacity: 1;
    font-weight: bolder;
}

#step .col .num {
    background: var(--oro);
    color: var(--blu-scuro);
    font-size: 20px;
    padding: 10px;
    border-radius: 100%;
    display: block;
    height: 50px;
    width: 50px;
    margin: auto;
    margin-bottom: 5px;
    font-weight: bold;
}

#step .col .text {
    line-height: 20px;
}

.arrow {
    border: solid #949494;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    position: absolute;
    right: 0px;
    top: 25px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.boxed {
    margin-left: 0;
    margin-right: 0;
    max-width: 1120px !important;
    margin: auto !important;
}

.card.preventivo {
    border: solid 0.5px var(--blu);
    border-radius: 5px;
}

.b-left {
    padding: 30px 10px;
}

.b-left::before {
    background-color: #ddd;
    content: " ";
    height: 100%;
    left: 50%;
    position: absolute;
    top: 0;
    width: 1px;
}

.info_partner {
    padding: 30px 10px;
}

.info_partner ul li {
    list-style: none;
}

.info_partner ul li:before {
    content: "●";
    color: var(--blu);
    display: inline-block;
    width: 10px;
    height: 10px;
    font-size: 16px;
    margin-left: -20px;
    position: absolute;
}

.info_partner img {
    width: 150px;
}

#result h2 {
    font-weight: 700;
}

.info-banner.success {
    background: #d9f0da;
    color: #25722b;
    border-color: #90d393;
}

.info-banner .el {
    padding: 3px 20px 3px 0;
    width: 40px;
    height: 40px;
}

.info-banner {
    margin: 20px 0;
    padding: 16px;
    background: var(--azzurrino);
    -webkit-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 0;
    color: var(--blu);
    display: table;
    width: 100%;
}

@media (min-width: 768px) {
    #result .col-md-6 {
        flex: 0 0 auto;
        width: 49%;
        display: inline-grid;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    #toggle_menu {
        display: inline-block;
    }
    .call_header .b-left::before {
        display: none;
    }
}

#step_ul {
    padding: 30px 10px;
    position: relative;
}

#step_ul li {
    padding: 16px;
    border-top: none;
    background-color: #c0dfff;
    margin-bottom: 10px;
    position: relative;
    list-style: none;
    border-radius: 5px;
}

#step_ul li h4 {
    font-weight: 600;
}

#step_ul li h4 span {
    text-align: center;
    font-size: 22px;
    background-color: var(--blu);
    border-radius: 100%;
    position: absolute;
    color: #fff;
    font-weight: 700;
    height: 30px;
    width: 30px;
    line-height: 31px;
    top: 12px;
    right: 8px;
}

.logo_prest img {
    width: 100px;
}

.preventivo div {}

.preventivo span {
    font-size: 14px !important;
    color: #6b6b6b;
    font-weight: 700;
}

.preventivo .erogato {
    text-align: right;
    font-size: 40px;
    font-weight: 700;
    position: absolute;
    right: 12px;
    top: 0px;
}

.preventivo .erogato p {
    text-align: right;
    font-size: 14px;
    line-height: 0;
    margin-bottom: 0px;
}

.preventivo .dovuto {
    font-size: 20px;
    font-weight: 700;
}

.preventivo .tan_taeg>div {
    display: inline-block;
    width: 49%;
}

#menu_laterale .card-header {
    padding: .5rem 1rem;
    margin-bottom: 0;
    color: #fff;
    background-color: var(--blu);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    position: relative;
}

#menu_laterale .card-header .arrow {
    box-sizing: border-box;
    height: 5vw;
    width: 5vw;
    border-style: solid;
    border-color: white;
    border-width: 0px 1px 1px 0px;
    transform: rotate(45deg);
    transition: border-width 150ms ease-in-out;
}

#menu_laterale .card-header.collapsed {
    padding: .5rem 1rem;
    margin-bottom: 0;
    color: #fff;
    background-color: var(--blu-chiaro);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}


/* ===== Striscia oro + header trasparente + sticky desktop ===== */

.header-wrapper {
    position: relative;
}

.header-stripe {
    height: 4px;
    background: var(--oro);
    width: 100%;
}

.site-header {
    background: transparent;
    border-bottom: none;
    padding: 12px 0;
}

@media (min-width: 768px) {
    .header-wrapper {
        position: sticky;
        top: 0;
        z-index: 1030;
    }
    .site-header {
        background: #ffffff00;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(22, 33, 68, .06);
    }
}

.container-header {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .container-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.header-row {
    flex-wrap: nowrap;
}

.header-row .col {
    min-width: 0;
}

.site-header-nav {
    flex-wrap: nowrap;
    gap: 0.25rem;
    margin: 0 1rem;
    white-space: nowrap;
}

.site-header-nav-link {
    color: var(--blu-scuro) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
}

.site-header-nav-link:hover {
    color: var(--oro) !important;
    background: rgba(234, 164, 52, .1);
}

.site-header-nav-link.active {
    font-weight: 700;
    color: var(--blu-scuro) !important;
}

.logo-link {
    display: inline-block;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
}

@media (max-width: 768px) {
    .logo-desktop {
        display: none !important;
    }
    .logo-mobile {
        display: block !important;
        height: auto;
        width: 80%;
    }
}

.breadcrumb-wrap {
    padding: 12px 0;
    background: #f8f9fa;
    font-size: 0.9rem;
    display: none !important;
}

.nav-breadcrumb a {
    color: var(--blu-chiaro) !important;
}

.nav-breadcrumb a:hover {
    text-decoration: underline !important;
}

.big_nav {
    background: var(--header-bg);
    padding: 32px 0;
}

.big_nav_title {
    color: var(--blu-scuro);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.big_nav_title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--oro);
    margin-top: 12px;
}

#side_menu.side-menu {
    position: fixed;
    left: -100%;
    top: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bianco);
    z-index: 1030;
    transition: left .3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .15);
}

#side_menu.side-menu.visibile {
    left: 0;
}

.side-menu-inner {
    padding: 60px 24px 24px;
}

.side-menu .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu .nav-list a {
    color: var(--blu-scuro) !important;
    display: block;
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(22, 33, 68, .08);
}

.side-menu .nav-list a:hover {
    color: var(--oro) !important;
}

.side-menu .nav-list li {
    color: var(--blu-scuro);
}


/* Footer (layout tipo ConTe) */

.site-footer {
    background: #0a1628;
    color: rgba(255, 255, 255, .9);
    margin-top: 48px;
}

.site-footer a {
    color: rgba(255, 255, 255, .85) !important;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--oro) !important;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
    opacity: .95;
    max-height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: 0.9rem;
}

.footer-legal {
    line-height: 1.5;
}

.footer-legal a:hover {
    color: var(--oro) !important;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
    font-size: 1.1rem;
    transition: background .2s, color .2s;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, .2);
    color: var(--oro) !important;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, .85) !important;
}

.footer-bottom {
    background: rgba(0, 0, 0, .15);
}

.footer-copyright,
.footer-bottom-link {
    color: rgba(255, 255, 255, .7) !important;
}

.footer-bottom-link:hover {
    color: var(--oro) !important;
}

.footer-bottom-sep {
    margin: 0 0.5rem;
    font-size: 0.85rem;
}


/* Cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--blu-scuro);
    color: var(--bianco);
    padding: 16px 0;
    z-index: 1040;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .15);
}

.cookie-banner a {
    color: var(--oro) !important;
}

.btn-cookie-accept {
    background: var(--oro);
    color: var(--blu-scuro) !important;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}


/* Blog */

.page-section {
    padding: 40px 0;
}

.page-hero {
    background: var(--header-bg);
    padding: 28px 0 24px;
    margin: 0;
    border-radius: 8px;
}

.page-title {
    color: var(--blu-scuro);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.page-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--oro);
    margin-top: 12px;
}

.page-hero .page-title::after {
    display: none;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--oro);
    margin: 12px 0 16px 0;
    border: none;
}

.page-subtitle {
    color: #444;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.page-hero .lead {
    color: #444;
    margin-bottom: 0;
}

.page-content {
    padding: 0;
}

.page-content .container:first-child {
    padding-top: 100px;
    padding-bottom: 100px;
}


/* Pagina esito richiesta (dettaglio-rata) */

.esito-content .esito-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e8f4fc;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.esito-content .esito-info-box i {
    font-size: 1.4rem;
    color: var(--blu-scuro);
    flex-shrink: 0;
}

.esito-content .esito-info-box p {
    color: var(--blu-scuro);
    font-size: 0.95rem;
    line-height: 1.5;
}

.esito-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blu-scuro);
    margin-bottom: 20px;
}

.esito-step {
    display: flex;
    gap: 16px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

.esito-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--blu-scuro);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.esito-step-body {
    flex: 1;
}

.esito-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blu-scuro);
    margin-bottom: 6px;
}

.esito-step-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.esito-doc-intro {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.5;
}

.esito-doc-list {
    padding-left: 1.25rem;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.esito-doc-list li {
    margin-bottom: 10px;
}

.esito-columns {
    margin-bottom: 32px;
}

.esito-riepilogo-preventivo {
    margin-bottom: 32px;
}

.esito-preventivo-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    max-width: 360px;
}

.esito-preventivo-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.esito-preventivo-row:last-child {
    border-bottom: none;
}

.esito-preventivo-row .label {
    color: #666;
}

.esito-footer-msg {
    margin-top: 24px;
    padding-top: 24px;
}

.esito-hr {
    border: none;
    border-top: 1px solid #ddd;
    margin-bottom: 24px;
}

.esito-footer-msg .esito-section-title {
    margin-bottom: 8px;
}

.esito-footer-msg p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.page-content .content-section {
    margin-bottom: 28px;
}

.page-content .content-section:last-child {
    margin-bottom: 0;
}

.page-content .content-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blu-scuro);
    margin-bottom: 12px;
}

.page-content .content-section p,
.page-content .content-section ul {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.page-content .content-section ul {
    padding-left: 1.25rem;
}

.page-content .content-section a {
    color: var(--blu-scuro);
}

.page-content .content-section a:hover {
    color: var(--oro);
}

.blog-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    transition: transform .2s, box-shadow .2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(22, 33, 68, .12);
}

.blog-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--oro);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blu-scuro);
    margin: 8px 0;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--scuro);
    opacity: .9;
    margin-bottom: 8px;
    line-height: 1.5;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--blu-chiaro);
}

.blog-article-header {
    margin-bottom: 24px;
}

.blog-article-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--oro);
    text-transform: uppercase;
}

.blog-article-title {
    font-size: 1.75rem;
    color: var(--blu-scuro);
    font-weight: 700;
    margin: 8px 0 12px;
}

.blog-article-meta {
    font-size: 0.9rem;
    color: #666;
}

.blog-article-meta .sep {
    margin: 0 6px;
}

.blog-article-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-article-body.prose {
    line-height: 1.7;
}

.blog-article-body.prose h2 {
    font-size: 1.25rem;
    margin: 1.5em 0 .5em;
    color: var(--blu-scuro);
}

.blog-article-body.prose ul {
    padding-left: 1.5rem;
    margin: .75em 0;
}

.blog-article-body.prose a {
    color: var(--blu-chiaro) !important;
}

.content-page .content-section {
    margin-bottom: 28px;
}

.content-page .content-section h2 {
    font-size: 1.2rem;
    color: var(--blu-scuro);
    margin-bottom: 12px;
}

.content-page .content-section ul {
    padding-left: 1.25rem;
}