/* Hope Solutions — design system condiviso (palette e font invariati rispetto al one-page) */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f3f0e8;color:#1c1b19;font-family:'Hanken Grotesk',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit}
ul{margin:0;padding:0;list-style:none}
img{max-width:100%;display:block}
::selection{background:#1c1b19;color:#f3f0e8}
:focus-visible{outline:2.5px solid #1c1b19;outline-offset:3px;border-radius:3px}
input:focus-visible,textarea:focus-visible{outline-offset:1px}
@keyframes hsPulse{0%,100%{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.3)}}

.wrap{max-width:1200px;margin:0 auto;padding-inline:clamp(20px,5vw,40px)}

/* ---------- Skip link ---------- */
.skip-link{position:fixed;top:12px;left:12px;z-index:200;background:#1c1b19;color:#f6f3ec;padding:11px 16px;border-radius:9px;font-weight:600;font-size:.9rem;text-decoration:none;transform:translateY(-160%);transition:transform .2s ease}
.skip-link:focus{transform:translateY(0)}

/* ---------- Header / nav ---------- */
.site-header{position:sticky;top:0;z-index:80}
.site-nav{transition:background .25s ease,box-shadow .25s ease,border-color .25s ease;border-bottom:1px solid rgba(28,27,25,0)}
.site-nav .bar{padding-block:13px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:#1c1b19}
.brand-mark{flex:none;width:30px;height:30px;border-radius:9px;border:1.5px solid currentColor;display:inline-flex;align-items:center;justify-content:center;gap:3px}
.brand-mark span{width:5px;height:5px;border-radius:50%}
.brand-name{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.12rem;letter-spacing:-.015em}
.nav-side{display:flex;align-items:center;gap:clamp(6px,1.5vw,22px)}
.desktop-nav{display:flex;align-items:center;gap:2px}
.nav-link{text-decoration:none;color:#3a372f;font-weight:500;font-size:.96rem;padding:10px 13px;border-radius:9px;transition:background .15s ease,color .15s ease}
.nav-link:hover{background:rgba(28,27,25,.05);color:#1c1b19}
.nav-link[aria-current="page"]{color:#1c1b19;font-weight:600}
.menu-btn{display:none;flex:none;width:44px;height:44px;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent;border:1px solid rgba(28,27,25,.16);border-radius:10px;cursor:pointer}
.menu-btn span{width:18px;height:2px;border-radius:2px;background:#1c1b19}
#menu-mobile{display:none;background:#f6f3ec;border-bottom:1px solid rgba(28,27,25,.1);box-shadow:0 20px 40px -28px rgba(28,27,25,.5)}
#menu-mobile.is-open{display:block}
#menu-mobile .links{padding:8px 0 18px;display:flex;flex-direction:column}
#menu-mobile a{text-decoration:none;color:#1c1b19;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.25rem;padding:14px 6px;border-bottom:1px solid rgba(28,27,25,.08)}
#menu-mobile a:last-child{border-bottom:none}
@media (max-width:760px){
 .desktop-nav{display:none}
 .menu-btn{display:inline-flex}
}

/* ---------- Bottoni e link ---------- */
.btn-dark{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;background:#1c1b19;color:#f6f3ec;font-family:inherit;font-weight:600;font-size:1.02rem;border:none;border-radius:12px;text-decoration:none;cursor:pointer;transition:transform .18s ease,background .18s ease}
.btn-dark:hover{background:#000;transform:translateY(-2px)}
.btn-sm{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;background:#1c1b19;color:#f6f3ec;font-weight:600;font-size:.94rem;border-radius:10px;text-decoration:none;transition:transform .18s ease,background .18s ease;white-space:nowrap}
.btn-sm:hover{background:#000;transform:translateY(-1px)}
.btn-ghost{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;background:transparent;color:#1c1b19;font-family:inherit;font-weight:600;font-size:.95rem;border:1px solid #cfc8bb;border-radius:10px;cursor:pointer;text-decoration:none;transition:background .15s ease}
.btn-ghost:hover{background:rgba(28,27,25,.05)}
.link-arrow{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:#1c1b19;font-weight:600;font-size:1.02rem;text-decoration:none;border-radius:12px;transition:gap .18s ease}
.link-arrow:hover{gap:14px}

/* ---------- Sezioni e tipografia ---------- */
.sec{padding-block:clamp(64px,9vw,116px)}
.sec-hero{padding-block:clamp(54px,8vw,104px) clamp(44px,7vw,84px)}
.sec-dark{background:#1a1916;color:#efece3}
.sec-tint{background:#ece7d9}
.kicker{display:inline-flex;align-items:center;gap:9px;font:600 .8rem/1 'Hanken Grotesk';letter-spacing:.15em;text-transform:uppercase;color:#8a857a}
.kicker::before{content:"";width:6px;height:6px;border-radius:50%;background:#1c1b19}
.sec-dark .kicker{color:#a6a097}
.sec-dark .kicker::before{background:#efece3}
.h-xl{margin:22px 0 0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:clamp(2.5rem,6vw,4.4rem);line-height:1.03;letter-spacing:-.025em;color:#1c1b19;text-wrap:balance}
.h-lg{margin:18px 0 0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:clamp(1.9rem,3.8vw,3rem);line-height:1.08;letter-spacing:-.022em;color:#1c1b19;text-wrap:balance}
.sec-dark .h-lg{color:#fbf9f3}
.h-md{margin:12px 0 0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.28rem;letter-spacing:-.01em;color:#1c1b19}
.sec-dark .h-md{color:#fbf9f3}
.lead{margin:20px 0 0;font-size:clamp(1.05rem,1.5vw,1.28rem);line-height:1.55;color:#56524a}
.sec-dark .lead{color:#c8c2b8}
.note{font-size:.92rem;color:#8a857a}
.prose{max-width:70ch}
.prose p,.prose li{font-size:1.02rem;line-height:1.65;color:#35332e}
.prose h2{margin:38px 0 0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.45rem;letter-spacing:-.015em;color:#1c1b19}
.prose ul{padding-left:20px;list-style:disc;display:flex;flex-direction:column;gap:8px;margin-top:12px}

/* ---------- Layout helper ---------- */
.split{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(34px,5vw,68px)}
.split>div{min-width:290px}
.grid{display:grid;gap:clamp(20px,2.2vw,28px);margin-top:clamp(40px,5vw,60px);align-items:stretch}
.grid-cards{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.grid-points{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:clamp(26px,3vw,44px);margin-top:clamp(36px,5vw,56px)}

/* ---------- Punti numerati ---------- */
.point{border-top:1px solid #d6cfbe;padding-top:18px}
.point .num{font-family:ui-monospace,Menlo,monospace;font-size:.8rem;color:#9c9485}
.point h3{margin:8px 0 0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.18rem;letter-spacing:-.01em;color:#1c1b19}
.point p{margin:8px 0 0;font-size:.96rem;line-height:1.55;color:#5f5b51}
.sec-dark .point{border-top-color:rgba(243,240,232,.18);padding-top:24px}
.sec-dark .point .num{font-family:'Space Grotesk',sans-serif;font-size:1.25rem;font-weight:600;color:rgba(243,240,232,.45)}
.sec-dark .point h3{color:#fbf9f3;font-size:1.28rem}
.sec-dark .point p{color:#b4aea3;font-size:1rem;line-height:1.6}

/* ---------- Card prodotto ---------- */
.card{display:flex;flex-direction:column;background:#fbf9f3;border:1px solid #e4dfd3;border-radius:18px;overflow:hidden;transition:transform .4s cubic-bezier(.2,.7,.3,1),box-shadow .35s ease,border-color .35s ease}
.card-head{position:relative;padding:24px 22px 20px;min-height:92px;border-bottom:1px solid #e4dfd3}
.card-head .tag{font:600 .72rem/1 'Hanken Grotesk';letter-spacing:.14em;text-transform:uppercase}
.card-head h2,.card-head h3{margin:11px 0 0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:clamp(1.5rem,2.4vw,1.95rem);letter-spacing:-.02em;color:#1c1b19}
.card-body{display:flex;flex-direction:column;gap:16px;padding:22px;flex:1}
.card-body .claim{margin:0;font-weight:600;font-size:1.06rem;line-height:1.35;color:#1c1b19}
.card-body .desc{margin:0;font-size:.97rem;line-height:1.55;color:#6a665d}
.card-foot{margin-top:auto;display:flex;flex-direction:column;gap:15px}
.card-who{padding-top:15px;border-top:1px dashed #ddd6c8}
.card-who .lbl{display:block;font:600 .68rem/1 'Hanken Grotesk';letter-spacing:.13em;text-transform:uppercase;color:#9a958a;margin-bottom:6px}
.card-who .txt{font-size:.9rem;line-height:1.45;color:#6a665d}
.card-link{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.95rem;text-decoration:none;transition:gap .18s ease}
.card-link:hover{gap:13px}
.feat{display:flex;flex-direction:column;gap:9px;margin:2px 0 0}
.feat li{display:flex;gap:10px;align-items:flex-start;font-size:.94rem;line-height:1.45;color:#35332e}
.feat li::before{content:"";margin-top:7px;flex:none;width:6px;height:6px;border-radius:2px;background:#1c1b19}

/* Accenti per prodotto */
.acc-orange .card-head{background:rgba(226,87,31,.1);border-bottom-color:rgba(226,87,31,.16)}
.acc-orange .card-head .tag{color:#a8553a}
.acc-orange .feat li::before{background:#e2571f}
.acc-orange .card-link{color:#b2492a}
.acc-orange:hover{transform:translateY(-5px);box-shadow:0 34px 60px -34px rgba(226,87,31,.45);border-color:rgba(226,87,31,.4)}
.acc-purple .card-head{background:rgba(91,84,214,.09);border-bottom-color:rgba(91,84,214,.16)}
.acc-purple .card-head .tag{color:#5650b0}
.acc-purple .feat li::before{background:#5b54d6}
.acc-purple .card-link{color:#4b44c0}
.acc-purple:hover{transform:translateY(-5px);box-shadow:0 34px 60px -34px rgba(91,84,214,.45);border-color:rgba(91,84,214,.4)}
.acc-rose .card-head{background:rgba(196,77,119,.09);border-bottom-color:rgba(196,77,119,.18)}
.acc-rose .card-head .tag{color:#a23a5f}
.acc-rose .feat li::before{background:#c44d77}
.acc-rose .card-link{color:#a23a5f}
.acc-rose:hover{transform:translateY(-5px);box-shadow:0 34px 60px -34px rgba(196,77,119,.42);border-color:rgba(196,77,119,.4)}
.acc-green .card-head{background:rgba(79,157,58,.1);border-bottom-color:rgba(79,157,58,.18)}
.acc-green .card-head .tag{color:#3a7a2b}
.acc-green .feat li::before{background:#4f9d3a}
.acc-green .card-link{color:#3a7a2b}

/* Badge stato */
.badge-live,.badge-soon{position:absolute;top:22px;right:18px;display:inline-flex;align-items:center;gap:6px;font:600 .68rem/1 'Hanken Grotesk';padding:5px 10px;border-radius:999px}
.badge-live{background:rgba(28,27,25,.06);color:#3a372f}
.badge-live::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;animation:hsPulse 2.6s ease-in-out infinite}
.acc-orange .badge-live{background:rgba(226,87,31,.14);color:#a8553a}
.acc-purple .badge-live{background:rgba(91,84,214,.13);color:#5650b0}
.acc-rose .badge-live{background:rgba(196,77,119,.13);color:#a23a5f}
.badge-soon{background:rgba(28,27,25,.05);color:#8a857a;border:1px solid rgba(28,27,25,.09)}
.badge-inline{position:static;top:auto;right:auto}

/* ---------- Segnaposto (dati da completare) ---------- */
.ph{display:inline-block;font-family:ui-monospace,Menlo,monospace;font-size:.82rem;color:#6a665d;background:#fbf9f3;border:1px dashed #c9c2b2;border-radius:8px;padding:6px 10px}
.ph-block{display:block;font-family:ui-monospace,Menlo,monospace;font-size:.88rem;line-height:1.6;color:#6a665d;background:#fbf9f3;border:1px dashed #c9c2b2;border-radius:12px;padding:16px 18px}
.sec-dark .ph,.site-footer .ph{background:transparent;color:#9d978c;border-color:#57534a}

/* ---------- Form ---------- */
.form-card{background:#fbf9f3;border:1px solid #e4dfd3;border-radius:18px;box-shadow:0 2px 4px rgba(28,27,25,.04),0 30px 60px -38px rgba(28,27,25,.3);padding:clamp(22px,3vw,34px)}
.f-group{display:flex;flex-direction:column;gap:7px}
.f-label{font-weight:600;font-size:.86rem;color:#35332e}
.f-label .opt{color:#9a958a;font-weight:500}
.f-label .req{color:#b2492a}
.field{width:100%;min-height:48px;padding:13px 14px;background:#fff;border:1px solid #d8d2c8;border-radius:10px;font-family:inherit;font-size:1rem;color:#1c1b19;transition:border-color .15s ease,box-shadow .15s ease}
textarea.field{min-height:110px;line-height:1.5;resize:vertical}
.field:focus{border-color:#1c1b19;box-shadow:0 0 0 3px rgba(28,27,25,.1)}
.f-err{margin:0;font-size:.82rem;color:#b3261e;display:none}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:.86rem;line-height:1.5;color:#56524a}
.consent input{margin-top:3px;width:17px;height:17px;flex:none;accent-color:#1c1b19}
.consent a{color:#35332e;text-underline-offset:2px}
#contact-form{display:flex;flex-direction:column;gap:18px}
#form-success{display:none;text-align:center;padding:18px 6px}
#form-success .ok{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#1c1b19;color:#f6f3ec;font-size:1.6rem;line-height:1}
#form-success h3{margin:18px 0 0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.5rem;color:#1c1b19}
#form-success p{margin:10px auto 0;font-size:1rem;line-height:1.55;color:#56524a;max-width:34ch}

/* ---------- Contatti (blocco recapiti) ---------- */
.contact-row{display:flex;gap:14px;align-items:baseline}
.contact-row .lbl{width:84px;flex:none;font:600 .82rem 'Hanken Grotesk';color:#1c1b19}

/* ---------- Footer ---------- */
.site-footer{background:#1a1916;color:#cfcabf}
.site-footer .top{padding-block:clamp(56px,7vw,84px) 0;display:flex;flex-wrap:wrap;gap:clamp(32px,5vw,56px)}
.site-footer .col-brand{flex:1.5 1 260px;min-width:240px}
.site-footer .col{flex:1 1 140px;min-width:130px}
.site-footer .col-lbl{display:block;font:600 .74rem/1 'Hanken Grotesk';letter-spacing:.13em;text-transform:uppercase;color:#7d7669;margin-bottom:14px}
.site-footer .col ul{display:flex;flex-direction:column;gap:11px}
.footer-link{text-decoration:none;color:#cfcabf;font-size:.95rem;transition:color .15s ease}
.footer-link:hover{color:#fff}
.site-footer .tagline{margin:16px 0 0;font-size:.92rem;line-height:1.55;color:#9d978c;max-width:34ch}
.site-footer .bottom{margin-top:clamp(36px,5vw,52px);padding-block:22px clamp(32px,4vw,44px);border-top:1px solid rgba(243,240,232,.12);display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;align-items:center;font-size:.85rem;color:#857f72}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

@media (prefers-reduced-motion: reduce){
 html{scroll-behavior:auto}
 *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
 .reveal{opacity:1;transform:none}
}
