
    /* ===================================================
       PALETTE — solo bianco, blu, rosso e varianti dirette
       =================================================== */
    :root {
      --white:      #ffffff;
      /* Brand */
      --navy:       #01366B;
      --navy-dark:  #012A54;
      --red-logo:   #ED2613;      /* solo logo */
      --red-cta:    #D62012;      /* solo CTA primari */
      --red-cta-hover: #B01A0E;
      /* Accento */
      --azure:      #1E88E5;      /* parole chiave titoli, icone; mai testo < 24px */
      --azure-dark: #1565C0;      /* hover accento */
      --azure-soft: #F5F7FA;      /* sfondi alternati, badge */
      /* Neutri */
      --ink:        #0F1E33;      /* titoli */
      --slate:      #4A5568;      /* testo corrente */
      --border:     #DDE3EA;
      --bg:         #F5F7FA;
      --headline-gradient: linear-gradient(90deg in oklab, #01366B 0%, #01366B 35%, #ED2613 100%);
      --headline-gradient-fallback: linear-gradient(90deg, #01366B 0%, #01366B 35%, #ED2613 100%);
      --headline-gradient-hover: linear-gradient(90deg in oklab, #012A54 0%, #D62012 55%, #B01A0E 100%);
      --headline-gradient-hover-fallback: linear-gradient(90deg, #012A54 0%, #D62012 55%, #B01A0E 100%);
      --headline-gradient-dark: linear-gradient(90deg in oklab, #FFFFFF 0%, #FFFFFF 35%, #ED2613 100%);
      --headline-gradient-dark-fallback: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 35%, #ED2613 100%);

      /* Alias legacy -> nuova palette */
      --blue:       var(--navy);
      --blue-mid:   #1a5490;
      --blue-light: #3a74b0;
      --blue-bg:    var(--azure-soft);
      --blue-dark:  var(--navy-dark);
      --blue-xdark: #010e20;
      --red:        var(--red-logo);
      --red-dark:   var(--red-cta-hover);
      --red-tint:   rgba(214,32,18,.10);

      /* Testo */
      --txt-on-light:  var(--ink);
      --txt-sub-light: var(--slate);
      --txt-muted-light: #8A94A3;
      --txt-on-dark:   #ffffff;
      --txt-sub-dark:  rgba(255,255,255,.75);
      --txt-muted-dark: rgba(255,255,255,.45);

      /* Bordi */
      --bd-light: var(--border);
      --bd-dark:  rgba(255,255,255,.12);
      --bd-red:   rgba(214,32,18,.30);
      --accent:       var(--navy);
      --accent-dark:  var(--navy-dark);
      --accent-tint:  rgba(1,54,107,.10);
      --bd-accent:    rgba(1,54,107,.25);
      --cta:          var(--red-cta);
      --cta-dark:     var(--red-cta-hover);

      --r:    12px;
      --r2:   20px;
      --ease: cubic-bezier(.4,0,.2,1);
    }

    /* ===== RESET ===== */
    *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

    /* Scala globale leggermente ridotta (~6%): root 15px invece di 16px -> tutto cio' che e' in rem si rimpicciolisce in modo omogeneo. I breakpoint restano in px. */
    html { font-size:15px; scroll-behavior:smooth; scroll-padding-top:106px; overflow-x:hidden; width:100%; }

    body {
      font-family: 'Poppins', sans-serif;
      background: var(--white);
      color: var(--txt-on-light);
      line-height: 1.6;
      overflow-x: hidden;
      width:100%;
      position:relative;
    }

    /* ===== UTILS ===== */
    .container { max-width:1180px; margin:0 auto; padding:0 24px; }
    .section   { padding:96px 0; }

    /* tag/badge label */
    .tag {
      display:inline-flex; align-items:center; gap:7px;
      font-size:.7rem; font-weight:700; letter-spacing:.14em;
      text-transform:uppercase; color:var(--navy);
      padding:5px 14px;
      background: var(--accent-tint);
      border:1px solid var(--bd-accent);
      border-radius:50px; margin-bottom:14px;
    }
    .tag.on-dark { color:#fff; background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.25); }

    .section-title {
      font-size: clamp(1.7rem,3.8vw,2.7rem);
      font-weight:800; line-height:1.18; margin-bottom:14px;
      color: var(--txt-on-light);
    }
    .section-title span { color:var(--accent); }
    .section-title.white { color:var(--white); }
    .section-title.white span { background:none; -webkit-text-fill-color:#fff; color:#fff; }

    .subtitle {
      font-size:1rem; color:var(--txt-sub-light);
      max-width:580px; line-height:1.78;
    }
    .subtitle.white { color:var(--txt-sub-dark); }

    /* Buttons */
    .btn {
      display:inline-flex; align-items:center; gap:8px;
      padding:13px 26px; border-radius:9px;
      font-family:'Poppins',sans-serif; font-size:.93rem;
      font-weight:600; text-decoration:none; cursor:pointer;
      border:none; transition:.27s var(--ease);
    }
    .btn-blue  { background:var(--blue); color:var(--white); }
    .btn-blue:hover  { background:var(--blue-mid); transform:translateY(-2px); box-shadow:0 8px 24px rgba(1,54,107,.35); }
    .btn-red   { background:var(--cta); color:var(--white); }
    .btn-red:hover   { background:var(--cta-dark); transform:translateY(-2px); box-shadow:0 8px 24px rgba(214,32,18,.35); }
    .btn-accent  { background:var(--accent); color:var(--white); }
    .btn-accent:hover  { background:var(--accent-dark); transform:translateY(-2px); box-shadow:0 8px 24px rgba(1,54,107,.35); }
    .btn-white  { background:#fff; color:var(--navy); }
    .btn-white:hover  { background:#e6edf6; transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.2); }
    .btn-outline-white {
      background:transparent; color:var(--white);
      border:2px solid rgba(255,255,255,.55);
    }
    .btn-outline-white:hover {
      background:rgba(255,255,255,.1); border-color:var(--white);
      transform:translateY(-2px);
    }
    .btn-outline-blue {
      background:transparent; color:var(--white);
      border:2px solid rgba(255,255,255,.45);
    }
    .btn-outline-blue:hover {
      background:rgba(255,255,255,.1); border-color:var(--white); transform:translateY(-2px);
    }

    /* Scroll animation */
    .f-up    { opacity:0; transform:translateY(36px); transition:opacity .7s ease,transform .7s ease; }
    .f-left  { opacity:0; transform:translateX(-34px); transition:opacity .7s ease,transform .7s ease; }
    .f-right { opacity:0; transform:translateX(34px);  transition:opacity .7s ease,transform .7s ease; }
    .f-up.on,.f-left.on,.f-right.on { opacity:1; transform:none; }


    /* ===================== NAVBAR ===================== */
    .nav {
      position:fixed; top:0; left:0; right:0; z-index:999;
      background:transparent;
      padding:10px 0; transition:padding .3s, background .3s;
    }
    .nav.scrolled {
      background:rgba(255,255,255,.92);
      backdrop-filter:blur(10px);
      box-shadow:0 4px 20px rgba(1,54,107,.10);
      padding:6px 0;
    }
    .nav-inner {
      display:flex; align-items:center; justify-content:space-between;
      max-width:1320px; margin:0 auto; padding:0 36px;
      gap:24px;
    }

    .nav-logo {
      display:inline-flex; align-items:center;
      text-decoration:none;
      transition:opacity .2s;
      flex-shrink:0;
    }
    .nav-logo:hover { opacity:.8; }
    .nav-logo img { height:104px; width:auto; display:block; object-fit:contain; }

    /* Pill container per i link */
    .nav-links {
      display:flex; align-items:center; gap:42px; list-style:none;
      background:#fff;
      padding:18px 44px;
      border-radius:60px;
      box-shadow:0 6px 24px rgba(1,54,107,.08);
    }
    .nav-links a {
      font-size:.95rem; font-weight:500; color:#1a2944;
      text-decoration:none; transition:color .22s; position:relative;
    }
    .nav-links a::after {
      content:''; position:absolute; bottom:-4px; left:0;
      width:0; height:2px; background:var(--accent); transition:width .22s;
    }
    .nav-links a:hover { color:var(--navy); }
    .nav-links a:hover::after { width:100%; }

    .nav-cta {
      padding:16px 28px; font-size:.95rem;
      border-radius:60px;
      box-shadow:0 6px 20px rgba(214,32,18,.30);
      display:inline-flex; align-items:center; gap:8px;
    }
    .nav-cta-ico { display:none; }

    /* Hamburger */
    .ham {
      display:none; flex-direction:column; gap:5px;
      background:none; border:none; cursor:pointer; padding:4px;
    }
    .ham span { display:block; width:22px; height:2px; background:var(--blue); transition:.28s var(--ease); }
    .ham.on span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
    .ham.on span:nth-child(2) { opacity:0; }
    .ham.on span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

    /* Mobile overlay */
    .mob-menu {
      display:none; position:fixed; inset:0;
      background:var(--blue-dark); z-index:998;
      flex-direction:column; align-items:center; justify-content:center;
      gap:24px; padding:40px 24px;
    }
    .mob-menu.on { display:flex; }
    /* Logo navbar bianco quando menu aperto */
    body.menu-open .nav-logo img { filter:brightness(0) invert(1); transition:filter .2s; }
    body.menu-open .nav.scrolled { background:transparent; box-shadow:none; backdrop-filter:none; }
    .mob-menu-links {
      display:flex; flex-direction:column; align-items:center; gap:20px;
    }
    .mob-menu-links a {
      font-size:1.3rem; font-weight:700; color:#fff;
      text-decoration:none; transition:color .2s;
    }
    .mob-menu-links a:hover { color:var(--accent); }
    .mob-menu-cta {
      margin-top:4px;
    }
    .mob-menu-social {
      display:flex; gap:18px; margin-top:8px;
    }
    .mob-menu-social a {
      width:48px; height:48px; border-radius:50%;
      background:#fff; border:none;
      color:var(--blue-dark); display:flex; align-items:center; justify-content:center;
      transition:.22s var(--ease); text-decoration:none;
      box-shadow:0 4px 14px rgba(0,0,0,.2);
    }
    .mob-menu-social a:hover {
      background:var(--accent); color:#fff;
      transform:translateY(-3px);
    }


    /* ===================== HERO ===================== */
    .hero {
      background: #fff;
      min-height:auto;
      position:relative; overflow:hidden;
      padding-top:130px;
      padding-bottom:44px;
    }

    .hero-bg {
      position:absolute; inset:0; pointer-events:none;
    }

    /* ===== HERO ORBS ===== */
    @keyframes orb-drift {
      0%,100% { transform:translate(0,0) scale(1); }
      25%      { transform:translate(40px,-30px) scale(1.08); }
      50%      { transform:translate(-20px,35px) scale(0.94); }
      75%      { transform:translate(25px,10px) scale(1.04); }
    }
    @keyframes orb-drift-b {
      0%,100% { transform:translate(0,0) scale(1); }
      30%      { transform:translate(-50px,20px) scale(1.06); }
      60%      { transform:translate(30px,-40px) scale(0.96); }
    }
    .hero-orb {
      position:absolute; border-radius:50%; pointer-events:none;
      filter:blur(70px); will-change:transform;
    }
    .hero-orb-1 { width:480px; height:480px; background:rgba(26,96,180,.11); top:-120px; right:5%; animation:orb-drift 9s ease-in-out infinite; }
    .hero-orb-2 { width:320px; height:320px; background:rgba(1,54,107,.07); bottom:5%; right:30%; animation:orb-drift-b 12s ease-in-out infinite; animation-delay:-4s; }
    .hero-orb-3 { width:260px; height:260px; background:rgba(60,130,220,.08); top:40%; left:2%; animation:orb-drift 10s ease-in-out infinite; animation-delay:-7s; }
    /* Accento caldo molto tenue per dare profondita', mai dominante */
    .hero-orb-4 { width:200px; height:200px; background:rgba(237,38,19,.04); top:10%; left:35%; animation:orb-drift-b 14s ease-in-out infinite; animation-delay:-2s; }

    /* ===== HERO PARTICLES — campo di puntini luminosi soft ===== */
    .hero-particles {
      position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:2;
    }
    .hero-particles span {
      position:absolute; display:block; border-radius:50%;
      background:radial-gradient(circle, rgba(26,96,180,.55) 0%, rgba(26,96,180,0) 70%);
      opacity:0; will-change:transform,opacity;
      animation:particle-rise linear infinite;
    }
    @keyframes particle-rise {
      0%   { transform:translateY(20px) scale(.6); opacity:0; }
      15%  { opacity:.7; }
      85%  { opacity:.5; }
      100% { transform:translateY(-120px) scale(1); opacity:0; }
    }
    /* Posizioni / dimensioni / tempi scaglionati (12 puntini) */
    .hero-particles span:nth-child(1)  { width:6px;  height:6px;  left:12%; bottom:18%; animation-duration:13s; animation-delay:0s;    }
    .hero-particles span:nth-child(2)  { width:4px;  height:4px;  left:22%; bottom:34%; animation-duration:16s; animation-delay:-3s;   }
    .hero-particles span:nth-child(3)  { width:8px;  height:8px;  left:31%; bottom:12%; animation-duration:18s; animation-delay:-6s;   }
    .hero-particles span:nth-child(4)  { width:5px;  height:5px;  left:44%; bottom:40%; animation-duration:14s; animation-delay:-2s;   }
    .hero-particles span:nth-child(5)  { width:3px;  height:3px;  left:53%; bottom:22%; animation-duration:17s; animation-delay:-9s;   }
    .hero-particles span:nth-child(6)  { width:7px;  height:7px;  left:62%; bottom:46%; animation-duration:19s; animation-delay:-4s;   }
    .hero-particles span:nth-child(7)  { width:4px;  height:4px;  left:71%; bottom:16%; animation-duration:15s; animation-delay:-7s;   }
    .hero-particles span:nth-child(8)  { width:6px;  height:6px;  left:80%; bottom:30%; animation-duration:20s; animation-delay:-1s;   }
    .hero-particles span:nth-child(9)  { width:5px;  height:5px;  left:88%; bottom:44%; animation-duration:16s; animation-delay:-11s;  }
    .hero-particles span:nth-child(10) { width:3px;  height:3px;  left:17%; bottom:52%; animation-duration:21s; animation-delay:-5s;   }
    .hero-particles span:nth-child(11) { width:6px;  height:6px;  left:37%; bottom:58%; animation-duration:18s; animation-delay:-13s;  }
    .hero-particles span:nth-child(12) { width:4px;  height:4px;  left:66%; bottom:60%; animation-duration:22s; animation-delay:-8s;   }

    @media (prefers-reduced-motion:reduce) {
      .hero-particles { display:none; }
      .hero-orb { animation:none; }
    }

    /* ===== ANIMAZIONI GLOBALI ===== */
    @keyframes pulse-glow {
      0%,100% { box-shadow:0 8px 22px rgba(214,32,18,.32); }
      50%      { box-shadow:0 8px 36px rgba(214,32,18,.55), 0 0 0 6px rgba(214,32,18,.08); }
    }
    .btn-red { animation:pulse-glow 3s ease-in-out infinite; }
    .btn-red:hover { animation:none; }

    @keyframes stat-breathe {
      0%,100% { text-shadow:none; }
      50%      { text-shadow:0 0 18px rgba(1,54,107,.3); }
    }
    .stat-n { animation:stat-breathe 4s ease-in-out infinite; }

    @keyframes shimmer-slide {
      0%   { background-position:-200% center; }
      100% { background-position:200% center; }
    }
    .text-gradient,
    .section-title span {
      background-image: var(--headline-gradient-fallback);
      background-image: var(--headline-gradient);
      -webkit-background-clip:text; background-clip:text;
      color:transparent; -webkit-text-fill-color:transparent;
    }

    @keyframes card-float {
      0%,100% { transform:translateY(0); }
      50%      { transform:translateY(-6px); }
    }
    .review-card.on { animation:card-float 5s ease-in-out infinite; animation-delay:var(--delay,0s); }
    .hero-bg-photo {
      position:absolute; inset:0;
      background:url('assets/background%20per%20la%20hero.jpg') center right / cover no-repeat;
      z-index:0;
    }
    .hero-bg-overlay {
      position:absolute; inset:0;
      background:linear-gradient(to right, #fff 0%, rgba(255,255,255,.97) 28%, rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 65%);
      z-index:1;
    }

    /* Layout hero: 2 colonne */
    .hero-grid {
      display:grid; grid-template-columns:1.05fr .95fr;
      gap:20px; align-items:start;
      position:relative; z-index:4;
      padding:30px 0 30px;
    }

    /* Testo lato sinistro */
    .hero-title {
      font-size:clamp(2.1rem,4.4vw,3.4rem);
      font-weight:900; line-height:1.12; letter-spacing:-.025em;
      color:#0a1d3d; margin-bottom:18px;
    }
    .hero-title .line-red {
      background-image: var(--headline-gradient-fallback);
      background-image: var(--headline-gradient);
      -webkit-background-clip:text; background-clip:text;
      color:transparent; -webkit-text-fill-color:transparent;
    }

    .hero-sub {
      font-size:clamp(.95rem,1.2vw,1.05rem);
      color:#3a4a66; max-width:520px;
      margin-bottom:26px; line-height:1.7;
    }
    .hero-ctas { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:24px; }
    .hero-ctas .btn { padding:16px 28px; border-radius:14px; font-size:.95rem; }
    .hero-ctas .btn-red { box-shadow:0 8px 22px rgba(214,32,18,.32); }
    .hero-ctas .btn-outline-blue {
      background:#fff; color:var(--blue);
      border:1.5px solid #d6e1f0;
    }
    .hero-ctas .btn-outline-blue:hover {
      background:#f5f9ff; border-color:var(--blue); transform:translateY(-2px);
    }

    /* Stats card bianca dentro hero — overlap bottom */
    .hero-stats-card {
      position:relative; z-index:3;
      margin:-10px auto 0;
      max-width:1180px;
      background:linear-gradient(135deg, #ffffff 0%, #f8faff 60%, #f2f7ff 100%);
      border:2px solid #d8e8f8;
      border-radius:22px;
      box-shadow:0 24px 64px rgba(1,54,107,.20), 0 6px 20px rgba(1,54,107,.10), inset 0 1px 0 rgba(255,255,255,.95);
      padding:28px 40px;
      display:grid; grid-template-columns:repeat(3,1fr);
      gap:20px;
    }
    .hero-stat {
      display:flex; align-items:center; gap:18px;
      padding:0 18px;
      border-right:1px solid #e3ebf6;
    }
    .hero-stat:last-child { border-right:none; }
    .hero-stat-ico {
      width:54px; height:54px; border-radius:14px;
      background:#f0f6ff;
      display:flex; align-items:center; justify-content:center;
      flex-shrink:0;
    }
    .hero-stat-ico svg { width:26px; height:26px; stroke:var(--blue); fill:none; stroke-width:2; }
    .hero-stat-n { font-size:1.2rem; font-weight:800; color:var(--blue); line-height:1.15; }
    .hero-stat-l { font-size:.92rem; color:#3a4a66; font-weight:500; margin-top:4px; }

    /* ===== HERO MASCOT — sovrapposta alla stats card ===== */
    .hero-mascot-col {
      display:flex; align-items:flex-end; justify-content:center;
      position:relative;
      align-self:stretch;
      overflow:visible;
      z-index:10;
    }
    .mascot-wrapper {
      position:absolute;
      bottom:-23px;
      display:flex; flex-direction:column; align-items:center;
      z-index:10;
    }
    .mascot-cta-text {
      position:relative;
      background:var(--white);
      color:var(--blue);
      font-size:.82rem; font-weight:700;
      padding:11px 22px;
      border-radius:20px;
      margin-bottom:22px;
      line-height: 1.35;
      max-width: 230px;
      display: inline-block;
      text-align: center;
      box-shadow:0 8px 22px rgba(1,54,107,.16), 0 2px 6px rgba(1,54,107,.10);
    }
    /* Codina del fumetto: punta morbida verso la mascotte (in basso) */
    .mascot-cta-text::after {
      content:"";
      position:absolute;
      bottom:-8px; left:50%; transform:translateX(-50%) rotate(45deg);
      width:16px; height:16px;
      background:var(--white);
      border-radius:0 0 4px 0;
      box-shadow:3px 3px 6px rgba(1,54,107,.08);
    }
    .mascot-hero {
      height:270px; width:auto;
      display:block; position:relative; z-index:2;
      filter:drop-shadow(0 18px 32px rgba(0,0,0,.28));
      animation:mascotFloat 6s ease-in-out infinite;
    }
    @keyframes mascotFloat {
      0%,100% { transform:translateY(0); }
      50%      { transform:translateY(-10px); }
    }


    /* ===================== STATS ===================== */
    .stats {
      background: #010c24;
      background-image:
        radial-gradient(ellipse at 25% 50%, rgba(1,54,107,.7) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 50%, rgba(24,85,200,.3) 0%, transparent 55%),
        linear-gradient(135deg, #010c24 0%, #01244a 50%, #01366b 100%);
      padding:80px 0;
    }
    .stats-grid { display:grid; grid-template-columns:repeat(3,1fr); }
    .stat {
      text-align:center; padding:40px 24px; position:relative;
      transition:.3s ease;
    }
    .stat:hover { transform:translateY(-4px); }
    .stat + .stat::before {
      content:''; position:absolute; left:0; top:20%; height:60%;
      width:1px; background:rgba(255,255,255,.1);
    }
    .stat-n { font-size:clamp(2.4rem,4.8vw,3.4rem); font-weight:900; line-height:1; letter-spacing:-.025em; margin-bottom:8px;
      color:#fff;
    }
    .stat-l { font-size:.82rem; color:rgba(255,255,255,.85); font-weight:600; text-transform:uppercase; letter-spacing:.08em; }
    .stat-d { font-size:.74rem; color:rgba(255,255,255,.4); margin-top:4px; }


    /* ===================== CHI SIAMO ===================== */
    .about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
    .about-list { list-style:none; margin:24px 0 30px; display:flex; flex-direction:column; gap:13px; }
    .about-list li { display:flex; align-items:flex-start; gap:11px; font-size:.92rem; color:var(--txt-sub-light); }
    .about-icon { color:var(--accent); font-size:.75rem; min-width:18px; margin-top:4px; font-weight:900; }
    .about-list strong { color:var(--blue); }
    .img-ph {
      aspect-ratio:4/3; background:var(--blue-bg);
      border:1px solid var(--bd-light); border-radius:var(--r2);
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      gap:14px; padding:36px; text-align:center; position:relative; overflow:hidden;
    }
    .img-ph::before {
      content:''; position:absolute; inset:0;
      background:repeating-linear-gradient(45deg,transparent,transparent 14px,rgba(1,54,107,.025) 14px,rgba(1,54,107,.025) 15px);
    }
    .img-ph-icon { font-size:2.8rem; opacity:.25; }
    .img-ph-txt { font-size:.8rem; line-height:1.55; color:var(--txt-sub-light); font-style:italic; opacity:.75; position:relative; }
    .img-ph-txt strong { color:var(--blue); font-style:normal; display:block; margin-bottom:5px; }
    .about-real-img { width:100%; border-radius:var(--r2); aspect-ratio:4/3; object-fit:cover; box-shadow:0 12px 40px rgba(1,54,107,.15); display:block; }


    /* ===================== SERVIZI ===================== */
    .services { background:var(--blue-bg); }
    .services-head { text-align:center; margin-bottom:56px; }
    .services-head .subtitle { margin:0 auto; }
    .services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
    .svc {
      background:var(--white); border:1px solid var(--bd-light);
      border-radius:var(--r2); padding:0;
      transition:.3s var(--ease); position:relative; overflow:hidden;
      display:flex; flex-direction:column; align-items:stretch; text-align:center;
      text-decoration:none; color:inherit; cursor:pointer;
    }
    .svc::before {
      content:''; position:absolute; top:0; left:0; right:0; height:3px; z-index:2;
      background:var(--accent); transform:scaleX(0); transition:transform .3s var(--ease);
    }
    .svc:hover { border-color:rgba(1,54,107,.3); transform:translateY(-7px); box-shadow:0 22px 50px rgba(1,54,107,.12); }
    .svc:hover::before { transform:scaleX(1); }
    .svc-img { width:100%; line-height:0; overflow:hidden; }
    .svc-img img {
      width:100%; height:180px; object-fit:cover; object-position:center; display:block;
      transition:transform .5s var(--ease);
    }
    .svc:hover .svc-img img { transform:scale(1.06); }
    .svc-body {
      padding:28px 26px 30px; flex:1;
      display:flex; flex-direction:column; align-items:center; text-align:center;
    }
    .svc-body h3 { font-size:1.1rem; font-weight:700; margin-bottom:10px; color:var(--blue); }
    .svc-body p  { font-size:.87rem; color:var(--txt-sub-light); line-height:1.7; flex:1; }
    .svc-link {
      display:inline-flex; align-items:center; justify-content:center;
      margin:22px auto 0; width:46px; height:46px; border-radius:50%;
      background:var(--accent-tint); border:1px solid var(--bd-accent);
      color:var(--navy); text-decoration:none;
      transition:background .22s, color .22s, transform .22s;
    }
    .svc:hover .svc-link { background:var(--navy); color:#fff; transform:translateY(-3px); }


    /* ===================== PORTFOLIO ===================== */
    .portfolio-head { text-align:center; margin-bottom:54px; }
    .portfolio-head .subtitle { margin:0 auto; }
    .portfolio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
    .p-item { border-radius:var(--r); overflow:hidden; aspect-ratio:4/3; position:relative; cursor:pointer; }
    .p-ph {
      width:100%; height:100%;
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      padding:24px; text-align:center; position:relative;
    }
    .p-cat {
      position:absolute; top:11px; left:11px;
      background:rgba(1,54,107,.65); backdrop-filter:blur(8px);
      color:#fff; font-size:.67rem; font-weight:700;
      text-transform:uppercase; letter-spacing:.09em;
      padding:4px 10px; border-radius:5px;
    }
    .p-overlay { position:absolute; inset:0; background:rgba(0,0,0,0); transition:background .28s; }
    .p-item:hover .p-overlay { background:rgba(0,0,0,.45); }
    .p-hint {
      position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
      gap:8px; color:#fff; font-size:.82rem; font-weight:600; letter-spacing:.04em;
      opacity:0; transition:opacity .25s; z-index:2; text-shadow:0 1px 4px rgba(0,0,0,.6);
    }
    .p-item:hover .p-hint { opacity:1; }
    .p-count {
      display:none;
      position:absolute; bottom:10px; right:10px; z-index:2;
      background:rgba(0,0,0,.55); backdrop-filter:blur(6px);
      color:#fff; font-size:.65rem; font-weight:700; letter-spacing:.07em;
      text-transform:uppercase; padding:3px 9px; border-radius:4px;
    }
    .p-count-soon { background:rgba(255,255,255,.15); }

    /* ===================== LIGHTBOX ===================== */
    .lb-overlay {
      position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9000;
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      opacity:0; pointer-events:none; transition:opacity .25s;
    }
    .lb-overlay.open { opacity:1; pointer-events:all; }
    .lb-close {
      position:absolute; top:24px; right:20px;
      background:rgba(0,0,0,.55); border:2px solid rgba(255,255,255,.9);
      color:#fff; font-size:3.2rem; line-height:1;
      width:92px; height:92px; border-radius:50%;
      display:flex; align-items:center; justify-content:center;
      cursor:pointer; opacity:.95; transition:.2s; z-index:3;
    }
    .lb-close:hover { opacity:1; }
    .lb-content { position:relative; max-width:90vw; max-height:78vh; display:flex; align-items:center; justify-content:center; }
    .lb-img { max-width:90vw; max-height:78vh; object-fit:contain; border-radius:8px; display:block; }
    .lb-ph-box {
      width:min(600px,80vw); height:min(400px,55vh);
      background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
      border-radius:12px; display:flex; flex-direction:column;
      align-items:center; justify-content:center; gap:14px; color:rgba(255,255,255,.5);
      font-size:.95rem; text-align:center; padding:32px;
    }
    .lb-ph-box svg { opacity:.3; }
    .lb-nav {
      position:absolute; top:50%; transform:translateY(-50%);
      background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15);
      color:#fff; font-size:2rem; width:52px; height:52px;
      border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center;
      transition:.2s; z-index:2; line-height:1;
    }
    .lb-nav:hover { background:rgba(255,255,255,.22); }
    .lb-nav:disabled { opacity:.2; cursor:default; }
    .lb-prev { left:16px; }
    .lb-next { right:16px; }
    .lb-footer {
      margin-top:18px; display:flex; align-items:center; gap:16px;
      color:rgba(255,255,255,.55); font-size:.82rem;
    }
    .lb-cat { color:#fff; font-weight:700; font-size:.88rem; text-transform:uppercase; letter-spacing:.08em; }
    .lb-dots { display:flex; gap:6px; }
    .lb-dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.3); border:none; cursor:pointer; padding:0; transition:.2s; }
    .lb-dot.active { background:#fff; }


    /* ===================== RECENSIONI ===================== */
    .reviews {
      background: #010c24;
      background-image:
        radial-gradient(ellipse at 80% 10%, rgba(1,54,107,.65) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(24,85,200,.25) 0%, transparent 50%),
        linear-gradient(160deg, #010c24 0%, #01244a 55%, #01366b 100%);
    }
    .reviews-head { text-align:center; margin-bottom:54px; }
    .reviews-head .subtitle { margin:0 auto; }
    .c-slide { display:none; padding:0 40px; }
    .c-slide.on { display:block; animation:fadeSlide .42s ease both; }
    @keyframes fadeSlide { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }
    .review-card {
      background:linear-gradient(145deg, #ffffff 0%, #f4f7fb 100%);
      border:1px solid rgba(1,54,107,.1);
      border-radius:20px; padding:48px 56px;
      max-width:800px; margin:0 auto; position:relative;
      box-shadow:0 8px 40px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.8) inset;
    }
    .review-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:12px; }
    .stars { display:flex; gap:3px; align-items:center; }
    .star svg { width:20px; height:20px; }
    .google-badge {
      display:inline-flex; align-items:center; gap:6px;
      background:#f1f3f4; border:1px solid #dadce0;
      border-radius:20px; padding:5px 13px;
      font-size:.7rem; font-weight:600; color:#5f6368; letter-spacing:.04em;
    }
    .google-badge svg { width:13px; height:13px; flex-shrink:0; }
    .review-txt {
      font-size:.98rem; color:#3c4043;
      line-height:1.88; font-style:italic; margin-bottom:28px;
    }
    .reviewer { display:flex; align-items:center; gap:14px; }
    .rev-av {
      width:48px; height:48px; border-radius:50%; overflow:hidden;
      background:linear-gradient(135deg, var(--accent), #2A5E92);
      color:#fff; display:flex; align-items:center; justify-content:center;
      font-weight:800; font-size:.95rem; flex-shrink:0;
      box-shadow:0 4px 14px rgba(1,54,107,.35);
    }
    .rev-name { font-weight:700; font-size:.97rem; color:#202124; }
    .rev-role { font-size:.76rem; color:#80868b; margin-top:2px; }
    .c-controls { display:flex; align-items:center; justify-content:center; gap:18px; margin-top:40px; }
    .c-btn {
      width:44px; height:44px; border-radius:50%;
      background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.13);
      color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.25s var(--ease);
    }
    .c-btn:hover { background:var(--accent); border-color:var(--accent); }
    .c-dots { display:flex; gap:7px; }
    .c-dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.2); cursor:pointer; transition:.25s var(--ease); }
    .c-dot.on { background:var(--accent); width:22px; border-radius:4px; }


    /* ===================== CTA / FORM ===================== */
    /* Sfondo unico chiaro + header centrato; sotto: form (sx, allargato) | vantaggi+mascotte (dx) */
    .cta-section {
      position:relative; overflow:hidden;
      background:
        radial-gradient(42% 46% at 22% 38%, rgba(1,54,107,.08), transparent 62%),
        radial-gradient(46% 52% at 86% 72%, rgba(60,120,200,.10), transparent 64%),
        linear-gradient(155deg,#ffffff 0%, #f4f8fd 48%, #e9f1fb 100%);
    }
    /* alone soft aggiuntivo dietro la card del form, molto tenue */
    .cta-section::before {
      content:""; position:absolute; z-index:0; pointer-events:none;
      left:-6%; top:30%; width:52%; height:70%;
      background:radial-gradient(circle at 50% 50%, rgba(1,54,107,.07), transparent 60%);
      filter:blur(2px);
    }
    /* il contenuto galleggia sopra gli aloni */
    .cta-section .container { position:relative; z-index:1; }

    .cta-head { text-align:center; margin-bottom:48px; }
    .cta-head .subtitle { margin:0 auto; }

    .cta-body {
      display:flex;
      justify-content:center;
    }

    /* CARD UNICA A 3 PANNELLI: form bianco (sx) | vantaggi blu (centro) | mascotte azzurro (dx) */
    .form-card-inner {
      display:grid;
      grid-template-columns:40fr 28fr 32fr;
      align-items:stretch;
      gap:0;
    }
    /* Divisori verticali sottili tra i pannelli */
    .form-card-perks { border-left:1px solid var(--bd-light); }
    .form-card-mascot { border-left:1px solid var(--bd-light); }

    .form-card-form { min-width:0; padding:38px 40px; }
    .form-card-head { text-align:center; margin-bottom:26px; }
    .form-card-title { font-size:1.3rem; font-weight:800; color:var(--blue); letter-spacing:-.01em; }
    .form-card-sub { font-size:.82rem; color:var(--txt-sub-light); margin-top:6px; }

    /* PANNELLO 2 — VANTAGGI (blu scuro), contenuto centrato verticalmente */
    .form-card-perks {
      min-width:0;
      background:linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
      display:flex; align-items:center; justify-content:center;
      padding:40px 34px;
    }
    .perks-inner { width:100%; }
    .perks-title {
      display:block; margin-bottom:22px;
      font-size:.82rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
      color:rgba(255,255,255,.72);
    }

    /* PANNELLO 3 — MASCOTTE (azzurro chiaro, pulito): stage mascotte+bubble sopra, strip icone sotto */
    .form-card-mascot {
      min-width:0; position:relative; overflow:hidden;
      display:flex; flex-direction:column;
      background:linear-gradient(180deg,#f3f8fe 0%, #e7f1fc 100%);
    }
    /* Stage: area dove vive la mascotte; la sua base poggia sulla linea della strip icone.
       padding-top = banda libera SOPRA la testa dove vive la bubble (così non copre il viso) */
    .cta-mascot-stage {
      position:relative; flex:1 1 auto;
      display:flex; align-items:flex-end; justify-content:center;
      padding:96px 14px 0;
      min-height:270px;
    }
    .cta-mascot-img {
      display:block; width:100%; max-width:270px;   /* ~18% più grande di prima (230→270) */
      margin-bottom:30px;           /* RITOCCO: mascotte sollevata di 30px → la mano tesa resta sopra l'onda */
      filter:drop-shadow(0 12px 22px rgba(1,54,107,.18));
      position:relative; z-index:2; /* mascotte TRA i due strati d'onda (rear dietro, front davanti) */
    }
    /* Onda a 2 strati attorno alla mascotte, a tutta larghezza del pannello, ancorata al basso
       (la linea = pavimento della strip icone). Altezza 128px: copre busto basso/gambe. */
    .cta-mascot-base {
      position:absolute; left:0; right:0; bottom:0;
      width:100%; height:128px;
      pointer-events:none; overflow:visible;
    }
    /* Strato POSTERIORE (scuro + contorno): DIETRO la mascotte */
    .cta-wave-rear  { z-index:1; }
    /* Strato ANTERIORE (azzurro chiaro): DAVANTI la mascotte → la copre, la mascotte spunta in mezzo */
    .cta-wave-front { z-index:3; }
    /* 2 livelli di riempimento azzurro per dare profondità (back più saturo, front più chiaro ma
       ben distinto dallo sfondo tenue del pannello) */
    .cta-mascot-base .wave-back  { fill:rgba(1,54,107,.22); }
    .cta-mascot-base .wave-front { fill:#cfe2f6; }
    /* Profilo superiore marcato: la "linea curva" dell'onda, ora ben visibile */
    .cta-mascot-base .wave-line {
      fill:none; stroke:var(--blue); opacity:.55;
      stroke-width:2.4; stroke-linecap:round;
      vector-effect:non-scaling-stroke;
    }
    /* Bubble: SOPRA la testa della mascotte (non la copre), codina che punta in basso verso di lei (effetto "parla").
       Ancorata dal basso (bottom) = segue la testa: la mascotte è alta ~337px (poggia a bottom:0),
       quindi bottom:348px tiene il bordo inferiore della bubble appena sopra la cima del cappellino. */
    .speech-bubble {
      position:absolute; z-index:4;
      bottom:378px; left:50%; transform:translateX(-50%); max-width:200px;
      background:var(--white); border:1.5px solid var(--bd-light);
      border-radius:16px 16px 16px 16px;
      padding:12px 16px; font-size:.78rem; color:var(--txt-sub-light);
      line-height:1.5; text-align:center;
      box-shadow:0 8px 20px rgba(1,54,107,.12);
    }
    .speech-bubble strong { color:var(--blue); display:block; margin-bottom:4px; }
    /* Codina centrata in basso, punta verso la testa della mascotte (effetto "parla" dall'alto) */
    .speech-bubble::after {
      content:''; position:absolute; z-index:-1;
      bottom:-6px; left:50%; margin-left:-6px; width:12px; height:12px;
      background:inherit;
      border-right:1.5px solid var(--bd-light); border-bottom:1.5px solid var(--bd-light);
      transform:rotate(45deg);
    }

    /* FASCIA 3 ICONE-SERVIZIO: border-top sottile = linea/pavimento su cui poggia la mascotte */
    .cta-svc-strip {
      position:relative; z-index:2;
      display:grid; grid-template-columns:repeat(3,1fr);
      border-top:1px solid var(--bd-light);
      background:rgba(255,255,255,.35);
    }
    .cta-svc {
      display:flex; flex-direction:column; align-items:center; gap:8px;
      padding:16px 10px; text-align:center;
      border-left:1px solid rgba(1,54,107,.12);
    }
    .cta-svc:first-child { border-left:none; }
    .cta-svc-ico {
      width:34px; height:34px; display:flex; align-items:center; justify-content:center;
    }
    .cta-svc-ico svg {
      width:26px; height:26px; fill:none; stroke:var(--blue);
      stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
    }
    .cta-svc-lbl { font-size:.68rem; line-height:1.35; color:var(--txt-sub-light); font-weight:600; }

    .perks { list-style:none; display:flex; flex-direction:column; gap:16px; margin-bottom:0; width:100%; }
    .perks li { display:flex; align-items:center; gap:13px; color:#eaf1fb; font-size:.9rem; line-height:1.4; }
    .perk-ico {
      width:24px; height:24px; min-width:24px;
      background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.35);
      border-radius:50%; display:flex; align-items:center; justify-content:center;
    }
    .perk-ico svg { width:13px; height:13px; fill:none; stroke:#fff; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }

    /* Card unica — overflow:hidden così il pannello blu segue gli angoli arrotondati */
    .form-card {
      position:relative; z-index:1;
      background:var(--white); border:1.5px solid var(--bd-light);
      border-radius:var(--r2); overflow:hidden;
      box-shadow:0 24px 56px rgba(1,54,107,.16);
    }
    .fg { margin-bottom:18px; }
    .fg label { display:block; font-size:.77rem; font-weight:600; color:var(--txt-sub-light); margin-bottom:9px; text-transform:uppercase; letter-spacing:.04em; }
    .fg input, .fg select, .fg textarea {
      width:100%; background:var(--blue-bg); border:1.5px solid var(--bd-light);
      border-radius:9px; padding:14px 18px;
      font-family:'Poppins',sans-serif; font-size:.92rem;
      color:var(--blue); outline:none; transition:border-color .22s,box-shadow .22s;
    }
    .fg input::placeholder, .fg textarea::placeholder { color:var(--txt-muted-light); }
    .fg input:focus,.fg select:focus,.fg textarea:focus {
      border-color:var(--blue); box-shadow:0 0 0 3px rgba(1,54,107,.1);
    }
    .fg select {
      cursor:pointer; appearance:none;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a6890' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat:no-repeat; background-position:right 14px center;
    }
    .fg select option { background:var(--white); color:var(--blue); }
    .fg textarea { resize:none; min-height:120px; overflow-y:auto; }
    .fg-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    .fg-row .fg { margin-bottom:0; }
    .btn-submit { width:100%; justify-content:center; padding:15px; font-size:.97rem; font-weight:700; margin-top:6px; }
    .form-note { font-size:.72rem; color:var(--txt-muted-light); text-align:center; margin-top:10px; }
    .form-ok { display:none; text-align:center; padding:36px 20px; }
    .form-ok.show { display:block; }
    .ok-ico {
      width:62px; height:62px; border-radius:50%;
      background:var(--accent-tint); border:2px solid var(--accent);
      display:flex; align-items:center; justify-content:center;
      font-size:1.7rem; margin:0 auto 14px;
    }
    .form-ok h4 { font-size:1.15rem; font-weight:700; color:var(--navy); margin-bottom:7px; }
    .form-ok p  { color:var(--txt-sub-light); font-size:.88rem; }


    /* ===================== CONTATTI (chiaro) ===================== */
    .contacts {
      background:var(--blue-bg);
      border-top:1px solid var(--bd-light);
    }
    .contacts-head { text-align:center; margin-bottom:52px; }
    .contacts-head .subtitle { margin:0 auto; }
    .contacts-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:48px; align-items:stretch; }

    /* --- SINISTRA: orari (liberi, no card) + mappa --- */
    .ct-left { display:flex; flex-direction:column; gap:30px; min-width:0; }

    .ct-hours-head { display:flex; align-items:center; gap:14px; margin-bottom:6px; }
    .ct-hours-ico {
      width:44px; height:44px; flex-shrink:0; border-radius:12px;
      display:flex; align-items:center; justify-content:center;
      background:rgba(1,54,107,.08); border:1px solid rgba(1,54,107,.16);
    }
    .ct-hours-ico svg { width:22px; height:22px; fill:none; stroke:var(--blue); stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .ct-hours-head h3 { font-size:1.15rem; font-weight:700; color:var(--blue); letter-spacing:.01em; }
    .ct-hours-list { list-style:none; display:flex; flex-direction:column; }
    .ct-hours-list li { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:13px 2px; border-bottom:1px solid var(--bd-light); }
    .ct-hours-list li:first-child { border-top:1px solid var(--bd-light); }
    .ct-day  { color:var(--txt-sub-light); font-size:.95rem; }
    .ct-time { color:var(--blue); font-size:.95rem; font-weight:600; }
    .ct-hours-list li.is-closed .ct-time { color:#9aa5b5; font-weight:500; }

    .ct-map-wrap { display:flex; flex-direction:column; gap:14px; flex:1; }
    .ct-map-frame {
      position:relative; flex:1; min-height:360px; border-radius:18px; overflow:hidden;
      border:1px solid var(--bd-light); background:#fff;
      box-shadow:0 14px 34px rgba(1,54,107,.1);
    }
    .ct-map-frame iframe { width:100%; max-width:100%; height:100%; border:0; display:block; }
    .ct-map-addr {
      display:inline-flex; align-items:center; gap:10px;
      color:var(--blue); font-size:.9rem; font-weight:600; text-decoration:none;
      transition:color .22s;
    }
    .ct-map-addr:hover { color:var(--blue-mid); }
    .ct-map-addr svg { width:18px; height:18px; flex-shrink:0; fill:none; stroke:var(--blue); stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }

    /* --- DESTRA: assistenza/WhatsApp + aziende/email --- */
    .ct-right { display:flex; flex-direction:column; gap:22px; min-width:0; }
    .ct-box {
      background:#fff; border:1px solid var(--bd-light);
      border-radius:16px; padding:24px 26px;
      box-shadow:0 10px 28px rgba(1,54,107,.07);
      display:flex; flex-direction:column; flex:1;
    }
    .ct-box-title { font-size:1.08rem; font-weight:700; color:var(--blue); margin-bottom:8px; }
    .ct-box-txt { font-size:.9rem; line-height:1.6; color:var(--txt-sub-light); margin-bottom:16px; }

    /* riga valore esposto + pulsante copia */
    .ct-copyrow {
      display:flex; align-items:center; gap:8px; margin-bottom:18px;
      background:var(--blue-bg); border:1px solid var(--bd-light);
      border-radius:10px; padding:8px 8px 8px 14px;
    }
    .ct-copyval {
      flex:1; min-width:0; color:var(--blue); font-weight:600; font-size:.95rem;
      text-decoration:none; user-select:all; -webkit-user-select:all;
      overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    }
    .ct-copyval:hover { color:var(--blue-mid); }
    .ct-copybtn {
      flex-shrink:0; width:34px; height:34px; border-radius:8px; cursor:pointer;
      display:inline-flex; align-items:center; justify-content:center;
      background:#fff; border:1px solid var(--bd-light); color:var(--blue);
      position:relative; transition:background .2s, border-color .2s, color .2s;
    }
    .ct-copybtn:hover { background:rgba(1,54,107,.06); border-color:rgba(1,54,107,.3); }
    .ct-copybtn svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
    .ct-copybtn.copied { background:var(--blue); border-color:var(--blue); color:#fff; }
    .ct-copybtn.copied::after {
      content:'Copiato!'; position:absolute; bottom:calc(100% + 8px); left:50%;
      transform:translateX(-50%); background:var(--blue); color:#fff;
      font-size:.72rem; font-weight:600; padding:4px 9px; border-radius:6px; white-space:nowrap;
    }

    .ct-btn {
      display:inline-flex; align-items:center; justify-content:center; gap:11px;
      align-self:flex-start; margin-top:auto; padding:12px 22px; border-radius:12px;
      font-size:.92rem; font-weight:700; text-decoration:none; color:#fff;
      border:1px solid transparent;
      transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    }
    .ct-btn-ico { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; flex-shrink:0; }
    .ct-btn-wa { background:#25d366; box-shadow:0 8px 22px rgba(37,211,102,.3); }
    .ct-btn-wa:hover { background:#20bd5a; transform:translateY(-3px); box-shadow:0 12px 28px rgba(37,211,102,.4); }
    .ct-btn-wa .ct-btn-ico svg { width:20px; height:20px; fill:#fff; stroke:none; }
    .ct-btn-mail { background:var(--blue); box-shadow:0 8px 22px rgba(1,54,107,.25); }
    .ct-btn-mail:hover { background:var(--blue-mid); transform:translateY(-3px); box-shadow:0 12px 28px rgba(1,54,107,.35); }
    .ct-btn-mail .ct-btn-ico svg { width:19px; height:19px; fill:none; stroke:#fff; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }


    /* ===================== FOOTER ===================== */
    .footer {
      background: #010c24;
      background-image: linear-gradient(180deg, #010c24 0%, #01244a 60%, #012554 100%);
      padding:52px 0 28px;
      border-top:1px solid rgba(255,255,255,.1);
    }
    .footer-top {
      display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:44px;
    }

    /* Colonna brand footer: logo + descrizione + social centrati tra loro */
    .f-brand {
      display:flex; flex-direction:column; align-items:center; text-align:center;
    }

    /* logo-testo nel footer — bianco su sfondo scuro, nessun contenitore */
    .f-logo-wrap {
      display:inline-flex;
      margin-bottom:18px;
      text-decoration:none; cursor:pointer;
    }
    .f-logo-wrap img {
      width:260px; height:auto; display:block; object-fit:contain;
      filter:brightness(0) invert(1);
    }

    .f-brand-desc { color:var(--txt-muted-dark); font-size:.84rem; line-height:1.7; max-width:260px; margin-bottom:20px; margin-left:auto; margin-right:auto; }

    /* Social icons — sfondo bianco, icone blu, hover rosso */
    .f-social { display:flex; gap:10px; margin-top:4px; justify-content:center; }
    .soc {
      width:52px; height:52px;
      background:var(--white); border:none;
      border-radius:12px; display:flex; align-items:center; justify-content:center;
      color:var(--blue); text-decoration:none;
      transition:.25s var(--ease);
      box-shadow:0 2px 8px rgba(0,0,0,.18);
    }
    .soc:hover { background:var(--accent); color:#fff; transform:translateY(-3px); box-shadow:0 6px 16px rgba(1,54,107,.35); }
    .soc svg { width:24px; height:24px; fill:currentColor; }

    .f-col h5 { font-size:.74rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--txt-muted-dark); margin-bottom:14px; }
    .f-links { list-style:none; display:flex; flex-direction:column; gap:9px; }
    .f-links a { color:var(--txt-sub-dark); text-decoration:none; font-size:.85rem; transition:color .2s; }
    .f-links a:hover { color:var(--accent); }

    .f-bottom {
      border-top:1px solid var(--bd-dark); padding-top:24px;
      display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
    }
    .f-bottom p { font-size:.76rem; color:var(--txt-muted-dark); }
    .f-legal-link { background:none; border:none; color:var(--txt-muted-dark); font-size:.76rem; cursor:pointer; padding:0; text-decoration:underline; text-underline-offset:2px; transition:color .2s; }
    .f-legal-link:hover { color:#fff; }

    /* ===================== PRIVACY MODAL ===================== */
    .prv-overlay {
      position:fixed; inset:0; background:rgba(0,0,0,.7); z-index:8000;
      display:flex; align-items:center; justify-content:center; padding:20px;
      opacity:0; pointer-events:none; transition:opacity .25s;
    }
    .prv-overlay.open { opacity:1; pointer-events:all; }
    .prv-box {
      background:#fff; border-radius:16px; width:min(780px,100%);
      max-height:85vh; display:flex; flex-direction:column;
      box-shadow:0 24px 80px rgba(0,0,0,.4);
    }
    .prv-head {
      padding:28px 36px 20px; border-bottom:1px solid var(--bd-light);
      display:flex; align-items:center; justify-content:space-between; flex-shrink:0;
    }
    .prv-head h3 { font-size:1.15rem; font-weight:800; color:var(--blue); margin:0; }
    .prv-close { background:none; border:none; font-size:1.6rem; cursor:pointer; color:var(--txt-muted-light); line-height:1; padding:0; transition:color .2s; }
    .prv-close:hover { color:var(--blue); }
    .prv-tabs { display:flex; gap:0; flex-shrink:0; border-bottom:1px solid var(--bd-light); }
    .prv-tab { flex:1; padding:12px; border:none; background:none; font-size:.82rem; font-weight:600; color:var(--txt-muted-light); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; transition:.2s; }
    .prv-tab.active { color:var(--blue); border-bottom-color:var(--blue); }
    .prv-body { padding:32px 36px; overflow-y:auto; flex:1; font-size:.88rem; line-height:1.75; color:var(--txt-sub-light); }
    .prv-body h4 { font-size:.92rem; font-weight:700; color:var(--blue); margin:24px 0 8px; }
    .prv-body h4:first-child { margin-top:0; }
    .prv-body p { margin-bottom:12px; }
    .prv-body ul { padding-left:18px; margin-bottom:12px; }
    .prv-body ul li { margin-bottom:5px; }
    .prv-body a { color:var(--blue); }
    .prv-body strong { color:var(--blue-dark); }

    /* ===================== SCROLL TOP ===================== */
    .go-top {
      position:fixed; bottom:28px; right:28px;
      width:42px; height:42px; background:var(--navy); color:#fff;
      border:none; border-radius:50%; cursor:pointer;
      display:flex; align-items:center; justify-content:center;
      opacity:0; transform:translateY(16px);
      transition:opacity .28s var(--ease), transform .28s var(--ease), background .28s ease, color .28s ease;
      z-index:90; box-shadow:0 4px 18px rgba(1,54,107,.4);
    }
    .go-top.show { opacity:1; transform:none; }
    .go-top:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.3); }
    .go-top.on-dark { background:#fff; color:var(--navy); box-shadow:0 4px 18px rgba(0,0,0,.35); }

    /* ===================== RESPONSIVE ===================== */

    /* ── iPad + tutto sotto desktop (≤1040px) — layout mobile compatto 2-col ── */
    @media(max-width:1040px){

      /* NAV: hamburger sx | logo centro | CTA dx (equidistanti) */
      .nav-links { display:none; }
      .nav-inner { gap:10px; padding:0 22px; }
      .nav-logo { order:2; flex:1; display:flex; justify-content:center; }
      .nav-logo img { height:78px; }
      .ham { order:1; display:flex; min-width:42px; justify-content:center; }
      .nav-cta { order:3; padding:11px 14px; font-size:.82rem; gap:6px; border-radius:50px; min-width:42px; justify-content:center; }
      .nav-cta-ico { display:block; }

      /* HERO: 2 colonne come desktop, compatto */
      .hero { padding-top:108px; padding-bottom:40px; }
      .hero-grid { grid-template-columns:1.4fr .85fr; gap:14px; padding:14px 0 0; align-items:start; }
      .hero-txt { text-align:left; order:1; }
      .hero-sub { margin:0 0 18px; max-width:none; }
      .hero-ctas { justify-content:flex-start; }

      /* BG overlay laterale (come desktop) */
      .hero-bg-overlay { background:linear-gradient(to right, #fff 0%, rgba(255,255,255,.95) 28%, rgba(255,255,255,.5) 55%, rgba(255,255,255,0) 75%); }
      .hero-orb-1 { width:320px; height:320px; }
      .hero-orb-2 { width:220px; height:220px; opacity:.85; }
      .hero-orb-3 { width:200px; height:200px; }
      .hero-orb-4 { width:160px; height:160px; }

      /* Titolo largo (b) */
      .hero-title { font-size:clamp(1.7rem,4.8vw,2.8rem); margin-bottom:14px; line-height:1.12; letter-spacing:-.02em; }
      .hero-sub { font-size:.9rem; line-height:1.6; margin-bottom:20px; }

      /* CTA armoniosi piu piccoli (c) */
      .hero-ctas { gap:10px; margin-bottom:18px; flex-wrap:nowrap; }
      .hero-ctas .btn { padding:11px 14px; font-size:.74rem; border-radius:50px; width:auto; justify-content:center; gap:6px; flex:1; font-weight:600; }
      .hero-ctas .btn svg { width:13px; height:13px; }

      /* MASCOT dx: bottom su linea superiore stats card (d) */
      .hero-mascot-col { order:2; align-self:stretch; height:auto; margin-bottom:0; overflow:visible; position:relative; z-index:5; }
      .mascot-wrapper { position:absolute; bottom:-6px; left:50%; transform:translateX(-50%); }
      .mascot-hero { height:188px; filter:drop-shadow(0 14px 24px rgba(0,0,0,.25)); }
      .mascot-cta-text { font-size:.72rem; padding:8px 15px; max-width:180px; margin-bottom:18px; }

      /* Stats card 3 col compatta */
      .hero-stats-card { grid-template-columns:repeat(3,1fr); padding:18px 18px; gap:10px; border-radius:18px; margin-top:0; }
      .hero-stat { padding:0 10px; gap:12px; border-right:1px solid #e3ebf6; }
      .hero-stat:last-child { border-right:none; }
      .hero-stat-ico { width:44px; height:44px; border-radius:11px; }
      .hero-stat-ico svg { width:22px; height:22px; }
      .hero-stat-n { font-size:1.05rem; }
      .hero-stat-l { font-size:.78rem; margin-top:3px; line-height:1.2; }

      /* SEZIONI: tutto a 2 colonne */
      .services-grid  { grid-template-columns:repeat(2,1fr); }
      .stats-grid     { grid-template-columns:repeat(3,1fr); }
      .stat + .stat::before { display:none; }
      .about-grid     { grid-template-columns:1fr; gap:40px; }
      .contacts-grid  { grid-template-columns:minmax(0,1fr); gap:34px; align-items:stretch; }
      .ct-map-frame   { flex:none; min-height:0; height:320px; }
      .ct-right { gap:20px; }
      .ct-box { flex:none; }
      .ct-btn { margin-top:16px; }
      .portfolio-grid { grid-template-columns:repeat(2,1fr); }

      /* RECENSIONI compatte */
      .reviews-head { margin-bottom:30px; }
      .c-slide { padding:0 16px; }
      .review-card { padding:26px 24px; border-radius:16px; }
      .review-txt { font-size:.85rem; line-height:1.7; margin-bottom:18px; }
      .star svg { width:16px; height:16px; }
      .google-badge { font-size:.62rem; padding:4px 10px; }
      .rev-av { width:40px; height:40px; font-size:.82rem; }
      .rev-name { font-size:.85rem; }
      .rev-role { font-size:.68rem; }
      .c-controls { margin-top:24px; }

      /* PREVENTIVO: i 3 pannelli si impilano full-width, divisori orizzontali */
      .cta-head { margin-bottom:34px; }
      .form-card { width:100%; }
      .form-card-inner { grid-template-columns:1fr; gap:0; align-items:stretch; }
      .form-card-perks, .form-card-mascot { border-left:none; border-top:1px solid var(--bd-light); }
      .form-card-form { padding:32px 30px; }
      .form-card-perks { padding:34px 30px; }
      .cta-mascot-stage { min-height:300px; padding:112px 20px 0; }
      .cta-mascot-img { max-width:250px; }
      /* bubble ancorata dal basso = sopra la testa (mascotte alta ~312px a max-width 250, sollevata 30px) */
      .speech-bubble { bottom:352px; top:auto; left:50%; transform:translateX(-50%); max-width:240px; font-size:.8rem; padding:12px 16px; }
      .speech-bubble strong { font-size:.84rem; margin-bottom:3px; }
      /* onda a 2 strati: resta a tutta larghezza del pannello, mascotte in mezzo */
      .cta-mascot-base { left:0; right:0; width:100%; height:118px; }
      .cta-svc-lbl { font-size:.74rem; }
      .perks { gap:12px; }
      .perks li { font-size:.88rem; gap:11px; line-height:1.4; }

      /* FOOTER: brand full | Servizi+Azienda 2col | Assistenza full */
      .footer-top { grid-template-columns:1fr 1fr; gap:28px 24px; }
      .footer-top .f-brand { grid-column:1 / -1; }
      .footer-top .f-col:last-child { grid-column:1 / -1; }
    }

    /* ── Tablet portrait / phone landscape (≤768px) — refine ── */
    @media(max-width:768px){
      .section { padding:64px 0; }
      .nav-logo img { height:60px; }
      .hero { padding-top:100px; padding-bottom:32px; }
      .hero-title { font-size:clamp(1.35rem,4.4vw,1.9rem); }
      .hero-sub { font-size:.82rem; }
      .mascot-hero { height:164px; }
      .mascot-wrapper { bottom:-4px; }
      .hero-stats-card { padding:16px 14px; gap:8px; }
      .hero-stat { padding:0 8px; gap:9px; }
      .hero-stat-ico { width:40px; height:40px; }
      .hero-stat-ico svg { width:20px; height:20px; }
      .hero-stat-n { font-size:.95rem; }
      .hero-stat-l { font-size:.7rem; }
      .fg-row  { grid-template-columns:1fr; }
      .f-bottom { flex-direction:column; text-align:center; gap:10px; }
      .cta-mascot-img { max-width:220px; }
    }

    /* ── Fix range 521-600: bubble mascotte ridotto ── */
    @media(min-width:521px) and (max-width:600px){
      .hero-ctas .btn { padding:10px 10px; font-size:.7rem; }
      .mascot-cta-text { font-size:.6rem; padding:6px 12px; max-width:150px; }
    }

    /* ── Fix range ≤416: padding ridotto, mascotte visibile, stats/btn anti-overflow ── */
    @media(max-width:416px){
      .container { padding:0 12px; }
      .hero-ctas { gap:6px; }
      .hero-ctas .btn { padding:9px 4px; font-size:.55rem; gap:3px; min-width:0; }
      .hero-ctas .btn svg { width:7px; height:10px; }
      .hero-stats-card { padding:10px 5px; gap:3px; }
      .hero-stat { padding:0 2px; }
      .hero-stat-n { font-size:.6rem; line-height:1.1; }
      .hero-stat-l { font-size:.46rem; word-break:normal; hyphens:auto; }
    }

    /* ── Telefoni portrait (≤520px) — finest ── */
    @media(max-width:520px){
      .section { padding:52px 0; }

      /* NAV: CTA icon-only, largo orrizontalmente; ham + CTA staccati dal bordo */
      .nav-inner { gap:8px; padding:0 18px 0 22px; }
      .nav-logo { padding-left:10px; }
      .nav-cta { margin-right:8px; }
      .nav-logo img { height:60px; }
      .ham { min-width:46px; padding:6px 10px; }
      .nav-cta { padding:10px 28px; gap:0; min-width:auto; }
      .nav-cta-txt { display:none; }
      .nav-cta-ico { width:20px; height:20px; }

      /* HERO finest — 1 col, mascotte assoluta */
      .hero { padding-top:94px; padding-bottom:24px; }
      .hero-grid { grid-template-columns:1fr; gap:0; padding:8px 0 0; position:relative; }
      .hero-txt { text-align:left; }
      /* Titolo full width — niente <br>, wrap naturale 3 righe */
      .hero-title { font-size:clamp(1.7rem,7vw,2.4rem); margin-bottom:12px; line-height:1.1; }
      .hero-title br { display:none; }
      /* Sottotitolo full width */
      .hero-sub { font-size:.65rem; line-height:1.55; margin-bottom:18px; max-width:240px; }

      /* Bottoni larghi e affiancati */
      .hero-ctas { gap:8px; margin-bottom:130px; flex-wrap:wrap; transform: translateX(-2px); }
      .hero-ctas .btn { padding:10px 5px; font-size:.60rem; border-radius:10px; gap:5px; flex:1; justify-content:center; }
      .hero-ctas .btn svg { width:8px; height:12px; }

      .hero-orb-1 { width:240px; height:240px; }
      .hero-orb-2 { width:160px; height:160px; }
      .hero-orb-3 { width:140px; height:140px; }
      .hero-orb-4 { width:110px; height:110px; }

      /* Mascotte assoluta dx, bubble absoluta accanto al viso */
      .hero-mascot-col { position:absolute; bottom:0; right:85px; left:auto; top:auto; height:auto; width:auto; align-self:auto; z-index:5; overflow:visible; }
      .mascot-wrapper { position:relative; display:block; }
      .mascot-hero { height:124px; max-width:none; display:block; }
      .mascot-cta-text { position:absolute; bottom:72px; left:100%; margin:0 0 0 -24px; font-size:.55rem; padding:6px 11px; max-width:115px; text-align:center; line-height:1.4; white-space:normal; z-index:6; }
      /* Su mobile la bubble sta di lato al viso: niente codina in basso, animazione solo fade-in */
      .mascot-cta-text::after { display:none; }
      .mascot-cta-text { opacity:0; animation:bubble-in .6s ease .6s both; }

      /* Meno particelle su mobile (performance): ne restano 5 */
      .hero-particles span:nth-child(n+6) { display:none; }

      .hero-stats-card { padding:11px 8px; gap:4px; border-radius:13px; }
      .hero-stat { padding:0 4px; gap:5px; flex-direction:column; text-align:center; align-items:center; }
      .hero-stat-ico { width:26px; height:26px; border-radius:7px; }
      .hero-stat-ico svg { width:14px; height:14px; }
      .hero-stat-n { font-size:.68rem; line-height:1.15; }
      .hero-stat-l { font-size:.52rem; margin-top:2px; }

      /* Contatti: impila orari, mappa, blocchi; dimensioni compatte */
      #contatti { padding:40px 0; }
      .contacts-head { margin-bottom:28px; }
      .contacts-grid { gap:28px; }
      .ct-left { gap:24px; }
      .ct-map-frame { height:240px; border-radius:14px; }
      .ct-hours-head h3 { font-size:1.02rem; }
      .ct-hours-ico { width:38px; height:38px; }
      .ct-hours-list li { padding:12px 2px; }
      .ct-day, .ct-time { font-size:.88rem; }
      .ct-map-addr { font-size:.84rem; }
      .ct-btn { width:100%; align-self:stretch; padding:13px 20px; }
      .ct-box { padding:20px 20px; border-radius:14px; }
      .ct-box-title { font-size:1rem; }
      .ct-box-txt { font-size:.88rem; margin-bottom:14px; }
      .ct-copyval { font-size:.9rem; }

      /* Portfolio cards piu grandi, meno padding */
      #progetti { padding:36px 0; }
      #progetti .container { padding:0 10px; }
      .portfolio-head { margin-bottom:18px; }
      .portfolio-grid { gap:8px; }
      .p-item { aspect-ratio:1/1; border-radius:12px; }
      .p-cat { font-size:.58rem; padding:3px 8px; top:8px; left:8px; }
      .p-count { font-size:.55rem; padding:2px 7px; bottom:8px; right:8px; }

      /* Servizi cards compatte e centrate */
      #servizi { padding:36px 0; }
      .services-head { margin-bottom:20px; }
      .services-grid { gap:10px; }
      .svc { padding:0; border-radius:14px; }
      .svc-img img { height:120px; }
      .svc-body { padding:12px 10px 14px; align-items:center; text-align:center; }
      .svc-body h3 { font-size:.72rem; margin-bottom:4px; line-height:1.2; }
      .svc-body p { font-size:.58rem; line-height:1.4; }
      .svc-link { font-size:.6rem; margin-top:8px; gap:3px; }

      /* Stats sezione compatta */
      .stats { padding:32px 0; }
      .stats-grid { grid-template-columns:repeat(3,1fr); gap:0; }
      .stat { padding:18px 6px; }
      .stat-n { font-size:1.3rem; margin-bottom:4px; }
      .stat-l { font-size:.56rem; letter-spacing:.04em; }
      .stat-d { font-size:.5rem; margin-top:2px; }

      /* Chi siamo: foto prima */
      .about-grid { grid-template-columns:1fr; gap:22px; }
      .about-grid > .f-left  { order:2; }
      .about-grid > .f-right { order:1; }
      .about-real-img { aspect-ratio:16/10; }
      #chi-siamo { padding:36px 0; }
      #chi-siamo .section-title { font-size:1.3rem; line-height:1.18; }
      #chi-siamo .subtitle { font-size:.72rem; line-height:1.5; }
      .about-list { gap:6px; margin:10px 0 14px; }
      .about-list li { font-size:.68rem; line-height:1.45; }
      .about-list .about-icon { font-size:.58rem; }

      /* Recensioni finest — molto compatte */
      #recensioni { padding:32px 0; }
      .reviews-head { margin-bottom:14px; }
      .c-slide { padding:0 4px; }
      .review-card { padding:14px 12px; border-radius:12px; }
      .review-top { margin-bottom:10px; gap:8px; }
      .review-txt { font-size:.62rem; line-height:1.5; margin-bottom:10px; }
      .star svg { width:11px; height:11px; }
      .google-badge { font-size:.52rem; padding:3px 7px; }
      .reviewer { gap:8px; }
      .rev-av { width:30px; height:30px; font-size:.65rem; }
      .rev-name { font-size:.7rem; }
      .rev-role { font-size:.55rem; }
      .c-controls { margin-top:12px; gap:10px; }
      .c-btn { width:32px; height:32px; }

      /* Preventivo: 3 pannelli impilati full-width, divisori orizzontali */
      #preventivo { padding:40px 0; }
      .cta-head { margin-bottom:26px; }
      .cta-head .section-title { font-size:1.4rem; }
      .cta-head .subtitle { font-size:.8rem; }
      .form-card-inner { grid-template-columns:1fr; gap:0; align-items:stretch; }
      .form-card-perks, .form-card-mascot { border-left:none; border-top:1px solid var(--bd-light); }
      .form-card-form { padding:24px 20px; }
      .form-card-perks { padding:24px 20px; }
      .form-card-head { margin-bottom:18px; }
      .form-card-title { font-size:1.08rem; }
      .form-card-sub { font-size:.74rem; margin-top:5px; }
      .perks-title { font-size:.74rem; margin-bottom:16px; letter-spacing:.12em; }

      /* Pannello mascotte: mascotte poggia sulla linea sopra le icone, bubble SOPRA la testa (non copre il viso) */
      .cta-mascot-stage { min-height:240px; padding:88px 16px 0; }
      .cta-mascot-img { max-width:190px; margin-bottom:22px; } /* sollevamento ridotto su mobile (compatto) */
      /* bubble ancorata dal basso = sopra la testa (mascotte alta ~237px a max-width 190, sollevata 22px) */
      .speech-bubble { bottom:268px; top:auto; left:50%; transform:translateX(-50%); margin-left:0; max-width:190px; font-size:.68rem; padding:9px 12px; line-height:1.4; border-radius:14px; }
      .speech-bubble strong { font-size:.74rem; }
      .speech-bubble::after { bottom:-5px; left:50%; margin-left:-5px; right:auto; width:10px; height:10px; }
      /* onda a 2 strati: tutta larghezza del pannello, mascotte in mezzo, altezza ridotta */
      .cta-mascot-base { left:0; right:0; width:100%; height:92px; }
      .cta-svc { padding:12px 6px; gap:6px; }
      .cta-svc-ico { width:28px; height:28px; }
      .cta-svc-ico svg { width:22px; height:22px; }
      .cta-svc-lbl { font-size:.62rem; }
      .perks { gap:12px; align-items:flex-start; text-align:left; width:100%; }
      .perks li { font-size:.82rem; gap:11px; line-height:1.4; }
      .perk-ico { width:20px; height:20px; min-width:20px; }
      .perk-ico svg { width:11px; height:11px; }
      .fg { margin-bottom:10px; }
      .fg label { font-size:.55rem; margin-bottom:4px; letter-spacing:.03em; }
      .fg input, .fg select, .fg textarea { padding:9px 12px; font-size:.75rem; border-radius:8px; border-width:1px; }
      .fg textarea { min-height:60px; }
      .fg-row { gap:10px; }
      .btn-submit { padding:11px; font-size:.78rem; }
      .form-note { font-size:.55rem; margin-top:6px; }

      /* Animazioni più rapide su mobile */
      .f-up, .f-left, .f-right { transition: opacity .4s ease, transform .4s ease !important; }
      .svc, .ct, .stat, .p-item, .btn { transition-duration: .2s !important; }
    }

    /* ── Telefoni molto stretti (≤360px) ── */
    @media(max-width:360px){
      .nav-inner { padding:0 12px; gap:6px; }
      .nav-logo img { height:50px; }
      .nav-cta { padding:8px 18px; }
      .hero-title { font-size:1.35rem; }
      .hero-ctas { gap:6px; }
      .hero-ctas .btn { padding:9px 4px; font-size:.55rem; gap:3px; }
      .hero-ctas .btn svg { width:11px; height:11px; flex-shrink:0; }
    }

    /* ── Speech bubble mascot: apparizione delicata + soft bob ── */
    @keyframes bubble-in {
      0%   { transform:translateY(8px) scale(.85); opacity:0; }
      60%  { transform:translateY(0) scale(1.03); opacity:1; }
      100% { transform:translateY(0) scale(1); opacity:1; }
    }
    @keyframes bubble-bob {
      0%,100% { transform:translateY(0); }
      50%      { transform:translateY(-4px); }
    }
    /* Desktop/tablet (>=521px): apparizione + soft bob. Mobile ha la sua regola sopra. */
    @media (min-width:521px) {
      .mascot-cta-text {
        transform-origin:bottom center;
        opacity:0;
        animation:
          bubble-in .7s cubic-bezier(.34,1.56,.64,1) .9s forwards,
          bubble-bob 4.5s ease-in-out 1.6s infinite;
      }
    }
    @media (prefers-reduced-motion:reduce) {
      .mascot-cta-text { opacity:1; animation:bubble-in .4s ease forwards; }
      .mascot-hero { animation:none; }
    }

    /* ================================================================
       ZONE RESPONSIVE ISOLATE
       Punto unico per il layout per-device. Ogni device ha la sua media
       query mutuamente esclusiva: modifiche in una NON toccano le altre.
       Gli stili sopra restano come base condivisa (look) + baseline responsive.
       Regola operativa: per modifiche di layout a un device, scrivere SOLO
       nella zona corrispondente qui sotto.
       ================================================================ */

/* ===== POP-UP PROMO ===== */
.promo-overlay{
  position:fixed; inset:0; z-index:9500;
  background:rgba(1,12,36,.78); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.promo-overlay.open{ opacity:1; pointer-events:all; }
.promo-card{
  position:relative; background:#fff; border-radius:20px;
  width:min(440px,100%); padding:40px 34px 30px; text-align:center;
  box-shadow:0 30px 80px rgba(0,0,0,.4);
  transform:translateY(16px) scale(.97); transition:transform .3s;
}
.promo-overlay.open .promo-card{ transform:translateY(0) scale(1); }
.promo-close{
  position:absolute; top:12px; right:12px;
  width:44px; height:44px; border-radius:50%;
  background:#f0f4fa; border:none; color:var(--blue);
  font-size:1.9rem; line-height:1; cursor:pointer; transition:.2s;
  display:flex; align-items:center; justify-content:center;
}
.promo-close:hover{ background:#e2eaf5; }
.promo-badge{
  display:inline-block; background:rgba(214,32,18,.1); color:var(--cta);
  font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding:7px 14px; border-radius:60px; margin-bottom:16px;
}
.promo-title{ font-size:1.7rem; font-weight:800; color:var(--blue); line-height:1.2; margin-bottom:12px; }
.promo-title span{ color:var(--cta); }
.promo-sub{ font-size:.92rem; color:var(--txt-sub-light); line-height:1.5; margin-bottom:22px; }
.promo-form{ display:flex; flex-direction:column; gap:12px; }
.promo-form input{
  width:100%; padding:14px 16px; border:1.5px solid #d6e1f0; border-radius:10px;
  font-family:'Poppins',sans-serif; font-size:.95rem; color:var(--navy);
}
.promo-form input:focus{ outline:none; border-color:var(--blue); }
.promo-submit{ width:100%; justify-content:center; padding:15px; font-size:1rem; font-weight:700; margin-top:4px; }
.promo-ok{ display:none; color:var(--blue); font-weight:700; font-size:1.05rem; padding:20px 0; }
.promo-ok.show{ display:block; }
.promo-err{ display:none; color:var(--cta); font-size:.85rem; margin-top:12px; }
.promo-err.show{ display:block; }
.promo-full{ display:inline-block; margin-top:16px; color:var(--txt-sub-light); font-size:.84rem; text-decoration:none; }
.promo-full:hover{ color:var(--cta); }

    /* ===== DESKTOP (>=1041px) ===== */
    @media (min-width:1041px) {
      .nav-cta { display:none; }
      .nav-links {
        padding:11px 52px;
        border-radius:12px;
        gap:48px;
      }
      .nav-links a { font-weight:700; }
    }

    /* ===== TABLET (621px - 1040px) ===== */
    @media (min-width:621px) and (max-width:1040px) {
      /* Navbar: niente CTA in alto a destra, logo centrato */
      .nav-cta { display:none; }
      .nav-inner { position:relative; }
      .nav-logo { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }

      /* Anti-overflow difensivo (nessun cambio di layout): orario/indirizzo/copia mai tagliati */
      .ct-day  { min-width:0; overflow-wrap:anywhere; }
      .ct-time { flex-shrink:0; white-space:nowrap; }
      .ct-map-addr { flex-wrap:wrap; align-items:flex-start; }
      .ct-map-addr span { min-width:0; overflow-wrap:anywhere; }
      .ct-copyval { min-width:0; }
      .ct-copybtn { flex-shrink:0; }
      .cta-svc-lbl { overflow-wrap:anywhere; }
    }

    /* ===== MOBILE (<=620px) ===== */
    @media (max-width:620px) {
      /* Navbar: niente CTA in alto a destra, logo centrato */
      .nav-cta { display:none; }
      .nav-inner { position:relative; }
      .nav-logo { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }

      /* Footer centrato (solo mobile) */
      .footer-top { grid-template-columns:1fr; text-align:center; justify-items:center; }
      .footer-top .f-brand, .footer-top .f-col { grid-column:1 / -1; }
      .f-brand { display:flex; flex-direction:column; align-items:center; }
      .f-brand-desc { margin-left:auto; margin-right:auto; }
      .f-social { justify-content:center; }
      .f-links { align-items:center; }
      .f-bottom { text-align:center; justify-content:center; }

      /* ---------- CONTATTI: anti-overflow orizzontale ---------- */
      /* Orari: giorno può andare a capo, orario sempre leggibile e non tagliato */
      .ct-hours-list li { gap:10px; padding-left:0; padding-right:0; align-items:center; }
      .ct-day  { min-width:0; overflow-wrap:anywhere; word-break:break-word; line-height:1.25; }
      .ct-time { flex-shrink:0; white-space:nowrap; }

      /* Indirizzo sotto la mappa: va a capo e resta nei margini */
      .ct-map-addr { flex-wrap:wrap; align-items:flex-start; gap:8px; }
      .ct-map-addr span { min-width:0; flex:1; overflow-wrap:anywhere; word-break:break-word; line-height:1.4; }
      .ct-map-addr svg { margin-top:1px; }

      /* Righe numero/email + pulsante copia: tutto dentro la card, niente sforo */
      .ct-copyrow { gap:6px; padding:7px 7px 7px 12px; }
      .ct-copyval { min-width:0; flex:1 1 auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
      .ct-copybtn { flex-shrink:0; width:32px; height:32px; }

      /* ---------- PREVENTIVO: hardening anti-overflow ---------- */
      /* L'intero form-card ha gia overflow:hidden (regola base): clippa onda/mascotte
         orizzontalmente. NB: niente overflow:hidden sullo stage, altrimenti si taglia
         la speech-bubble che e ancorata sopra la testa (bottom alto). Qui solo guardie
         di larghezza perche nessun figlio sfori lateralmente. */
      .cta-mascot-base  { max-width:100%; }
      .cta-mascot-img   { max-width:min(190px,78%); }
      .speech-bubble    { max-width:min(190px,86%); }
      /* 3 icone-servizio: etichette senza troncamento/sforo anche a ~240px */
      .cta-svc { min-width:0; padding:12px 4px; gap:6px; }
      .cta-svc-lbl { min-width:0; overflow-wrap:anywhere; word-break:break-word; hyphens:auto; }

      /* =====================================================================
         RIDIMENSIONAMENTO MOBILE DECISO (scala piu compatta e professionale)
         - NAVBAR: valido su tutto il range <=620 (logo a sinistra, ham a destra)
         - TIPOGRAFIA/SPAZIATURE: ora valide per TUTTO <=620 (inclusi i telefoni
           reali <=520), perche clamp()/legacy non abbassavano abbastanza i titoli.
         - ECCEZIONI: i selettori sensibili all'overflow orizzontale che i media
           query legacy <=520/<=416 gia riducono per anti-overflow (contatori
           .stat*, hero-stat*, mascotte hero/preventivo + bubble) NON vengono
           allargati qui: restano sotto il nested 521-620 cosi il legacy vince
           sui telefoni stretti e il mid-band mantiene la sua calibrazione.
         ===================================================================== */

      /* ---------- NAVBAR: logo a SINISTRA, hamburger a DESTRA (tutto <=620) ---------- */
      .nav-inner { justify-content:space-between; align-items:center; }
      /* annulla il centraggio assoluto e l'ordine legacy: logo nel flusso a sx */
      .nav-logo {
        position:static; left:auto; top:auto; transform:none;
        order:0; flex:0 0 auto; justify-content:flex-start;
        margin-right:auto; padding-left:0;
      }
      /* hamburger spinto a destra, dopo il logo */
      .ham { order:1; margin-left:auto; display:flex; }

      /* ---------- SCALA DECISA: valida per TUTTO <=620 (inclusi <=520) ---------- */
      /* Sezioni: meno aria verticale (padding solo verticale: non crea overflow) */
      .section { padding:44px 0; }
      .stats { padding:44px 0; }
      .services-head, .portfolio-head, .reviews-head, .contacts-head { margin-bottom:30px; }
      .cta-head { margin-bottom:30px; }

      /* Titoli di sezione ed eyebrow — piu compatti e decisi (i titoli vanno a
         capo, nessun rischio di overflow orizzontale anche sugli ultra-stretti) */
      .section-title { font-size:1.3rem; line-height:1.2; }
      .tag { font-size:.64rem; letter-spacing:.1em; padding:5px 11px; margin-bottom:12px; }
      .subtitle { font-size:.9rem; line-height:1.6; }

      /* HERO — titolo piu compatto (wrap naturale, no overflow) */
      .hero-title { font-size:1.5rem; line-height:1.15; }
      .hero-sub { font-size:.92rem; line-height:1.6; }

      /* SERVIZI */
      .svc-body { padding:16px 16px 18px; }
      .svc-body h3 { font-size:1rem; margin-bottom:7px; }
      .svc-body p { font-size:.82rem; line-height:1.55; }
      .svc-link { width:40px; height:40px; margin-top:16px; }

      /* CHI SIAMO */
      .about-list li { font-size:.85rem; gap:9px; line-height:1.5; }

      /* PORTFOLIO */
      .p-cat { font-size:.6rem; padding:3px 8px; }
      .p-count { font-size:.58rem; padding:3px 8px; }
      .p-hint { font-size:.76rem; }

      /* RECENSIONI */
      .review-card { padding:20px 18px; }
      .review-txt { font-size:.82rem; line-height:1.6; }
      .rev-name { font-size:.88rem; }
      .rev-role { font-size:.7rem; }
      .google-badge { font-size:.58rem; padding:3px 8px; }

      /* PREVENTIVO — solo testi (geometria mascotte/bubble resta sotto il nested) */
      .form-card-title { font-size:1.15rem; }
      .form-card-sub { font-size:.8rem; }
      .perks li { font-size:.84rem; gap:10px; }
      .perks-title { font-size:.74rem; }

      /* CONTATTI: titoli card non sovradimensionati (anti-overflow gia sopra, intatti) */
      .ct-box-title { font-size:1.02rem; }
      .ct-box-txt { font-size:.84rem; }
      .ct-hours-head h3 { font-size:1.02rem; }

      /* ---------- SOLO 521-620px: geometria sensibile all'overflow ----------
         Questi selettori i legacy <=520/<=416 li riducono gia per anti-overflow
         (contatori 3-col, hero-stats-card, mascotte assoluta). Qui li tocchiamo
         SOLO nel mid-band 521-620 per mantenere la calibrazione decisa senza
         allargarli sui telefoni reali <=520 (dove vince il legacy). */
      @media (min-width:521px) {
        /* HERO: mascotte + contatori hero */
        .mascot-hero { height:140px; }            /* ~ -15% da 164px */
        .hero-stat-n { font-size:.9rem; }
        .hero-stat-l { font-size:.66rem; }

        /* CONTATORI (stats, griglia 3-col: sensibile all'overflow) */
        .stat { padding:28px 10px; }
        .stat-n { font-size:2rem; margin-bottom:6px; }
        .stat-l { font-size:.72rem; }
        .stat-d { font-size:.66rem; }

        /* PREVENTIVO: mascotte + bubble agganciate (calibrate per il mid-band) */
        .cta-mascot-stage { min-height:250px; padding:92px 16px 0; }
        .cta-mascot-img { max-width:180px; margin-bottom:22px; }
        .cta-mascot-base { height:96px; }
        .speech-bubble { bottom:258px; max-width:170px; font-size:.72rem; padding:10px 14px; }
        .speech-bubble strong { font-size:.8rem; }
      }
    }

/* ===== ACCESSIBILITÀ TOUCH (telefoni/tablet) =====
   Il sito è servito come layout desktop anche su telefono (viewport width=1050),
   quindi le media query mobile non si attivano. Questa regola si attiva SOLO sui
   dispositivi touch (pointer:coarse) e NON tocca il desktop (mouse = pointer fine):
   ingrandisce scritte e bottoni delle azioni importanti per facilitare gli anziani.
   Valori testati senza overflow a 1050px. */
@media (pointer: coarse) {
  .btn { font-size:1.15rem; padding:16px 30px; }
  .nav-cta { font-size:1.1rem; padding:17px 32px; }
  .hero-ctas .btn { font-size:1.18rem; padding:18px 34px; }
  .btn-submit { font-size:1.25rem; padding:19px; }
  .nav-links a { font-size:1.12rem; }
  .fg label { font-size:1.05rem; }
  .fg input, .fg textarea, .fg select { font-size:1.2rem; }
  .form-card-title { font-size:1.65rem; }
  .ct-day, .ct-time { font-size:1.12rem; }
  .fg-row { grid-template-columns:1fr; }
  .mascot-hero { animation:none; }
  .promo-title{ font-size:1.9rem; }
  .promo-sub{ font-size:1.05rem; }
  .promo-form input{ font-size:1.15rem; padding:16px; }
  .promo-submit{ font-size:1.15rem; }
  .promo-close{ width:56px; height:56px; font-size:2.3rem; }
}
