/* =====================================================================
   CCA Italia — Centro di Coaching Applicato
   Identità istituzionale: blu Oxford, bordeaux accademico, oro antico.
   Caslon per i titoli, Public Sans per il testo.
   Testata di ogni pagina: la biblioteca, sfondo storico del sito.
   ===================================================================== */

@font-face { font-family: "Libre Caslon Text"; src: url(../fonts/libre-caslon-text-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(../fonts/libre-caslon-text-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(../fonts/libre-caslon-text-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #4A1824;
  --navy-2: #5C2230;
  --navy-3: #3A121C;
  --claret: #C49445;
  --claret-d: #D6A95C;
  --gold: #C0954F;
  --gold-l: #E6CC9C;
  --ink: #2C1F1B;
  --ink-2: #4D3C34;
  --muted: #7A685E;
  --line: #E8DCCD;
  --line-2: #F2E9DE;
  --mist: #F8F0E5;
  --white: #FFFDF9;
  --link: #8C2F3E;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --w: 1680px;
  --gut: clamp(1.15rem, 4.5vw, 4.5rem);
  --c1: var(--gold); --c2: var(--link); --cink: var(--link);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.72 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:where(.prose, .card, .art-b) a:not(.btn) { color: var(--link); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
strong, b { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; line-height: 1.16; letter-spacing: -.005em; color: var(--navy); margin: 0 0 .6em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
[hidden] { display: none !important; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.5em; border-radius: 3px; border: 1px solid transparent; font: 600 .95rem/1.15 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--claret); color: #2E0F17; }
.btn--primary:hover { background: var(--claret-d); color: #2E0F17; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--course { background: var(--cink); color: #fff; }
.btn--course:hover { background: var(--navy); color: #fff; }
.btn--wa { background: var(--navy); color: #fff; }
.btn--wa:hover { background: var(--navy-2); color: #fff; }
.btn--lg { min-height: 54px; padding-inline: 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { margin: 1.6em 0; }
.btn--cta { background: var(--claret); color: #2E0F17; }
.btn--cta:hover { background: var(--claret-d); color: #2E0F17; }
.btn--doc { background: var(--white); border: 1px solid var(--line); color: var(--ink); padding: 1em 1.2em; justify-content: flex-start; text-align: left; font-weight: 500; }
.btn--doc::before { content: ""; flex: none; width: 30px; height: 38px; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.btn--doc:hover { border-color: var(--navy); color: var(--navy); }
.badge { display: inline-flex; align-items: center; padding: .25em .75em; border-radius: 2px; font: 600 .74rem/1.3 var(--sans); letter-spacing: .04em; color: #fff; background: var(--cink); }

/* ---------- barra istituzionale */
.utility { background: var(--navy-3); color: #E2CFC2; font-size: .84rem; }
.utility-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 42px; padding-block: .4rem; }
.utility p { margin: 0; display: flex; align-items: center; gap: .55rem; line-height: 1.35; }
.utility a { color: #F3E7DC; text-decoration: none; }
.utility a:hover { color: var(--gold-l); }
.utility .ico { color: var(--gold); }
.utility-contacts { gap: 1.6rem !important; flex: none; }
.utility-news { min-width: 0; }
.utility-news a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-news .ico { flex: none; }
.un-short { display: none; }
.utility-contacts a { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- intestazione */
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 2rem; min-height: 88px; }
.brand { flex: none; display: block; }
.brand img { width: 240px; height: auto; }
.nav { margin-left: auto; align-self: stretch; display: flex; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.nav > ul > li { position: relative; display: flex; }
.nav > ul > li > a { display: flex; align-items: center; padding: 0 1rem; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .97rem; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.nav > ul > li > a:hover { color: var(--navy); border-bottom-color: var(--line); }
.nav > ul > li > a[aria-current] { color: var(--navy); border-bottom-color: var(--gold); }
.nav > ul > li > a .ico { width: 18px; height: 18px; flex: none; margin-right: .5rem; color: var(--gold); stroke-width: 1.5; }
.nav > ul > li > a[aria-current] .ico, .nav > ul > li > a:hover .ico { color: var(--link); }
.has-sub > a::after { content: ""; display: inline-block; width: .36em; height: .36em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.2em) rotate(45deg); margin-left: .55em; opacity: .6; }
.sub { position: absolute; top: 100%; left: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub ul { list-style: none; margin: 0; padding: .6rem; width: 390px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 24px 40px -24px rgba(58,18,28,.45); }
.sub a { display: grid; grid-template-columns: 6px minmax(0, 1fr); column-gap: .9rem; padding: .65rem .7rem; text-decoration: none; color: var(--ink); line-height: 1.3; }
.sub a:hover { background: var(--mist); color: var(--navy); }
.sub a i { grid-row: span 2; background: linear-gradient(180deg, var(--c1), var(--c2)); }
.sub a span { font-family: var(--serif); font-size: 1.02rem; }
.sub a small { color: var(--muted); font-size: .8rem; }
.sub--books { left: auto; right: 0; }
.sub--books ul { width: 360px; }
.sub--books a { grid-template-columns: 34px minmax(0, 1fr); align-items: center; row-gap: .1rem; }
.sub--books img { grid-row: span 2; width: 34px; height: auto; box-shadow: 0 6px 10px -6px rgba(58,18,28,.6); }
.sub--books .sub-all { margin-top: .3rem; border-top: 1px solid var(--line-2); }
.sub--books .sub-all span { font: inherit; }
.sub--books .sub-all a { display: block; padding: .7rem .7rem .4rem; font: 600 .84rem/1.3 var(--sans); color: var(--link); }

/* ---------- testata (biblioteca) */
.mast { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.mast-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.mast::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(58,18,28,.94) 0%, rgba(58,18,28,.84) 38%, rgba(58,18,28,.52) 70%, rgba(58,18,28,.3) 100%), linear-gradient(0deg, rgba(58,18,28,.5), rgba(58,18,28,0) 40%); }
.mast-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: end; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.mast-text { max-width: 980px; }
.mast h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.7rem); line-height: 1.12; margin-bottom: .45em; max-width: 24ch; }
.mast h1::before { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin-bottom: 1.4rem; }
.mast h1.art-kicker { font-size: clamp(1.8rem, 3.2vw, 2.7rem); max-width: 34ch; }
.mast-intro { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: #EEDFD3; max-width: 68ch; }
.mast-intro strong, .mast-intro b { color: #fff; }
.mast a { color: #fff; }
.mast-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.mast--home { min-height: min(82vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.mast--home .mast-in { display: block; padding-top: clamp(5rem, 12vw, 9rem); }
.mast--home h1 { font-size: clamp(2rem, 3.6vw, 3.4rem); max-width: 26ch; }
.kicker { font: 600 .9rem/1.3 var(--sans); letter-spacing: .02em; color: var(--gold-l); margin-bottom: 1rem; }
.kicker a { color: var(--gold-l); text-decoration: none; }
.dek { font: 400 italic clamp(1.05rem, 1.4vw, 1.25rem)/1.5 var(--serif); color: #EEDFD3; max-width: 62ch; }
.crumbs ol { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; font-size: .86rem; color: #D3BBAB; }
.crumbs li + li::before { content: "›"; margin-right: .45rem; opacity: .7; }
.crumbs a { color: #F3E7DC; text-decoration: none; }
.crumbs a:hover { color: var(--gold-l); text-decoration: underline; }
.mast-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; font-size: .93rem; color: #EEDFD3; margin-bottom: 1.4rem; }
.mast-meta > span:not(.badge) { display: inline-flex; align-items: center; gap: .45rem; }
.mast-meta .ico { color: var(--gold-l); }
.mast--course h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
.mast-sub { font: 400 italic clamp(1.15rem, 1.7vw, 1.45rem)/1.45 var(--serif); color: #F3E7DC; max-width: 46ch; margin: 0; }
.mast-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.mast--course .badge { background: #fff; color: var(--cink); }
.mast-portrait { margin: 0; width: clamp(200px, 22vw, 320px); position: relative; }
.mast-portrait::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--gold); }
.mast-portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.facts { background: var(--navy-2); border-top: 1px solid rgba(192,149,79,.45); }
.facts ul { list-style: none; margin-block: 0; padding-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 1.4rem 1.5rem 1.4rem 0; display: flex; flex-direction: column; gap: .25rem; line-height: 1.35; }
.facts li + li { padding-left: 1.6rem; border-left: 1px solid rgba(255,255,255,.14); }
.facts strong { font: 400 1.28rem/1.25 var(--serif); color: #fff; }
.facts span { font-size: .85rem; color: #D3BBAB; }

/* ---------- impaginazione delle pagine */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2.5rem, 5vw, 6rem); align-items: start; padding-block: clamp(2.8rem, 6vw, 5rem); }
.side { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
.side-box { border-top: 2px solid var(--navy); padding-top: 1rem; }
.side-h { font: 400 1.2rem/1.3 var(--serif); color: var(--navy); margin-bottom: .8rem; }
.side-photo { margin: 0; }
.side-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.side-photo--4x5 img { aspect-ratio: 4 / 5; }
.toc ol { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; }
.toc li { margin: 0; }
.toc a { display: block; padding: .38rem 0 .38rem .85rem; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.4; }
.toc a:hover, .toc a.is-on { border-color: var(--gold); color: var(--navy); }
.toc .toc-h3 a { padding-left: 1.6rem; font-size: .85rem; color: var(--muted); }
.side-courses { list-style: none; margin: 0; padding: 0; }
.side-courses li { margin: 0; border-bottom: 1px solid var(--line-2); }
.side-courses a { display: grid; grid-template-columns: 6px minmax(0, 1fr); gap: .85rem; padding: .7rem 0; text-decoration: none; color: var(--ink); }
.side-courses i { background: linear-gradient(180deg, var(--c1), var(--c2)); }
.side-courses span { font: 400 1rem/1.3 var(--serif); }
.side-courses small { display: block; font: 400 .8rem/1.5 var(--sans); color: var(--muted); }
.side-courses a:hover span { color: var(--link); }
.side-contact { display: grid; gap: .6rem; }
.side-contact .side-h { margin-bottom: .3rem; }
.side-contact .btn { justify-content: flex-start; font-size: .9rem; }

/* ---------- testo */
.prose { max-width: 920px; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); margin-top: 1.9em; }
.prose h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-top: .55rem; }
.prose h3 { font-size: clamp(1.32rem, 2vw, 1.6rem); margin-top: 1.7em; }
.prose h4 { font-size: 1.22rem; margin-top: 1.6em; }
.prose h5, .prose h6 { font: 700 .95rem/1.4 var(--sans); color: var(--link); margin-top: 2em; letter-spacing: .02em; }
.prose u { text-decoration: none; border-bottom: 2px solid var(--gold); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .55em; }
.prose ul > li::marker { color: var(--gold); }
.prose ol > li::marker { color: var(--link); font-family: var(--serif); }
.prose blockquote { margin: 1.6em 0; padding: .3em 0 .3em 1.4em; border-left: 2px solid var(--gold); font: 400 italic 1.1rem/1.6 var(--serif); color: var(--ink-2); }
.prose .float { float: left; width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin: .3em 1.2em .6em 0; }
.prose .fig-link.float { float: left; margin: .3em 1.4em .6em 0; }
.prose .fig-link.float img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); }
.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; line-height: 1.5; }
.prose td, .prose th { padding: .8em 1em; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose tr:first-child td, .prose th { font-weight: 600; background: var(--mist); color: var(--navy); }
.prose tr:last-child td { border-bottom: 0; }
.prose .center { text-align: center; }
.prose .divider { height: 1px; background: var(--line); margin: 2.4em 0; }
.prose .cols2 { columns: 2 260px; column-gap: 2.4rem; }
.prose .modern-list { list-style: none; padding: 0; counter-reset: ml; }
.prose .modern-list > li { counter-increment: ml; position: relative; padding: 1em 0 1em 3.4em; border-top: 1px solid var(--line); margin: 0; }
.prose .modern-list > li::before { content: counter(ml, upper-roman); position: absolute; left: 0; top: .9em; font: 400 1.25rem/1.4 var(--serif); color: var(--gold); }
.prose .book-list { list-style: none; padding: 0; }
.prose .book-list li { padding: .9em 0; border-bottom: 1px solid var(--line); }
.lede { font: 400 clamp(1.15rem, 1.6vw, 1.32rem)/1.6 var(--serif); color: var(--navy); }
.lede strong, .lede b { font-weight: 700; }
.prose--article > p:first-of-type::first-letter { float: left; font: 400 3.6em/.82 var(--serif); margin: .07em .12em 0 0; color: var(--link); }
.course-photo { margin: 0 0 2rem; position: relative; }
.course-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.course-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }

/* ---------- calendario */
.cal { display: grid; gap: 1rem; margin: 1.6em 0 2.4em; }
.cal-part { background: #fff; border: 1px solid var(--line); padding: 1.4rem 1.5rem 1rem 1.8rem; position: relative; }
.cal-part::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 5px; background: linear-gradient(180deg, var(--c1), var(--c2)); }
.cal-part h2, .cal-part h3 { font-size: 1.4rem; margin: 0 0 .2em; }
.cal-part h2::after { display: none; }
.cal-part .cal-intro { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }
.cal-part { container-type: inline-size; }
.cal-part ul { list-style: none; padding: 0; margin: 0; }
/* una lezione per riga: numero | titolo | data */
.cal-part > ul > li { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr) 19.5rem; gap: .25rem 1.4rem; align-items: baseline; margin: 0; padding: .78rem 0; border-top: 1px solid var(--line-2); font-size: .93rem; line-height: 1.45; }
.cal-n { font: 600 .8rem/1.4 var(--sans); letter-spacing: .03em; color: var(--cink); white-space: nowrap; }
.cal-t { font: 400 1.06rem/1.4 var(--serif); color: var(--navy); }
.cal-t--text { grid-column: 2 / -1; font: 400 .93rem/1.55 var(--sans); color: var(--ink-2); }
.cal-d { color: var(--ink-2); }
@container (max-width: 700px) {
  /* stretto: numero a sinistra, titolo e data uno sotto l'altro — sempre una lezione per riga */
  .cal-part > ul > li { grid-template-columns: 5.7rem minmax(0, 1fr); grid-template-areas: "n t" ". d"; column-gap: .8rem; row-gap: .15rem; }
  .cal-n { grid-area: n; font-size: .76rem; }
  .cal-t { grid-area: t; }
  .cal-d { grid-area: d; font-size: .86rem; color: var(--muted); }
  .cal-t--text { grid-area: t; }
}
@container (max-width: 460px) {
  .cal-part > ul > li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "n" "t" "d"; row-gap: .1rem; }
}
.cal-part--extra { background: var(--mist); }
.cal-trigger { font: inherit; font-weight: 600; color: var(--link); background: none; border: 0; border-bottom: 1px solid var(--gold); padding: 0 0 1px; cursor: pointer; }
.cal-trigger::after { content: " ↗"; }
.cal-trigger:hover { color: var(--navy); }
dialog { border: 0; padding: 0; background: transparent; max-width: min(1000px, calc(100vw - 1.5rem)); max-height: calc(100vh - 2rem); }
dialog::backdrop { background: rgba(58,18,28,.7); }
.cal-dialog-in { position: relative; background: #fff; border-top: 4px solid var(--gold); padding: clamp(1.4rem, 4vw, 2.6rem); max-height: calc(100vh - 2rem); overflow: auto; }
.cal-dialog-in > h3:first-of-type { font-size: 1.9rem; margin-top: 0; padding-right: 2.5rem; }
.cal-x { position: sticky; float: right; top: 0; width: 44px; height: 44px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 2; }
.cal-x:hover { background: var(--navy); color: #fff; }
.dlg { background: #fff; padding: 0 0 1.4rem; max-width: 520px; overflow: hidden; border-top: 4px solid var(--gold); }
.dlg img { width: 100%; }
.dlg p { padding-inline: 1.6rem; }
.dlg #aicp-t { margin-top: 1.2rem; }
.dlg-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- informazioni / costi */
.info { margin: 1.2em 0 2em; display: grid; gap: 1rem; }
.info ul { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.info li { align-items: baseline; margin: 0; padding: .95rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: .2rem 1.5rem; font-size: .97rem; line-height: 1.55; }
.info .divider { display: none; }
.info ul + ul, .info .divider + ul { border-top: 0; margin-top: -1rem; }
.info-v { min-width: 0; }
.cal-part > ul { border-top: 0; }
.info li > strong:first-child { font: 400 1.02rem/1.45 var(--serif); color: var(--navy); }

/* ---------- FAQ e fisarmoniche */
.faq { margin: 1.2em 0 2em; border-top: 1px solid var(--line); }
.faq-item, .acc { border-bottom: 1px solid var(--line); }
.acc:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary, .acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.2rem; align-items: baseline; padding: 1.1rem 0; font: 400 1.12rem/1.4 var(--serif); color: var(--navy); }
.faq-item summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .acc summary::after { content: "+"; flex: none; font: 300 1.5rem/1 var(--sans); color: var(--gold); transition: transform .2s; }
.faq-item[open] summary::after, .acc[open] summary::after { transform: rotate(45deg); }
.faq-a, .acc-a { padding: 0 0 1.2rem; color: var(--ink-2); }
.acc-a::after { content: ""; display: block; clear: both; }

/* ---------- testimonianze */
.testi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.6rem; align-items: start; margin: 2em 0 1em; }
.quote { break-inside: avoid; margin: 0 0 2.2rem; padding: 1.6rem 0 0; border-top: 1px solid rgba(192,149,79,.6); }
.quote blockquote { margin: 0; padding: 0; border: 0; font: 400 italic 1.05rem/1.65 var(--serif); color: inherit; }
.quote blockquote::before { content: "“"; display: block; font: 400 3.2rem/.6 var(--serif); color: var(--gold); margin-bottom: .5rem; font-style: normal; }
.quote figcaption { margin-top: 1.1rem; display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .92rem; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font: 400 1.05rem/1 var(--serif); flex: none; }
.stars { color: var(--gold); letter-spacing: .14em; font-size: .75rem; font-weight: 400; }
.testi-more { text-align: center; margin-top: clamp(2.4rem, 5vw, 3.6rem) !important; }

/* ---------- articoli (fisarmonica condivisa) */
.arts { border-top: 2px solid var(--navy); }
.art { border-bottom: 1px solid var(--line); }
.art summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 1rem 0; }
.art summary::-webkit-details-marker { display: none; }
.art summary::after { content: "+"; font: 300 1.4rem/1 var(--sans); color: var(--gold); transition: transform .2s; }
.art[open] summary::after { transform: rotate(45deg); }
.art-t { font: 400 1.08rem/1.4 var(--serif); color: var(--navy); }
.art-b { padding: 0 0 1.1rem; font-size: .95rem; color: var(--ink-2); max-width: 70ch; }
.art-b p { margin-bottom: .6em; }
.more { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ---------- libri */
.book { display: grid; grid-template-columns: minmax(120px, 240px) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: start; padding: 2rem 0; border-top: 1px solid var(--line); }
.book-cover img, .book-cover .fig-link img { box-shadow: 0 24px 40px -24px rgba(58,18,28,.6); }
.book-text > a:first-child, .book-text > p:first-child a { font: 400 1.8rem/1.2 var(--serif); text-decoration: none; color: var(--navy); }
.book-text > a:first-child:hover { color: var(--link); }
.book-text > p:first-child { margin-bottom: .3em; }
.tip { border-bottom: 1px dotted var(--gold); text-decoration: none; }

/* ---------- sezione corsi */
.courses { background: var(--white); padding-block: clamp(3.6rem, 8vw, 6.4rem); }
.t-teacher .courses, .t-student .courses, .s-articoli .courses { background: var(--mist); border-block: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(2rem, 5vw, 6rem); align-items: start; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.sec-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 0; }
.sec-head h2::before { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin-bottom: 1.2rem; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.group + .group { margin-top: clamp(3.4rem, 7vw, 5.4rem); }
.group-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .8rem clamp(2rem, 5vw, 6rem); align-items: end; margin-bottom: 1.6rem; }
.group-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; }
.group-head p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.pathway { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 20fr) minmax(0, 54fr); gap: 0; border-top: 1px solid var(--line); }
.pathway li a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .9rem; height: 100%; padding: 1.1rem 1rem 1rem; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); }
.pathway li:last-child a { border-right: 0; }
.pathway li a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.pathway b { grid-row: span 2; font: 400 1.9rem/1 var(--serif); color: var(--gold); }
.pathway span { font: 400 1.2rem/1.2 var(--serif); color: var(--navy); }
.pathway em { font-style: normal; font-size: .84rem; color: var(--muted); }
.pathway li a:hover span { color: var(--link); }
.group-cover { margin: 1.6rem 0 0; font-size: .92rem; color: var(--muted); }
.cards { display: grid; gap: clamp(1rem, 2vw, 1.8rem); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.cards--2 .card-media { aspect-ratio: 2 / 1; }
.card-media img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.3rem; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: .9rem; font-size: .86rem; color: var(--muted); }
.card-level { font: 400 1.3rem/1 var(--serif); color: var(--gold); }
.card-hours { display: inline-flex; align-items: center; gap: .35rem; }
.card-title { font-size: 1.6rem; margin: 0 0 .45rem; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--link); }
.card-sub { font: 400 italic 1.04rem/1.5 var(--serif); color: var(--ink-2); margin-bottom: .9rem; }
.card-excerpt { font-size: .91rem; line-height: 1.65; color: var(--muted); margin-bottom: 1rem; }
.card-excerpt strong { color: var(--ink-2); }
.card-start { display: flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-2); font-size: .88rem; font-weight: 600; color: var(--cink); margin-bottom: 1rem; }
.card-actions { display: flex; gap: .6rem; margin-bottom: .8rem; }
.card-actions .btn { flex: 1; min-height: 46px; padding-inline: 1em; }
.card-foot { margin: 0; font-size: .76rem; color: var(--muted); }
.card--compact .card-actions { margin-bottom: 0; }
.card--compact .card-title { font-size: 1.3rem; }

/* ---------- pagina corso */
.course-aside { gap: 1.4rem; }
.aside-card { position: relative; background: #fff; border: 1px solid var(--line); padding: 1.7rem 1.5rem 1.5rem; box-shadow: 0 24px 40px -30px rgba(58,18,28,.45); }
.aside-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.aside-title { font: 400 1.4rem/1.25 var(--serif); color: var(--navy); margin: 0 0 .7rem; }
.aside-meta { display: flex; gap: .7rem; align-items: center; font-size: .9rem; color: var(--ink-2); margin-bottom: .4rem; }
.aside-start { display: flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--cink); margin-bottom: 1.2rem; }
.aside-card .btn + .btn { margin-top: .6rem; }
.wa-box { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.wa-box > summary { list-style: none; cursor: pointer; }
.wa-box > summary::-webkit-details-marker { display: none; }
.wa-box:not([open]) > summary::after { content: "+"; margin-left: auto; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.wa-form-h { display: flex; align-items: center; gap: .55rem; font: 400 1.12rem/1.2 var(--serif); color: var(--navy); }
.wa-form-h .ico { width: 22px; height: 22px; color: #1f9d55; }
.wa-form { display: grid; gap: .35rem; margin-top: .6rem; }
.wa-form label { font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: .35rem; }
.wa-form label span { font-weight: 400; }
.wa-form input, .wa-form select, .wa-form textarea { width: 100%; font: 400 .95rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: .65rem .75rem; }
.wa-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus { outline: none; border-color: var(--navy); }
.wa-form .btn { margin-top: .8rem; width: 100%; }
.wa-note { font-size: .76rem; color: var(--muted); margin: .4rem 0 0; line-height: 1.45; }
.wa-form [aria-invalid="true"] { border-color: var(--link); }
.others { color: #F3E7DC; padding-block: clamp(3rem, 7vw, 5rem); background: linear-gradient(rgba(74,24,36,.62), rgba(74,24,36,.62)), url(../img/photo/biblioteca-1800.jpg) 50% 60% / cover no-repeat var(--navy); }
.others h2 { text-shadow: 0 2px 18px rgba(30,8,14,.55); }
.others h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.8rem; color: #fff; }
.others h2::before { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin-bottom: 1.1rem; }
.others h2 em { color: var(--gold-l); }
.others .card { border-color: transparent; }

/* ---------- sezioni a tutta larghezza (home e pagine) */
.flow > section { padding-block: clamp(3.6rem, 8vw, 6rem); }
.flow > section > * { max-width: var(--w); margin-inline: auto; padding-inline: var(--gut); }
.flow > section > h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.flow > section > h2::before { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin-bottom: 1.2rem; }
.flow > :not(section) { max-width: var(--w); margin-inline: auto; padding-inline: var(--gut); }
.flow > :last-child:not(section) { margin-bottom: clamp(3.6rem, 8vw, 6rem); }
/* pagine docenti / studenti: titolo "Testimonianze" staccato dalla sezione corsi e più grande */
.flow > h2:first-child { margin-top: clamp(3.6rem, 8vw, 6rem); font-size: clamp(2.1rem, 4vw, 3.3rem); }
.flow > h2:first-child::before { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin-bottom: 1.2rem; }
#guide-coaching-professionale-pnl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 6vw, 7rem); max-width: none; margin-inline: 0; padding-inline: max(var(--gut), calc((100% - var(--w)) / 2 + var(--gut))); align-items: start; background: var(--mist); }
#guide-coaching-professionale-pnl > * { grid-column: 2; max-width: none; margin-inline: 0; padding-inline: 0; }
#guide-coaching-professionale-pnl > .director { grid-column: 1; grid-row: 1 / span 6; display: block; margin: 0; padding: 0; background: none; border: 0; }
#guide-coaching-professionale-pnl .director-photo { max-width: 440px; margin-bottom: 2.6rem; }
#guide-coaching-professionale-pnl .director h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
#guide-coaching-professionale-pnl > p:first-of-type { font: 400 clamp(1.15rem, 1.5vw, 1.35rem)/1.6 var(--serif); color: var(--ink); margin-top: 0; }
#libri-per-coach-e-aspiranti-coach .book { max-width: var(--w); }
#recensioni-corsi-coaching-pnl-italia { background: linear-gradient(rgba(74,24,36,.9), rgba(74,24,36,.9)), url(../img/photo/biblioteca-1800.jpg) 50% 60% / cover no-repeat var(--navy); color: #F3E7DC; }
#recensioni-corsi-coaching-pnl-italia .quote blockquote, #recensioni-corsi-coaching-pnl-italia h2 { text-shadow: 0 1px 14px rgba(30,8,14,.6); }
#recensioni-corsi-coaching-pnl-italia > h2 { color: #fff; }
#recensioni-corsi-coaching-pnl-italia .btn--line { color: #fff; border-color: rgba(255,255,255,.6); }
#recensioni-corsi-coaching-pnl-italia .btn--line:hover { background: #fff; color: var(--navy); }
#recensioni-corsi-coaching-pnl-italia .quote figcaption { color: #fff; }

/* ---------- lettera della direttrice: ritratto 4:5 incorniciato, mai ritagliato a cerchio */
.director { display: grid; grid-template-columns: minmax(150px, 36%) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; margin: 2.6em 0; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem); background: var(--mist); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.director-photo { margin: 0 12px 12px 0; position: relative; }
.director-photo::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--gold); pointer-events: none; }
.director-photo a { display: block; position: relative; }
.director-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 0 !important; box-shadow: 0 26px 44px -26px rgba(58,18,28,.6); }
.director-text > :first-child { margin-top: 0; }
.director h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 0 0 .9rem; color: var(--navy); }
.director h2::before { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-bottom: 1rem; }
.director h2::after { content: none !important; }
.director-sign { margin: 1.4rem 0 0 !important; font: italic 400 1.45rem/1.15 var(--serif); color: var(--navy); }
.director-sign span { display: block; margin-top: .45rem; font: 600 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--link); }

/* ---------- persone (docenti, studenti) */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; margin: 2em 0; }
.person { display: flex; flex-direction: column; background: #fff; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: border-color .2s; }
a.person:hover, .person:hover { border-color: var(--navy); color: var(--ink); }
.person-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.person-media img { width: 100%; height: 100%; object-fit: cover; }
.person-body { padding: 1.1rem 1.2rem 1.2rem; border-top: 3px solid var(--gold); }
.person-name { font: 400 1.4rem/1.2 var(--serif) !important; margin-bottom: .25rem; color: var(--navy) !important; }
.person-role { font: 600 .8rem/1.4 var(--sans); letter-spacing: .03em; color: var(--link); margin-bottom: .7rem; }
.person-sum { font-size: .9rem; line-height: 1.6; color: var(--ink-2); margin-bottom: .6rem; }
.person p { font-size: .9rem; }
.person-body { display: flex; flex-direction: column; flex: 1; }
.person-more { margin-top: auto; padding-top: .7rem; font: 600 .84rem/1.3 var(--sans); color: var(--link); }
.person-more::after { content: " →"; }
a.person:hover .person-more { color: var(--navy); }
.links-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6em 0; }
.links-row a { display: inline-flex; align-items: center; padding: .6em 1.15em; border: 1px solid var(--navy); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .9rem; }
.links-row a:hover { background: var(--navy); color: #fff; }
.links-row img { display: none; }
/* link del docente / studente: icone rotonde (il testo resta per lettori di schermo e come suggerimento) */
.links-row { gap: .7rem; }
.links-row a.soc { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border-radius: 50%; border: 1px solid var(--gold); background: #fff; color: var(--navy); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.links-row a.soc .ico { width: 22px; height: 22px; stroke-width: 1.6; }
.links-row a.soc:hover, .links-row a.soc:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


/* ---------- AICP */
.aicp-sec { background: var(--mist); padding-block: clamp(3.4rem, 7vw, 5.4rem); border-top: 1px solid var(--line); }
.aicp-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2.5rem, 6vw, 7rem); align-items: start; }
.aicp-head { margin: 0; line-height: 0; }
.aicp-head::before { content: none; }
.aicp-head img { display: block; width: 100%; max-width: 360px; height: auto; filter: drop-shadow(0 22px 26px rgba(58,18,28,.22)); }
.aicp-body { max-width: 900px; }
.aicp-lead { font: 400 clamp(1.15rem, 1.6vw, 1.32rem)/1.55 var(--serif); color: var(--navy); }
.aicp-body p { color: var(--ink-2); }
.aicp-body a { color: var(--link); }
.aicp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 2rem 0 0; border-top: 2px solid var(--navy); }
.aicp-facts div { padding: 1.1rem 1.2rem 0 0; }
.aicp-facts div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.aicp-facts dt { font: 400 1.7rem/1.1 var(--serif); color: var(--navy); }
.aicp-facts dd { margin: .35rem 0 0; font-size: .84rem; color: var(--muted); line-height: 1.4; }

/* ---------- piè di pagina (4 colonne) */
.site-foot { background: var(--navy-3); color: #D6C1B3; padding-block: clamp(3.4rem, 7vw, 5rem) 1.8rem; border-top: 3px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1fr); gap: 2.4rem clamp(2rem, 4vw, 4rem); }
.foot-brand img { width: 250px; height: auto; }
.foot-brand p { font-size: .88rem; line-height: 1.65; margin: 1.3rem 0; color: #C9B0A0; max-width: 52ch; }
.foot-brand p b, .foot-brand p strong { color: #F3E7DC; font-weight: 600; }
.aicp { padding: 0; border: 0; background: #fff; cursor: pointer; overflow: hidden; }
.aicp img { width: 64px; height: 64px; }
.foot-h { font: 400 1.15rem/1.2 var(--serif); color: #fff; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(192,149,79,.5); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .6rem; }
.site-foot a { color: #F1E4D8; text-decoration: none; }
.site-foot a:hover { color: var(--gold-l); }
.foot-courses a { display: flex; align-items: center; gap: .7rem; }
.foot-courses i { width: 4px; height: 18px; background: linear-gradient(180deg, var(--c1), var(--c2)); flex: none; }
.foot-contacts a { display: inline-flex; align-items: center; gap: .6rem; }
.foot-contacts .ico { color: var(--gold); }
.foot-legal { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; line-height: 1.65; color: #B39787; }
.foot-legal small { font-size: inherit; }
.foot-legal b, .foot-legal strong { color: #E6D5C9; font-weight: 600; }
.foot-social { display: flex; gap: .6rem; margin: 0; }
.foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(192,149,79,.55); border-radius: 50%; color: #F3E7DC; }
.foot-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
.foot-social .ico { width: 20px; height: 20px; }
.foot-service { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1rem; font-size: .8rem; }
.foot-service a { color: #C9B0A0; text-decoration: underline; text-decoration-color: rgba(192,149,79,.5); }
.foot-service a:hover { color: var(--gold-l); }

/* ---------- responsive */
@media (max-width: 1240px) {
  .testi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aicp-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .aicp-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .nav > ul > li > a { padding-inline: .6rem; flex-direction: column; justify-content: center; gap: .3rem; font-size: .9rem; text-align: center; }
  .nav > ul > li > a .ico { margin-right: 0; }
  .has-sub > a::after { display: none; }
  .brand img { width: 200px; }
  .page-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .un-full { display: none; }
  .un-short { display: inline; }
  .head-in { flex-wrap: wrap; gap: 0 1rem; min-height: 0; padding-top: .8rem; }
  .nav { order: 3; width: calc(100% + 2 * var(--gut)); margin: .6rem calc(-1 * var(--gut)) 0; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .nav::-webkit-scrollbar { display: none; }
  .nav > ul { padding: 0 var(--gut); width: max-content; }
  .nav > ul > li > a { padding: .8rem .8rem; font-size: .94rem; white-space: nowrap; flex-direction: row; gap: 0; }
  .nav > ul > li > a .ico { margin-right: .45rem; width: 16px; height: 16px; }
  .sub { display: none; }
  .has-sub > a::after { display: none; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .side .toc { display: none; }
  .course-aside { order: -1; }
  .cards--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sec-head, .group-head { grid-template-columns: minmax(0, 1fr); }
  .facts ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  #guide-coaching-professionale-pnl { grid-template-columns: minmax(0, 1fr); }
  #guide-coaching-professionale-pnl > * { grid-column: 1; }
  #guide-coaching-professionale-pnl > .director { grid-row: auto; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem; margin-bottom: 2.4rem; }
  #guide-coaching-professionale-pnl .director-photo { margin-bottom: 12px; }
  #guide-coaching-professionale-pnl > .arts { grid-row: auto; margin-top: 1.2rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mast-in { grid-template-columns: minmax(0, 1fr); }
  .mast-portrait { width: 200px; order: -1; margin-bottom: .6rem; }
    .info li { grid-template-columns: minmax(0, 1fr); }
  .aicp-in { grid-template-columns: minmax(0, 1fr); }
  .aicp-head img { max-width: none; }
  html { scroll-padding-top: 150px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .testi { grid-template-columns: minmax(0, 1fr); }
  .director, #guide-coaching-professionale-pnl > .director { grid-template-columns: minmax(0, 1fr); }
  .director-photo { max-width: 300px; }
  .utility-contacts span { display: none; }
  .utility-in { column-gap: 1rem; }
  .utility-contacts { gap: 1.2rem !important; }
  .utility-contacts .ico { width: 20px; height: 20px; }
  /* smartphone: logo su tutta la larghezza; scorrendo resta fisso solo il menu (il logo esce dallo schermo) */
  .brand { flex: 1 1 100%; }
  .brand img { display: block; width: calc(100vw - 2 * var(--gut)); max-width: 100%; height: auto; }
  .site-head { top: calc(-1 * ((100vw - 2 * var(--gut)) * .2858 + 1.4rem)); }
  .mast::before { background: linear-gradient(180deg, rgba(58,18,28,.72) 0%, rgba(58,18,28,.9) 55%, rgba(58,18,28,.96) 100%); }
  .mast--home { min-height: 0; }
  .mast-cta .btn { width: 100%; }
  .facts li { padding: 1rem .9rem 1rem 0; }
  .facts li + li { padding-left: .9rem; }
  .facts strong { font-size: 1.05rem; }
  .cards--3, .cards--2, .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .card-excerpt { display: none; }
  .pathway { grid-template-columns: minmax(0, 1fr); }
  .pathway li a { border-right: 0; border-bottom: 1px solid var(--line); }
  .book { grid-template-columns: minmax(0, 1fr); }
  .book-cover { max-width: none; }
  .book-cover img, .book-cover .fig-link img { display: block; width: 100%; height: auto; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .cal-part { padding: 1.2rem 1.1rem .8rem 1.4rem; }
  .testi { columns: 1; }
  .course-photo img { aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .utility, .site-head, .side, .others, .mast-img, .site-foot { display: none !important; } .mast { color: var(--ink); background: none; } .mast h1 { color: var(--navy); } }
