/*
 * Licata in Comune 1.6.0
 * Homepage pubblica e rebranding
 */

.page-home-v160 .app-container{
    padding-top:0;
    padding-bottom:72px;
}

.home-hero{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
    align-items:center;
    gap:clamp(44px,7vw,92px);
    min-height:650px;
    padding:72px 0 62px;
}

.home-hero::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:28px;
    right:-18vw;
    width:620px;
    height:620px;
    border-radius:50%;
    background:
        radial-gradient(circle at 45% 42%,rgba(8,104,201,.16),rgba(22,160,213,.07) 45%,transparent 71%);
    pointer-events:none;
}

.home-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:22px;
    color:var(--navy);
    font-size:.76rem;
    font-weight:800;
    letter-spacing:.075em;
    text-transform:uppercase;
}

.home-kicker span{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#1ab075;
    box-shadow:0 0 0 6px rgba(26,176,117,.12);
}

.home-hero h1{
    max-width:760px;
    margin:0;
    color:var(--navy-dark);
    font-size:clamp(3.35rem,6.3vw,5.4rem);
    line-height:.96;
    letter-spacing:-.06em;
}

.home-hero h1 em{
    display:block;
    color:var(--blue);
    font-style:normal;
}

.home-lead{
    max-width:690px;
    margin:28px 0 0;
    color:#52667b;
    font-size:clamp(1.05rem,1.7vw,1.22rem);
    line-height:1.72;
}

.home-lead strong{
    color:var(--navy);
}

.home-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:34px;
}

.home-actions .btn{
    min-height:52px;
    padding:13px 21px;
    border-radius:14px;
}

.home-secondary{
    border:1px solid #d8e2eb;
    background:rgba(255,255,255,.76) !important;
}

.home-how-link{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-top:26px;
    color:#60758a;
    font-size:.82rem;
    font-weight:750;
}

.home-how-link span{
    display:grid;
    place-items:center;
    width:25px;
    height:25px;
    border:1px solid #d6e1ea;
    border-radius:50%;
    background:#fff;
    color:var(--blue);
}

.home-hero-visual{
    position:relative;
    display:grid;
    place-items:center;
    min-height:500px;
}

.civic-preview{
    position:relative;
    z-index:2;
    width:min(420px,100%);
    overflow:hidden;
    border:1px solid rgba(207,219,230,.95);
    border-radius:30px;
    background:rgba(255,255,255,.96);
    box-shadow:0 34px 85px rgba(3,43,78,.19);
    transform:rotate(1.5deg);
}

.civic-preview::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(145deg,rgba(255,255,255,.35),transparent 55%);
    pointer-events:none;
}

.civic-preview-head{
    display:grid;
    grid-template-columns:44px 1fr 9px;
    align-items:center;
    gap:12px;
    padding:17px 19px;
    border-bottom:1px solid #e6edf3;
}

.preview-brand-mark{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
}

.preview-brand-mark img{
    display:block;
    width:44px;
    height:44px;
}

.civic-preview-head strong,
.civic-preview-head small{
    display:block;
}

.civic-preview-head strong{
    color:var(--navy-dark);
    font-size:.92rem;
}

.civic-preview-head small{
    margin-top:3px;
    color:#7a8a9a;
    font-size:.7rem;
}

.civic-preview-head i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#18aa6d;
    box-shadow:0 0 0 5px rgba(24,170,109,.11);
}

.civic-map{
    position:relative;
    height:265px;
    overflow:hidden;
    background:
        linear-gradient(90deg,rgba(8,104,201,.045) 1px,transparent 1px),
        linear-gradient(rgba(8,104,201,.045) 1px,transparent 1px),
        #edf4f7;
    background-size:34px 34px;
}

.map-block{
    position:absolute;
    border-radius:8px;
    background:#dce9e3;
    transform:rotate(-7deg);
}

.block-one{
    top:27px;
    left:33px;
    width:113px;
    height:74px;
}

.block-two{
    right:38px;
    bottom:30px;
    width:128px;
    height:84px;
}

.block-three{
    top:43px;
    right:44px;
    width:93px;
    height:54px;
    background:#d8e6ed;
}

.map-road{
    position:absolute;
    display:block;
    border-radius:999px;
    background:#fff;
    box-shadow:0 0 0 1px rgba(199,214,225,.65);
}

.road-one{
    top:125px;
    left:-30px;
    width:500px;
    height:23px;
    transform:rotate(-13deg);
}

.road-two{
    top:-15px;
    left:195px;
    width:22px;
    height:340px;
    transform:rotate(17deg);
}

.map-pin{
    position:absolute;
    z-index:4;
    display:grid;
    place-items:center;
    border-radius:50% 50% 50% 0;
    transform:rotate(-45deg);
    box-shadow:0 11px 20px rgba(8,104,201,.26);
}

.pin-main{
    top:88px;
    left:178px;
    width:52px;
    height:52px;
    background:linear-gradient(145deg,#0b78df,#0757ae);
}

.pin-main b{
    width:16px;
    height:16px;
    border:4px solid #fff;
    border-radius:50%;
}

.pin-small{
    width:25px;
    height:25px;
    background:#20aa73;
    box-shadow:0 7px 14px rgba(21,132,89,.21);
}

.pin-two{
    top:42px;
    left:82px;
}

.pin-three{
    right:72px;
    bottom:48px;
    background:#f2a31a;
}

.civic-ticket{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 20px 15px;
}

.civic-ticket strong,
.ticket-label{
    display:block;
}

.ticket-label{
    margin-bottom:4px;
    color:#8795a4;
    font-size:.66rem;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.civic-ticket strong{
    color:var(--navy-dark);
    font-size:.87rem;
}

.ticket-status{
    display:inline-flex;
    padding:7px 10px;
    border-radius:999px;
    background:#e9f3ff;
    color:#0868c9;
    font-size:.69rem;
    font-weight:850;
}

.civic-progress{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px;
    padding:0 20px 20px;
}

.civic-progress span{
    height:5px;
    border-radius:999px;
    background:#e1e8ee;
}

.civic-progress .is-done{
    background:linear-gradient(90deg,#0868c9,#16a0d5);
}

.visual-badge{
    position:absolute;
    z-index:3;
    display:flex;
    align-items:center;
    gap:9px;
    padding:11px 14px;
    border:1px solid rgba(216,227,236,.92);
    border-radius:14px;
    background:rgba(255,255,255,.94);
    box-shadow:0 15px 35px rgba(3,43,78,.12);
    color:#344f66;
    font-size:.74rem;
    font-weight:800;
    backdrop-filter:blur(12px);
}

.visual-badge b{
    display:grid;
    place-items:center;
    width:26px;
    height:26px;
    border-radius:9px;
    background:#e9f8f1;
    color:#11915c;
}

.visual-badge-photo{
    top:76px;
    right:-13px;
}

.visual-badge-location{
    bottom:72px;
    left:-25px;
}

.visual-badge-location b{
    background:#eaf3ff;
    color:#0868c9;
}

.home-trust{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
    overflow:hidden;
    margin:0 0 98px;
    border:1px solid #dce6ee;
    border-radius:20px;
    background:rgba(255,255,255,.78);
    box-shadow:0 12px 38px rgba(3,43,78,.065);
}

.home-trust > div{
    display:grid;
    grid-template-columns:44px 1fr;
    padding:22px 25px;
}

.home-trust > div+div{
    border-left:1px solid #e2e9ef;
}

.home-trust span{
    grid-row:1/3;
    display:grid;
    place-items:center;
    align-self:center;
    width:34px;
    height:34px;
    border-radius:11px;
    background:#edf5ff;
    color:var(--blue);
    font-size:.66rem;
    font-weight:900;
}

.home-trust strong{
    color:var(--navy-dark);
    font-size:.86rem;
}

.home-trust small{
    margin-top:4px;
    color:#738497;
    font-size:.72rem;
    line-height:1.4;
}

.home-section{
    padding:0 0 104px;
}

.home-section-heading{
    max-width:760px;
    margin:0 auto 44px;
    text-align:center;
}

.home-section-heading.compact{
    max-width:820px;
}

.home-section-heading h2,
.home-final h2{
    margin:.55rem 0 .9rem;
    color:var(--navy-dark);
    font-size:clamp(2rem,4vw,3.15rem);
    line-height:1.08;
}

.home-section-heading p{
    margin:0;
    color:#687b8e;
    font-size:1rem;
    line-height:1.7;
}

.home-steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.home-steps article{
    position:relative;
    min-height:285px;
    padding:29px 27px;
    overflow:hidden;
    border:1px solid #dde7ef;
    border-radius:21px;
    background:rgba(255,255,255,.92);
    box-shadow:0 11px 32px rgba(3,43,78,.065);
}

.home-steps article::after{
    content:"";
    position:absolute;
    right:-38px;
    bottom:-50px;
    width:125px;
    height:125px;
    border-radius:50%;
    background:rgba(8,104,201,.05);
}

.step-number{
    position:absolute;
    top:25px;
    right:25px;
    color:#c5d2dd;
    font-size:.7rem;
    font-weight:900;
}

.step-icon{
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
    border-radius:17px;
    background:linear-gradient(145deg,#edf6ff,#e2f0fb);
    color:var(--blue);
    font-size:1.55rem;
    font-weight:900;
}

.home-steps h3{
    margin:23px 0 10px;
    color:var(--navy-dark);
    font-size:1.17rem;
}

.home-steps p{
    margin:0;
    color:#6a7d90;
    font-size:.9rem;
    line-height:1.65;
}

.home-use-cases{
    padding-top:84px;
    border-top:1px solid #dce6ed;
}

.home-categories{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.home-categories article{
    display:grid;
    grid-template-columns:55px 1fr;
    gap:17px;
    align-items:start;
    padding:23px;
    border:1px solid #dfe7ee;
    border-radius:18px;
    background:rgba(255,255,255,.76);
}

.home-categories article>span{
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    border-radius:16px;
    background:#eaf3ff;
    color:var(--blue);
    font-size:1.45rem;
    font-weight:900;
}

.home-categories article:nth-child(2)>span{
    background:#fff5df;
    color:#c77700;
}

.home-categories article:nth-child(3)>span{
    background:#eaf8f1;
    color:#118e5b;
}

.home-categories article:nth-child(4)>span{
    background:#f0edff;
    color:#6657d9;
}

.home-categories h3{
    margin:2px 0 6px;
    color:var(--navy-dark);
    font-size:1rem;
}

.home-categories p{
    margin:0;
    color:#6b7c8e;
    font-size:.84rem;
    line-height:1.55;
}

.home-final{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:55px;
    align-items:center;
    padding:42px 44px;
    border-radius:25px;
    background:
        radial-gradient(circle at 85% 10%,rgba(22,160,213,.25),transparent 19rem),
        linear-gradient(135deg,#063b68,#032b4e);
    box-shadow:0 25px 55px rgba(3,43,78,.2);
}

.home-final .eyebrow{
    color:#71cceb;
}

.home-final h2{
    margin-bottom:14px;
    color:#fff;
    font-size:clamp(1.85rem,3.4vw,2.75rem);
}

.home-final p{
    margin:0;
    color:#cfdeea;
    line-height:1.67;
}

.home-final-action{
    display:grid;
    gap:15px;
    justify-items:start;
}

.home-final-action .btn{
    min-height:50px;
    padding:13px 20px;
    background:#fff;
    color:var(--navy-dark);
    box-shadow:none;
}

.home-final-action small{
    color:#adc2d2;
    font-size:.72rem;
    line-height:1.55;
}

@media(max-width:1000px){
    .home-hero{
        grid-template-columns:1fr 390px;
        gap:35px;
    }

    .visual-badge-photo{
        right:0;
    }

    .visual-badge-location{
        left:0;
    }
}

@media(max-width:820px){
    .page-home-v160 .app-container{
        width:calc(100% - 28px);
    }

    .home-hero{
        grid-template-columns:1fr;
        min-height:auto;
        padding:48px 0 42px;
        text-align:center;
    }

    .home-kicker,
    .home-actions,
    .home-how-link{
        justify-content:center;
    }

    .home-lead{
        margin-right:auto;
        margin-left:auto;
    }

    .home-hero-visual{
        min-height:460px;
    }

    .home-trust{
        grid-template-columns:1fr;
        margin-bottom:76px;
    }

    .home-trust > div+div{
        border-top:1px solid #e2e9ef;
        border-left:0;
    }

    .home-steps{
        grid-template-columns:1fr;
    }

    .home-steps article{
        min-height:auto;
    }

    .home-final{
        grid-template-columns:1fr;
        gap:27px;
    }
}

@media(max-width:620px){
    .home-hero{
        padding-top:34px;
    }

    .home-hero h1{
        font-size:clamp(2.75rem,15vw,4rem);
    }

    .home-lead{
        margin-top:22px;
        font-size:1rem;
    }

    .home-actions{
        display:grid;
        grid-template-columns:1fr;
        width:100%;
    }

    .home-actions .btn{
        width:100%;
    }

    .home-hero-visual{
        min-height:405px;
    }

    .civic-preview{
        width:calc(100% - 16px);
        border-radius:24px;
        transform:none;
    }

    .civic-map{
        height:225px;
    }

    .visual-badge{
        padding:9px 11px;
        font-size:.67rem;
    }

    .visual-badge-photo{
        top:52px;
        right:-2px;
    }

    .visual-badge-location{
        bottom:42px;
        left:-2px;
    }

    .home-trust{
        margin-top:8px;
    }

    .home-section{
        padding-bottom:78px;
    }

    .home-section-heading{
        margin-bottom:30px;
    }

    .home-section-heading h2{
        font-size:2rem;
    }

    .home-categories{
        grid-template-columns:1fr;
    }

    .home-final{
        padding:31px 25px;
        border-radius:21px;
    }

    .home-final-action .btn{
        width:100%;
    }
}

@media(max-width:390px){
    .visual-badge{
        display:none;
    }

    .home-hero-visual{
        min-height:355px;
    }

    .civic-map{
        height:190px;
    }

    .civic-preview-head{
        padding:14px 15px;
    }

    .home-trust > div{
        padding:19px 18px;
    }

    .home-categories article{
        grid-template-columns:46px 1fr;
        padding:19px;
    }

    .home-categories article>span{
        width:45px;
        height:45px;
    }
}
