/* ===== TRAVINI.EU — Stylesheet unificato ===== */
/* Reset e base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--white);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
img,svg{display:block;max-width:100%}

/* ===== TEXT REVEAL EFFECT ===== */
.text-reveal{display:inline-block;overflow:hidden}
.text-reveal .char{display:inline-block;opacity:0;transform:translateY(24px);animation:textReveal 0.55s cubic-bezier(0.22,1,0.36,1) forwards}
@keyframes textReveal{to{opacity:1;transform:translateY(0)}}
.text-reveal.revealed .char{opacity:1;transform:none;animation:none}

/* ===== VARIABLES ===== */
:root{
  --navy:#061E36;
  --navy-deep:#031426;
  --navy-warm:#0a1d4d;
  --orange:#F26522;
  --orange-hover:#D9541B;
  --white:#FFFFFF;
  --bg:#F5F7FA;
  --soft-blue:#EAF3FA;
  --ink:#0B1F3A;
  --muted:#5B6778;
  --border:#DDE3EA;
  --sand:#E8E2DC;
  --cream:#F5F0EB;
  --panna:#FAF8F5;
  --radius-sm:10px;
  --radius-md:16px;
  --radius:12px;
  --radius-lg:18px;
  --max-w:1180px;
  --font:'Inter',system-ui,sans-serif;
  --font-serif:'Playfair Display',Georgia,serif;
  --sky:#3E92CC;
  --terracotta:#E17055;
  --sage:#52B788;
  --ocra:#D4A373;
  --accent:var(--orange);
  --accent-light:var(--orange-hover);
  --primary:var(--navy);
  --primary-light:var(--navy-warm);
  --ink-light:var(--muted);
  --ink-faint:#8B95A5;
  --text:var(--ink);
  --shadow-hover:0 12px 36px rgba(6,30,54,0.15);
}

/* ===== UTILITIES ===== */
.container{width:100%;max-width:var(--max-w);margin:0 auto;padding:0 1.5rem}
.reveal{opacity:1;transform:none;transition:opacity 0.7s ease,transform 0.7s ease}
.js .reveal{opacity:0;transform:translateY(30px)}
.js .reveal.visible{opacity:1;transform:translateY(0)}
.reveal-delay-1{transition-delay:0.1s}
.reveal-delay-2{transition-delay:0.2s}
.reveal-delay-3{transition-delay:0.3s}
.reveal-delay-4{transition-delay:0.4s}
.reveal-delay-5{transition-delay:0.5s}
.reveal-delay-6{transition-delay:0.6s}

/* ===== TOP BAR ===== */
.top-bar{background:var(--panna);border-bottom:1px solid var(--sand);font-size:0.8125rem;padding:0.35rem 0}
.top-bar-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:center;gap:2rem;flex-wrap:wrap}
.top-item{display:flex;align-items:center;gap:0.35rem;color:var(--muted);font-size:0.8125rem}
.top-item a{color:var(--muted);transition:color .2s}
.top-item a:hover{color:var(--orange)}
.top-item svg{width:14px;height:14px;stroke:var(--orange);stroke-width:2;fill:none}

/* ===== HEADER ===== */
.site-header{background:var(--navy);border-bottom:1px solid rgba(255,255,255,0.06);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:70px}
.logo{font-size:1.6rem;font-weight:800;color:var(--white);display:flex;align-items:center;gap:0.2rem;letter-spacing:-0.02em}
.logo::before{content:'';width:4px;height:28px;background:var(--orange);border-radius:2px;margin-right:0.5rem}
.logo span{font-weight:800;color:#fff}
.nav-desk{display:flex;align-items:center;gap:1.25rem}
.nav-desk a{font-size:0.875rem;font-weight:500;color:rgba(255,255,255,0.75);transition:color .2s;white-space:nowrap}
.nav-desk a:hover{color:var(--white)}
.btn-cta{background:var(--orange);color:var(--white)!important;padding:0.65rem 1.5rem;border-radius:var(--radius-sm);font-size:0.875rem;font-weight:700;transition:background .2s}
.btn-cta:hover{background:var(--orange-hover)}
.mobile-toggle{display:none;width:44px;height:44px;padding:9px 10px;background:none;border:none;cursor:pointer;z-index:101;align-items:center;justify-content:center;flex-direction:column}
.mobile-toggle span{display:block;width:24px;height:2px;background:var(--white);margin:5px 0}

/* Dropdown menu */
.nav-item{position:relative;display:flex;align-items:center;gap:0.2rem;cursor:pointer}
.nav-item > a,.nav-item > span{font-size:0.875rem;font-weight:500;color:rgba(255,255,255,0.75);transition:color .2s;cursor:pointer;white-space:nowrap}
.nav-item:hover > a,.nav-item:hover > span{color:var(--white)}
.nav-item .arrow{font-size:0.7rem;color:rgba(255,255,255,0.4);transition:transform .2s;margin-left:-0.1rem}
.nav-item:hover .arrow{transform:rotate(180deg);color:var(--white)}
.dropdown{position:absolute;top:calc(100% + 0.5rem);left:0;background:var(--white);border:1px solid var(--border);border-radius:12px;padding:0.5rem;min-width:220px;box-shadow:0 12px 30px rgba(6,30,54,0.15);opacity:0;visibility:hidden;transform:translateY(-5px);transition:all 0.25s ease;z-index:100}
.nav-item:hover .dropdown,.nav-item:focus-within .dropdown,.nav-item.keyboard-open .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{display:block;padding:0.5rem 0.75rem;border-radius:8px;font-size:0.8125rem;color:var(--ink);font-weight:500;transition:all .15s;white-space:nowrap}
.dropdown a:hover{background:var(--soft-blue);color:var(--orange)}
.dropdown .dd-label{font-size:0.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--ink-faint);padding:0.4rem 0.75rem;border-top:1px solid var(--border);margin-top:0.25rem}
.dropdown .dd-label:first-child{border-top:none;margin-top:0}

/* Mobile menu panel */
.mobile-menu{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(6,30,54,0.97);backdrop-filter:blur(12px);z-index:99;padding:5rem 1.5rem 2rem;flex-direction:column;align-items:flex-start;gap:1.5rem;overflow-y:auto}
.mobile-menu.open{display:flex}
.mobile-menu a{color:var(--white);font-size:1.1rem;font-weight:600}
.mobile-menu a:hover{color:var(--orange)}
.mobile-menu .cta-mobile{background:var(--orange);padding:0.75rem 1.5rem;border-radius:var(--radius-sm);font-weight:700;font-size:0.9375rem;color:var(--white)!important;text-align:center;width:100%}
.mobile-menu-close{position:absolute;top:1rem;right:1rem;width:44px;height:44px;background:none;border:none;cursor:pointer;padding:10px;display:flex;align-items:center;justify-content:center;flex-direction:column}
.mobile-menu-close span{display:block;width:24px;height:2px;background:var(--white)}
.mobile-menu-close span:first-child{transform:rotate(45deg) translate(1px,1px)}
.mobile-menu-close span:last-child{transform:rotate(-45deg) translate(1px,-1px)}
.mobile-dropdown{display:flex;flex-direction:column;gap:0.75rem;padding-left:1rem;border-left:2px solid var(--orange);width:100%;margin-top:0.5rem}
.mobile-dropdown a{font-size:0.9375rem;font-weight:400;color:rgba(255,255,255,0.75)}

/* ===== HERO ===== */
.hero{position:relative;min-height:480px;display:flex;align-items:center;overflow:hidden;background:var(--navy)}
.hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,var(--navy) 0%,var(--primary) 60%,rgba(82,183,136,0.3) 180%)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,30,54,.97) 0%,rgba(6,30,54,.92) 35%,rgba(6,30,54,.6) 55%,rgba(6,30,54,.2) 70%,rgba(6,30,54,0) 100%)}
.hero-content{position:relative;z-index:2;max-width:560px;padding:3rem 0}
.hero-label{color:var(--orange);font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.12em;margin-bottom:1rem}
.hero h1{font-family:var(--font);font-size:clamp(1.7rem,3.8vw,2.5rem);font-weight:800;color:var(--white);line-height:1.25;margin-bottom:1rem;letter-spacing:-0.02em}
.hero h1 em{font-family:var(--font);font-style:normal;font-weight:800}
.hero-sub{color:rgba(255,255,255,0.75);font-size:1.05rem;line-height:1.65;margin-bottom:1.75rem;max-width:500px}
.hero-actions{display:flex;gap:0.75rem;flex-wrap:wrap}

/* ===== BUTTONS ===== */
.btn-primary{background:var(--orange);color:var(--white);padding:0.85rem 1.75rem;border-radius:var(--radius-sm);font-weight:700;font-size:0.875rem;transition:background .2s;border:none;cursor:pointer;display:inline-block}
.btn-primary:hover{background:var(--orange-hover)}
.btn-ghost{background:transparent;color:var(--white);padding:0.85rem 1.75rem;border-radius:var(--radius-sm);font-weight:600;font-size:0.875rem;border:1px solid rgba(255,255,255,0.35);transition:all .2s;cursor:pointer;display:inline-block}
.btn-ghost:hover{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.5)}
.btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.85rem 1.75rem;border-radius:var(--radius-sm);font-weight:700;font-size:0.875rem;transition:all .2s;border:none;cursor:pointer;background:var(--orange);color:var(--white)}
.btn:hover{background:var(--orange-hover);transform:translateY(-1px)}

/* ===== HERO GRADIENT (pagine interne) ===== */
.hero-gradient{background:linear-gradient(145deg,#0C2461 0%,#153588 50%,#0a1d4d 100%);color:#f4f6f9;padding:4rem 0 3rem;position:relative;overflow:hidden}
.hero-gradient .deco-circle{position:absolute;border-radius:50%;opacity:0.08;pointer-events:none}
.hero-gradient .c1{width:300px;height:300px;background:#fff;top:-100px;right:-50px}
.hero-gradient .c2{width:200px;height:200px;background:#fff;bottom:-60px;left:10%}

/* Hero with background image */
.hero-img{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0.25}
.hero-overlay-img{position:absolute;inset:0;background:linear-gradient(145deg,rgba(12,36,97,0.92) 0%,rgba(21,53,136,0.88) 50%,rgba(10,29,77,0.85) 100%)}
.hero-inner{position:relative;z-index:1}
.hero-inner .badge-premium{display:inline-block;padding:0.4rem 1rem;border-radius:20px;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:1.5rem}
.hero-inner h1{font-size:clamp(1.8rem,4vw,3rem);font-weight:800;max-width:650px;line-height:1.25;margin-bottom:1rem}
.hero-desc{max-width:560px;color:rgba(245,240,235,0.75);font-size:1.05rem;line-height:1.6}
.label{display:inline-flex;align-items:center;gap:0.5rem;color:#6ee7b7;font-size:0.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:1rem}
.label-dot{width:8px;height:8px;border-radius:50%;background:#6ee7b7;display:inline-block}
.accent{color:#fab1a0}

/* ===== TRUST BAR ===== */
.trust-bar{background:var(--navy);padding:1.25rem 0;border-top:1px solid rgba(255,255,255,0.06)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.trust-item{display:flex;align-items:center;gap:0.875rem}
.trust-icon{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.trust-icon svg{width:20px;height:20px;stroke:var(--orange);stroke-width:1.5;fill:none}
.trust-item h4{font-size:0.9375rem;font-weight:700;color:var(--white);margin-bottom:0.1rem}
.trust-item p{font-size:0.75rem;color:rgba(255,255,255,0.5);line-height:1.4}

/* ===== SECTIONS ===== */
.section{padding:3.5rem 0}
.section-alt{background:var(--bg)}
.sec-label{display:block;text-align:center;color:var(--orange);font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.15em;margin-bottom:0.75rem}
.sec-title{text-align:center;font-size:clamp(1.4rem,3vw,2rem);font-weight:800;color:var(--ink);margin-bottom:2.5rem}
.section-header{text-align:center;margin-bottom:2.5rem}
.section-label{display:block;color:var(--orange);font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.15em;margin-bottom:0.75rem}
.section-header h2{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;color:var(--ink)}
.section-header p{margin-top:0.75rem;color:var(--muted);font-size:0.9375rem}

/* ===== PROBLEMS ===== */
.problems-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.problem-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;transition:transform .3s,box-shadow .3s}
.problem-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(6,30,54,0.12)}
.problem-img{width:100%;height:160px;overflow:hidden}
.problem-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.problem-card:hover .problem-img img{transform:scale(1.05)}
.problem-body{padding:1.25rem}
.problem-card h3{font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:0.4rem;line-height:1.3}
.problem-card p{font-size:0.8125rem;color:var(--muted);line-height:1.55}

/* ===== METHOD ===== */
.method-sec{background:var(--navy);padding:3.5rem 0;position:relative;overflow:hidden}
.method-sec .sec-label{color:var(--orange)}
.method-sec .sec-title{color:var(--white)}
.method-wrap{position:relative;margin-top:2rem}
.method-line{position:absolute;top:24px;left:8%;right:8%;height:2px;background:linear-gradient(90deg,var(--orange),rgba(242,101,34,0.2))}
.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;position:relative;z-index:1}
.m-step{text-align:center}
.m-num{width:48px;height:48px;border-radius:50%;background:var(--orange);color:var(--white);display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;margin:0 auto 1rem;border:4px solid var(--navy);box-shadow:0 0 0 2px var(--orange)}
.m-ico{width:40px;height:40px;margin:0 auto 0.6rem;display:flex;align-items:center;justify-content:center}
.m-ico svg{width:24px;height:24px;stroke:rgba(255,255,255,0.6);stroke-width:1.5;fill:none}
.m-step h4{font-size:1rem;font-weight:700;color:var(--white);margin-bottom:0.4rem}
.m-step p{font-size:0.8125rem;color:rgba(255,255,255,0.6);line-height:1.5;max-width:220px;margin:0 auto}

/* ===== SERVICE CARDS ===== */
.card-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:2rem}
.card-item{border-radius:var(--radius-md);overflow:hidden;box-shadow:0 4px 16px rgba(6,30,54,0.1);background:var(--navy);transition:transform .3s,box-shadow .3s;line-height:0}
.card-item:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(3,20,38,0.18)}
.card-item img{width:100%;height:200px;object-fit:cover;display:block;border:0;transition:transform .4s ease}
.card-item:hover img{transform:scale(1.05)}
.card-img{position:relative;overflow:hidden;height:200px}
.card-img img{width:100%;height:100%;object-fit:cover;display:block}
.card-img::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(6,30,54,0.5),transparent 60%)}
.card-label{background:var(--navy);color:#fff;text-align:center;padding:1rem;font-size:0.9375rem;font-weight:700;line-height:1.4}

/* Service grid (pagine interne) */
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.service-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:2rem;transition:all .3s}
.service-card:hover{border-color:var(--orange);transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.service-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}
.service-icon.c1{background:var(--soft-blue);color:var(--sky)}
.service-icon.c2{background:#FFF0EB;color:var(--terracotta)}
.service-icon.c3{background:#E8F8F2;color:var(--sage)}
.service-icon.c4{background:#F0ECF8;color:#8B6D9E}
.service-icon.c5{background:#FFF8E7;color:var(--ocra)}
.service-icon.c6{background:#F0F4FF;color:#5B8DEF}
.service-card h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin-bottom:0.5rem}
.service-card p{font-size:0.875rem;color:var(--muted);line-height:1.6;margin-bottom:1rem}
.service-link{color:var(--orange);font-weight:700;font-size:0.875rem}

/* ===== SERVICE DETAIL LISTS ===== */
.check-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0.75rem}
.check-list li{display:flex;align-items:flex-start;gap:0.75rem;font-size:0.9375rem;color:var(--ink);padding:0.75rem;background:var(--white);border-radius:var(--radius-sm);border:1px solid var(--border)}
.check{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--soft-blue);color:var(--sage);font-weight:700;font-size:0.875rem;flex-shrink:0}
.alert-box{background:linear-gradient(135deg,rgba(10,36,99,0.04),rgba(62,146,204,0.06));border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem}
.alert-box h4{font-size:1rem;font-weight:700;color:var(--primary);margin-bottom:0.5rem}
.alert-box p{font-size:0.9375rem;color:var(--muted);margin:0}

/* ===== CTA BOX ===== */
.cta-sec{background:var(--white);padding:2.5rem 0;border-top:1px solid var(--border)}
.cta-box{display:flex;align-items:stretch;border-radius:var(--radius-md);overflow:hidden;min-height:120px}
.cta-left{background:var(--orange);display:flex;align-items:center;gap:1.25rem;padding:1.5rem 2rem;flex:0 0 45%}
.cta-left svg{width:56px;height:56px;stroke:var(--white);stroke-width:1.2;fill:none;flex-shrink:0}
.cta-left-text h3{font-size:1.25rem;font-weight:800;color:var(--white);line-height:1.3}
.cta-right{display:flex;align-items:center;justify-content:space-between;gap:2rem;background:var(--bg);padding:1.5rem 2rem;flex:1}
.cta-right p{font-size:0.9375rem;color:var(--muted);line-height:1.5}
.cta-section{background:var(--navy);padding:3rem 0;text-align:center;color:#fff}
.cta-section h2{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;margin-bottom:0.75rem}
.cta-section p{color:rgba(255,255,255,0.7);max-width:560px;margin:0 auto 1.5rem;font-size:0.9375rem}

/* ===== PERCHE TRAVINI ===== */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.why-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:1.5rem;text-align:center;transition:all .3s}
.why-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(6,30,54,0.1)}
.why-ico{width:48px;height:48px;border-radius:50%;background:rgba(242,101,34,0.08);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.why-ico svg{width:22px;height:22px;stroke:var(--orange);stroke-width:1.5;fill:none}
.why-card h4{font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:0.4rem}
.why-card p{font-size:0.8125rem;color:var(--muted);line-height:1.55}

/* ===== FAQ ===== */
.faq-list{display:flex;flex-direction:column;gap:0.75rem;max-width:800px;margin:0 auto}
.faq-item{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:1.25rem 1.5rem}
.faq-item h3{font-size:0.9375rem;font-weight:700;color:var(--ink);margin-bottom:0.5rem;cursor:pointer}
.faq-item p{font-size:0.875rem;color:var(--muted);line-height:1.6}

/* ===== CONTACT CARDS ===== */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.contact-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:2rem;text-align:center;transition:all .3s}
.contact-card:hover{border-color:var(--orange);transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.contact-ico{width:56px;height:56px;border-radius:50%;background:var(--soft-blue);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.contact-ico svg{width:24px;height:24px;stroke:var(--orange);stroke-width:1.5;fill:none}
.contact-card h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin-bottom:0.5rem}
.contact-card p{font-size:0.9375rem;color:var(--muted);margin-bottom:1rem}
.contact-card .btn{width:100%;justify-content:center}

/* Info cards */
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:2rem 0}
.info-card{background:var(--bg);border-radius:var(--radius);padding:1.5rem}
.info-card h4{font-family:var(--font);color:var(--primary);margin-bottom:0.75rem;font-size:1rem}
.info-card p{font-size:0.9375rem;color:var(--muted);margin:0}
.info-card a{color:var(--orange);text-decoration:none}
.info-card a:hover{text-decoration:underline}

/* ===== MULTIFUNZIONI CARDS ===== */
.mfp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2rem}
.mfp-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:2rem}
.mfp-card h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin-bottom:0.75rem;display:flex;align-items:center;gap:0.5rem}
.mfp-card p{font-size:0.9375rem;color:var(--muted);line-height:1.6}
.mfp-card ul{list-style:none;padding:0;margin:0.75rem 0 0;display:flex;flex-direction:column;gap:0.5rem}
.mfp-card ul li{display:flex;align-items:center;gap:0.5rem;font-size:0.875rem;color:var(--muted)}
.mfp-card ul li::before{content:'\2713';color:var(--sage);font-weight:700}

/* ===== TIMELINE ===== */
.timeline{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2rem}
.step-card{background:var(--white);border:1.5px solid var(--sand);border-radius:var(--radius-lg);padding:1.75rem;position:relative;overflow:hidden;transition:all .3s}
.step-card:hover{border-color:var(--terracotta);transform:translateY(-3px);box-shadow:var(--shadow-hover)}
.step-num-circle{width:40px;height:40px;border-radius:50%;background:var(--navy-warm);color:#fff;display:flex;align-items:center;justify-content:center;font-size:0.875rem;font-weight:700;margin-bottom:1rem;font-family:var(--font)}
.step-num-circle.accent{background:var(--terracotta)}
.step-meta{margin-top:1rem}
.step-meta-title{font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--ink-faint);margin-bottom:0.5rem}
.step-checklist{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0.4rem}
.step-checklist li{font-size:0.8125rem;color:var(--muted);display:flex;align-items:center;gap:0.5rem}
.step-checklist li::before{content:'\2713';color:var(--sage);font-weight:700}

/* Two col */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2rem}
.card-problem{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:1.5rem}
.card-solution{background:linear-gradient(135deg,var(--navy-warm),var(--primary-light));border-radius:var(--radius);padding:1.5rem;color:#fff}

/* ===== TECH CARDS (connettivita) ===== */
.tech-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.tech-card{background:var(--white);border:1.5px solid var(--sand);border-radius:var(--radius-lg);padding:1.75rem;text-align:center;transition:all 0.35s;position:relative;overflow:hidden}
.tech-card:hover{border-color:var(--terracotta);transform:translateY(-5px);box-shadow:var(--shadow-hover)}
.tech-card.featured{border-color:var(--terracotta);background:linear-gradient(180deg,#fff8f5,var(--white))}
.tech-card.featured::before{content:'Consigliato';position:absolute;top:0;right:0;background:var(--terracotta);color:#fff;font-size:0.625rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;padding:0.35rem 0.75rem;border-radius:0 0 0 10px;font-family:var(--font)}
.tech-tag{display:inline-block;background:var(--cream);color:var(--muted);padding:0.35rem 0.75rem;border-radius:8px;font-size:0.6875rem;font-weight:600;margin:0.25rem}
.tech-speed{font-family:var(--font-serif);font-size:1.5rem;font-weight:700;color:var(--navy-warm);margin:0.75rem 0;font-style:italic}

/* ===== FOOTER BAR ===== */
.footer-bar{background:var(--white);border-top:1px solid var(--border);padding:1rem 0}
.footer-bar-inner{display:flex;align-items:center;justify-content:center;gap:2rem;flex-wrap:wrap;font-size:0.8125rem;color:var(--muted)}
.footer-bar-inner svg,.footer-bar-inner .f-ico{width:14px;height:14px;stroke:var(--orange);stroke-width:2;fill:none;flex-shrink:0}
.footer-bar-inner a{color:var(--muted);transition:color .2s}
.footer-bar-inner a:hover{color:var(--orange)}

/* ===== FOOTER ===== */
.site-footer{background:var(--navy-deep);padding:1.5rem 0;text-align:center;font-size:0.75rem;color:rgba(255,255,255,0.4)}
.site-footer a{color:rgba(255,255,255,0.5);text-decoration:underline;transition:color .2s}
.site-footer a:hover{color:var(--white)}

/* ===== SCROLL DOWN INDICATOR ===== */
.scroll-indicator{position:absolute;bottom:1.5rem;left:50%;transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:0.5rem;cursor:pointer}
.scroll-indicator span{font-size:0.6875rem;color:rgba(255,255,255,0.5);text-transform:uppercase;letter-spacing:0.1em}
.scroll-indicator .scroll-mouse{width:22px;height:34px;border:1.5px solid rgba(255,255,255,0.4);border-radius:12px;display:flex;justify-content:center;padding-top:6px}
.scroll-indicator .scroll-dot{width:3px;height:6px;background:var(--orange);border-radius:2px;animation:scrollDot 1.8s ease-in-out infinite}
@keyframes scrollDot{0%{transform:translateY(0);opacity:1}80%{transform:translateY(10px);opacity:0}100%{transform:translateY(0);opacity:0}}

/* ===== 404 ===== */
.error-sec{text-align:center;padding:5rem 0}
.error-sec h1{font-size:6rem;font-weight:800;color:var(--orange);line-height:1}
.error-sec h2{font-size:1.5rem;font-weight:700;color:var(--ink);margin:1rem 0}
.error-sec p{color:var(--muted);margin-bottom:1.5rem}

/* ===== GUIDE NAV ===== */
.guide-nav{background:var(--white);border-bottom:2px solid var(--border);position:sticky;top:70px;z-index:40;padding:0}
.guide-nav-inner{max-width:var(--max-w);margin:0 auto;display:flex;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.guide-nav-inner::-webkit-scrollbar{display:none}
.guide-tab{padding:0.875rem 1.25rem;font-size:0.8125rem;font-weight:600;color:var(--muted);white-space:nowrap;border-bottom:3px solid transparent;cursor:pointer;transition:all .2s;background:none;border:none}
.guide-tab:hover{color:var(--orange)}
.guide-tab.active{color:var(--orange);border-bottom-color:var(--orange)}

/* ===== GUIDE SECTIONS ===== */
.guide-cat{padding:2.5rem 0;border-bottom:1px solid var(--border)}
.guide-cat:last-child{border-bottom:none}
.guide-cat-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}
.guide-cat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.guide-cat-icon svg{width:24px;height:24px;stroke-width:1.5;fill:none}
.guide-cat-title{font-size:clamp(1.2rem,2.5vw,1.5rem);font-weight:800;color:var(--ink);line-height:1.2}
.guide-cat-desc{color:var(--muted);font-size:0.875rem;margin-top:0.25rem}

.guide-list{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.guide-item{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:1.5rem;transition:all .25s;position:relative}
.guide-item:hover{border-color:var(--orange);transform:translateY(-2px);box-shadow:0 6px 20px rgba(6,30,54,0.08)}
.guide-tag{display:inline-block;padding:0.25rem 0.6rem;border-radius:6px;font-size:0.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;margin-bottom:0.75rem}
.guide-item h4{font-size:0.9375rem;font-weight:700;color:var(--ink);margin-bottom:0.4rem;line-height:1.35}
.guide-item p{font-size:0.8125rem;color:var(--muted);line-height:1.55;margin-bottom:0.75rem}
.guide-meta{display:flex;align-items:center;gap:1rem;font-size:0.75rem;color:var(--ink-faint)}
.guide-meta span{display:flex;align-items:center;gap:0.3rem}

.guide-detail{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:2rem;margin-top:1rem}
.guide-detail h4{color:var(--ink);font-size:1.1rem;font-weight:700;margin-bottom:1rem}
.guide-detail p{font-size:0.9375rem;color:var(--muted);line-height:1.7;margin-bottom:0.75rem}
.guide-detail ul{padding-left:1.25rem;margin:0.5rem 0}
.guide-detail ul li{font-size:0.9375rem;color:var(--muted);line-height:1.7;margin-bottom:0.35rem}
.guide-detail .alert-box{margin-top:1.5rem}

/* Guide responsive */
@media(max-width:768px){

  .method-steps-grid{grid-template-columns:1fr}
  .guide-nav{top:70px}
  .guide-nav-inner{gap:0}
  .guide-tab{padding:0.65rem 0.75rem;font-size:0.75rem}
  .guide-list{grid-template-columns:1fr}
  .guide-cat{padding:1.5rem 0}
  .guide-cat-header{flex-direction:column;align-items:flex-start;gap:0.75rem}
}

/* ===== PRIVACY POLICY ===== */
.privacy-content{max-width:800px;margin:0 auto}
.privacy-content h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin:1.5rem 0 0.5rem}
.privacy-content p{font-size:0.9375rem;color:var(--muted);line-height:1.7;margin-bottom:0.75rem}
.privacy-content ul{padding-left:1.5rem;margin-bottom:0.75rem}
.privacy-content ul li{font-size:0.9375rem;color:var(--muted);line-height:1.7}

/* ===== SVG STROKE DRAW ===== */
.svg-draw path,.svg-draw line,.svg-draw circle,.svg-draw polyline,.svg-draw rect{stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset 1.2s ease}
.svg-draw.drawn path,.svg-draw.drawn line,.svg-draw.drawn circle,.svg-draw.drawn polyline,.svg-draw.drawn rect{stroke-dashoffset:0}


/* ===== METHOD STEPS ===== */
.method-steps-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

  .method-steps-grid{grid-template-columns:1fr}
  .nav-desk{display:none}
  .mobile-toggle{display:flex}
  .hero{min-height:auto;padding:2.5rem 0}
  .hero-overlay{background:linear-gradient(180deg,rgba(6,30,54,.95) 0%,rgba(6,30,54,.85) 70%,rgba(6,30,54,.6) 100%)}
  .hero-content{max-width:100%;text-align:center;padding:1.5rem 0}
  .hero h1{font-size:clamp(1.5rem,6vw,2.2rem)}
  .hero-sub{font-size:0.9375rem;margin:0 auto 1.5rem}
  .hero-actions{flex-direction:column;align-items:center;gap:0.75rem}
  .hero-actions .btn-primary,.hero-actions .btn-ghost{width:100%;max-width:320px;text-align:center}
  .trust-grid{grid-template-columns:1fr 1fr;gap:1rem}
  .trust-item{flex-direction:column;text-align:center;gap:0.5rem}
  .problems-grid{grid-template-columns:1fr}
  .method-grid{grid-template-columns:1fr;gap:0;position:relative}
  .method-wrap{margin-top:1.5rem}
  .method-line{display:block;position:absolute;top:28px;left:28px;width:2px;height:calc(100% - 56px);background:linear-gradient(180deg,var(--orange),rgba(242,101,34,0.2))}
  .m-step{display:flex;align-items:flex-start;text-align:left;gap:1rem;padding:1.25rem 0}
  .m-num{margin:0;flex-shrink:0;width:56px;height:56px;border-radius:50%;font-size:1.2rem;border-width:4px;box-shadow:0 0 0 2px var(--orange)}
  .m-step-content{flex:1}
  .m-ico{display:none}
  .m-step h4{font-size:1.1rem;margin-bottom:0.3rem}
  .m-step p{max-width:none;font-size:0.9375rem}
  .card-wrap{grid-template-columns:1fr;gap:1rem}
  .why-grid{grid-template-columns:1fr;gap:1rem}
  .contact-grid{grid-template-columns:1fr;gap:1rem}
  .cta-box{flex-direction:column;border-radius:var(--radius-sm)}
  .cta-left{flex:none;width:100%;padding:1.25rem;justify-content:center}
  .cta-left svg{width:48px;height:48px}
  .cta-left-text h3{font-size:1.1rem}
  .cta-right{flex:none;width:100%;flex-direction:column;text-align:center;padding:1.25rem;gap:1rem}
  .cta-right .btn-primary{width:100%}
  .footer-bar-inner{flex-direction:column;gap:0.75rem;text-align:center}
  .service-grid{grid-template-columns:1fr}
  .mfp-grid{grid-template-columns:1fr}
  .info-grid{grid-template-columns:1fr}
  .timeline{grid-template-columns:1fr}
  .tech-grid{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
}
@media(max-width:480px){
  .top-bar-inner{gap:0.75rem;padding:0.5rem 1rem}
  .top-item{font-size:0.75rem}
  .top-item svg{width:13px;height:13px}
  .trust-grid{grid-template-columns:1fr}
}

/* ===== TARGET / PER CHI LAVORIAMO ===== */
.target-sec{background:var(--panna);padding:3.5rem 0}
.target-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center;margin-top:2rem}
.target-left .target-quote{font-family:var(--font-serif);font-size:clamp(1.2rem,2.5vw,1.6rem);font-weight:600;color:var(--navy);line-height:1.4;margin-bottom:1.5rem;font-style:italic}
.target-left .target-fear{background:var(--white);border-left:4px solid var(--orange);padding:1.25rem 1.5rem;border-radius:0 var(--radius-sm) var(--radius-sm) 0;font-size:0.9375rem;color:var(--muted);line-height:1.65}
.target-left .target-fear strong{color:var(--ink);display:block;margin-bottom:0.25rem}
.target-right{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.target-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:1.5rem;text-align:center;transition:all .3s}
.target-card:hover{border-color:var(--orange);transform:translateY(-3px);box-shadow:0 8px 24px rgba(6,30,54,0.1)}
.target-ico{width:52px;height:52px;border-radius:50%;background:rgba(242,101,34,0.08);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.target-ico svg{width:24px;height:24px;stroke:var(--orange);stroke-width:1.5;fill:none}
.target-card h4{font-size:0.9375rem;font-weight:700;color:var(--ink);margin-bottom:0.3rem}
.target-card p{font-size:0.8125rem;color:var(--muted);line-height:1.5}

/* ===== NEMICO NARRATIVO / PAIN POINTS ===== */
.pain-sec{background:var(--navy);padding:3.5rem 0;position:relative;overflow:hidden}
.pain-sec .sec-label{color:var(--orange)}
.pain-sec .sec-title{color:var(--white)}
.pain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.pain-card{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:var(--radius);padding:1.5rem;transition:all .3s}
.pain-card:hover{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.15);transform:translateY(-3px)}
.pain-num{font-size:2rem;font-weight:800;color:var(--orange);opacity:0.4;line-height:1;margin-bottom:0.5rem}
.pain-icon{width:48px;height:48px;border-radius:12px;background:rgba(242,101,34,0.12);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.pain-icon svg{width:22px;height:22px;stroke:var(--orange);stroke-width:1.5;fill:none}
.guide-item-num{width:48px;height:48px;border-radius:12px;background:var(--soft-blue);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.guide-item-num svg{width:22px;height:22px;stroke:var(--sky);stroke-width:1.5;fill:none}
.checklist-cat{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;padding:1rem;background:var(--bg);border-radius:var(--radius-sm)}
.checklist-cat-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.checklist-cat-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.5;fill:none}
.checklist-cat h4{font-size:0.9375rem;font-weight:700;color:var(--ink);margin-bottom:0.15rem}
.checklist-cat p{font-size:0.8125rem;color:var(--muted);line-height:1.5;margin:0}
.pain-card h4{font-size:1rem;font-weight:700;color:var(--white);margin-bottom:0.5rem}
.pain-card p{font-size:0.875rem;color:rgba(255,255,255,0.6);line-height:1.6}
.pain-cta{text-align:center;margin-top:2.5rem}
.pain-cta p{color:rgba(255,255,255,0.7);font-size:1.05rem;margin-bottom:1.25rem}

/* ===== AREA SERVITA ===== */
.area-sec{background:var(--white);padding:3.5rem 0}
.area-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:2.5rem;align-items:center;margin-top:2rem}
.area-map{background:var(--bg);border-radius:var(--radius-md);padding:2rem;border:1.5px solid var(--border)}
.area-map h4{font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:1rem;display:flex;align-items:center;gap:0.5rem}
.area-map h4 svg{width:20px;height:20px;stroke:var(--orange);stroke-width:2;fill:none}
.area-comuni{display:flex;flex-wrap:wrap;gap:0.5rem}
.area-comuni span{display:inline-block;padding:0.5rem 1rem;background:var(--white);border:1.5px solid var(--border);border-radius:10px;font-size:0.875rem;font-weight:600;color:var(--ink);transition:all .2s}
.area-comuni span:hover{border-color:var(--orange);color:var(--orange)}
.area-comuni .area-main{background:var(--navy);color:var(--white);border-color:var(--navy)}
.area-comuni .area-main:hover{background:var(--orange);border-color:var(--orange);color:var(--white)}
.area-right .area-feature{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}
.area-feature-ico{width:44px;height:44px;border-radius:12px;background:var(--soft-blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.area-feature-ico svg{width:20px;height:20px;stroke:var(--orange);stroke-width:1.5;fill:none}
.area-feature h4{font-size:0.9375rem;font-weight:700;color:var(--ink);margin-bottom:0.25rem}
.area-feature p{font-size:0.8125rem;color:var(--muted);line-height:1.5;margin:0}

/* ===== LEAD MAGNET / CHECKLIST ===== */
.lead-sec{background:linear-gradient(135deg,var(--navy-warm) 0%,var(--navy) 100%);padding:3.5rem 0;position:relative;overflow:hidden}
.lead-sec::before{content:'';position:absolute;top:-50%;right:-20%;width:500px;height:500px;border-radius:50%;background:rgba(242,101,34,0.05);pointer-events:none}
.lead-box{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:center}
.lead-left .sec-label{color:var(--orange);text-align:left}
.lead-left h2{color:var(--white);text-align:left;margin-bottom:1rem}
.lead-left > p{color:rgba(255,255,255,0.7);font-size:1rem;line-height:1.7;margin-bottom:1.5rem}
.lead-checklist{display:flex;flex-direction:column;gap:0.75rem;margin-bottom:2rem}
.lead-check{display:flex;align-items:center;gap:0.75rem;color:rgba(255,255,255,0.85);font-size:0.9375rem}
.lead-check svg{width:20px;height:20px;stroke:var(--sage);stroke-width:2;fill:none;flex-shrink:0}
.lead-right{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.1);border-radius:var(--radius-md);padding:2rem;text-align:center}
.lead-right .lead-ico{width:72px;height:72px;border-radius:50%;background:rgba(242,101,34,0.15);display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem}
.lead-right .lead-ico svg{width:32px;height:32px;stroke:var(--orange);stroke-width:1.5;fill:none}
.lead-right h3{font-size:1.25rem;font-weight:700;color:var(--white);margin-bottom:0.5rem}
.lead-right p{color:rgba(255,255,255,0.6);font-size:0.875rem;margin-bottom:1.5rem;line-height:1.6}
.lead-form{display:flex;flex-direction:column;gap:0.75rem}
.lead-form input{width:100%;padding:0.85rem 1rem;border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,0.15);background:rgba(255,255,255,0.06);color:var(--white);font-size:0.9375rem;outline:none;transition:all .2s}
.lead-form input::placeholder{color:rgba(255,255,255,0.4)}
.lead-form input:focus{border-color:var(--orange);background:rgba(255,255,255,0.1)}
.lead-form .btn{width:100%;justify-content:center;margin-top:0.25rem}
.lead-disclaimer{color:rgba(255,255,255,0.35);font-size:0.75rem;margin-top:1rem}
.lead-disclaimer a{color:var(--orange);text-decoration:underline}

/* ===== CTA VALUTAZIONE ICT ===== */
.cta-ict-sec{background:var(--bg);padding:3rem 0;text-align:center}
.cta-ict-box{max-width:700px;margin:0 auto}
.cta-ict-box h2{font-size:clamp(1.3rem,3vw,1.8rem);font-weight:800;color:var(--ink);margin-bottom:0.75rem}
.cta-ict-box p{color:var(--muted);font-size:1rem;line-height:1.7;margin-bottom:1.5rem}
.cta-ict-box .btn-primary{font-size:1rem;padding:1rem 2.5rem}

/* ===== BREADCRUMB ===== */
.breadcrumb{background:var(--bg);border-bottom:1px solid var(--border);padding:0.75rem 0;font-size:0.8125rem;color:var(--muted)}
.breadcrumb-inner{display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap}
.breadcrumb a{color:var(--muted);transition:color .2s}
.breadcrumb a:hover{color:var(--orange)}
.breadcrumb span{color:var(--ink-faint)}
.breadcrumb .current{color:var(--ink);font-weight:600}

/* ===== FOOTER RICCO ===== */
.footer-rich{background:var(--navy);padding:2.25rem 0 1rem}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr) minmax(0,1fr);gap:2rem;margin-bottom:1.4rem}
.footer-col h4{font-size:0.8125rem;font-weight:700;color:var(--white);margin-bottom:0.65rem;text-transform:uppercase;letter-spacing:0.05em}
.footer-col p,.footer-col a{font-size:0.8125rem;color:rgba(255,255,255,0.62);line-height:1.55;transition:color .2s}
.footer-col a:hover{color:var(--orange)}
.footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0.3rem}
.footer-tagline{max-width:29rem;margin:0 0 0.7rem}
.footer-contact-row{display:flex;align-items:center;flex-wrap:wrap;gap:0.4rem;margin-bottom:0.35rem}
.footer-contact-row a{color:rgba(255,255,255,0.82);font-weight:600}
.footer-address,.footer-hours{margin:0;color:rgba(255,255,255,0.48)!important}
.footer-hours{margin-top:0.45rem!important}
.footer-trv-link{display:inline-block;margin-top:0.55rem;color:var(--orange)!important;font-weight:600}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.08);padding-top:1rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.75rem}
.footer-bottom p{font-size:0.75rem;color:rgba(255,255,255,0.38);margin:0}
.footer-bottom a{font-size:0.75rem;color:rgba(255,255,255,0.5);transition:color .2s}
.footer-bottom a:hover{color:var(--white)}
.footer-bottom-links{display:flex;align-items:center;gap:0.45rem;color:rgba(255,255,255,0.3)}

/* ===== STICKY CTA MOBILE ===== */
.sticky-cta-mobile{display:none;position:fixed;bottom:0;left:0;right:0;z-index:999;background:var(--white);border-top:1px solid var(--border);padding:0.75rem 1rem;box-shadow:0 -4px 16px rgba(0,0,0,0.08)}
.sticky-cta-mobile-inner{display:flex;gap:0.75rem;align-items:center;max-width:500px;margin:0 auto}
.sticky-cta-mobile .btn-primary{flex:1;padding:0.75rem 1rem;font-size:0.9375rem;justify-content:center;white-space:nowrap}
.sticky-cta-mobile .btn-ghost{flex:1;padding:0.75rem 1rem;font-size:0.9375rem;justify-content:center;white-space:nowrap}
@media(max-width:360px){
.sticky-cta-mobile .btn-primary,.sticky-cta-mobile .btn-ghost{padding:0.6rem 0.5rem;font-size:0.8125rem}
}

/* ===== RESPONSIVE NUOVE SEZIONI ===== */
/* ===== GUIDE ESSENZIALI ===== */
.guide-hero{padding:2.5rem 0 1.5rem}
.guide-hero h1{font-size:clamp(1.4rem,3vw,1.8rem);font-weight:800;color:var(--ink);margin-bottom:0.5rem}
.guide-hero p{color:var(--muted);font-size:0.9375rem;max-width:600px}
.guide-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-bottom:1rem;transition:all .25s}
.guide-card:hover{border-color:var(--orange);box-shadow:0 4px 16px rgba(6,30,54,0.06)}
.guide-card h3{font-size:1.05rem;font-weight:700;color:var(--ink);margin-bottom:0.4rem;display:flex;align-items:center;gap:0.5rem}
.guide-card h3 .num{width:28px;height:28px;border-radius:50%;background:var(--orange);color:var(--white);font-size:0.75rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.guide-card p{font-size:0.875rem;color:var(--muted);line-height:1.6;margin:0}
.guide-card ul{list-style:none;padding:0;margin:0.5rem 0 0;display:flex;flex-direction:column;gap:0.35rem}
.guide-card ul li{font-size:0.8125rem;color:var(--muted);display:flex;align-items:flex-start;gap:0.5rem}
.guide-card ul li::before{content:'\2713';color:var(--sage);font-weight:700;flex-shrink:0}
.guide-tip{background:var(--soft-blue);border-left:4px solid var(--sky);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:1rem 1.25rem;margin:1rem 0}
.guide-tip h4{font-size:0.875rem;font-weight:700;color:var(--navy);margin-bottom:0.25rem}
.guide-tip p{font-size:0.8125rem;color:var(--muted);margin:0;line-height:1.55}
.guide-warn{background:#FFF0EB;border-left:4px solid var(--terracotta);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:1rem 1.25rem;margin:1rem 0}
.guide-warn h4{font-size:0.875rem;font-weight:700;color:var(--terracotta);margin-bottom:0.25rem}
.guide-warn p{font-size:0.8125rem;color:var(--muted);margin:0;line-height:1.55}
.guide-steps{display:flex;flex-direction:column;gap:0.75rem;margin:1rem 0}
.guide-step{display:flex;align-items:flex-start;gap:0.875rem;padding:0.75rem;background:var(--bg);border-radius:var(--radius-sm)}
.guide-step-num{width:32px;height:32px;border-radius:50%;background:var(--navy);color:var(--white);font-size:0.875rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.guide-step p{font-size:0.875rem;color:var(--muted);margin:0;line-height:1.5}
.guide-next{display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.guide-next a{display:inline-block;padding:0.5rem 1rem;background:var(--soft-blue);color:var(--sky);border-radius:8px;font-size:0.875rem;font-weight:600;transition:all .2s}
.guide-next a:hover{background:var(--orange);color:var(--white)}

/* ===== CONTACT PAGE ===== */
.contact-hero{padding:2.5rem 0 1.5rem;text-align:center}
.contact-hero h1{font-size:clamp(1.5rem,3.5vw,2.2rem);font-weight:800;color:var(--ink);margin-bottom:0.5rem}
.contact-hero p{color:var(--muted);font-size:1rem;max-width:600px;margin:0 auto}
.contact-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:2rem 0}
.contact-box{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:2rem;text-align:center;transition:all .3s}
.contact-box:hover{border-color:var(--orange);transform:translateY(-3px);box-shadow:0 8px 24px rgba(6,30,54,0.08)}
.contact-box-ico{width:56px;height:56px;border-radius:50%;background:rgba(242,101,34,0.08);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.contact-box-ico svg{width:24px;height:24px;stroke:var(--orange);stroke-width:1.5;fill:none}
.contact-box h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin-bottom:0.5rem}
.contact-box p{font-size:0.9375rem;color:var(--muted);margin-bottom:1rem;line-height:1.5}
.contact-box .btn{width:100%;justify-content:center}
.contact-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:2rem 0}
.contact-info-card{background:var(--bg);border-radius:var(--radius);padding:1.5rem}
.contact-info-card h4{font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:0.75rem;display:flex;align-items:center;gap:0.5rem}
.contact-info-card h4 svg{width:18px;height:18px;stroke:var(--orange);stroke-width:2;fill:none}
.contact-info-card p{font-size:0.875rem;color:var(--muted);line-height:1.6;margin:0}
.contact-info-card a{color:var(--orange);font-weight:600}
.contact-map-placeholder{background:var(--bg);border:2px dashed var(--border);border-radius:var(--radius-md);padding:3rem;text-align:center;margin:2rem 0}
.contact-map-placeholder svg{width:48px;height:48px;stroke:var(--ink-faint);stroke-width:1.5;fill:none;margin:0 auto 1rem}
.contact-map-placeholder p{color:var(--ink-faint);font-size:0.9375rem;margin:0}

/* ===== AREA LOMBARDIA ===== */
.area-lom{background:var(--white);padding:3.5rem 0}
.area-lom-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:2.5rem;align-items:start;margin-top:2rem}
.area-lom-left h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin-bottom:1rem}
.area-lom-left p{color:var(--muted);font-size:0.9375rem;line-height:1.7;margin-bottom:1.5rem}
.area-lom-feature{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}
.area-lom-feature-ico{width:40px;height:40px;border-radius:10px;background:var(--soft-blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.area-lom-feature-ico svg{width:18px;height:18px;stroke:var(--orange);stroke-width:1.5;fill:none}
.area-lom-feature h4{font-size:0.875rem;font-weight:700;color:var(--ink);margin-bottom:0.15rem}
.area-lom-feature p{font-size:0.8125rem;color:var(--muted);margin:0;line-height:1.5}
.area-lom-right h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin-bottom:1rem}
.area-provinze{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.area-prov{background:var(--bg);border-radius:var(--radius);padding:1.25rem}
.area-prov h4{font-size:0.9375rem;font-weight:700;color:var(--ink);margin-bottom:0.5rem;display:flex;align-items:center;gap:0.5rem}
.area-prov h4 svg{width:16px;height:16px;stroke:var(--orange);stroke-width:2;fill:none}
.area-prov ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0.3rem}
.area-prov ul li{font-size:0.8125rem;color:var(--muted)}
.area-prov .prov-main{color:var(--orange);font-weight:600}

/* ===== HERO TRUST BAR ===== */
.hero-trust{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0.75rem 1.5rem;margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,0.1);font-size:0.875rem;color:rgba(255,255,255,0.6)}
.hero-trust strong{color:var(--orange);font-weight:700}

/* ===== STATS GRID ===== */
.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.stats-item{text-align:center;padding:1.5rem;background:rgba(255,255,255,0.05);border-radius:var(--radius);border:1px solid rgba(255,255,255,0.1)}
.stats-num{font-size:clamp(2rem,4vw,2.5rem);font-weight:800;color:var(--orange);font-family:var(--font);line-height:1}
.stats-label{font-size:clamp(0.75rem,1.5vw,0.875rem);color:rgba(255,255,255,0.6);margin-top:0.5rem}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch{font-size:0.8125rem;font-weight:700;color:var(--orange);border:1.5px solid var(--orange);border-radius:6px;padding:0.25rem 0.5rem;margin-left:0.5rem;text-decoration:none;transition:all .2s;line-height:1}.lang-switch:hover{background:var(--orange);color:var(--white)}

/* ===== MOBILE RESPONSIVE NUOVE SEZIONI ===== */
@media(max-width:768px){

  .method-steps-grid{grid-template-columns:1fr}
  .target-grid{grid-template-columns:1fr;gap:1.5rem}
  .target-right{grid-template-columns:1fr 1fr}
  .pain-grid{grid-template-columns:1fr}
  .area-grid{grid-template-columns:1fr}
  .lead-box{grid-template-columns:1fr;gap:2rem}
  .footer-grid{grid-template-columns:1.25fr 1fr;gap:1.35rem}
  .footer-operations{grid-column:1 / -1}
  .breadcrumb{font-size:0.75rem}
  .contact-grid-3{grid-template-columns:1fr}
  .contact-info-grid{grid-template-columns:1fr}
  .area-lom-grid{grid-template-columns:1fr}
  .area-provinze{grid-template-columns:1fr}
  .sticky-cta-mobile{display:block}
}
@media(max-width:480px){
  .target-right{grid-template-columns:1fr}
  .footer-rich{padding:1.65rem 0 0.85rem}
  .footer-grid{grid-template-columns:1fr;gap:1rem;margin-bottom:1rem}
  .footer-operations{grid-column:auto}
  .footer-col h4{margin-bottom:0.45rem}
  .footer-col ul{display:flex;flex-direction:row;flex-wrap:wrap;column-gap:1rem;row-gap:0.25rem}
  .footer-bottom{flex-direction:column;text-align:center;gap:0.45rem;padding-top:0.75rem}
  .guide-card{padding:1.25rem}
  .brand-grid{grid-template-columns:1fr!important}
  .stats-grid{gap:0.75rem}
  .stats-item{padding:1rem 0.75rem}
  .stats-num{font-size:1.8rem}
  .stats-label{font-size:0.75rem}
}


/* ===== RESPONSIVE HERO TRUST ===== */
@media(max-width:480px){
.hero-trust{gap:0.25rem}
.hero-trust .sep{display:none}
.hero-trust span{font-size:0.75rem}
}

/* ===== H1 SEMANTIC GROUPS ===== */
.hero h1 span{display:inline;white-space:normal;max-width:100%;word-break:keep-all}
@media(max-width:768px){

  .method-steps-grid{grid-template-columns:1fr}
.hero h1 span{display:block;margin-bottom:0.15em;max-width:100%;word-break:keep-all}
.hero h1 span:last-child{margin-bottom:0}
}

/* ===== CASE STUDY GRID ===== */
.case-study-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2rem}
@media(max-width:640px){
.case-study-grid{grid-template-columns:1fr}
}


/* ===== V65 HOME HERO — CACHE-BUSTED, MOBILE-FIRST ===== */
.home-hero-content{
  max-width:900px;
  padding:3.25rem 1.5rem 2.6rem;
}
.home-hero-title{
  max-width:900px;
  font-size:clamp(2.25rem,4.7vw,4rem)!important;
  line-height:1.06!important;
  letter-spacing:-0.035em!important;
  margin-bottom:1.15rem!important;
  text-wrap:balance;
}
.home-hero-title .home-hero-main,
.home-hero-title .home-hero-location{
  display:block!important;
  white-space:normal!important;
  max-width:100%!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.home-hero-title .home-hero-location{color:#fff;}
.home-hero-content .hero-sub{
  max-width:760px;
  font-size:1.08rem;
  line-height:1.55;
  margin-bottom:1.35rem;
}
.home-quick-contact{
  display:flex;
  align-items:center;
  gap:.65rem;
  margin-top:1rem;
  color:rgba(255,255,255,.76);
  font-size:.86rem;
  font-weight:600;
}
.home-quick-contact a{color:rgba(255,255,255,.9);text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:.2em;}
.home-quick-contact a:hover{color:#fff;text-decoration-color:var(--orange);}
.home-proof-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.75rem;
  margin-top:1.8rem;
  padding-top:1.4rem;
  border-top:1px solid rgba(255,255,255,.12);
  max-width:900px;
}
.home-proof-item{
  min-width:0;
  padding:.85rem .9rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(255,255,255,.045);
  text-align:left;
}
.home-proof-item strong{
  display:block;
  color:var(--orange);
  font-size:.93rem;
  line-height:1.2;
  margin-bottom:.2rem;
}
.home-proof-item span{
  display:block;
  color:rgba(255,255,255,.68);
  font-size:.74rem;
  line-height:1.35;
}
@media(max-width:900px){
  .home-hero-content{max-width:100%;padding:2.65rem 1.5rem 2.2rem;text-align:left;}
  .home-hero-title{font-size:clamp(2rem,7vw,3.2rem)!important;}
  .home-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:768px){

  .method-steps-grid{grid-template-columns:1fr}
  .hero{padding:0!important;}
  .home-hero-content{text-align:left!important;padding:2rem 1.25rem 1.7rem!important;}
  .home-hero-title{font-size:clamp(1.9rem,8.7vw,2.55rem)!important;line-height:1.1!important;letter-spacing:-.025em!important;text-wrap:wrap;}
  .home-hero-content .hero-sub{font-size:.97rem;line-height:1.5;margin:0 0 1.2rem;}
  .home-hero-content .hero-actions{align-items:stretch!important;}
  .home-hero-content .hero-actions .btn-primary,
  .home-hero-content .hero-actions .btn-ghost{max-width:none!important;width:100%!important;}
  .home-quick-contact{flex-direction:column;align-items:flex-start;gap:.3rem;font-size:.82rem;}
  .home-quick-contact > span{display:none;}
  .home-proof-grid{margin-top:1.3rem;padding-top:1.1rem;gap:.6rem;}
  .home-proof-item{padding:.72rem .75rem;}
}
@media(max-width:380px){
  .container{padding-left:1rem;padding-right:1rem;}
  .home-hero-content{padding-left:1rem!important;padding-right:1rem!important;}
  .home-hero-title{font-size:1.78rem!important;}
  .home-proof-grid{grid-template-columns:1fr 1fr;}
  .home-proof-item strong{font-size:.83rem;}
  .home-proof-item span{font-size:.68rem;}
}

@media(max-width:768px){body{padding-bottom:76px}}


/* V66 - Modulo assistenza e migrazione legacy */
.module-hero { background:linear-gradient(135deg,var(--navy),var(--primary)); color:var(--white); padding:4rem 0 3.5rem; }
.module-hero .sec-label { color:var(--orange); }
.module-hero h1 { color:var(--white); font-size:clamp(2rem,5vw,3.8rem); line-height:1.05; max-width:820px; margin:.7rem 0 1rem; }
.module-hero p { color:rgba(255,255,255,.82); max-width:760px; font-size:1.05rem; line-height:1.7; }
.module-hero-inner { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr); gap:2.2rem; align-items:center; }
.module-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.5rem; }
.module-hero .btn-ghost { color:var(--white); border-color:rgba(255,255,255,.55); }
.module-summary-card { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:var(--radius-md); padding:1.5rem; }
.module-summary-card strong { color:var(--white); font-size:1rem; }
.module-summary-card ul { margin:.9rem 0 0; padding-left:1.1rem; color:rgba(255,255,255,.8); }
.module-summary-card li { margin:.45rem 0; }
.module-container { max-width:980px; }
.module-notice { background:#fff6eb; border:1px solid #efd0a9; border-left:5px solid var(--orange); border-radius:var(--radius-sm); padding:1.25rem 1.4rem; margin-bottom:2.5rem; }
.module-notice h2 { font-size:1.05rem; margin:0 0 .45rem; color:#7e431b; }
.module-notice p { margin:0; color:#725238; line-height:1.65; }
.module-title { font-size:1.55rem; margin:0 0 1.25rem; color:var(--ink); }
.module-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-bottom:2.5rem; }
.module-steps article { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm); padding:1.2rem; }
.module-steps span { width:2rem; height:2rem; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:var(--orange); color:#fff; font-weight:800; }
.module-steps h3 { font-size:.95rem; color:var(--ink); margin:.8rem 0 .4rem; }
.module-steps p { font-size:.82rem; color:var(--muted); line-height:1.6; margin:0; }
.module-two-col { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:2rem; }
.module-info-card { border:1px solid var(--border); border-radius:var(--radius-sm); padding:1.4rem; background:var(--bg); }
.module-info-card h2 { font-size:1.08rem; margin:0 0 .8rem; }
.module-info-card.positive h2 { color:#23694f; }
.module-info-card.caution h2 { color:#934a1a; }
.module-info-card ul { margin:0; padding-left:1.15rem; color:var(--muted); }
.module-info-card li { margin:.42rem 0; }
.module-download-card { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; background:var(--white); box-shadow:var(--shadow-sm); }
.module-download-card h2 { font-size:1.25rem; margin:.2rem 0 .45rem; color:var(--ink); }
.module-download-card p { color:var(--muted); margin:0; max-width:680px; }
.module-file-label { color:var(--orange); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.module-contact-card { display:grid; grid-template-columns:1fr 1fr 1.4fr; gap:1rem; margin-top:1.4rem; padding:1.2rem 1.4rem; border-radius:var(--radius-sm); background:var(--navy); color:rgba(255,255,255,.8); }
.module-contact-card strong { color:#fff; }
.module-contact-card a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.module-inline-callout { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; margin:2rem auto; }
.module-inline-callout h2 { margin:.25rem 0 .4rem; color:var(--ink); font-size:1.35rem; }
.module-inline-callout p { margin:0; color:var(--muted); }
.module-guide-link .btn-primary { margin-top:.5rem; }
@media (max-width:900px) {
  .module-hero-inner { grid-template-columns:1fr; }
  .module-summary-card { max-width:640px; }
  .module-steps { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px) {
  .module-hero { padding:2.6rem 0 2.2rem; }
  .module-hero h1 { font-size:2.15rem; }
  .module-actions { display:grid; }
  .module-actions a { width:100%; text-align:center; }
  .module-steps, .module-two-col, .module-contact-card { grid-template-columns:1fr; }
  .module-download-card, .module-inline-callout { align-items:stretch; flex-direction:column; }
  .module-download-card .btn-primary, .module-inline-callout .btn-primary { width:100%; text-align:center; }
}


/* V67 — Approfondimenti */
.resources-split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:1.5rem;align-items:start;margin-bottom:2rem}.resources-help{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:1.35rem}.resources-help h3{color:var(--primary);margin-bottom:.45rem}.resources-help p{color:var(--muted);margin-bottom:1rem}.insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.insight-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;text-decoration:none;box-shadow:0 8px 22px rgba(6,30,54,.06);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.insight-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(6,30,54,.11);border-color:var(--orange)}.insight-card img{width:100%;height:180px;object-fit:cover}.insight-card-body{padding:1.15rem;display:flex;flex-direction:column;flex:1}.insight-card h2{font-size:1.15rem;color:var(--primary);margin-bottom:.55rem}.insight-card p{color:var(--muted);font-size:.94rem;line-height:1.6;flex:1}.insight-card span{color:var(--orange);font-weight:700;margin-top:.8rem}.future-topics{margin-top:2rem;padding:1.15rem 1.3rem;border-left:4px solid var(--orange);background:#fff8ef;border-radius:0 var(--radius) var(--radius) 0}.future-topics h3{color:var(--primary);margin-bottom:.35rem}.insight-summary{font-size:1.05rem;line-height:1.75;color:var(--ink);padding:1rem 1.15rem;background:var(--bg);border-left:4px solid var(--orange);border-radius:0 var(--radius) var(--radius) 0;margin-bottom:1.25rem}.insight-cta{background:var(--primary);color:#fff;border-radius:var(--radius);padding:1.5rem;text-align:center;margin-top:2rem}.insight-cta h4{color:#fff;font-size:1.2rem;margin-bottom:.45rem}.insight-cta p{color:rgba(255,255,255,.82);margin-bottom:1rem}.content-review{font-size:.8rem;color:var(--muted);text-align:right;margin-top:1.25rem}.home-insights{background:#f5f8fa}.section-intro{max-width:720px;color:var(--muted);margin:-.7rem auto 1.5rem;text-align:center}.home-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.home-insight-card{display:block;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;text-decoration:none;box-shadow:0 8px 20px rgba(6,30,54,.05)}.home-insight-card:hover{border-color:var(--orange);transform:translateY(-2px)}.home-insight-card h3{color:var(--primary);font-size:1.08rem;margin-bottom:.45rem}.home-insight-card p{color:var(--muted);font-size:.92rem;line-height:1.55}.home-insight-card span{display:inline-block;color:var(--orange);font-weight:700;margin-top:.65rem}.guide-purpose-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#edf5f7;border:1px solid #d4e3e8;border-radius:var(--radius);padding:1rem 1.2rem;margin-top:-1.6rem;margin-bottom:2rem}.guide-purpose-banner p{margin:0;color:var(--ink)}.guide-purpose-banner a{white-space:nowrap;color:var(--primary);font-weight:700}.nav-desk>.nav-item>.dropdown{min-width:220px}
@media(max-width:900px){.resources-split,.insight-grid,.home-insight-grid{grid-template-columns:1fr 1fr}.insight-grid .insight-card:last-child,.home-insight-grid .home-insight-card:last-child{grid-column:1/-1}.guide-purpose-banner{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.resources-split,.insight-grid,.home-insight-grid{grid-template-columns:1fr}.insight-grid .insight-card:last-child,.home-insight-grid .home-insight-card:last-child{grid-column:auto}.insight-card img{height:160px}.guide-purpose-banner{margin-top:-1rem}.content-review{text-align:left}.home-insight-card{padding:1rem}}


/* ===== Infrastrutture e spazi connessi ===== */
.solution-hub-home{background:linear-gradient(180deg,#f7fafc 0%,#fff 100%);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.solution-hub-intro{max-width:760px;margin:0 auto 2rem;text-align:center;color:var(--muted);line-height:1.75}
.solution-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin-top:2rem}
.solution-grid-hub{grid-template-columns:repeat(3,minmax(0,1fr))}
.solution-card{display:flex;flex-direction:column;min-height:240px;padding:1.35rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);text-decoration:none;box-shadow:0 8px 24px rgba(6,30,54,.06);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.solution-card:hover,.solution-card:focus-visible{transform:translateY(-4px);box-shadow:0 16px 34px rgba(6,30,54,.12);border-color:rgba(32,111,165,.4);outline:none}
.solution-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--soft-blue);color:var(--primary);font-size:1.45rem;margin-bottom:1rem}
.solution-card h3{font-size:1rem;color:var(--ink);margin:0 0 .55rem;line-height:1.35}
.solution-card p{font-size:.84rem;color:var(--muted);line-height:1.6;margin:0 0 1rem}
.solution-card .solution-link{margin-top:auto;color:var(--primary);font-weight:700;font-size:.82rem}
.solution-card .partner-note{display:inline-flex;align-self:flex-start;margin-bottom:.7rem;padding:.25rem .55rem;border-radius:999px;background:#111;color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.02em}
.solution-hero .solution-badge{background:rgba(255,255,255,.12);color:#fff}
.solution-actions{margin-top:1.5rem}
.solution-narrow{max-width:920px}
.solution-section-title{font-size:clamp(1.45rem,3vw,2rem);color:var(--ink);margin:.4rem 0 1.2rem}
.solution-lead{font-size:1.04rem;line-height:1.8;color:var(--muted);margin-bottom:1.8rem}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2rem}
.feature-card{padding:1.3rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 6px 20px rgba(6,30,54,.05)}
.feature-card h3{font-size:1rem;color:var(--primary);margin:0 0 .55rem}
.feature-card p{font-size:.86rem;color:var(--muted);line-height:1.65;margin:0}
.solution-checklist{display:grid;grid-template-columns:1fr 1fr;gap:.65rem 1.2rem;margin:1.4rem 0 2rem;padding:0;list-style:none}
.solution-checklist li{position:relative;padding-left:1.45rem;color:var(--ink);line-height:1.55;font-size:.91rem}
.solution-checklist li:before{content:'✓';position:absolute;left:0;top:0;color:var(--sage);font-weight:800}
.usecase-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin:1.5rem 0 2rem}
.usecase-item{padding:1rem;background:var(--bg);border-radius:var(--radius);font-size:.84rem;color:var(--ink);font-weight:650;text-align:center}
.solution-note{padding:1.2rem 1.35rem;border-left:4px solid var(--orange);background:#fff8f4;border-radius:0 var(--radius) var(--radius) 0;color:var(--muted);line-height:1.7;margin:1.4rem 0}
.solution-note strong{color:var(--ink)}
.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
.process-step{padding:1.2rem;background:var(--navy);color:#fff;border-radius:var(--radius)}
.process-step span{display:block;color:var(--orange);font-size:.75rem;font-weight:800;margin-bottom:.5rem}
.process-step h3,.process-step strong{display:block;font-size:.95rem;margin:0 0 .4rem;color:#fff}
.process-step p{font-size:.8rem;line-height:1.55;color:rgba(255,255,255,.76);margin:0}
.faq-section{background:var(--bg)}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.faq-item{padding:1.2rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius)}
.faq-item h3{font-size:.95rem;color:var(--ink);margin:0 0 .55rem}
.faq-item p{font-size:.84rem;color:var(--muted);line-height:1.65;margin:0}
.related-solutions{background:#fff}
.related-links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.3rem}
.related-link-card{display:block;padding:1.1rem;border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;color:var(--ink);font-weight:700;background:var(--white)}
.related-link-card span{display:block;color:var(--muted);font-weight:400;font-size:.8rem;margin-top:.35rem;line-height:1.5}
.inline-service-cta{max-width:800px;margin:1.5rem auto;padding:1.25rem 1.35rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}
.inline-service-cta h3{font-size:1rem;color:var(--ink);margin:0 0 .45rem}
.inline-service-cta p{font-size:.86rem;color:var(--muted);line-height:1.6;margin:0 0 .8rem}
.inline-service-cta a{font-weight:700;color:var(--primary)}
.partner-sonos{background:#111!important;color:#fff!important}
@media(max-width:1100px){.solution-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.usecase-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.solution-grid,.solution-grid-hub,.feature-grid,.process-grid,.faq-grid,.related-links-grid{grid-template-columns:1fr}.solution-checklist{grid-template-columns:1fr}.usecase-strip{grid-template-columns:1fr 1fr}.solution-card{min-height:auto}.solution-actions{display:flex;flex-direction:column;align-items:flex-start}.solution-actions a{width:100%;text-align:center}}
@media(max-width:420px){.usecase-strip{grid-template-columns:1fr}}


/* ===== Coerenza editoriale, checklist e canali ===== */
.checklist-choice-section{padding-top:0}
.checklist-choice{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.5rem;background:var(--soft-blue);border:1px solid var(--border);border-radius:var(--radius-md)}
.checklist-choice>div{max-width:720px}
.checklist-choice h2{font-size:clamp(1.35rem,2.6vw,1.8rem);color:var(--ink);margin:.35rem 0 .65rem}
.checklist-choice p{color:var(--muted);line-height:1.7;margin:0}
.checklist-choice .btn-primary{flex:0 0 auto;text-align:center}
.channel-section{background:linear-gradient(180deg,#f7fafc 0%,#fff 100%)}
.channel-intro{max-width:720px;margin:-.5rem auto 1.5rem;text-align:center;color:var(--muted)}
.channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.channel-card{display:flex;flex-direction:column;padding:1.3rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 22px rgba(6,30,54,.05)}
.channel-card h3{font-size:1.08rem;color:var(--primary);margin:0 0 .55rem}
.channel-card p{font-size:.9rem;color:var(--muted);line-height:1.6;margin:0 0 1rem}
.channel-card a{margin-top:auto;color:var(--primary);font-weight:750}
.response-policy{max-width:900px;margin:1.25rem auto 0;padding:1rem 1.15rem;background:#fff8ef;border-left:4px solid var(--orange);border-radius:0 var(--radius) var(--radius) 0;color:var(--muted);line-height:1.6}
@media(max-width:760px){
  .checklist-choice{align-items:stretch;flex-direction:column}
  .checklist-choice .btn-primary{width:100%}
  .channel-grid{grid-template-columns:1fr}
}


/* ===== V73: documenti assistenza ===== */
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:10000;background:var(--navy);color:#fff;padding:.75rem 1rem;border-radius:0 0 .5rem .5rem;font-weight:700;transition:top .2s}
.skip-link:focus{top:0}
.breadcrumb-simple{padding:1rem 0 .25rem;font-size:.82rem;color:var(--muted)}
.breadcrumb-simple a{color:var(--sky);font-weight:650}
.breadcrumb-simple span{margin:0 .4rem;color:var(--ink-faint)}
.docs-hero{padding:3.25rem 0 2.5rem;background:linear-gradient(135deg,#f5f8fc 0%,#fff 58%,#eef5ff 100%);border-bottom:1px solid var(--border)}
.docs-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);gap:2.5rem;align-items:center}
.docs-hero h1{font-size:clamp(2rem,5vw,3.35rem);line-height:1.08;color:var(--ink);margin:.5rem 0 1rem;max-width:880px}
.docs-hero p{font-size:clamp(1rem,2vw,1.15rem);line-height:1.75;color:var(--muted);max-width:760px;margin:0}
.docs-hero-icon{width:min(100%,250px);aspect-ratio:1;justify-self:center;border-radius:32px;background:linear-gradient(145deg,var(--navy),var(--primary));display:grid;place-items:center;box-shadow:0 24px 50px rgba(6,30,54,.18)}
.docs-hero-icon svg{width:56%;height:56%;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.docs-intro{max-width:760px;margin:0 auto 2rem;text-align:center;color:var(--muted);line-height:1.7}
.docs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.docs-card{position:relative;display:flex;flex-direction:column;padding:1.6rem;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;box-shadow:0 12px 34px rgba(6,30,54,.07);transition:transform .2s,box-shadow .2s,border-color .2s}
.docs-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(6,30,54,.11);border-color:rgba(35,96,168,.3)}
.docs-card:focus-within{outline:3px solid rgba(35,96,168,.2);outline-offset:3px}
.docs-card-icon{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:var(--soft-blue);color:var(--primary);margin-bottom:1rem}
.docs-card-icon svg{width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.docs-card h2,.docs-card h3{color:var(--ink);font-size:1.28rem;margin:0 0 .65rem;line-height:1.25}
.docs-card p{color:var(--muted);line-height:1.65;margin:0 0 1.15rem}
.docs-card ul{margin:.1rem 0 1.3rem;padding-left:1.1rem;color:var(--muted);line-height:1.65}
.docs-card .docs-card-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:auto}
.btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border:1px solid var(--primary);border-radius:9px;padding:.78rem 1rem;color:var(--primary);font-weight:750;background:#fff;transition:background .2s,color .2s,transform .2s}
.btn-outline:hover{background:var(--soft-blue);transform:translateY(-1px)}
.docs-decision{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:stretch;margin-top:2rem}
.docs-decision-card{padding:1.25rem;border-radius:var(--radius);background:var(--bg);border:1px solid var(--border)}
.docs-decision-card strong{display:block;color:var(--ink);margin-bottom:.35rem}
.docs-decision-card p{color:var(--muted);font-size:.9rem;line-height:1.55;margin:0}
.docs-decision-arrow{display:grid;place-items:center;color:var(--orange);font-size:1.5rem;font-weight:900}
.doc-feature{display:grid;grid-template-columns:160px minmax(0,1fr);gap:1.7rem;align-items:center;padding:1.65rem;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;box-shadow:0 16px 38px rgba(6,30,54,.08)}
.doc-main-icon{width:150px;height:150px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,var(--soft-blue),#fff);border:1px solid rgba(35,96,168,.16)}
.doc-main-icon svg{width:78px;height:78px;stroke:var(--primary);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.doc-kicker{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--orange);font-weight:800;margin-bottom:.4rem}
.doc-feature h2{font-size:clamp(1.4rem,3vw,2rem);color:var(--ink);margin:0 0 .65rem}
.doc-feature p{color:var(--muted);line-height:1.7;margin:0 0 1rem}
.doc-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.doc-actions a{min-height:46px}
.doc-source-note{margin-top:.75rem;font-size:.8rem;color:var(--ink-faint)}
.doc-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.3rem}
.doc-info-card{padding:1.2rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg)}
.doc-info-card h3{font-size:1rem;color:var(--ink);margin:0 0 .55rem}
.doc-info-card p,.doc-info-card li{font-size:.9rem;color:var(--muted);line-height:1.6}
.doc-info-card ul{margin:0;padding-left:1.1rem}
.doc-steps{counter-reset:docstep;display:grid;gap:.75rem;margin:1.1rem 0 0}
.doc-step{counter-increment:docstep;display:grid;grid-template-columns:42px 1fr;gap:.8rem;align-items:start;padding:1rem;border:1px solid var(--border);border-radius:var(--radius);background:#fff}
.doc-step:before{content:counter(docstep);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:800}
.doc-step h3{font-size:1rem;color:var(--ink);margin:.1rem 0 .25rem}
.doc-step p{font-size:.9rem;color:var(--muted);line-height:1.55;margin:0}
.doc-notice{margin-top:1.25rem;padding:1rem 1.1rem;border-left:4px solid var(--orange);background:#fff8ef;border-radius:0 var(--radius) var(--radius) 0;color:var(--muted);line-height:1.65}
.docs-contact-strip{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.25rem 1.4rem;margin-top:1.5rem;background:var(--navy);border-radius:var(--radius-md);color:#fff}
.docs-contact-strip h2,.docs-contact-strip h3{color:#fff;margin:0 0 .25rem;font-size:1.15rem}
.docs-contact-strip p{margin:0;color:rgba(255,255,255,.76);font-size:.9rem}
.docs-contact-actions{display:flex;gap:.65rem;flex-wrap:wrap;flex:0 0 auto}
.docs-contact-actions a{color:#fff;border-color:rgba(255,255,255,.55);background:transparent}
.docs-contact-actions a:hover{background:#fff;color:var(--navy)}
.docs-home-section{background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%)}
.docs-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:960px;margin:1.7rem auto 0}
.docs-mini-card{display:grid;grid-template-columns:54px 1fr auto;gap:1rem;align-items:center;padding:1.2rem 1.25rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 10px 28px rgba(6,30,54,.06);transition:transform .2s,border-color .2s}
.docs-mini-card:hover{transform:translateY(-2px);border-color:rgba(35,96,168,.35)}
.docs-mini-icon{width:54px;height:54px;border-radius:14px;background:var(--soft-blue);color:var(--primary);display:grid;place-items:center;font-size:1.5rem;font-weight:900}
.docs-mini-card h3{font-size:1.05rem;color:var(--ink);margin:0 0 .3rem}
.docs-mini-card p{font-size:.86rem;line-height:1.5;color:var(--muted);margin:0}
.docs-mini-arrow{font-size:1.35rem;color:var(--orange);font-weight:900}
.docs-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.docs-compact-card{padding:1.25rem;border-radius:var(--radius);border:1px solid var(--border);background:#fff}
.docs-compact-card h3{color:var(--ink);margin:0 0 .45rem;font-size:1.05rem}
.docs-compact-card p{color:var(--muted);font-size:.9rem;line-height:1.6;margin:0 0 .9rem}
@media(max-width:820px){
  .docs-hero-grid{grid-template-columns:1fr;gap:1.5rem}.docs-hero-icon{width:150px;justify-self:start;border-radius:24px}
  .docs-decision{grid-template-columns:1fr}.docs-decision-arrow{transform:rotate(90deg)}
  .doc-info-grid{grid-template-columns:1fr}.docs-contact-strip{align-items:flex-start;flex-direction:column}.docs-contact-actions{width:100%}.docs-contact-actions a{flex:1}
}
@media(max-width:680px){
  .docs-grid,.docs-home-grid,.docs-compact-grid{grid-template-columns:1fr}.doc-feature{grid-template-columns:1fr}.doc-main-icon{width:112px;height:112px}.doc-main-icon svg{width:58px;height:58px}
  .doc-actions{flex-direction:column}.doc-actions a{width:100%}.docs-mini-card{grid-template-columns:48px 1fr auto;padding:1rem}.docs-mini-icon{width:48px;height:48px}
}
@media(max-width:390px){.docs-hero{padding-top:2.4rem}.docs-card{padding:1.25rem}.docs-contact-actions{flex-direction:column}.docs-contact-actions a{width:100%}.docs-mini-card{grid-template-columns:44px 1fr}.docs-mini-arrow{display:none}.docs-mini-icon{width:44px;height:44px}}

/* V75 — accesso compatto ai documenti */
.docs-home-compact{padding:2rem 0;background:var(--panna)}
.docs-home-bar{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.5rem 1.75rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 10px 28px rgba(10,36,61,.06)}
.docs-home-bar h2{margin:.25rem 0 .4rem;color:var(--ink);font-size:clamp(1.35rem,2.4vw,1.85rem)}
.docs-home-bar p{margin:0;color:var(--muted);line-height:1.65;max-width:680px}
.docs-home-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap;flex:0 0 auto}
.docs-home-actions a{white-space:nowrap}
@media(max-width:860px){
  .docs-home-bar{align-items:stretch;flex-direction:column}
  .docs-home-actions{justify-content:flex-start}
}
@media(max-width:520px){
  .docs-home-compact{padding:1.25rem 0}
  .docs-home-bar{padding:1.2rem}
  .docs-home-actions{display:grid;grid-template-columns:1fr}
  .docs-home-actions a{width:100%;text-align:center}
}

/* ===== V75 final mobile/accessibility fixes ===== */
.guide-item strong{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:640px){
  .guide-mobile-grid{grid-template-columns:1fr!important}
  .guide-item{min-width:0}
  .guide-item ol,.guide-item ul{min-width:0}
  .footer-links-compact a{display:inline-flex;align-items:center;min-height:32px}
}

/* ===== V75 semantic navigation ===== */
.skip-link{position:fixed;top:0.5rem;left:0.5rem;z-index:2000;padding:0.75rem 1rem;background:var(--white);color:var(--navy);border:2px solid var(--orange);border-radius:8px;transform:translateY(-150%);transition:transform .15s}
.skip-link:focus{transform:translateY(0)}
.nav-trigger{outline:none}
.nav-trigger:focus-visible{outline:2px solid var(--orange);outline-offset:4px;border-radius:3px}
.mobile-toggle:focus-visible,.mobile-menu-close:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:6px}

.btn-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0.75rem 1rem;border:1px solid var(--primary);border-radius:var(--radius-sm);color:var(--primary);font-weight:700;text-decoration:none;transition:background .2s,color .2s}
.btn-secondary:hover{background:var(--primary);color:var(--white)}

/* ===== V77 robust mobile navigation icon =====
   Inline SVG replaces CSS-generated bars to avoid browser/cache rendering failures. */
.mobile-toggle{
  color:#fff!important;
  min-width:44px;
  min-height:44px;
  flex:0 0 44px;
  isolation:isolate;
}
.mobile-toggle .menu-icon{
  display:block!important;
  width:28px!important;
  height:28px!important;
  min-width:28px;
  min-height:28px;
  overflow:visible;
  pointer-events:none;
  opacity:1!important;
  visibility:visible!important;
}
.mobile-toggle .menu-icon path{
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2.4!important;
  stroke-linecap:round!important;
  vector-effect:non-scaling-stroke;
}
