/* ==========================================================================
   M&R Performance — foglio di stile unico
   Indice: 1 Token · 2 Base · 3 Layout/Utility · 4 Bottoni · 5 Header/Nav · 6 Hero home
           7 Sezioni · 8 Card · 9 Team · 10 CTA · 11 Footer · 12 Pagine interne
           13 Contatti · 14 Animazioni · 15 Responsive extra
   ========================================================================== */

/* 1 — Token ---------------------------------------------------------------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; 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 Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
	--ink: #000;
	--ink-2: #0d0d0f;
	--ink-3: #161619;
	--line: rgba(255, 255, 255, .12);
	--paper: #000;
	--paper-2: #141417;
	--text: #f4f4f6;
	--muted: #a3a3ad;
	--muted-d: #a3a3ad;
	--red: #e8001a;
	--red-hot: #ff3550;
	--red-deep: #a80013;
	--radius: 20px;
	--radius-sm: 12px;
	--maxw: 1240px;
	--gutter: clamp(1.25rem, 4.5vw, 2.5rem);
	--header-h: 72px;
	--f-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 24px 50px -28px rgba(0, 0, 0, .9);
}

/* 2 — Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: #000; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--f-body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: #000; padding: .7rem 1rem; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3 — Layout / utility ----------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--paper { background: var(--paper); color: var(--text); }
.section--dark { background: #09090b; color: #fff; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head--split { max-width: none; display: grid; gap: 1.25rem; align-items: end; }
.section__lead { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); max-width: 40rem; }
.section--dark .section__lead, .hero .section__lead { color: var(--muted-d); }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 700 .8125rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 1rem; }
.eyebrow::before { content: "//"; letter-spacing: 0; font-family: var(--f-head); font-size: 1.15rem; }
.section--dark .eyebrow, .hero .eyebrow, .phero .eyebrow, .profile .eyebrow, .doc-head .eyebrow { color: var(--red-hot); }
.eyebrow--light { color: rgba(255, 255, 255, .85) !important; }

.h2 { font: 800 clamp(2.4rem, 5.4vw, 4.4rem)/.95 var(--f-head); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.h2 em, .hero__title em, .phero__title em, .lead em { font-style: normal; color: var(--red-hot); }
.section--dark .h2 em, .hero__title em, .phero__title em, .doc-head em, .quote em { color: var(--red-hot); font-style: normal; }
.cta .h2 em { color: #fff; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split--center { align-items: center; }
.frame { border-radius: var(--radius); overflow: hidden; }
.frame img { width: 100%; height: auto; }

/* 4 — Bottoni -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .8rem 1.5rem; border: 2px solid transparent; border-radius: 999px; font: 700 .9375rem/1 var(--f-body); letter-spacing: .02em; text-decoration: none; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 28px -10px rgba(232, 0, 26, .7); }
.btn--red:hover { background: var(--red-hot); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn--sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1rem; }

/* 5 — Header / navigazione -------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.site-header.is-stuck::before, body.nav-open .site-header::before { opacity: 1; }
.site-header__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; position: relative; z-index: 60; }
.brand__logo { height: 46px; width: auto; }
.brand__logo--lg { height: 84px; }
.brand__name { display: none; font: 600 1.35rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.brand__name b { font-weight: 800; color: var(--red-hot); }

.nav-toggle { position: relative; z-index: 60; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; display: inline-grid; place-content: center; gap: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile: overlay a tutto schermo */
.nav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: 55; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom)); background: var(--ink); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__list { display: grid; }
.nav__item { border-bottom: 1px solid var(--line); }
.nav__item:first-child { border-top: 1px solid var(--line); }
.nav__link, .nav__sub a { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .5rem 0; background: none; border: 0; text-decoration: none; text-align: left; font: 800 clamp(2.3rem, 11vw, 3.4rem)/1.05 var(--f-head); text-transform: uppercase; letter-spacing: -.005em; color: #fff; }
.nav__link:hover, .nav__item.is-current > .nav__link, .nav__sub a[aria-current] { color: var(--red-hot); }
.nav__chev { width: .6em; height: .6em; transition: transform .3s var(--ease); }
.has-sub.is-open .nav__chev { transform: rotate(180deg); }
.nav__sub { display: none; padding: 0 0 .5rem 1rem; border-left: 2px solid var(--red); margin-left: .25rem; }
.has-sub.is-open .nav__sub { display: block; }
.nav__sub a { font-size: 1.7rem; font-weight: 700; color: var(--muted-d); padding: .35rem 0; }
.nav__foot { display: grid; gap: .6rem; color: var(--muted-d); font-size: .95rem; }
.nav__foot p { margin: 0; }
.nav__tel { display: inline-flex; align-items: center; gap: .5rem; font: 700 1.4rem/1 var(--f-head); letter-spacing: .04em; color: #fff; text-decoration: none; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
	.brand__name { display: inline; }
	.nav-toggle { display: none; }
	.nav { position: static; flex: 1; width: auto; height: auto; flex-direction: row; justify-content: flex-end; padding: 0; background: none; overflow: visible; visibility: visible; opacity: 1; transform: none; transition: none; }
	.nav__list { display: flex; align-items: center; gap: .25rem; }
	.nav__item, .nav__item:first-child { border: 0; }
	.nav__foot { display: none; }
	.nav__item { position: relative; }
	.nav__link { width: auto; padding: .6rem 1rem; font: 600 .9375rem/1 var(--f-body); text-transform: none; letter-spacing: .01em; border-radius: 999px; color: rgba(255, 255, 255, .86); }
	.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
	.nav__item.is-current > .nav__link { color: #fff; background: rgba(255, 255, 255, .12); }
	.nav__chev { width: 1em; height: 1em; }
	.nav__sub { display: block; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; margin: 0; padding: .5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .2s; }
	.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav__sub a { padding: .7rem .9rem; border-radius: 10px; font: 500 .95rem/1.2 var(--f-body); text-transform: none; color: rgba(255, 255, 255, .86); }
	.nav__sub a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
	.nav__sub a[aria-current] { color: var(--red-hot); }
}

/* 6 — Hero home ------------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(640px, 100svh); color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .6) 48%, rgba(0, 0, 0, .1) 100%), linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, 0) 45%); }
.hero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.hero__copy { display: grid; }
.hero__item { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.hero__item.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.hero__title { font: 800 clamp(3.3rem, 11.5vw, 8.6rem)/.88 var(--f-head); text-transform: uppercase; letter-spacing: -.012em; margin: .1em 0 .3em; max-width: 12ch; text-wrap: balance; }
.hero__text { max-width: 32rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .85); }
.hero__dots { display: flex; gap: .6rem; margin-top: 2.25rem; }
.hero__dot { flex: 0 0 56px; height: 24px; padding: 0; background: none; border: 0; display: grid; align-items: center; }
.hero__dot span { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; will-change: transform; }
.hero__info { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.1rem; border-top: 1px solid var(--line); font-size: .9rem; color: rgba(255, 255, 255, .85); }
.hero__info li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__info .icon { color: var(--red-hot); }
.hero__info a { text-decoration: none; }
.hero__info a:hover { text-decoration: underline; }

/* 7 — Sezioni ----------------------------------------------------------------- */
.lead { font: 600 clamp(1.4rem, 3vw, 2.2rem)/1.3 var(--f-head); letter-spacing: .005em; max-width: 54rem; text-wrap: pretty; }
.lead, .lead em { text-transform: none; }

.reasons { display: grid; gap: 1.5rem 2rem; }
.reason { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.reason__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--red); margin-bottom: 1.25rem; }
.reason__icon .icon { width: 26px; height: 26px; }
.reason__title { font: 800 1.8rem/1 var(--f-head); text-transform: uppercase; margin-bottom: .6rem; }
.reason p { color: var(--muted-d); }

.quote { background: #000; border-top: 1px solid var(--line); color: #fff; padding-block: clamp(4rem, 9vw, 7rem); text-align: center; position: relative; overflow: hidden; }
.quote::before { content: "“"; position: absolute; left: 50%; top: -.1em; transform: translateX(-50%); font: 800 clamp(14rem, 40vw, 32rem)/1 var(--f-head); color: rgba(232, 0, 26, .16); pointer-events: none; }
.quote blockquote { position: relative; font: 800 clamp(2.4rem, 7vw, 5.4rem)/.95 var(--f-head); text-transform: uppercase; max-width: 18ch; margin-inline: auto; text-wrap: balance; }

/* 8 — Card -------------------------------------------------------------------- */
.cards { display: grid; gap: 1.5rem; }
.card { display: flex; flex-direction: column; background: var(--ink-2); color: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s var(--ease); }
.card:hover { border-color: rgba(255, 53, 80, .55); box-shadow: 0 30px 60px -30px rgba(232, 0, 26, .45); }
.card__media { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--paper-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; gap: .55rem; flex: 1; padding: 1.5rem 1.6rem 1.75rem; }
.card__n { font: 700 1rem/1 var(--f-head); letter-spacing: .14em; color: var(--red-hot); }
.card__title { font: 800 2.15rem/.98 var(--f-head); text-transform: uppercase; }
.card__body p { color: var(--muted); font-size: 1rem; }
.card__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .9rem; font-weight: 700; font-size: .95rem; color: var(--red-hot); }
.card__more .icon { transition: transform .3s var(--ease); }
.card:hover .card__more .icon { transform: translateX(5px); }
.section--dark .card { background: var(--ink-2); color: #fff; border: 1px solid var(--line); box-shadow: none; }
.section--dark .card__body p { color: var(--muted-d); }
.section--dark .card__more { color: var(--red-hot); }
.card--row { flex-direction: row; }
.card--row .card__media { flex: 0 0 38%; aspect-ratio: auto; }
.card--row .card__body { padding: 1.25rem 1.4rem; }
.card--row .card__title { font-size: 1.7rem; }

.features { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.feature { padding: 1.75rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; margin-bottom: 1.1rem; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font: 800 1.7rem/1.02 var(--f-head); text-transform: uppercase; margin-bottom: .55rem; }
.feature p { color: var(--muted); font-size: 1rem; }

/* 9 — Team --------------------------------------------------------------------- */
.teamband { background: var(--ink-2); color: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.teamband__img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 863; object-fit: cover; object-position: 50% 30%; }
.teamband__copy { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); }
.teamband__copy > div { display: grid; gap: 1.1rem; justify-items: start; align-content: start; }
.teamband__copy .eyebrow { margin-bottom: 0; }
.teamband__copy p { color: var(--muted-d); max-width: 32rem; }

.trainers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.trainer { display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); color: #fff; text-decoration: none; height: 100%; transition: border-color .3s, box-shadow .3s; }
.trainer:hover { border-color: rgba(255, 53, 80, .55); box-shadow: 0 24px 50px -30px rgba(232, 0, 26, .45); }
.trainer__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.trainer__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .8s var(--ease); }
.trainer:hover .trainer__img { transform: scale(1.05); }
.trainer__body { display: grid; gap: .2rem; padding: 1rem 1.1rem 1.25rem; }
.trainer__role { font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hot); }
.trainer__name { font: 800 1.7rem/1 var(--f-head); text-transform: uppercase; }
.trainer__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.trainer:hover .trainer__more { color: var(--red-hot); }
.trainers--page { margin-top: 0; }

.profile { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 2.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.profile__grid { display: grid; gap: 2rem; align-items: start; }
.profile__photo { border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.profile__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.profile__copy { display: grid; gap: 1.25rem; justify-items: start; }
.profile__copy .eyebrow { margin: 0; }

/* 10 — CTA ----------------------------------------------------------------------- */
.cta { background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); color: #fff; overflow: hidden; }
.cta__grid { display: grid; gap: 1rem; align-items: end; }
.cta__copy { order: 1; display: grid; gap: 1.1rem; justify-items: start; padding-top: clamp(3.5rem, 8vw, 5.5rem); }
.cta__copy p { max-width: 34rem; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.cta__fig { order: 2; display: flex; justify-content: center; align-self: end; }
.cta__img { width: auto; max-height: 430px; }

/* 11 — Footer ----------------------------------------------------------------------- */
.site-footer { background: #000; border-top: 1px solid var(--line); color: var(--muted-d); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .975rem; }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__tagline { margin-top: 1.25rem; font: 700 1.5rem/1.15 var(--f-head); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.footer__h { font: 700 .8125rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer__list { display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__addr { line-height: 1.8; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: #fff; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.social a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.social--lg a { width: 52px; height: 52px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-block: 1.5rem 6rem; border-top: 1px solid var(--line); font-size: .85rem; }

.hours { display: grid; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.hours dt { font-weight: 500; }
.hours dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.hours > div.is-today dt::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .55rem; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 4px rgba(255, 53, 80, .25); vertical-align: .08em; }
.hours > div.is-today { color: #fff; }
.section--paper .hours > div.is-today { color: var(--text); }
.hours--footer > div { padding: .45rem 0; }

.dock { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
.dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.dock__btn--red { background: var(--red); border-color: var(--red); }
body.nav-open .dock { transform: translateY(110%); }

/* iubenda: il pulsante "Preferenze privacy" sta in basso a destra (di default è in alto e copre il menu).
   Specificità alta per battere le regole !important di iubenda (attributo data-tp-float).
   Su mobile sale sopra la barra rapida Chiama / Scrivici. */
body .iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-float][data-tp-float] { top: auto !important; left: auto !important; right: 16px !important; bottom: 16px !important; margin: 0 !important; }
body.nav-open .iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-float][data-tp-float] { display: none !important; }
/* iubenda: "Accetta tutto" e "Rifiuta tutto" di un rosso leggermente più scuro (#e0001a, contrasto 5,0:1 col testo bianco;
   quello di default #f40808 si ferma a 4,3:1 e Google segnala il contrasto insufficiente). Specificità alta per battere le regole !important del plugin. */
html body #iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-accept-btn,
html body #iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-reject-btn { background-color: #e0001a !important; border-color: #e0001a !important; color: #fff !important; }
html body #iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-accept-btn:hover,
html body #iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-reject-btn:hover,
html body #iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-accept-btn:focus-visible,
html body #iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-reject-btn:focus-visible { background-color: #c40016 !important; border-color: #c40016 !important; }
@media (max-width: 899px) {
	body .iubenda-tp-btn.iubenda-cs-preferences-link[data-tp-float][data-tp-float] { bottom: calc(78px + env(safe-area-inset-bottom)) !important; right: 12px !important; }
}

/* 12 — Pagine interne --------------------------------------------------------------------- */
.phero { position: relative; display: flex; align-items: flex-end; min-height: max(560px, 100svh); color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 700px) { .hero__img, .phero__img { object-position: var(--pos-m, var(--pos, 50% 50%)); } }
.phero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .55) 100%); }
.phero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.phero__title { font: 800 clamp(3rem, 9vw, 7rem)/.9 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
/* Foto intera su mobile (team, contatti): foto in alto con la sua proporzione, titolo sotto su nero */
@media (max-width: 700px) {
	.phero--stack { display: block; min-height: 0; }
	.phero--stack .phero__media { position: relative; inset: auto; aspect-ratio: var(--ar, 2000 / 1360); }
	.phero--stack .phero__shade { inset: 0 0 auto 0; height: auto; aspect-ratio: var(--ar, 2000 / 1360); background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 40%); }
	.phero--stack .phero__inner { padding-top: 1.25rem; padding-bottom: 1rem; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

.timetable { display: grid; gap: .75rem; }
.timetable li { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: baseline; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-2); transition: border-color .2s, background .2s; }
.timetable li.is-today { border-color: var(--red-hot); background: rgba(232, 0, 26, .12); }
.tt__day { grid-column: 1 / -1; font: 700 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hot); }
.tt__course { font: 800 2rem/1 var(--f-head); text-transform: uppercase; }
.tt__time { font-weight: 700; font-variant-numeric: tabular-nums; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

.prose { font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3 { font-family: var(--f-head); text-transform: uppercase; line-height: 1; margin-top: 1.8em; }
.prose h2 { font-size: 2.4rem; }
.prose h3 { font-size: 1.7rem; }
.prose a { color: var(--red-hot); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose--light { color: rgba(255, 255, 255, .85); max-width: 40rem; }
.doc-head { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 3.5rem) 0 3rem; }
.doc-head--full { min-height: 90svh; display: flex; align-items: center; padding-bottom: 4rem; }
.doc-head--full .container { display: grid; gap: 1.25rem; justify-items: start; }

/* 13 — Contatti ------------------------------------------------------------------------------ */
.infos { display: grid; gap: 1rem; }
.info { padding: 1.6rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.info__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; margin-bottom: 1rem; }
.info__t { font: 800 1.5rem/1 var(--f-head); text-transform: uppercase; margin-bottom: .6rem; }
.info p { color: var(--muted); }
.info a { text-decoration: none; font-weight: 600; color: #fff; }
.info a:hover { color: var(--red-hot); text-decoration: underline; }
.info .hours { font-size: .94rem; }
.info .hours > div { flex-direction: column; gap: .1rem; }
.info .hours dd { text-align: left; }
.info .hours dd { color: #fff; }

.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.form { display: grid; gap: 1rem; margin-top: 2rem; }
.form__row { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--muted-d); }
.field input, .field textarea { width: 100%; padding: .95rem 1.1rem; background: rgba(255, 255, 255, .06); border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: #fff; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-hot); background: rgba(255, 255, 255, .09); }
.check { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .85rem; color: var(--muted-d); line-height: 1.5; }

.check a { color: #fff; }
.form .btn { justify-self: start; }
/* Checkbox: grigia come le textbox, rossa quando selezionata */
input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: 0; display: inline-grid; place-content: center; background: rgba(255, 255, 255, .06); border: 1.5px solid var(--line); border-radius: 7px; cursor: pointer; transition: background .2s, border-color .2s; }
input[type="checkbox"]::after { content: ""; width: 6px; height: 12px; margin-top: -2px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .18s var(--ease); }
input[type="checkbox"]:hover { border-color: rgba(255, 255, 255, .35); }
input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
input[type="checkbox"]:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }
.check input { margin-top: .05rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Contact Form 7 — il plugin resta attivo online, qui solo l'aspetto */
.wpcf7 { margin-top: 2rem; }
.wpcf7 fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 form > p, .wpcf7 .row p { margin: 0; }
.wpcf7 br { display: none; }
.wpcf7 .row { display: grid; gap: 1rem; margin: 0; }
.wpcf7 .row > div { min-width: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; padding: .95rem 1.1rem; background: rgba(255, 255, 255, .06); border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: #fff; transition: border-color .2s, background .2s; }
.wpcf7 textarea { resize: vertical; min-height: 140px; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: var(--muted-d); opacity: 1; }
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--red-hot); background: rgba(255, 255, 255, .09); }
.wpcf7-acceptance .wpcf7-list-item { margin: 0; display: block; }
.wpcf7-acceptance label { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .85rem; line-height: 1.5; color: var(--muted-d); cursor: pointer; }
.wpcf7-acceptance a { color: #fff; }
.wpcf7 .cf-turnstile, .wpcf7 .wpcf7-turnstile { margin-top: .25rem; }
.wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 1rem 1.9rem; border: 2px solid transparent; border-radius: 999px; background: var(--red); color: #fff; font: 700 1rem/1 var(--f-body); letter-spacing: .02em; box-shadow: 0 10px 28px -10px rgba(232, 0, 26, .7); transition: transform .25s var(--ease), background-color .2s; }
.wpcf7-submit:hover { background: var(--red-hot); }
.wpcf7-submit:active { transform: scale(.97); }
.wpcf7-spinner { display: none !important; }
.wpcf7 form.submitting .wpcf7-submit { opacity: .6; pointer-events: none; }
.wpcf7-not-valid-tip { display: block; margin-top: .4rem; font-size: .82rem; color: #ff9aa8; }
.wpcf7 .wpcf7-not-valid { border-color: var(--red-hot) !important; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7-response-output:empty { display: none; }
.wpcf7 form > p:last-of-type, .wpcf7 .wpcf7-submit { margin-top: .5rem; }
.wpcf7 form .wpcf7-response-output { margin: 1.25rem 0 0; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; border: 1px solid var(--line); }
.wpcf7 form.sent .wpcf7-response-output { background: rgba(46, 204, 113, .14); border-color: rgba(46, 204, 113, .5); color: #8ff0b6; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: rgba(255, 53, 80, .14); border-color: rgba(255, 53, 80, .5); color: #ff9aa8; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notice { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.notice--ok { background: rgba(46, 204, 113, .14); border: 1px solid rgba(46, 204, 113, .5); color: #8ff0b6; }
.notice--err { background: rgba(255, 53, 80, .14); border: 1px solid rgba(255, 53, 80, .5); color: #ff9aa8; }

.map { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--ink-3) radial-gradient(circle at 30% 20%, rgba(232, 0, 26, .25), transparent 55%); border: 1px solid var(--line); }
.map__canvas, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity .6s; }
.map.is-ready .map__canvas, .map.is-ready iframe { opacity: 1; pointer-events: auto; }
/* Mappa chiara: con la JavaScript API usa lo stile "argento"; l'embed di riserva viene schiarito e desaturato per assomigliarle */
.map.is-ready iframe { filter: grayscale(1) brightness(1.08) contrast(.94); }
.map__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 1.5rem; text-align: center; }
.map__pin { width: 54px; height: 54px; color: var(--red-hot); }
/* Pin nero sopra l'embed di riserva (la JavaScript API ha già il suo marker nero) */
.map__marker { display: none; position: absolute; left: 50%; top: 50%; z-index: 2; width: 34px; height: 51px; transform: translate(-50%, -100%); fill: #000; stroke: #fff; stroke-width: 1px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); pointer-events: none; }
.map.is-embed.is-ready .map__marker { display: block; }
.map__addr { font: 800 1.9rem/1.05 var(--f-head); text-transform: uppercase; }
.map__note { font-size: .8rem; color: var(--muted-d); max-width: 22rem; }
.map__link { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: #fff; }

/* 14 — Animazioni ------------------------------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal] { transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .25s, box-shadow .25s; }
.js .cards [data-reveal]:nth-child(2), .js .reasons [data-reveal]:nth-child(2), .js .trainers [data-reveal]:nth-child(2), .js .gallery [data-reveal]:nth-child(2), .js .features [data-reveal]:nth-child(2) { transition-delay: .04s; }
.js .cards [data-reveal]:nth-child(3), .js .reasons [data-reveal]:nth-child(3), .js .trainers [data-reveal]:nth-child(3), .js .gallery [data-reveal]:nth-child(3), .js .features [data-reveal]:nth-child(3) { transition-delay: .08s; }
.js .reasons [data-reveal]:nth-child(4), .js .trainers [data-reveal]:nth-child(4), .js .gallery [data-reveal]:nth-child(4), .js .features [data-reveal]:nth-child(4) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* 15 — Responsive -------------------------------------------------------------------------------------- */
body { padding-bottom: 66px; }

@media (min-width: 640px) {
	.wpcf7 .row { grid-template-columns: repeat(2, 1fr); }
	.wpcf7 .row > div { grid-column: span 2; }
	.wpcf7 .row > .col-lg-6 { grid-column: span 1; }
	.features, .infos { grid-template-columns: repeat(2, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
	.trainers { gap: 1.25rem; }
	.footer__grid { grid-template-columns: repeat(2, 1fr); }
	.reasons { grid-template-columns: repeat(2, 1fr); }
	.timetable li { grid-template-columns: 140px 1fr auto; align-items: center; }
	.tt__day { grid-column: auto; }
	.cards--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	body { padding-bottom: 0; }
	.dock { display: none; }
	.footer__legal { padding-bottom: 2rem; }
	.section__head--split { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
	.cards { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
	.cards--2 { grid-template-columns: repeat(2, 1fr); }
	.reasons { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
	.teamband__copy { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
	.trainers { grid-template-columns: repeat(4, 1fr); }
	.split { grid-template-columns: 1fr 1.1fr; }
	.features { grid-template-columns: repeat(4, 1fr); }
	.infos { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
	.gallery__item:nth-child(even) { transform: translateY(2rem); }
	.js .gallery [data-reveal].is-in:nth-child(even) { transform: translateY(2rem); }
	.gallery { padding-bottom: 2rem; }
	.cta__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; }
	.cta__copy { order: 2; padding-block: clamp(4rem, 8vw, 6rem); }
	.cta__fig { order: 1; }
	.cta__img { max-height: 520px; }
	.contact { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.map { min-height: 100%; }
	.profile__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); }
	.profile__photo { position: sticky; top: calc(var(--header-h) + 1.5rem); }
	.footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 3rem; }
}

@media (min-width: 1200px) {
	.hero__inner { padding-bottom: 3rem; }
}

@media (max-width: 480px) {
	.card--row { flex-direction: column; }
	.card--row .card__media { flex-basis: auto; aspect-ratio: 16 / 10; }
}
