/* ===== Extracted from draft160 <style> blocks ===== */

:root{
      --text: rgba(255,255,255,.92);
      --muted: rgba(255,255,255,.66);
      --muted2: rgba(255,255,255,.52);
      --line2: rgba(255,255,255,.10);
      --shadow: 0 18px 50px rgba(0,0,0,.45);
      --shadow2: 0 10px 28px rgba(0,0,0,.35);
      --radius: 22px;
      --glass: rgba(255,255,255,.08);
      --glass3: rgba(255,255,255,.04);
      --blur: 18px;
    }
    *{ box-sizing:border-box }
    html,body{ height:100% }
    body{
      margin:0;
      color:var(--text);
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      line-height:1.55;
      background:
        radial-gradient(900px 520px at 18% 12%, rgba(116,247,198,.24), transparent 62%),
        radial-gradient(980px 560px at 85% 16%, rgba(116,182,255,.22), transparent 62%),
        radial-gradient(920px 520px at 70% 82%, rgba(183,139,255,.18), transparent 62%),
        radial-gradient(980px 520px at 25% 80%, rgba(255,123,216,.14), transparent 62%),
        linear-gradient(180deg, #070a10, #05070a 55%, #04060a);
      overflow-x:hidden;
    }
    body:before{
      content:"";
      position:fixed; inset:-40px;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
      pointer-events:none; opacity:.14; mix-blend-mode:overlay;
    }
    a{ color:inherit; text-decoration:none }
    .container{ max-width:1120px; margin:0 auto; padding:22px; }
    .glass{
      background: linear-gradient(180deg, var(--glass), var(--glass3));
      border: 1px solid var(--line2);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      backdrop-filter: blur(var(--blur)) saturate(140%);
      -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
      position:relative; overflow:hidden;
    }
    .glass:before{
      content:""; position:absolute; inset:-1px;
      background:
        radial-gradient(900px 260px at 12% 8%, rgba(255,255,255,.18), transparent 50%),
        radial-gradient(900px 260px at 88% 10%, rgba(255,255,255,.10), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,.10), transparent 28%);
      pointer-events:none; mix-blend-mode:screen;
    }
    .glass:after{
      content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.20), inset 0 -1px 0 rgba(255,255,255,.06);
      opacity:.9;
    }
    .pad{ padding:20px; }
    .nav{
      position:sticky; top:0; z-index:50;
      margin:14px auto 0; max-width:1120px; padding:0 22px;
    }
    .nav-inner{
      display:flex; align-items:center; justify-content:space-between; gap:14px;
      padding:12px 14px; border-radius:999px;
      background: rgba(255,255,255,.07);
      border:1px solid rgba(255,255,255,.14);
      backdrop-filter: blur(var(--blur)) saturate(140%);
      -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
      box-shadow: var(--shadow2);
      position:relative; overflow:hidden;
    }
    .nav-inner:before{
      content:""; position:absolute; inset:-1px;
      background: radial-gradient(900px 220px at 20% 0%, rgba(255,255,255,.20), transparent 55%);
      pointer-events:none; mix-blend-mode:screen; opacity:.8;
    }
    .brand{ display:flex; flex-direction:column; gap:2px; padding-left:6px; }
    .brand strong{ font-size:14px; letter-spacing:.2px; }
    .brand span{ font-size:12px; color:var(--muted); }
    .menu{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
    .menu a{
      font-size:12.5px; color:var(--muted);
      padding:8px 10px; border-radius:999px;
      transition: transform .12s ease, background .2s ease, color .2s ease;
    }
    .menu a:hover{ background: rgba(255,255,255,.07); color:var(--text); transform: translateY(-1px); }
    .btn{
      display:inline-flex; align-items:center; justify-content:center; gap:10px;
      padding:11px 14px; border-radius:999px;
      border:1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.08);
      backdrop-filter: blur(var(--blur)) saturate(140%);
      -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
      box-shadow: var(--shadow2);
      cursor:pointer; font-weight:750;
      transition: transform .12s ease, filter .18s ease, background .2s ease;
      white-space:nowrap; position:relative; overflow:hidden;
    }
    .btn:before{
      content:""; position:absolute; inset:-1px;
      background: radial-gradient(900px 220px at 15% 0%, rgba(255,255,255,.18), transparent 55%);
      opacity:.9; pointer-events:none; mix-blend-mode:screen;
    }
    .btn:hover{ transform: translateY(-1px); filter:brightness(1.05); background: rgba(255,255,255,.10); }
    .btn.primary{ border-color: rgba(116,247,198,.35); }
    .btn.secondary{ border-color: rgba(116,182,255,.35); }
    .hero{ padding:18px 0 8px; display:grid; grid-template-columns: 1.15fr .85fr; gap:16px; }
    .kicker{ color:var(--muted); font-size:13px; }
    h1{ margin:10px 0 12px; font-size:34px; line-height:1.12; letter-spacing:-.2px; }
    .lead{ color:rgba(255,255,255,.82); max-width:64ch; font-size:15px; }
    [data-theme="light"] .lead{ color: rgba(0,0,0,.74); }
    .pillrow{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
    .pill{
      display:inline-flex; align-items:center; gap:8px;
      padding:8px 10px; border-radius:999px;
      border:1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
      color:var(--muted); font-size:12.5px;
      backdrop-filter: blur(12px) saturate(140%);
      -webkit-backdrop-filter: blur(12px) saturate(140%);
    }
    .mock{ min-height:320px; display:flex; flex-direction:column; justify-content:space-between; background: rgba(255,255,255,.04); }
    .mock-top{ padding:16px 18px 0; display:flex; justify-content:space-between; color:var(--muted); font-size:12px; }
    .mock-img{
      margin:12px 18px 18px; border-radius:18px;
      border:1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
      min-height:240px; display:grid; place-items:center; text-align:center; padding:16px;
      position:relative; overflow:hidden;
    }

    /* Studio (galleria): la bolla che contiene le foto deve essere QUADRATA */
    .mock-img.studio-mock-img{
      min-height: unset;
      aspect-ratio: 1 / 1;
      padding: 16px;
      display: grid;
      place-items: center;
    }
    .mock-img:before{
      content:""; position:absolute; inset:-1px;
      background: radial-gradient(900px 260px at 20% 0%, rgba(255,255,255,.22), transparent 55%);
      mix-blend-mode:screen; opacity:.75; pointer-events:none;
    }
    .grid{ margin-top:14px; display:grid; grid-template-columns: repeat(12, 1fr); gap:14px; }
    .col-12{ grid-column: span 12; } .col-8{ grid-column: span 8; }
    .col-6{ grid-column: span 6; } .col-4{ grid-column: span 4; }
    h2{ margin:0 0 10px; font-size:20px; letter-spacing:-.1px; }
    /*
     * NOTE: il colore dei paragrafi deve restare leggibile anche in tema chiaro.
     * In dark manteniamo il bianco “soft”, in light forziamo un testo scuro.
     */
    p{ margin:0 0 10px; color:rgba(255,255,255,.82); }
    [data-theme="light"] p{ color: rgba(0,0,0,.74); }
    .muted{ color:var(--muted); }
    .list{ display:grid; gap:10px; margin-top:10px; }
    .item{
      display:flex; gap:12px; align-items:flex-start;
      padding:12px; border-radius:18px;
      border:1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.06);
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      position:relative; overflow:hidden;
    }
    .item:before{
      content:""; position:absolute; inset:-1px;
      background: radial-gradient(700px 220px at 15% 0%, rgba(255,255,255,.16), transparent 55%);
      mix-blend-mode:screen; opacity:.70; pointer-events:none;
    }
    .badge{
      width:36px; height:36px; border-radius:14px;
      display:grid; place-items:center;
      background: rgba(116,247,198,.14);
      border:1px solid rgba(116,247,198,.22);
      flex:0 0 auto; box-shadow: 0 10px 22px rgba(0,0,0,.25);
    }
    .two-cols{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
    .faq details{
      border-radius:18px; border:1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.06);
      padding:12px 14px;
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
    }
    .faq details+details{ margin-top:10px; }
    .faq summary{ cursor:pointer; font-weight:800; }
    .tiny{ font-size:12px; color:var(--muted2); }
    .field{
      width:100%; padding:12px 12px; border-radius:16px;
      border:1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
      color:var(--text); outline:none;
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
    }
    .field:focus{ border-color: rgba(116,182,255,.45); }
    .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
    .footer{
      margin-top:24px; padding:18px 0 10px;
      border-top:1px solid rgba(255,255,255,.10);
      color:var(--muted2); font-size:12px;
      display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between;
    }
    .cookie{
      position:fixed; left:14px; right:14px; bottom:14px;
      max-width:1120px; margin:0 auto; display:none; z-index:120;
    }
    .cookie .inner{
      border-radius: 20px;
      border:1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.07);
      box-shadow: var(--shadow);
      backdrop-filter: blur(20px) saturate(150%);
      -webkit-backdrop-filter: blur(20px) saturate(150%);
      padding:14px;
      display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap;
      position:relative; overflow:hidden;
    }
    .cookie .inner:before{
      content:""; position:absolute; inset:-1px;
      background: radial-gradient(900px 240px at 15% 0%, rgba(255,255,255,.20), transparent 55%);
      mix-blend-mode:screen; opacity:.8; pointer-events:none;
    }
    .cookie p{ margin:0; color:rgba(255,255,255,.82); font-size:13px; }
    [data-theme="light"] .cookie p{ color: rgba(0,0,0,.74); }
    @media (max-width: 980px){
      .hero{ grid-template-columns: 1fr; }
      .nav-inner{ justify-content:center; }
      .brand{ flex: 1 1 100%; align-items:center; padding-left:0; text-align:center; }
      .menu{ display:flex; width:100%; justify-content:center; gap:8px; flex-wrap:wrap; }
      .menu a{ padding:8px 12px; font-size:13px; }

      h1{ font-size:30px; }
      .col-6,.col-4,.col-8{ grid-column: span 12; }
      .two-cols{ grid-template-columns: 1fr; }
      .form-row{ grid-template-columns: 1fr; }
    }
  
    :root[data-theme="dark"] {
      --bg-main: linear-gradient(180deg,#070a10,#05070a);
      --text-main: rgba(255,255,255,.92);
    }
    :root[data-theme="light"] {
      --bg-main: linear-gradient(180deg,#f6f8fc,#eef2f7);
      --text-main: rgba(0,0,0,.86);
      --text: rgba(0,0,0,.86);
      --muted: rgba(0,0,0,.6);
      --muted2: rgba(0,0,0,.45);
      --line2: rgba(0,0,0,.12);
      --glass: rgba(255,255,255,.55);
      --glass3: rgba(255,255,255,.35);
    }
    body{ background: var(--bg-main); color: var(--text-main); transition: background .4s,color .4s; }
    
    .gallery{
      display:grid;
      grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
      gap:12px;
      margin-top:12px;
    }
    .gallery img{
      width:100%;
      height:180px;
      object-fit:cover;
      border-radius:16px;
      border:1px solid var(--line2);
    }
    

    /* ===== Profile card (Chi sono) ===== */
    .profile-card{
      border:1px solid rgba(255,255,255,.12);
      border-radius:18px;
      background: rgba(255,255,255,.06);
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      padding:14px;
      position:relative;
      overflow:hidden;
    }
    .profile-card:before{
      content:"";
      position:absolute; inset:-1px;
      background: radial-gradient(800px 240px at 15% 0%, rgba(255,255,255,.16), transparent 55%);
      mix-blend-mode:screen; opacity:.7; pointer-events:none;
    }
    
.profile-photo{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  height: 320px;
  padding: 0;
  position:relative;
  overflow:hidden;
  display:block;
}
.profile-photo img{
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: center;
  display:block;
}

    .profile-photo:before{
      content:"";
      position:absolute; inset:-1px;
      background: radial-gradient(900px 260px at 20% 0%, rgba(255,255,255,.20), transparent 55%);
      mix-blend-mode:screen; opacity:.75; pointer-events:none;
    }
    .profile-meta{
      margin-top:12px;
      display:flex;
      gap:10px;
      flex-wrap:wrap;
    }


  /* Google Reviews badge (inline in CTA buttons) */
  .google-mini{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-left:10px;
    font-size:12px;
    opacity:.9;
    white-space:nowrap;
  }
  .google-stars{
    letter-spacing:1px;
  }


  .info-card li{
    margin-left: 0 !important;
  }


  .info-card .content ul{
    padding-left: 18px;
    margin: 0;
    list-style-position: outside;
  }


  /* Service groups as dropdown (accordion) */
  .services-groups{
    display:grid;
    gap:14px;
  }
  details.service-group{
    padding:14px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.03);
  }
  details.service-group > summary{
    list-style:none;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    gap:6px;
    outline:none;
  }
  details.service-group > summary::-webkit-details-marker{display:none;}
  details.service-group > summary::after{
    content:"▾";
    position:relative;
    align-self:flex-start;
    opacity:.85;
    transform:translateY(-2px);
  }
  details.service-group[open] > summary::after{
    content:"▴";
  }
  .sg-title{
    font-weight:800;
    font-size:16px;
    letter-spacing:.2px;
  }
  .sg-desc{
    color: var(--muted);
    font-size:13px;
    line-height:1.35;
    font-weight: 500;
  }
  .sg-body{
    margin-top:10px;
  }


  /* Portrait image optimization for 'Chi sono' */
  .portrait-wrap{
    max-width: 420px;
    margin: 0 auto;
  }
  .portrait-wrap img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: contain;
  }


  /* Refined micro-hover for top WhatsApp icon */
  #waTop{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:0;
    padding:10px 12px;
    transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, filter .22s ease;
    will-change: transform;
  }
  #waTop .wa-ico{ display:inline-flex; }
  #waTop svg{ display:block; }
  #waTop:hover{
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(56, 189, 248, .18) inset;
    filter: saturate(1.05);
  }
  #waTop:active{
    transform: translateY(0px) scale(.99);
    box-shadow: 0 6px 16px rgba(0,0,0,.38);
  }
  #waTop::after{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:999px;
    pointer-events:none;
    opacity:0;
    transition: opacity .22s ease;
    background: radial-gradient(120px 40px at 30% 10%, rgba(56,189,248,.18), transparent 60%);
  }
  #waTop:hover::after{ opacity:1; }
  @media (hover:none){
    #waTop:hover{ transform:none; box-shadow: none; filter:none; }
    #waTop:hover::after{ opacity:0; }
  }


  .subtitle-location{
    display:block;
    font-size:0.85em;
    opacity:.85;
    margin-top:2px;
  }


  .grid-3{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:14px;
  }
  @media (max-width: 980px){
    .grid-3{ grid-template-columns:1fr; }
  }

  .section-sep{
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    margin: 18px 0 18px;
    border-radius: 999px;
  }
  [data-theme="light"] .section-sep{
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.18), transparent);
  }


  .learn-block{ overflow:hidden; }
  .learn-block h2{ font-size:22px; }
  .learn-block .grid-3{ margin-top:14px !important; }


  .aree-block h2{ margin-top:0; }
  .aree-block .services-groups{ margin-top:10px; }
  @media (max-width: 980px){
    .aree-block{ padding:16px !important; }
  }


  .contact-block h2{ margin-top:0; }
  .contact-block .form-row{ margin-top:12px; }


  .img-full{ display:inline-block; cursor:zoom-in; }
  .img-full img{ transition: transform .25s ease, box-shadow .25s ease; }
  .img-full:hover img{ transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* ===== Subtle professional accents ===== */
  :root{
    --accent-1: 94 192 255;   /* soft azure */
    --accent-2: 152 120 255;  /* muted violet */
    --accent-3: 104 230 170;  /* soft mint */
  }

  /* Headings: gentle gradient underline */
  h2{
    position: relative;
  }
  h2::after{
    content:"";
    display:block;
    height:2px;
    width:72px;
    margin-top:10px;
    border-radius:999px;
    background: linear-gradient(90deg,
      rgba(var(--accent-1), .85),
      rgba(var(--accent-2), .70),
      rgba(var(--accent-3), .55)
    );
    opacity:.9;
  }

  /* Glass cards: faint top highlight */
  .glass{
    border: 1px solid rgba(255,255,255,.10);
    box-shadow:
      0 18px 40px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.10);
    background:
      radial-gradient(1200px 500px at 20% -10%, rgba(var(--accent-1), .10), transparent 55%),
      radial-gradient(900px 420px at 95% 0%, rgba(var(--accent-2), .08), transparent 55%),
      rgba(255,255,255,.06);
  }
  [data-theme="light"] .glass{
    border: 1px solid rgba(0,0,0,.08);
    box-shadow:
      0 18px 40px rgba(0,0,0,.10),
      inset 0 1px 0 rgba(255,255,255,.45);
    background:
      radial-gradient(900px 420px at 20% -10%, rgba(var(--accent-1), .14), transparent 55%),
      radial-gradient(900px 420px at 95% 0%, rgba(var(--accent-2), .10), transparent 55%),
      rgba(255,255,255,.70);
  }

  /* Buttons: subtle color edge + refined hover */
  .btn{
    position: relative;
    overflow: hidden;
  }
  .btn::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius: inherit;
    padding:1px;
    background: linear-gradient(90deg,
      rgba(var(--accent-1), .55),
      rgba(var(--accent-2), .45),
      rgba(var(--accent-3), .40)
    );
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity:.55;
    pointer-events:none;
  }
  .btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,.25);
  }
  .btn:active{
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
  }

  /* Separator: slightly more visible */
  .section-sep{
    background: linear-gradient(90deg, transparent,
      rgba(var(--accent-1), .18),
      rgba(var(--accent-2), .14),
      rgba(var(--accent-3), .12),
      transparent);
  }
  [data-theme="light"] .section-sep{
    background: linear-gradient(90deg, transparent,
      rgba(var(--accent-1), .28),
      rgba(var(--accent-2), .22),
      rgba(var(--accent-3), .18),
      transparent);
  }

  /* Micro accent for small labels (keeps readability) */
  .muted strong{
    color: rgba(var(--accent-1), .95);
  }

/* Improve input borders visibility in LIGHT theme (Contatti) */
  [data-theme="light"] #contatti input,
  [data-theme="light"] #contatti textarea{
    border: 1.5px solid rgba(60, 90, 140, .55);
    background: rgba(255,255,255,.95);
  }
  [data-theme="light"] #contatti input:focus,
  [data-theme="light"] #contatti textarea:focus{
    border-color: rgba(60, 90, 140, .9);
    box-shadow: 0 0 0 3px rgba(94, 192, 255, .25);
    outline: none;
  }

/* Ensure WhatsApp button text is readable in DARK mode */
[data-theme="dark"] .btn-whatsapp,
[data-theme="dark"] .whatsapp-btn,
[data-theme="dark"] button.whatsapp,
[data-theme="dark"] a.whatsapp {
  color: #ffffff !important;
}

/* FIX: WhatsApp button text must be white in DARK mode */
[data-theme="dark"] #btnWhatsApp{
  color:#ffffff !important;
}

/* Light mode: make lead intro text match muted color */
[data-theme="light"] p.lead{
  color: var(--muted);
}

/* Mobile readability: split the "Come raggiungermi" button on two lines */
.maps-hero .btn-title,
.maps-hero .btn-sub{
  display: inline;
}
.maps-hero .btn-sub{
  margin-left: 6px;
  opacity: .92;
}

@media (max-width: 520px){
  .maps-hero{
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }
  .maps-hero .btn-title,
  .maps-hero .btn-sub{
    display: block;
    margin-left: 0;
  }
  .maps-hero .btn-sub{
    margin-top: 2px;
  }
}


/* --- Mobile menu (3 dots) --- */
.nav-inner{ position:relative; }
.mobile-menu-btn{
  display:none;
  width:40px; height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  align-items:center; justify-content:center;
  cursor:pointer;
  padding:0;
}
.mobile-menu-btn .dot{
  width:5px; height:5px; border-radius:50%;
  background: var(--text);
  display:block;
  margin:2px 0;
}
.mobile-dropdown{
  display:none;
  position:absolute;
  left:14px; /* opens under the left side (near dots) */
  top:62px;
  width:min(290px, calc(100vw - 44px));
  background: rgba(255,255,255,.94); /* light background as requested */
  color: #0f172a;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.20);
  overflow:hidden;
  z-index:9999;
}
.mobile-dropdown a{
  display:block;
  padding:12px 16px;
  text-decoration:none;
  color:#0f172a;
  font-weight:600;
}
.mobile-dropdown a + a{ border-top:1px solid rgba(0,0,0,.06); }
.mobile-dropdown a:hover{ background: rgba(0,0,0,.04); }

/* Mobile menu: theme switch row */
.mobile-theme-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 16px;
  font-weight:600;
  border-top:1px solid rgba(0,0,0,.06);
}
.mobile-theme-label{ display:inline-block; }
.mobile-dropdown .mobile-theme-row .theme-toggle{ margin-left:auto; }
[data-theme="dark"] .mobile-dropdown{
  background: rgba(18,26,45,.92);
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.10);
}
[data-theme="dark"] .mobile-dropdown a{ color: rgba(255,255,255,.92); }
[data-theme="dark"] .mobile-dropdown a + a{ border-top-color: rgba(255,255,255,.08); }
[data-theme="dark"] .mobile-dropdown a:hover{ background: rgba(255,255,255,.06); }
[data-theme="dark"] .mobile-theme-row{ border-top-color: rgba(255,255,255,.08); }
.mobile-dropdown.show{ display:block; }

@media (max-width: 900px){
  /* hide desktop menu links, but keep theme + whatsapp visible */
  .menu{ display:none !important; }
  .mobile-menu-btn{ display:flex; }
  .brand strong{ font-size:18px; }
  .brand span{ font-size:13px; }
}

  
/* --- Mobile dropdown visibility fix --- */
@media (max-width: 900px){
  .topbar, header, .nav-inner{ overflow: visible !important; }
  .topbar, header{ position: relative; z-index: 5000; }
  .mobile-dropdown{ z-index: 99999 !important; }
}


/* --- Mobile: subtitle on two lines --- */
.m-only{ display:none; }
@media (max-width: 900px){
  .m-only{ display:inline; }
}


@media (max-width: 900px){
  .mobile-menu-btn{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 34px !important;
    height: 34px !important;
  }
  .mobile-menu-btn .dot{
    background: var(--text) !important;
    width: 6px !important;
    height: 6px !important;
    margin: 3px 0 !important;
  }
}


/* --- Mobile hamburger icon (3 horizontal lines) --- */
.mobile-menu-btn{
  display:none;
  background: transparent;
  border:none;
  box-shadow:none;
  padding:0;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.mobile-menu-btn .hamb{
  display:block;
  width:18px;
  height:2.5px;
  border-radius:999px;
  background: var(--text);
  margin:3px 0;
}
@media (max-width: 900px){
  .mobile-menu-btn{ display:flex; }
}


/* --- Mobile: button "Come raggiungermi" on two lines --- */
@media (max-width: 520px){
  a[href="https://maps.app.goo.gl/xc1dCxshDCudunWL8"]{
    white-space: normal !important;
    height: auto !important;
    line-height: 1.15 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    text-align: center !important;
  }
  a[href="https://maps.app.goo.gl/xc1dCxshDCudunWL8"] .btn-title,
  a[href="https://maps.app.goo.gl/xc1dCxshDCudunWL8"] .btn-sub{
    display: block !important;
  }
  a[href="https://maps.app.goo.gl/xc1dCxshDCudunWL8"] .btn-sub{
    margin-top: 3px !important;
  }
}


/* --- Maps button text layout --- */
.mapsText{ display:inline; }
.mapsLine1, .mapsLine2{ display:inline; }
.mapsLine2{ margin-left: 6px; opacity:.92; }

@media (max-width: 520px){
  .btn.secondary.maps-hero{ padding-top: 12px; padding-bottom: 12px; }
  .mapsText{ display:flex; flex-direction:column; align-items:center; }
  .mapsLine1, .mapsLine2{ display:block; margin-left:0; }
  .mapsLine2{ margin-top: 2px; }
}


@media (max-width: 768px) {
    .btn-location-text {
        display: inline-block;
        text-align: center;
        line-height: 1.3;
    }
    .btn-location-text .line1,
    .btn-location-text .line2 {
        display: block;
    }
}



/* ===========================
   DESKTOP TOPBAR MENU (2 ROWS)
   =========================== */
@media (min-width: 981px){
	/* Switch the pill layout to a grid so the menu can be centered and wrap nicely */
	.nav-inner{
		display: grid;
		grid-template-columns: auto 1fr auto auto;
		align-items: center;
		column-gap: 18px;
	}
	.brand{
		justify-self: start;
	}
	/* 6 links -> 2 rows x 3 columns, centered */
	.menu{
		justify-self: center;
		flex: 0 0 auto; /* neutralize flex behavior from mobile/legacy rules */
		display: grid;
		grid-template-columns: repeat(3, max-content);
		grid-template-rows: repeat(2, auto);
		gap: 10px 16px;
		justify-content: center;
		align-content: center;
		margin: 0;
	}
	.menu a{
		text-align: center;
		white-space: nowrap;
		line-height: 1.05;
		padding: 10px 12px;
	}
	.theme-toggle{
		justify-self: end;
	}
	.wa-top{
		justify-self: end;
	}
}


    /* ===== STUDIO SLIDER ===== */
    .studio-slider{
      position:relative;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:12px;
      margin-top:12px;
    }
    .slides{
      position:relative;
      width:100%;
      max-width:900px;
      overflow:hidden;
      border-radius:20px;
    }
    .slide{
      display:none;
      width:100%;
      border-radius:20px;
    }
    .slide.active{
      display:block;
    }
    .slider-btn{
      background:rgba(255,255,255,.15);
      border:none;
      border-radius:50%;
      width:42px;
      height:42px;
      font-size:22px;
      cursor:pointer;
      backdrop-filter:blur(10px);
    }
    .slider-btn:hover{
      background:rgba(255,255,255,.25);
    }

  
      .slider-dots{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:10px;
        margin-top:14px;
        padding-bottom:2px;
      }
      .slider-dot{
        width:8px;
        height:8px;
        border-radius:999px;
        background: rgba(255,255,255,.22);
        border:1px solid rgba(255,255,255,.18);
        opacity:.85;
        transform: translateZ(0);
        transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease;
        cursor:pointer;
      }
      .slider-dot.is-active{
        background: var(--accent);
        border-color: rgba(255,255,255,.35);
        opacity:1;
        transform: scale(1.22);
      }
      :root[data-theme="light"] .slider-dot{
        background: rgba(0,0,0,.12);
        border-color: rgba(0,0,0,.14);
      }

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-dropdown {
    display: none;
    position: absolute;
    right: 20px;
    top: 80px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}

.mobile-dropdown a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: #333;
}

.mobile-dropdown a:hover {
    background: #f3f3f3;
}

@media (max-width: 900px) {
    nav {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .btn-location-text {
        display: inline-block;
        text-align: center;
        line-height: 1.3;
    }
    .btn-location-text .line1,
    .btn-location-text .line2 {
        display: block;
    }
}



/* ===========================
   DESKTOP TOPBAR MENU (2 ROWS)
   =========================== */
@media (min-width: 981px){
	/* Switch the pill layout to a grid so the menu can be centered and wrap nicely */
	.nav-inner{
		display: grid;
		grid-template-columns: auto 1fr auto auto;
		align-items: center;
		column-gap: 18px;
	}
	.brand{
		justify-self: start;
	}
	/* 6 links -> 2 rows x 3 columns, centered */
	.menu{
		justify-self: center;
		flex: 0 0 auto; /* neutralize flex behavior from mobile/legacy rules */
		display: grid;
		grid-template-columns: repeat(3, max-content);
		grid-template-rows: repeat(2, auto);
		gap: 10px 16px;
		justify-content: center;
		align-content: center;
		margin: 0;
	}
	.menu a{
		text-align: center;
		white-space: nowrap;
		line-height: 1.05;
		padding: 10px 12px;
	}
	.theme-toggle{
		justify-self: end;
	}
	.wa-top{
		justify-self: end;
	}
}


    /* ===== STUDIO SLIDER ===== */
    .studio-slider{
      position:relative;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:12px;
      margin-top:12px;
    }
    .slides{
      position:relative;
      width:100%;
      max-width:900px;
      overflow:hidden;
      border-radius:20px;
    }
    .slide{
      display:none;
      width:100%;
      border-radius:20px;
    }
    .slide.active{
      display:block;
    }
    .slider-btn{
      background:rgba(255,255,255,.15);
      border:none;
      border-radius:50%;
      width:42px;
      height:42px;
      font-size:22px;
      cursor:pointer;
      backdrop-filter:blur(10px);
    }
    .slider-btn:hover{
      background:rgba(255,255,255,.25);
    }

  
      .slider-dots{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:10px;
        margin-top:14px;
        padding-bottom:2px;
      }
      .slider-dot{
        width:8px;
        height:8px;
        border-radius:999px;
        background: rgba(255,255,255,.22);
        border:1px solid rgba(255,255,255,.18);
        opacity:.85;
        transform: translateZ(0);
        transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease;
        cursor:pointer;
      }
      .slider-dot.is-active{
        background: var(--accent);
        border-color: rgba(255,255,255,.35);
        opacity:1;
        transform: scale(1.22);
      }
      :root[data-theme="light"] .slider-dot{
        background: rgba(0,0,0,.12);
        border-color: rgba(0,0,0,.14);
      }

/* =====================================================
   FIX: Studio slider must fill the whole "bolla" (mock)
   - Prevent the parent .mock-img grid centering from shrinking children
   - Make slides have an explicit height (no aspect-ratio collapse)
   - Make dots REAL circular dots (reset button default padding)
   ===================================================== */

/* Only for the Studio section container */
.studio-mock-img{
	display:block;
	place-items:unset;
	justify-items:unset;
	align-items:unset;
	padding:16px;
}

.studio-slider{
	width:100%;
}

.studio-slider .slides-wrap{
	position:relative;
	width:100%;
}

/* IMPORTANT: explicit height so it never collapses to a tiny thumbnail */
.studio-slider .slides{
	width:100%;
	height: clamp(260px, 46vw, 540px);
	border-radius:22px;
	overflow:hidden;
	background: rgba(255,255,255,.06);
	border:1px solid rgba(255,255,255,.14);
	box-shadow: var(--shadow2);
}

@media (max-width: 900px){
	.studio-slider .slides{
		height: clamp(220px, 68vw, 420px);
	}
}

/* Keep slides covering the container */
.studio-slider .slide{
	width:100%;
	height:100%;
	object-fit:cover;
}

/* Dots: ensure they are circles (buttons have default padding/border!) */
.studio-slider .dot{
	padding:0;
	border:1px solid rgba(255,255,255,.18);
	appearance:none;
	-webkit-appearance:none;
	background: rgba(255,255,255,.24);
}

/* Active dot color (uses existing accent palette) */
.studio-slider .dot.active{
	background: rgba(var(--accent-1), .85);
	border-color: rgba(255,255,255,.35);
}

:root[data-theme="light"] .studio-slider .dot{
	background: rgba(0,0,0,.12);
	border-color: rgba(0,0,0,.14);
}

/* =========================================================
   MOBILE FIX: keep the single NEXT arrow fully inside bubble
   (Pixel 7 & similar) and avoid duplicate/odd placements.
   We overlay the arrow on the photo, but keep it *inside*.
   ========================================================= */
@media (max-width: 900px){
  /* Ensure the wrap can host the overlay controls */
  .studio-slider .slides-wrap{ position:relative !important; }

  /* Turn the below-photo controls into an overlay area */
  .studio-slider .slider-controls{
    display:flex !important;
    position:absolute !important;
    inset:0 !important;
    align-items:center !important;
    justify-content:flex-end !important;
    padding-right:22px !important; /* keeps the button fully inside the bubble */
    pointer-events:none !important;
    z-index:5 !important;
  }

  /* Keep ONLY the NEXT arrow */
  .studio-slider .slider-btn{ display:none !important; }
  .studio-slider .slider-btn.next{
    display:flex !important;
    pointer-events:auto !important;
    margin:0 !important;
    width:44px !important;
    height:44px !important;
    border-radius:999px !important;
  }
}

   STUDIO SLIDER – Requested tweaks (desktop + mobile)
   ========================================================== */

/* Desktop: square viewport + show full (no crop) */
@media (min-width: 901px){
  .studio-slider .slides{
    aspect-ratio: 1 / 1; /* square */
    background: rgba(255,255,255,.06);
  }
  .studio-slider .slide{
    object-fit: contain; /* show the whole image */
    background: rgba(255,255,255,.06);
  }

  /* Put the controls to the RIGHT of the photo (not below) */
  .studio-slider .slides-wrap{ position:relative; }
  .studio-slider .slider-controls{
    position:absolute;
    top:50%;
    right:14px;
    transform: translateY(-50%);
    margin-top:0;
    gap:0;
  }
  /* show only the RIGHT arrow on desktop */
  #studioPrev{ display:none !important; }
}

/* Mobile: show only the RIGHT arrow under the photo */
@media (max-width: 900px){
  #studioPrev{ display:none !important; }
}


/* =============================
   STUDIO SLIDER - FINAL OVERRIDES
   (fix size, arrows visibility, fade)
   ============================= */

/* Ensure the photo fills the whole "bolla" and fades between slides */
.studio-slider .slides{
	aspect-ratio: 1 / 1; /* square in desktop browser */
}

.studio-slider .slide{
	display:block !important;          /* override legacy .slide{display:none} */
	opacity:0;
	pointer-events:none;
	transition: opacity .45s ease;     /* visible fading */
}
.studio-slider .slide.active{
	opacity:1;
	pointer-events:auto;
}

/* Controls below the photo (both desktop + mobile) */
.studio-slider .slider-controls{
	display:flex;
	justify-content:center;
	gap:14px;
	width:100%;
	margin-top:10px;
}
.studio-slider .slider-btn{
	position:static !important;
	width:44px;
	height:44px;
	border-radius:999px;
	border:1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.14);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 12px 26px rgba(0,0,0,.18);
	color: var(--text);
}
[data-theme="light"] .studio-slider .slider-btn{
	border:1px solid rgba(0,0,0,.16);
	background: rgba(255,255,255,.75);
	box-shadow: 0 12px 26px rgba(0,0,0,.10);
	color: rgba(0,0,0,.78);
}

/* Pixel 7 / mobile: keep arrows comfortably tappable */
@media (max-width: 520px){
	.studio-slider .slider-controls{ gap:12px; }
	.studio-slider .slider-btn{ width:48px; height:48px; }
}


   STUDIO SLIDER (override - layout richiesto)
   - Desktop: immagine QUADRATA
   - Nessun pallino indicatore
   - Frecce entrambe SOTTO la foto
   - Click sulla foto -> lightbox (immagine intera)
   ===================================================================== */

.studio-slider{
	width:100%;
	align-items:center;
}

.studio-slider .slides-wrap{
	width:100%;
	max-width: 980px;
}

.studio-slider .slides{
	width:100%;
	/* Quadrata su desktop e mobile */
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}

@media (min-width: 981px){
	.studio-slider .slides{
		max-width: 760px;
	}
}

.studio-slider .slide{
	cursor: zoom-in;
}

/* frecce sotto (non absolute) */
.studio-slider .slider-controls{
	display:flex;
	gap:12px;
	justify-content:center;
	align-items:center;
	margin-top: 10px;
}

.studio-slider .slider-btn{
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

/* elimina i pallini (qualunque versione precedente) */
.studio-slider .slider-dots{ display:none !important; }
.studio-slider .dot{ display:none !important; }

/* Lightbox */
.lightbox{
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0,0,0,.65);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.lightbox.show{ display:flex; }
.lightbox-img{
	max-width: min(980px, 92vw);
	max-height: 86vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 18px;
	box-shadow: 0 22px 60px rgba(0,0,0,.55);
	border: 1px solid rgba(255,255,255,.18);
	background: rgba(255,255,255,.06);
}
.lightbox-close{
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.14);
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.lightbox-close:hover{ background: rgba(255,255,255,.22); }


/* =====================================================================
   STUDIO SLIDER – OVERLAY CONTROLS (frecce + contatore)
   - Frecce sovrapposte alla foto (sinistra/destra)
   - Contatore in basso a destra (es. 3/4)
   - Mantiene la logica JS esistente: prev/next, swipe, lightbox
   ===================================================================== */

#studioSlider .slides-wrap{ position: relative; }

/* Nascondi i controlli "sotto" la foto (rimangono nel DOM per compatibilità) */
#studioSlider .slider-controls{ display: none !important; }

#studioSlider .slider-overlay,
.lightbox .lightbox-nav
{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 6;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.26);
	background: rgba(0,0,0,.28);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 16px 38px rgba(0,0,0,.30);
}

#studioSlider .slider-overlay.prev{ left: 12px; }
#studioSlider .slider-overlay.next{ right: 12px; }

#studioSlider .slider-overlay span,
.lightbox .lightbox-nav span
{
	font-size: 26px;
	line-height: 1;
	margin-top: -1px;
}

#studioSlider .slider-counter,
.lightbox .lightbox-counter
{
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 6;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.22);
	background: rgba(0,0,0,.34);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: rgba(255,255,255,.92);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2px;
}

/* Light theme: bordi/contrasto */
[data-theme="light"] #studioSlider .slider-overlay,
[data-theme="light"] .lightbox .lightbox-nav
{
	border: 1px solid rgba(0,0,0,.18);
	background: rgba(255,255,255,.74);
	color: rgba(0,0,0,.78);
	box-shadow: 0 16px 38px rgba(0,0,0,.16);
}
[data-theme="light"] #studioSlider .slider-counter,
[data-theme="light"] .lightbox .lightbox-counter
{
	border: 1px solid rgba(0,0,0,.16);
	background: rgba(255,255,255,.78);
	color: rgba(0,0,0,.78);
}

/* Lightbox overlay positioning */
.lightbox{ position: fixed; }
.lightbox .lightbox-nav.prev{ left: 18px; }
.lightbox .lightbox-nav.next{ right: 18px; }
.lightbox .lightbox-counter{ right: 18px; bottom: 18px; }


   STUDIO SLIDER – Overrides (requested)
   - Mobile: show ONLY the RIGHT arrow under the image.
   - Desktop: square viewport, show full image (no crop) already.
             show ONLY the RIGHT arrow, positioned to the RIGHT of the image.
   ========================================================== */

/* Desktop (browser): square viewport + show FULL image (no crop) */
@media (min-width: 901px){
  .studio-slider .slides{ aspect-ratio: 1 / 1 !important; }
  .studio-slider .slide{ object-fit: contain !important; background: rgba(255,255,255,.06); }

  /* Controls: place to the right of the image, centered vertically */
  .studio-slider .slides-wrap{ position: relative; }
  .studio-slider .slider-controls{
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .studio-slider .slider-controls .prev{ display:none !important; }
}

/* Mobile: keep controls under the image, show ONLY the RIGHT arrow */
@media (max-width: 900px){
  .studio-slider .slider-controls{ position: static !important; transform: none !important; }
  .studio-slider .slider-controls .prev{ display:none !important; }
  .studio-slider .slider-controls{ justify-content: center; }
}

   STUDIO SLIDER – Overrides (requested)
   ========================================================== */

/* Desktop (browser): square viewport + show FULL image (no crop) */
@media (min-width: 901px){
  .studio-slider .slides{
    aspect-ratio: 1 / 1 !important;
  }
  .studio-slider .slide{
    object-fit: contain !important;
    background: rgba(255,255,255,.06);
  }

  /* Place the single RIGHT arrow to the right side of the photo */
  .studio-slider .slides-wrap{ position:relative; }
  .studio-slider .slider-controls{
    position:absolute;
    top:50%;
    right:14px;
    transform: translateY(-50%);
    padding:0;
    margin:0;
    gap:0;
    z-index:4;
  }
  .studio-slider .slider-btn{ box-shadow: 0 10px 28px rgba(0,0,0,.18); }
  .studio-slider .slider-btn.prev{ display:none !important; }
  .studio-slider .slider-btn.next{ display:inline-flex !important; }
}

/* Mobile: keep controls under the image, but show ONLY the RIGHT arrow */
@media (max-width: 900px){
  .studio-slider .slider-controls{
    position:static;
    transform:none;
    margin-top:10px;
  }
  .studio-slider .slider-btn.prev{ display:none !important; }
  .studio-slider .slider-btn.next{ display:inline-flex !important; }
}

/* ===== STUDIO SLIDER (FINAL OVERRIDE) =====
   - Desktop: slider fits inside .mock-img box
   - Desktop: image square and fully visible (no crop)
   - Only RIGHT arrow (desktop + mobile)
   - Mobile: arrow stays fully inside the bubble
*/

/* Ensure the mock image container can host the slider without clipping controls incorrectly */
.mock-img.studio-mock-img{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:stretch;
}

#studioSlider{
	width:100%;
	height:100%;
	margin:0;
}

#studioSlider .slides-wrap{
	position:relative;
	width:100%;
	max-width:100%;
	margin:0;
	flex:1;
}

/* The visible photo area: square, and it must never exceed the available box */
#studioSlider .slides{
	position:relative;
	width:100%;
	height:100%;
	max-height:100%;
	aspect-ratio:1 / 1;
  height:auto;
	overflow:hidden;
	border-radius:22px;
	background: rgba(255,255,255,.06);
}

/* Each slide covers the square but stays fully visible (no crop) */
#studioSlider .slide{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	object-fit:contain;
	object-position:center;
	opacity:0;
	transition: opacity .25s ease;
}
#studioSlider .slide.active{ opacity:1; }

/* Controls: keep them INSIDE the photo area on desktop (right arrow only) */
#studioSlider .slider-controls{
	position:absolute;
	top:50%;
	left:0;
	right:0;
	transform: translateY(-50%);
	display:flex;
	justify-content:space-between;
	padding:0 12px;
	pointer-events:none;
	z-index:5;
}
#studioSlider .slider-btn{
	pointer-events:auto;
	width:44px;
	height:44px;
	border-radius:999px;
	border:1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.14);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	display:inline-flex;
	align-items:center;
	justify-content:center;
	box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
#studioSlider .slider-btn svg{ width:18px; height:18px; }
#studioSlider .slider-btn.prev{ display:none !important; }
#studioSlider .slider-btn.next{ display:inline-flex !important; }

/* Remove dots/tracks if any legacy markup exists */
#studioSlider .slider-dots,
#studioSlider .gallery-track,
#studioSlider .gallery-dots,
#studioSlider .dots{ display:none !important; }

/* Mobile: keep ONLY the right arrow, fully visible inside the bubble */
@media (max-width: 900px){
	#studioSlider .slides{ border-radius:18px; }
	#studioSlider .slider-controls{ padding:0 10px; }
	#studioSlider .slider-btn{ width:42px; height:42px; }
}

/* ===== STUDIO SLIDER (OVERRIDE v6: fit in mock-img, controls under) ===== */

.mock-img.studio-mock-img{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
}

#studioSlider{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:0;
}

#studioSlider .slides-wrap{
  width:100%;
  max-width:100%;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Reserve space for the controls under the photo */
#studioSlider .slides{
  width:100%;
  max-width:100%;
  aspect-ratio:1 / 1;
  height:auto;
  border-radius:22px;
  overflow:hidden;
  position:relative;
  background: rgba(255,255,255,.06);
}

#studioSlider .slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  background: rgba(0,0,0,.02);
  opacity:0;
  transition: opacity .28s ease;
}
#studioSlider .slide.active{
  opacity:1;
}

/* Controls under the photo, centered */
#studioSlider .slider-controls{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:center;
  padding:0;
}

#studioSlider .slider-btn{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  cursor:pointer;
  display:grid;
  place-items:center;
}

#studioSlider .slider-btn svg{
  width:18px;
  height:18px;
}

/* Show ONLY the right arrow, as requested */
#studioSlider .slider-btn.prev{
  display:none !important;
}

@media (max-width: 900px){
  #studioSlider{ gap:12px; }
  #studioSlider .slides{ max-width:100%; height:auto; aspect-ratio:1/1; }
  #studioSlider .slider-btn{ width:44px; height:44px; }
}


/* =====================================================================
   STUDIO SLIDER – OVERLAY CONTROLS (FINAL)
   - Override definitivo: frecce SOVRAPPOSTE + contatore in basso a destra.
   - Nasconde i vecchi controlli sotto-foto per evitare doppioni.
   ===================================================================== */

#studioSlider .slider-controls{ display:none !important; }

#studioSlider .slides-wrap{ position:relative !important; }

#studioSlider .slider-overlay{
	position:absolute;
	top:50%;
	transform: translateY(-50%);
	width:44px;
	height:44px;
	border-radius:999px;
	border:1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.14);
	backdrop-filter: blur(12px) saturate(140%);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	color:#fff;
	cursor:pointer;
	display:flex;
	align-items:center;
	justify-content:center;
	z-index: 6;
	box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
#studioSlider .slider-overlay span{
	font-size: 28px;
	line-height: 1;
	transform: translateY(-1px);
}
#studioSlider .slider-overlay.prev{ left: 12px; }
#studioSlider .slider-overlay.next{ right: 12px; }

[data-theme="light"] #studioSlider .slider-overlay{
	border:1px solid rgba(0,0,0,.16);
	background: rgba(255,255,255,.80);
	color: rgba(0,0,0,.78);
	box-shadow: 0 12px 26px rgba(0,0,0,.10);
}

#studioSlider .slider-counter{
	position:absolute;
	right: 12px;
	bottom: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	border:1px solid rgba(255,255,255,.18);
	background: rgba(0,0,0,.35);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color:#fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2px;
	z-index: 6;
}

[data-theme="light"] #studioSlider .slider-counter{
	border:1px solid rgba(0,0,0,.16);
	background: rgba(255,255,255,.80);
	color: rgba(0,0,0,.72);
}

@media (max-width: 520px){
	#studioSlider .slider-overlay{ width:48px; height:48px; }
}


/* Lightbox: frecce + contatore (overlay) */
.lightbox{ position:fixed; }
.lightbox-nav{
	position:absolute;
	top:50%;
	transform: translateY(-50%);
	width:48px;
	height:48px;
	border-radius:999px;
	border:1px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.14);
	backdrop-filter: blur(12px) saturate(140%);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	color:#fff;
	cursor:pointer;
	display:flex;
	align-items:center;
	justify-content:center;
	z-index: 100001;
	box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.lightbox-nav span{ font-size: 30px; line-height: 1; transform: translateY(-1px); }
.lightbox-nav.prev{ left: 18px; }
.lightbox-nav.next{ right: 18px; }

.lightbox-counter{
	position:absolute;
	right: 18px;
	bottom: 18px;
	padding: 7px 11px;
	border-radius: 999px;
	border:1px solid rgba(255,255,255,.18);
	background: rgba(0,0,0,.35);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color:#fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2px;
	z-index: 100001;
}



/* =========================================================
   Prenota una visita (section)
   ========================================================= */

.sr-only{
	position:absolute !important;
	width:1px; height:1px;
	padding:0; margin:-1px;
	overflow:hidden;
	clip:rect(0,0,0,0);
	white-space:nowrap;
	border:0;
}

.booking-block h2{
	margin: 0 0 10px;
}

.booking-steps{
	display:flex;
	flex-direction:column;
	gap: 14px;
	margin-top: 10px;
}

.booking-step{
	display:flex;
	gap: 12px;
	align-items:flex-start;
}

.booking-stepDot{
	width: 18px;
	height: 18px;
	border-radius: 50%;
	margin-top: 2px;
	background: rgba(88, 255, 204, 0.22);
	border: 1px solid rgba(88, 255, 204, 0.55);
	box-shadow: 0 0 0 4px rgba(88, 255, 204, 0.10);
	flex: 0 0 auto;
}

[data-theme="light"] .booking-stepDot{
	background: rgba(11, 122, 255, 0.14);
	border-color: rgba(11, 122, 255, 0.35);
	box-shadow: 0 0 0 4px rgba(11, 122, 255, 0.10);
}

.booking-stepBody{
	flex:1 1 auto;
	min-width: 0;
}

.booking-stepTitle{
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 6px;
	color: rgba(233, 242, 255, 0.88);
}

[data-theme="light"] .booking-stepTitle{
	color: rgba(0,0,0,.78);
}

.booking-stepText{
	font-size: 14px;
	color: rgba(233, 242, 255, 0.72);
}

[data-theme="light"] .booking-stepText{
	color: rgba(0,0,0,.68);
}

.booking-select{
	width: 100%;
}

.booking-agenda{
	margin-top: 10px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 16px;
	background: rgba(255,255,255,.03);
	padding: 12px;
}

[data-theme="light"] .booking-agenda{
	border: 1.5px solid rgba(60, 90, 140, .55);
	background: rgba(255,255,255,.95);
}

.booking-days{
	display:flex;
	gap: 10px;
	align-items:stretch;
	overflow:auto;
	padding-bottom: 6px;
}

/* Desktop: mostra 7 giorni contemporaneamente (senza scroll) */
@media (min-width: 920px){
	.booking-days{
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		gap: 10px;
		overflow: visible;
		padding-bottom: 0;
	}
	.booking-day{
		min-width: 0;
		padding: 10px 8px;
	}
}

.booking-daysRow{
	display:flex;
	align-items:center;
	gap: 10px;
}

.booking-next{
	appearance:none;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.02);
	color: rgba(233, 242, 255, 0.92);
	width: 38px;
	height: 38px;
	border-radius: 999px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	flex: 0 0 auto;
	transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.booking-prev{
	appearance:none;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.02);
	color: rgba(233, 242, 255, 0.92);
	width: 38px;
	height: 38px;
	border-radius: 999px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	flex: 0 0 auto;
	transition: transform .12s ease, border-color .12s ease, background .12s ease;
}


.booking-next:hover{
	transform: translateY(-1px);
	border-color: rgba(255,255,255,.22);
	background: rgba(255,255,255,.05);
}

[data-theme="light"] .booking-next{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.55);
	color: rgba(0,0,0,.78);
}


[data-theme="light"] .booking-prev{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.55);
	color: rgba(0,0,0,.78);
}

[data-theme="light"] .booking-prev:hover{
	border-color: rgba(0,0,0,.18);
	background: rgba(255,255,255,.72);
	color: rgba(0,0,0,.88);
}
[data-theme="light"] .booking-next:hover{
	border-color: rgba(0,0,0,.18);
	background: rgba(255,255,255,.72);
}

.booking-time.is-disabled{
	opacity: .55;
	cursor: default;
}

/* Slot occupati (gestiti da admin) */
.booking-time.is-busy{
	opacity: .45;
	cursor: not-allowed;
	text-decoration: none;
	filter: grayscale(0.2);
}

/* Sbarratura orizzontale (solo NON-admin) */
#prenota-visita:not([data-admin="1"]) .booking-time.is-busy::after{
	content:"";
	position:absolute;
	left:10px;
	right:10px;
	top:50%;
	height:2px;
	background: currentColor;
	opacity:.55;
	transform: translateY(-50%);
	pointer-events:none;
}

[data-theme="light"] .booking-time.is-busy{
	opacity: .55;
}

#prenota-visita[data-admin="1"] .booking-time.is-busy{
	cursor: pointer; /* in admin resta cliccabile */
	opacity: .75;
	text-decoration: none;
}

/* Badge Admin in topbar */
.admin-badge{
	margin-left: 10px;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: .08em;
	font-size: 12px;
	text-transform: uppercase;
	border: 1px solid rgba(91,169,255,.55);
	background: rgba(20, 50, 90, .45);
	color: rgba(233,242,255,.95);
	box-shadow: 0 0 0 1px rgba(91,169,255,.12) inset;
	align-self: center;
}

[data-theme="light"] .admin-badge{
	border-color: rgba(0,0,0,.18);
	background: rgba(255,255,255,.70);
	color: rgba(0,0,0,.75);
	box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset;
}

/* Modal admin prenotazioni (popup token + conferma) */
.booking-modalOverlay{
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	backdrop-filter: blur(10px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}


.booking-modalOverlay[hidden]{
	display: none !important;
}
.booking-modal{
	width: min(520px, 100%);
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(10, 18, 32, .92);
	box-shadow: 0 30px 80px rgba(0,0,0,.55);
	padding: 16px 16px 14px;
}

[data-theme="light"] .booking-modal{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.92);
}

.booking-modalTitle{
	font-weight: 800;
	font-size: 16px;
	margin-bottom: 8px;
	color: rgba(233, 242, 255, 0.96);
}

[data-theme="light"] .booking-modalTitle{
	color: rgba(0,0,0,.82);
}

.booking-modalMsg{
	font-size: 14px;
	line-height: 1.35;
	color: rgba(233, 242, 255, 0.78);
	margin-bottom: 12px;
}

[data-theme="light"] .booking-modalMsg{
	color: rgba(0,0,0,.68);
}

.booking-modalBtns{
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.booking-modalBtn{
	appearance: none;
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(255,255,255,.03);
	color: rgba(233,242,255,.92);
	border-radius: 12px;
	padding: 10px 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.booking-modalBtn:hover{
	transform: translateY(-1px);
	border-color: rgba(255,255,255,.25);
	background: rgba(255,255,255,.06);
}

.booking-modalBtn.is-primary{
	border-color: rgba(91,169,255,.55);
	background: rgba(26, 96, 170, .38);
}

[data-theme="light"] .booking-modalBtn{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.65);
	color: rgba(0,0,0,.78);
}

[data-theme="light"] .booking-modalBtn:hover{
	border-color: rgba(0,0,0,.18);
	background: rgba(255,255,255,.80);
}

[data-theme="light"] .booking-modalBtn.is-primary{
	border-color: rgba(0,0,0,.18);
	background: rgba(0,0,0,.06);
}

.booking-dash{
	border: 1px dashed rgba(255,255,255,.14);
	background: rgba(255,255,255,.02);
	color: rgba(233, 242, 255, 0.62);
	border-radius: 12px;
	padding: 10px 12px;
	text-align:center;
}

.booking-closed{
	border: 1px dashed rgba(255,255,255,.16);
	background: rgba(255,255,255,.03);
	color: rgba(233, 242, 255, 0.80);
	border-radius: 12px;
	padding: 12px 12px;
	text-align:center;
	font-weight: 700;
}

.booking-closedNote{
	margin-top: 6px;
	font-size: 12px;
	opacity: .78;
}

/* La nota di chiusura viene mostrata via JS solo quando è selezionato un Sabato */
#bookingClosedNote{ display:none; }


[data-theme="light"] .booking-dash{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.55);
	color: rgba(0,0,0,.55);
}

[data-theme="light"] .booking-closed{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.55);
	color: rgba(0,0,0,.72);
}


.booking-day{
	appearance:none;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.02);
	color: rgba(255,255,255,.92);
	border-radius: 14px;
	padding: 10px 12px;
	min-width: 92px;
	display:flex;
	flex-direction:column;
	align-items:center;
	gap: 2px;
	cursor:pointer;
	user-select:none;
	transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.booking-day:hover{
	transform: translateY(-1px);
	border-color: rgba(255,255,255,.22);
	background: rgba(255,255,255,.05);
}

.booking-day.is-active{
	border-color: rgba(11, 122, 255, 0.70);
	background: rgba(11, 122, 255, 0.14);
	box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

[data-theme="light"] .booking-day{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.55);
	color: rgba(0,0,0,.80);
}

[data-theme="light"] .booking-day:hover{
	border-color: rgba(0,0,0,.18);
	background: rgba(255,255,255,.72);
}

[data-theme="light"] .booking-day.is-active{
	border-color: rgba(11, 122, 255, 0.55);
	background: rgba(11, 122, 255, 0.12);
}

.booking-dayTop{
	font-weight: 700;
	font-size: 13px;
}

.booking-dayBottom{
	font-size: 12px;
	opacity: .72;
	text-transform: capitalize;
}

.booking-timesWrap{
	margin-top: 12px;
	display:flex;
	flex-direction:column;
	gap: 10px;
}

.booking-times{
	display:flex;
	flex-direction:column;
	gap: 8px;
}

.booking-time{
	position: relative;
	overflow: hidden;
	appearance:none;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.02);
	color: rgba(255,255,255,.92);
	border-radius: 12px;
	padding: 10px 12px;
	cursor:pointer;
	text-align:left;
	transition: border-color .12s ease, background .12s ease, transform .12s ease;
}

.booking-time:hover{
	transform: translateY(-1px);
	border-color: rgba(255,255,255,.22);
	background: rgba(255,255,255,.05);
}

.booking-time.is-selected{
	border-color: rgba(88, 255, 204, 0.75);
	background: rgba(88, 255, 204, 0.12);
}

[data-theme="light"] .booking-time{
	border-color: rgba(0,0,0,.12);
	background: rgba(255,255,255,.55);
	color: rgba(0,0,0,.82);
}

[data-theme="light"] .booking-time:hover{
	border-color: rgba(0,0,0,.18);
	background: rgba(255,255,255,.72);
}

[data-theme="light"] .booking-time.is-selected{
	border-color: rgba(11, 122, 255, 0.55);
	background: rgba(11, 122, 255, 0.10);
}

.booking-more{
	appearance:none;
	border: 0;
	background: transparent;
	color: rgba(233, 242, 255, 0.78);
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap: 8px;
	padding: 10px 8px;
	border-radius: 12px;
	cursor:pointer;
	font-weight: 600;
}

.booking-more:hover{
	background: rgba(255,255,255,.06);
}

.booking-moreIcon{
	display:inline-block;
	transform: translateY(1px);
	transition: transform .15s ease;
}

.booking-more.is-open .booking-moreIcon{
	transform: rotate(180deg) translateY(-1px);
}

[data-theme="light"] .booking-more{
	color: rgba(0,0,0,.70);
}

[data-theme="light"] .booking-more:hover{
	background: rgba(0,0,0,.06);
}

.booking-hint{
	min-height: 18px;
}

.booking-form{
	margin-top: 6px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.booking-formRow{
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.booking-input{
	flex: 1 1 180px;
	min-width: 160px;
}

.booking-sendRow{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 2px;
}

.booking-send{
	min-width: 110px;
}

.booking-sendNote{
	min-height: 18px;
}


/* LIGHT THEME – Booking form (I tuoi dati) */
[data-theme="light"] #prenota-visita input{
	border: 1.5px solid rgba(60, 90, 140, .55);
	background: rgba(255,255,255,.95);
}

[data-theme="light"] #prenota-visita input:focus{
	border-color: rgba(60, 90, 140, .9);
	box-shadow: 0 0 0 3px rgba(94, 192, 255, .25);
	outline: none;
}




/* LIGHT THEME – Booking select (Prestazioni disponibili) */
[data-theme="light"] #prenota-visita select{
	border: 1.5px solid rgba(60, 90, 140, .55);
	background: rgba(255,255,255,.95);
	color: rgba(0,0,0,.80);
}

[data-theme="light"] #prenota-visita select:focus{
	border-color: rgba(60, 90, 140, .9);
	box-shadow: 0 0 0 3px rgba(94, 192, 255, .25);
	outline: none;
}
/* =========================================================
   ACCORDION (FAQ + APPROFONDIMENTI) - Liquid Glass
   ========================================================= */
.acc-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:14px;
}

details.acc{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  overflow:hidden;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

details.acc summary{
  cursor:pointer;
  font-weight:800;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  user-select:none;
}

details.acc summary::-webkit-details-marker{ display:none; }
details.acc summary::marker{ content:""; }

details.acc summary::after{
  content:"";
  flex:0 0 auto;
  width:10px;
  height:10px;
  border-right:2px solid rgba(255,255,255,.55);
  border-bottom:2px solid rgba(255,255,255,.55);
  transform: rotate(45deg);
  transition: transform .22s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

details.acc[open] summary::after{
  transform: rotate(-135deg);
}


/* Light theme: ensure accordion chevron is visible */
[data-theme="light"] details.acc{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}

[data-theme="light"] details.acc summary::after{
  border-right:2px solid rgba(0,0,0,.45);
  border-bottom:2px solid rgba(0,0,0,.45);
  filter: drop-shadow(0 2px 6px rgba(255,255,255,.35));
}

details.acc .acc-content{
  display:grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

details.acc[open] .acc-content{
  grid-template-rows: 1fr;
}

details.acc .acc-inner{
  overflow:hidden;
  padding: 0 14px 12px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .22s ease, transform .22s ease;
}

details.acc[open] .acc-inner{
  opacity: 1;
  transform: translateY(0);
}

/* FAQ: distanzia ogni bolla come nelle altre sezioni (.acc-list) */
.faq details.acc{ margin-top:12px; }
.faq details.acc:first-of-type{ margin-top:14px; }

@media (prefers-reduced-motion: reduce){
  details.acc summary::after,
  details.acc .acc-content,
  details.acc .acc-inner{
    transition:none !important;
  }
}

/* =========================================
   FIX LIGHT MODE - AREE DI INTERVENTO (service-group bubbles)
   Make them match the bubbles used in "A chi mi rivolgo"
   ========================================= */
[data-theme="light"] details.service-group{
	border: 1px solid rgba(0,0,0,.10);
	background: rgba(255,255,255,.55);
}

[data-theme="light"] .service-group > summary::after{
	color: rgba(0,0,0,.70);
	opacity: .9;
}

[data-theme="light"] .sg-title{
	color: rgba(0,0,0,.86);
}

[data-theme="light"] .sg-sub{
	color: rgba(0,0,0,.60);
}

/* =========================================
   FIX DARK MODE - Booking WhatsApp Button
   ========================================= */

[data-theme="dark"] #bookingSend {
  color: #ffffff !important;
}


/* Chi sono: bottone invisibile per aprire la foto in lightbox (no new tab) */
.about-photo-trigger{
	background: transparent;
	border: 0;
	padding: 0;
	cursor: zoom-in;
	display: block;
	width: 100%;
}
.about-photo-trigger:focus{outline: none;}
.about-photo-trigger:focus-visible{outline: 2px solid rgba(80,160,255,.9); outline-offset: 4px; border-radius: 14px;}

/* WhatsApp buttons: icon (chat bubble) + label */
.btn.primary{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:10px;
}
.btn.primary .btn-icon{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	line-height:0;
}
.btn.primary .chat-bubble-icon{
	width:18px;
	height:18px;
	color:#fff; /* nuvoletta bianca */
}


/* Uniform accordion arrows */
.accordion-toggle{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.accordion-toggle::after{
    content:"›";
    transform:rotate(90deg);
    transition:transform .2s ease;
}
.accordion-toggle[aria-expanded="true"]::after{
    transform:rotate(270deg);
}



/* =========================================================
   Uniform chevrons: make "Aree di intervento" service groups
   use the same chevron style/position as "A chi mi rivolgo"
   (details.acc summary).
   ========================================================= */
details.service-group > summary{
	cursor:pointer;
	font-weight:800;
	padding:12px 14px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	user-select:none;
	flex-direction:row; /* override previous column */
}

details.service-group > summary .sg-head{
	display:flex;
	flex-direction:column;
	gap:6px;
	min-width:0;
}

details.service-group > summary::-webkit-details-marker{ display:none; }
details.service-group > summary::marker{ content:""; }

/* Chevron (same as details.acc) */
details.service-group > summary::after{
	content:"";
	flex:0 0 auto;
	width:10px;
	height:10px;
	border-right:2px solid rgba(255,255,255,.55);
	border-bottom:2px solid rgba(255,255,255,.55);
	transform: rotate(45deg);
	transition: transform .22s ease;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

details.service-group[open] > summary::after{
	transform: rotate(-135deg);
}

/* Light theme: ensure chevron is visible */
:root[data-theme="light"] details.service-group > summary::after{
	border-right-color: rgba(0,0,0,.45);
	border-bottom-color: rgba(0,0,0,.45);
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}



/* Topbar: miniatura tonda profilo a sinistra del nome */
.brand-wrap{
	display:flex;
	align-items:center;
	gap:10px;
}
.topbar-photo-trigger{
	width:40px;
	height:40px;
	border-radius:999px;
	overflow:hidden;
	padding:0;
	border:1px solid rgba(255,255,255,.22);
	background:transparent;
	cursor:zoom-in;
	flex:0 0 auto;
	box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
:root[data-theme="light"] .topbar-photo-trigger{
	border-color: rgba(0,0,0,.18);
	box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.topbar-photo-img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}
.topbar-photo-trigger:focus{outline:none;}
.topbar-photo-trigger:focus-visible{outline: 2px solid rgba(80,160,255,.9); outline-offset: 3px;}


.theme-toggle{
	display:inline-flex;
	align-items:center;
	gap:10px;
	padding:8px 10px;
	border-radius:999px;
	border:1px solid rgba(255,255,255,0.14);
	background:rgba(255,255,255,0.08);
	color:inherit;
	cursor:pointer;
	line-height:1;
	-webkit-tap-highlight-color: transparent;
}


/* Desktop: show theme toggle inside topbar (left) only when hamburger is NOT present */
.desktop-theme-toggle{
	margin-left: 0 !important;
	margin-right: 10px;
	padding: 6px 8px;
}
@media (max-width: 900px){
	.desktop-theme-toggle{ display:none !important; }
}


.theme-toggle:focus{
	outline:none;
	box-shadow: 0 0 0 3px rgba(90,170,255,0.25);
}

.theme-toggle__icon{
	font-size:14px;
	opacity:0.9;
	transform: translateZ(0);
	transition: opacity .25s ease, transform .25s ease;
}

.theme-toggle__track{
	position:relative;
	width:44px;
	height:22px;
	border-radius:999px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.12);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.theme-toggle__thumb{
	position:absolute;
	top:50%;
	left:2px;
	width:18px;
	height:18px;
	border-radius:999px;
	transform: translate3d(0,-50%,0);
	background: rgba(255,255,255,0.85);
	box-shadow: 0 6px 16px rgba(0,0,0,0.18);
	transition: transform .28s cubic-bezier(.2,.9,.2,1), background .25s ease;
}

/* LIGHT */
[data-theme="light"] .theme-toggle{
	border-color: rgba(0,0,0,0.10);
	background: rgba(0,0,0,0.04);
}
[data-theme="light"] .theme-toggle__track{
	background: rgba(0,0,0,0.06);
	border-color: rgba(0,0,0,0.10);
}
[data-theme="light"] .theme-toggle__thumb{
	background: rgba(255,255,255,0.95);
}
/* DARK */
[data-theme="dark"] .theme-toggle{
	border-color: rgba(255,255,255,0.14);
	background: rgba(255,255,255,0.06);
}
[data-theme="dark"] .theme-toggle__thumb{
	transform: translate3d(22px,-50%,0);
	background: rgba(255,255,255,0.86);
}
/* ==============================
   Theme toggle (Topbar) – icons INSIDE + smooth transition
   ============================== */
.theme-toggle{
	display:inline-flex;
	align-items:center;
	padding:6px;
	border-radius:999px;
	border:1px solid rgba(255,255,255,0.14);
	background:rgba(255,255,255,0.08);
	color:inherit;
	cursor:pointer;
	line-height:1;
	-webkit-tap-highlight-color: transparent;
	transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.theme-toggle:focus{
	outline:none;
	box-shadow: 0 0 0 3px rgba(90,170,255,0.25);
}

.theme-toggle__track{
	position:relative;
	width:62px;
	height:26px;
	border-radius:999px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.12);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
	overflow:hidden;
	transition: background .28s ease, border-color .28s ease;
}

/* Icons INSIDE the track */
.theme-toggle__icon{
	position:absolute;
	top:50%;
	transform: translate3d(0,-50%,0) scale(1);
	font-size:14px;
	opacity:0.9;
	filter: drop-shadow(0 0 2px rgba(0,0,0,0.18));
	transition: opacity .28s ease, transform .28s cubic-bezier(.2,.9,.2,1), filter .28s ease;
	pointer-events:none;
	user-select:none;
}

.theme-toggle__icon--sun{ left:8px; }
.theme-toggle__icon--moon{ right:8px; }

.theme-toggle__thumb{
	position:absolute;
	top:50%;
	left:3px;
	width:20px;
	height:20px;
	border-radius:999px;
	transform: translate3d(0,-50%,0);
	background: rgba(255,255,255,0.90);
	box-shadow: 0 8px 18px rgba(0,0,0,0.20);
	transition: transform .32s cubic-bezier(.2,.9,.2,1), background .28s ease, box-shadow .28s ease;
}

/* LIGHT */
[data-theme="light"] .theme-toggle{
	border-color: rgba(0,0,0,0.10);
	background: rgba(0,0,0,0.04);
}
[data-theme="light"] .theme-toggle__track{
	background: rgba(0,0,0,0.06);
	border-color: rgba(0,0,0,0.10);
}
[data-theme="light"] .theme-toggle__thumb{
	background: rgba(255,255,255,0.96);
}
/* DARK */
[data-theme="dark"] .theme-toggle{
	border-color: rgba(255,255,255,0.14);
	background: rgba(255,255,255,0.06);
}
[data-theme="dark"] .theme-toggle__track{
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .theme-toggle__thumb{
	transform: translate3d(33px,-50%,0);
	background: rgba(255,255,255,0.88);
}


/* Show ONLY the "next theme" icon:
   - LIGHT: show moon (click -> dark)
   - DARK:  show sun  (click -> light) */
[data-theme="light"] .theme-toggle__icon--sun{
	opacity:0;
	transform: translate3d(0,-50%,0) scale(0.92);
	filter:none;
}
[data-theme="light"] .theme-toggle__icon--moon{
	opacity:1;
	transform: translate3d(0,-50%,0) scale(1.05);
	filter: drop-shadow(0 0 3px rgba(0,0,0,0.22));
}

[data-theme="dark"] .theme-toggle__icon--moon{
	opacity:0;
	transform: translate3d(0,-50%,0) scale(0.92);
	filter:none;
}
[data-theme="dark"] .theme-toggle__icon--sun{
	opacity:1;
	transform: translate3d(0,-50%,0) scale(1.05);
	filter: drop-shadow(0 0 3px rgba(0,0,0,0.22));
}


/* Desktop only – refined topbar brand typography */

	.nav .brand span{
		font-size: 0.75em;
		font-family: "Playfair Display", "Georgia", serif;
		font-style: italic;
		letter-spacing: 0.5px;
	}
}


/* Global – refined topbar brand typography (desktop + mobile) */
.nav .brand strong,
.nav .brand span{
	font-size: 0.75em;
	font-family: "Playfair Display", "Georgia", serif;
	font-style: italic;
	letter-spacing: 0.5px;
}



}


/* Pixel 7 precise fix (412px) – single line + equal font size */
@media (max-width: 412px){
	.nav .brand strong,
	.nav .brand span{
		font-size: 0.58em;
		white-space: nowrap;
		line-height: 1.1;
	}
}

/* ==============================
   FIX Pixel 7 - Topbar Title (single line)
   - Il titolo in topbar è dentro: .brand-wrap .brand > strong
   ============================== */
@media (max-width: 430px) {

  /* Evita a capo del blocco brand */
  .topbar .brand,
  .topbar .brand strong {
    white-space: nowrap;
  }

  /* Riduci solo il titolo principale (strong) per Pixel 7 */
  .topbar .brand strong {
    font-size: 1rem;
    letter-spacing: -0.3px;
  }

}


.booking-prev:disabled{ opacity:0.35; cursor:not-allowed; }
/* Prev arrow: visibile SOLO dopo aver avanzato almeno di 1 giorno (cioè quando si può tornare indietro) */
.booking-prev{ display:none !important; }
.booking-daysRow[data-can-prev="1"] .booking-prev{ display:inline-flex !important; }


/* Dark mode: dropdown prestazioni */
[data-theme="dark"] select{
	background-color: #1b2433;
	color: #e9f2ff;
	border-color: rgba(255,255,255,.15);
}

[data-theme="dark"] select option{
	background-color: #1b2433;
	color: #e9f2ff;
}


/* ===== Prenotazioni: slot occupati (utente) ===== */
.booking-time.is-booked{
	opacity: 0.45;
	cursor: not-allowed !important;
	filter: grayscale(0.4);
}
.booking-time.is-booked:hover{
	transform: none !important;
}

/* Evidenziazione in admin */
.booking-time.is-bookedAdminMark{
	outline: 2px solid rgba(120,200,255,0.55);
	outline-offset: 2px;
}

/* ===== Admin panel prenotazioni ===== */
.booking-adminPanel{
	margin-top: 12px;
	padding: 14px;
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.06);
	box-shadow: var(--shadow2);
}
[data-theme="light"] .booking-adminPanel{
	border-color: rgba(0,0,0,.10);
	background: rgba(255,255,255,.70);
}
.booking-adminTitle{
	font-weight: 700;
	margin-bottom: 8px;
}
.booking-adminRow{
	display:flex;
	gap:10px;
	align-items:center;
	flex-wrap: wrap;
	justify-content: space-between;
}
.booking-adminHint{
	color: var(--muted);
	font-size: 13px;
	flex: 1 1 auto;
}
.booking-adminBtn{
	padding: 8px 12px !important;
}
.booking-adminTextarea{
	margin-top: 10px;
	width: 100%;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 12.5px;
}
.booking-adminNote{
	margin-top: 8px;
	font-size: 12.5px;
}


/* ALLINEAMENTO FORZATO PULSANTE WHATSAPP (Prenota una visita) */
.booking-stepSend .booking-sendRow{
	margin-left: -30px; /* 18px dot + 12px gap */
	width: calc(100% + 30px);
}


/* Evidenziazione campo non valido */
.field.is-invalid,
.booking-input.is-invalid {
	border: 2px solid #d90429 !important;
	background-color: rgba(217,4,41,0.05);
}
