/* Palette (scelta da Margherita il 15/10: bordeaux, blu navy, azzurro grigio, crema + Pantone Whispy Blue) */
:root {
  --bg: #E5DED2;        /* crema, sfondo */
  --sand: #CBBFAE;      /* crema scuro, linee divisorie */
  --blue-light: #C7D7E7; /* Pantone Whispy Blue */
  --blue-mid: #798DA6;  /* azzurro grigio, solo come sfondo */
  --blue-deep: #142841; /* blu navy: header, footer, titoli */
  --accent: #490B1A;    /* bordeaux: bottoni, citazioni, dettagli */
  --slate: #4E6380;     /* azzurro grigio scurito per i testi piccoli (contrasto) */
  --text: #142841;
  --text-soft: #3D4A5E;
  --white: #FAF7F2;

  --font: "Avenir Next", "Avenir", "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --narrow: 760px;
  --radius: 14px;
  --header-h: 72px;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 500; margin: 0 0 .6em; color: var(--blue-deep); }
p { margin: 0 0 1.1em; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); font-weight: 600; margin-bottom: .8em;
}
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--blue-deep); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em; border: 0; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  font-family: inherit;
}
.btn:hover { background: var(--blue-deep); color: var(--white); transform: translateY(-1px); }
.btn--dark { background: var(--blue-deep); }
.btn--dark:hover { background: var(--accent); }
.btn--big { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; padding: 18px 44px; letter-spacing: .02em; box-shadow: 0 10px 24px rgba(73,11,26,.22); }
.btn--ghost { background: transparent; color: var(--blue-deep); box-shadow: inset 0 0 0 1.5px var(--blue-deep); }
.btn--ghost:hover { background: var(--blue-deep); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue-deep); color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--white); line-height: 1.2; }
.brand:hover { color: var(--white); }
.brand-name { font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.brand-role { font-size: .86rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-light); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--white); text-decoration: none; font-size: .95rem; position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--blue-light); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:hover, .nav a.active { color: var(--blue-light); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.nav-cta { background: var(--blue-light); color: var(--blue-deep); padding: 8px 18px; border-radius: 999px; font-weight: 600; }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover, .nav a.nav-cta.active { background: var(--white); color: var(--blue-deep); }
.nav { align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.field input::placeholder, .field textarea::placeholder { color: #7A8494; opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, rgba(199,215,231,.35) 0%, var(--bg) 60%); }
/* Foto ad "L": la foto alta a sinistra e quella larga a destra hanno il fondo allineato,
   la frase sta nell'angolo in alto a destra, il bottone sotto le foto */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-areas: "left text" "left right" "cta cta";
  gap: 20px; align-items: stretch;
}
.hero-photo--left { grid-area: left; }
.hero-text { grid-area: text; align-self: end; padding: 24px 8px 20px 28px; }
.hero-photo--right { grid-area: right; align-self: end; }
.hero-photo img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.hero-photo--left picture { display: block; height: 100%; }
.hero-photo--left img { height: 100%; min-height: 100%; }
.hero-photo--right img { aspect-ratio: 4 / 3; }
.hero-cta { grid-area: cta; text-align: center; padding-top: 28px; }
.hero h1 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 400; margin-bottom: 0; }

/* ---------- Sezioni e fasce titolo ---------- */
.section { padding-bottom: 88px; }
/* Fascia titolo: blu che sfuma nel beige (dissolvenza tra le sezioni) */
.band { padding: 64px 0 72px; margin-bottom: 16px; }
.band h1, .band h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; margin: 0 auto; letter-spacing: .01em; }
.band--light { background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue-light) 45%, var(--bg) 100%); }
.band--light h2 { color: var(--blue-deep); }
.band--mid { background: linear-gradient(180deg, var(--blue-mid) 0%, var(--blue-mid) 40%, var(--bg) 100%); }
.band--mid h2 { color: var(--blue-deep); }
.band--accent { background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 40%, var(--bg) 100%); }
.band--accent h2 { color: var(--white); }
.band--deep { background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-deep) 40%, var(--bg) 100%); }
.band--deep h2 { color: var(--white); }

/* ---------- Chi sono ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.prose p { color: var(--text); }

.publication {
  margin-top: 56px; padding: 36px 40px; background: var(--white);
  border-radius: var(--radius); border-left: 4px solid var(--accent);
}
/* Etichette in evidenza (Pubblicazione scientifica, Raggiungibile con i mezzi) */
.label-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue-deep); margin-bottom: .7em;
}
.publication .pub-title { font-size: 1.15rem; font-weight: 600; color: var(--blue-deep); line-height: 1.4; }
.publication .cite { font-size: .92rem; color: var(--text-soft); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Citazioni ---------- */
.quote { margin: 0; }
.quote p { font-style: italic; font-weight: 600; color: var(--blue-deep); }
.quote footer { font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-top: .3em; }
.quote footer::before { content: "— "; }
.quote--large { padding: 8px 0 8px 28px; border-left: 3px solid var(--accent); margin-bottom: 48px; }
.quote--large p { font-size: 1.45rem; line-height: 1.6; }
.highlight { font-size: 1.35rem; font-weight: 600; color: var(--accent); font-style: italic; margin: 1.4em 0; }

/* ---------- Di cosa mi occupo ---------- */
.areas-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
/* Citazione a sinistra, all'altezza di "Regolazione delle emozioni" */
.areas-quote { margin-top: 64px; }
.areas-quote .quote p { font-size: clamp(1.55rem, 2.7vw, 2.1rem); line-height: 1.45; }
/* Sezioni a tendina (Chi sono, Metodo, Di cosa mi occupo) */
.accordion { border-top: 1px solid var(--sand); margin-top: 8px; }
.accordion details, .area-plain { border-bottom: 1px solid var(--sand); }
.accordion summary, .area-plain {
  padding: 18px 40px 18px 0; font-size: 1.12rem; font-weight: 600; color: var(--blue-deep);
}
.accordion summary { list-style: none; cursor: pointer; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .3s ease;
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion summary:hover { color: var(--slate); }
.accordion details p { padding: 0 0 18px; margin: 0; color: var(--text-soft); animation: fadeIn .4s ease; }
.areas.accordion { margin-top: 0; }
.area-plain span, .accordion summary span { font-weight: 400; color: var(--text-soft); font-size: .95rem; }

.sub-title { margin-top: 80px; font-size: 1.5rem; font-weight: 400; text-align: center; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.service {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  border-top: 4px solid var(--accent); display: flex; flex-direction: column;
}
.student-banner { margin-top: 32px; background: var(--blue-light); border-radius: var(--radius); padding: 24px 32px; text-align: center; }
.student-title { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; color: var(--blue-deep); margin: 0 0 .3em; }
.student-note { font-size: .95rem; color: var(--text-soft); margin: 0; }
.prose .closing { margin-top: 1.4em; }
/* Titoli di tutte le tendine (Metodo e Di cosa mi occupo) in grassetto bordeaux */
.accordion summary { color: var(--accent); font-weight: 700; }
.accordion summary:hover { color: var(--blue-deep); }
.service h4 { font-size: 1.35rem; font-weight: 600; }
.service p { color: var(--text-soft); flex: 1; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--sand); }
.facts dt { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.facts dd { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--blue-deep); }

/* ---------- Inizia un percorso + modulo ---------- */
.start { text-align: center; margin-bottom: 64px; }
.start-how { font-weight: 700; color: var(--blue-deep); margin: 8px 0 18px; }
.start-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.start-option {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); text-decoration: none; color: var(--blue-deep);
  border: 1px solid rgba(20,40,65,.12); transition: transform .25s ease, box-shadow .25s ease;
}
.start-option:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,40,65,.12); color: var(--blue-deep); }
.start-option strong { display: block; font-size: 1.15rem; }
.start-option small { display: block; font-size: .95rem; color: var(--text-soft); }
.start-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--white); font-weight: 700;
}
.form-phone { text-align: center; margin: 28px 0 0; color: var(--blue-deep); font-weight: 600; }
.form-phone a { white-space: nowrap; }
.contact-form-wrap {
  background: var(--blue-light); padding: 72px 0 80px;
  /* dissolvenza in ingresso e in uscita */
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-light) 14%, var(--blue-light) 86%, var(--bg) 100%);
}
.form-title { color: var(--blue-deep); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.form-intro { text-align: center; color: var(--blue-deep); margin-bottom: 36px; }
.contact-form { display: grid; gap: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--blue-deep); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 14px 18px; border: 1px solid rgba(20,40,65,.18); border-radius: 10px;
  background: var(--white); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(121,141,166,.25); }
.field textarea { resize: vertical; min-height: 140px; }
.field.invalid input { border-color: #A3242F; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--blue-deep); line-height: 1.5; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue-deep); flex-shrink: 0; }
.consent.invalid span { color: #A3242F; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; color: var(--blue-deep); }
.form-status.error { color: #A3242F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact-name { font-size: clamp(1.4rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--blue-deep); line-height: 1.3; }
.contact-name span { display: block; font-size: .62em; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.receive { font-size: 1.15rem; font-weight: 700; color: var(--blue-deep); margin-bottom: .3em; }
.address { margin-bottom: .6em; }
.address span { color: var(--text-soft); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.contact-list svg { width: 24px; height: 24px; color: var(--slate); flex-shrink: 0; }
.contact-list a { text-decoration: none; font-weight: 500; word-break: break-word; }
.transport { margin: 24px 0; }
.transport p { margin-bottom: .4em; }
.metro, .tram {
  display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  color: #fff; margin-right: 4px; letter-spacing: .04em;
}
.metro.m1 { background: #C9302C; }
.metro.m4 { background: #2B5DA6; }
.tram { background: var(--slate); }
.legal-small { font-size: .88rem; color: var(--text-soft); }

.map-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  min-height: 340px; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: linear-gradient(160deg, var(--blue-light), #DCE6F0 55%, var(--bg));
  color: var(--blue-deep); text-align: center; transition: transform .3s ease, box-shadow .3s ease;
}
.map-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,40,65,.14); color: var(--blue-deep); }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lines path { fill: none; stroke: rgba(250,247,242,.75); stroke-width: 10; stroke-linecap: round; }
.map-pin { position: relative; width: 84px; height: 84px; color: var(--blue-deep); }
.map-pin svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(20,40,65,.25)); }
.map-card:hover .map-pin { animation: bounce .6s ease; }
.map-label { position: relative; font-weight: 600; background: rgba(250,247,242,.85); padding: 10px 18px; border-radius: 10px; line-height: 1.4; }
.map-label small { font-weight: 500; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer {
  color: var(--white); padding: 96px 0 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-mid) 22%, var(--blue-deep) 55%);
}
.quote--footer { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 40px; }
.footer-nav a { color: var(--white); text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: var(--blue-light); text-decoration: underline; }
.quote--footer p { color: var(--white); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; }
.quote--footer footer { color: var(--blue-light); font-size: 1.3rem; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 0; border-top: 1px solid rgba(199,215,231,.3); border-bottom: 1px solid rgba(199,215,231,.3);
}
.footer-brand { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand span:first-child { font-weight: 600; }
.footer-brand span:last-child { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-light); }
.footer-link { color: var(--white); text-decoration: none; font-weight: 500; }
.footer-link:hover { color: var(--blue-light); }
.social { display: flex; gap: 14px; }
.social a { color: var(--white); display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(199,215,231,.45); transition: background .25s; }
.social a:hover { background: rgba(199,215,231,.2); color: var(--white); }
.social svg { width: 20px; height: 20px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; font-size: .82rem; color: var(--blue-light); }
.footer-legal a { color: var(--blue-light); }
.footer-legal a:hover { color: var(--white); }
.footer-brand span:first-child { font-size: 1.15rem; font-weight: 700; }
.cookie-prefs { background: none; border: 0; padding: 0; font: inherit; color: var(--blue-light); text-decoration: underline; cursor: pointer; }
.cookie-prefs:hover { color: var(--white); }

/* ---------- Pagine legali ---------- */
.legal { padding-top: 8px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .5em; }
.legal .updated { font-size: .9rem; color: var(--text-soft); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .92rem; background: var(--white); border-radius: 10px; overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--sand); vertical-align: top; }
.legal th { color: var(--blue-deep); }
@media (max-width: 520px) { .legal table { display: block; overflow-x: auto; } }

/* ---------- Banner cookie (compare solo se Google Analytics è attivo) ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto;
  background: var(--white); color: var(--text); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: 0 16px 40px rgba(20,40,65,.25); display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .95rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 22px; }

/* ---------- Titoli e voci di menu in stampatello maiuscolo ---------- */
.band h1, .band h2,
.nav a,
.footer-nav a,
.footer-link {
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav a, .footer-nav a, .footer-link { font-size: .85rem; white-space: nowrap; }

/* ---------- Animazioni (dissolvenza in entrata) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blue-deep); padding: 8px 24px 20px; box-shadow: 0 12px 20px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid rgba(199,215,231,.2); }
  .nav a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav a.nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; padding: 12px 18px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .hero { padding: 32px 0 48px; }
  /* Su telefono la "L" resta: foto alta a sinistra, foto larga in basso a destra */
  .hero-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "text text" "left right" "cta cta"; gap: 12px; }
  .hero-text { text-align: center; padding: 0 0 16px; }
  .hero-photo--left img { height: auto; aspect-ratio: 3 / 5; }
  .hero-cta { padding-top: 20px; }
  .start-options { grid-template-columns: 1fr; }
  .about-grid, .areas-grid, .contact-grid, .services { grid-template-columns: 1fr; gap: 36px; }
  .about-photo, .areas-quote { position: static; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .areas-quote { text-align: center; margin-top: 0; }
  .band { padding: 44px 0 52px; }
  .section { padding-bottom: 64px; }
  .publication { padding: 28px 24px; }
  .service { padding: 28px 24px; }
  .contact-form .btn { justify-self: stretch; text-align: center; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .brand-name { font-size: 1rem; }
  .lead { font-size: 1.1rem; }
  .quote--large p { font-size: 1.22rem; }
  .quote--large { padding-left: 18px; }
  .btn { padding: 13px 22px; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-legal { flex-direction: column; text-align: center; }
}
