/* =======================
   BASE
======================= */
body {
  margin: 0;
  background: radial-gradient(circle at top, #152622, #0b1412);
  color: #f4f1ec;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.75;
  overflow-x: hidden;
}

/* =======================
   TOP BAR (COMPATTA)
======================= */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  gap: 50px;
  padding: 16px 40px 10px; /* ancora più compatta */
  background: linear-gradient(
    to bottom,
    rgba(11, 20, 18, 0.95),
    rgba(11, 20, 18, 0)
  );
  font-family: "Cinzel", serif;
  letter-spacing: 0.15em;
  font-size: 14px;
}

.lang-switch span {
  cursor: pointer;
  color: #c2a75a;
  opacity: 0.4;
  margin-left: 12px;
}

.lang-switch span.active {
  opacity: 1;
  text-decoration: underline;
}

.nav-links a {
  color: #c2a75a;
  text-decoration: none;
  margin-left: 18px;
  opacity: 0.6;
}

.nav-links a.active,
.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* =======================
   CONTENT (ALTEZZA MASSIMA)
======================= */
.container {
  max-width: 980px;
  margin: auto;
  padding: 22px 40px 140px; /* 🔺 ANCORA PIÙ IN ALTO */
}

/* =======================
   HERO SYMBOL (FUSO COL NOME)
======================= */
.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: -34px; /* quasi contatto col nome */
}

.hero-logo img {
  width: 230px;
  height: auto;
  display: block;
  transform: translateY(16px); /* micro-compensazione */
  filter: drop-shadow(0 0 18px rgba(194,167,90,0.42));
}

/* =======================
   HERO TITLE
======================= */
h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #c2a75a;
  margin-bottom: 8px;
}

/* NLP sotto il nome */
.nlp-sub {
  display: block;
  margin-top: 5px;
  font-size: 0.85em;
  letter-spacing: 0.25em;
  font-weight: 600;
}

/* Payoff */
.subtitle {
  text-align: center;
  font-style: italic;
  font-size: 20px;
  color: #e8dfc4;
  margin-bottom: 46px;
}

/* =======================
   TEXT
======================= */
p {
  font-size: 20px;
  max-width: 760px;
  margin: 0 auto 28px;
}
/* =======================
   LIST (same size as text)
======================= */
.container ul,
.container li {
  font-size: 20px;
  line-height: 1.75;
  max-width: 760px;
}

.container ul {
  margin: 0 auto 28px;
  padding-left: 1.2em;
}

/* =======================
   PORTRAIT
======================= */
.portrait {
  display: flex;
  justify-content: center;
  margin: 42px 0 72px;
}

.portrait img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #c2a75a66;
  box-shadow: 0 0 25px rgba(194, 167, 90, 0.15);
}

/* =======================
   QUOTE
======================= */
.quote {
  text-align: center;
  font-style: italic;
  font-size: 24px;
  color: #efe6c9;
  margin: 72px auto;
  padding: 35px 0;
  max-width: 720px;
  border-top: 1px solid #c2a75a55;
  border-bottom: 1px solid #c2a75a55;
}

/* 👇 aggiungi QUESTO */
.container .lang .quote {
  color: #efe6c9;
}
/* =======================
   FOOTER
======================= */
.site-footer {
  margin-top: 42px;
  text-align: center;
  font-size: 14px;
  color: #b9b09a;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.footer-main-text {
  margin-bottom: 14px;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-logo {
  height: 55px;
  width: auto;
}

.footer-logo--seal {
  height: 50px;
}

.footer-subtext {
  font-size: 13px;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

/* =======================
   LANGUAGE
======================= */
.lang {
  display: none;
}
.lang.active {
  display: block;
}
.lang:not(.active) {
  display: none !important;
}

/* =======================
   ANIMATIONS
======================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =======================
   MOBILE (ANCORA SICURO)
======================= */
@media (max-width: 768px) {

  .container {
    padding: 18px 24px 120px;
  }

  .hero-logo {
    margin-bottom: -24px;
  }

  .hero-logo img {
    width: 175px;
    transform: translateY(12px);
  }

  h1 {
    letter-spacing: 0.04em;
    line-height: 1.15;
  }

  .nlp-sub {
    font-size: 0.8em;
    margin-top: 4px;
  }

  .portrait img {
    width: 200px;
    height: 200px;
  }

  /* 👇 INCOLLA QUI */
  .quote {
    font-family: 'Cormorant Garamond', serif;
    color: var(--accent-color);
  }

}
/* =======================
   SOTTOTITOLI / SECTION TITLES (RIPRISTINO COME PRIMA)
   ======================= */

/* Se nelle pagine usi la classe .section-title */
.section-title{
  font-family: "Cinzel", serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c2a75a;
  text-align: center;
  margin: 90px 0 30px;
}

/* Se invece in alcune pagine usi direttamente <h2> / <h3> come sottotitoli */
.container h2,
.container h3{
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c2a75a;
  text-align: center;
  margin: 90px 0 30px;
}

/* Dimensioni specifiche (opzionale ma consigliato) */
.container h2{ font-size: 15px; }
.container h3{ font-size: 14px; }
/* Partners: niente link blu */
.partners a {
  text-decoration: none;
  color: inherit;
}
/* FORCE: rimuove qualsiasi stile link nei partners */
.partners a,
.partners a:visited,
.partners a:hover,
.partners a:active {
  color: inherit !important;
  text-decoration: none !important;
}
/* Partners page: niente link blu e niente sottolineatura */
.partners-row a,
.partners-row a:visited,
.partners-row a:hover,
.partners-row a:active,
.partner-item,
.partner-item:visited,
.partner-item:hover,
.partner-item:active {
  color: inherit;
  text-decoration: none;
}
/* Partners: nascondi le scritte sotto/accanto ai loghi */
.partners-row .partner-item span {
  display: none;
}
/* Layout partners: distanza corretta tra i loghi */
.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;          /* distanza tra i loghi */
  margin: 60px 0;
  flex-wrap: wrap;    /* sicurezza mobile */
}

/* Partner item: centratura pulita */
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Elimina la striscia chiara in fondo: stesso background su html e body */
html, body {
  min-height: 100%;
  margin: 0;
  font-size: 16px;
  background: radial-gradient(circle at top, #152622, #0b1412);
  background-attachment: fixed; /* opzionale: evita stacchi su alcuni browser */
}
/* Struttura pagina: footer sempre in fondo */
html, body {
  height: 100%;
}

/*
body {
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}
*/

/* Distanza elegante dal fondo */
.site-footer {
  margin-top: 120px;   /* puoi regolare: 80 / 100 / 140 */
  padding-bottom: 40px;
}

/* ===== Contact form (Netlify) ===== */
.contact-form{
  max-width: 720px;
  margin: 40px auto 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label{
  display: block;
}

.contact-form label > span{
  display:block;
  margin-bottom: 8px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.10em;
  font-size: 12px;
  text-transform: uppercase;
  color: #c2a75a;
  opacity: 0.9;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(194,167,90,0.35);
  background: rgba(11,20,18,0.55);
  color: #f4f1ec;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  outline: none;
}

.contact-form textarea{
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(194,167,90,0.75);
}

.gdpr-consent{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.95;
}

.gdpr-consent input{
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.contact-form button{
  align-self: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(194,167,90,0.6);
  background: transparent;
  color: #c2a75a;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.contact-form button:hover{
  text-decoration: underline;
}

/* Nasconde qualsiasi elemento con classe hidden */
.hidden{ display:none !important; }
.form-error{
  margin-top: 10px;
  font-size: 14px;
  color: #c2a75a;
  min-height: 18px;
  letter-spacing: 0.03em;
}
/* =======================
   CONTACT FORM
======================= */

.contact-form {
  max-width: 720px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.95);
  border: none;
  padding: 10px 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #0b1412;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #c2a75a;
}

.gdpr-consent {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.gdpr-consent input {
  margin-top: 3px;
}

.contact-form button {
  align-self: flex-start;
  background: none;
  border: 1px solid #c2a75a;
  color: #c2a75a;
  padding: 8px 22px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.contact-form button:hover {
  background: rgba(194,167,90,0.12);
}
/* =======================
   LANGUAGE TOGGLE (EN/IT) – FIX
   ======================= */

/* Default: mostra EN, nasconde IT */
.nav-it,
.lang-it {
  display: none;
}

/* Quando vuoi IT, metti class="show-it" sul body */
body.show-it .nav-en,
body.show-it .lang-en {
  display: none;
}

body.show-it .nav-it {
  display: inline;
}

body.show-it .lang-it {
  display: block;
}

/* =======================
   CONTACT FORM – FORCE DARK (override del blocco duplicato bianco)
   ======================= */

.contact-form input,
.contact-form textarea {
  background: rgba(11,20,18,0.55) !important;
  border: 1px solid rgba(194,167,90,0.35) !important;
  color: #f4f1ec !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none !important;
  border-color: rgba(194,167,90,0.75) !important;
}

.contact-form button {
  background: transparent !important;
  color: #c2a75a !important;
  border: 1px solid rgba(194,167,90,0.6) !important;
}
/* =======================
   TOP BAR – MOBILE FIX
======================= */
@media (max-width: 480px) {

  .top-bar {
    justify-content: center;
    gap: 20px;
    padding: 14px 16px 8px;
    flex-wrap: wrap;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px; /* riga / colonna */
  }

 .nav-links a {
  margin: 0;
  white-space: nowrap; /* 🔒 evita "Get / in touch" */
  font-size: 1rem;
}



  .lang-switch {
    width: 100%;
    text-align: center;
    margin-bottom: 6px;
  }
 }

/* =======================
   ABOUT – TEXT LIST
======================= */
.list {
  max-width: 760px;              /* come i paragrafi */
  margin: 0 auto 28px;           /* stesso respiro */
}

.list div {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;               /* IDENTICO ai <p> */
  line-height: 1.75;             /* IDENTICO ai <p> */
  color: #f4f1ec;                /* IDENTICO al body */
  margin-bottom: 8px;
}
/* =======================
   ABOUT – INVITATION BLOCK
======================= */
.invitation {
  max-width: 760px;
  margin: 56px auto 28px;   /* SOLO distanza dal testo sopra */
}

.invitation p {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;         /* identico ai <p> normali */
  line-height: 1.75;
  color: #f4f1ec;
  margin: 0;               /* nessuno spazio extra interno */
}
/* =======================
   ABOUT – TYPOGRAPHY UNIFORM
======================= */

/* Paragrafi, liste e invitation: STESSO TESTO */
.lang.lang-en p,
.lang.lang-it p,
.lang.lang-en .list li,
.lang.lang-it .list li,
.lang.lang-en .invitation p,
.lang.lang-it .invitation p {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1.75;
  color: #f4f1ec;
}
.lang.lang-en .list,
.lang.lang-it .list {
  margin-bottom: 28px;
}

.lang.lang-en .invitation,
.lang.lang-it .invitation {
  margin-top: 28px;
}
/* =======================
   ABOUT – FORCE INVITATION SIZE (IT FIX)
======================= */
.lang.lang-it .invitation p {
  font-size: 20px !important;
  line-height: 1.75 !important;
}
.invitation,
.invitation p {
  font-size: 20px !important;
  line-height: 1.75 !important;
}
/* ABOUT – INVITATION FORCE (match paragraph style) */
.invitation,
.invitation * {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 20px !important;
  line-height: 1.75 !important;
  color: #f4f1ec !important;
}

.invitation {
  max-width: 760px !important;
  margin: 56px auto 28px !important;
}

.invitation p {
  margin: 0 !important;
}
.invitation,
.invitation * {
  color: #efe6c9 !important;
}
/* INVITATION – same typography as QUOTE (force) */
.invitation {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 24px;
  line-height: 1.75;
  color: #efe6c9;
  text-align: center;
  font-style: italic;
}

.invitation strong {
  font-family: "Cormorant Garamond", serif !important;
  color: #efe6c9;
}

/* Big bullets inside <p> (safe: does NOT shrink text) */
.big-bullet {
  font-size: 1.8rem;
  line-height: 1;          /* <-- era 0, questo è il fix */
  vertical-align: middle;
  margin-right: 0.4rem;
}

/* (Optional) If you still use <ul class="custom-bullets"> somewhere */
.custom-bullets li::before {
  font-size: 1.8rem;
}
/* Courses: evita che .lang rimpicciolisca tutto */
.lang {
  font-size: inherit;
  line-height: inherit;
}
/* === BODY TEXT UNIFORME in tutte le pagine con .lang (About, Courses, ecc.) === */
.container .lang {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1.75;
  color: #f4f1ec;
}

/* assicurati che i blocchi di testo ereditino la base */
.container .lang p,
.container .lang ul,
.container .lang li {
  font: inherit;
  color: inherit;
}
/* ===========================
   EVENTS PAGE (isolated)
   =========================== */

.page-events .events-list{
  max-width: 920px;
  margin: 32px auto 0;
  display: grid;
  gap: 20px;
}

.page-events .event-card{
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  text-align: left;
}

/* Titolo evento */
.page-events .event-card h2{
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;   /* annulla MAIUSCOLO globale */
  color: inherit;
}

/* Sottotitolo */
.page-events .event-subtitle{
  margin: 0 0 14px;
  font-size: 1rem;
  opacity: 0.85;
}

/* Descrizione */
.page-events .event-desc{
  margin: 0 0 18px;
  line-height: 1.55;
  opacity: 0.92;
}

/* Area azioni */
.page-events .event-actions{
  margin-top: 10px;
}

/* Bottone prenotazione */
.page-events .event-btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  text-decoration: none;
  font-weight: 600;
  color: inherit;        /* elimina blu dei link */
}

.page-events .event-btn:hover{
  opacity: 0.85;
}

/* ===========================
   Mobile refinement
   =========================== */
@media (max-width: 640px){
  .page-events .events-list{
    margin-top: 24px;
  }

  .page-events .event-card{
    padding: 18px;
  }

  .page-events .event-card h2{
    font-size: 1.2rem;
  }
}
/* ===========================
   EVENTS PAGE – FIX DEFINITIVO
   =========================== */

body.page-events .container .events-list{
  max-width: 920px;
  margin: 32px auto 0;
  display: grid;
  gap: 20px;
}

body.page-events .container .event-card{
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  text-align: left;
}

/* 🔴 OVERRIDE di .container h2 */
body.page-events .container .event-card h2{
  font-family: "Cinzel", serif;
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  color: #c2a75a;
}

/* sottotitolo */
body.page-events .container .event-subtitle{
  margin: 0 0 14px;
  font-size: 1rem;
  opacity: 0.85;
}

/* descrizione (override di p globali centrati) */
body.page-events .container .event-desc{
  max-width: none;
  margin: 0 0 18px;
  line-height: 1.55;
  opacity: 0.92;
  text-align: left;
}

/* azioni */
body.page-events .container .event-actions{
  margin-top: 10px;
}

/* bottone */
body.page-events .container .event-btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}

body.page-events .container .event-btn:hover{
  opacity: 0.85;
}

/* mobile */
@media (max-width: 640px){
  body.page-events .container .event-card{
    padding: 18px;
  }

  body.page-events .container .event-card h2{
    font-size: 1.2rem;
  }
}
/* Event subtitle: same style as page subtitle */
body.page-events .event-subtitle{
  font-style: italic;
  font-size: 20px;
  color: #e8dfc4;
  opacity: 1;
  margin-top: 4px;
  margin-bottom: 18px;
}
