    :root {
      --gold:        #c8a832;
      --gold-dark:   #a88820;
      --ocra:        #c8b84a;
      --ocra-bg:     #cfc06a;
      --ocra-section:#d4c060;
      --ocra-gray:   #8a8070;
      --purple:      #5c3a9a;
      --white:       #ffffff;
      --dark:        #111;
      --text:        #1a1a1a;
      --card-border: rgba(255,255,255,0.25);
      --off-white:   #f0eaf5;

      --boxed-w-px:    1400px;
      --boxed-w-vw:    95vw;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { 
      font-family: 'Plus Jakarta Sans', sans-serif; 
      color: var(--text); 
      background: var(--white); 
      overflow-x: hidden; 
      font-size: 1.5rem;
      line-height: 1.5;
    }
html, body { 
      scroll-behavior: smooth;
    }
    @media (max-width: 767px) { body {font-size:1.3rem} }

    .img-slot { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ocra-gray); }
    .img-logo { width: 200px; height: auto; display: block; }

    /* ═══════════════════════════════════════
       BUTTONS — all outline style, gold border
    ═══════════════════════════════════════ */
    .btn {
      display: inline-block;
      color: var(--white);
      background: var(--gold);
      border-radius: 16px;
      padding: 1rem 2rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 1.3rem;
      font-weight: 700;
      letter-spacing: .15em;
      text-transform: uppercase;
      text-decoration: none;
      cursor: pointer;
      transition: background .2s, color .2s;
      border:none;  
      min-width: min(100%, 250px);
    }
    .btn:hover { background: var(--gold-dark); color: var(--white); }
    .btn-white { background: var(--white); color: var(--purple);}
    .btn-white:hover { background: var(--white); color: var(--gold); }
    .btn-white-border { border: 3px solid var(--white); color: var(--white); background: transparent;}
    .btn-white-border:hover { background: var(--white); color: var(--purple); }
    .btn-purple { background: var(--purple); color: var(--white); }
    .btn-purple:hover { background: var(--gold); color: var(--white); }
    .btn-center {text-align: center;}

    @media (max-width: 500px) { .btn {text-align: center; width:100%;} }
    @media (max-width: 767px) { .btn {font-size:1rem} }

    /* ═══════════════════════════════════════
       HERO
    ═══════════════════════════════════════ */
    .hero {
      position: relative;
      min-height: 480px;
      background-color: var(--dark);
      overflow: hidden;
    }
    .hero-bg { position: absolute; inset: 0; z-index: 0; }
    .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .65; display: block; }

    .hero-nav {
      position: relative;
      z-index: 5;
      padding: 1.4rem 2rem 0;
      margin: auto;
      max-width: min(1400px, 95%);
    }
    .logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      width: fit-content;
      margin-bottom: .5rem;
    }

    .hero-body {
      position: relative;
      z-index: 4;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 2.5rem 2.5rem 5rem;
      gap: 2rem;
      margin: auto;
      max-width: min(1400px, 95%);
    }
    .hero-text { flex: 1; max-width: 65%; }

    .hero-text .subtitle {
      color: var(--off-white);
      margin-bottom: 2rem;
    }
    .hero-text .title {
      color: var(--white);
      margin-bottom: .7rem;
    }
    .hero-text h1 em { font-style: italic; font-family: 'Plus Jakarta Sans Bold', sans-serif;}
    .hero-text .tagline {
        color: var(--white);
        margin-bottom: 2rem;
        font-weight: 600;
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-card {
      flex-shrink: 0;
      width: 45%;
      height: 100%;
      background: var(--white);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0,0,0,.35);

      background: var(--off-white);
      padding: 1.5rem 1.5rem 5rem;
    }
    .hero-card form{
      background: transparent;
      padding: 0;
    }
    @media (max-width: 767px) { 
      .hero-card, .hero-text { width: 100%; max-width: unset; } 
      .hero-body { padding: 2.5rem 1.5rem 5rem }
    }

    .hero-card h2 {
      font-weight: 800;
      color: var(--purple);
      margin-bottom: 3rem;
    }
    /* ═══════════════════════════════════════
       SEDI
    ═══════════════════════════════════════ */
    .sec-sedi {
      background: var(--purple);
      padding: 3.5rem 1.5rem;
      text-align: center;
      margin: auto;
    }
    .sec-sedi h2 {
      color: var(--white);
      margin:  0 auto .85rem;
    }
    .sec-sedi p {
      color: var(--white);
      max-width: 420px;
      margin: 0 auto 2rem;
      max-width: min(1400px, 100%);
      font-weight: 600;
    }
    .sec-sedi span {
      color: var(--white);
    }
    .sec-sedi .btn {
      padding: .75rem 2rem;
      border-radius: 22px;
    }
    .sec-sedi .flex-mobile-col {
      align-items: center;
      justify-content: center;
      gap: 2rem 4rem;
    }

    .underline {
      border-bottom: 3px solid var(--gold);
      display: inline-block;
      min-width: min(250px, 100%);
      padding: .3rem
    }
    .sec-sedi .tag {
      background-color: var(--gold);
      display: inline-block;
      min-width: min(250px, 100%);
      padding: .15rem 1.5rem;
      font-size: 20px;
      color: var(--white);
      border-radius: 1.5rem;
      margin-bottom: 1.5rem;
      font-weight: bold;
    }

    /* ═══════════════════════════════════════
       COSA TI OFFRIAMO  — ocra/giallo
    ═══════════════════════════════════════ */
    .sec-off {
      background: var(--gold);
      padding: 4.5rem 3rem;
      display: flex;
      align-items: center;
      gap: 4rem;
    }
    .off-text { flex: 0 0 60%; }
    .off-text h2 {
      color: var(--white);
      margin-bottom: 1.1rem;
    }
    .off-text p {
      line-height: 1.5;
      color: var(--white);
      margin-bottom: .85rem;
    }
    .off-text strong { font-weight: 700; }
    .off-deco {
      flex: 0 0 35%;
      text-align: center;
      opacity: .5;
      padding: 0 1.5rem
    }
    .off-deco img {max-width: 100%;}
    /*@media (max-width: 767px) { .off-deco { display: none; } }*/
    @media (max-width: 767px) { 
      .sec-off {
        padding: 3rem 1.5rem;
      }
      .off-deco {
        padding: 1.5rem 0 0;
      }

    }

    /* ═══════════════════════════════════════
       PRIMO LIVELLO  — foto sx / testo dx
    ═══════════════════════════════════════ */

    .col-2 .col {
      flex: 0 0 50%;
      overflow: hidden;
    }
    .col-2 .col-img {
      background-color: var(--ocra-gray);
      background-size: cover;  
      background-position: 50% 90%;
      min-height: min(480px, 100vh);
    }
    .col-2 .col-txt {
      padding: 3rem;
      background-color: var(--off-white);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    @media (max-width: 767px) { 
      .col-2:nth-child(2n) {
        flex-direction:column-reverse
      }
      .col-2 .col-txt {
        padding: 3rem 1.5rem;
      }

    }

    .sec-primo { display: flex;}
    .primo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    /* titolo GRANDE prima, sottotitolo piccolo caps DOPO */
    .primo-txt h2 {
      font-weight: 800;
      color: var(--purple);
      margin-bottom: .4rem;
    }
    .primo-txt .subtitle {
      color: var(--text);
      margin-bottom: 2rem;
    }
    .primo-txt p {
      margin-bottom: .85rem;
    }

    /* ═══════════════════════════════════════
       MATERIALE DIDATTICO  — ocra sx / foto dx
    ═══════════════════════════════════════ */
    .sec-mat { display: flex; min-height: 380px; }
    .mat-left {
      background-repeat: no-repeat;
      background-size: auto 250px;
      background-position: calc(100% - 1.5rem) 1.5rem;
    }
    .mat-left .subtitle {
      color: var(--purple);
      margin-bottom: 1rem;
    }
    .mat-list { list-style: none; padding: 0; margin: 0 0 2rem; }
    .mat-list li {
      display: flex;
      gap: .55rem;
      align-items: baseline;
    }
    .mat-list li::before { content: '•'; color: var(--text); flex-shrink: 0; }
    .mat-button {
      text-align: right
    }
    .mat-right img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* ═══════════════════════════════════════
       CTA VIOLA
    ═══════════════════════════════════════ */
    .sec-cta {
      background: var(--purple);
      padding: 5rem 1.5rem;
      text-align: center;
      margin: auto;
    }
    .sec-cta h2 {
      color: var(--white);
      margin:  0 auto 2rem;
    }
    .sec-cta p {
      color: var(--white);
      max-width: 420px;
      margin: 0 auto .85rem;
      max-width: min(1400px, 100%);
      font-weight: 600;
    }

    .sec-cta a {
      margin: 2rem auto 0;
    }

    /* ═══════════════════════════════════════
       NON SOLO — dark + foto sottofondo
       card colori: ocra/giallo border + bianco testo
    ═══════════════════════════════════════ */
    .sec-altri {
      position: relative;
      overflow: hidden;
      background-color:var(--dark)
    }
    .altri-bg { position: absolute; inset: 0; z-index: 0; }
    .altri-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .altri-in {
      position: relative;
      z-index: 2;
      padding: 5rem 2rem;
      margin: 0 auto;
    }
    .altri-in h2 {
      font-weight: 800;
      color: var(--white);
      text-align: center;
      margin-bottom: .65rem;
    }
    .altri-sub {
      text-align: center;
      color: var(--white);
      margin: 1rem auto 3rem;
      font-weight: 600;
    }
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.2rem;
    }
    @media (max-width: 1200px) { .cards-grid { grid-template-columns: 1fr; } }

    /* card: bordo ocra/giallo, sfondo semi-trasparente scuro */
    .ccard {
      border-radius: 10px;
      padding: 1.8rem 1.6rem;
      background: rgba(255,255,255,.85);
      display: flex;
      flex-direction: column;
      gap: .7rem;
      width: 100%;
      max-width:min(100%, 600px);
      margin:auto;
      height: 100%;
    }
    .ccard-title {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--purple);
      text-transform: uppercase;
      letter-spacing: .08em;
      line-height: 1.3;
      text-align:center;
    }
    @media(min-width:768px) { .ccard-title { font-size: 2rem; min-height: 125px; }}
    .ccard p {
      color: var(--text);
      line-height: 1.5;
      flex: 1;
      text-align: center;
      margin-bottom: 2rem;
    }

    /* ═══════════════════════════════════════
       FORM BOX — sfondo chiaro, box bordo viola
    ═══════════════════════════════════════ */
    .sec-form {
      background: var(--off-white);
      padding: 5rem 1.5rem;
    }
    .sec-form .title {
      color:var(--purple);
      width:67%;
      min-width: min(100%, 767px);
      margin-bottom: 1rem;
      font-size: 36px;
    }
    .sec-form .subtitle {
      margin-bottom: 1rem;
    }
    .sec-form form {
      border: 3px solid var(--purple);
      border-radius: 16px;
      width: 100%;
      margin-top: 3rem;
    }
    .sec-form p {
      margin: 0;
      color: var(--purple)
    }

    /* ═══════════════════════════════════════
       FOOTER — sfondo ocra/dorato scuro
    ═══════════════════════════════════════ */
    .foot {
      background: var(--gold);
      padding: 1rem 1.5rem 5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .foot p, .foot p a {
      color: #fff;
      font-size:1rem;
      line-height: 1.5;
      text-align:center;
    }
    .foot .p-div {
      margin-bottom:1rem
    }
    .foot .social-div {
      margin-top:1rem;
      margin-bottom:2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }
    .img-social {
      width: 3rem;
      height: 3rem;
    }
    .img-social:hover {
      filter: brightness(0) saturate(100%) invert(23%) sepia(26%) saturate(3978%) hue-rotate(241deg) brightness(92%) contrast(88%);
    }

    .foot .btn {
      text-transform: initial;
      font-size: 1.5rem;
      padding: .75rem 2rem;
      border-radius: 22px;
      font-weight: 600;
      white-space: nowrap;
      display:flex;
      align-items: center;
      justify-content:center;
    }
    @media(max-width:767px) {
      .foot .btn {font-size: 1.3rem}
    }

    @media (max-width: 500px) { 
      .foot .btn {font-size: 1rem} 
    }




    .title {
  font-size: clamp(2rem, 20vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}
.subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: block;
}





.boxed {
      max-width: min(var(--boxed-w-px), var(--boxed-w-vw), 100%);
      margin: auto;
}
.boxed-col-2 {
  width: min(calc(var(--boxed-w-px) / 2), calc(var(--boxed-w-vw) ), 100%);
}
.boxed-left {
  margin-left:auto;
}
.boxed-right {
  margin-right:auto;
}

.flex-mobile-col {
  display: flex;
}
@media(max-width: 767px) {
  .flex-mobile-col {
    flex-direction: column;
  }
}

input:focus,input:focus-visible,textarea:focus,textarea:focus-visible{
  outline: 3px solid var(--purple);
}






form {
  background-color: var(--off-white);
  padding: 2rem;
  border-radius: 16px;
  width: 100%;
}

input:not([type=checkbox]):not([type=radio]), textarea, select {
  width: 100%;
  display: block;
  border-radius: 16px;
  padding: 1rem 2rem;
  border: none;
  background-color:var(--white);
  font-size: 1.1rem;
  line-height: 1.5rem;
  min-height: 1.5rem;
  appearance: none;
}
select {
  -webkit-appearance: none;
  appearance: none;
}
label {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: block;
}
input[type="checkbox"], input[type="radio"]{
  width: 20px;
  display: inline-block;
  height: 20px;
  margin-right: .75rem;
  border-radius: 3px;
}

.form-alert {
  border-radius: 16px;
  padding: .75rem 1.5rem;
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 2rem;
  display: none;
}
.alert-success {
  background-color:#ccffcc;
  color: #226622;
}
.alert-danger {
  background-color:#ffcccc;
  color: #662222;
}



