/* ============================================================
   PAGINE FORMAT + CHI SIAMO — layer grafico dedicato
   (namespace .yx- per non collidere con il CSS Webflow)
   Palette ufficiale dal file "Codici colore" del brand:
   Yolomitas #EF2A16 · Blue Night #000222/#00043B ·
   En Plein Art #A1285E/#772456 · Wine&Country #DA9024/#B57015 ·
   Retro #321A2A/#1F0D18 · Neri #171616/#242525
   ============================================================ */

:root {
  --yx-serif: pf-marlet-display, Caudex, Georgia, serif;
  --yx-sans: Karla, Arial, sans-serif;
  --yx-disp: Poiretone, 'Poiret One', Arial, sans-serif;
}

/* ---------- Temi (classe sul body) ---------- */
.yx-bn {                       /* The Blue Night */
  --yx-bg: #020318;
  --yx-bg-2: #00043b;
  --yx-s: rgba(35, 44, 118, .22);
  --yx-line: rgba(141, 156, 255, .28);
  --yxa: #9daaff;              /* accento leggibile su scuro */
  --yxa-solid: #2b3aa8;        /* accento pieno per superfici */
  --yxa-deep: #000222;
}
.yx-epa {                      /* En Plein ART */
  --yx-bg: #190a13;
  --yx-bg-2: #2b0f1f;
  --yx-s: rgba(161, 40, 94, .16);
  --yx-line: rgba(232, 120, 172, .30);
  --yxa: #e878ac;
  --yxa-solid: #a1285e;
  --yxa-deep: #4b1332;
}
.yx-wc {                       /* Wine & Country */
  --yx-bg: #191207;
  --yx-bg-2: #2a1d0c;
  --yx-s: rgba(218, 144, 36, .13);
  --yx-line: rgba(218, 144, 36, .35);
  --yxa: #da9024;
  --yxa-solid: #b57015;
  --yxa-deep: #4e3007;
}
.yx-cs {                       /* Chi Siamo (rosso Yolomitas) */
  --yx-bg: #171616;
  --yx-bg-2: #242525;
  --yx-s: rgba(239, 42, 22, .10);
  --yx-line: rgba(239, 42, 22, .38);
  --yxa: #ef2a16;              /* rosso brand ufficiale, coordinato con --red */
  --yxa-solid: #ef2a16;
  --yxa-deep: #571007;
}

body.yx { background-color: var(--yx-bg); }

/* ---------- Tipografia di base ---------- */
.yx-kicker {
  color: var(--yxa);
  font-family: var(--yx-disp);
  font-size: 15px;
  letter-spacing: .35em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.yx-h2 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 18px;
}
.yx-acc { color: var(--yxa); }
.yx-p {
  color: rgba(255, 255, 255, .82);
  font-family: var(--yx-sans);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.yx-p strong { color: #fff; }
.yx-eyebrow-rule {
  background: var(--yxa);
  width: 64px;
  height: 2px;
  margin-bottom: 26px;
}

/* ---------- Struttura ---------- */
.yx-section { padding: clamp(72px, 10vw, 130px) 30px; }
.yx-section--alt { background-color: var(--yx-bg-2); }
.yx-wrap { max-width: 1140px; margin: 0 auto; }
.yx-wrap--narrow { max-width: 820px; margin: 0 auto; }
.yx-center { text-align: center; }
.yx-center .yx-eyebrow-rule { margin-left: auto; margin-right: auto; }

/* ---------- Bottoni ---------- */
.yx-btn {
  display: inline-block;
  background: var(--yxa-solid);
  color: #fff;
  font-family: var(--yx-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.yx-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); }
.yx-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.yx-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.yx-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- HERO ---------- */
.yx-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 90px;
}
.yx-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.yx-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 40%, var(--yx-bg) 100%),
    radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0) 0%, var(--yxa-deep) 130%);
  opacity: .92;
}
.yx-hero > .yx-hero-content { position: relative; z-index: 2; max-width: 860px; }
.yx-hero-logo {
  width: min(400px, 72vw);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .55));
}
.yx-hero-title-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.yx-hero-h1 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 18px;
}
.yx-hero-tag {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 14px;
}
.yx-hero-sub {
  color: rgba(255, 255, 255, .85);
  font-family: var(--yx-sans);
  font-size: 17px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 30px;
}
.yx-hero .yx-btn-row { justify-content: center; }
.yx-hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: .8;
}
.yx-hero-scroll img { animation: yx-float 2.4s ease-in-out infinite; }
@keyframes yx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- INTRO editoriale (citazione + testo) ---------- */
.yx-intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.yx-intro-mark {
  color: var(--yxa);
  font-family: var(--yx-serif);
  font-size: clamp(90px, 12vw, 150px);
  line-height: .6;
  display: block;
  margin-bottom: 8px;
}
.yx-intro-statement {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  margin: 0;
}
.yx-intro-body .yx-p:first-child::first-letter {
  color: var(--yxa);
  font-family: var(--yx-serif);
  font-size: 66px;
  line-height: .9;
  float: left;
  padding: 6px 12px 0 0;
}

/* ---------- CARDS delle arti / servizi ---------- */
.yx-arts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.yx-art {
  background: var(--yx-s);
  border: 1px solid rgba(255, 255, 255, .09);
  border-top: 2px solid var(--yx-line);
  padding: 30px 26px 28px;
  text-align: left;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.yx-art:hover { transform: translateY(-5px); border-top-color: var(--yxa); }
.yx-art svg { width: 42px; height: 42px; color: var(--yxa); margin-bottom: 16px; }
.yx-art h3 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: 21px;
  font-weight: 400;
  margin: 0 0 10px;
}
.yx-art p {
  color: rgba(255, 255, 255, .72);
  font-family: var(--yx-sans);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- TIMELINE della serata ---------- */
.yx-timeline { max-width: 760px; margin: 44px auto 0; position: relative; }
.yx-timeline::before {
  content: '';
  position: absolute;
  top: 6px; bottom: 6px; left: 11px;
  width: 1px;
  background: linear-gradient(180deg, var(--yxa) 0%, var(--yx-line) 100%);
}
.yx-step { position: relative; padding: 0 0 40px 56px; }
.yx-step:last-child { padding-bottom: 0; }
.yx-step::before {
  content: '';
  position: absolute;
  left: 4px; top: 6px;
  width: 15px; height: 15px;
  border: 2px solid var(--yxa);
  border-radius: 50%;
  background: var(--yx-bg);
}
.yx-step-label {
  color: var(--yxa);
  font-family: var(--yx-disp);
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.yx-step h3 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
}
.yx-step p {
  color: rgba(255, 255, 255, .75);
  font-family: var(--yx-sans);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- MOSAICO fotografico ---------- */
.yx-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
  margin-top: 44px;
}
.yx-mosaic figure { position: relative; margin: 0; overflow: hidden; }
.yx-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.yx-mosaic figure:hover img { transform: scale(1.045); }
.yx-mosaic figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  color: rgba(255, 255, 255, .92);
  font-family: var(--yx-sans);
  font-size: 13px;
  letter-spacing: .04em;
}
.yx-m-a { grid-column: span 7; grid-row: span 2; }
.yx-m-b { grid-column: span 5; grid-row: span 1; }
.yx-m-c { grid-column: span 5; grid-row: span 1; }
.yx-m-d { grid-column: span 4; grid-row: span 1; }
.yx-m-e { grid-column: span 8; grid-row: span 1; }

/* ---------- EDIZIONI passate ---------- */
.yx-editions { margin-top: 20px; }
.yx-edition {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 40px 0;
}
.yx-edition:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.yx-year {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yxa);
  font-family: var(--yx-serif);
  font-size: clamp(54px, 7vw, 84px);
  line-height: 1;
  letter-spacing: .02em;
}
.yx-edition h3 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: 25px;
  font-weight: 400;
  margin: 4px 0 10px;
}
.yx-edition p {
  color: rgba(255, 255, 255, .78);
  font-family: var(--yx-sans);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.yx-edition p strong { color: #fff; }

/* ---------- NUMERI ---------- */
.yx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}
.yx-stat-n {
  color: var(--yxa);
  font-family: var(--yx-serif);
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.yx-stat-l {
  color: rgba(255, 255, 255, .78);
  font-family: var(--yx-sans);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- PANNELLI "per chi è pensata" ---------- */
.yx-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.yx-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  padding: 30px;
  text-decoration: none;
  overflow: hidden;
  background-size: cover;
  background-position: 50%;
}
.yx-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .82) 82%);
  transition: background .35s ease;
}
.yx-panel:hover::before { background: linear-gradient(200deg, rgba(0, 0, 0, .0) 0%, var(--yxa-deep) 96%); }
.yx-panel-txt { position: relative; }
.yx-panel-txt .yx-panel-k {
  color: var(--yxa);
  font-family: var(--yx-disp);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.yx-panel-txt h3 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 6px;
}
.yx-panel-txt span.yx-panel-cta {
  color: rgba(255, 255, 255, .85);
  font-family: var(--yx-sans);
  font-size: 14px;
}
.yx-panel-txt span.yx-panel-cta::after { content: ' →'; color: var(--yxa); }

/* ---------- CITAZIONE ---------- */
.yx-quote {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.yx-quote-mark {
  color: var(--yxa);
  font-family: var(--yx-serif);
  font-size: 110px;
  line-height: .35;
  display: block;
  margin-bottom: 30px;
}
.yx-quote blockquote {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: clamp(26px, 3.6vw, 42px);
  font-style: italic;
  line-height: 1.3;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.yx-quote figcaption {
  color: var(--yxa);
  font-family: var(--yx-disp);
  font-size: 14px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

/* ---------- FASCIA CTA ---------- */
.yx-cta {
  background:
    linear-gradient(120deg, var(--yxa-deep) 0%, var(--yxa-solid) 100%);
  text-align: center;
  padding: clamp(70px, 9vw, 110px) 30px;
}
.yx-cta h2 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 400;
  margin: 0 0 14px;
}
.yx-cta p {
  color: rgba(255, 255, 255, .88);
  font-family: var(--yx-sans);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 30px;
}
.yx-cta .yx-btn { background: #fff; color: #171616; }
.yx-cta .yx-btn:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }

/* ---------- TEAM (chi siamo) ---------- */
.yx-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.yx-member {
  background: var(--yx-bg-2);
  border: 1px solid rgba(255, 255, 255, .09);
  padding: 36px 30px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease;
}
.yx-member:hover { transform: translateY(-5px); border-color: var(--yx-line); }
.yx-monogram {
  width: 84px; height: 84px;
  margin: 0 auto 20px;
  border: 1px solid var(--yxa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yxa);
  font-family: var(--yx-serif);
  font-size: 30px;
  letter-spacing: .05em;
}
.yx-member h3 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: 23px;
  font-weight: 400;
  margin: 0 0 4px;
}
.yx-role {
  color: var(--yxa);
  font-family: var(--yx-disp);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.yx-member p {
  color: rgba(255, 255, 255, .75);
  font-family: var(--yx-sans);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- CARD FORMAT (rimando alle 4 pagine) ---------- */
.yx-formats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.yx-format-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.05;
  background-size: cover;
  background-position: 50% 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.yx-format-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.yx-format-card span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  color: #fff;
  font-family: var(--yx-sans);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- RIGHE alternate numerate (zig-zag editoriale) ---------- */
.yx-zig { display: grid; gap: clamp(50px, 8vw, 90px); margin-top: 54px; }
.yx-zrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.yx-zrow--flip .yx-zimg { order: -1; }
.yx-znum {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yxa);
  font-family: var(--yx-serif);
  font-size: clamp(50px, 6vw, 76px);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.yx-ztxt h3 {
  color: #fff;
  font-family: var(--yx-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin: 0 0 12px;
}
.yx-ztxt p {
  color: rgba(255, 255, 255, .78);
  font-family: var(--yx-sans);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.yx-ztxt p strong { color: #fff; }
.yx-zimg { position: relative; }
.yx-zimg img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
}
.yx-zimg::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--yx-line);
  z-index: -1;
}
@media (max-width: 820px) {
  .yx-zrow { grid-template-columns: 1fr; }
  .yx-zrow--flip .yx-zimg { order: 0; }
  .yx-zimg::after { display: none; }
}

/* ---------- Reveal allo scroll (solo se JS attivo) ---------- */
html.yx-js .yx-r {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
html.yx-js .yx-r.yx-in { opacity: 1; transform: none; }
html.yx-js .yx-r2 { transition-delay: .12s; }
html.yx-js .yx-r3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html.yx-js .yx-r { opacity: 1; transform: none; transition: none; }
  .yx-hero-scroll img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .yx-intro { grid-template-columns: 1fr; gap: 28px; }
  .yx-mosaic { grid-auto-rows: 190px; }
  .yx-m-a, .yx-m-b, .yx-m-c, .yx-m-d, .yx-m-e { grid-column: span 6; }
  .yx-m-a { grid-row: span 2; }
}
@media (max-width: 640px) {
  .yx-section { padding-left: 22px; padding-right: 22px; }
  .yx-hero { min-height: 86vh; padding-top: 120px; }
  .yx-edition { grid-template-columns: 1fr; gap: 6px; }
  .yx-edition .yx-year { font-size: 52px; }
  .yx-mosaic { grid-auto-rows: 230px; }
  .yx-m-a, .yx-m-b, .yx-m-c, .yx-m-d, .yx-m-e { grid-column: span 12; grid-row: span 1; }
  .yx-step { padding-left: 44px; }
}

/* --- Video YouTube (embed responsive 16:9) — aggiunto 2026-07 --- */
.yx-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  max-width: 980px;
  margin: 40px auto 0;
}
.yx-video {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.yx-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yx-video-cap {
  margin-top: 12px;
  text-align: center;
  font-family: var(--yx-disp);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  opacity: .8;
}

/* --- Tema Retro (anni '20 / art déco) — aggiunto 2026-07 --- */
.yx-retro {
  --yx-bg: #1b0c15;
  --yx-bg-2: #2c1723;
  --yx-s: rgba(210, 170, 100, .12);
  --yx-line: rgba(214, 178, 112, .32);
  --yxa: #e8c583;              /* oro art déco leggibile su scuro */
  --yxa-solid: #b8905a;
  --yxa-deep: #3a2418;
}

/* --- Eventi Personalizzati: kicker hero + lista tag arti — 2026-07 --- */
.yx-hero-kick {
  font-family: var(--yx-disp);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .82rem;
  color: var(--yxa);
  margin-bottom: 14px;
}
.yx-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 34px auto 0;
}
.yx-tags span {
  border: 1px solid var(--yx-line);
  color: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--yx-sans);
  font-size: .92rem;
  background: rgba(255,255,255,.03);
}

/* --- Redesign blocco video (2026-07-07): card con cornice, caption integrata --- */
.yx-videos {
  align-items: stretch;
}
.yx-vcard {
  border: 1px solid var(--yx-line);
  background: var(--yx-s);
  border-radius: 16px;
  padding: 14px 14px 0;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease;
}
.yx-vcard:hover { transform: translateY(-4px); border-color: var(--yxa); }
.yx-vcard .yx-video {
  border-radius: 10px;
  box-shadow: none;
}
.yx-vcard .yx-video-cap {
  margin: 0;
  padding: 14px 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.yx-vcard .yx-video-cap::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--yxa);
}
.yx-vcard .yx-video-cap::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--yxa);
}

/* --- Sezione form Tally a tema (yx-form) — 2026-07-07 --- */
.yx-form { background-color: var(--yx-bg-2); }
.yx-form-sub {
  color: #fff;
  opacity: .82;
  font-family: var(--yx-sans);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 34px;
}
.yx-form-card {
  background: #fff;
  border-radius: 18px;
  max-width: 780px;
  margin: 0 auto;
  padding: 30px 26px 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.yx-form-card iframe { display: block; width: 100%; border: 0; }

/* --- Titolo déco per la hero Retro (al posto del logo con sfondo) --- */
.yx-deco-word {
  font-family: var(--yx-disp);
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  letter-spacing: .34em;
  text-indent: .34em;
  color: var(--yxa);
  line-height: 1;
  margin-bottom: 18px;
}

/* --- Hero slim (pagine di servizio, es. Contatti) --- */
.yx-hero--slim {
  min-height: 0;
  height: auto;
  padding: 150px 24px 70px;
}

/* caption video: più contrasto dentro le card */
.yx-vcard .yx-video-cap { color: #fff; opacity: .8; }

/* --- Leggibilità 2026-07-07: testi più grandi su tutto il layer yx --- */
.yx-p { font-size: 19px; line-height: 1.75; }
.yx-art p { font-size: 16.5px; line-height: 1.65; }
.yx-step p { font-size: 17.5px; line-height: 1.7; }
.yx-edition p { font-size: 17.5px; line-height: 1.7; }
.yx-stat-l { font-size: 16px; }
.yx-form-sub { font-size: 17.5px; }
.yx-ztxt p { font-size: 17.5px; line-height: 1.7; }
.yx-hero-sub { font-size: 18.5px; line-height: 1.65; }
.yx-panel-txt h3 { font-size: 22px; }
.yx-video-cap { font-size: .9rem; }
