/* Matside Padova – bianco e nero, grana da pellicola, titoli condensati */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --black: #0b0b0b;
  --white: #fff;
  --paper: #f4f3f0;
  --gray: #8a8a8a;
  --line: #e2e1dd;
  --red: #d6202c;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, -apple-system, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.cond { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: .95; }
.eyebrow { font-family: var(--cond); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: 14px; color: var(--gray); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Foto "da pellicola": bianco e nero + grana */
.film { position: relative; overflow: hidden; background: #111; isolation: isolate; }
.film img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.92); }
.film::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .35; mix-blend-mode: overlay;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px;
  background: var(--black); color: var(--white);
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  border: 2px solid var(--black);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.light:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.btn.outline { background: transparent; color: var(--black); }
.btn.outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ===================== LANDING (index) ===================== */
.landing {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 24px; gap: 24px;
  background: var(--white);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-height: 0; }
.split a { position: relative; display: block; min-height: 420px; }
.split .film img { position: absolute; inset: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.split a:hover .film img { transform: scale(1.04); filter: grayscale(.15) contrast(1.05); }
.split .film { position: absolute; inset: 0; }
.tagbox {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  background: var(--black); color: var(--white);
  padding: 12px 26px 10px;
  font-family: var(--cond); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; text-align: center;
  transition: background .25s;
}
.tagbox small { display: block; font-weight: 500; font-size: .5em; letter-spacing: .18em; color: #bdbdbd; margin-top: 2px; }
.split a:hover .tagbox { background: var(--red); }
.split a:hover .tagbox small { color: #fff; }
.logobox {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 128px; height: 96px; background: var(--black);
  display: grid; place-items: center; padding: 12px;
}
.logobox img { width: 100%; height: auto; }
.landing-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--gray);
}
.landing-foot a:hover { color: var(--black); }
.landing-foot nav { display: flex; gap: 22px; }

/* ===================== PAGINE SEDE ===================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 72px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--black); color: var(--white);
}
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .brand img { height: 46px; width: auto; }
.nav .brand span { font-family: var(--cond); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: #bdbdbd; }
.nav ul { list-style: none; display: flex; align-items: center; }
.nav li + li::before { content: "|"; color: #555; margin: 0 16px; }
.nav ul a { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--red); }
.nav-toggle { display: none; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s, opacity .2s; }

.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--white); }
.hero .film { position: absolute; inset: 0; }
.hero .film img { filter: grayscale(1) contrast(1.1) brightness(.45); }
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 96px 16px 48px;
}
.hero h1 { font-size: clamp(46px, 8vw, 110px); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { max-width: 520px; margin: 18px auto 30px; color: #d9d9d9; font-size: 18px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  font-family: var(--cond); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: #bdbdbd;
}

.band { background: var(--paper); border-bottom: 1px solid var(--line); }
.band .container { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; padding: 34px 0; text-align: center; }
.band p { max-width: 720px; font-size: 18px; }
.band .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

section.block { padding: 96px 0; }
.block-head { text-align: center; margin-bottom: 48px; }
.block-head h2 { font-size: clamp(38px, 5vw, 64px); margin-top: 8px; }

/* Orari */
.week { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--black); }
.day { padding: 22px 16px 26px; border-right: 1px solid var(--line); min-height: 220px; }
.day:last-child { border-right: 0; }
.day h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 24px; letter-spacing: .04em; }
.day.today h3::after { content: "Oggi"; margin-left: 8px; font-size: 12px; letter-spacing: .14em; background: var(--red); color: #fff; padding: 2px 6px 1px; vertical-align: middle; }
.day.off { background: repeating-linear-gradient(135deg, transparent 0 10px, #f3f3f3 10px 11px); }
.day.off p { color: var(--gray); margin-top: 14px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; }
.slot { margin-top: 16px; }
.slot time { display: block; font-weight: 600; font-size: 17px; }
.pill {
  display: inline-block; margin-top: 4px;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px;
  padding: 2px 8px 1px; border: 1.5px solid var(--black);
}
.pill.gi { background: var(--black); color: var(--white); }
.pill.mix { border-color: var(--red); color: var(--red); }
.week-note { margin-top: 20px; text-align: center; color: var(--gray); }

/* Classi */
.classes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.class-card { position: relative; min-height: 460px; color: var(--white); display: flex; align-items: flex-end; }
.class-card .film { position: absolute; inset: 0; }
.class-card .film img { filter: grayscale(1) contrast(1.1) brightness(.55); transition: transform 1s; }
.class-card:hover .film img { transform: scale(1.04); }
.class-card .txt { position: relative; z-index: 2; padding: 32px; }
.class-card h3 { font-size: clamp(40px, 5vw, 64px); }
.class-card p { max-width: 420px; color: #ddd; margin-top: 8px; }

/* Galleria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.gallery button { position: relative; }
.gallery .film { position: absolute; inset: 0; }
.gallery .film img { transition: transform .8s, filter .5s; }
.gallery button:hover .film img { transform: scale(1.05); filter: grayscale(0) contrast(1.02); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8,8,8,.96);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; }
.lightbox .lb-btn {
  position: absolute; color: #fff; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: 14px 18px; font-size: 16px;
}
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); font-size: 30px !important; }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); font-size: 30px !important; }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #aaa; font-family: var(--cond); letter-spacing: .16em; }

/* Visita */
.visit { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; align-items: start; }
.visit .film { aspect-ratio: 4 / 3; }
.visit .h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 30px; letter-spacing: .03em; margin-bottom: 18px; }
.visit dl { display: grid; gap: 14px; }
.visit dt { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--gray); }
.visit dd { font-weight: 500; }
.visit dd a { border-bottom: 1px solid currentColor; }
.visit dd a:hover { color: var(--red); }
.todo { color: var(--red); font-size: 13px; }

/* Altra sede */
.other { position: relative; display: block; height: 380px; color: #fff; }
.other .film { position: absolute; inset: 0; }
.other .film img { filter: grayscale(1) contrast(1.1) brightness(.5); transition: transform 1.2s; }
.other:hover .film img { transform: scale(1.04); }
.other .tagbox small { color: #bdbdbd; }
.other:hover .tagbox { background: var(--red); }

/* Footer */
.footer { background: var(--black); color: #cfcfcf; padding: 64px 0 28px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer img { height: 70px; width: auto; }
.footer .h4 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer li { list-style: none; margin-bottom: 6px; }
.footer a:hover { color: var(--red); }
.footer .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid #262626; text-align: center; color: #777; font-size: 13px; }

/* Reveal leggero */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== MOBILE ===================== */
@media (max-width: 980px) {
  .nav ul {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--black); padding: 8px 24px 24px; display: none;
    border-top: 1px solid #222;
  }
  .nav.open ul { display: flex; }
  .nav li + li::before { display: none; }
  .nav ul a { display: block; padding: 14px 0; font-size: 22px; border-bottom: 1px solid #222; }
  .nav-toggle { display: block; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 0 16px; }
  .day h3 { grid-row: span 3; }
  .day .slot:first-of-type { margin-top: 0; }
  .day.off p { margin-top: 0; }
  .visit { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 700px) {
  .landing { padding: 12px; gap: 12px; }
  .split { grid-template-columns: 1fr; gap: 12px; }
  .split a { min-height: 42vh; min-height: 42svh; }
  .logobox { width: 96px; height: 72px; }
  .landing-foot { justify-content: center; text-align: center; font-size: 13px; }
  .classes { grid-template-columns: 1fr; }
  .class-card { min-height: 360px; }
  section.block { padding: 64px 0; }
  .nav { padding: 0 12px 0 16px; }
  .nav .brand span { display: none; }
  .footer .cols { grid-template-columns: 1fr; }
  .other { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .split .film img, .class-card .film img, .other .film img, .gallery .film img { transition: none; }
}

/* ===================== Aggiunte: tempo reale, maestri, info, FAQ ===================== */
.next {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 auto 26px; padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 15px; color: #eee; max-width: 100%;
}
.next strong { color: #fff; font-weight: 600; }
.next[hidden] { display: none; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214,32,44,.7); } 70% { box-shadow: 0 0 0 10px rgba(214,32,44,0); } 100% { box-shadow: 0 0 0 0 rgba(214,32,44,0); } }

.weektype {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px;
  margin: -24px 0 28px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--gray);
}
.weektype:empty { display: none; }
.weektype .pill { font-size: 15px; margin: 0; }
.weektype .sep { margin: 0 6px; }
.pill.alt { position: relative; }
.pill.alt::after { content: "↻"; margin-left: 5px; font-size: .95em; opacity: .7; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.coach .film { aspect-ratio: 4 / 5; }
.coach .film img { transition: transform 1s, filter .5s; }
.coach:hover .film img { transform: scale(1.04); filter: grayscale(0) contrast(1.02); }
.coach-txt { padding: 16px 2px 0; }
.coach h3 { font-size: 34px; }
.coach .eyebrow { margin-top: 4px; font-size: 13px; }
.belt {
  display: block; position: relative; margin-top: 14px;
  width: 100%; max-width: 220px; height: 16px; background: var(--belt, #111);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.belt i { position: absolute; right: 18px; top: 0; bottom: 0; width: 46px; background: var(--black); }
.belt-nera i { background: var(--red); }
.belt-name { display: block; margin-top: 6px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--gray); }

.info { background: var(--black); color: #fff; }
.info .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.info h2 { font-size: clamp(38px, 5vw, 60px); }
.info p { color: #cfcfcf; font-size: 18px; }
.info .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.info .btn.outline { color: #fff; border-color: #fff; }
.info .btn.outline:hover { background: #fff; color: var(--black); }

.faq { max-width: 820px; margin: 0 auto; border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--red); }
.faq details p { padding: 0 4px 22px; max-width: 680px; color: #333; }

@media (max-width: 980px) { .info .container { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .next { font-size: 14px; } .faq summary { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .live { animation: none; } }
@media (max-width: 980px) {
  .day { grid-template-columns: 130px 1fr; }
  .day.today h3::after { display: block; width: max-content; margin: 6px 0 0; }
}

/* ===================== SEO / contenuti ===================== */
.hero h1 .eyebrow { display: block; font-size: 15px; color: #bdbdbd; margin-bottom: 14px; letter-spacing: .16em; line-height: 1.4; }
.faq summary h3 { font: inherit; margin: 0; }
.noscript-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 20px 0; }

.intro { padding: 72px 0 88px; border-top: 1px solid var(--line); }
.intro h1 { font-size: clamp(40px, 6vw, 76px); }
.intro > .container > p { max-width: 760px; margin-top: 18px; font-size: 19px; }
.intro a { border-bottom: 1px solid currentColor; }
.intro a:hover { color: var(--red); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.intro-card { display: block; border: 2px solid var(--black) !important; padding: 26px 26px 22px; transition: background .2s, color .2s; }
.intro-card:hover { background: var(--black); color: var(--white) !important; }
.intro-card h2 { font-size: 40px; }
.intro-card p { margin: 8px 0 16px; color: inherit; opacity: .8; }
.intro-card span { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

.page { padding: 140px 0 40px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(44px, 7vw, 80px); }
.prose h2 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 26px; margin: 34px 0 8px; }
.prose a { border-bottom: 1px solid currentColor; }
.prose a.btn { border-bottom: 2px solid var(--black); }
.footer .legal a { border-bottom: 1px solid #555; }
address { font-style: normal; }
@media (max-width: 700px) { .intro-grid { grid-template-columns: 1fr; } .page { padding-top: 110px; } }

/* ===================== v3: header, home, carosello, dove siamo ===================== */
:root { --nav-h: 76px; --pad: clamp(16px, 4vw, 40px); }

/* Header */
.nav { height: var(--nav-h); padding: 0 var(--pad); transition: background .35s, box-shadow .35s, border-color .35s; }
.nav .brand img { height: 48px; }
.nav ul a { position: relative; padding: 6px 0; font-size: 15px; letter-spacing: .1em; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a:hover { color: inherit; }
.nav li + li::before { content: ""; margin: 0 14px; }
.nav .nav-cta { margin-left: 22px; }
.nav .nav-cta a { background: var(--red); color: #fff; padding: 10px 18px 9px; }
.nav .nav-cta a::after { display: none; }
.nav .nav-cta a:hover { background: #fff; color: var(--black); }
.nav li.nav-cta::before { display: none; }
.nav--overlay { background: transparent; }
.nav--overlay::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.55), transparent); pointer-events: none; transition: opacity .35s; z-index: -1; }
.nav--overlay.scrolled { background: rgba(11,11,11,.96); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav--overlay.scrolled::before { opacity: 0; }
.nav--light { background: rgba(255,255,255,.96); color: var(--black); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav--light .brand span { color: var(--gray); }
.nav--light .nav-cta a:hover { background: var(--black); color: #fff; }
.nav-toggle { color: inherit; }

/* Home */
.home .landing { padding: calc(var(--nav-h) + 24px) var(--pad) 24px; min-height: 100vh; min-height: 100svh; grid-template-rows: 1fr auto; }
.home .split a { min-height: 0; height: 100%; }
.home .split { min-height: 440px; }
.tagbox .next-home { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font-weight: 500; font-size: .45em; letter-spacing: .14em; color: #fff; opacity: .85; }
.tagbox .next-home:empty { display: none; }
.tagbox .live { width: 7px; height: 7px; }
.landing-foot h1 { font: inherit; letter-spacing: inherit; color: inherit; }
.landing-about { padding: 0 var(--pad) 56px; max-width: 900px; color: var(--gray); font-size: 15px; }
.landing-about a { color: var(--black); border-bottom: 1px solid currentColor; }

/* Carosello foto */
.photos { padding: 96px 0; background: var(--black); color: #fff; overflow: hidden; }
.photos .block-head .eyebrow { color: #9a9a9a; }
.carousel { position: relative; }
.car-track {
  display: flex; align-items: center; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 50vw; scrollbar-width: none; outline: none;
}
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; scroll-snap-align: center; height: min(68vh, 640px); cursor: pointer; position: relative; margin: 0; }
.slide img {
  height: 100%; width: auto; max-width: 82vw; object-fit: cover; display: block;
  filter: grayscale(1) brightness(.45); transform: scale(.88);
  transition: filter .5s, transform .6s cubic-bezier(.2,.7,.2,1);
}
.slide.active img { filter: none; transform: scale(1); cursor: zoom-in; }
.car-bar { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 26px; font-family: var(--cond); letter-spacing: .18em; }
.car-bar button { width: 48px; height: 48px; border: 1.5px solid rgba(255,255,255,.5); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.car-bar button:hover { background: var(--red); border-color: var(--red); }
.car-count { min-width: 80px; text-align: center; color: #cfcfcf; }

/* Dove siamo */
.where { padding: 96px 0; background: var(--paper); border-top: 1px solid var(--line); }
.where .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.where .film { aspect-ratio: 4 / 3; }
.where h2 { font-size: clamp(44px, 6vw, 76px); margin: 6px 0 18px; }
.where .addr { font-size: 21px; line-height: 1.45; font-style: normal; }
.where .addr small { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--gray); margin-bottom: 4px; }
.where .btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 30px; }
.where dl { display: grid; grid-template-columns: 130px 1fr; border-top: 1.5px solid var(--black); }
.where dt, .where dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.where dt { font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--gray); padding-top: 14px; }
.where dd a { border-bottom: 1px solid currentColor; }
.where dd a:hover { color: var(--red); }

/* Maestri: schede di misura fissa, centrate */
.team { grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); justify-content: center; }

/* Hero: spazio per l'header */
.hero-inner { padding-top: calc(var(--nav-h) + 24px); }

@media (max-width: 980px) {
  .nav ul { inset: var(--nav-h) 0 auto 0; }
  .nav .nav-cta { margin: 16px 0 0; }
  .nav .nav-cta a { display: inline-block; border: 0; }
  .nav--light ul { background: #fff; border-top: 1px solid var(--line); }
  .nav--light ul a { border-bottom-color: var(--line); }
  .nav--overlay.open { background: rgba(11,11,11,.98); }
  .where .container { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  .nav .brand img { height: 40px; }
  .home .landing { padding-top: calc(var(--nav-h) + 12px); }
  .home .split { min-height: 0; }
  .home .split a { height: 42svh; min-height: 260px; }
  .slide { height: 56vh; }
  .slide img { max-width: 86vw; }
  .car-track { gap: 10px; }
  .where dl { grid-template-columns: 105px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .car-track { scroll-behavior: auto; }
  .slide img { transition: none; }
}

/* ===================== v4: pagine interne, news, legali ===================== */
.nav--solid { background: var(--black); }
.nav ul a[aria-current="page"] { color: #fff; }
.nav--light ul a[aria-current="page"] { color: var(--black); }

.page { padding: calc(var(--nav-h) + 64px) 0 72px; }
.page-head { margin-bottom: 44px; }
.page-head h1 { font-size: clamp(56px, 9vw, 120px); margin-top: 6px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 40px 28px; }
.news-card a { display: block; }
.news-card .film { aspect-ratio: 3 / 2; margin-bottom: 16px; }
.news-card .film img { transition: transform .8s, filter .5s; }
.news-card a:hover .film img { transform: scale(1.04); filter: none; }
.news-card time { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--gray); }
.news-card h2 { font-size: 30px; margin: 6px 0 10px; line-height: 1; }
.news-card p { color: #333; font-size: 16px; }
.news-card .more { display: inline-block; margin-top: 12px; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; border-bottom: 2px solid var(--red); }

.article { max-width: 820px; }
.crumbs { display: flex; gap: 10px; font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--gray); margin-bottom: 26px; }
.crumbs a:hover { color: var(--black); }
.article h1 { font-size: clamp(40px, 6vw, 72px); margin: 8px 0 18px; }
.article .lead { font-size: 21px; line-height: 1.5; color: #222; }
.article-img { aspect-ratio: 16 / 9; margin: 32px 0 34px; }
.article-img img { filter: none; }
.article .prose p { font-size: 18px; margin-bottom: 18px; }
.sources { font-size: 15px !important; color: var(--gray); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }
.sources a { color: var(--black); }
.more-news { margin-top: 80px; }
.more-news .h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 34px; margin-bottom: 24px; }

.legal-page h2 { font-size: 24px; margin-top: 40px; }
.legal-page h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: .04em; margin: 20px 0 4px; }
.legal-page ul { padding-left: 20px; margin: 8px 0 12px; }
.legal-page li { margin-bottom: 8px; }
.legal-page p { margin-bottom: 12px; }
.muted { color: var(--gray); }

.footer .legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; text-align: left; }
.footer .legal nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer .legal a { border: 0; color: #9a9a9a; }
.footer .legal a:hover { color: #fff; }
@media (max-width: 700px) {
  .page { padding-top: calc(var(--nav-h) + 36px); }
  .footer .legal { flex-direction: column; align-items: flex-start; }
}

/* ===================== v5: tipografia più leggera, header pulito, WhatsApp ===================== */
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

.cond, .hero h1, .block-head h2, .class-card h3, .coach h3, .where h2, .news-card h2, .article h1, .page-head h1, .prose h1, .faq summary, .day h3, .tagbox {
  font-weight: 600;
}
.cond { letter-spacing: .01em; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); }
.block-head h2 { font-size: clamp(34px, 4.4vw, 56px); }
.class-card h3 { font-size: clamp(36px, 4.4vw, 56px); }
.btn { font-weight: 600; font-size: 16px; letter-spacing: .1em; }
.eyebrow { font-weight: 500; }

/* Header: solo logo e menu, carattere normale */
.nav { height: var(--nav-h); }
.nav .brand img { height: 44px; }
.nav .brand span { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .12em; }
.nav ul a {
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  text-transform: none; letter-spacing: .01em;
}
.nav li + li::before { margin: 0 16px; }
.nav--light ul a { color: #333; }
.nav--light ul a:hover, .nav--light ul a[aria-current="page"] { color: var(--black); }
.nav ul a::after { height: 1.5px; bottom: 1px; }

/* Card della home */
.tagbox { font-size: clamp(20px, 2.2vw, 28px); padding: 12px 24px 10px; }
.tagbox small { font-weight: 500; }

/* Pulsante WhatsApp fisso */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 8px 26px rgba(0,0,0,.28); }
.lightbox.open ~ .wa-float { display: none; }
@media (max-width: 980px) {
  .nav ul a { font-size: 20px; }
}
@media (max-width: 700px) {
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 28px; height: 28px; }
}

.home .landing-foot { padding-right: 76px; }
@media (max-width: 700px) { .home .landing-foot { padding-right: 0; padding-bottom: 64px; } }
