/* ============================================================
   Design tokens, stessa identità del sito precedente, in una
   versione più leggera pensata per un'unica pagina.
   ============================================================ */
:root{
  --ink:#15140f;
  --paper:#fbf7f0;
  --paper-dim:#f1ead9;
  --paper-card:#ffffff;
  --accent:#ff4d23;
  --accent-soft:#ffe4d8;
  --lime:#d8ff5b;
  --whatsapp:#25d366;   /* verde ufficiale WhatsApp: abbinato a testo scuro per contrasto AA */
  --line:#e6ddc8;
  --text:#1c1a14;
  --text-soft:#5b5445;
  --text-invert:#fbf7f0;
  --text-invert-soft:#bdb6a3;

  --radius-sm:10px;
  --radius-md:18px;
  --radius-lg:28px;
  --radius-pill:999px;

  --shadow-sm:0 2px 12px rgba(21,20,15,.07);
  --shadow-md:0 16px 40px rgba(21,20,15,.11);

  --container:1120px;
  --nav-h:76px;
  --ease:cubic-bezier(.22,1,.36,1);
}

/* ============================================================
   Reset
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;}
*{margin:0;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 12px);}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}
body{
  min-height:100dvh;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--paper);
  color:var(--text);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;padding:0;}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer;}
input,textarea{font:inherit;color:inherit;}
h1,h2,h3{
  font-family:'Outfit',system-ui,sans-serif;
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.01em;
  text-wrap:balance;
}
p{text-wrap:pretty;}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px;}

.skip-link{
  position:absolute;left:1rem;top:-60px;z-index:1000;
  background:var(--ink);color:var(--paper);
  padding:.8rem 1.2rem;border-radius:var(--radius-sm);
  transition:top .2s var(--ease);
}
.skip-link:focus{top:1rem;}

/* ============================================================
   Layout helpers
   ============================================================ */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:1.25rem;}
@media (min-width:768px){.container{padding-inline:2rem;}}

.section{padding-block:clamp(3rem,7vw,5.5rem);}
.section-dim{background:var(--paper-dim);}

.grid{display:grid;gap:1.5rem;}

.eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-family:'Outfit',sans-serif;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--text-soft);
}
.eyebrow::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none;}

.h-display{font-size:clamp(2.3rem,5vw,3.7rem);}
.h-1{font-size:clamp(1.9rem,3.6vw,2.5rem);}
.h-3{font-size:clamp(1.15rem,1.6vw,1.3rem);}
.lede{font-size:clamp(1.02rem,1.5vw,1.18rem);color:var(--text-soft);line-height:1.65;max-width:52ch;}
.section-head{max-width:60ch;margin-bottom:2.5rem;}
.center{margin-inline:auto;text-align:center;}

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:.95rem 1.6rem;
  border-radius:var(--radius-pill);
  font-family:'Outfit',sans-serif;
  font-weight:600;
  font-size:.98rem;
  cursor:pointer;
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  min-height:48px;
}
.btn svg{width:20px;height:20px;flex:none;}
.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);}
.btn-accent{background:var(--accent);color:var(--ink);}
.btn-dark{background:var(--ink);color:var(--text-invert);}
.btn-whatsapp{background:var(--whatsapp);color:var(--ink);}
.btn-outline{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line);}
.btn-outline:hover{box-shadow:inset 0 0 0 1.5px var(--ink);}
.btn-block{width:100%;}
.btn-lg{padding:1.05rem 1.8rem;font-size:1.02rem;}
.btn-pulse{position:relative;}
.btn-pulse::after{
  content:'';
  position:absolute;inset:0;
  border-radius:inherit;
  box-shadow:0 0 0 0 rgba(37,211,102,.6);
  animation:btn-pulse-ring 1.8s ease-out infinite;
  pointer-events:none;
}
@keyframes btn-pulse-ring{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,.6);}
  70%{box-shadow:0 0 0 22px rgba(37,211,102,0);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:100;
  padding:.9rem 0;
  background:var(--paper);
  border-bottom:1px solid transparent;
  transition:border-color .2s var(--ease);
}
.site-header.is-scrolled{border-bottom-color:var(--line);}
.nav-row{
  max-width:var(--container);margin-inline:auto;padding-inline:1.25rem;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
@media (min-width:768px){.nav-row{padding-inline:2rem;}}
.brand{display:flex;align-items:center;gap:.7rem;}
.brand-mark{
  display:grid;place-items:center;
  width:40px;height:40px;border-radius:50%;
  background:var(--ink);color:var(--lime);
  font-family:'Outfit',sans-serif;font-weight:700;font-size:.95rem;
  flex:none;
}
.brand-name{font-family:'Outfit',sans-serif;font-weight:700;font-size:1rem;line-height:1.2;}
.brand-name small{display:block;font-family:'Inter',sans-serif;font-weight:500;font-size:.72rem;color:var(--text-soft);}

.nav-links{display:none;align-items:center;gap:1.9rem;}
.nav-links a{font-size:.94rem;font-weight:500;color:var(--text-soft);transition:color .15s;}
.nav-links a:hover{color:var(--ink);}
@media (min-width:900px){.nav-links{display:flex;}}

.nav-cta{display:none;}
@media (min-width:900px){.nav-cta{display:inline-flex;}}

.nav-toggle{
  display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  background:var(--paper-card);box-shadow:inset 0 0 0 1px var(--line);
}
.nav-toggle svg{width:22px;height:22px;}
@media (min-width:900px){.nav-toggle{display:none;}}

.mobile-panel{
  display:none;
  position:absolute;top:100%;left:0;right:0;z-index:99;
  border-bottom:1px solid var(--line);
  background:var(--paper);
  box-shadow:var(--shadow-md);
  max-height:calc(100dvh - 100%);
  overflow-y:auto;
}
.mobile-panel.is-open{display:block;}
.mobile-panel .container{padding-block:1.25rem;display:flex;flex-direction:column;gap:1.5rem;}
.mobile-panel nav{display:flex;flex-direction:column;gap:.2rem;}
.mobile-panel nav a{padding:.7rem .2rem;font-weight:600;font-size:1.05rem;border-bottom:1px solid var(--line);}
.mobile-panel .mobile-ctas{display:flex;flex-direction:column;gap:.7rem;}
@media (min-width:900px){.mobile-panel{display:none !important;}}

/* ============================================================
   Hero
   ============================================================ */
.hero{padding-block:clamp(2.5rem,6vw,5rem) clamp(2.5rem,6vw,4.5rem);}
.hero-intro{max-width:46rem;margin-inline:auto;text-align:center;}
.h-display-sub{
  display:block;
  margin-top:.4rem;
  font-family:'Outfit',sans-serif;
  font-weight:600;
  font-size:clamp(1.2rem,2.4vw,1.6rem);
  color:var(--text-soft);
}

.hero-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:.9rem;margin-top:2rem;}

.portrait-card{
  position:relative;width:100%;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.portrait-card img{
  width:100%;height:100%;
  object-fit:cover;display:block;
}

/* ============================================================
   Chi sono
   ============================================================ */
.bio-grid{display:grid;gap:2.5rem;align-items:start;}
@media (min-width:900px){.bio-grid{grid-template-columns:.85fr 1.15fr;gap:3.5rem;}}

/* ============================================================
   Competenze
   ============================================================ */
.service-grid{grid-template-columns:1fr;}
@media (min-width:640px){.service-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1024px){.service-grid{grid-template-columns:repeat(3,1fr);}}
.card{
  background:var(--paper-card);border-radius:var(--radius-md);
  padding:1.7rem;box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;gap:.9rem;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.card.has-illustration{position:relative;overflow:hidden;}
.card.has-illustration > :not(.card-illustration){position:relative;z-index:1;}
.card-illustration{
  position:absolute;right:-26px;bottom:-30px;width:165px;height:auto;
  opacity:.17;pointer-events:none;user-select:none;z-index:0;
  transform:rotate(-8deg);transition:transform .4s var(--ease),opacity .4s var(--ease);
}
.card-illustration.is-small{width:125px;right:-18px;bottom:-22px;}
.card.has-illustration:hover .card-illustration{transform:rotate(0deg) scale(1.06);opacity:.25;}
.card-icon{
  width:46px;height:46px;border-radius:50%;
  background:var(--accent-soft);color:var(--accent);
  display:grid;place-items:center;flex:none;
  transition:transform .25s var(--ease);
}
.card:hover .card-icon{transform:scale(1.1) rotate(-4deg);}
.card-icon svg{width:22px;height:22px;}
.card h3{font-size:1.05rem;}
.card p{font-size:.92rem;color:var(--text-soft);line-height:1.6;}

.service-grid .card:nth-child(1){background:#fff5f0;}
.service-grid .card:nth-child(2){background:#f0f9f6;}
.service-grid .card:nth-child(3){background:#fdf9ef;}
.service-grid .card:nth-child(4){background:#eff5fa;}
.service-grid .card:nth-child(5){background:#fbf1ee;}
.service-grid .card:nth-child(6){background:#f6f1fa;}
.service-grid .card:nth-child(1) .card-icon{background:#ffe4d8;color:#ff4d23;}
.service-grid .card:nth-child(2) .card-icon{background:#dbeee7;color:#0f766e;}
.service-grid .card:nth-child(3) .card-icon{background:#faf0d9;color:#b45f06;}
.service-grid .card:nth-child(4) .card-icon{background:#e1ebf5;color:#35608a;}
.service-grid .card:nth-child(5) .card-icon{background:#f6e2da;color:#b1502f;}
.service-grid .card:nth-child(6) .card-icon{background:#ebe2f5;color:#6b4a8f;}

/* Non una dieta, un metodo: punti chiave a fianco del testo (solo desktop) */
.method-points{display:none;}
@media (min-width:960px){
  .method-head{display:grid;grid-template-columns:1.2fr .8fr;gap:3.5rem;align-items:center;margin-bottom:2.5rem;}
  .method-head .section-head{margin-bottom:0;max-width:none;}
  .method-points{display:flex;flex-direction:column;gap:1rem;list-style:none;}
  .method-points li{
    display:flex;align-items:center;gap:1rem;padding:1.1rem 1.3rem;
    background:var(--paper-card);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);
  }
  .method-points{gap:1.2rem;}
  .method-points li{transition:transform .3s var(--ease);}
  .method-points li:nth-child(1){
    background:#f0f9f6;--m-color:#0f766e;
    margin-right:4.5rem;border-radius:30px 30px 30px 8px;
  }
  .method-points li:nth-child(2){
    background:var(--ink);--m-color:var(--lime);
    margin-left:4rem;border-radius:12px 30px 12px 30px;transform:rotate(1.2deg);
  }
  .method-points li:nth-child(2) .method-icon{color:var(--ink);box-shadow:none;}
  .method-points li:nth-child(2) strong{color:#fff;}
  .method-points li:nth-child(2) small{color:rgba(255,255,255,.72);}
  .method-points li:nth-child(3){
    background:transparent;--m-color:#35608a;
    margin-left:1.2rem;margin-right:2rem;border-radius:999px;
    border:2px dashed #35608a;box-shadow:none;padding-right:1.8rem;
  }
  .method-icon{
    flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
    background:var(--m-color);color:#fff;box-shadow:0 6px 14px -6px var(--m-color);
  }
  .method-icon svg{width:22px;height:22px;}
  .method-points strong{display:block;font-family:'Outfit',sans-serif;font-size:1.05rem;color:var(--ink);}
  .method-points small{display:block;font-size:.88rem;color:var(--text-soft);margin-top:.1rem;}
}

/* Finta chat fluttuante accanto al passo "Piano su misura" */
.step-row{position:relative;}
.step-chat{margin-top:1rem;}
.chat-float{position:relative;}
.chat-body{display:flex;flex-direction:column;gap:.6rem;}
.msg{max-width:92%;padding:.7rem 1rem;font-size:.92rem;line-height:1.5;border-radius:20px;box-shadow:0 6px 18px -8px rgba(21,20,15,.35);}
.msg-in{align-self:flex-start;background:#fff;color:var(--ink);border-bottom-left-radius:5px;}
.msg-out{align-self:flex-end;background:var(--lime);color:var(--ink);border-bottom-right-radius:5px;font-weight:500;}
.typing{display:flex;gap:.3rem;align-items:center;padding:.85rem 1.05rem;}
.typing span{width:7px;height:7px;border-radius:50%;background:rgba(21,20,15,.45);animation:chat-dot 1s ease-in-out infinite;}
.typing span:nth-child(2){animation-delay:.15s;}
.typing span:nth-child(3){animation-delay:.3s;}
@media (min-width:960px){
  .steps .step-link--2,.steps .step-link--3{height:150px;}
  .step-chat{
    position:absolute;right:0;top:50%;width:min(31%,340px);margin-top:0;
    transform:translateY(-50%);z-index:2;
  }
  .step-chat .chat-float{animation:chat-float 7s ease-in-out infinite;}
}
@keyframes chat-float{0%,100%{translate:0 0;}50%{translate:0 -7px;}}
/* sequenza: messaggio del cliente, puntini, risposta */
.chat-float .msg{opacity:0;}
.chat-float.is-visible .msg-1{animation:chat-pop .45s var(--ease) .5s both;}
.chat-float.is-visible .typing{animation:chat-typing 1.5s var(--ease) 1.3s both;}
.chat-float.is-visible .msg-2{animation:chat-pop .45s var(--ease) 2.9s both;}
@keyframes chat-pop{from{opacity:0;transform:translateY(10px) scale(.96);}to{opacity:1;transform:none;}}
@keyframes chat-typing{
  0%{opacity:0;max-height:0;padding-block:0;margin-top:-.6rem;}
  12%{opacity:1;max-height:3rem;padding-block:.85rem;margin-top:0;}
  88%{opacity:1;max-height:3rem;padding-block:.85rem;margin-top:0;}
  100%{opacity:0;max-height:0;padding-block:0;margin-top:-.6rem;}
}
@keyframes chat-dot{0%,100%{transform:translateY(0);opacity:.5;}50%{transform:translateY(-4px);opacity:1;}}

/* Cerchi decorativi agli angoli (sezioni troppo bianche) */
.deco{position:relative;overflow:hidden;}
.deco::before,.deco::after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:0;}
.deco::before{width:clamp(200px,26vw,360px);aspect-ratio:1;right:-5%;top:-14%;background:var(--lime);opacity:.5;}
.deco::after{width:clamp(150px,18vw,260px);aspect-ratio:1;left:-4%;bottom:-16%;background:var(--accent);opacity:.12;}
.deco--b::before{right:auto;left:-5%;top:auto;bottom:-14%;}
.deco--b::after{left:auto;right:-4%;bottom:auto;top:-16%;}
.deco > *{position:relative;z-index:1;}

/* Pillole "cosa controlliamo" accanto al passo Controlli di follow-up */
.step-checks{margin-top:1rem;}
.check-list{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem;}
.check-list li{
  display:inline-flex;align-items:center;gap:.6rem;padding:.4rem 1rem .4rem .4rem;
  border-radius:999px;background:var(--c-bg,#fff);font-weight:600;font-size:.92rem;color:var(--ink);
  box-shadow:var(--shadow-sm);opacity:0;
}
.check-icon{
  width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:var(--c);color:#fff;
}
.check-icon svg{width:18px;height:18px;}
.check-list li:nth-child(1){--c:#ff4d23;--c-bg:#fff5f0;}
.check-list li:nth-child(2){--c:#0f766e;--c-bg:#f0f9f6;}
.check-list li:nth-child(3){--c:#b45f06;--c-bg:#fdf9ef;}
.check-list li:nth-child(4){--c:#35608a;--c-bg:#eff5fa;}
.check-list li:nth-child(5){--c:#6b4a8f;--c-bg:#f6f0fb;}
.check-list.is-visible li{animation:chat-pop .45s var(--ease) both;}
.check-list.is-visible li:nth-child(1){animation-delay:.2s;}
.check-list.is-visible li:nth-child(2){animation-delay:.4s;}
.check-list.is-visible li:nth-child(3){animation-delay:.6s;}
.check-list.is-visible li:nth-child(4){animation-delay:.8s;}
.check-list.is-visible li:nth-child(5){animation-delay:1s;}
@media (min-width:960px){
  .step-checks{
    position:absolute;left:0;top:50%;transform:translateY(-50%);width:calc(36% - 1.5rem);margin-top:0;z-index:2;
  }
  .check-list{justify-content:flex-end;gap:.55rem;}
  .check-list li:nth-child(even){margin-top:.5rem;}
}

/* Blocco note accanto al passo "Prima visita e anamnesi" */
.step-note{margin:.8rem auto 0;width:min(250px,78%);}
.notepad{
  position:relative;background:#fff1bf;border-radius:5px 5px 12px 12px;
  padding:1.9rem 1rem .9rem 1.35rem;
  box-shadow:var(--shadow-md);transform:rotate(-2deg);
  background-image:linear-gradient(90deg,transparent .95rem,rgba(255,77,35,.38) .95rem,rgba(255,77,35,.38) calc(.95rem + 1.5px),transparent calc(.95rem + 1.5px));
}
.notepad::before{
  content:"";position:absolute;left:0;right:0;top:0;height:18px;
  background:radial-gradient(circle at center,var(--ink) 3.6px,transparent 4px) 0 5px/18px 14px repeat-x;
  border-radius:5px 5px 0 0;border-bottom:1px solid rgba(21,20,15,.1);
}
.notepad-title{font-family:'Outfit',sans-serif;font-weight:800;font-size:.95rem;color:var(--accent);margin-bottom:.35rem;padding-left:.75rem;}
.notepad ul{list-style:none;display:flex;flex-direction:column;}
.notepad li{
  display:flex;align-items:center;gap:.5rem;padding:.42rem 0 .38rem .75rem;
  border-bottom:1.5px solid rgba(53,96,138,.25);
  font-family:'Outfit',sans-serif;font-weight:600;font-size:.86rem;line-height:1.25;color:var(--ink);opacity:0;
}
.notepad li svg{width:15px;height:15px;flex:none;color:#0f766e;}
.notepad.is-visible li{animation:chat-pop .45s var(--ease) both;}
.notepad.is-visible li:nth-child(1){animation-delay:.2s;}
.notepad.is-visible li:nth-child(2){animation-delay:.5s;}
.notepad.is-visible li:nth-child(3){animation-delay:.8s;}
.notepad.is-visible li:nth-child(4){animation-delay:1.1s;}
@media (min-width:960px){
  .step-note{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:min(27%,250px);margin:0;z-index:2;}
  .steps .step-link--1{height:110px;}
}

/* Doodle del telefono accanto al passo "Prima richiesta" */
.step-doodle{margin-top:.8rem;width:min(170px,50%);margin-inline:auto;}
.doodle svg{display:block;width:100%;height:auto;overflow:visible;}
.ring{animation:doodle-ring 2.2s ease-in-out infinite;}
.ring-b{animation-delay:1.1s;}
.doodle .pop{transform-box:fill-box;transform-origin:30% 100%;animation:doodle-pop 3.6s ease-in-out infinite;}
@keyframes doodle-ring{0%,100%{opacity:.25;}50%{opacity:1;}}
@keyframes doodle-pop{0%,80%,100%{transform:scale(1);}88%{transform:scale(1.08);}}
@media (min-width:960px){
  .step-doodle{position:absolute;right:1.5rem;top:50%;transform:translateY(-50%);width:min(24%,230px);margin:0;z-index:2;}
}

/* Certificazioni (elenco espandibile in Chi sono) */
.cert{margin-top:1.4rem;max-width:60ch;}
.cert-toggle{
  display:inline-flex;align-items:center;gap:.6rem;cursor:pointer;list-style:none;
  padding:.7rem 1.1rem;border-radius:999px;font-weight:600;font-size:.95rem;
  border:1.5px solid var(--ink);color:var(--ink);background:transparent;
  transition:background .2s var(--ease),color .2s var(--ease);
}
.cert-toggle::marker,.cert-toggle::-webkit-details-marker{display:none;}
.cert-toggle:hover,.cert[open] .cert-toggle{background:var(--ink);color:var(--paper);}
.cert-icon{width:20px;height:20px;flex:none;}
.cert-chevron{width:16px;height:16px;flex:none;transition:transform .3s var(--ease);}
.cert[open] .cert-chevron{transform:rotate(180deg);}
.cert-list{list-style:none;margin-top:1rem;display:flex;flex-direction:column;gap:.7rem;}
.cert-list li{
  display:flex;align-items:center;gap:1rem;
  background:var(--paper-card);border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);padding:.9rem 1.1rem;
}
.cert-list li:nth-child(1){background:#f0f9f6;--cert-color:#0f766e;}
.cert-list li:nth-child(2){background:#eff5fa;--cert-color:#35608a;}
.cert-list li:nth-child(3){background:#fdf9ef;--cert-color:#b45f06;}
.cert-year{
  flex:none;width:46px;height:46px;border-radius:50%;
  display:grid;place-items:center;
  color:#fff;background:var(--cert-color,var(--ink));
  box-shadow:0 6px 14px -6px var(--cert-color,var(--ink));
}
.cert-year svg{width:22px;height:22px;}
.cert-body{display:flex;flex-direction:column;gap:.1rem;}
.cert-body strong{font-size:.98rem;color:var(--ink);}
.cert-body small{font-size:.85rem;color:var(--text-soft);line-height:1.45;}
.cert-body em{font-style:normal;font-size:.84rem;color:var(--text-soft);line-height:1.45;margin-top:.25rem;}

/* ============================================================
   Come funziona (fisarmonica)
   ============================================================ */
.steps{display:flex;flex-direction:column;counter-reset:step;}
@media (min-width:860px){
  .step{width:64%;}
  .step-1,.step-3{margin-right:auto;}
  .step-2,.step-4{margin-left:auto;}
}
/* linea tratteggiata morbida che collega i passaggi */
.step-link{display:block;width:100%;height:50px;overflow:visible;pointer-events:none;}
.step-link path{
  fill:none;stroke:var(--link-color,#ff4d23);stroke-width:3;stroke-linecap:round;
  stroke-dasharray:9 12;vector-effect:non-scaling-stroke;opacity:.75;
}
.step-link--1{--link-color:#ff4d23;}
.step-link--2{--link-color:#0f766e;}
.step-link--3{--link-color:#b45f06;}
.step{
  --step-bg:#fff5f0;--step-color:#ff4d23;
  position:relative;overflow:hidden;counter-increment:step;
  background:var(--step-bg);border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.step:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.step::after{
  content:counter(step);
  position:absolute;right:.9rem;top:-.55rem;z-index:0;
  font-family:'Outfit',sans-serif;font-weight:800;font-size:6.2rem;line-height:1;
  color:var(--step-color);opacity:.13;pointer-events:none;user-select:none;
  transition:transform .4s var(--ease),opacity .4s var(--ease);
}
.step:hover::after{opacity:.2;transform:scale(1.06) rotate(-4deg);}
.step-1{--step-bg:#fff5f0;--step-color:#ff4d23;}
.step-2{--step-bg:#f0f9f6;--step-color:#0f766e;}
.step-3{--step-bg:#fdf9ef;--step-color:#b45f06;}
.step-4{--step-bg:#eff5fa;--step-color:#35608a;}
.step-header{
  position:relative;z-index:1;
  display:flex;align-items:center;gap:1rem;
  padding:1.25rem 1.4rem;
}
.step-icon{
  flex:none;width:48px;height:48px;border-radius:50%;
  background:var(--step-color);color:#fff;
  display:grid;place-items:center;
  box-shadow:0 6px 14px -6px var(--step-color);
  transition:transform .25s var(--ease);
}
.step:hover .step-icon{transform:scale(1.08) rotate(-5deg);}
.step-icon svg{width:22px;height:22px;}
.step-header h3{flex:1;font-size:1.08rem;}
.step-panel{position:relative;z-index:1;padding:0 1.4rem 1.35rem 5.4rem;}
.step-panel p{font-size:.93rem;color:var(--text-soft);line-height:1.65;}

/* ============================================================
   Contatti
   ============================================================ */
.contact-grid{grid-template-columns:1fr;}
@media (min-width:640px){.contact-grid{grid-template-columns:repeat(2,1fr);}}
.contact-option{
  border-radius:var(--radius-lg);padding:2rem;
  display:flex;flex-direction:column;gap:1rem;
}
.contact-option.is-primary{background:var(--ink);color:var(--text-invert);}
.contact-option.is-primary p{color:var(--text-invert-soft);}
.contact-option.is-secondary{background:var(--paper-card);box-shadow:var(--shadow-sm);}
.contact-option.is-secondary p{color:var(--text-soft);}
.contact-option h3{font-size:1.15rem;}
.contact-option .card-icon{background:rgba(255,255,255,.1);color:var(--lime);}
.contact-option.is-secondary .card-icon{background:var(--accent-soft);color:var(--accent);}

.contact-split{display:grid;gap:3rem;margin-top:3.5rem;}
@media (min-width:900px){.contact-split{grid-template-columns:1.1fr .9fr;gap:4rem;}}

.field{margin-bottom:1.15rem;}
.field label{display:block;font-size:.88rem;font-weight:600;margin-bottom:.4rem;}
.field-hint{font-weight:400;color:var(--text-soft);}
.field-consent{margin-top:.4rem;margin-bottom:1.5rem;}
.consent-label{display:flex;align-items:flex-start;gap:.6rem;font-size:.85rem;color:var(--text-soft);cursor:pointer;line-height:1.5;}
.consent-label input{margin-top:.2rem;flex:none;width:16px;height:16px;accent-color:var(--accent);}
.consent-label a{text-decoration:underline;text-underline-offset:2px;color:var(--text);}
.field input,.field textarea{
  width:100%;padding:.85rem 1rem;
  border-radius:var(--radius-sm);
  background:var(--paper-card);
  box-shadow:inset 0 0 0 1.5px var(--line);
  font-size:.98rem;min-height:48px;
  transition:box-shadow .15s;
}
.field textarea{min-height:120px;resize:vertical;}
.field input:focus,.field textarea:focus{box-shadow:inset 0 0 0 1.5px var(--accent);outline:none;}
.form-status{margin-top:1rem;font-size:.9rem;color:var(--accent);min-height:1.2em;}
.form-note{margin-top:.9rem;font-size:.82rem;color:var(--text-soft);}

.info-list{display:flex;flex-direction:column;gap:1.3rem;}
.info-list li{display:flex;gap:.9rem;align-items:flex-start;}
.info-list svg{width:22px;height:22px;flex:none;margin-top:.15rem;color:var(--accent);}
.info-list strong{display:block;font-family:'Outfit',sans-serif;font-size:.95rem;margin-bottom:.15rem;}
.info-list span,.info-list a{font-size:.92rem;color:var(--text-soft);}
.info-list a{text-decoration:underline;text-underline-offset:2px;}

/* ============================================================
   Instagram
   ============================================================ */
.instagram-grid{
  display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;
  margin-inline:-1.25rem;padding:.4rem 1.25rem 1rem;scrollbar-width:thin;
}
.ig-card{
  flex:0 0 76%;max-width:340px;scroll-snap-align:center;display:flex;flex-direction:column;
  background:var(--paper-card);border-radius:var(--radius-md);overflow:hidden;
  box-shadow:var(--shadow-sm);transition:transform .25s var(--ease),box-shadow .25s var(--ease);
}
.ig-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.ig-card img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;}
.ig-meta{display:flex;flex-direction:column;gap:.35rem;padding:.9rem 1.1rem 1.1rem;}
.ig-title{font-family:'Outfit',sans-serif;font-weight:700;font-size:1rem;color:var(--ink);}
.ig-link{display:inline-flex;align-items:center;gap:.4rem;font-size:.86rem;font-weight:600;color:var(--accent);}
.ig-link svg{width:16px;height:16px;}
@media (min-width:900px){
  .instagram-grid{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible;margin-inline:0;padding:0;gap:1.5rem;scroll-snap-type:none;}
  .ig-card{flex:none;max-width:none;}
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{background:var(--ink);color:var(--text-invert);padding-block:3.5rem 2rem;}
.footer-grid{grid-template-columns:1fr;gap:2.5rem;}
@media (min-width:768px){.footer-grid{grid-template-columns:1.3fr 1fr 1fr;}}
.footer-brand p{margin-top:1rem;color:var(--text-invert-soft);font-size:.92rem;max-width:34ch;line-height:1.6;}
.footer-col h4{font-family:'Outfit',sans-serif;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-invert-soft);margin-bottom:1rem;}
.footer-col ul{display:flex;flex-direction:column;gap:.6rem;}
.footer-col a{font-size:.92rem;color:var(--text-invert-soft);transition:color .15s;}
.footer-col a:hover{color:var(--text-invert);}
.socials{display:flex;gap:.7rem;margin-top:1.4rem;}
.socials a{
  width:38px;height:38px;border-radius:50%;
  background:rgba(251,247,240,.08);
  display:grid;place-items:center;
  transition:background-color .15s;
}
.socials a:hover{background:rgba(251,247,240,.16);}
.socials svg{width:18px;height:18px;}
.footer-bottom{
  margin-top:3rem;padding-top:1.6rem;border-top:1px solid rgba(251,247,240,.12);
  max-width:var(--container);margin-inline:auto;padding-inline:1.25rem;
  display:flex;flex-direction:column;gap:.5rem;
  font-size:.8rem;color:var(--text-invert-soft);
}
@media (min-width:768px){.footer-bottom{padding-inline:2rem;flex-direction:row;justify-content:space-between;}}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease),transform .6s var(--ease);}
.reveal.is-visible{opacity:1;transform:none;}
.reveal-stagger > *{opacity:0;transform:translateY(16px);transition:opacity .5s var(--ease),transform .5s var(--ease);}
.reveal-stagger.is-visible > *{opacity:1;transform:none;}
.reveal-stagger.is-visible > *:nth-child(1){transition-delay:.03s;}
.reveal-stagger.is-visible > *:nth-child(2){transition-delay:.08s;}
.reveal-stagger.is-visible > *:nth-child(3){transition-delay:.13s;}
.reveal-stagger.is-visible > *:nth-child(4){transition-delay:.18s;}
@media (prefers-reduced-motion: reduce){
  .reveal,.reveal-stagger > *{opacity:1;transform:none;}
}
