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

/* =============================================
   TOKENS
   Palette ispirata alla locandina: carta crema/pesca, inchiostro blu navy,
   corallo (violino/tamburello), zafferano (sax/piatto), blu cielo.
   ============================================= */
:root {
  --ink:       #1B2745;
  --ink-2:     #26365F;
  --ink-mid:   #2E3A5F;
  --ink-soft:  #4F5B7D;
  --paper:     #FFF6E8;
  --paper-2:   #FFFCF6;
  --peach:     #FFE2C6;
  --blush:     #FFE6E1;
  --sky:       #E3ECFF;
  --coral:     #EE5A4F;
  --coral-d:   #BF3A30;
  --saffron:   #FFB02E;
  --saffron-s: #FFE9B8;
  --saffron-d: #9A5B00;
  --blue:      #2F5BD0;
  --blue-d:    #2A4FB8;
  --line:      rgba(27,39,69,0.14);

  /* nomi storici, mantenuti perché usati da stili in linea e da JS */
  --forest:    var(--ink);
  --forest-mid:var(--ink-2);
  --forest-lg: #32477F;
  --sage:      var(--blue-d);
  --sage-light:#AFC3F5;
  --champagne: var(--coral);
  --champ-lt:  var(--saffron);
  --ivory:     var(--paper);
  --ivory-dark:var(--peach);
  --sand:      var(--sky);
  --rose:      var(--coral);
  --muted:     var(--ink-soft);
  --border:    var(--line);

  --ff-display:'Gabarito', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --ff-body:   'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(27,39,69,0.14), 0 8px 18px -10px rgba(27,39,69,0.4);
  --shadow-md: 0 3px 8px rgba(27,39,69,0.14), 0 18px 32px -14px rgba(27,39,69,0.5);
  --shadow-lg: 0 6px 14px rgba(27,39,69,0.2), 0 30px 70px -20px rgba(27,39,69,0.65);
}
html { scroll-behavior: smooth; scroll-padding-top: 260px; }
body {
  font-family: var(--ff-body); font-size: 1rem; line-height: 1.6;
  background: var(--paper); color: var(--ink); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--ff-display); }
button, input, select { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 6px; border: 2px solid var(--paper); }

/* =============================================
   NAV
   ============================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 200px;
  background: var(--ink); border-bottom: 4px solid var(--saffron);
  transition: box-shadow 0.25s ease;
}
nav.scrolled { box-shadow: 0 12px 28px -14px rgba(27,39,69,0.6); }
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 0.75rem; }
.nav-logo img { width: clamp(240px, 30vw, 440px); height: auto; max-height: 150px; object-fit: contain; }
.nav-logo-text { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 800; color: var(--paper); letter-spacing: -0.01em; }
.nav-logo-text span { color: var(--saffron); }
.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
.nav-links > li > a {
  display: block; text-decoration: none; color: rgba(255,246,232,0.92);
  font-family: var(--ff-display); font-weight: 600; font-size: 1.02rem;
  padding: 0.55rem 0.95rem; border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.nav-links > li > a:hover, .nav-has-dropdown:focus-within > a { background: rgba(255,246,232,0.12); color: var(--saffron); }
.nav-item { position: relative; }
.nav-has-dropdown > a::after {
  content: ''; display: inline-block; margin-left: 0.5rem; width: 0.42rem; height: 0.42rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav-dropdown {
  list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 6px);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 18px;
  min-width: 240px; opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: var(--shadow-md); z-index: 50;
}
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-has-dropdown:hover .nav-dropdown, .nav-has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links > li:last-child .nav-dropdown { left: auto; right: 0; transform: translateY(6px); }
.nav-links > li:last-child.nav-has-dropdown:hover .nav-dropdown, .nav-links > li:last-child.nav-has-dropdown:focus-within .nav-dropdown { transform: translateY(0); }
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block; padding: 0.6rem 0.9rem; white-space: nowrap; text-decoration: none;
  font-weight: 700; font-size: 0.97rem; color: var(--ink); border-radius: 12px; transition: background 0.15s;
}
.nav-dropdown a:hover { background: var(--peach); }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer; background: none; border: none; min-width: 44px; min-height: 44px; padding: 6px; }
.nav-hamburger span { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--paper); transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* =============================================
   BANNER ISCRIZIONI
   ============================================= */
.banner-iscrizioni {
  display: block; text-decoration: none; background: var(--saffron); color: var(--ink);
  padding: 0.65rem 3rem; margin-top: 200px; transition: background 0.2s;
  position: sticky; top: 200px; z-index: 98;
}
/* due metà affiancate: iscrizioni (link) e richiesta informazioni (pulsante che apre il modulo) */
.banner-iscrizioni-inner { display: flex; align-items: center; justify-content: center; gap: 0.5rem 2.5rem; flex-wrap: wrap; }
.banner-iscrizioni-link {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  text-decoration: none; color: var(--ink); background: none; border: none; font: inherit; cursor: pointer;
  padding: 0.15rem 0.5rem; border-radius: 999px; transition: background 0.2s;
}
.banner-iscrizioni-link:hover { background: #FFBC4D; }
.banner-info { position: relative; }
.banner-info::before { content: ''; position: absolute; left: -1.25rem; top: 15%; bottom: 15%; width: 2px; background: rgba(27,39,69,0.25); }
.banner-iscrizioni-link.banner-info:only-child::before { display: none; }
.banner-iscrizioni-text { font-size: 1rem; font-weight: 700; color: var(--ink); }
.banner-iscrizioni-cta {
  font-family: var(--ff-display); font-size: 0.92rem; font-weight: 700; color: var(--paper);
  background: var(--ink); padding: 0.28rem 1rem; border-radius: 999px; transition: background 0.2s;
}
.banner-iscrizioni-link:hover .banner-iscrizioni-cta { background: var(--blue); }
.banner-info-cta { background: var(--coral-d); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: calc(100vh - 136px); min-height: calc(100svh - 136px);
  background:
    radial-gradient(circle at 90% 8%, rgba(255,176,46,0.38) 0, rgba(255,176,46,0) 34%),
    radial-gradient(circle at 4% 96%, rgba(47,91,208,0.16) 0, rgba(47,91,208,0) 38%),
    radial-gradient(circle at 62% 92%, rgba(238,90,79,0.20) 0, rgba(238,90,79,0) 32%),
    linear-gradient(180deg, #FFF6E8 0%, #FFE5CB 100%);
  display: grid; grid-template-columns: 56% 44%;
  align-items: stretch; overflow: hidden; position: relative;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20120%22%20width%3D%221200%22%20height%3D%22120%22%3E%3Cpath%20d%3D%22M0%2C49.2%20L8%2C50.3%20L16%2C51.3%20L24%2C52.2%20L32%2C53.1%20L40%2C53.9%20L48%2C54.6%20L56%2C55.3%20L64%2C55.8%20L72%2C56.3%20L80%2C56.6%20L88%2C56.8%20L96%2C57.0%20L104%2C57.0%20L112%2C56.9%20L120%2C56.7%20L128%2C56.5%20L136%2C56.1%20L144%2C55.6%20L152%2C55.0%20L160%2C54.3%20L168%2C53.6%20L176%2C52.7%20L184%2C51.8%20L192%2C50.8%20L200%2C49.8%20L208%2C48.7%20L216%2C47.6%20L224%2C46.4%20L232%2C45.2%20L240%2C43.9%20L248%2C42.7%20L256%2C41.4%20L264%2C40.2%20L272%2C38.9%20L280%2C37.7%20L288%2C36.5%20L296%2C35.4%20L304%2C34.3%20L312%2C33.2%20L320%2C32.2%20L328%2C31.3%20L336%2C30.5%20L344%2C29.7%20L352%2C29.0%20L360%2C28.4%20L368%2C28.0%20L376%2C27.6%20L384%2C27.3%20L392%2C27.1%20L400%2C27.0%20L408%2C27.0%20L416%2C27.2%20L424%2C27.4%20L432%2C27.7%20L440%2C28.2%20L448%2C28.7%20L456%2C29.3%20L464%2C30.0%20L472%2C30.8%20L480%2C31.7%20L488%2C32.7%20L496%2C33.7%20L504%2C34.7%20L512%2C35.9%20L520%2C37.0%20L528%2C38.2%20L536%2C39.5%20L544%2C40.7%20L552%2C42.0%20L560%2C43.2%20L568%2C44.5%20L576%2C45.7%20L584%2C46.9%20L592%2C48.1%20L600%2C49.2%20L608%2C50.3%20L616%2C51.3%20L624%2C52.2%20L632%2C53.1%20L640%2C53.9%20L648%2C54.6%20L656%2C55.3%20L664%2C55.8%20L672%2C56.3%20L680%2C56.6%20L688%2C56.8%20L696%2C57.0%20L704%2C57.0%20L712%2C56.9%20L720%2C56.7%20L728%2C56.5%20L736%2C56.1%20L744%2C55.6%20L752%2C55.0%20L760%2C54.3%20L768%2C53.6%20L776%2C52.7%20L784%2C51.8%20L792%2C50.8%20L800%2C49.8%20L808%2C48.7%20L816%2C47.6%20L824%2C46.4%20L832%2C45.2%20L840%2C43.9%20L848%2C42.7%20L856%2C41.4%20L864%2C40.2%20L872%2C38.9%20L880%2C37.7%20L888%2C36.5%20L896%2C35.4%20L904%2C34.3%20L912%2C33.2%20L920%2C32.2%20L928%2C31.3%20L936%2C30.5%20L944%2C29.7%20L952%2C29.0%20L960%2C28.4%20L968%2C28.0%20L976%2C27.6%20L984%2C27.3%20L992%2C27.1%20L1000%2C27.0%20L1008%2C27.0%20L1016%2C27.2%20L1024%2C27.4%20L1032%2C27.7%20L1040%2C28.2%20L1048%2C28.7%20L1056%2C29.3%20L1064%2C30.0%20L1072%2C30.8%20L1080%2C31.7%20L1088%2C32.7%20L1096%2C33.7%20L1104%2C34.7%20L1112%2C35.9%20L1120%2C37.0%20L1128%2C38.2%20L1136%2C39.5%20L1144%2C40.7%20L1152%2C42.0%20L1160%2C43.2%20L1168%2C44.5%20L1176%2C45.7%20L1184%2C46.9%20L1192%2C48.1%20L1200%2C49.2%22%20fill%3D%22none%22%20stroke%3D%22%231B2745%22%20stroke-opacity%3D%220.17%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C58.2%20L8%2C59.3%20L16%2C60.3%20L24%2C61.2%20L32%2C62.1%20L40%2C62.9%20L48%2C63.6%20L56%2C64.3%20L64%2C64.8%20L72%2C65.3%20L80%2C65.6%20L88%2C65.8%20L96%2C66.0%20L104%2C66.0%20L112%2C65.9%20L120%2C65.7%20L128%2C65.5%20L136%2C65.1%20L144%2C64.6%20L152%2C64.0%20L160%2C63.3%20L168%2C62.6%20L176%2C61.7%20L184%2C60.8%20L192%2C59.8%20L200%2C58.8%20L208%2C57.7%20L216%2C56.6%20L224%2C55.4%20L232%2C54.2%20L240%2C52.9%20L248%2C51.7%20L256%2C50.4%20L264%2C49.2%20L272%2C47.9%20L280%2C46.7%20L288%2C45.5%20L296%2C44.4%20L304%2C43.3%20L312%2C42.2%20L320%2C41.2%20L328%2C40.3%20L336%2C39.5%20L344%2C38.7%20L352%2C38.0%20L360%2C37.4%20L368%2C37.0%20L376%2C36.6%20L384%2C36.3%20L392%2C36.1%20L400%2C36.0%20L408%2C36.0%20L416%2C36.2%20L424%2C36.4%20L432%2C36.7%20L440%2C37.2%20L448%2C37.7%20L456%2C38.3%20L464%2C39.0%20L472%2C39.8%20L480%2C40.7%20L488%2C41.7%20L496%2C42.7%20L504%2C43.7%20L512%2C44.9%20L520%2C46.0%20L528%2C47.2%20L536%2C48.5%20L544%2C49.7%20L552%2C51.0%20L560%2C52.2%20L568%2C53.5%20L576%2C54.7%20L584%2C55.9%20L592%2C57.1%20L600%2C58.2%20L608%2C59.3%20L616%2C60.3%20L624%2C61.2%20L632%2C62.1%20L640%2C62.9%20L648%2C63.6%20L656%2C64.3%20L664%2C64.8%20L672%2C65.3%20L680%2C65.6%20L688%2C65.8%20L696%2C66.0%20L704%2C66.0%20L712%2C65.9%20L720%2C65.7%20L728%2C65.5%20L736%2C65.1%20L744%2C64.6%20L752%2C64.0%20L760%2C63.3%20L768%2C62.6%20L776%2C61.7%20L784%2C60.8%20L792%2C59.8%20L800%2C58.8%20L808%2C57.7%20L816%2C56.6%20L824%2C55.4%20L832%2C54.2%20L840%2C52.9%20L848%2C51.7%20L856%2C50.4%20L864%2C49.2%20L872%2C47.9%20L880%2C46.7%20L888%2C45.5%20L896%2C44.4%20L904%2C43.3%20L912%2C42.2%20L920%2C41.2%20L928%2C40.3%20L936%2C39.5%20L944%2C38.7%20L952%2C38.0%20L960%2C37.4%20L968%2C37.0%20L976%2C36.6%20L984%2C36.3%20L992%2C36.1%20L1000%2C36.0%20L1008%2C36.0%20L1016%2C36.2%20L1024%2C36.4%20L1032%2C36.7%20L1040%2C37.2%20L1048%2C37.7%20L1056%2C38.3%20L1064%2C39.0%20L1072%2C39.8%20L1080%2C40.7%20L1088%2C41.7%20L1096%2C42.7%20L1104%2C43.7%20L1112%2C44.9%20L1120%2C46.0%20L1128%2C47.2%20L1136%2C48.5%20L1144%2C49.7%20L1152%2C51.0%20L1160%2C52.2%20L1168%2C53.5%20L1176%2C54.7%20L1184%2C55.9%20L1192%2C57.1%20L1200%2C58.2%22%20fill%3D%22none%22%20stroke%3D%22%231B2745%22%20stroke-opacity%3D%220.17%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C67.2%20L8%2C68.3%20L16%2C69.3%20L24%2C70.2%20L32%2C71.1%20L40%2C71.9%20L48%2C72.6%20L56%2C73.3%20L64%2C73.8%20L72%2C74.3%20L80%2C74.6%20L88%2C74.8%20L96%2C75.0%20L104%2C75.0%20L112%2C74.9%20L120%2C74.7%20L128%2C74.5%20L136%2C74.1%20L144%2C73.6%20L152%2C73.0%20L160%2C72.3%20L168%2C71.6%20L176%2C70.7%20L184%2C69.8%20L192%2C68.8%20L200%2C67.8%20L208%2C66.7%20L216%2C65.6%20L224%2C64.4%20L232%2C63.2%20L240%2C61.9%20L248%2C60.7%20L256%2C59.4%20L264%2C58.2%20L272%2C56.9%20L280%2C55.7%20L288%2C54.5%20L296%2C53.4%20L304%2C52.3%20L312%2C51.2%20L320%2C50.2%20L328%2C49.3%20L336%2C48.5%20L344%2C47.7%20L352%2C47.0%20L360%2C46.4%20L368%2C46.0%20L376%2C45.6%20L384%2C45.3%20L392%2C45.1%20L400%2C45.0%20L408%2C45.0%20L416%2C45.2%20L424%2C45.4%20L432%2C45.7%20L440%2C46.2%20L448%2C46.7%20L456%2C47.3%20L464%2C48.0%20L472%2C48.8%20L480%2C49.7%20L488%2C50.7%20L496%2C51.7%20L504%2C52.7%20L512%2C53.9%20L520%2C55.0%20L528%2C56.2%20L536%2C57.5%20L544%2C58.7%20L552%2C60.0%20L560%2C61.2%20L568%2C62.5%20L576%2C63.7%20L584%2C64.9%20L592%2C66.1%20L600%2C67.2%20L608%2C68.3%20L616%2C69.3%20L624%2C70.2%20L632%2C71.1%20L640%2C71.9%20L648%2C72.6%20L656%2C73.3%20L664%2C73.8%20L672%2C74.3%20L680%2C74.6%20L688%2C74.8%20L696%2C75.0%20L704%2C75.0%20L712%2C74.9%20L720%2C74.7%20L728%2C74.5%20L736%2C74.1%20L744%2C73.6%20L752%2C73.0%20L760%2C72.3%20L768%2C71.6%20L776%2C70.7%20L784%2C69.8%20L792%2C68.8%20L800%2C67.8%20L808%2C66.7%20L816%2C65.6%20L824%2C64.4%20L832%2C63.2%20L840%2C61.9%20L848%2C60.7%20L856%2C59.4%20L864%2C58.2%20L872%2C56.9%20L880%2C55.7%20L888%2C54.5%20L896%2C53.4%20L904%2C52.3%20L912%2C51.2%20L920%2C50.2%20L928%2C49.3%20L936%2C48.5%20L944%2C47.7%20L952%2C47.0%20L960%2C46.4%20L968%2C46.0%20L976%2C45.6%20L984%2C45.3%20L992%2C45.1%20L1000%2C45.0%20L1008%2C45.0%20L1016%2C45.2%20L1024%2C45.4%20L1032%2C45.7%20L1040%2C46.2%20L1048%2C46.7%20L1056%2C47.3%20L1064%2C48.0%20L1072%2C48.8%20L1080%2C49.7%20L1088%2C50.7%20L1096%2C51.7%20L1104%2C52.7%20L1112%2C53.9%20L1120%2C55.0%20L1128%2C56.2%20L1136%2C57.5%20L1144%2C58.7%20L1152%2C60.0%20L1160%2C61.2%20L1168%2C62.5%20L1176%2C63.7%20L1184%2C64.9%20L1192%2C66.1%20L1200%2C67.2%22%20fill%3D%22none%22%20stroke%3D%22%231B2745%22%20stroke-opacity%3D%220.17%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C76.2%20L8%2C77.3%20L16%2C78.3%20L24%2C79.2%20L32%2C80.1%20L40%2C80.9%20L48%2C81.6%20L56%2C82.3%20L64%2C82.8%20L72%2C83.3%20L80%2C83.6%20L88%2C83.8%20L96%2C84.0%20L104%2C84.0%20L112%2C83.9%20L120%2C83.7%20L128%2C83.5%20L136%2C83.1%20L144%2C82.6%20L152%2C82.0%20L160%2C81.3%20L168%2C80.6%20L176%2C79.7%20L184%2C78.8%20L192%2C77.8%20L200%2C76.8%20L208%2C75.7%20L216%2C74.6%20L224%2C73.4%20L232%2C72.2%20L240%2C70.9%20L248%2C69.7%20L256%2C68.4%20L264%2C67.2%20L272%2C65.9%20L280%2C64.7%20L288%2C63.5%20L296%2C62.4%20L304%2C61.3%20L312%2C60.2%20L320%2C59.2%20L328%2C58.3%20L336%2C57.5%20L344%2C56.7%20L352%2C56.0%20L360%2C55.4%20L368%2C55.0%20L376%2C54.6%20L384%2C54.3%20L392%2C54.1%20L400%2C54.0%20L408%2C54.0%20L416%2C54.2%20L424%2C54.4%20L432%2C54.7%20L440%2C55.2%20L448%2C55.7%20L456%2C56.3%20L464%2C57.0%20L472%2C57.8%20L480%2C58.7%20L488%2C59.7%20L496%2C60.7%20L504%2C61.7%20L512%2C62.9%20L520%2C64.0%20L528%2C65.2%20L536%2C66.5%20L544%2C67.7%20L552%2C69.0%20L560%2C70.2%20L568%2C71.5%20L576%2C72.7%20L584%2C73.9%20L592%2C75.1%20L600%2C76.2%20L608%2C77.3%20L616%2C78.3%20L624%2C79.2%20L632%2C80.1%20L640%2C80.9%20L648%2C81.6%20L656%2C82.3%20L664%2C82.8%20L672%2C83.3%20L680%2C83.6%20L688%2C83.8%20L696%2C84.0%20L704%2C84.0%20L712%2C83.9%20L720%2C83.7%20L728%2C83.5%20L736%2C83.1%20L744%2C82.6%20L752%2C82.0%20L760%2C81.3%20L768%2C80.6%20L776%2C79.7%20L784%2C78.8%20L792%2C77.8%20L800%2C76.8%20L808%2C75.7%20L816%2C74.6%20L824%2C73.4%20L832%2C72.2%20L840%2C70.9%20L848%2C69.7%20L856%2C68.4%20L864%2C67.2%20L872%2C65.9%20L880%2C64.7%20L888%2C63.5%20L896%2C62.4%20L904%2C61.3%20L912%2C60.2%20L920%2C59.2%20L928%2C58.3%20L936%2C57.5%20L944%2C56.7%20L952%2C56.0%20L960%2C55.4%20L968%2C55.0%20L976%2C54.6%20L984%2C54.3%20L992%2C54.1%20L1000%2C54.0%20L1008%2C54.0%20L1016%2C54.2%20L1024%2C54.4%20L1032%2C54.7%20L1040%2C55.2%20L1048%2C55.7%20L1056%2C56.3%20L1064%2C57.0%20L1072%2C57.8%20L1080%2C58.7%20L1088%2C59.7%20L1096%2C60.7%20L1104%2C61.7%20L1112%2C62.9%20L1120%2C64.0%20L1128%2C65.2%20L1136%2C66.5%20L1144%2C67.7%20L1152%2C69.0%20L1160%2C70.2%20L1168%2C71.5%20L1176%2C72.7%20L1184%2C73.9%20L1192%2C75.1%20L1200%2C76.2%22%20fill%3D%22none%22%20stroke%3D%22%231B2745%22%20stroke-opacity%3D%220.17%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C85.2%20L8%2C86.3%20L16%2C87.3%20L24%2C88.2%20L32%2C89.1%20L40%2C89.9%20L48%2C90.6%20L56%2C91.3%20L64%2C91.8%20L72%2C92.3%20L80%2C92.6%20L88%2C92.8%20L96%2C93.0%20L104%2C93.0%20L112%2C92.9%20L120%2C92.7%20L128%2C92.5%20L136%2C92.1%20L144%2C91.6%20L152%2C91.0%20L160%2C90.3%20L168%2C89.6%20L176%2C88.7%20L184%2C87.8%20L192%2C86.8%20L200%2C85.8%20L208%2C84.7%20L216%2C83.6%20L224%2C82.4%20L232%2C81.2%20L240%2C79.9%20L248%2C78.7%20L256%2C77.4%20L264%2C76.2%20L272%2C74.9%20L280%2C73.7%20L288%2C72.5%20L296%2C71.4%20L304%2C70.3%20L312%2C69.2%20L320%2C68.2%20L328%2C67.3%20L336%2C66.5%20L344%2C65.7%20L352%2C65.0%20L360%2C64.4%20L368%2C64.0%20L376%2C63.6%20L384%2C63.3%20L392%2C63.1%20L400%2C63.0%20L408%2C63.0%20L416%2C63.2%20L424%2C63.4%20L432%2C63.7%20L440%2C64.2%20L448%2C64.7%20L456%2C65.3%20L464%2C66.0%20L472%2C66.8%20L480%2C67.7%20L488%2C68.7%20L496%2C69.7%20L504%2C70.7%20L512%2C71.9%20L520%2C73.0%20L528%2C74.2%20L536%2C75.5%20L544%2C76.7%20L552%2C78.0%20L560%2C79.2%20L568%2C80.5%20L576%2C81.7%20L584%2C82.9%20L592%2C84.1%20L600%2C85.2%20L608%2C86.3%20L616%2C87.3%20L624%2C88.2%20L632%2C89.1%20L640%2C89.9%20L648%2C90.6%20L656%2C91.3%20L664%2C91.8%20L672%2C92.3%20L680%2C92.6%20L688%2C92.8%20L696%2C93.0%20L704%2C93.0%20L712%2C92.9%20L720%2C92.7%20L728%2C92.5%20L736%2C92.1%20L744%2C91.6%20L752%2C91.0%20L760%2C90.3%20L768%2C89.6%20L776%2C88.7%20L784%2C87.8%20L792%2C86.8%20L800%2C85.8%20L808%2C84.7%20L816%2C83.6%20L824%2C82.4%20L832%2C81.2%20L840%2C79.9%20L848%2C78.7%20L856%2C77.4%20L864%2C76.2%20L872%2C74.9%20L880%2C73.7%20L888%2C72.5%20L896%2C71.4%20L904%2C70.3%20L912%2C69.2%20L920%2C68.2%20L928%2C67.3%20L936%2C66.5%20L944%2C65.7%20L952%2C65.0%20L960%2C64.4%20L968%2C64.0%20L976%2C63.6%20L984%2C63.3%20L992%2C63.1%20L1000%2C63.0%20L1008%2C63.0%20L1016%2C63.2%20L1024%2C63.4%20L1032%2C63.7%20L1040%2C64.2%20L1048%2C64.7%20L1056%2C65.3%20L1064%2C66.0%20L1072%2C66.8%20L1080%2C67.7%20L1088%2C68.7%20L1096%2C69.7%20L1104%2C70.7%20L1112%2C71.9%20L1120%2C73.0%20L1128%2C74.2%20L1136%2C75.5%20L1144%2C76.7%20L1152%2C78.0%20L1160%2C79.2%20L1168%2C80.5%20L1176%2C81.7%20L1184%2C82.9%20L1192%2C84.1%20L1200%2C85.2%22%20fill%3D%22none%22%20stroke%3D%22%231B2745%22%20stroke-opacity%3D%220.17%22%20stroke-width%3D%221.7%22%2F%3E%3Cellipse%20cx%3D%22110%22%20cy%3D%2275.0%22%20rx%3D%228.5%22%20ry%3D%226.3%22%20transform%3D%22rotate%28-22%20110%2075.0%29%22%20fill%3D%22%23EE5A4F%22%2F%3E%3Cline%20x1%3D%22117.6%22%20y1%3D%2273.5%22%20x2%3D%22117.6%22%20y2%3D%2241.0%22%20stroke%3D%22%23EE5A4F%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%22270%22%20cy%3D%2239.2%22%20rx%3D%228.5%22%20ry%3D%226.3%22%20transform%3D%22rotate%28-22%20270%2039.2%29%22%20fill%3D%22%232F5BD0%22%2F%3E%3Cline%20x1%3D%22277.6%22%20y1%3D%2237.7%22%20x2%3D%22277.6%22%20y2%3D%225.2%22%20stroke%3D%22%232F5BD0%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%22430%22%20cy%3D%2254.6%22%20rx%3D%228.5%22%20ry%3D%226.3%22%20transform%3D%22rotate%28-22%20430%2054.6%29%22%20fill%3D%22%23FFB02E%22%2F%3E%3Cline%20x1%3D%22437.6%22%20y1%3D%2253.1%22%20x2%3D%22437.6%22%20y2%3D%2220.6%22%20stroke%3D%22%23FFB02E%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%22690%22%20cy%3D%2265.9%22%20rx%3D%228.5%22%20ry%3D%226.3%22%20transform%3D%22rotate%28-22%20690%2065.9%29%22%20fill%3D%22%23EE5A4F%22%2F%3E%3Cline%20x1%3D%22697.6%22%20y1%3D%2264.4%22%20x2%3D%22697.6%22%20y2%3D%2231.9%22%20stroke%3D%22%23EE5A4F%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%22850%22%20cy%3D%2278.4%22%20rx%3D%228.5%22%20ry%3D%226.3%22%20transform%3D%22rotate%28-22%20850%2078.4%29%22%20fill%3D%22%232F5BD0%22%2F%3E%3Cline%20x1%3D%22857.6%22%20y1%3D%2276.9%22%20x2%3D%22857.6%22%20y2%3D%2244.4%22%20stroke%3D%22%232F5BD0%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%221010%22%20cy%3D%2245.0%22%20rx%3D%228.5%22%20ry%3D%226.3%22%20transform%3D%22rotate%28-22%201010%2045.0%29%22%20fill%3D%22%23FFB02E%22%2F%3E%3Cline%20x1%3D%221017.6%22%20y1%3D%2243.5%22%20x2%3D%221017.6%22%20y2%3D%2211.0%22%20stroke%3D%22%23FFB02E%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%221130%22%20cy%3D%2238.5%22%20rx%3D%228.5%22%20ry%3D%226.3%22%20transform%3D%22rotate%28-22%201130%2038.5%29%22%20fill%3D%22%23EE5A4F%22%2F%3E%3Cline%20x1%3D%221137.6%22%20y1%3D%2237.0%22%20x2%3D%221137.6%22%20y2%3D%224.5%22%20stroke%3D%22%23EE5A4F%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") repeat-x left bottom / 1200px 120px; pointer-events: none;
}
.hero-text {
  padding: 4.25rem 3rem 7rem 5rem; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
}
/* etichette sopra i titoli e statistiche grandi: tolte */
.hero-eyebrow, .section-label, .hero-stats, .highlight-num { display: none; }
.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.7rem); color: var(--ink);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.028em; margin-bottom: 1.5rem;
}
.hero h1 em, .hero h1 strong { font-style: normal; font-weight: inherit; color: inherit; }
.hero-lead { font-size: 1.15rem; color: var(--ink-mid); line-height: 1.65; max-width: 33rem; margin-bottom: 2.1rem; }
.hero-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--saffron); color: var(--ink);
  padding: 0.9rem 1.65rem; border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--ff-display); font-weight: 800; font-size: 1.02rem; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.2s, background 0.15s;
}
.btn-primary:hover { background: #FFC04D; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
  display: inline-flex; align-items: center; color: var(--ink);
  font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem; text-decoration: underline;
  text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 7px;
  transition: text-decoration-color 0.2s;
}
.btn-secondary:hover { text-decoration-color: var(--blue); }
.hero-visual { position: relative; min-height: 100%; }
.hero-visual::before {
  content: ''; position: absolute; inset: 2% -8% 8% 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20700%22%3E%3Cpath%20d%3D%22M400%2040%20C560%2018%20722%20128%20744%20300%20C766%20472%20650%20640%20470%20672%20C290%20704%20108%20622%2068%20440%20C28%20258%20122%2066%20400%2040%20Z%22%20fill%3D%22%23FFD3CB%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}
.hero-img-grid {
  position: absolute; inset: 2.25rem 3rem 7rem 0;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
}
.hero-img-grid div { position: relative; overflow: hidden; border: 3px solid var(--ink); background: var(--peach); }
.hero-img-grid div img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.hero-img-grid div:hover img { transform: scale(1.04); }
.hero-img-grid div:nth-child(1) { grid-column: 1; grid-row: 1 / 3; border-radius: 150px 34px 34px 34px; background: var(--sky); }
.hero-img-grid div:nth-child(2) { grid-column: 2; grid-row: 1; border-radius: 34px 110px 34px 34px; background: var(--saffron-s); }
.hero-img-grid div:nth-child(3) { grid-column: 2; grid-row: 2; border-radius: 34px 34px 110px 34px; background: var(--blush); }

/* =============================================
   BANNERS EVENTI
   ============================================= */
.banner-evento { display: block; text-decoration: none; background: var(--coral-d); color: #fff; transition: filter 0.2s; }
.banner-evento:hover { filter: brightness(1.1); }
.banner-evento-inner { display: flex; align-items: center; gap: 1.25rem; padding: 0.85rem 3rem; }
.banner-icon { font-size: 1.5rem; flex-shrink: 0; }
.banner-text { display: flex; align-items: center; gap: 0.4rem 1.25rem; flex: 1; flex-wrap: wrap; }
.banner-label { font-weight: 700; font-size: 0.82rem; color: var(--ink); background: #fff; padding: 0.2rem 0.75rem; border-radius: 999px; flex-shrink: 0; }
.banner-title { font-family: var(--ff-display); font-size: 1.2rem; color: #fff; font-weight: 800; }
.banner-sub { font-size: 0.95rem; color: rgba(255,255,255,0.94); }
.banner-arrow { font-size: 1.4rem; color: #fff; flex-shrink: 0; transition: transform 0.2s; }
.banner-evento:hover .banner-arrow { transform: translateX(6px); }
.banner-evento-alt { background: var(--saffron); color: var(--ink); }
.banner-evento-purple { background: var(--blue); }
.banner-evento-teal { background: var(--coral-d); }

/* =============================================
   SEZIONI: BASE
   ============================================= */
section { padding: 5.5rem 5rem; position: relative; }
.section-title {
  font-size: clamp(2rem, 3.5vw, 3.05rem); line-height: 1.06; letter-spacing: -0.022em;
  font-weight: 800; color: var(--ink); margin-bottom: 1rem;
}
.section-lead { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.65; max-width: 38rem; }

/* =============================================
   CHI SIAMO
   ============================================= */
.highlights { background: var(--paper); color: var(--ink); }
.highlights .section-lead { color: var(--ink-soft) !important; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.25rem; }
.highlight-card { padding: 1.25rem 0 0; border-top: 4px solid var(--coral); }
.highlight-card:nth-child(2) { border-top-color: var(--saffron); }
.highlight-card:nth-child(3) { border-top-color: var(--blue); }
.highlight-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--ink); }
.highlight-card p { font-size: 1.05rem; line-height: 1.65; color: var(--ink-mid); }

/* =============================================
   PROVA GRATUITA (fascia zafferano)
   ============================================= */
.prova-section {
  background: var(--saffron); color: var(--ink);
  padding: 5rem 5rem; display: flex; align-items: center; justify-content: space-between; gap: 3rem;
}
.prova-section::before, .prova-section::after { content: ''; position: absolute; left: 0; right: 0; height: 40px; pointer-events: none; }
.prova-section::before { top: -1px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20600%2040%22%20width%3D%22600%22%20height%3D%2240%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2C0%20L0%2C20.0%20L5%2C20.5%20L10%2C21.0%20L15%2C21.6%20L20%2C22.1%20L25%2C22.6%20L30%2C23.1%20L35%2C23.6%20L40%2C24.1%20L45%2C24.5%20L50%2C25.0%20L55%2C25.4%20L60%2C25.9%20L65%2C26.3%20L70%2C26.7%20L75%2C27.1%20L80%2C27.4%20L85%2C27.8%20L90%2C28.1%20L95%2C28.4%20L100%2C28.7%20L105%2C28.9%20L110%2C29.1%20L115%2C29.3%20L120%2C29.5%20L125%2C29.7%20L130%2C29.8%20L135%2C29.9%20L140%2C29.9%20L145%2C30.0%20L150%2C30.0%20L155%2C30.0%20L160%2C29.9%20L165%2C29.9%20L170%2C29.8%20L175%2C29.7%20L180%2C29.5%20L185%2C29.3%20L190%2C29.1%20L195%2C28.9%20L200%2C28.7%20L205%2C28.4%20L210%2C28.1%20L215%2C27.8%20L220%2C27.4%20L225%2C27.1%20L230%2C26.7%20L235%2C26.3%20L240%2C25.9%20L245%2C25.4%20L250%2C25.0%20L255%2C24.5%20L260%2C24.1%20L265%2C23.6%20L270%2C23.1%20L275%2C22.6%20L280%2C22.1%20L285%2C21.6%20L290%2C21.0%20L295%2C20.5%20L300%2C20.0%20L305%2C19.5%20L310%2C19.0%20L315%2C18.4%20L320%2C17.9%20L325%2C17.4%20L330%2C16.9%20L335%2C16.4%20L340%2C15.9%20L345%2C15.5%20L350%2C15.0%20L355%2C14.6%20L360%2C14.1%20L365%2C13.7%20L370%2C13.3%20L375%2C12.9%20L380%2C12.6%20L385%2C12.2%20L390%2C11.9%20L395%2C11.6%20L400%2C11.3%20L405%2C11.1%20L410%2C10.9%20L415%2C10.7%20L420%2C10.5%20L425%2C10.3%20L430%2C10.2%20L435%2C10.1%20L440%2C10.1%20L445%2C10.0%20L450%2C10.0%20L455%2C10.0%20L460%2C10.1%20L465%2C10.1%20L470%2C10.2%20L475%2C10.3%20L480%2C10.5%20L485%2C10.7%20L490%2C10.9%20L495%2C11.1%20L500%2C11.3%20L505%2C11.6%20L510%2C11.9%20L515%2C12.2%20L520%2C12.6%20L525%2C12.9%20L530%2C13.3%20L535%2C13.7%20L540%2C14.1%20L545%2C14.6%20L550%2C15.0%20L555%2C15.5%20L560%2C15.9%20L565%2C16.4%20L570%2C16.9%20L575%2C17.4%20L580%2C17.9%20L585%2C18.4%20L590%2C19.0%20L595%2C19.5%20L600%2C20.0%20L600%2C0%20Z%22%20fill%3D%22%23FFE2C6%22%2F%3E%3C%2Fsvg%3E") repeat-x left top / 600px 40px; }
.prova-section::after { bottom: -1px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20600%2040%22%20width%3D%22600%22%20height%3D%2240%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2C40%20L0%2C28.6%20L5%2C28.4%20L10%2C28.1%20L15%2C27.7%20L20%2C27.4%20L25%2C27.0%20L30%2C26.6%20L35%2C26.2%20L40%2C25.8%20L45%2C25.4%20L50%2C25.0%20L55%2C24.5%20L60%2C24.0%20L65%2C23.5%20L70%2C23.0%20L75%2C22.5%20L80%2C22.0%20L85%2C21.5%20L90%2C21.0%20L95%2C20.5%20L100%2C19.9%20L105%2C19.4%20L110%2C18.9%20L115%2C18.4%20L120%2C17.9%20L125%2C17.4%20L130%2C16.9%20L135%2C16.4%20L140%2C15.9%20L145%2C15.4%20L150%2C15.0%20L155%2C14.5%20L160%2C14.1%20L165%2C13.7%20L170%2C13.3%20L175%2C12.9%20L180%2C12.5%20L185%2C12.2%20L190%2C11.9%20L195%2C11.6%20L200%2C11.3%20L205%2C11.1%20L210%2C10.8%20L215%2C10.6%20L220%2C10.5%20L225%2C10.3%20L230%2C10.2%20L235%2C10.1%20L240%2C10.0%20L245%2C10.0%20L250%2C10.0%20L255%2C10.0%20L260%2C10.1%20L265%2C10.1%20L270%2C10.2%20L275%2C10.4%20L280%2C10.5%20L285%2C10.7%20L290%2C10.9%20L295%2C11.1%20L300%2C11.4%20L305%2C11.6%20L310%2C11.9%20L315%2C12.3%20L320%2C12.6%20L325%2C13.0%20L330%2C13.4%20L335%2C13.8%20L340%2C14.2%20L345%2C14.6%20L350%2C15.0%20L355%2C15.5%20L360%2C16.0%20L365%2C16.5%20L370%2C17.0%20L375%2C17.5%20L380%2C18.0%20L385%2C18.5%20L390%2C19.0%20L395%2C19.5%20L400%2C20.1%20L405%2C20.6%20L410%2C21.1%20L415%2C21.6%20L420%2C22.1%20L425%2C22.6%20L430%2C23.1%20L435%2C23.6%20L440%2C24.1%20L445%2C24.6%20L450%2C25.0%20L455%2C25.5%20L460%2C25.9%20L465%2C26.3%20L470%2C26.7%20L475%2C27.1%20L480%2C27.5%20L485%2C27.8%20L490%2C28.1%20L495%2C28.4%20L500%2C28.7%20L505%2C28.9%20L510%2C29.2%20L515%2C29.4%20L520%2C29.5%20L525%2C29.7%20L530%2C29.8%20L535%2C29.9%20L540%2C30.0%20L545%2C30.0%20L550%2C30.0%20L555%2C30.0%20L560%2C29.9%20L565%2C29.9%20L570%2C29.8%20L575%2C29.6%20L580%2C29.5%20L585%2C29.3%20L590%2C29.1%20L595%2C28.9%20L600%2C28.6%20L600%2C40%20Z%22%20fill%3D%22%23E3ECFF%22%2F%3E%3C%2Fsvg%3E") repeat-x left bottom / 600px 40px; }
.prova-section h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; max-width: 540px; color: var(--ink); }
.prova-section p { color: var(--ink); font-size: 1.05rem; line-height: 1.6; max-width: 27rem; margin-top: 0.75rem; }
.prova-form { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: flex-end; flex-shrink: 0; }
.prova-form input, .prova-form select {
  padding: 0.85rem 1.25rem; border: 2px solid var(--ink); background: #fff; border-radius: 999px;
  font-size: 1rem; outline: none; color: var(--ink); transition: box-shadow 0.2s;
}
.prova-form input::placeholder { color: var(--ink-soft); }
.prova-form input:focus, .prova-form select:focus { box-shadow: 0 0 0 4px rgba(47,91,208,0.5); }
.prova-form input { width: 190px; }
.prova-form select:disabled { opacity: 0.5; cursor: not-allowed; }
.prova-form select {
  width: 220px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B2745' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.prova-form select option { background: #fff; color: var(--ink); }
.prova-form select optgroup { background: var(--paper); color: var(--coral-d); font-weight: 800; }
.prova-form button {
  padding: 0.85rem 1.7rem; background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 999px; font-family: var(--ff-display);
  font-size: 1rem; font-weight: 800; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.prova-form button:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

/* =============================================
   OFFERTA / CORSI
   ============================================= */
.offerta { background: var(--paper-2); }
.tabs { display: flex; gap: 0.5rem; margin: 2rem 0 1.75rem; flex-wrap: wrap; }
.tab {
  padding: 0.55rem 1.2rem; border: 2px solid var(--ink); border-radius: 999px; background: transparent;
  color: var(--ink); font-family: var(--ff-display); font-weight: 700; font-size: 0.98rem; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab:hover { background: var(--saffron-s); }
.tab.active { background: var(--ink); color: var(--paper); }
.tab.tab-special { color: var(--coral-d); border-color: var(--coral-d); }
.tab.tab-special:hover { background: var(--blush); }
.tab.tab-special.active { background: var(--coral-d); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.8rem; }
.course-chip {
  padding: 0.95rem 1.1rem 1rem; background: #fff; border: 2px solid var(--line); border-radius: 18px;
  display: flex; flex-direction: column; gap: 0.25rem; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.chip-instrument { font-family: var(--ff-display); font-weight: 800; font-size: 1.08rem; color: var(--ink); line-height: 1.2; }
.chip-instrument::before {
  content: ''; display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.45rem; vertical-align: -0.14em;
  background: var(--coral); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4 20 2v11.5a3 3 0 1 1-2-2.8V6.2L10 7.9v7.6a3 3 0 1 1-2-2.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4 20 2v11.5a3 3 0 1 1-2-2.8V6.2L10 7.9v7.6a3 3 0 1 1-2-2.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.course-chip:nth-child(3n+2) .chip-instrument::before { background: var(--blue); }
.course-chip:nth-child(3n+3) .chip-instrument::before { background: #E8920A; }
.chip-teacher { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; }
.chip-cta { font-weight: 700; font-size: 0.86rem; color: var(--blue-d); margin-top: 0.3rem; }
.course-chip:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* =============================================
   TARIFFE
   ============================================= */
.tariffe { background: var(--peach); display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem 4.5rem; align-items: center; padding: 4.5rem 5rem 6rem; }
.tariffe .section-lead { margin-bottom: 1.75rem; }
.tariffe-list { list-style: none; }
.tariffe-list li { padding: 1rem 0; border-top: 2px solid var(--ink); font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.tariffe-list li:last-child { border-bottom: 2px solid var(--ink); }

/* =============================================
   PICKER MULTI-DOCENTE
   ============================================= */
.picker-overlay { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(27,39,69,0.72); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 2rem; }
.picker-overlay.open { display: flex; }
.picker-box { background: var(--paper); border: 2px solid var(--ink); border-radius: 26px; padding: 2rem; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); }
.picker-title { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 800; color: var(--ink); margin-bottom: 0.3rem; }
.picker-sub { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.picker-list { display: flex; flex-direction: column; gap: 0.6rem; }
.picker-btn { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0.9rem; background: #fff; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color 0.15s, background 0.15s; width: 100%; text-align: left; }
.picker-btn:hover { border-color: var(--ink); background: var(--saffron-s); }
.picker-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--ink); }
.picker-btn-name { font-family: var(--ff-display); font-size: 1rem; font-weight: 800; color: var(--ink); }
.picker-btn-role { font-size: 0.86rem; color: var(--ink-soft); }
.picker-close { margin-top: 1rem; width: 100%; padding: 0.7rem; background: transparent; border: 2px solid var(--ink); border-radius: 999px; font-size: 0.95rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s; }
.picker-close:hover { background: var(--ink); color: var(--paper); }

/* =============================================
   ENSEMBLE / COLLETTIVI
   ============================================= */
.ensemble-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.ensemble-card { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 1.5rem; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.ensemble-card:nth-child(3n+1) { background: #FFF0EC; }
.ensemble-card:nth-child(3n+2) { background: #FFF5DD; }
.ensemble-card:nth-child(3n+3) { background: #ECF2FF; }
.ensemble-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ensemble-card h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.35rem; color: var(--ink); }
.ensemble-card p { font-size: 0.98rem; color: var(--ink-mid); line-height: 1.6; }
.ensemble-card p.card-teacher { font-size: 0.92rem; color: var(--coral-d); font-weight: 800; margin-bottom: 0.35rem; }

/* =============================================
   MUSICOTERAPIA
   ============================================= */
.musicoterapia-hero { background: linear-gradient(135deg, var(--blush) 0%, var(--saffron-s) 100%); border: 2px solid var(--ink); border-radius: 30px; padding: 2.5rem; }
.mt-header { margin-bottom: 2rem; }
.mt-badge { display: inline-block; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 0.85rem; padding: 0.3rem 0.95rem; border-radius: 999px; margin-bottom: 0.9rem; }
.mt-header h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.25rem; }
.mt-teacher { font-size: 1rem; color: var(--ink-mid); margin-bottom: 1rem; }
.mt-teacher strong { color: var(--ink); font-weight: 800; }
.mt-intro { font-size: 1.05rem; line-height: 1.7; color: var(--ink-mid); max-width: 44rem; }
.mt-vantaggi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; margin-top: 2rem; }
.mt-vantaggio { border-top: 2px solid var(--ink); padding: 1rem 0.25rem 0.5rem; }
.mt-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.mt-vantaggio h4 { font-size: 1.02rem; font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; }
.mt-vantaggio p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.6; }
.mt-percorsi { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.mt-percorso { border-top: 2px solid var(--ink); padding: 1.1rem 0.25rem 0.5rem; }
.mt-percorso h4 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; }
.mt-percorso p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.mt-costo { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 800; color: var(--coral-d); margin-top: 0.6rem; }
.mt-footer { border-top: 2px dashed rgba(27,39,69,0.25); padding-top: 1.5rem; margin-top: 1.5rem; }
.mt-footer p { font-size: 1rem; color: var(--ink-mid); line-height: 1.7; }

/* =============================================
   SEDI
   ============================================= */
.sedi { background: var(--sky); }
.sedi-grid { display: block; margin-top: 2.25rem; border-top: 2px solid var(--ink); }
.sede-card {
  display: grid; grid-template-columns: 2rem minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.2fr) auto;
  column-gap: 1.75rem; align-items: start; padding: 1.4rem 1rem; cursor: pointer;
  border-bottom: 1px solid rgba(27,39,69,0.28); transition: background 0.2s;
}
.sede-card:hover { background: rgba(255,255,255,0.7); }
.sede-pin { grid-column: 1; grid-row: 1 / span 3; align-self: start; width: 24px; height: 24px; background: var(--coral); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin: 0.35rem 0 0 0.2rem; position: relative; }
.sede-pin::after { content: ''; position: absolute; width: 9px; height: 9px; background: var(--paper); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sede-card:nth-child(3n+2) .sede-pin { background: var(--blue); }
.sede-card:nth-child(3n+3) .sede-pin { background: var(--saffron); }
.sede-card h3 { grid-column: 2; grid-row: 1; font-size: 1.3rem; font-weight: 800; margin-bottom: 0.15rem; color: var(--ink); }
.sede-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }
.sede-card > p:not([class]) { grid-column: 2; grid-row: 2; }
.sede-card .sede-sottosedi { grid-column: 2; grid-row: 3; font-size: 0.88rem; color: var(--ink-soft); font-weight: 700; margin-top: 0.2rem; }
.sede-card .sede-indirizzo { grid-column: 3; grid-row: 1 / span 3; font-size: 0.95rem; color: var(--ink); line-height: 1.45; }
.sede-card .sede-strumenti { grid-column: 4; grid-row: 1 / span 3; font-size: 0.95rem; color: var(--blue-d); font-weight: 700; line-height: 1.5; }
.sede-card-cta { grid-column: 5; grid-row: 1 / span 3; align-self: center; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-family: var(--ff-display); font-size: 0.98rem; font-weight: 800; color: var(--coral-d); }
.sede-card:hover .sede-card-cta { text-decoration: underline; text-underline-offset: 4px; }

/* =============================================
   FINESTRE (modali): sede, docente, organo, galleria
   ============================================= */
.sede-modal-overlay, .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(27,39,69,0.74); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 1.5rem; }
.sede-modal-overlay { z-index: 300; }
.modal-overlay { z-index: 400; }
.sede-modal-overlay.open, .modal-overlay.open { display: flex; }
.sede-modal, .modal {
  position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 26px;
  width: 100%; max-height: 88vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.sede-modal { max-width: 720px; }
.modal { max-width: 700px; }
.sede-modal-header, .modal-header {
  background: var(--saffron); padding: 1.5rem 1.75rem; display: flex; gap: 1.1rem; flex-shrink: 0;
  border-bottom: 2px solid var(--ink);
}
.sede-modal-header { align-items: flex-start; justify-content: space-between; }
.modal-header { align-items: center; }
.sede-modal-header h2, .modal-header-text h2 { font-size: 1.45rem; color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
.sede-modal-header p, .modal-header-text p { font-size: 0.92rem; color: var(--ink-mid); margin-top: 4px; font-weight: 700; }
.modal-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); flex-shrink: 0; background: var(--paper); }
.sede-modal-close, .modal-close {
  background: var(--ink); color: var(--paper); border: none; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; cursor: pointer; flex-shrink: 0; transition: background 0.2s, transform 0.15s;
}
.modal-close { margin-left: auto; }
.sede-modal-close:hover, .modal-close:hover { background: var(--coral-d); transform: rotate(90deg); }
.sede-modal-body { padding: 1.5rem 1.75rem 1.75rem; overflow-y: auto; }
.modal-body { padding: 1.75rem; overflow-y: auto; font-size: 1rem; line-height: 1.75; color: var(--ink-mid); }
.modal-body p + p { margin-top: 1rem; }
.modal-body strong { font-weight: 800; color: var(--ink); }
.giorni-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-bottom: 1.25rem; }
.giorno-col { background: var(--sky); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.giorno-header { background: var(--ink); color: var(--saffron); font-family: var(--ff-display); font-size: 0.85rem; font-weight: 800; text-align: center; padding: 0.45rem 0.25rem; }
.giorno-body { padding: 0.5rem; display: flex; flex-direction: column; gap: 0.4rem; min-height: 60px; }
.giorno-lesson { position: relative; background: #fff; border-radius: 8px; padding: 0.4rem 0.5rem 0.4rem 1.05rem; font-size: 0.82rem; line-height: 1.35; box-shadow: inset 0 0 0 1px var(--line); }
.giorno-lesson::before { content: ''; position: absolute; left: 0.45rem; top: 0.62rem; width: 0.38rem; height: 0.38rem; border-radius: 50%; background: var(--coral); }
.giorno-lesson .lesson-teacher { font-weight: 800; color: var(--ink); overflow-wrap: anywhere; hyphens: auto; }
.giorno-lesson .lesson-teacher-link { background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; overflow-wrap: anywhere; text-decoration: underline dotted; text-underline-offset: 3px; }
.giorno-lesson .lesson-teacher-link:hover, .giorno-lesson .lesson-teacher-link:focus-visible { color: var(--coral); text-decoration-style: solid; }
.giorno-lesson .lesson-instrument { color: var(--ink-soft); font-size: 0.8rem; }
.giorno-empty { color: var(--ink-soft); font-size: 0.85rem; text-align: center; padding: 0.5rem 0; opacity: 0.6; }

/* =============================================
   DOCENTI
   ============================================= */
.docenti { background: var(--ink); color: var(--paper); isolation: isolate; }
.docenti::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20120%22%20width%3D%221200%22%20height%3D%22120%22%3E%3Cpath%20d%3D%22M0%2C49.2%20L8%2C50.3%20L16%2C51.3%20L24%2C52.2%20L32%2C53.1%20L40%2C53.9%20L48%2C54.6%20L56%2C55.3%20L64%2C55.8%20L72%2C56.3%20L80%2C56.6%20L88%2C56.8%20L96%2C57.0%20L104%2C57.0%20L112%2C56.9%20L120%2C56.7%20L128%2C56.5%20L136%2C56.1%20L144%2C55.6%20L152%2C55.0%20L160%2C54.3%20L168%2C53.6%20L176%2C52.7%20L184%2C51.8%20L192%2C50.8%20L200%2C49.8%20L208%2C48.7%20L216%2C47.6%20L224%2C46.4%20L232%2C45.2%20L240%2C43.9%20L248%2C42.7%20L256%2C41.4%20L264%2C40.2%20L272%2C38.9%20L280%2C37.7%20L288%2C36.5%20L296%2C35.4%20L304%2C34.3%20L312%2C33.2%20L320%2C32.2%20L328%2C31.3%20L336%2C30.5%20L344%2C29.7%20L352%2C29.0%20L360%2C28.4%20L368%2C28.0%20L376%2C27.6%20L384%2C27.3%20L392%2C27.1%20L400%2C27.0%20L408%2C27.0%20L416%2C27.2%20L424%2C27.4%20L432%2C27.7%20L440%2C28.2%20L448%2C28.7%20L456%2C29.3%20L464%2C30.0%20L472%2C30.8%20L480%2C31.7%20L488%2C32.7%20L496%2C33.7%20L504%2C34.7%20L512%2C35.9%20L520%2C37.0%20L528%2C38.2%20L536%2C39.5%20L544%2C40.7%20L552%2C42.0%20L560%2C43.2%20L568%2C44.5%20L576%2C45.7%20L584%2C46.9%20L592%2C48.1%20L600%2C49.2%20L608%2C50.3%20L616%2C51.3%20L624%2C52.2%20L632%2C53.1%20L640%2C53.9%20L648%2C54.6%20L656%2C55.3%20L664%2C55.8%20L672%2C56.3%20L680%2C56.6%20L688%2C56.8%20L696%2C57.0%20L704%2C57.0%20L712%2C56.9%20L720%2C56.7%20L728%2C56.5%20L736%2C56.1%20L744%2C55.6%20L752%2C55.0%20L760%2C54.3%20L768%2C53.6%20L776%2C52.7%20L784%2C51.8%20L792%2C50.8%20L800%2C49.8%20L808%2C48.7%20L816%2C47.6%20L824%2C46.4%20L832%2C45.2%20L840%2C43.9%20L848%2C42.7%20L856%2C41.4%20L864%2C40.2%20L872%2C38.9%20L880%2C37.7%20L888%2C36.5%20L896%2C35.4%20L904%2C34.3%20L912%2C33.2%20L920%2C32.2%20L928%2C31.3%20L936%2C30.5%20L944%2C29.7%20L952%2C29.0%20L960%2C28.4%20L968%2C28.0%20L976%2C27.6%20L984%2C27.3%20L992%2C27.1%20L1000%2C27.0%20L1008%2C27.0%20L1016%2C27.2%20L1024%2C27.4%20L1032%2C27.7%20L1040%2C28.2%20L1048%2C28.7%20L1056%2C29.3%20L1064%2C30.0%20L1072%2C30.8%20L1080%2C31.7%20L1088%2C32.7%20L1096%2C33.7%20L1104%2C34.7%20L1112%2C35.9%20L1120%2C37.0%20L1128%2C38.2%20L1136%2C39.5%20L1144%2C40.7%20L1152%2C42.0%20L1160%2C43.2%20L1168%2C44.5%20L1176%2C45.7%20L1184%2C46.9%20L1192%2C48.1%20L1200%2C49.2%22%20fill%3D%22none%22%20stroke%3D%22%23FFF6E8%22%20stroke-opacity%3D%220.13%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C58.2%20L8%2C59.3%20L16%2C60.3%20L24%2C61.2%20L32%2C62.1%20L40%2C62.9%20L48%2C63.6%20L56%2C64.3%20L64%2C64.8%20L72%2C65.3%20L80%2C65.6%20L88%2C65.8%20L96%2C66.0%20L104%2C66.0%20L112%2C65.9%20L120%2C65.7%20L128%2C65.5%20L136%2C65.1%20L144%2C64.6%20L152%2C64.0%20L160%2C63.3%20L168%2C62.6%20L176%2C61.7%20L184%2C60.8%20L192%2C59.8%20L200%2C58.8%20L208%2C57.7%20L216%2C56.6%20L224%2C55.4%20L232%2C54.2%20L240%2C52.9%20L248%2C51.7%20L256%2C50.4%20L264%2C49.2%20L272%2C47.9%20L280%2C46.7%20L288%2C45.5%20L296%2C44.4%20L304%2C43.3%20L312%2C42.2%20L320%2C41.2%20L328%2C40.3%20L336%2C39.5%20L344%2C38.7%20L352%2C38.0%20L360%2C37.4%20L368%2C37.0%20L376%2C36.6%20L384%2C36.3%20L392%2C36.1%20L400%2C36.0%20L408%2C36.0%20L416%2C36.2%20L424%2C36.4%20L432%2C36.7%20L440%2C37.2%20L448%2C37.7%20L456%2C38.3%20L464%2C39.0%20L472%2C39.8%20L480%2C40.7%20L488%2C41.7%20L496%2C42.7%20L504%2C43.7%20L512%2C44.9%20L520%2C46.0%20L528%2C47.2%20L536%2C48.5%20L544%2C49.7%20L552%2C51.0%20L560%2C52.2%20L568%2C53.5%20L576%2C54.7%20L584%2C55.9%20L592%2C57.1%20L600%2C58.2%20L608%2C59.3%20L616%2C60.3%20L624%2C61.2%20L632%2C62.1%20L640%2C62.9%20L648%2C63.6%20L656%2C64.3%20L664%2C64.8%20L672%2C65.3%20L680%2C65.6%20L688%2C65.8%20L696%2C66.0%20L704%2C66.0%20L712%2C65.9%20L720%2C65.7%20L728%2C65.5%20L736%2C65.1%20L744%2C64.6%20L752%2C64.0%20L760%2C63.3%20L768%2C62.6%20L776%2C61.7%20L784%2C60.8%20L792%2C59.8%20L800%2C58.8%20L808%2C57.7%20L816%2C56.6%20L824%2C55.4%20L832%2C54.2%20L840%2C52.9%20L848%2C51.7%20L856%2C50.4%20L864%2C49.2%20L872%2C47.9%20L880%2C46.7%20L888%2C45.5%20L896%2C44.4%20L904%2C43.3%20L912%2C42.2%20L920%2C41.2%20L928%2C40.3%20L936%2C39.5%20L944%2C38.7%20L952%2C38.0%20L960%2C37.4%20L968%2C37.0%20L976%2C36.6%20L984%2C36.3%20L992%2C36.1%20L1000%2C36.0%20L1008%2C36.0%20L1016%2C36.2%20L1024%2C36.4%20L1032%2C36.7%20L1040%2C37.2%20L1048%2C37.7%20L1056%2C38.3%20L1064%2C39.0%20L1072%2C39.8%20L1080%2C40.7%20L1088%2C41.7%20L1096%2C42.7%20L1104%2C43.7%20L1112%2C44.9%20L1120%2C46.0%20L1128%2C47.2%20L1136%2C48.5%20L1144%2C49.7%20L1152%2C51.0%20L1160%2C52.2%20L1168%2C53.5%20L1176%2C54.7%20L1184%2C55.9%20L1192%2C57.1%20L1200%2C58.2%22%20fill%3D%22none%22%20stroke%3D%22%23FFF6E8%22%20stroke-opacity%3D%220.13%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C67.2%20L8%2C68.3%20L16%2C69.3%20L24%2C70.2%20L32%2C71.1%20L40%2C71.9%20L48%2C72.6%20L56%2C73.3%20L64%2C73.8%20L72%2C74.3%20L80%2C74.6%20L88%2C74.8%20L96%2C75.0%20L104%2C75.0%20L112%2C74.9%20L120%2C74.7%20L128%2C74.5%20L136%2C74.1%20L144%2C73.6%20L152%2C73.0%20L160%2C72.3%20L168%2C71.6%20L176%2C70.7%20L184%2C69.8%20L192%2C68.8%20L200%2C67.8%20L208%2C66.7%20L216%2C65.6%20L224%2C64.4%20L232%2C63.2%20L240%2C61.9%20L248%2C60.7%20L256%2C59.4%20L264%2C58.2%20L272%2C56.9%20L280%2C55.7%20L288%2C54.5%20L296%2C53.4%20L304%2C52.3%20L312%2C51.2%20L320%2C50.2%20L328%2C49.3%20L336%2C48.5%20L344%2C47.7%20L352%2C47.0%20L360%2C46.4%20L368%2C46.0%20L376%2C45.6%20L384%2C45.3%20L392%2C45.1%20L400%2C45.0%20L408%2C45.0%20L416%2C45.2%20L424%2C45.4%20L432%2C45.7%20L440%2C46.2%20L448%2C46.7%20L456%2C47.3%20L464%2C48.0%20L472%2C48.8%20L480%2C49.7%20L488%2C50.7%20L496%2C51.7%20L504%2C52.7%20L512%2C53.9%20L520%2C55.0%20L528%2C56.2%20L536%2C57.5%20L544%2C58.7%20L552%2C60.0%20L560%2C61.2%20L568%2C62.5%20L576%2C63.7%20L584%2C64.9%20L592%2C66.1%20L600%2C67.2%20L608%2C68.3%20L616%2C69.3%20L624%2C70.2%20L632%2C71.1%20L640%2C71.9%20L648%2C72.6%20L656%2C73.3%20L664%2C73.8%20L672%2C74.3%20L680%2C74.6%20L688%2C74.8%20L696%2C75.0%20L704%2C75.0%20L712%2C74.9%20L720%2C74.7%20L728%2C74.5%20L736%2C74.1%20L744%2C73.6%20L752%2C73.0%20L760%2C72.3%20L768%2C71.6%20L776%2C70.7%20L784%2C69.8%20L792%2C68.8%20L800%2C67.8%20L808%2C66.7%20L816%2C65.6%20L824%2C64.4%20L832%2C63.2%20L840%2C61.9%20L848%2C60.7%20L856%2C59.4%20L864%2C58.2%20L872%2C56.9%20L880%2C55.7%20L888%2C54.5%20L896%2C53.4%20L904%2C52.3%20L912%2C51.2%20L920%2C50.2%20L928%2C49.3%20L936%2C48.5%20L944%2C47.7%20L952%2C47.0%20L960%2C46.4%20L968%2C46.0%20L976%2C45.6%20L984%2C45.3%20L992%2C45.1%20L1000%2C45.0%20L1008%2C45.0%20L1016%2C45.2%20L1024%2C45.4%20L1032%2C45.7%20L1040%2C46.2%20L1048%2C46.7%20L1056%2C47.3%20L1064%2C48.0%20L1072%2C48.8%20L1080%2C49.7%20L1088%2C50.7%20L1096%2C51.7%20L1104%2C52.7%20L1112%2C53.9%20L1120%2C55.0%20L1128%2C56.2%20L1136%2C57.5%20L1144%2C58.7%20L1152%2C60.0%20L1160%2C61.2%20L1168%2C62.5%20L1176%2C63.7%20L1184%2C64.9%20L1192%2C66.1%20L1200%2C67.2%22%20fill%3D%22none%22%20stroke%3D%22%23FFF6E8%22%20stroke-opacity%3D%220.13%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C76.2%20L8%2C77.3%20L16%2C78.3%20L24%2C79.2%20L32%2C80.1%20L40%2C80.9%20L48%2C81.6%20L56%2C82.3%20L64%2C82.8%20L72%2C83.3%20L80%2C83.6%20L88%2C83.8%20L96%2C84.0%20L104%2C84.0%20L112%2C83.9%20L120%2C83.7%20L128%2C83.5%20L136%2C83.1%20L144%2C82.6%20L152%2C82.0%20L160%2C81.3%20L168%2C80.6%20L176%2C79.7%20L184%2C78.8%20L192%2C77.8%20L200%2C76.8%20L208%2C75.7%20L216%2C74.6%20L224%2C73.4%20L232%2C72.2%20L240%2C70.9%20L248%2C69.7%20L256%2C68.4%20L264%2C67.2%20L272%2C65.9%20L280%2C64.7%20L288%2C63.5%20L296%2C62.4%20L304%2C61.3%20L312%2C60.2%20L320%2C59.2%20L328%2C58.3%20L336%2C57.5%20L344%2C56.7%20L352%2C56.0%20L360%2C55.4%20L368%2C55.0%20L376%2C54.6%20L384%2C54.3%20L392%2C54.1%20L400%2C54.0%20L408%2C54.0%20L416%2C54.2%20L424%2C54.4%20L432%2C54.7%20L440%2C55.2%20L448%2C55.7%20L456%2C56.3%20L464%2C57.0%20L472%2C57.8%20L480%2C58.7%20L488%2C59.7%20L496%2C60.7%20L504%2C61.7%20L512%2C62.9%20L520%2C64.0%20L528%2C65.2%20L536%2C66.5%20L544%2C67.7%20L552%2C69.0%20L560%2C70.2%20L568%2C71.5%20L576%2C72.7%20L584%2C73.9%20L592%2C75.1%20L600%2C76.2%20L608%2C77.3%20L616%2C78.3%20L624%2C79.2%20L632%2C80.1%20L640%2C80.9%20L648%2C81.6%20L656%2C82.3%20L664%2C82.8%20L672%2C83.3%20L680%2C83.6%20L688%2C83.8%20L696%2C84.0%20L704%2C84.0%20L712%2C83.9%20L720%2C83.7%20L728%2C83.5%20L736%2C83.1%20L744%2C82.6%20L752%2C82.0%20L760%2C81.3%20L768%2C80.6%20L776%2C79.7%20L784%2C78.8%20L792%2C77.8%20L800%2C76.8%20L808%2C75.7%20L816%2C74.6%20L824%2C73.4%20L832%2C72.2%20L840%2C70.9%20L848%2C69.7%20L856%2C68.4%20L864%2C67.2%20L872%2C65.9%20L880%2C64.7%20L888%2C63.5%20L896%2C62.4%20L904%2C61.3%20L912%2C60.2%20L920%2C59.2%20L928%2C58.3%20L936%2C57.5%20L944%2C56.7%20L952%2C56.0%20L960%2C55.4%20L968%2C55.0%20L976%2C54.6%20L984%2C54.3%20L992%2C54.1%20L1000%2C54.0%20L1008%2C54.0%20L1016%2C54.2%20L1024%2C54.4%20L1032%2C54.7%20L1040%2C55.2%20L1048%2C55.7%20L1056%2C56.3%20L1064%2C57.0%20L1072%2C57.8%20L1080%2C58.7%20L1088%2C59.7%20L1096%2C60.7%20L1104%2C61.7%20L1112%2C62.9%20L1120%2C64.0%20L1128%2C65.2%20L1136%2C66.5%20L1144%2C67.7%20L1152%2C69.0%20L1160%2C70.2%20L1168%2C71.5%20L1176%2C72.7%20L1184%2C73.9%20L1192%2C75.1%20L1200%2C76.2%22%20fill%3D%22none%22%20stroke%3D%22%23FFF6E8%22%20stroke-opacity%3D%220.13%22%20stroke-width%3D%221.7%22%2F%3E%3Cpath%20d%3D%22M0%2C85.2%20L8%2C86.3%20L16%2C87.3%20L24%2C88.2%20L32%2C89.1%20L40%2C89.9%20L48%2C90.6%20L56%2C91.3%20L64%2C91.8%20L72%2C92.3%20L80%2C92.6%20L88%2C92.8%20L96%2C93.0%20L104%2C93.0%20L112%2C92.9%20L120%2C92.7%20L128%2C92.5%20L136%2C92.1%20L144%2C91.6%20L152%2C91.0%20L160%2C90.3%20L168%2C89.6%20L176%2C88.7%20L184%2C87.8%20L192%2C86.8%20L200%2C85.8%20L208%2C84.7%20L216%2C83.6%20L224%2C82.4%20L232%2C81.2%20L240%2C79.9%20L248%2C78.7%20L256%2C77.4%20L264%2C76.2%20L272%2C74.9%20L280%2C73.7%20L288%2C72.5%20L296%2C71.4%20L304%2C70.3%20L312%2C69.2%20L320%2C68.2%20L328%2C67.3%20L336%2C66.5%20L344%2C65.7%20L352%2C65.0%20L360%2C64.4%20L368%2C64.0%20L376%2C63.6%20L384%2C63.3%20L392%2C63.1%20L400%2C63.0%20L408%2C63.0%20L416%2C63.2%20L424%2C63.4%20L432%2C63.7%20L440%2C64.2%20L448%2C64.7%20L456%2C65.3%20L464%2C66.0%20L472%2C66.8%20L480%2C67.7%20L488%2C68.7%20L496%2C69.7%20L504%2C70.7%20L512%2C71.9%20L520%2C73.0%20L528%2C74.2%20L536%2C75.5%20L544%2C76.7%20L552%2C78.0%20L560%2C79.2%20L568%2C80.5%20L576%2C81.7%20L584%2C82.9%20L592%2C84.1%20L600%2C85.2%20L608%2C86.3%20L616%2C87.3%20L624%2C88.2%20L632%2C89.1%20L640%2C89.9%20L648%2C90.6%20L656%2C91.3%20L664%2C91.8%20L672%2C92.3%20L680%2C92.6%20L688%2C92.8%20L696%2C93.0%20L704%2C93.0%20L712%2C92.9%20L720%2C92.7%20L728%2C92.5%20L736%2C92.1%20L744%2C91.6%20L752%2C91.0%20L760%2C90.3%20L768%2C89.6%20L776%2C88.7%20L784%2C87.8%20L792%2C86.8%20L800%2C85.8%20L808%2C84.7%20L816%2C83.6%20L824%2C82.4%20L832%2C81.2%20L840%2C79.9%20L848%2C78.7%20L856%2C77.4%20L864%2C76.2%20L872%2C74.9%20L880%2C73.7%20L888%2C72.5%20L896%2C71.4%20L904%2C70.3%20L912%2C69.2%20L920%2C68.2%20L928%2C67.3%20L936%2C66.5%20L944%2C65.7%20L952%2C65.0%20L960%2C64.4%20L968%2C64.0%20L976%2C63.6%20L984%2C63.3%20L992%2C63.1%20L1000%2C63.0%20L1008%2C63.0%20L1016%2C63.2%20L1024%2C63.4%20L1032%2C63.7%20L1040%2C64.2%20L1048%2C64.7%20L1056%2C65.3%20L1064%2C66.0%20L1072%2C66.8%20L1080%2C67.7%20L1088%2C68.7%20L1096%2C69.7%20L1104%2C70.7%20L1112%2C71.9%20L1120%2C73.0%20L1128%2C74.2%20L1136%2C75.5%20L1144%2C76.7%20L1152%2C78.0%20L1160%2C79.2%20L1168%2C80.5%20L1176%2C81.7%20L1184%2C82.9%20L1192%2C84.1%20L1200%2C85.2%22%20fill%3D%22none%22%20stroke%3D%22%23FFF6E8%22%20stroke-opacity%3D%220.13%22%20stroke-width%3D%221.7%22%2F%3E%3C%2Fsvg%3E") repeat-x left top / 1200px 120px; pointer-events: none;
}
.docenti .section-title { color: var(--paper); }
.docenti .section-lead { color: rgba(255,246,232,0.84); }
.docenti-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.15rem; margin-top: 2.5rem; }
.docente-card { position: relative; overflow: hidden; border-radius: 22px; border: 2px solid rgba(255,246,232,0.28); cursor: default; background: var(--ink-2); }
.docente-photo { aspect-ratio: 3/4; background: var(--ink-2); position: relative; overflow: hidden; }
.docente-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.docente-card:hover .docente-photo img { transform: scale(1.04); }
.docente-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,39,69,0.96) 0%, rgba(27,39,69,0.6) 36%, transparent 68%); pointer-events: none; z-index: 1; }
.docente-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; z-index: 2; }
.docente-info h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.2; color: #fff; }
.docente-info p { font-size: 0.88rem; color: var(--saffron); margin-top: 2px; font-weight: 700; }
.btn-cv, .btn-sedi {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 0.55rem; font-family: var(--ff-display);
  font-size: 0.82rem; font-weight: 700; color: #fff; background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.6); padding: 0.3rem 0.8rem; min-height: 30px; border-radius: 999px; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-sedi { margin-left: 0.3rem; }
.btn-cv:hover, .btn-sedi:hover { background: var(--saffron); color: var(--ink); border-color: var(--saffron); }

/* =============================================
   ORGANO DIRETTIVO (dentro la finestra)
   ============================================= */
.organo-table { border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.organo-header { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 0.8rem 1.4rem; background: var(--ink); color: var(--saffron); font-family: var(--ff-display); font-size: 0.9rem; font-weight: 700; }
.organo-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 0.8rem 1.4rem; border-top: 1px solid var(--line); background: #fff; transition: background 0.15s; }
.organo-row:hover { background: var(--saffron-s); }
.organo-name { font-size: 0.98rem; font-weight: 800; color: var(--ink); }
.organo-carica { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.organo-carica--presidente { color: var(--coral-d); font-weight: 800; }
.organo-carica--vice { color: var(--blue-d); font-weight: 800; }
.organo-carica--segretario { color: var(--saffron-d); font-weight: 800; }
.organo-sede { font-size: 0.92rem; color: var(--ink-soft); }
.organo-sede--none { opacity: 0.4; }

/* =============================================
   TESTIMONIANZE
   ============================================= */
.testimonianze { background: var(--blush); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.25rem; }
.testi-card { padding: 1.25rem 0 0; border-top: 4px solid var(--coral); }
.testi-card:nth-child(2) { border-top-color: var(--blue); }
.testi-card:nth-child(3) { border-top-color: #E8920A; }
.testi-quote { font-family: var(--ff-display); font-size: 3.5rem; font-weight: 900; color: var(--coral); line-height: 0.7; margin-bottom: 0.9rem; }
.testi-card:nth-child(2) .testi-quote { color: var(--blue); }
.testi-card:nth-child(3) .testi-quote { color: #E8920A; }
.testi-text { font-size: 1.15rem; line-height: 1.7; color: var(--ink); }
.testi-author { margin-top: 1.1rem; font-weight: 800; font-size: 0.95rem; color: var(--ink-soft); }
.testi-author::before { content: '\2014  '; }

/* =============================================
   CONVENZIONI + FOOTER
   ============================================= */
.convenzioni { background: var(--peach); padding: 1.5rem 5rem; border-top: 2px solid var(--ink); }
.conv-inner { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.conv-label { font-size: 0.95rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.conv-logos { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.conv-logo { font-size: 0.98rem; color: var(--ink-mid); font-weight: 700; }

footer { background: var(--ink); color: var(--paper); padding: 4rem 5rem 2.25rem; border-top: 6px solid var(--saffron); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand-name { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 800; color: var(--paper); margin-bottom: 0.75rem; }
.footer-brand-name span { color: var(--saffron); font-style: normal; }
.footer-brand p { font-size: 0.98rem; color: rgba(255,246,232,0.8); line-height: 1.65; }
footer .footer-brand a[style] { color: rgba(255,246,232,0.88) !important; font-weight: 600 !important; }
footer h4 { font-size: 1.05rem; font-weight: 800; color: var(--saffron); margin-bottom: 1rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
footer ul li a { text-decoration: none; font-size: 0.98rem; color: rgba(255,246,232,0.86); transition: color 0.2s; }
footer ul li a:hover { color: var(--saffron); }
.footer-bottom { border-top: 1px solid rgba(255,246,232,0.2); padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom span { font-size: 0.88rem; color: rgba(255,246,232,0.72); }
.footer-bottom a { color: rgba(255,246,232,0.72); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--saffron); }
.footer-social { display: flex; gap: 1rem; margin-top: 1.1rem; }
.footer-social a { color: rgba(255,246,232,0.86); text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.footer-social a:hover { color: var(--saffron); }

/* =============================================
   SUPERFICI DEL BROWSER E RIFINITURE
   ============================================= */
::selection { background: var(--saffron); color: var(--ink); }
input, select, textarea { caret-color: var(--blue); accent-color: var(--coral); }
h1, h2, h3, h4 { text-wrap: balance; }
p, .section-lead, .hero-lead { text-wrap: pretty; }
.mt-costo { font-variant-numeric: lining-nums tabular-nums; }
@media (pointer: coarse) {
  .tab { min-height: 44px; }
  .btn-cv, .btn-sedi { min-height: 40px; padding: 0.4rem 0.9rem; }
  footer ul li a, .footer-social a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-dropdown a { padding: 0.8rem 0.9rem; }
  .banner-iscrizioni-cta { padding: 0.5rem 1.1rem; }
  .btn-secondary { min-height: 44px; }
}

/* =============================================
   MOVIMENTO
   Niente comparse al scroll: contenuti sempre visibili.
   Un solo momento orchestrato all'apertura della pagina.
   ============================================= */
.fade-up { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-lead, .hero-actions { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1 { animation-delay: 0.08s; }
  .hero-lead { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  .hero-img-grid div { animation: pop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-img-grid div:nth-child(2) { animation-delay: 0.12s; }
  .hero-img-grid div:nth-child(3) { animation-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero-lead, .hero-actions, .hero-img-grid div { animation: none; }
  .course-chip:hover, .ensemble-card:hover, .sede-card:hover, .btn-primary:hover, .btn-primary:active,
  .hero-img-grid div:hover img, .docente-card:hover .docente-photo img, .prova-form button:hover { transform: none; }
  .banner-evento:hover .banner-arrow, .sede-modal-close:hover, .modal-close:hover { transform: none; }
  .nav-dropdown { transition: opacity 0.12s linear; transform: translate(-50%, 0); }
  .nav-links > li:last-child .nav-dropdown { transform: none; }
}

/* =============================================
   RESPONSIVE – 1200px
   ============================================= */
@media (max-width: 1200px) {
  .prova-section { flex-direction: column; align-items: flex-start; }
  .prova-section h2 { max-width: none; }
  .prova-form { flex-shrink: 1; max-width: 100%; }
}

/* =============================================
   RESPONSIVE – 1100px
   ============================================= */
@media (max-width: 1100px) {
  .sede-card { grid-template-columns: 2rem 1fr; column-gap: 1rem; }
  .sede-card h3, .sede-card > p:not([class]), .sede-card .sede-sottosedi, .sede-card .sede-indirizzo,
  .sede-card .sede-strumenti, .sede-card .sede-card-cta { grid-column: 2; grid-row: auto; }
  .sede-card .sede-indirizzo, .sede-card .sede-strumenti { margin-top: 0.45rem; }
  .sede-card .sede-card-cta { margin-top: 0.7rem; }
  .sede-pin { grid-row: 1 / span 6; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 3.5rem 2.5rem 2rem; }
  .hero-visual { height: 460px; min-height: 0; }
  .hero-visual::before { inset: 0 -4% 4% -4%; }
  .hero-img-grid { inset: 0.5rem 2.5rem 6.25rem 2.5rem; }
  .docenti-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* =============================================
   RESPONSIVE – 900px (tablet)
   ============================================= */
@media (max-width: 900px) {
  section { padding: 4.25rem 2.5rem; }
  .tariffe { grid-template-columns: 1fr; padding: 3.5rem 2.5rem 5.5rem; }
  nav { padding: 0 1.5rem; }
  .banner-iscrizioni, .banner-evento-inner { padding-left: 2rem; padding-right: 2rem; }
  .convenzioni, footer { padding-left: 2.5rem; padding-right: 2.5rem; }
  .prova-section { flex-direction: column; align-items: flex-start; padding: 4.5rem 2.5rem; }
  .prova-section h2 { max-width: none; }
  .highlights-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .docenti-grid { grid-template-columns: repeat(3, 1fr); }
  .ensemble-grid { grid-template-columns: 1fr; }
  .mt-vantaggi-grid { grid-template-columns: 1fr 1fr; }
  .mt-percorsi { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE – 768px (mobile L)
   ============================================= */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; height: 120px; }
  .nav-logo img { width: min(300px, calc(100vw - 110px)); max-height: 96px; }
  .banner-iscrizioni { margin-top: 120px; top: 120px; }
  .nav-links {
    display: none; position: fixed; top: 120px; left: 0; right: 0; bottom: 0; overflow-y: auto;
    background: var(--ink); flex-direction: column; align-items: center; justify-content: center;
    gap: 0.6rem; z-index: 99; padding: 1.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { font-size: 1.35rem; padding: 0.5rem 1.25rem; }
  .nav-hamburger { display: flex; }
  .nav-item { display: flex; flex-direction: column; align-items: center; }
  .nav-has-dropdown > a::after { display: none; }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; min-width: 0;
    background: transparent; border: none; padding: 0.25rem 0 0.5rem; margin: 0;
    display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  }
  .nav-dropdown::before { display: none; }
  .nav-links > li:last-child .nav-dropdown { left: auto; right: auto; transform: none; }
  .nav-dropdown a { font-size: 1rem; color: rgba(255,246,232,0.78); padding: 0.3rem 1rem; }
  .nav-dropdown a:hover { background: rgba(255,246,232,0.12); color: var(--saffron); }
  .hero-text { padding: 2.75rem 1.5rem 1.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-visual { height: 380px; }
  .hero-img-grid { inset: 0.25rem 1.5rem 5.5rem 1.5rem; gap: 10px; }
  section { padding: 3.5rem 1.5rem; }
  .banner-evento-inner { padding: 0.8rem 1.5rem; }
  .banner-sub { display: none; }
  .convenzioni, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .prova-section { padding: 4rem 1.5rem; }
  .tariffe { padding: 3rem 1.5rem 5rem; }
  .docenti-grid { grid-template-columns: repeat(2, 1fr); }
  .organo-table .organo-header, .organo-table .organo-row { grid-template-columns: 1fr 1fr; }
  .organo-header span:last-child, .organo-row .organo-sede { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { max-height: 92vh; border-radius: 26px 26px 0 0; max-width: 100%; }
  .picker-overlay { padding: 0; align-items: flex-end; }
  .picker-box { border-radius: 26px 26px 0 0; max-width: 100%; }
  .sede-modal { border-radius: 26px 26px 0 0; }
  .sede-modal-overlay { align-items: flex-end; padding: 0; }
  .modal, .sede-modal, .picker-box { box-shadow: 0 -16px 40px -12px rgba(27,39,69,0.5); border-bottom: none; }
}

/* =============================================
   RESPONSIVE – 480px (mobile S)
   ============================================= */
@media (max-width: 480px) {
  nav { height: 110px; }
  .nav-logo img { width: min(280px, calc(100vw - 100px)); max-height: 90px; }
  .banner-iscrizioni { margin-top: 110px; top: 110px; padding: 0.6rem 1.25rem; }
  .nav-links { top: 110px; }
  .hero-text { padding: 2.25rem 1.25rem 1.25rem; }
  .hero h1 { font-size: 2.45rem; }
  .hero-lead { font-size: 1.05rem; }
  .hero-visual { height: 320px; }
  .hero-img-grid { inset: 0.25rem 1.25rem 5rem 1.25rem; }
  .banner-icon { display: none; }
  .banner-title { font-size: 1rem; }
  section { padding: 3rem 1.25rem; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .convenzioni { padding: 1.25rem; }
  footer { padding-left: 1.25rem; padding-right: 1.25rem; padding-bottom: 2rem; }
  .prova-section { padding: 3.5rem 1.25rem; }
  .prova-form { flex-direction: column; align-items: stretch; width: 100%; }
  .prova-form input, .prova-form select, .prova-form button { width: 100%; }
  .courses-grid { grid-template-columns: 1fr; }
  .mt-vantaggi-grid { grid-template-columns: 1fr; }
  .musicoterapia-hero { padding: 1.5rem; }
  .docenti-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 0.4rem; }
  .tab { white-space: nowrap; }
  .organo-table .organo-header, .organo-table .organo-row { grid-template-columns: 1fr 1fr; padding: 0.7rem 1rem; }
  .giorni-grid-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
  .giorni-grid { grid-template-columns: repeat(5, minmax(90px, 1fr)); min-width: 450px; }
  .modal-header { padding: 1.25rem; }
  .modal-body { padding: 1.25rem; }
  .sede-modal-header { padding: 1.25rem; }
  .sede-modal-body { padding: 1.25rem; }
  .picker-box { padding: 1.5rem 1.25rem; }
}

/* =============================================
   RESPONSIVE – 360px (mobile XS)
   ============================================= */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.9rem; }
  section { padding: 2.75rem 1rem; }
  nav { padding: 0 1rem; }
  .docenti-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .prova-section { padding: 3.25rem 1rem; }
  .convenzioni { padding: 1rem; }
  footer { padding-left: 1rem; padding-right: 1rem; }
}


/* Indirizzi sedi: link a Google Maps */
.link-mappa { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, 0.25); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.link-mappa:hover, .link-mappa:focus-visible { text-decoration-color: currentColor; }

/* =============================================
   BANNER GDPR (cookie)
   I due pulsanti hanno la stessa evidenza (linee guida Garante privacy 2021)
   ============================================= */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 250; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  pointer-events: auto; width: 100%; max-width: 980px; display: flex; align-items: center; gap: 1.25rem 2rem;
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--coral);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 1.15rem 1.4rem;
}
.cookie-banner-testo { flex: 1; min-width: 0; }
.cookie-banner-titolo { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.25rem; }
.cookie-banner-msg { font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.cookie-banner-msg a { color: var(--blue-d); font-weight: 700; text-underline-offset: 3px; }
.cookie-banner-azioni { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  min-height: 44px; min-width: 9.5rem; padding: 0.6rem 1.1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--ff-display); font-size: 0.95rem; font-weight: 700; border: 2px solid var(--ink); transition: background 0.2s, color 0.2s;
}
.cookie-btn-necessari { background: var(--paper-2); color: var(--ink); }
.cookie-btn-necessari:hover { background: var(--sky); }
.cookie-btn-accetta { background: var(--ink); color: var(--paper); }
.cookie-btn-accetta:hover { background: var(--ink-2); }
@media (max-width: 768px) {
  .cookie-banner { left: 0; right: 0; bottom: 0; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; border-radius: 14px 14px 0 0; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); gap: 0.85rem; }
  .cookie-banner-azioni .cookie-btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner:not([hidden]) .cookie-banner-inner { animation: cookie-entra 0.35s ease-out; }
  @keyframes cookie-entra { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* =============================================
   MODULO RICHIESTA INFORMAZIONI
   ============================================= */
.info-modal { max-width: 640px; }
.info-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.info-form[hidden] { display: none; }
.info-campo { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.info-campo-largo { grid-column: 1 / -1; }
.info-campo label { font-family: var(--ff-display); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.info-campo input, .info-campo select, .info-campo textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 10px; padding: 0.65rem 0.8rem; min-height: 46px; transition: border-color 0.2s, box-shadow 0.2s;
}
.info-campo textarea { resize: vertical; min-height: 120px; }
.info-campo input:focus, .info-campo select:focus, .info-campo textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,91,208,0.2); }
.info-campo [aria-invalid="true"] { border-color: var(--coral-d); }
.info-trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-privacy { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); cursor: pointer; }
.info-privacy input { width: 20px; height: 20px; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--ink); }
.info-privacy a { color: var(--blue-d); font-weight: 700; }
.info-esito { font-size: 0.92rem; font-weight: 700; min-height: 1.2em; }
.info-esito.errore { color: var(--coral-d); }
.info-esito.ok { color: #1E7A3C; }
.info-azioni { display: flex; justify-content: flex-end; }
.info-azioni .cookie-btn:disabled { opacity: 0.6; cursor: wait; }
.info-grazie { text-align: center; padding: 1.5rem 0.5rem; }
.info-grazie h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.info-grazie p { color: var(--ink-soft); margin-bottom: 1.2rem; }
@media (max-width: 600px) {
  .info-form { grid-template-columns: 1fr; }
  /* barra: le due metà una sotto l'altra, ciascuna su una riga */
  .banner-iscrizioni-inner { flex-direction: column; gap: 0.3rem; }
  .banner-iscrizioni-link { flex-wrap: nowrap; gap: 0.6rem; padding: 0; }
  .banner-iscrizioni-link .banner-iscrizioni-text { font-size: 0.9rem; }
  .banner-iscrizioni-link .banner-iscrizioni-cta { white-space: nowrap; padding: 0.3rem 0.85rem; font-size: 0.85rem; }
  .banner-info::before { display: none; }
  .info-azioni .cookie-btn { width: 100%; }
}
