/* ==========================================================================
   Chiara Ferdinandi – Pedagogista
   Foglio di stile unico del sito
   ========================================================================== */

/* Font ospitati sul sito (nessuna richiesta a server esterni) */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Colori e misure ----------------------------------------------------- */
:root {
  --ink: #16262a;          /* titoli */
  --text: #3e4d50;         /* testo */
  --muted: #5c6b6e;        /* testo secondario */
  --brand: #1e4a42;        /* verde profondo */
  --brand-dark: #143630;
  --brand-tint: #e8efed;
  --accent: #b7791f;       /* ocra, solo per piccoli dettagli */
  --bg: #ffffff;
  --bg-soft: #f4f6f5;
  --line: #dce3e1;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(22, 38, 42, .06), 0 8px 24px rgba(22, 38, 42, .06);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { left: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Pulsanti ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--sans);
  padding: 15px 24px; min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--brand);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-dark); }

/* --- Intestazione -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  border: 1.5px solid var(--brand); border-radius: 50%;
  display: grid; place-items: center;
  font: 600 1rem/1 var(--serif); color: var(--brand); letter-spacing: .02em;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name strong { font: 600 1.125rem/1.2 var(--serif); color: var(--ink); }
.brand-name span { font-size: .8125rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-size: .9688rem; font-weight: 500;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--brand); color: var(--brand); }
.nav .btn { padding: 12px 18px; min-height: 44px; font-size: .9375rem; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { margin: auto; }

@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 28px 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}

/* --- Sezioni ------------------------------------------------------------- */
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
/* "Come lavoro": fascia chiara (prima era verde scuro e sembrava la fine della pagina) */
.section-dark { background: var(--brand-tint); color: var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.section-head { max-width: 680px; display: grid; gap: 16px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
.section-head p { font-size: 1.125rem; color: var(--muted); }

/* --- Hero ---------------------------------------------------------------- */
.hero { padding: 88px 0 96px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center;
}
.hero-text { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 3.75rem); line-height: 1.08; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.hero-lead { font-size: 1.25rem; line-height: 1.6; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: .9375rem; color: var(--muted); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
}
.hero-badge {
  position: absolute; left: -32px; bottom: 36px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 22px; display: grid; gap: 4px; max-width: 280px;
}
.hero-badge strong { font: 600 1.0625rem/1.3 var(--serif); color: var(--ink); }
.hero-badge span { font-size: .875rem; color: var(--muted); }

@media (max-width: 920px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-badge { left: 16px; bottom: 16px; }
}

/* --- Fascia credenziali -------------------------------------------------- */
.credentials { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.credentials ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.credentials li { padding: 28px 32px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.credentials li:first-child { border-left: 0; padding-left: 0; }
.credentials strong { font: 600 1.0625rem/1.35 var(--serif); color: var(--ink); }
.credentials span { font-size: .9063rem; color: var(--muted); }
@media (max-width: 820px) {
  .credentials ul { grid-template-columns: 1fr; }
  .credentials li { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .credentials li:first-child { border-top: 0; }
}

/* --- Per chi ------------------------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.audience article { padding: 36px 36px 8px 0; display: grid; gap: 12px; align-content: start; }
.audience article + article { padding-left: 36px; border-left: 1px solid var(--line); }
.audience .num { font: 500 .875rem/1 var(--sans); color: var(--accent); letter-spacing: .08em; }
.audience h3 { font-size: 1.5rem; }
.audience p { color: var(--muted); }
@media (max-width: 820px) {
  .audience { grid-template-columns: 1fr; }
  .audience article, .audience article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* --- Servizi ------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: grid; gap: 16px; align-content: start;
}
.service-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
}
.service h3 { font-size: 1.5rem; }
.service p { color: var(--muted); }
.service ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.service li { position: relative; padding-left: 22px; font-size: .9688rem; color: var(--text); }
.service li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 10px; height: 2px; background: var(--accent);
}
.service-note {
  font-size: .875rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px;
}
@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px; }
}

/* --- Come lavoro --------------------------------------------------------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  counter-reset: step;
}
.steps li { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 2px solid var(--brand); }
.steps .step-num { font: 500 2.5rem/1 var(--serif); color: var(--accent); }
.steps h3 { font-size: 1.3125rem; }
.steps p { font-size: .9688rem; color: var(--text); }
.quote {
  margin: 64px 0 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent);
  font: italic 400 clamp(1.375rem, 1rem + 1.2vw, 1.75rem)/1.4 var(--serif); color: var(--ink); max-width: 820px;
}
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --- Chi sono ------------------------------------------------------------ */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-text { display: grid; gap: 20px; }
.about-text h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
.about-text > p { font-size: 1.0938rem; }
.facts { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9688rem;
}
.facts li span:first-child { color: var(--muted); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.facts li span:last-child { color: var(--ink); }
.about-aside { font-size: .9375rem; color: var(--muted); }
.signature { font: italic 500 1.5rem/1 var(--serif); color: var(--brand); }
@media (max-width: 920px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 440px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* --- Articoli (schede) --------------------------------------------------- */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 48px; }
.head-row .section-head { margin-bottom: 0; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.post-card { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--brand-tint); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8125rem; color: var(--muted); }
.post-cat { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.post-card h3 { font-size: 1.375rem; line-height: 1.25; transition: color .2s; }
.post-card p { font-size: .9688rem; color: var(--muted); }
.post-card:hover h3 { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 920px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* --- Domande frequenti --------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 600 1.1875rem/1.35 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font: 400 1.25rem/1 var(--sans); color: var(--brand); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }
@media (max-width: 920px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } }

/* --- Contatti ------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-info { display: grid; gap: 24px; }
.contact-info h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
.contact-info > p { font-size: 1.125rem; color: var(--muted); }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-list .ico {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--brand);
}
.contact-list small { display: block; font-size: .8125rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.contact-list a, .contact-list span.val { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.area { font-size: .9375rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: grid; gap: 20px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9063rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid #b8c6c2; border-radius: var(--radius-sm); background: #fff;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 74, 66, .15); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .875rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.form .btn { justify-self: start; }
.form-status { font-size: .9375rem; font-weight: 500; }
.form-status.ok { color: var(--brand); }
.form-status.err { color: #a33a2b; }
@media (max-width: 920px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- Piè di pagina ------------------------------------------------------- */
.site-footer { background: var(--ink); color: #b9c6c4; font-size: .9375rem; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding: 72px 0 48px;
}
.site-footer h2 { font: 600 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer .brand-name strong { color: #fff; }
.site-footer .brand-name span { color: #9fb0ad; }
.site-footer .brand-mark { border-color: #f1d9ae; color: #f1d9ae; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d7e1df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about { display: grid; gap: 18px; max-width: 360px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .8438rem; color: #9fb0ad;
}
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }

/* --- Pagina blog --------------------------------------------------------- */
.page-head { padding: 80px 0 48px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 3.5rem); margin: 16px 0 16px; }
.page-head p { font-size: 1.1875rem; color: var(--muted); max-width: 640px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.filter {
  font: 500 .9375rem/1 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #b8c6c2; border-radius: 999px;
  padding: 11px 18px; min-height: 44px; cursor: pointer;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.post-featured {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  text-decoration: none; color: inherit; padding: 56px 0; border-bottom: 1px solid var(--line); margin-bottom: 56px;
}
.post-featured img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--brand-tint); }
.post-featured div { display: grid; gap: 16px; }
.post-featured h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); line-height: 1.2; }
.post-featured p { color: var(--muted); font-size: 1.0625rem; }
.post-featured:hover h2 { color: var(--brand); }
@media (max-width: 820px) { .post-featured { grid-template-columns: 1fr; gap: 28px; } }
.post-card[hidden] { display: none; }

/* --- Articolo ------------------------------------------------------------ */
.breadcrumb { font-size: .875rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.article-head { padding: 64px 0 40px; }
.article-head .wrap, .article-body, .author-box { max-width: 760px; }
.article-head h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.12; margin: 20px 0; }
.article-head .lead { font-size: 1.25rem; color: var(--muted); }
.article-head .post-meta { margin-top: 24px; font-size: .9063rem; }
.article-cover { max-width: 1000px; margin: 0 auto 56px; padding: 0 28px; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--brand-tint); }

.article-body { margin: 0 auto; padding: 0 28px; font-size: 1.125rem; line-height: 1.75; color: var(--text); }
.article-body > * + * { margin-top: 1.25em; }
.article-body h2 { font-size: 1.75rem; margin-top: 2em; }
.article-body h3 { font-size: 1.3125rem; margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .4em; }
.article-body strong { color: var(--ink); }
.article-body blockquote {
  margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font: italic 400 1.3125rem/1.5 var(--serif); color: var(--ink);
}
.article-body .box {
  background: var(--bg-soft); border-radius: var(--radius); padding: 24px 28px; font-size: 1rem;
}
.article-body .box strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 1.125rem; }

.author-box {
  margin: 72px auto 0; padding: 32px 28px 0;
  display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start;
  border-top: 1px solid var(--line);
}
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--brand-tint); }
.author-box h2 { font-size: 1.25rem; margin-bottom: 4px; }
.author-box .role { font-size: .875rem; color: var(--muted); margin-bottom: 10px; }
.author-box p { font-size: .9688rem; }

.cta-band { background: var(--brand); color: #d6e3df; border-radius: var(--radius); padding: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 8px; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* --- Pagine di testo (privacy) ------------------------------------------ */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 28px 104px; }
.legal h1 { font-size: 2.5rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal p + p, .legal ul { margin-top: 12px; }
.legal .todo { background: #fbf1df; padding: 2px 6px; border-radius: 4px; }

/* Le ancore non finiscono sotto l'intestazione fissa */
[id] { scroll-margin-top: 88px; }

/* Scheda larga "Attività di gruppo" */
.service-wide { grid-column: 1 / -1; grid-template-columns: auto 1fr 1.2fr; column-gap: 28px; align-items: start; }
.service-wide .service-icon { grid-row: span 2; }
.service-wide-text { display: grid; gap: 12px; }
.service-wide ul { margin: 0; }
@media (max-width: 920px) {
  .service-wide { grid-template-columns: 1fr; }
  .service-wide .service-icon { grid-row: auto; }
}

/* Testo introduttivo di "Chi sono" */
.about-lead { font: italic 400 1.25rem/1.55 var(--serif); color: var(--ink); border-left: 3px solid var(--accent); padding-left: 20px; }

/* Indirizzi lunghi (email) non escono dal riquadro su telefono */
.contact-list a, .site-footer a { overflow-wrap: anywhere; }

/* Campo anti-spam nascosto */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
