/* ==========================================================================
   Matilde Puzzi — Biologa Nutrizionista
   Palette e font ripresi da biglietto da visita, logo e piano alimentare.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --sage-900: #36432f;
  --sage-800: #46553f;
  --sage-700: #5f775c;   /* tratto del logo */
  --sage-500: #879681;   /* fasce del biglietto da visita */
  --sage-300: #b7c3af;
  --sage-200: #d3dccd;
  --sage-100: #e8ede4;
  --cream: #f8f7f2;
  --white: #ffffff;
  --text: #3b4437;
  --text-soft: #66705f;
  --line: #dfe4da;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(54, 67, 47, 0.08);
  --container: 1120px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sage-700); }
a:hover { color: var(--sage-900); }
strong { font-weight: 500; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--sage-800);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-500);
  margin-bottom: 0.9rem;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--white { background: var(--white); }
.section--tint { background: var(--sage-100); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head p { color: var(--text-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sage-800); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  border: 1.5px solid var(--sage-700);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--sage-700); color: #fff; }
.btn--primary:hover { background: var(--sage-900); border-color: var(--sage-900); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--sage-800); }
.btn--ghost:hover { background: var(--sage-700); color: #fff; }
.btn--light { background: #fff; color: var(--sage-800); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--outline-light:hover { background: #fff; color: var(--sage-800); }
.btn--small { padding: 0.6rem 1.1rem; font-size: 0.72rem; }

:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 6px solid var(--sage-500);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(54, 67, 47, 0.08); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; color: var(--sage-500); letter-spacing: 0.01em; }
.brand__role { font-family: var(--sans); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.32em; color: var(--sage-800); margin-top: 0.3rem; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 0.3rem 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--sage-500); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--sage-700); font-weight: 500; }

/* Pagine delle singole sezioni: statiche, footer sempre in fondo */
.subpage { display: flex; flex-direction: column; min-height: 100vh; }
.subpage main { flex: 1; }
/* Sotto l'header basta poco spazio: il padding pieno delle sezioni serve a separarle nella home */
@media (min-width: 601px) {
  .subpage main > .section:first-child { padding-top: clamp(2.5rem, 4.5vw, 4rem); }
}
.nav .btn { padding: 0.7rem 1.3rem; font-size: 0.75rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--sage-800);
}
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.3s, opacity 0.3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; z-index: 1; }
.hero__title { margin-bottom: 0.2em; color: var(--sage-500); }
.hero__role {
  font-family: var(--sans); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.42em;
  color: var(--sage-800); text-transform: uppercase; margin-bottom: 2rem;
}
.hero__quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.45; color: var(--sage-800); max-width: 30ch; margin-bottom: 2.4rem;
  padding-left: 1.2rem; border-left: 2px solid var(--sage-300);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__media { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__photo {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 5.2; box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__badge {
  position: absolute; left: -2.2rem; bottom: 2.2rem;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--sage-500); display: grid; place-items: center; box-shadow: var(--shadow);
}
.hero__badge img { width: 78%; }
.hero__ring {
  position: absolute; right: -1.5rem; top: -1.5rem; width: 120px; height: 120px; border-radius: 50%;
  border: 2px dotted var(--sage-300); z-index: -1;
}

/* Forme organiche come negli angoli del piano alimentare */
.blob { position: absolute; pointer-events: none; z-index: 0; }
.blob--tl { top: -110px; left: -150px; width: 340px; color: var(--sage-500); opacity: 0.9; }
.blob--br { bottom: -80px; right: -140px; width: 420px; color: var(--sage-200); }

/* ---------- Chi sono ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 680 / 785; object-fit: cover; width: 100%; height: auto; }
.about__media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1.5px solid var(--sage-300); border-radius: var(--radius-lg); z-index: -1;
}
.about__media { z-index: 0; }
.about__sign { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--sage-500); margin-top: 1.4rem; }

/* ---------- Approccio ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 2rem;
  border: 1px solid var(--line);
}
.value__num { font-family: var(--serif); font-size: 2.6rem; color: var(--sage-300); line-height: 1; display: block; margin-bottom: 0.8rem; }
.value p { margin: 0; color: var(--text-soft); }
.quote-band {
  margin-top: 3.5rem; text-align: center; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--sage-800); line-height: 1.4;
}
.quote-band small { display: block; margin-top: 0.8rem; font-family: var(--sans); font-style: normal; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sage-500); }

/* ---------- Cosa faccio ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.service {
  grid-column: span 2;
  background: var(--cream); border-radius: var(--radius); padding: 2.2rem 2rem 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service:nth-child(4) { grid-column: 2 / span 2; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sage-100);
  display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--sage-700);
}
.service__icon svg { width: 34px; height: 34px; }
.service h3 { margin-bottom: 0.4rem; }
.service p { margin: 0; color: var(--text-soft); font-size: 1rem; }

/* ---------- Percorso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 2.4rem 2rem 2rem; position: relative;
  border: 1px solid var(--line);
}
.step__label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--sage-500); color: #fff;
  font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1.1rem;
}
.step ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--text-soft); }
.step li { margin-bottom: 0.35rem; }
.step li::marker { color: var(--sage-500); }
.step p { color: var(--text-soft); }

/* ---------- Prezzi ---------- */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; max-width: 860px; margin-inline: auto; }
.price {
  background: var(--cream); border-radius: var(--radius); padding: 2.4rem 2rem;
  display: flex; flex-direction: column; border: 1px solid transparent;
}
.price--featured { background: var(--sage-700); color: #f1f4ee; }
.price--featured h3, .price--featured .price__amount { color: #fff; }
.price--featured .price__desc, .price--featured li { color: #e3e9df; }
.price--featured li::before { background: #fff; }
.price__amount { font-family: var(--serif); font-size: 3rem; font-weight: 500; color: var(--sage-800); line-height: 1; margin: 0.4rem 0 0.2rem; }
.price__amount small { font-family: var(--sans); font-size: 0.85rem; font-weight: 400; letter-spacing: 0.04em; }
.price__desc { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 1.3rem; }
.price ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.5rem; font-size: 0.98rem; }
.price li { display: flex; gap: 0.7rem; align-items: baseline; }
.price li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-500); transform: translateY(-2px); }
.price .btn { margin-top: auto; justify-content: center; }
.prices__note { margin-top: 2rem; text-align: center; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Dove ricevo ---------- */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.place {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 2rem;
  border: 1px solid var(--line); display: flex; flex-direction: column;
}
.place__pin { width: 44px; height: 44px; color: var(--sage-500); margin-bottom: 1rem; }
.place__town { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage-500); margin-bottom: 0.3rem; }
.place h3 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.place address { font-style: normal; color: var(--text-soft); margin-bottom: 1.5rem; }
.place a.place__map { margin-top: auto; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.place a.place__map:hover { text-decoration: underline; }

/* ---------- Contatti ---------- */
.contact {
  background: var(--sage-500); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.contact h2 { color: #fff; }
.contact p { color: #f1f4ee; }
.contact .eyebrow { color: #e8ede4; }
.contact__logo { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: 0.18; pointer-events: none; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; position: relative; z-index: 1; }
.contact__list a {
  display: flex; align-items: center; gap: 1rem; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 1.3rem; border-radius: 14px; transition: background 0.2s;
}
.contact__list a:hover { background: rgba(255, 255, 255, 0.24); }
.contact__list svg { width: 24px; height: 24px; flex: none; }
.contact__list span { display: flex; flex-direction: column; line-height: 1.3; }
.contact__list small { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; }
.contact__list strong { font-weight: 400; font-size: 1.08rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-bottom: 6px solid var(--sage-500); padding: 3.5rem 0 2rem; font-size: 0.92rem; color: var(--text-soft); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; align-items: start; }
.site-footer h4 { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage-800); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--sage-800); text-decoration: underline; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; font-size: 0.82rem; }

.site-footer__note { margin: 0.8rem 0 0; font-size: 0.75rem; opacity: 0.85; }
.site-footer__note a { text-decoration: underline; }

/* ---------- Pagina testo (privacy) ---------- */
.page { padding: 4rem 0 6rem; }
.page .container { max-width: 760px; }
.page h2 { font-size: 1.8rem; margin-top: 2.2rem; }

/* ---------- Animazioni ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Segnaposto da completare (evidenziati solo in locale) */
.todo { background: #fff4c2; outline: 1px dashed #c9a400; border-radius: 4px; padding: 0 0.2em; }

/* Barra contatti fissa in basso, visibile solo su telefono */
.mobile-cta {
  display: none; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(248, 247, 242, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { justify-content: center; padding: 0.8rem 1rem; font-size: 0.78rem; }
.site-footer .mobile-cta .btn--primary { color: #fff; }
.site-footer .mobile-cta .btn--ghost { color: var(--sage-800); background: #fff; }

/* Badge "Powered by Netlify" (piano Free): riquadro fisso in basso a destra,
   184×48 px a 13 px dai bordi. main.js aggiunge .has-host-badge a <html> quando c'è. */
@media (min-width: 601px) {
  .has-host-badge .site-footer { padding-bottom: calc(2rem + 64px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 6px) 0 auto 0;
    background: var(--cream); flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1.5rem 1.5rem 2rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(54, 67, 47, 0.08);
    transform: translateY(-120%); visibility: hidden; transition: transform 0.35s ease, visibility 0.35s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  .nav__list a::after { display: none; }
  .nav .btn { justify-content: center; }

  .hero__grid, .about, .contact { grid-template-columns: 1fr; }
  .hero__media { order: -1; width: min(100%, 340px); }
  .hero__badge { width: 100px; height: 100px; left: -1rem; }
  .about__media { max-width: 420px; margin-inline: auto; }
  .values, .steps, .places { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4) { grid-column: auto; }
  .service:last-child { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}
/* Telefono: spaziature più strette e schede compatte, con icona/numero a sinistra e testo a destra. */
@media (max-width: 600px) {
  :root { --header-h: 64px; --radius: 14px; --radius-lg: 22px; }
  body { font-size: 1rem; line-height: 1.6; }
  h2 { font-size: 1.95rem; }
  h3 { font-size: 1.35rem; }

  .brand img { height: 40px; }
  .brand__name { font-size: 1.35rem; }
  .brand__role { font-size: 0.5rem; letter-spacing: 0.26em; }

  .section { padding: 3.25rem 0; }
  .section__head, .section__head--center { margin-bottom: 1.75rem; text-align: left; }
  .eyebrow { font-size: 0.7rem; margin-bottom: 0.6rem; }

  /* Hero */
  .hero { padding: 1.75rem 0 3rem; }
  .hero__grid { gap: 1.75rem; }
  .hero__media { width: min(100%, 230px); }
  .hero__badge { width: 72px; height: 72px; left: -1.2rem; bottom: 1rem; }
  .hero__ring { width: 76px; height: 76px; right: -1rem; top: -1rem; }
  .hero__title { font-size: 2.7rem; }
  .hero__role { letter-spacing: 0.28em; font-size: 0.72rem; margin-bottom: 1.25rem; }
  .hero__quote { font-size: 1.3rem; margin-bottom: 1.75rem; }
  .hero__actions { gap: 0.7rem; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .blob--tl { width: 200px; top: -80px; left: -110px; }
  .blob--br { width: 260px; bottom: -70px; right: -120px; }

  /* Chi sono: ritratto tondo e piccolo, il testo resta protagonista */
  .about { gap: 1.5rem; }
  .about__media { width: 168px; max-width: none; margin: 0; }
  .about__media::before { display: none; }
  .about__media img { aspect-ratio: 1; height: auto; border-radius: 50%; object-position: 50% 20%; }
  .about__sign { margin-top: 0.6rem; font-size: 1.5rem; }

  /* Approccio */
  .values { gap: 0.75rem; }
  .value { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem; }
  .value__num { grid-row: span 2; font-size: 2rem; margin: 0; }
  .value h3 { margin-bottom: 0.2rem; }
  .value p { font-size: 0.95rem; }

  /* Cosa faccio */
  .services { grid-template-columns: 1fr; gap: 0.75rem; }
  .service, .service:nth-child(4), .service:last-child { grid-column: auto; }
  .service { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; padding: 1.25rem; }
  .service:hover { transform: none; box-shadow: none; }
  .service__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .service__icon svg { width: 26px; height: 26px; }
  .service h3 { margin-bottom: 0.2rem; }
  .service p { font-size: 0.95rem; }

  /* Percorso: numero sulla stessa riga del titolo */
  .steps { gap: 0.75rem; }
  .step { padding: 1.4rem 1.25rem; }
  .step__label { float: left; width: 34px; height: 34px; font-size: 1.15rem; margin: 0 0.75rem 0 0; }
  .step h3 { min-height: 34px; display: flex; align-items: center; margin-bottom: 0.6rem; }
  .step p { clear: both; font-size: 0.95rem; margin-bottom: 0.4rem; }
  .step ul { font-size: 0.95rem; }
  .step li { margin-bottom: 0.25rem; }

  /* Prezzi */
  .prices { grid-template-columns: 1fr; gap: 0.75rem; }
  .price { padding: 1.6rem 1.4rem; }
  .price__amount { font-size: 2.4rem; }
  .price__desc { margin-bottom: 1rem; }
  .price ul { font-size: 0.95rem; margin-bottom: 1.4rem; }
  .prices__note { margin-top: 1.25rem; text-align: left; font-size: 0.88rem; }

  /* Dove ricevo */
  .places { gap: 0.75rem; }
  .place { display: grid; grid-template-columns: 32px 1fr; column-gap: 1rem; padding: 1.25rem; }
  .place > :not(.place__pin) { grid-column: 2; }
  .place__pin { width: 32px; height: 32px; margin: 0; grid-row: span 4; }
  .place__town { font-size: 0.68rem; }
  .place h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
  .place address { margin-bottom: 0.6rem; font-size: 0.95rem; }

  /* Contatti */
  .contact { padding: 2rem 1.25rem 1.25rem; gap: 1.5rem; }
  .contact__logo { width: 160px; right: -30px; bottom: -30px; }
  .contact__list { gap: 0.6rem; }
  .contact__list a { padding: 0.85rem 1rem; }

  /* Footer compatto */
  .site-footer { padding: 2.5rem 0 1.5rem; font-size: 0.9rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .site-footer__grid > :first-child, .site-footer__grid > :last-child { grid-column: 1 / -1; }
  .site-footer__grid > :first-child p { margin-bottom: 0; }
  .site-footer h4 { margin-bottom: 0.6rem; }
  .site-footer ul { gap: 0.2rem; }
  .site-footer ul a { display: inline-block; padding: 0.2rem 0; }
  .site-footer__legal { margin-top: 1.75rem; font-size: 0.75rem; flex-direction: column; }

  /* Barra contatti fissa in basso */
  .mobile-cta { display: grid; }
  body:has(.mobile-cta) { padding-bottom: 76px; }

  /* Con il badge di Netlify la barra diventa compatta: due pulsanti rotondi a sinistra,
     alti e allineati come il badge, che occupa il lato destro della barra */
  .has-host-badge .mobile-cta { grid-template-columns: repeat(2, 48px); justify-content: start; padding: 13px 1rem; }
  .has-host-badge .mobile-cta .btn { width: 48px; height: 48px; padding: 0; border-radius: 50%; }
  .has-host-badge .mobile-cta .btn svg { width: 21px; height: 21px; }
  .has-host-badge .mobile-cta__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }

  /* Pagine singole: il contenuto deve stare in una schermata */
  .subpage .section { padding: 1.25rem 0 1.5rem; }
  .subpage .section + .section { padding-top: 1.5rem; }
  .subpage h2 { font-size: 1.7rem; margin-bottom: 0.3em; }
  .subpage .eyebrow { margin-bottom: 0.35rem; }
  .subpage .section__head { margin-bottom: 1rem; }
  .subpage .section__head p { font-size: 0.92rem; margin-bottom: 0; }

  /* Chi sono: ritratto piccolo accanto al titolo */
  .subpage .about { display: block; }
  .subpage .about__media { float: right; width: 92px; margin: 0.2rem 0 0.5rem 1rem; }
  .subpage .about p { font-size: 0.93rem; line-height: 1.55; margin-bottom: 0.6em; }
  .subpage .about__sign { margin: 0; font-size: 1.35rem; }
  /* Il sottotitolo di "Il mio approccio" ripete il testo di Chi sono */
  .page-chi-sono #approccio .section__head p { display: none; }

  /* Schede affiancate da scorrere col dito (si intravede la successiva) */
  .subpage .values, .subpage .steps, .subpage .prices {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -1rem; padding: 0 1rem 0.25rem; scroll-padding-inline: 1rem; max-width: none;
  }
  .subpage .values::-webkit-scrollbar, .subpage .steps::-webkit-scrollbar, .subpage .prices::-webkit-scrollbar { display: none; }
  .subpage .value, .subpage .step, .subpage .price { scroll-snap-align: start; }
  .subpage .value { padding: 1.1rem; }
  .subpage .price .btn { display: none; }
  .subpage .price ul { gap: 0.35rem; margin-bottom: 0; font-size: 0.9rem; }
  .subpage .price__desc { font-size: 0.88rem; margin-bottom: 0.8rem; }
  .subpage .prices__note { margin-top: 0.9rem; font-size: 0.82rem; }

  /* Cosa faccio e Dove ricevo: schede più basse */
  .subpage .services, .subpage .places { gap: 0.5rem; }
  .page-cosa-faccio .section__head p { font-size: 0.86rem; line-height: 1.5; }
  .subpage .services { gap: 0.4rem; }
  .subpage .service { grid-template-columns: 26px 1fr; column-gap: 0.6rem; align-items: center; padding: 0.55rem 0.85rem 0.6rem; }
  .subpage .service__icon { width: 26px; height: 26px; grid-row: auto; }
  .subpage .service__icon svg { width: 16px; height: 16px; }
  .subpage .service h3 { font-size: 1.1rem; line-height: 1.1; margin: 0; }
  .subpage .service p { grid-column: 1 / -1; margin-top: 0.15rem; font-size: 0.84rem; line-height: 1.4; }
  .subpage .place { padding: 0.9rem 1rem; }
  .subpage .place h3 { font-size: 1.2rem; }
  .subpage .place address { margin-bottom: 0.3rem; }

  /* Contatti: i recapiti sono già nella pagina, la barra fissa non serve */
  .subpage .contact { padding: 1.5rem 1.1rem 1.1rem; gap: 1rem; }
  .subpage .contact p { font-size: 0.92rem; margin-bottom: 0.5em; }
  .subpage .contact__list a { padding: 0.7rem 0.95rem; }
  body.page-contatti { padding-bottom: 0; }
  .page-contatti .mobile-cta { display: none; }
  .has-host-badge .page-contatti .site-footer { padding-bottom: calc(1rem + 64px); }

  /* Footer delle pagine singole: solo i dati legali (il menu è già in alto) */
  .subpage .site-footer { padding: 1.25rem 0 1rem; }
  .subpage .site-footer__grid { display: none; }
  .subpage .site-footer__legal { margin-top: 0; padding-top: 0; border-top: 0; }
}

