@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    background-color:#fff;
    color:#000;
    font-family: 'Roboto', sans-serif;
}
html {
    scroll-behavior: smooth;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a, a:visited, a:focus, a:active {
    color:inherit;
    text-decoration: none;
}
h1 {
    font-size:42px;
    font-weight:400;
}
h2,.h2 {
    font-size:30px;
    font-weight:400;
}
h3 {
    font-size:20px;
    font-weight:400;

}
p{
    font-weight: 300;
    font-size:14px;
    line-height: 1.2;
}
p.large{

    font-size:18px;
}

p.subtitle {
    font-size:24px;
    font-weight:700;
}

main {
    padding:20px;
    display:flex;
    flex-direction: column;
    gap:56px;
}

ul {
    list-style: none;
}

img {
    max-width:100%;
    height:auto;
}
.w-100{
    width:100%;
}
.align-c{
    text-align: center;
}
.space-between{
    justify-content: space-between
}
.blue-text {
    color:#2D32AA;
}

.mt-15{
    margin-top:15px;
}

.sr-only {

    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;


    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);

    white-space: nowrap;

    border: 0;
}

button {
    all: unset;
    outline:revert;
}
button:not(:disabled){
    cursor: pointer;
}

.d-flex {
    display:flex;
}
.col {
    flex-direction: column
}
.r-20 {
    border-radius: 20px;
}
.r-25 {
    border-radius: 20px;
}
.cta_btn {
    display:inline-block;
    text-align: center;
    min-width:230px;
    background-color: #2D32AA;
    color:#fff !important;
    text-decoration: none;
    border-radius:30px;
    padding:10px;
    font-size:20px;
    font-weight:600;
    -webkit-transition: all .4s cubic-bezier(.68,-.55,.265,1.55);
    -o-transition: all .4s cubic-bezier(.68,-.55,.265,1.55);
    transition: all .4s cubic-bezier(.68,-.55,.265,1.55);
}
.cta_btn:hover,
.cta_btn:active,
.cta_btn:focus{
    background-color: #0C0E41;
    -webkit-transition: all .4s cubic-bezier(.68,-.55,.265,1.55);
    -o-transition: all .4s cubic-bezier(.68,-.55,.265,1.55);
    transition: all .4s cubic-bezier(.68,-.55,.265,1.55);
}
.cta_text{
    display: flex;
    gap:20px;
    align-items: center;
    margin-top:16px;
}
.cta_text .text{
    font-size: 20px;
    font-weight: 400;
}
.cta_text .cta_icon{
    flex-shrink: 0;
    width: 28px;
    height:28px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/icon_cta.svg);
}
.hero  {
    gap:24px;
}
.hero h1 {
    padding:24px 0;
}

.features-layout-grid {
    display: grid;
    gap: 16px;
    align-items: stretch;
    grid-template-columns: 1fr;
}
.feature-highlight-card {
    background-color: #2D32AA;
    color:#fff;
    padding:30px;
    border-radius: 24px;
}
.feature-highlight-card .card-content{
    display:flex;
    flex-direction:column;
    gap:20px;
    padding-top: 20px;
}

.card-content li {
    margin-bottom: 10px;
}

.feature-bullets {
    background-color: #fff;
    box-shadow: 0px 4px 20px 0px #00000026;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.feature-bullets h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D32AA;
}
.feature-bullets ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid #e9eaf2;
}
.feature-bullets li:last-child {
    border-bottom: none;
}
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    flex-shrink: 0;
    background-color: transparent;
    border-radius: 13px;
    color: #2f3ad1;
}
.feature-icon svg {
    width: 23px;
    height: 23px;
}
.feature-icon .icon {
    width: 24px;
    height: 24px;
}
.feature-list {
    list-style: none;
}

.feature-item {
    background-color: #fff;

    box-shadow: 0px 4px 20px 0px #00000026;
    padding:24px 32px;
}
.feature-item div {
    display:flex;
    flex-direction:column;
    gap:20px;
}

.icon {
    display:inline-block;
    height:24px;
    width:24px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.social-icon {
    height:32px;
    width:32px;
    display:block;
    background-position: center;
    background-repeat: no-repeat;
    background-size:contain;
}


.icon-money{
    background-image: url(../img/icon_money.svg);
}
.icon-invoice{
    background-image: url(../img/icon_invoice.svg);
}
.icon-cards{
    background-image: url(../img/icon_cards.svg);
}
.icon-dashboard{
    background-image: url(../img/icon_dashboard.svg);
}
.icon-diff{
    background-image: url(../img/icon_diff.svg);
}
.icon-euro{
    background-image: url(../img/icon_euro.svg);
}
.icon-loan{
    background-image: url(../img/icon_loan.svg);
}
.icon-pos{
    background-image: url(../img/icon_pos.svg);
}
.icon-payment{
    background-image: url(../img/icon_payment.svg);
}
.icon-tag{
    background-image: url(../img/icon_tag.svg);
}
.icon-star-white{
    background-image: url(../img/icon_star_white.svg);
}
.icon-fb{
    background-image: url(../img/icon_fb.svg);
}
.icon-yt{
    background-image: url(../img/icon_yt.svg);
}
.icon-x{
    background-image: url(../img/icon_x.svg);
}
.icon-linkedin{
    background-image: url(../img/icon_linkedin.svg);
}

.section-header{
    text-align: center;
    width:100%;

}
.section-header h2{
    padding-bottom: 20px;

}

.banner {
    width:100%;

}
.banner_inner {
    width:100%;
    height:auto;
    position: relative;
}
.banner img, .banner picture {
    border-radius:22px;
    overflow:hidden;
    vertical-align: middle;
    
}
.banner picture:after {
   position:absolute;
   bottom:0;
   left:0;
   width:100%;
   height:100%;
   display:block;
   content:" "; 
    border-radius:22px;
    overflow:hidden;
   background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.45) 82.36%);

}
.overlay_wrapper {
    position:absolute;
    padding:30px;
    text-align: center;
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    width:100%;
    max-width:860px;
    color:#fff;
    display:flex;
    flex-direction: column;
    gap:20px;
}
.services  {
    padding:32px 6px;
}
.service-card  {
    box-shadow: 0px 4px 16px 0px #00000026;
    padding:20px 24px;
    background-color:#fff;
    display:flex;
    flex-direction: column;
    justify-content: space-between

}
.service-card  h3 {
    padding-top:10px;
    padding-bottom: 16px;
}
.services-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;

    border-radius: 20px;
}
.swiper-controls {
    display:flex;
    align-items:center;
    justify-content:center;
    padding-top:20px;
}
.services-pagination {
    display:flex;
    align-items:center;
    gap:6px;
    position:static;
    width:auto !important;
}
.services-pagination .swiper-pagination-bullet {
    width:8px;
    height:8px;
    margin:0 !important;
    background:#C9CCD6;
    opacity:1;
    transition:width .2s, background-color .2s;
}
.services-pagination .swiper-pagination-bullet-active {
    width:20px;
    border-radius:4px;
    background:#2D32AA;
}
.tiers-list{
    flex-direction:column;
    gap:16px;
    padding:24px 0;
    justify-content: center;
    align-items: center;
}
.tier-card{
    position: relative;
    padding:20px 24px;
    width:100%;
    max-width:403px;
    min-width:220px;
    flex: 1;
    background-color:#fff;
    box-shadow: 0px 4px 16px 0px #00000026;
    border: 2px solid transparent;
}
.tier-card.featured{
    border-color:#2D32AA;
    padding-top:52px;
    overflow: hidden;
}
.tier-badge{
    position: absolute;
    top:0;
    left:0;
    right:0;
    display:flex;
    align-items: center;
    justify-content: center;
    gap:8px;
    height:36px;
    background-color:#2D32AA;
    color:#fff;
    font-size:13px;
    font-weight:600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.tier-badge .icon{
    width:14px;
    height:14px;
}
.r-12 {
    border-radius: 12px;
}
.tier-card .img-wrapper img{
    display:block;
    width:100%;
}
.tier-card h3 {
    padding:20px 0 4px;
    font-size: 24px;
    font-weight: 600;
}
.tier-card .tier-price{
    color:#2D32AA;
}
.tier-card .tier-desc{
    margin-top:16px;
    padding:12px 16px;
    border-radius:8px;
    background-color:#F2F3F8;
    color:#3B3E66;
}
.tier-features{
    padding-top:12px;
}
.tier-features li{
    display:flex;
    align-items: center;
    gap:14px;
    margin-bottom:0;
    padding:12px 0;
    border-bottom:1px solid #E9EAF2;
    font-size:16px;
    font-weight:300;
    line-height:1.25;
}
.tier-features li:last-child{
    border-bottom:none;
}
.tier-features li::before{
    content:"";
    flex-shrink:0;
    width:20px;
    height:20px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/icon_check.svg);
}
.tier-features li.excluded{
    color:#9A9DB0;
}
.tier-features li.excluded::before{
    background-image: url(../img/icon_minus.svg);
}
footer {
    background-color:#0f0f0f;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color:#fff;
}
.footer-inner {
    font-weight: 500;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    min-height: 56px;
    padding: 2rem 1rem;
    background: #0f0f0f;
}
#service-modal {
    width:calc(100% - 40px);
    max-width:860px;
    background-color:#fff;
    box-shadow: 0px 4px 16px 0px #00000026;
    border:none;
}
.modal-image {
    flex: 1;
    line-height: 0;
}

.modal-image {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 32px 8px 32px 32px;
}
.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 8px 20px 0px #00000029;
}
.modal-list {
    display:flex;
    flex-direction:column;
    gap:12px;
}
.modal-list li {
    position:relative;
    padding-left:32px;
    font-size:16px;
    font-weight:300;
    line-height:1.3;
}
.modal-list li::before {
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:20px;
    height:20px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/icon_check.svg);
}

.modal-content {
    flex: 1.5;
    padding: 60px 40px;
    background: #fff;
    position: relative;
    display:flex;
    flex-direction:column;
    gap:24px;
    
}


.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}
#service-modal::backdrop {


    backdrop-filter: blur(4px);


}

/*form*/

.form_wrapper {
    background-color:#fff;
    box-shadow: 0px 4px 16px 0px #00000026;
    max-width:900px;
    width:calc(100% - 40px);
    margin:0 auto;
}

.contact-form {
    background: #fff;
    padding: 24px;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 52px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 26px !important; /* Perfect pill shape */
    padding: 0 20px !important;
    font-size: 16px;
    background-color: #fff !important;
    display: flex !important;
    align-items: center;
}

/* Fix Select2 internal alignment */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    color: #666;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 15px !important;
}

.btn-submit {
    width: 100%; /* Full width on mobile */
    background-color: #2d31a6;
    color: white;
    padding: 16px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
}

.footer-title{
    color:#7D7D7D;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 24px;
    display:block;
}

.contacts {
    font-size: 14px;
    color:#fff;
    line-height: 1.3;
}

footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #0f0f0f;
    padding: 0 32px;
}
.footer-secondary {
    display: flex;
    min-height: 56px;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    gap:   24px;
    padding: 24px 0;
}

.footer-secondary .disclaimer {
    font-size: 14px;
    color:#fff;
    line-height: 1.3;
    padding-right:24px;
}

.footer-secondary .list-socials{
    display:flex;
    flex-direction: row;
    gap:24px;

}
.footer-nav,
.footer-cols{
    width:100%;
    padding:32px 0;
}
.divider {
    width:100%;
  
    background-color: #fff;
    height:1px;
    display: block
}
.footer-nav-list {
    display:flex;
    flex-direction: column;
    gap:24px;

}
.footer-nav-list a {
    font-size: 14px;
    font-weight: normal;
}
.footer-cols{
    display:flex;
    flex-direction:column;
    padding:32px 0;
    justify-content: space-between;
    gap:32px;
}
.footer-cols-links {
     display:flex;
    flex-direction:column;
    gap:32px;
}

.footer-links-list {
    display:flex;
    flex-direction: column;
    gap:24px;
    min-width:160px;
}
.footer-links-list li a {
    font-size: 14px;
    font-weight: 600;
    
}
.footer-nav-list a:hover,
.footer-nav-list a:active,
.footer-nav-list a:focus,
.footer-links-list a:hover,
.footer-links-list a:active,
.footer-links-list a:focus{
    text-decoration: underline;
}
@supports not (backdrop-filter: blur(4px)) {
    #service-modal::backdrop {
        background-color: rgba(0, 0, 0, 0.3);
    }
}



@media screen and (max-width: 600px) {
    .services-grid {
        display:flex;
        gap:0;
    }
}
@media screen and (max-width:767px){
    .modal-flex {
        flex-direction: column;
    }
    .modal-image {
        padding: 56px 28px 8px;
    }
    .modal-content {
        padding: 24px 24px 32px;
    }
    .feature-list {
        display:flex;
        flex-direction: column;
        gap:16px;
    }
}
@media screen and (min-width: 601px) {
    .swiper-controls {
        display:none !important
    }

}
@media screen and (min-width:768px){
    .logo-wrapper {
        width:180px;
        height:78px;
    }
    h1 {
        font-size:60px;
    }
    h2, .h2 {
        font-size:40px;
        font-weight:400;
    }
    h3 {
        font-size:25px;
        font-weight:400;

    }
    p{

        font-size:16px;
    }
    p.large{

        font-size:20px;
    }
    p.subtitle {
        font-size:32px;

    }

    main {
        padding:60px;
    }
    .overlay_wrapper {
        padding:40px;
    }

    .services  {
        padding:48px 6px;
    }

    .hero h1 {
        padding:24px 0;
    }

    .contact-form {
        padding: 48px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns start here */
        gap: 24px;
    }

    .form-row.single-col {
        grid-template-columns: 1fr; /* Keep "Scegli un argomento" full width */
    }

    .btn-submit {
        width: auto; /* Return to natural width */
        min-width: 240px;
        margin: 0 auto;
        display: block;
    }
    .hero  {
        gap:34px;
    }
     footer {
   
    padding: 0 80px;
}

}
@media (min-width: 940px) {
    .features-layout-grid {
        gap:24px;
        grid-template-columns: 1.2fr 1fr 1fr;
    }
    .feature-highlight-card {
        grid-row: span 1;
    }
    .feature-bullets {
        grid-column: span 2;
    }
    .feature-list {
        display: contents;
    }
}
@media (min-width: 1024px) {

    main {
        padding:60px;
        gap:66px;
    }
     

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tiers-list{
        flex-direction: row;
        align-items: stretch;
    }
    .tier-card h3 {
        font-size: 28px;
    }
    .tier-card{
        padding:30px 32px;
    }
    .tier-card.featured{
        margin-top:-24px;
        padding-top:54px;
    }
    .tier-features {
        padding-top: 16px;
    }
    .tiers-list{

        padding:44px 0;
    }


    .footer-cols,
    .footer-secondary,
    .footer-nav-list{
        flex-direction: row;
        align-items: center;
    }
    
    .footer-cols,
    .footer-cols-links{
        flex-direction: row;
        align-items: flex-start;
    }
    .footer-cols-links {
        gap:54px;
        
    }

}


@media (min-width: 1280px) {

    main {
        padding:100px;
        gap:96px;
    }
     
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .tiers-list{
        padding:62px 0;

    }
    .hero  {
        gap:50px;
    }

}
@media screen and (min-width:1440px){
    main {
        padding:100px 120px;
    }
    footer {
   
    padding: 0 100px;
}
    .tiers-list{
        gap:32px;

    }
    .hero  {
        gap:90px;
    }
}
