:root{
  --bg:#F7F9FA; --text:#2C3E50; --muted:#6B7A8C; --accent:#1ABC9C; --accent-600:#159b84;
  --cta:#E67E22; --cta-600:#cf6515; --card:#ffffff; --radius:14px; --shadow:0 10px 28px rgba(22,32,46,.10); --sticky-h: 68px;
}
*{box-sizing:border-box}
html { scroll-behavior: smooth; }
body{margin:0;color:var(--text);background:var(--bg);font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased;}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:underline}
.btn, .btn-cta, .btn-ghost { text-decoration:none !important; }
.container{max-width:1060px;margin:0 auto;padding:20px}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;border:none;cursor:pointer;text-decoration:none;border-radius:12px;font-weight:700;padding:1rem 1.2rem}
.btn-cta{background:var(--cta);color:#fff}.btn-cta:hover{background:var(--cta-600)}
.btn-ghost{background:transparent;color:var(--accent);border:2px solid rgba(26,188,156,.25)}.btn-ghost:hover{border-color:rgba(26,188,156,.55)}
header.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  color: #fff;
  background: #2c3e50 url('assets/adolescenza.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
header.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(44,62,80,.35),rgba(44,62,80,.72))}
.hero-inner{position:relative;z-index:1;padding:0 20px;max-width:860px}
.eyebrow{display:inline-block;background:rgba(26,188,156,.18);color:#fff;padding:.35rem .7rem;border-radius:999px;font-size:.9rem;letter-spacing:.02em}
h1.hero-title{margin:.8rem 0;font-size:clamp(2rem,6vw,3rem);line-height:1.15}
p.hero-sub{font-weight:300;font-size:clamp(1.05rem,2.7vw,1.25rem);opacity:.95;margin:0 auto;max-width:68ch}
.hero-ctas{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
section{padding:56px 20px}
section .section-head{max-width:860px;margin:0 auto 18px;text-align:center}
section h2{font-size:clamp(1.5rem,3.2vw,2rem);line-height:1.15; margin:6px 0;color:var(--accent)}
section p.lead{color:var(--muted);margin:0 auto;max-width:75ch}
.list{max-width:860px;margin:0 auto;padding-left:1.2rem}
.list li{margin:.35rem 0}
.checks{list-style:none;padding-left:0}.checks li::before{content:"✔ ";color:var(--accent);font-weight:700;margin-right:.2rem}
@media (min-width: 768px) {
  .list.checks{
    display:grid; grid-template-columns:1fr 1fr; gap:6px 24px;
    padding-left:0; margin:0 auto; max-width:760px; text-align:left;
  }
}
.bio{display:grid;gap:14px}
.bio-card{padding:22px}
.proof{display:grid;gap:14px;align-items:center;padding:22px}
.badges{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.badge{background:#e8fbf6;color:#106a5b;border-radius:999px;padding:.5rem .9rem;font-weight:700;font-size:.92rem}
details{background:#fff;border:1px solid #edf2ff;border-radius:12px;padding:14px 16px}
details+details{margin-top:10px}
summary{cursor:pointer;font-weight:700}summary::-webkit-details-marker{display:none}
form{display:grid;gap:12px}
input,textarea{width:100%;padding:12px 14px;border:1px solid #dde4ea;border-radius:10px;font-family:inherit;font-size:1rem;background:#fff}
input:focus,textarea:focus{outline:2px solid #b6efe4;border-color:#9fe5d7}
.helper{color:var(--muted);font-size:.95rem}
footer{color:#6b7a8c;padding:26px 20px;text-align:center}
@media (min-width:768px){.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}}
.whatsapp-float {
  position: fixed;
  width: 56px; height: 56px;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  display: flex; justify-content: center; align-items: center;
  z-index: 99;
  transition: transform .2s ease-in-out;
}
.whatsapp-float img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  display: block;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .whatsapp-float {
    width: 64px;
    height: 64px;
  }
  .whatsapp-float img {
    max-width: 60%;
    max-height: 60%;
  }
	}
/* Contenitore checkbox consenso */
form .consenso {
  display: inline-flex;             /* forza checkbox e testo sulla stessa riga */
  align-items: center;              /* allineamento verticale */
  gap: 0.5rem;                      /* distanza tra box e testo */
  margin-top: 10px;
  flex-wrap: nowrap;                /* evita che vadano a capo */
  white-space: normal;              /* permette al testo di spezzarsi in più righe se necessario */
}

/* Checkbox */
form .consenso input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #2b6c72;            /* colore coerente con la palette */
  cursor: pointer;
  margin: 0;
}

/* Testo */
form .consenso .helper {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Link privacy */
form .consenso a {
  color: inherit;
  text-decoration: underline;
}
	/* Forza checkbox + testo sulla stessa riga in desktop */
@media (min-width:1024px){
  form .consenso{display:flex;align-items:center;gap:.6rem;flex-wrap:nowrap;}
  form .consenso .helper{display:inline;margin:0;line-height:1.3;white-space:normal;max-width:100%;}
}
a:focus-visible, .btn:focus-visible, .btn-cta:focus-visible, .btn-ghost:focus-visible, 
input:focus-visible, textarea:focus-visible {
  outline: 3px solid #b6efe4;
  outline-offset: 2px;
  border-radius: 10px;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}
.profile-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.profile-photo img {
  border-radius: 50%;        /* forma circolare */
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 3px solid #fff;    /* piccolo bordo chiaro */
}

@media (max-width: 600px) {
  .profile-photo img {
    width: 130px;
    height: 130px;
  }
}
@media (min-width: 900px) {
  #chi-sono .section-head {
    display: flex;
    align-items: center;
    gap: 32px;
    text-align: left;
    justify-content: center;
  }
  #chi-sono .profile-photo {
    flex: 0 0 200px;
    margin-bottom: 0;
  }
  #chi-sono .profile-photo img {
    width: 180px;
    height: 180px;
  }
}