/* ==========================================================================
   Lux Italia Academy — foglio di stile
   Tutte le classi hanno il prefisso "lux-" e vivono dentro un contenitore
   .lux: così il codice si incolla in GoHighLevel (Custom CSS / Code element)
   senza scontrarsi con gli stili del builder.
   ========================================================================== */

/* Font ospitati sul sito (licenza SIL Open Font License): il browser non si collega a Google Fonts */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/jost-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/jost-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/newsreader-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/newsreader-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.lux {
  /* Colori del brand: nero e oro del logo */
  --black: #0b0a08;        /* fondo del logo */
  --black-2: #13110e;      /* sezioni alternate */
  --surface: #1a1713;      /* card */
  --surface-2: #23201a;    /* opzioni del form, hover */
  --field: #0f0d0a;        /* campi del form */
  --gold: #c9a45e;         /* cornice del logo */
  --gold-light: #e4ca8f;
  --gold-deep: #a6833f;
  --gold-grad: linear-gradient(135deg, #b98c47 0%, #e6cd92 48%, #bf954f 100%);
  --ivory: #f3ede3;        /* testo principale */
  --muted: #b1a797;        /* testo secondario */
  --line: rgba(201, 164, 94, .24);
  --line-soft: rgba(243, 237, 227, .1);
  --error: #f0907e;

  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --radius: 22px;
  --radius-lg: 32px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ivory);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.lux *, .lux *::before, .lux *::after { box-sizing: border-box; }
.lux :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd, fieldset, legend) { margin: 0; padding: 0; }
.lux :where(ul, ol) { list-style: none; }
.lux :where(img, video, iframe, svg) { display: block; max-width: 100%; }
.lux :where(img, video) { height: auto; }
.lux :where(a) { color: inherit; text-decoration: none; }
.lux :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.lux :where(fieldset) { border: 0; min-width: 0; }
.lux :where(input, select, textarea) { font: inherit; color: inherit; }
.lux :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.lux-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lux-skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px;
  background: var(--gold); color: var(--black); border-radius: 999px; transition: top .2s;
}
.lux-skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.lux-wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
@media (min-width: 768px) { .lux-wrap { width: min(100% - 64px, 1240px); } }

.lux-section { padding-block: clamp(72px, 10vw, 136px); position: relative; border-top: 1px solid var(--line-soft); }
.lux-bg-nero { background: var(--black); }
.lux-bg-carbone { background: var(--black-2); }
/* nero con un riflesso d'oro dall'alto, per le sezioni da mettere in risalto */
.lux-bg-velluto { background: radial-gradient(110% 60% at 50% 0%, rgba(201, 164, 94, .1), transparent 62%), var(--black); }

.lux-head { display: grid; gap: 20px; align-content: start; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.lux-head--split { max-width: none; }
@media (min-width: 960px) {
  .lux-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
}

/* ---------- Tipografia ---------- */
.lux-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .75rem/1.4 var(--f-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.lux-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.lux-h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.3rem, 4.8vw, 4.1rem); line-height: 1.06; letter-spacing: -.02em;
  text-wrap: balance;
}
.lux-h2 em, .lux-hero__title em { font-style: italic; color: var(--gold); }

.lux-lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--muted); max-width: 60ch; }

/* ---------- Bottoni ---------- */
.lux-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: .95em 1.7em; border-radius: 999px;
  font: 500 .9375rem/1.1 var(--f-body); letter-spacing: .03em; text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), filter .25s var(--ease);
}
.lux-btn:active { transform: translateY(1px); }
.lux-btn svg { width: 1.05em; height: 1.05em; flex: none; }
.lux-btn--primary, .lux-btn--gold { background: var(--gold-grad); color: var(--black); }
.lux-btn--primary:hover, .lux-btn--gold:hover { filter: brightness(1.08); }
.lux-btn--line { border: 1px solid rgba(201, 164, 94, .55); color: var(--ivory); }
.lux-btn--line:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201, 164, 94, .1); }
.lux-btn--sm { min-height: 42px; padding: .7em 1.2em; font-size: .875rem; }

.lux-link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 500;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .3s var(--ease), color .3s;
}
.lux-link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--gold-light); }

/* ---------- Header ---------- */
.lux-header { position: fixed; inset: 0 0 auto; z-index: 60; }
.lux-announce {
  background: var(--surface); color: var(--ivory); font-size: .8125rem; letter-spacing: .02em;
  text-align: center; padding: 8px 16px; height: 36px; overflow: hidden; border-bottom: 1px solid var(--line);
  transition: margin-top .35s var(--ease);
}
.lux-announce strong { color: var(--gold); font-weight: 500; }
@media (max-width: 480px) { .lux-announce { font-size: .75rem; padding-top: 10px; white-space: nowrap; text-overflow: ellipsis; } }
.lux-header.is-scrolled .lux-announce { margin-top: -36px; }
.lux-header__bar { transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.lux-header.is-scrolled .lux-header__bar, .lux-header.is-open .lux-header__bar {
  background: rgba(11, 10, 8, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* backdrop-filter renderebbe il pannello del menu (fixed) relativo alla barra: a menu aperto lo togliamo */
.lux-header.is-open .lux-header__bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--black); }
.lux-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.lux-brand { display: inline-flex; align-items: center; gap: 12px; }
.lux-brand__mark { width: 38px; height: 38px; color: var(--gold); flex: none; }
.lux-brand__name { display: grid; line-height: 1; }
.lux-brand__name b { font: 500 1.375rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.lux-brand__name span { font-size: .625rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.lux-nav { display: none; }
.lux-nav__list { display: flex; gap: clamp(16px, 2vw, 30px); }
.lux-nav__list a { font-size: .9375rem; font-weight: 500; position: relative; padding-block: 6px; transition: color .25s; }
.lux-nav__list a:hover { color: var(--gold-light); }
.lux-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.lux-nav__list a:hover::after { transform: scaleX(1); }
.lux-header__actions { display: flex; align-items: center; gap: 10px; }
.lux-shoplink { display: none; }
.lux-header__actions .lux-btn--primary { display: none; }

.lux-burger { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.lux-burger span, .lux-burger span::before, .lux-burger span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ivory); position: relative; transition: transform .3s var(--ease), background .3s;
}
.lux-burger span::before, .lux-burger span::after { content: ""; position: absolute; left: 0; }
.lux-burger span::before { top: -6px; }
.lux-burger span::after { top: 6px; }
.lux-header.is-open .lux-burger span { background: transparent; }
.lux-header.is-open .lux-burger span::before { transform: translateY(6px) rotate(45deg); }
.lux-header.is-open .lux-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* menu mobile */
@media (max-width: 1099px) {
  .lux-header.is-open .lux-nav {
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    position: fixed; inset: var(--header-h) 0 0; padding: 32px 16px 40px;
    background: var(--black); overflow-y: auto;
  }
  .lux-header.is-open.is-scrolled .lux-nav { top: var(--header-h); }
  .lux-header.is-open:not(.is-scrolled) .lux-nav { top: calc(var(--header-h) + 36px); }
  .lux-nav__list { flex-direction: column; gap: 0; }
  .lux-nav__list a { display: block; font: 400 2rem/1.2 var(--f-display); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .lux-nav__list a::after { display: none; }
  .lux-nav__extra { display: grid; gap: 12px; }
}
@media (min-width: 1100px) {
  .lux-nav { display: block; }
  .lux-nav__extra { display: none; }
  .lux-burger { display: none; }
  .lux-shoplink { display: inline-flex; }
  .lux-header__actions .lux-btn--primary { display: inline-flex; }
}

/* ---------- Hero ---------- */
.lux-hero {
  background: radial-gradient(55% 65% at 78% 48%, rgba(201, 164, 94, .13), transparent 70%), var(--black-2);
  overflow: hidden; position: relative;
  padding-top: calc(var(--header-h) + 36px + clamp(32px, 6vw, 72px));
  padding-bottom: clamp(56px, 8vw, 104px);
}
.lux-hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .lux-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 40px; } }

.lux-hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 6.75rem); line-height: 1; letter-spacing: -.025em;
}
.lux-hero__title .lux-eyebrow { display: flex; margin-bottom: 28px; letter-spacing: .2em; }
.lux-hero__title em { display: inline-block; padding-right: .06em; }
.lux-hero__text { margin-top: 28px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }
.lux-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
/* Su desktop lo shop è già nell'header: nella hero serve solo su smartphone e tablet */
@media (min-width: 1100px) { .lux-hero__shop { display: none; } }
.lux-hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--line-soft); font-size: .9375rem; color: var(--muted);
}
.lux-hero__proof b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; color: var(--gold); margin-right: 6px; }

/* La firma: foto a forma di unghia a mandorla con cornici oro sfalsate (eco del logo) */
.lux-almond {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 0C78 7 100 28 100 56V84C100 94 78 100 50 100S0 94 0 84V56C0 28 22 7 50 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 0C78 7 100 28 100 56V84C100 94 78 100 50 100S0 94 0 84V56C0 28 22 7 50 0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.lux-hero__figure { position: relative; width: min(100%, 480px); margin-inline: auto; }
.lux-hero__photo { aspect-ratio: 4 / 5; width: 100%; position: relative; z-index: 1; background: var(--surface); }
.lux-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.lux-hero__outline {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  color: var(--gold-deep); pointer-events: none;
}
.lux-hero__outline--1 { translate: -4.5% 3%; rotate: -5deg; scale: 1.02; z-index: 0; }
.lux-hero__outline--2 { translate: 5% -2.5%; rotate: 4deg; scale: 1.04; z-index: 2; color: var(--gold-light); }
.lux-hero__outline path { fill: none; stroke: currentColor; stroke-width: 1.25; }
.lux-hero__caption {
  position: absolute; z-index: 3; left: -6%; bottom: 9%;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  padding: 12px 16px; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  font-size: .8125rem; line-height: 1.35; max-width: 210px;
}
.lux-hero__caption b { display: block; font-family: var(--f-display); font-size: 1rem; font-weight: 500; font-style: italic; color: var(--gold); }
@media (max-width: 520px) { .lux-hero__caption { left: 0; bottom: 4%; } }

/* ---------- Striscia valori: una fascia d'oro come la cornice del logo ---------- */
.lux-marquee { background: var(--gold-grad); color: var(--black); overflow: hidden; padding: 18px 0; }
.lux-marquee__track { display: flex; width: max-content; animation: lux-marquee 48s linear infinite; }
.lux-marquee__track ul { display: flex; flex: none; }
.lux-marquee__track li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  font: italic 400 1.375rem/1 var(--f-display);
}
.lux-marquee__track li::after { content: "◆"; font-size: .55rem; font-style: normal; opacity: .6; }
@keyframes lux-marquee { to { transform: translateX(-50%); } }

/* ---------- Corsi ---------- */
.lux-tabs { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lux-tab {
  min-height: 44px; padding: .6em 1.3em; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lux-tab small { font-size: .75rem; opacity: .75; margin-left: 4px; }
.lux-tab:hover { color: var(--ivory); }
.lux-tab[aria-selected="true"] { background: var(--gold-grad); color: var(--black); }

.lux-courses { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 1024px) { .lux-courses { grid-template-columns: 380px 1fr; gap: 64px; align-items: start; } }

.lux-path {
  background: var(--surface); border: 1px solid rgba(201, 164, 94, .5); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px); position: relative; overflow: hidden; isolation: isolate;
}
@media (min-width: 1024px) { .lux-path { position: sticky; top: calc(var(--header-h) + 32px); } }
.lux-path::after {
  content: ""; position: absolute; z-index: -1; right: -70px; top: -90px; width: 240px; height: 300px;
  border: 1px solid var(--line); transform: rotate(14deg);
  border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
}
.lux-path__label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.lux-path__title { font: 400 2.25rem/1.05 var(--f-display); margin-top: 14px; }
.lux-path__title em { color: var(--gold); }
.lux-path__price { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; }
.lux-path__price b { font: 400 3.5rem/1 var(--f-display); letter-spacing: -.02em; }
.lux-path__rate { font-size: .9375rem; color: var(--muted); margin-top: 6px; }
.lux-path__text { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.lux-path__list { display: grid; gap: 10px; margin: 24px 0 30px; font-size: .9375rem; }
.lux-path__list li { display: flex; gap: 12px; align-items: baseline; }
.lux-path__list li::before { content: "◆"; color: var(--gold); font-size: .55rem; transform: translateY(-2px); }
.lux-path .lux-btn { width: 100%; }

.lux-menu { display: grid; gap: 44px; }
.lux-menu__title { font: italic 400 1.75rem/1.1 var(--f-display); color: var(--gold); margin-bottom: 8px; }
.lux-course {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--line-soft);
}
.lux-course:last-child { border-bottom: 1px solid var(--line-soft); }
.lux-course__name { font: 500 1.125rem/1.3 var(--f-body); }
.lux-course__tag {
  display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 9px; border-radius: 999px;
  font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(201, 164, 94, .55); color: var(--gold);
}
.lux-course__desc { grid-column: 1 / -1; color: var(--muted); font-size: .9375rem; max-width: 56ch; }
.lux-course__price { font: 400 1.75rem/1 var(--f-display); white-space: nowrap; grid-row: 1; grid-column: 2; }
.lux-course__cta { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
@media (min-width: 720px) {
  .lux-course { grid-template-columns: 1fr auto auto; }
  .lux-course__desc { grid-column: 1; grid-row: 2; }
  .lux-course__price { grid-column: 2; grid-row: 1 / 3; }
  .lux-course__cta { grid-column: 3; grid-row: 1 / 3; margin-top: 0; }
}
.lux-courses__note { margin-top: 28px; font-size: .9375rem; color: var(--muted); }

/* ---------- In aula ---------- */
.lux-aula { display: grid; gap: 56px; }
@media (min-width: 1024px) { .lux-aula { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.lux-aula__media { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
@media (min-width: 1024px) { .lux-aula__media { position: sticky; top: calc(var(--header-h) + 32px); } }
.lux-aula__media figure { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.lux-aula__media img { width: 100%; height: 100%; object-fit: cover; }
.lux-aula__media figure:first-child { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.lux-aula__media figure:not(:first-child) { aspect-ratio: 1; }
.lux-aula__media figcaption { font-size: .8125rem; color: var(--muted); padding: 10px 2px 0; }

.lux-steps { counter-reset: step; }
.lux-step { display: grid; grid-template-columns: 72px 1fr; gap: 4px 12px; padding: 30px 0; border-top: 1px solid var(--line); }
.lux-step:last-child { border-bottom: 1px solid var(--line); }
.lux-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  grid-row: span 2; font: italic 400 2.25rem/1 var(--f-display); color: var(--gold);
}
.lux-step h3 { font: 400 1.625rem/1.2 var(--f-display); color: var(--ivory); }
.lux-step p { color: var(--muted); font-size: 1rem; margin-top: 6px; }
.lux-aula__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.lux-aula__facts div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.lux-aula__facts b { display: block; font: 400 2.5rem/1 var(--f-display); color: var(--gold); }
.lux-aula__facts span { display: block; margin-top: 8px; font-size: .9375rem; color: var(--muted); }

/* ---------- Lavori (galleria) ---------- */
.lux-masonry { columns: 2; column-gap: 12px; margin-top: 40px; }
@media (min-width: 768px) { .lux-masonry { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .lux-masonry { columns: 4; } }
.lux-shot {
  display: block; width: 100%; margin-bottom: 12px; break-inside: avoid;
  border-radius: 18px; overflow: hidden; background: var(--surface); position: relative;
}
@media (min-width: 768px) { .lux-shot { margin-bottom: 16px; } }
.lux-shot img { width: 100%; transition: transform .6s var(--ease), filter .6s var(--ease); }
.lux-shot:hover img { transform: scale(1.04); }
.lux-shot::after {
  content: "+"; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--black);
  font-size: 1.25rem; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.lux-shot:hover::after, .lux-shot:focus-visible::after { opacity: 1; transform: none; }
.lux-more { display: flex; justify-content: center; margin-top: 32px; }

.lux-lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(11, 10, 8, .97); color: var(--ivory);
}
.lux-lightbox::backdrop { background: rgba(11, 10, 8, .7); }
.lux-lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lux-lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px; font-size: .875rem; }
.lux-lightbox__stage { display: grid; place-items: center; padding: 0 16px; min-height: 0; }
.lux-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lux-lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 16px 16px 24px; }
.lux-iconbtn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ivory); transition: background .2s;
}
.lux-iconbtn:hover { background: rgba(201, 164, 94, .16); }
.lux-iconbtn svg { width: 20px; height: 20px; }

/* ---------- Prodotti ---------- */
.lux-products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.lux-product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.lux-product:hover { border-color: var(--line); }
.lux-product__img { aspect-ratio: 1; background: var(--surface-2); position: relative; overflow: hidden; }
.lux-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lux-product:hover .lux-product__img img { transform: scale(1.04); }
.lux-product__badge {
  position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px;
  background: var(--black); border: 1px solid var(--line); color: var(--gold);
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.lux-product__body { padding: 22px 22px 26px; display: grid; gap: 8px; }
.lux-product__cat { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.lux-product__name { font: 400 1.5rem/1.15 var(--f-display); }
.lux-product__desc { font-size: .9375rem; color: var(--muted); }

.lux-videos { display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 860px) { .lux-videos { grid-template-columns: repeat(3, 1fr); } }
.lux-videos figure { border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 9; border: 1px solid var(--line-soft); }
.lux-videos video { width: 100%; height: 100%; object-fit: cover; }
.lux-videos__title { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 72px; }
.lux-videos__title h3, .lux-rail__title { font: 400 1.875rem/1.1 var(--f-display); }

.lux-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-top: 24px;
  scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent;
}
.lux-rail li { scroll-snap-align: start; }
.lux-rail figure { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; height: 100%; }
.lux-rail img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.lux-rail figcaption { padding: 12px 14px 16px; font-size: .875rem; color: var(--muted); line-height: 1.4; }
.lux-rail figcaption b { display: block; color: var(--ivory); font-weight: 500; font-size: .9375rem; }

.lux-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.lux-badges li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .8125rem; font-weight: 500; color: var(--gold-light); }

.lux-shopband {
  display: grid; gap: 24px; margin-top: 64px; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 900px) { .lux-shopband { grid-template-columns: 1fr auto; align-items: center; } }
.lux-shopband h3 { font: 400 clamp(1.75rem, 3vw, 2.375rem)/1.1 var(--f-display); }
.lux-shopband p { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.lux-shopband__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Recensioni ---------- */
.lux-reviews { columns: 1; column-gap: 20px; }
@media (min-width: 760px) { .lux-reviews { columns: 2; } }
@media (min-width: 1100px) { .lux-reviews { columns: 3; } }
.lux-review {
  break-inside: avoid; margin-bottom: 20px; padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); background: var(--surface);
}
.lux-review blockquote { font: italic 400 1.3125rem/1.45 var(--f-display); color: var(--ivory); }
.lux-review blockquote::before { content: "“"; display: block; height: .45em; font: 400 4.5rem/1 var(--f-display); color: var(--gold); margin-bottom: 14px; }
.lux-review figcaption { margin-top: 20px; font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.lux-review figcaption span { color: var(--muted); letter-spacing: .04em; text-transform: none; margin-left: 6px; }

/* ---------- Docenti ---------- */
.lux-team { display: grid; gap: 20px; }
@media (min-width: 960px) { .lux-team { grid-template-columns: 1.05fr 1.95fr; align-items: stretch; } }
.lux-mono { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; width: 64px; flex: none; color: var(--gold); }
.lux-mono svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lux-mono path { fill: none; stroke: currentColor; stroke-width: 1.25; }
.lux-mono b { position: relative; font: italic 400 1.25rem/1 var(--f-display); color: var(--ivory); padding-top: 14%; }

.lux-lead-teacher {
  background: var(--surface); border: 1px solid rgba(201, 164, 94, .5); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px;
}
.lux-lead-teacher .lux-mono { width: 96px; }
.lux-lead-teacher .lux-mono b { font-size: 1.75rem; }
.lux-role { font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.lux-lead-teacher h3 { font: 400 2.25rem/1.05 var(--f-display); }
.lux-lead-teacher p { color: var(--muted); }
.lux-lead-teacher .lux-place { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ivory); }

.lux-teachers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.lux-teacher { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.lux-teacher h3 { font: 400 1.375rem/1.15 var(--f-display); margin-top: 4px; }
.lux-place { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.lux-teacher--cta { background: transparent; border: 1px dashed var(--line); flex-direction: column; align-items: flex-start; justify-content: center; }
.lux-teacher--cta p { font-size: .9375rem; color: var(--muted); }
.lux-teacher--cta strong { color: var(--ivory); font-weight: 500; }

/* ---------- FAQ ---------- */
.lux-faq { display: grid; gap: 40px; }
@media (min-width: 960px) { .lux-faq { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.lux-faq__list details { border-top: 1px solid var(--line-soft); }
.lux-faq__list details:last-child { border-bottom: 1px solid var(--line-soft); }
.lux-faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer;
  padding: 22px 0; list-style: none; font: 400 1.3125rem/1.3 var(--f-display); transition: color .25s;
}
.lux-faq__list summary:hover { color: var(--gold-light); }
.lux-faq__list summary::-webkit-details-marker { display: none; }
.lux-faq__list summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.lux-faq__list details[open] summary::after { transform: rotate(45deg); background-color: rgba(201, 164, 94, .14); }
.lux-faq__list details p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- Contatti + form ---------- */
.lux-contact { display: grid; gap: 48px; }
@media (min-width: 1024px) { .lux-contact { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.lux-gets { display: grid; gap: 14px; margin-top: 32px; }
.lux-gets li { display: flex; gap: 14px; align-items: baseline; font-size: 1.0625rem; }
.lux-gets li::before { content: "◆"; color: var(--gold); font-size: .6rem; transform: translateY(-2px); }
.lux-channels { display: grid; gap: 12px; margin-top: 40px; }
.lux-channel {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px;
  border: 1px solid var(--line); transition: border-color .25s, background-color .25s;
}
.lux-channel:hover { border-color: var(--gold); background: rgba(201, 164, 94, .06); }
.lux-channel svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.lux-channel small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lux-channel span { font-weight: 500; }
.lux-where { display: grid; gap: 28px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .lux-where { grid-column: 1 / -1; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; } }
.lux-where h3 { font: 400 2.25rem/1.1 var(--f-display); color: var(--ivory); }
.lux-map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--line-soft); }
.lux-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.5) contrast(1.05); }
.lux-address { margin-top: 16px; font-style: normal; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.lux-address strong { color: var(--ivory); font-weight: 500; }

.lux-formcard {
  background: var(--surface); color: var(--ivory); border: 1px solid rgba(201, 164, 94, .45); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.lux-progress { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .8125rem; color: var(--muted); }
.lux-progress b { color: var(--ivory); font-weight: 500; }
.lux-progress__bar { height: 3px; border-radius: 3px; background: var(--surface-2); margin: 12px 0 28px; overflow: hidden; }
.lux-progress__bar i { display: block; height: 100%; width: 33.33%; background: var(--gold-grad); transition: width .45s var(--ease); }

.lux-step-panel[hidden] { display: none; }
.lux-step-panel legend, .lux-q { font: 400 clamp(1.5rem, 2.6vw, 1.875rem)/1.15 var(--f-display); margin-bottom: 18px; }
.lux-q--sm { font-size: 1.25rem; margin: 26px 0 12px; }

.lux-choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .lux-choices--2 { grid-template-columns: 1fr 1fr; } }
.lux-choice { position: relative; display: block; cursor: pointer; }
.lux-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lux-choice__box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px 18px 16px 48px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface-2);
  position: relative; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.lux-choice__box::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #7d7466; background: var(--field); transition: border .2s, box-shadow .2s;
}
.lux-choice__box b { font-weight: 500; }
.lux-choice__box small { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.lux-choice:hover .lux-choice__box { border-color: var(--line); }
.lux-choice input:checked + .lux-choice__box { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(201, 164, 94, .08); }
.lux-choice input:checked + .lux-choice__box::before { border: 5px solid var(--gold); }
.lux-choice input:focus-visible + .lux-choice__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.lux-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lux-chip { position: relative; }
.lux-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lux-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .55em 1.1em; border-radius: 999px;
  border: 1px solid var(--line-soft); background: var(--surface-2); font-size: .9375rem; transition: all .2s;
}
.lux-chip:hover span { border-color: var(--line); }
.lux-chip input:checked + span { background: var(--gold-grad); border-color: var(--gold); color: var(--black); }
.lux-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.lux-fields { display: grid; gap: 16px; }
@media (min-width: 560px) { .lux-fields--2 { grid-template-columns: 1fr 1fr; } }
.lux-field { display: grid; gap: 6px; }
.lux-field label, .lux-label { font-size: .875rem; font-weight: 500; }
.lux-field label span, .lux-label span { color: var(--muted); font-weight: 400; }
.lux-input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-soft);
  background: var(--field); color: var(--ivory); font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.lux-input::placeholder { color: #857b6c; }
.lux-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 94, .2); }
textarea.lux-input { min-height: 104px; resize: vertical; }
select.lux-input {
  padding-right: 44px;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9a45e' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right 18px center / 12px no-repeat;
}
select.lux-input option, select.lux-input optgroup { background: var(--surface); color: var(--ivory); }
.lux-input[aria-invalid="true"] { border-color: var(--error); }
.lux-error { font-size: .8125rem; color: var(--error); min-height: 0; }
.lux-error:empty { display: none; }

.lux-check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.lux-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--gold); cursor: pointer; }
.lux-check a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; }

.lux-form__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.lux-form__nav .lux-btn--primary { margin-left: auto; }
.lux-back { font-size: .9375rem; font-weight: 500; color: var(--muted); padding: 12px 4px; }
.lux-back:hover { color: var(--ivory); }
.lux-form__fine { margin-top: 18px; font-size: .8125rem; color: var(--muted); text-align: center; }
.lux-form__status { margin-top: 16px; font-size: .9375rem; }
.lux-form__status:empty { display: none; }
.lux-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.lux-footer { background: var(--black-2); color: var(--muted); padding: 72px 0 120px; font-size: .9375rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .lux-footer { padding-bottom: 112px; } }
.lux-footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .lux-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.lux-footer__logo { width: 112px; }
.lux-footer h2 { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.lux-footer li + li { margin-top: 10px; }
.lux-footer a { transition: color .25s; }
.lux-footer a:hover { color: var(--gold-light); }
.lux-footer address { font-style: normal; line-height: 1.7; }
.lux-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line-soft); font-size: .8125rem; color: var(--muted);
}

/* ---------- WhatsApp + barra mobile ---------- */
.lux-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 55; display: none; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 500;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); transition: transform .25s var(--ease);
}
.lux-wa:hover { transform: translateY(-2px); }
.lux-wa.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); }
.lux-wa svg { width: 30px; height: 30px; }
@media (min-width: 900px) { .lux-wa { display: inline-flex; } }

.lux-mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 10, 8, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.lux-mbar.is-visible { transform: none; }
.lux-mbar .lux-btn { min-height: 48px; }
.lux-mbar__wa { background: #25d366; color: #fff; padding-inline: 18px; }
.lux-mbar__wa svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .lux-mbar { display: none; } }

/* ---------- Pagina grazie ---------- */
.lux-thanks { min-height: 100dvh; display: grid; align-items: center; padding-block: 140px 80px; }
.lux-thanks__box { max-width: 760px; }
.lux-thanks__box .lux-h2, .lux-thanks__box .lux-lead { margin-top: 20px; }
.lux-thanks .lux-steps { margin-top: 48px; }

/* ---------- Animazioni ---------- */
/* Le cornici partono allineate alla foto e ruotano fino alla posizione sfalsata del logo */
.lux-hero__outline { animation: lux-settle 1.8s cubic-bezier(.65, 0, .35, 1) .4s both; }
.lux-hero__outline--2 { animation-delay: .65s; }
@keyframes lux-settle { from { opacity: 0; rotate: 0deg; translate: 0 0; scale: 1; } }
.lux-hero__photo { animation: lux-rise 1.3s var(--ease) both; }
.lux-hero__copy > * { animation: lux-rise 1s var(--ease) both; }
.lux-hero__copy > :nth-child(2) { animation-delay: .12s; }
.lux-hero__copy > :nth-child(3) { animation-delay: .22s; }
.lux-hero__copy > :nth-child(4) { animation-delay: .32s; }
@keyframes lux-rise { from { opacity: 0; transform: translateY(22px); } }

html.lux-js .lux-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.lux-js .lux-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lux *, .lux *::before, .lux *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.lux-js .lux-reveal { opacity: 1; transform: none; }
}

/* ---------- Utility di layout ---------- */
.lux [hidden] { display: none !important; }
.lux [id] { scroll-margin-top: calc(var(--header-h) + 20px); }
html:has(.lux) { scroll-behavior: smooth; }
.lux-head__side { display: grid; gap: 20px; }
.lux-head--flush { margin-bottom: 0; }
.lux-aula__cta { margin-top: 32px; }
.lux-rail__title { margin-top: 72px; }
.lux-field--spaced { margin-top: 22px; }
.lux-label + .lux-chips { margin-top: 8px; }
.lux-footer__about { margin-top: 18px; max-width: 34ch; }
.lux-tabs { scroll-margin-top: calc(var(--header-h) + 24px); }
.lux legend[tabindex="-1"]:focus { outline: none; }

/* ---------- Pagine dedicate ai corsi ---------- */
.lux-hero--page .lux-hero__title { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.04; }
.lux-hero--page .lux-hero__figure { width: min(100%, 430px); }
.lux-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .8125rem; color: var(--muted); list-style: none; }
.lux-crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gold); }
.lux-crumbs a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.lux-crumbs a:hover { color: var(--gold-light); }
.lux-hero__facts { display: grid; gap: 10px; margin-top: 36px; font-size: 1rem; }
.lux-hero__facts li { display: flex; gap: 12px; align-items: baseline; }
.lux-hero__facts li::before { content: "◆"; color: var(--gold); font-size: .55rem; transform: translateY(-2px); }
.lux-hero__where { display: flex; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: .9375rem; color: var(--muted); }
.lux-hero__where svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }

.lux-profiles { display: grid; gap: 16px; }
@media (min-width: 900px) { .lux-profiles { grid-template-columns: repeat(3, 1fr); } }
.lux-profile { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lux-profile h3 { font: 400 1.75rem/1.15 var(--f-display); color: var(--ivory); }
.lux-profile p { color: var(--muted); font-size: 1rem; }
.lux-profile ul { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.lux-chiplink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: .5em 1em; border-radius: 999px;
  border: 1px solid var(--line); font-size: .875rem; color: var(--ivory); transition: border-color .2s, background-color .2s;
}
.lux-chiplink b { font-weight: 500; color: var(--gold); white-space: nowrap; }
.lux-chiplink:hover { border-color: var(--gold); background: rgba(201, 164, 94, .1); }

.lux-head + .lux-courses, .lux-head + [data-lux-gallery] .lux-masonry { margin-top: 0; }
.lux-courses__more { padding-top: 4px; }

/* ---------- Pagine legali e 404 ---------- */
.lux-legal { padding-top: calc(var(--header-h) + 36px + clamp(40px, 6vw, 80px)); padding-bottom: clamp(72px, 10vw, 128px); }
.lux-legal__wrap { max-width: 860px; }
.lux-legal__updated { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.lux-legal__body { margin-top: 36px; }
.lux-legal__body > p, .lux-legal__body li, .lux-legal__body td { color: var(--muted); }
.lux-legal__body > * + * { margin-top: 14px; }
.lux-legal__body h2 { font: 400 1.75rem/1.2 var(--f-display); color: var(--ivory); margin-top: 48px; }
.lux-legal__body ul { display: grid; gap: 10px; }
.lux-legal__body li { position: relative; padding-left: 22px; }
.lux-legal__body li::before { content: "◆"; position: absolute; left: 0; top: .55em; color: var(--gold); font-size: .5rem; }
.lux-legal__body strong { color: var(--ivory); font-weight: 500; }
.lux-legal__body a:not(.lux-btn):not(.lux-link) { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.lux-legal__body a:not(.lux-btn):not(.lux-link):hover { color: var(--gold-light); }
.lux-legal__box { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lux-legal__box p { color: var(--muted); line-height: 1.8; }
.lux-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.lux-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.lux-table-wrap th, .lux-table-wrap td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.lux-table-wrap tr:last-child td { border-bottom: 0; }
.lux-table-wrap th { color: var(--gold); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; background: var(--surface); }
.lux-todo { padding: 0 .35em; border-radius: 4px; background: rgba(240, 144, 126, .16); color: var(--error); font-style: normal; }

/* ---------- Mappa a due clic ---------- */
.lux-map__consent {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
  background: radial-gradient(80% 80% at 50% 0%, rgba(201, 164, 94, .1), transparent 70%), var(--surface);
  color: var(--muted); font-size: .9375rem;
}
.lux-map__consent svg { width: 30px; height: 30px; color: var(--gold); }
.lux-map__consent p { max-width: 44ch; }
.lux-map__consent p a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.lux-map__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; }

/* ---------- Orari ---------- */
.lux-hours__title { margin-top: 28px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.lux-hours { display: grid; gap: 8px; margin-top: 12px; font-size: .9375rem; }
.lux-hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.lux-hours dt { color: var(--ivory); }
.lux-hours dd { margin: 0; color: var(--muted); text-align: right; }
.lux-hours--compact { margin-top: 16px; gap: 4px; font-size: .875rem; }
.lux-hours--compact div { display: block; padding: 0; border: 0; }
.lux-hours--compact dt { display: inline; color: var(--ivory); }
.lux-hours--compact dt::after { content: ": "; }
.lux-hours--compact dd { display: inline; text-align: left; }

/* ---------- Social ---------- */
.lux-social { display: flex; gap: 10px; margin-top: 22px; }
.lux-social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--gold); transition: border-color .25s, background-color .25s, color .25s;
}
.lux-social a:hover { border-color: var(--gold); background: rgba(201, 164, 94, .1); color: var(--gold-light); }
.lux-social svg { width: 18px; height: 18px; }

/* ---------- Footer: dati legali e link ---------- */
.lux-footer__bottom p { max-width: 100%; }
.lux-footer__bottom a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.lux-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.lux-thanks .lux-hours__title + .lux-steps { margin-top: 16px; }

/* ---------- Spazio per il badge "Powered by Netlify" (in basso a destra) ---------- */
html.lux-has-badge .lux-wa { bottom: calc(var(--lux-badge-h, 64px) + 16px); }
html.lux-has-badge .lux-footer { padding-bottom: calc(var(--lux-badge-h, 64px) + 104px); }
@media (max-width: 899px) {
  html.lux-has-badge .lux-mbar {
    left: 12px; right: 12px; bottom: calc(var(--lux-badge-h, 64px) + 4px);
    padding: 8px; border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .9);
    transform: translateY(calc(100% + var(--lux-badge-h, 64px) + 16px));
  }
  html.lux-has-badge .lux-mbar.is-visible { transform: none; }
}
