/* =========================================================
   A.S.D. Revolution Sport — stylesheet condiviso
   Tema chiaro, colori presi dal logo (nero + rosso)
   ========================================================= */

:root {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f5f3;
  --color-bg-dark: #121212;
  --color-text: #1a1a1a;
  --color-text-muted: #62605e;
  --color-border: #e7e4e0;
  --color-primary: #c8102e;
  --color-primary-dark: #970c22;
  --color-primary-tint: #fdeaec;
  --color-dark: #141414;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 20, 20, 0.16);
  --header-h: 76px;
  --container-w: 1280px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--color-dark);
}

.btn.is-disabled {
  opacity: .45;
  pointer-events: none;
  cursor: not-allowed;
}

.btn.is-disabled:hover {
  transform: none;
}

.payment-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  margin-top: 10px;
}

.btn-small {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--color-dark);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--color-primary);
  background: #fff;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
}

.brand-text small {
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a:not(.btn) {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding: 6px 0;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transition: right .2s ease;
}

.main-nav a:not(.btn):hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #101010;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.hero-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero-dots {
  display: flex;
}

/* Il pulsante è un'area di tocco da 24px; il pallino visibile è il ::before */
.hero-dots button {
  position: relative;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: width .15s ease;
}

.hero-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  transform: translate(-50%, -50%);
  transition: all .15s ease;
}

.hero-dots button.is-active {
  width: 30px;
}

.hero-dots button.is-active::before {
  width: 22px;
  border-radius: 4px;
  background: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, .3) 0%, rgba(10, 10, 10, .45) 45%, rgba(10, 10, 10, .75) 100%);
}

.hero-content {
  color: #fff;
  padding: 140px 24px 100px;
  max-width: 760px;
}

.hero-content .eyebrow {
  color: #ffb3bd;
  justify-content: center;
}

.hero-content .eyebrow::before {
  background: #ffb3bd;
}

.hero-content h1 {
  font-size: clamp(38px, 6.5vw, 74px);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-content h1 span {
  color: var(--color-primary);
}

.hero-content .lead {
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-weight: 600;
}

.hero-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fe38f;
}

.hero-status.is-closed .dot {
  background: #ff7a7a;
}

.hero-address {
  position: absolute;
  left: 24px;
  bottom: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, .6);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Location section ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.location-info dl {
  margin: 24px 0 28px;
}

.info-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-row:first-child {
  border-top: 1px solid var(--color-border);
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.info-row h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.info-row p {
  margin: 0;
  font-size: 14.5px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 0;
  font-size: 14.5px;
}

.hours-table td {
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-text);
}

.hours-table tr.is-today td {
  color: var(--color-primary);
}

.closure-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--color-primary-tint);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text);
}

/* ---------- Orari: scheda espandibile ---------- */
.hours-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.hours-summary::-webkit-details-marker {
  display: none;
}

.hours-summary .hours-today-text {
  font-size: 14.5px;
  color: var(--color-text);
}

.hours-summary .hours-today-text strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 1px;
}

.hours-chevron {
  margin-left: auto;
  color: var(--color-text-muted);
  transition: transform .2s ease;
}

.hours-accordion[open] .hours-chevron {
  transform: rotate(180deg);
}

.hours-panel {
  padding: 0 18px 18px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--color-bg-alt);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%) contrast(1.02);
}

/* Riquadro mostrato al posto della mappa finché non c'è il consenso */
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 28px;
  text-align: center;
  background: var(--color-bg-alt);
}

.map-consent-icon {
  font-size: 28px;
  line-height: 1;
}

.map-consent p {
  margin: 0;
  max-width: 320px;
  font-size: 13.5px;
}

.map-consent-note {
  font-size: 12px;
}

.map-consent-note a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------- Explore cards ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.explore-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.explore-card .card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.explore-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, .82) 100%);
  z-index: -1;
}

.explore-card .card-body {
  padding: 30px;
  width: 100%;
}

.explore-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffb3bd;
  margin-bottom: 8px;
}

.explore-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.explore-card p {
  color: rgba(255, 255, 255, .82);
  font-size: 14.5px;
  margin-bottom: 16px;
  max-width: 380px;
}

.explore-card .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.bg-arms { background: repeating-linear-gradient(120deg, #2a1418 0 3px, #1a0d0f 3px 40px); }
.bg-legs { background: repeating-linear-gradient(60deg, #16181f 0 3px, #101116 3px 40px); }
.bg-chest { background: repeating-linear-gradient(120deg, #241010 0 3px, #170a0a 3px 40px); }
.bg-back { background: repeating-linear-gradient(60deg, #131313 0 3px, #0d0d0d 3px 40px); }
.bg-photos {
  background: url("../img/palestra foto.webp") center / cover no-repeat;
}
.bg-machines {
  background: url("../img/zona corpo libero e macchinari.webp") center / cover no-repeat;
}

/* ---------- Events / courses ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.events-grid.is-single {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}

.event-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.event-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0eeeb, #e4e1dc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform .3s ease, filter .3s ease;
}

.event-thumb img:hover {
  transform: scale(1.04);
  filter: brightness(1.04);
}

.event-body {
  padding: 22px;
}

.event-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.event-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.event-body p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- Social ---------- */
.social-section {
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.social-btn.facebook:hover {
  background: #1877f2;
  color: #fff;
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, .72);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  margin: 14px 0 18px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-col h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding: 22px 0;
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, .45);
}

/* "Gestisci cookie": è un pulsante (riapre il banner) ma deve sembrare un link del footer */
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.footer-link-btn:hover {
  text-decoration: underline;
}

/* Testo leggibile dai motori di ricerca e dagli screen reader ma non visibile */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Inner page hero (banner) ---------- */
.page-banner {
  padding: calc(var(--header-h) + 64px) 0 56px;
  background: var(--color-bg-alt);
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(30px, 4vw, 46px);
  text-transform: uppercase;
}

.page-banner p {
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ---------- Services (abbonati.html) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 13.8px;
  margin: 0;
}

.plan-card {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.plan-card h2 {
  font-size: 28px;
}

.plan-card p {
  color: rgba(255, 255, 255, .7);
}

.plan-price {
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  padding: 30px;
}

.plan-price .amount {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
}

.plan-price .amount sup {
  font-size: 16px;
  vertical-align: super;
}

.plan-price .amount span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
}

.plan-price small {
  display: block;
  color: rgba(255, 255, 255, .55);
  margin: 6px 0 18px;
  font-size: 12.5px;
}

.included-list {
  margin: 24px 0 0;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
}

.included-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 800;
}

/* ---------- Pricing (abbonati.html) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.is-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.pricing-card .price {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-card .price-note {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.pricing-card .price-save {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.pricing-card p.plan-desc {
  font-size: 13.5px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pricing-card .btn {
  width: 100%;
}

/* ---------- Accordion "vedi tutti" per servizi/abbonamenti (attivo solo su mobile, vedi media query 760px) ---------- */
.mobile-accordion {
  border: none;
}

.mobile-accordion-summary {
  display: none;
  list-style: none;
  margin-bottom: 22px;
}

.mobile-accordion-summary::-webkit-details-marker {
  display: none;
}

.mobile-accordion-chevron {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.mobile-accordion[open] .mobile-accordion-chevron {
  transform: rotate(180deg);
}

.mobile-featured-card {
  display: none;
}

/* ---------- Photo gallery (foto.html) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-grid .photo-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #efece8 0 2px, #e6e2dc 2px 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
}

.photo-grid .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform .3s ease, filter .3s ease;
}

.photo-grid .photo-item img:hover {
  transform: scale(1.04);
  filter: brightness(1.04);
}

/* ---------- Lightbox foto ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, background-color .35s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(10, 10, 10, .88);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: scale(.88);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}

.lightbox-close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ---------- Banner foto (macchinari.html) ---------- */
.machine-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: var(--shadow);
}

.machine-banner img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ---------- Machines (macchinari.html) ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.machine-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
}

.machine-card.is-hidden {
  display: none;
}

.machine-info .cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.machine-info h3 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.machine-info p {
  font-size: 13.3px;
  margin: 0;
}

/* ---------- Reviews (recensioni.html) ---------- */
.review-carousel {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.review-track {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: 420px;
  overflow: hidden;
}

.review-card {
  position: absolute;
  inset: 0;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* "safe": se il testo è più alto della card, parte dall'alto invece di essere tagliato sopra */
  justify-content: safe center;
  opacity: 0;
  transform: translateX(0);
  transition: opacity .35s ease, transform .35s ease;
  overflow-y: hidden;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.review-card::-webkit-scrollbar {
  width: 5px;
}

.review-card::-webkit-scrollbar-track {
  background: transparent;
}

.review-card::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
}

.review-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.review-stars {
  color: #f5a623;
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.review-text {
  font-size: 18px;
  color: var(--color-text);
  max-width: 560px;
  margin: 0 auto 22px;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.review-author strong {
  display: block;
  font-size: 14.5px;
}

.review-author span {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.review-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}

.review-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.review-dots {
  display: flex;
}

/* Come per l'hero: area di tocco da 24px, pallino visibile disegnato dal ::before */
.review-dots button {
  position: relative;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: width .15s ease;
}

.review-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transform: translate(-50%, -50%);
  transition: all .15s ease;
}

.review-dots button.is-active {
  width: 30px;
}

.review-dots button.is-active::before {
  width: 22px;
  border-radius: 4px;
  background: var(--color-primary);
}

/* ---------- Placeholder note (dev only) ---------- */
.dev-note {
  background: #fff7e6;
  border: 1px dashed #e0b34a;
  color: #6b4c00;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin: 0 0 28px;
}


/* ---------- Pagine legali (privacy e cookie) ----------
   Il reset globale toglie i pallini alle liste: qui li rimettiamo,
   perché un'informativa è fatta soprattutto di elenchi. */
.legal-page h2 {
  font-size: 22px;
  margin-top: 40px;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page h3 {
  font-size: 16.5px;
  margin-top: 26px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page li:last-child {
  margin-bottom: 0;
}

.legal-page a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-updated {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}

/* ---------- Banner cookie ---------- */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3000;
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
  flex: 1;
  min-width: 200px;
}

.cookie-banner p a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a:not(.btn) {
    color: #fff !important;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .main-nav .btn {
    margin-top: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .location-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .events-grid,
  .machine-grid,
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .events-grid,
  .machine-grid,
  .photo-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid .photo-item img {
    cursor: default;
  }

  .photo-grid .photo-item img:hover {
    transform: none;
    filter: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner-actions {
    justify-content: center;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .hero-content {
    padding: 130px 24px 90px;
  }

  .hero-content h1 {
    margin-bottom: 22px;
  }

  .hero-actions {
    margin-bottom: 32px;
  }

  .hero-address {
    display: none;
  }

  .hero-arrow,
  .review-arrow {
    display: none;
  }

  .review-track {
    height: 520px;
  }

  .review-card {
    padding: 30px 22px;
  }

  .review-text {
    font-size: 16px;
  }

  .events-grid,
  .machine-grid,
  .photo-grid,
  .services-grid,
  .pricing-grid {
    gap: 26px;
  }

  /* Servizi e abbonamenti: su mobile mostrano solo il primo punto, il resto si apre con l'icona freccia */
  .mobile-accordion-summary {
    display: flex;
    width: 100%;
  }

  .mobile-featured-card {
    display: block;
    margin-bottom: 22px;
  }
}
