/* ==========================================================================
   BUSEN — CIRCOLO SPORTIVO & ARENA (TENNIS · PADEL · PICKLEBALL · LOUNGE)
   Direzione Creativa: "Rosso Busen, Nero Antracite, Acciaio & Oro Metallico"
   Architettura CSS conforme alle linee guida Modern Web (Baseline + Progressive Enhancement)
   ========================================================================== */

:root {
  color-scheme: light;

  /* Palette Ufficiale Logo Busen + Oro Metallico:
     Rosso Busen (#D61B23), Nero Antracite (#0A0C10 / #11151D), Oro (#D4AF37 / #E5C158), Grigio Argento (#ECEEF2) */
  --clay-500: #D61B23;
  --clay-600: #B21219;
  --clay-700: #8D0C12;
  --clay-100: #FEEBEC;

  --pine-950: #0A0C10;
  --pine-900: #11151D;
  --pine-800: #1A202C;
  --pine-700: #252D3D;
  --pine-100: #E6E9F0;

  --amber-400: #E5C158;
  --amber-500: #C59B27;
  --amber-100: #FBF3D5;
  --gold-300: #F3D77D;
  --gold-400: #E5C158;
  --gold-500: #D4AF37;
  --gold-600: #B08A1E;

  --sand-50: #F6F7F9;
  --sand-100: #ECEEF2;
  --sand-200: #DCE0E8;
  --sand-300: #C4CAD6;

  --surface-white: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --surface-subtle: #ECEEF2;

  --ink-950: #0D1017;
  --ink-800: #1D2330;
  --ink-700: #3B4354;
  --ink-500: #5E677A;

  --border-subtle: #CFD5E0;
  --border-strong: #8790A2;

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Spaziature e Raggi */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 999rem;

  --shadow-sm: 0 2px 10px rgba(10, 12, 16, 0.06);
  --shadow-md: 0 14px 34px rgba(10, 12, 16, 0.11);
  --shadow-lg: 0 22px 52px rgba(10, 12, 16, 0.18);

  --header-height: 4.75rem;
}

/* Supporto atmosfera serale (Dark Mode: Nero Antracite, Rosso Busen & Oro) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --sand-50: #0B0E14;
    --sand-100: #11161F;
    --sand-200: #19202C;
    --surface-white: #0F131B;
    --surface-elevated: #161B26;
    --surface-subtle: #131822;
    --ink-950: #F7F8FA;
    --ink-800: #E5E8F0;
    --ink-700: #B9C0CE;
    --ink-500: #8E96A8;
    --border-subtle: #273042;
    --border-strong: #535E75;
    --clay-500: #E5252D;
    --clay-600: #C81920;
    --clay-100: #3A1216;
    --pine-100: #1C2331;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --sand-50: #0B0E14;
  --sand-100: #11161F;
  --sand-200: #19202C;
  --surface-white: #0F131B;
  --surface-elevated: #161B26;
  --surface-subtle: #131822;
  --ink-950: #F7F8FA;
  --ink-800: #E5E8F0;
  --ink-700: #B9C0CE;
  --ink-500: #8E96A8;
  --border-subtle: #273042;
  --border-strong: #535E75;
  --clay-500: #E5252D;
  --clay-600: #C81920;
  --clay-100: #3A1216;
  --pine-100: #1C2331;
}

/* Reset e Base Accessibile */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-950);
  background-color: var(--sand-50);
  text-align: start;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

/* Regole tipografiche Modern Web Guidance: text-wrap: balance & pretty */
h1, h2, h3, h4, h5, h6 {
  margin-block: 0 0.65em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p,
li,
blockquote,
dd {
  text-wrap: pretty;
}

p {
  margin-block: 0 1rem;
  max-width: 72ch;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--pine-900);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gold-400);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Container */
.container {
  width: min(100% - 2.5rem, 78rem);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, 78rem);
  }
}

/* Etichette Segnaposto (chiaramente riconoscibili dove mancano dati) */
.placeholder-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
  background-color: var(--amber-100);
  color: #5C4300;
  border: 1px dashed var(--gold-600);
}

.placeholder-tag--dark {
  background-color: rgba(229, 193, 88, 0.16);
  color: var(--gold-300);
  border-color: rgba(229, 193, 88, 0.58);
}

/* ==========================================================================
   UTILITY BAR SUPERIORE (Nero Antracite & Filetto Oro)
   ========================================================================== */
.utility-bar {
  background-color: var(--pine-950);
  color: #ECEEF2;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(229, 193, 88, 0.32);
}

.utility-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-block: 0.5rem;
}

.utility-bar__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(229, 193, 88, 0.25);
}

.utility-bar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ECEEF2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.utility-link:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .utility-bar__links {
    display: none;
  }
}

/* ==========================================================================
   HEADER E SCROLLSPY NATIVO (scroll-target-group: auto)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background-color: color-mix(in oklab, var(--pine-950) 94%, transparent);
  color: #F7F8FA;
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: var(--pine-900);
  color: #FAF6F0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  border: 2px solid var(--gold-400);
  flex-shrink: 0;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.28));
  transition: transform 0.2s ease;
}

.brand-lockup:hover .brand-logo {
  transform: scale(1.05);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-lockup--drawer .brand-name,
.brand-lockup--footer .brand-name {
  color: #FFFFFF;
}

.brand-lockup--drawer .brand-sub,
.brand-lockup--footer .brand-sub {
  color: var(--gold-400);
}

/* Scrollspy nativo secondo modern-web-guidance */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  scroll-target-group: auto;
}

.primary-nav a {
  position: relative;
  padding: 0.45rem 0.68rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #DCE0E8;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--gold-300);
  background-color: rgba(229, 193, 88, 0.1);
}

/* Selettore combinato con :is() per non invalidare la regola nei browser senza :target-current */
.primary-nav a:is(:target-current, .\:target-current) {
  color: #FFFFFF;
  font-weight: 700;
  background-color: rgba(214, 27, 35, 0.22);
  border-bottom-color: var(--gold-400);
}

html[data-theme="dark"] .primary-nav a:is(:target-current, .\:target-current) {
  color: #FFFFFF;
  background-color: rgba(214, 27, 35, 0.28);
  border-bottom-color: var(--gold-400);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(229, 193, 88, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-300);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--gold-400);
  background: rgba(229, 193, 88, 0.14);
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

html:not([data-theme="dark"]) .theme-toggle .icon-sun {
  display: none;
}

.menu-trigger {
  display: none;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(229, 193, 88, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  cursor: pointer;
}

@media (max-width: 980px) {
  .primary-nav {
    display: none;
  }
  .menu-trigger {
    display: inline-grid;
  }
}

/* ==========================================================================
   NAVIGATION DRAWER MOBILE (Popover + Scroll Snap + Scroll-Driven Backdrop)
   ========================================================================== */
.Drawer {
  --drawer-width: min(22rem, 84dvw);
  --drawer-backdrop: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.Drawer::backdrop {
  background: #05070A;
  opacity: calc(var(--drawer-backdrop) * 0.72);
}

.Drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  width: 100dvw;
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.Drawer-scroller::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .Drawer-scroller {
    scroll-behavior: smooth;
  }
}

.Drawer-scroller::after {
  content: '';
  scroll-snap-align: end;
  scroll-initial-target: nearest;
}

.Drawer-sheet {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100svh;
  background: var(--pine-950);
  color: #F7F8FA;
  overflow-y: auto;
  scroll-snap-align: start;
  scrollbar-width: none;
  padding: 1.25rem 1.5rem 2rem;
  border-right: 1.5px solid rgba(212, 175, 55, 0.4);
}

@supports (animation-timeline: scroll()) {
  .Drawer {
    timeline-scope: --drawer-fade;
    animation: fade-drawer-backdrop linear both;
    animation-timeline: --drawer-fade;
  }

  .Drawer-scroller {
    scroll-timeline: --drawer-fade x;
  }

  @property --drawer-backdrop {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
  }

  @keyframes fade-drawer-backdrop {
    0% { --drawer-backdrop: 1; }
    100% { --drawer-backdrop: 0; }
  }
}

.Drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.Drawer-close {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 193, 88, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-300);
  cursor: pointer;
}

.Drawer-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.25rem;
}

.Drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.Drawer-nav-list a {
  display: block;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #F7F8FA;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.Drawer-nav-list a:hover {
  background-color: rgba(214, 27, 35, 0.2);
  color: var(--gold-300);
}

.Drawer-cta-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.32);
}

.Drawer-cta-note {
  font-size: 0.88rem;
  color: var(--gold-300);
  margin: 0 0 0.25rem;
}

.Drawer-footer-info {
  font-size: 0.85rem;
  color: #C4CAD6;
}

.Drawer-footer-info p {
  margin-block: 0.25rem;
}

/* ==========================================================================
   PULSANTI E BADGE (Contrasto verificato >= 4.5:1 testo / >= 3:1 bordi)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--lg {
  padding: 0.95rem 1.65rem;
  font-size: 1.02rem;
}

.btn--full {
  width: 100%;
}

.btn--header {
  padding: 0.52rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--header-mobile {
  display: none;
}

.btn--primary {
  background-color: var(--clay-500);
  color: #FFFFFF;
  border-color: var(--gold-400);
  box-shadow: 0 2px 10px rgba(214, 27, 35, 0.22);
}

.btn--primary:hover {
  background-color: var(--clay-600);
  border-color: var(--gold-300);
  box-shadow: 0 4px 14px rgba(214, 27, 35, 0.28);
}

.btn--amber {
  background: linear-gradient(135deg, #F3D77D 0%, #E5C158 55%, #C59B27 100%);
  color: #0D1017;
  border-color: #F3D77D;
  font-weight: 700;
}

.btn--amber:hover {
  background: linear-gradient(135deg, #FAE396 0%, #ECCB65 55%, #D4AF37 100%);
}

.btn--outline {
  background-color: transparent;
  color: var(--ink-950);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--clay-500);
  color: var(--clay-500);
}

.btn--ghost {
  background-color: var(--sand-100);
  color: var(--ink-950);
  border-color: var(--border-subtle);
}

.btn--ghost:hover {
  border-color: var(--gold-600);
}

.btn--glass,
.btn--ghost-light {
  background-color: rgba(10, 12, 16, 0.68);
  color: #FFFFFF;
  border-color: rgba(229, 193, 88, 0.55);
  backdrop-filter: blur(8px);
}

.btn--glass:hover,
.btn--ghost-light:hover {
  background-color: rgba(17, 21, 29, 0.88);
  border-color: var(--gold-300);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
}

.badge__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background-color: var(--gold-400);
}

.badge--glass {
  background-color: rgba(10, 12, 16, 0.78);
  color: #FFFFFF;
  border: 1px solid rgba(229, 193, 88, 0.5);
}

.badge--placeholder {
  background-color: rgba(229, 193, 88, 0.2);
  color: var(--gold-300);
  border: 1px dashed rgba(243, 215, 125, 0.7);
  font-family: var(--font-mono);
}

.section--sand .badge--placeholder,
.section--white .badge--placeholder {
  background-color: var(--amber-100);
  color: #5C4300;
  border-color: var(--gold-600);
}

.badge--clay {
  background-color: var(--clay-500);
  color: #FFFFFF;
  border: 1px solid rgba(229, 193, 88, 0.45);
}

.badge--pine {
  background-color: var(--pine-900);
  color: var(--gold-300);
  border: 1px solid rgba(229, 193, 88, 0.45);
}

.badge--amber {
  background-color: var(--gold-400);
  color: #0D1017;
}

.badge--surface {
  background-color: rgba(10, 12, 16, 0.82);
  color: var(--gold-300);
  border: 1px solid rgba(229, 193, 88, 0.45);
}

/* ==========================================================================
   SEZIONE 1: HERO CINEMATOGRAFICO CON VIDEO DRONE
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: flex-end;
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem);
  color: #F7F8FA;
  overflow: hidden;
  background-color: var(--pine-950);
}

.hero__media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__poster-picture,
.hero__poster-img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 88%;
}

.hero__video {
  z-index: 1;
  transition: opacity 0.4s ease;
  filter: contrast(1.05) saturate(1.06);
}

/* Versione statica quando il video non è disponibile o l'utente riduce le animazioni */
.hero__media-wrap.is-static-fallback .hero__video {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

/* Scrim Antracite calibrato: scherma il margine alto del cielo e protegge il testo a sinistra lasciando i 7 campi nitidi e luminosi */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(98deg, rgba(10, 12, 16, 0.78) 0%, rgba(10, 12, 16, 0.52) 45%, rgba(10, 12, 16, 0.08) 82%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.46) 0%, rgba(10, 12, 16, 0.08) 22%, rgba(10, 12, 16, 0.22) 72%, rgba(10, 12, 16, 0.88) 100%);
}

.hero__container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__content {
  max-width: 52rem;
}

.hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.hero__title {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.15rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-300);
}

.hero__lead {
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.15rem);
  line-height: 1.54;
  color: #ECEEF2;
  max-width: 58ch;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.hero__cta-group .btn {
  padding: 0.58rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.hero__cta-group .btn svg {
  width: 16px;
  height: 16px;
}

/* Controllo Pausa / Riproduzione Video Drone */
.hero__controls-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.video-status-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 16, 0.82);
  border: 1px solid rgba(229, 193, 88, 0.42);
  backdrop-filter: blur(10px);
}

.video-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(229, 193, 88, 0.45);
  background: rgba(214, 27, 35, 0.25);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.video-control-btn:hover {
  background: rgba(214, 27, 35, 0.45);
}

.video-control-btn[aria-pressed="false"] .icon-play {
  display: none;
}

.video-control-btn[aria-pressed="true"] .icon-pause {
  display: none;
}

.video-status-text {
  font-size: 0.82rem;
  color: #DCE0E8;
}

.video-status-link {
  color: var(--gold-300);
  font-weight: 600;
}

/* Statistiche rapide dei 7 campi e Lounge Bar (Nero Antracite, Rosso Busen & Oro) */
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-top: 0.75rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 12, 16, 0.86);
  border: 1px solid rgba(229, 193, 88, 0.38);
  backdrop-filter: blur(12px);
}

.stat-card--social {
  background: linear-gradient(135deg, rgba(214, 27, 35, 0.34) 0%, rgba(17, 21, 29, 0.9) 100%);
  border-color: var(--gold-400);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
  flex-shrink: 0;
}

.stat-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: rgba(229, 193, 88, 0.18);
  color: var(--gold-300);
  border: 1px solid rgba(229, 193, 88, 0.4);
  flex-shrink: 0;
}

.stat-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-card__title {
  font-size: 0.95rem;
  color: #FFFFFF;
}

.stat-card__desc {
  font-size: 0.8rem;
  color: #C4CAD6;
}

@media (max-width: 960px) {
  .hero__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero__stats-grid {
    grid-template-columns: 1fr;
  }
  .hero__cta-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   SEZIONI GENERALI E INTESTAZIONI
   ========================================================================== */
.section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.section--sand {
  background-color: var(--sand-50);
}

.section--white {
  background-color: var(--surface-white);
  border-block: 1px solid var(--border-subtle);
}

.section--pine {
  background-color: var(--pine-900);
  color: #F7F8FA;
  border-block: 1.5px solid rgba(212, 175, 55, 0.35);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clay-500);
  margin-bottom: 0.65rem;
}

.eyebrow--amber {
  color: var(--gold-300);
}

.section-title {
  font-size: clamp(1.85rem, 1.35rem + 2vw, 2.85rem);
  color: var(--ink-950);
}

.section-title--light {
  color: #FFFFFF;
}

.section-subtitle {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: var(--ink-700);
  max-width: 64ch;
}

.section-header {
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-header--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
}

.text-muted {
  color: var(--ink-700);
}

@media (max-width: 860px) {
  .section-header--split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   SEZIONE 2: MAPPA VISIVA DRONE & HOTSPOT DEI CAMPI
   ========================================================================== */
.aerial-showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.aerial-showcase__stage {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  background: var(--pine-950);
  min-height: 24rem;
}

.aerial-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot {
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem 0.4rem 0.45rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold-400);
  background: rgba(10, 12, 16, 0.9);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hotspot:hover,
.hotspot.is-active {
  background: var(--clay-500);
  border-color: var(--gold-300);
  transform: scale(1.06);
  z-index: 4;
}

.hotspot__num {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(229, 193, 88, 0.22);
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .hotspot__label {
    display: none;
  }
  .hotspot {
    padding: 0.35rem;
  }
}

.aerial-showcase__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--surface-elevated);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.aerial-panel__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.aerial-tab {
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink-800);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.aerial-tab.is-active {
  background: var(--pine-900);
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.aerial-panel__title {
  font-size: 1.55rem;
  margin-top: 0.75rem;
}

.aerial-panel__desc {
  color: var(--ink-700);
}

.aerial-panel__specs {
  padding-left: 1.2rem;
  margin-block: 1rem 1.5rem;
  color: var(--ink-800);
  font-size: 0.92rem;
}

.aerial-panel__specs li {
  margin-bottom: 0.4rem;
}

.aerial-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 980px) {
  .aerial-showcase {
    grid-template-columns: 1fr;
  }
}

/* Box Guida Tecnica File Drone */
.drone-integration-box {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface-subtle);
  border: 1.5px dashed var(--border-strong);
  padding: 1.1rem 1.35rem;
}

.drone-integration-box__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.drone-integration-box__summary::-webkit-details-marker {
  display: none;
}

.drone-integration-box__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.drone-integration-box__toggle-label {
  font-size: 0.85rem;
  color: var(--clay-500);
  text-decoration: underline;
}

.drone-integration-box__body {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.drone-files-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.drone-file-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
}

.drone-file-card code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--clay-600);
  background: var(--clay-100);
  padding: 0.2rem 0.45rem;
  border-radius: 0.3rem;
  margin-bottom: 0.5rem;
}

.drone-file-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-700);
}

@media (max-width: 767px) {
  .drone-files-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEZIONE 3: I 7 CAMPI & LE 3 DISCIPLINE
   ========================================================================== */
.sport-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.filter-chip {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--ink-800);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--clay-500);
}

.filter-chip.is-active {
  background: var(--pine-900);
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.courts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.court-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--surface-elevated);
  border: 1.5px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.court-card[hidden] {
  display: none;
}

.court-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.court-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--pine-900);
  border-bottom: 2px solid var(--gold-500);
}

.court-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.court-card:hover .court-card__media img {
  transform: scale(1.04);
}

.court-card__badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.court-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.court-card__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay-500);
  margin-bottom: 0.3rem;
}

.court-card__title {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.court-card__text {
  color: var(--ink-700);
  font-size: 0.95rem;
}

.court-card__meta {
  margin-block: 1rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.court-card__meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.court-card__meta dt {
  font-weight: 700;
  color: var(--ink-950);
}

.court-card__meta dd {
  margin: 0;
  color: var(--ink-700);
}

.court-card__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.court-card__footer .btn {
  width: auto;
  min-width: 205px;
  max-width: 240px;
  margin-inline: auto;
  padding: 0.50rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 600;
  height: 2.35rem;
  min-height: 2.35rem;
  max-height: 2.35rem;
  box-sizing: border-box;
  white-space: nowrap;
}

.court-card__footer .btn svg {
  width: 15px;
  height: 15px;
}

.court-card__meta-booking {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.court-meta__slot {
  font-size: 0.86rem;
  color: var(--ink-700);
}

.court-meta__contact {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.45rem !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  width: 100%;
}

.court-chip {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.35rem;
  padding: 0.24rem 0.55rem;
  border-radius: var(--radius-sm, 6px);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap !important;
}

.court-chip--wa {
  background: rgba(37, 211, 102, 0.10);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.30);
  font-weight: 600;
}

.court-chip--wa:hover {
  background: rgba(37, 211, 102, 0.20);
  color: #075E54;
  border-color: #25D366;
  text-decoration: none;
}

.court-chip--wa svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: #25D366;
}

.court-chip--tel {
  background: var(--surface-subtle, #F1F5F9);
  color: var(--ink-800, #1E293B);
  border: 1px solid var(--border-subtle, #CBD5E1);
  padding: 0.24rem 0.45rem;
}

.court-chip--tel:hover {
  background: var(--surface-muted, #E2E8F0);
  color: var(--ink-950, #0F172A);
  border-color: var(--ink-400, #94A3B8);
  text-decoration: none;
}

.court-chip--tel svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--ink-600, #475569);
}

/* =====================================================
   BOTTONE DEDICATO: BUSEN ARENA APP (Dark Onyx & Gold)
   ===================================================== */
.busen-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #151A23 0%, #0F131A 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
  white-space: nowrap;
  box-sizing: border-box;
}

.busen-app-btn:hover {
  border-color: #D4AF37;
  background: linear-gradient(135deg, #1E2532 0%, #151A23 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.busen-app-btn__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.busen-app-btn__text {
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.busen-app-btn__tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(212, 175, 55, 0.2);
  color: #E6C665;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 0.15rem;
}

.busen-app-btn__arrow {
  color: #94A3B8;
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 0.1rem;
}

.busen-app-btn:hover .busen-app-btn__arrow {
  color: #D4AF37;
  transform: translate(2px, -2px);
}

/* Modificatore: Grande (per booking strip / CTA importanti) */
.busen-app-btn--lg {
  padding: 0.60rem 1.25rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

.busen-app-btn--lg .busen-app-btn__logo {
  width: 22px;
  height: 22px;
}

.busen-app-btn--lg .busen-app-btn__tag {
  font-size: 0.70rem;
  padding: 0.15rem 0.45rem;
}

/* Modificatore: Inline (per elenchi puntati o testi scorrevoli) */
.busen-app-btn--inline {
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  border-radius: 6px;
  vertical-align: middle;
  margin-inline: 0.25rem;
}

.busen-app-btn--inline .busen-app-btn__logo {
  width: 16px;
  height: 16px;
}

/* Modificatore: Footer */
.busen-app-btn--footer {
  padding: 0.25rem 0.6rem;
  font-size: 0.82rem;
  border-radius: 6px;
  margin-top: 0.2rem;
}

.busen-app-btn--footer .busen-app-btn__logo {
  width: 16px;
  height: 16px;
}

@media (min-width: 981px) {
  .court-card__header {
    min-height: 4.8rem;
  }

  .court-card__text {
    min-height: 4.8rem;
  }

  .court-card__meta {
    min-height: 11.2rem;
  }
}

@media (max-width: 980px) {
  .courts-grid {
    grid-template-columns: 1fr;
  }
}

/* Striscia Prenotazione Busen Arena (Nero Antracite, Oro Metallico & Rosso Busen) */
.booking-strip {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #11151D 0%, #1A202C 100%);
  color: #FFFFFF;
  border: 1.5px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.booking-strip__content {
  max-width: 42rem;
}

.booking-strip__title {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #FFFFFF;
}

.booking-strip__desc {
  margin-bottom: 0;
  color: #DCE0E8;
}

.booking-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.booking-strip .btn--outline {
  color: var(--gold-300);
  border-color: rgba(229, 193, 88, 0.55);
}

.booking-strip .btn--outline:hover {
  background: rgba(229, 193, 88, 0.14);
  color: #FFFFFF;
  border-color: var(--gold-300);
}

/* ==========================================================================
   SEZIONE 4: LOUNGE BAR & SPAZIO EVENTI (Griglia Gemella Speculare)
   ========================================================================== */
.section-header--light .section-title--light {
  color: #FFFFFF;
}

.section-header--light .section-subtitle--light {
  color: #DCE0E8;
  max-width: 780px;
}

.convivial-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.convivial-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #121824 0%, #0C101A 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.convivial-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(212, 175, 55, 0.15);
}

.convivial-card__media {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: var(--pine-950);
}

.convivial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.convivial-card:hover .convivial-card__media img {
  transform: scale(1.03);
}

.convivial-card__badge-group {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.convivial-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.85rem 1.75rem;
}

.convivial-card__header {
  margin-bottom: 0.85rem;
}

.convivial-card__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.convivial-card__title {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.convivial-card__lead {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #DCE0E8;
  margin-bottom: 1.5rem;
}

.convivial-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.convivial-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
}

.convivial-feature-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.convivial-feature-list strong {
  color: #F8FAFC;
  font-weight: 600;
}

.convivial-card__footer {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.convivial-card__footer .btn {
  width: auto;
  min-width: 240px;
  max-width: 300px;
  margin-inline: auto;
  box-sizing: border-box;
}

/* ==========================================================================
   GALLERIA FOTOGRAFICA LOUNGE BAR & SPAZI TERZO TEMPO
   ========================================================================== */
.convivial-gallery {
  margin-block: 2.25rem 2rem;
  background: rgba(10, 14, 22, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-xl);
  padding: 1.75rem clamp(1rem, 2.5vw, 2rem);
}

.convivial-gallery__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.convivial-gallery__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 0.3rem;
}

.convivial-gallery__title {
  color: #FFFFFF;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  margin: 0;
}

.convivial-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.convivial-gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
  background: var(--pine-950);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.convivial-gallery__item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 175, 55, 0.2);
}

.convivial-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.convivial-gallery__item:hover img {
  transform: scale(1.05);
}

.convivial-gallery__item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem 0.55rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 18, 0.92) 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
  .convivial-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .convivial-gallery {
    padding: 1.25rem 0.85rem;
    margin-block: 1.75rem 1.5rem;
  }
  .convivial-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }
  .convivial-gallery__item figcaption {
    font-size: 0.72rem;
    padding: 0.45rem 0.4rem;
  }
}

/* Striscia di contatto inferiore */
.convivial-contact-strip {
  background: rgba(16, 22, 34, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.convivial-contact-strip__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.convivial-contact-strip__tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-400);
}

.convivial-contact-strip__info p {
  margin: 0;
  font-size: 0.92rem;
  color: #F1F5F9;
  font-weight: 500;
}

@media (max-width: 960px) {
  .convivial-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .convivial-card__body {
    padding: 1.4rem 1.25rem;
  }

  .convivial-contact-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem;
  }

  .convivial-contact-strip .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SEZIONE 5: QUATTRO MODI PER VIVERE IL BUSEN
   ========================================================================== */
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pathway-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background: var(--surface-elevated);
  border: 1.5px solid var(--border-subtle);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
}

.pathway-card__step {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clay-500);
  margin-bottom: 0.75rem;
}

.pathway-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.pathway-card__desc {
  font-size: 0.93rem;
  color: var(--ink-700);
}

.pathway-card__placeholder {
  margin-block: 0.25rem 1rem;
}

.pathway-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--clay-500);
  text-decoration: none;
}

.pathway-card__link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pathways-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEZIONE 6: CONTATTI DIRETTI, POSIZIONE E MODULO DI RICHIESTA
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info__lead {
  color: var(--ink-700);
  margin-bottom: 1.5rem;
}

.direct-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--sand-50);
  border: 1.5px solid var(--border-subtle);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.channel-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.channel-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-md);
  background: var(--pine-900);
  color: var(--gold-300);
  border: 1px solid rgba(229, 193, 88, 0.45);
  flex-shrink: 0;
}

.channel-card__icon--wa {
  background: var(--clay-500);
  color: #FFFFFF;
  border-color: var(--gold-400);
}

.channel-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.channel-card__label {
  font-size: 0.78rem;
  color: var(--ink-700);
}

.channel-card__value {
  font-size: 1rem;
  color: var(--ink-950);
}

.channel-card__action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clay-500);
}

@media (max-width: 560px) {
  .direct-channels {
    grid-template-columns: 1fr;
  }
}

.location-box {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--sand-100);
  border: 1.5px solid var(--border-subtle);
  border-left: 4px solid var(--gold-500);
}

.location-box__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.location-box__item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.location-box__hint {
  font-size: 0.82rem;
  color: var(--ink-700);
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .location-box__row {
    grid-template-columns: 1fr;
  }
}

/* Card Modulo di Contatto */
.contact-form-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: var(--sand-50);
  border: 1.5px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}

.contact-form-card__header h3 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.contact-form-card__header p {
  font-size: 0.92rem;
  color: var(--ink-700);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row--two {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-950);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-950);
  background-color: var(--surface-white);
  /* Contrasto bordo >= 3:1 rispetto allo sfondo (Modern Web Guidance) */
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--clay-500);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--clay-500) 25%, transparent);
}

/* Stato nativo :user-invalid / :user-valid */
.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #C92A2A;
}

.field-error {
  font-size: 0.8rem;
  font-weight: 600;
  color: #C92A2A;
}

.form-feedback {
  margin-top: 0.5rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  border: 1.5px solid var(--border-strong);
  background: var(--surface-white);
}

.form-feedback--success {
  border-color: var(--gold-500);
  background: var(--amber-100);
  color: #3D2B00;
}

.form-feedback--direct {
  border-color: var(--clay-500);
  background: var(--surface-white);
  color: var(--ink-950);
}

.form-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FOOTER E BARRA RAPIDA MOBILE
   ========================================================================== */
.site-footer {
  background-color: var(--pine-950);
  color: #DCE0E8;
  padding-top: 3.5rem;
  padding-bottom: 5.5rem;
  border-top: 2px solid var(--gold-500);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.site-footer__tagline {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: #B9C0CE;
}

.site-footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 0.9rem;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.site-footer__col a {
  color: #DCE0E8;
  text-decoration: none;
}

.site-footer__col a:hover {
  color: var(--gold-300);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: #9BA3B4;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   ANIMAZIONI SCROLL-DRIVEN CON PROGRESSIVE ENHANCEMENT E REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes card-reveal {
      from {
        opacity: 0;
        translate: 0 1.5rem;
      }
      to {
        opacity: 1;
        translate: 0 0;
      }
    }

    .court-card,
    .pathway-card,
    .convivial-pillar,
    .sunset-card {
      animation: card-reveal linear backwards;
      animation-timeline: view();
      animation-range: entry 5% cover 24%;
    }
  }
}

/* ==========================================================================
   GALLERIA EDITORIALE 4K: L'ORA D'ORO A BORDO RETE (.sunset-showcase)
   ========================================================================== */
.sunset-showcase {
  margin-top: 3.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--pine-950) 0%, var(--pine-900) 60%, #1F1B2C 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.32);
  box-shadow: var(--shadow-lg);
  color: var(--sand-50);
}

.sunset-showcase__header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.sunset-showcase__header .eyebrow {
  color: var(--gold-300);
}

.sunset-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  color: #FFFFFF;
  margin: 0.45rem 0 0;
}

.sunset-showcase__lead {
  margin: 0;
  color: #D7DCE8;
  font-size: 0.98rem;
  line-height: 1.65;
}

.sunset-showcase__lead strong {
  color: var(--gold-300);
}

.sunset-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.sunset-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(14, 21, 38, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.24);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.sunset-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
}

.sunset-card--wide {
  grid-column: 1 / -1;
}

.sunset-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0E1526;
}

.sunset-card--wide .sunset-card__media {
  aspect-ratio: 21 / 9;
}

.sunset-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sunset-card:hover .sunset-card__media img {
  transform: scale(1.035);
}

.sunset-card__tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(14, 21, 38, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sunset-card__caption {
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #DCE1EC;
}

.sunset-card__caption strong {
  color: var(--gold-300);
}

@media (max-width: 860px) {
  .sunset-showcase__header,
  .sunset-showcase__grid {
    grid-template-columns: 1fr;
  }

  .sunset-card--wide .sunset-card__media {
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   AFFILIAZIONE UFFICIALE FITP & SCUOLA FEDERALE 3 DISCIPLINE
   ========================================================================== */
.header-brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-fitp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.45);
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-fitp-pill:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--gold-300);
  transform: translateY(-1px);
}

.header-fitp-pill__logo {
  width: 3.1rem;
  height: 1.55rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.header-fitp-pill__text {
  font-size: 0.68rem;
  line-height: 1.22;
  color: #DCE0E8;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-fitp-pill__text strong {
  color: var(--gold-300);
  font-weight: 700;
}

@media (max-width: 1260px) {
  .header-fitp-pill__text {
    display: none;
  }
  .header-fitp-pill {
    padding: 0.38rem 0.55rem;
  }
}

@media (max-width: 520px) {
  .header-fitp-pill {
    display: none;
  }
}

/* Badge FITP nell'Hero */
.badge--fitp-hero {
  background: linear-gradient(135deg, rgba(16, 36, 74, 0.94) 0%, rgba(10, 18, 36, 0.96) 100%);
  color: #FFFFFF;
  border: 1.5px solid var(--gold-400);
  border-radius: 0.75rem;
  padding: 0.48rem 1rem 0.48rem 0.8rem;
  gap: 0.65rem;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.38);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.badge--fitp-hero:hover {
  transform: translateY(-1px);
  border-color: var(--gold-300);
}

.badge__fitp-logo {
  width: 3.15rem;
  height: 1.58rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Banner Ufficiale Scuola Federale FITP (Sezione Campi) */
.fitp-official-banner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  margin-bottom: 2.75rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--pine-950) 0%, #132347 55%, var(--pine-900) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.48);
  box-shadow: var(--shadow-lg);
  color: #F7F8FA;
  position: relative;
  overflow: hidden;
}

.fitp-official-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #008C45 0%, #008C45 33.3%, #F4F5F0 33.3%, #F4F5F0 66.6%, #CD212A 66.6%, #CD212A 100%);
}

.fitp-official-banner__logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 2px solid var(--gold-400);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.fitp-official-banner__award {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.3rem 0.75rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #F3D77D 0%, #D4AF37 100%);
  color: #0D1017;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-sizing: border-box;
}

.fitp-official-banner__logo {
  width: 100%;
  max-width: 170px;
  height: auto;
  display: block;
}

.fitp-official-banner__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.3rem 0.75rem;
  border-radius: 0.55rem;
  background: #1E386A;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-sizing: border-box;
}

.fitp-official-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.fitp-official-banner__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.fitp-official-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0;
}

.fitp-official-banner__desc {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #DCE2EE;
  max-width: 68ch;
}

.fitp-official-banner__desc strong {
  color: var(--gold-300);
}

.fitp-official-banner__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.35rem;
}

.fitp-pillar-chip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(10, 14, 24, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.36);
}

.fitp-pillar-chip strong {
  font-size: 0.9rem;
  color: var(--gold-300);
}

.fitp-pillar-chip span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #CBD3E3;
}

.fitp-virtuoso-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.fitp-virtuoso-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #DCE2EE;
}

.fitp-virtuoso-strip__item strong {
  color: #FFFFFF;
}

.fitp-virtuoso-strip__check {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

@media (max-width: 960px) {
  .fitp-official-banner {
    grid-template-columns: 1fr;
  }
  .fitp-official-banner__logo-box {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 1.25rem;
  }
  .fitp-official-banner__logo {
    max-width: 140px;
  }
  .fitp-official-banner__pillars,
  .fitp-virtuoso-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .fitp-official-banner__logo-box {
    flex-direction: column;
  }
}

/* Badge FITP nel Footer */
.footer-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

.footer-fitp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.42);
  max-width: 100%;
  box-sizing: border-box;
}

.footer-fitp-badge__img {
  width: 3.7rem;
  height: 1.85rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-fitp-badge__label {
  font-size: 0.75rem;
  line-height: 1.25;
  color: #DCE0E8;
}

.footer-fitp-badge__label strong {
  color: var(--gold-300);
}

/* ==========================================================================
   SEZIONE TYPTI & SPEC TENNIS SUI 2 CAMPI DA PICKLEBALL (.new-rackets-showcase)
   ========================================================================== */
.new-rackets-showcase {
  margin-top: 3rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #101726 0%, #162238 55%, #111827 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-lg);
  color: #F7F8FA;
}

.new-rackets-showcase__header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
}

.new-rackets-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0.4rem 0 0;
}

.new-rackets-showcase__title em {
  color: var(--gold-300);
  font-style: italic;
}

.new-rackets-showcase__lead {
  margin: 0;
  color: #DCE2EE;
  font-size: 0.96rem;
  line-height: 1.62;
}

.new-rackets-showcase__lead strong {
  color: var(--gold-300);
}

.new-rackets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.racket-sport-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 14, 24, 0.82);
  border: 1.5px solid rgba(212, 175, 55, 0.34);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.racket-sport-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
}

.racket-sport-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0B0F19;
  border-bottom: 2px solid var(--gold-500);
}

.racket-sport-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.racket-sport-card:hover .racket-sport-card__media img {
  transform: scale(1.03);
}

.racket-sport-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.34rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 14, 24, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.racket-sport-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
}

.racket-sport-card__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-300);
  margin-bottom: 0.25rem;
}

.racket-sport-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
}

.racket-sport-card__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #D2DAE8;
}

.racket-gear-specs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.racket-gear-spec {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.26);
}

.racket-gear-spec__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.racket-gear-spec p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.48;
  color: #DCE2EE;
}

.racket-gear-spec strong {
  color: #FFFFFF;
}

.new-rackets-showcase__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.new-rackets-showcase__footer p {
  margin: 0;
  font-size: 0.94rem;
  color: #DCE2EE;
}

.new-rackets-showcase__footer strong {
  color: var(--gold-300);
}

@media (max-width: 900px) {
  .new-rackets-showcase__header,
  .new-rackets-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OTTIMIZZAZIONE HOME SMARTPHONE (<= 767px): PULITA, ORDINATA E LEGGIBILE
   (Su desktop > 767px il layout resta 100% invariato)
   ========================================================================== */
.hero-fitp-label-mobile {
  display: none;
}

@media (max-width: 767px) {
  .hide-on-mobile,
  .hero-fitp-label-desktop {
    display: none !important;
  }

  .hero-fitp-label-mobile {
    display: inline;
  }

  /* Barra superiore compatta su 1 riga */
  .utility-bar {
    padding-block: 0.35rem;
    font-size: 0.72rem;
  }

  .utility-bar__location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Header più snello su telefono */
  .site-header {
    height: 3.85rem;
  }

  .site-header__inner {
    gap: 0.45rem;
  }

  .site-header__actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .theme-toggle {
    width: 2.15rem;
    height: 2.15rem;
  }

  .menu-trigger {
    width: 2.25rem;
    height: 2.25rem;
  }

  .brand-logo {
    width: 2.25rem;
    height: 2.25rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  /* Pulsante Prenota Campo compatto in alto a destra su mobile */
  .btn--header {
    padding: 0.36rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.25rem;
    white-space: nowrap;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
  }

  .btn--header svg {
    width: 12px;
    height: 12px;
  }

  @media (max-width: 480px) {
    .brand-sub {
      display: none;
    }

    .btn--header-desktop {
      display: none;
    }

    .btn--header-mobile {
      display: inline;
    }
  }

  /* Hero su smartphone: lascia respirare il video drone in alto e ordina i blocchi sotto */
  .hero {
    min-height: auto;
    padding-block: 10.5rem 1.75rem;
    align-items: flex-end;
  }

  .hero__poster-img,
  .hero__video {
    object-position: center 35%;
  }

  .hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(10, 12, 16, 0.22) 0%,
        rgba(10, 12, 16, 0.06) 24%,
        rgba(10, 12, 16, 0.76) 48%,
        rgba(10, 12, 16, 0.96) 100%);
  }

  .hero__container {
    gap: 1.1rem;
  }

  /* Pulsante Pausa/Play video discreto nell'angolo in alto a destra del video */
  .hero__controls-bar {
    position: absolute;
    top: -9.6rem;
    right: 1rem;
    z-index: 5;
  }

  .video-status-pill {
    padding: 0.2rem;
    background: rgba(10, 12, 16, 0.72);
  }

  .video-control-btn {
    padding: 0.32rem 0.68rem;
    font-size: 0.74rem;
  }

  /* Un solo badge FITP pulito e centrato sul perimetro */
  .hero__eyebrow-row {
    margin-bottom: 0.75rem;
  }

  .badge--fitp-hero {
    padding: 0.38rem 0.75rem 0.38rem 0.6rem;
    gap: 0.5rem;
    font-size: 0.74rem;
  }

  .badge__fitp-logo {
    width: 2.5rem;
    height: 1.25rem;
  }

  /* Titolo e sottotitolo chiari e immediati */
  .hero__title {
    font-size: clamp(1.72rem, 6.8vw, 2.15rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
  }

  .hero__lead {
    font-size: 0.93rem;
    line-height: 1.48;
    margin-bottom: 1.1rem;
    color: #E5E9F0;
  }

  /* 2 pulsanti affiancati e ordinati invece di 3 pulsanti giganti impilati */
  .hero__cta-group {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.45rem;
  }

  .hero__cta-group .btn {
    width: 100%;
    padding: 0.56rem 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* Schede dei 7 campi in griglia compatta 2x2 senza descrizioni lunghe */
  .hero__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    padding-top: 0.25rem;
  }

  .stat-card {
    padding: 0.7rem 0.75rem;
    gap: 0.55rem;
    border-radius: var(--radius-md);
  }

  .stat-card__number {
    font-size: 1.3rem;
  }

  .stat-card__icon {
    width: 1.95rem;
    height: 1.95rem;
  }

  .stat-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .stat-card__title {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .stat-card__desc {
    display: none;
  }

  /* Mappa aerea e filtri più ordinati su telefono */
  .aerial-showcase__stage {
    min-height: 15.5rem;
    aspect-ratio: 16 / 10;
    touch-action: pan-y;
  }

  /* 1. Filtri dei campi compatti e centrati su 2 righe: TUTTI visibili all'istante, nessun scorrimento laterale */
  .sport-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.55rem;
    padding-inline: 0;
    margin-inline: 0;
    padding-bottom: 0.25rem;
    margin-top: 1rem;
    overflow: visible;
  }

  .filter-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.45rem 0.88rem;
    font-size: 0.82rem;
  }

  /* 2. Schede della Mappa Aerea compatte su 2 righe senza scorrimento laterale */
  .aerial-panel__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    overflow: visible;
    padding-bottom: 0.25rem;
  }

  .aerial-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.42rem 0.8rem;
  }

  /* 3. Galleria Tramonto 4K in colonna verticale naturale: scorrimento fluido con il pollice */
  .sunset-showcase__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .sunset-card {
    max-width: 100%;
    width: 100%;
  }

  .sunset-card--wide .sunset-card__media,
  .sunset-card .sunset-card__media {
    aspect-ratio: 16 / 10;
  }

  .sunset-card__caption {
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  /* 4. Pulsante GPS Navigatore 1-Tap */
  .btn--gps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, var(--pine-900) 0%, var(--pine-950) 100%);
    color: var(--gold-300);
    border: 1.5px solid var(--gold-500);
    padding: 0.78rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease, background 0.15s ease;
  }

  .btn--gps:active {
    transform: scale(0.98);
  }

  .new-rackets-showcase,
  .sunset-showcase {
    padding: 1.25rem;
    margin-top: 2rem;
  }

  .racket-sport-card__body {
    padding: 1.15rem;
  }
}

/* ==========================================================================
   FINESTRA MODALE PRENOTAZIONE DUPLICE SCELTA (Web App Busen Arena vs WhatsApp Rapido)
   ========================================================================== */
body.dialog-open {
  overflow: hidden;
}

.booking-dialog {
  padding: 0;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-xl);
  background: #0E131E;
  color: #F8FAFC;
  max-width: 480px;
  width: calc(100% - 2rem);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.15);
  margin: auto;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, overlay 0.25s ease allow-discrete, display 0.25s ease allow-discrete;
}

.booking-dialog::backdrop {
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.25s ease;
}

@starting-style {
  .booking-dialog[open] {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  .booking-dialog[open]::backdrop {
    opacity: 0;
  }
}

.booking-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.booking-dialog__shell {
  display: flex;
  flex-direction: column;
}

.booking-dialog__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, rgba(214, 27, 35, 0.28) 0%, #161D2B 55%, #0E131E 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-dialog__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.booking-dialog__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid rgba(229, 193, 88, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.booking-dialog__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.booking-dialog__subtitle {
  font-size: 0.8rem;
  color: var(--gold-400);
  font-weight: 600;
  margin: 0.2rem 0 0;
}

.booking-dialog__close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.booking-dialog__close:hover,
.booking-dialog__close:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  outline: none;
}

.booking-dialog__banner {
  background: rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 0.75rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.booking-dialog__banner-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-300);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.booking-dialog__banner-text {
  font-size: 0.82rem;
  color: #CBD5E1;
  margin: 0;
  font-weight: 500;
}

.booking-dialog__body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

/* OPZIONI DI PRENOTAZIONE */
.booking-option-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.booking-option-card:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* Opzione 1: Web App Busen Arena */
.booking-option-card--app {
  background: linear-gradient(180deg, #162030 0%, #111724 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.booking-option-card--app:hover {
  background: linear-gradient(180deg, #1C283E 0%, #141C2C 100%);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Opzione 2: WhatsApp Rapido */
.booking-option-card--wa {
  background: #101623;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.booking-option-card--wa:hover {
  background: #151D2D;
  border-color: rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(37, 211, 102, 0.18);
}

.booking-option-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.booking-option-card__tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.booking-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}

.booking-pill--gold {
  background: rgba(229, 193, 88, 0.18);
  color: var(--gold-300);
  border: 1px solid rgba(229, 193, 88, 0.35);
}

.booking-pill--green {
  background: rgba(37, 211, 102, 0.18);
  color: #4ADE80;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.booking-pill-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: #34D399;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.booking-pill-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

.booking-pill-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94A3B8;
}

.booking-option-card__badge-rec {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

.booking-option-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.booking-option-card__arrow {
  font-size: 1.15rem;
  transition: transform 0.15s ease;
}

.booking-option-card--app:hover .booking-option-card__arrow {
  transform: translate(2px, -2px);
  color: var(--gold-400);
}

.booking-option-card--wa:hover .booking-option-card__arrow {
  transform: scale(1.15);
}

.booking-option-card__desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #CBD5E1;
  margin: 0.4rem 0 0;
}

.booking-option-card__foot {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #94A3B8;
}

.booking-option-card--app .booking-option-card__action {
  color: var(--gold-300);
  font-weight: 700;
}

.booking-option-card--wa .booking-option-card__action {
  color: #4ADE80;
  font-weight: 700;
}

/* Separatore Oppure */
.booking-dialog__divider {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin: 0.1rem 0;
}

.booking-dialog__divider::before,
.booking-dialog__divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-dialog__divider span {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
}

/* Footer Assistenza */
.booking-dialog__footer {
  background: #090C14;
  padding: 0.85rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #94A3B8;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.booking-dialog__phone-link {
  color: #F1F5F9;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.booking-dialog__phone-link:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

/* Mobile responsive bottom sheet */
@media (max-width: 767px) {
  .booking-dialog {
    max-width: 100%;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 1.5rem 1.5rem 0 0;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.5rem);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  @starting-style {
    .booking-dialog[open] {
      opacity: 0;
      transform: translateY(100%);
    }
  }

  .booking-dialog[open] {
    opacity: 1;
    transform: translateY(0);
  }

  .booking-dialog__header {
    padding: 1.1rem 1.15rem;
  }

  .booking-dialog__body {
    padding: 1.1rem 1.15rem;
    gap: 0.85rem;
  }

  .booking-dialog__banner {
    padding: 0.65rem 1.15rem;
  }

  .booking-dialog__footer {
    padding: 0.75rem 1.15rem;
  }
}

/* ==========================================================================
   FORCED COLORS MODE (High Contrast Accessibilità)
   ========================================================================== */
@media (forced-colors: active) {
  .btn,
  .court-card,
  .pathway-card,
  .channel-card,
  .stat-card,
  .contact-form-card,
  .sunset-card,
  .racket-sport-card,
  .fitp-official-banner,
  .booking-dialog,
  .booking-option-card,
  .convivial-card,
  .convivial-contact-strip {
    border: 2px solid CanvasText;
  }
}

/* ==========================================================================
   SPECIALE HALLOWEEN 2026: TOP BAR, BADGES & SEZIONE TORNEI
   ========================================================================== */
.convivial-events-block {
  margin-top: 2rem;
  margin-bottom: 3.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #1F1710 0%, #11151D 60%, #0D1017 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-2xl, 24px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.convivial-events-block::before {
  content: "";
  position: absolute;
  top: -100px;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.convivial-events-block__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.convivial-events-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FBBF24;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.convivial-events-block__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.convivial-events-block__title em {
  font-style: normal;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.convivial-events-block__subtitle {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.halloween-announcement-bar {
  background: linear-gradient(90deg, #1C1307 0%, #2A170A 25%, #3B1A0A 50%, #2A170A 75%, #1C1307 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.4);
  color: #FDE68A;
  padding: 0.60rem 1rem;
  font-size: 0.88rem;
  position: relative;
  z-index: 1050;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.halloween-announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.halloween-announcement-bar__content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.halloween-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #FBBF24;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.halloween-text {
  color: #F1F5F9;
  font-size: 0.88rem;
}

.halloween-text strong {
  color: #FDE68A;
}

.halloween-announcement-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #D97706;
  color: #FFFFFF !important;
  text-decoration: none !important;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

.halloween-announcement-bar__cta:hover {
  background: #B45309;
  transform: translateY(-1px);
}

.badge--halloween {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.95), rgba(180, 83, 9, 0.95)) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(253, 230, 138, 0.5) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  animation: pulse-halloween 2.5s infinite;
}

@keyframes pulse-halloween {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
}

.section--halloween {
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #1F140A 0%, #11141A 60%, #0B0E14 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.25);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  position: relative;
  overflow: hidden;
}

.section--halloween::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.halloween-container {
  max-width: 1240px;
  margin: 0 auto;
}

.halloween-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.halloween-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.halloween-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.halloween-title em {
  font-style: normal;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.halloween-subtitle {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   SPECIALE HALLOWEEN 31 OTTOBRE - GRIGLIA SIMMETRICA 2 TORNEI
   ========================================================================== */

.halloween-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .halloween-duo-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.halloween-tournament-card {
  background: linear-gradient(180deg, #161C26 0%, #11151E 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.halloween-tournament-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.halloween-tournament-card--tennis {
  border-top: 4px solid #E05A47;
}

.halloween-tournament-card--pickle {
  border-top: 4px solid #F59E0B;
}

.halloween-poster-box {
  position: relative;
  height: 500px;
  background: radial-gradient(circle at center, #18202F 0%, #080A0F 100%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.halloween-poster-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-decoration: none;
}

.halloween-poster-zoom img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
}

.halloween-poster-box:hover .halloween-poster-zoom img {
  transform: scale(1.02);
}

.halloween-poster-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #FDE68A;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.halloween-poster-expand-btn {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(11, 14, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #FDE68A;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.halloween-poster-expand-btn:hover {
  background: #D4AF37;
  color: #0B0E14;
}

.halloween-tournament-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.halloween-tournament-title {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.halloween-tournament-title em {
  font-style: italic;
  color: #D4AF37;
  font-size: 1.25rem;
}

.halloween-tournament-subtitle {
  font-size: 0.94rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Compatibilità e stili card */
.halloween-card__badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.halloween-card__sport-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.halloween-card__sport-tag--tennis,
.halloween-card--tennis .halloween-card__sport-tag {
  background: rgba(224, 90, 71, 0.2);
  color: #FFA594;
  border: 1px solid rgba(224, 90, 71, 0.4);
}

.halloween-card__sport-tag--pickle,
.halloween-card--pickleball .halloween-card__sport-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.halloween-card__price-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

.halloween-card__price-badge small {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
}

.halloween-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.halloween-card__subtitle {
  color: #94A3B8;
  font-size: 0.90rem;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.halloween-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.halloween-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.90rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.halloween-specs__icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.halloween-specs strong {
  color: #FFFFFF;
}

.halloween-specs em {
  font-style: normal;
  color: #FDE68A;
  font-weight: 600;
}

.halloween-highlight-box {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: #FCA5A5;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.halloween-highlight-box strong {
  color: #FEF2F2;
}

.halloween-highlight-box--amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #FDE68A;
}

.halloween-highlight-box--amber strong {
  color: #FFFFFF;
}

.halloween-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-halloween-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #25D366;
  color: #FFFFFF !important;
  text-decoration: none !important;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-halloween-wa:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-halloween-wa svg {
  flex-shrink: 0;
}

.halloween-card__contact-note {
  text-align: center;
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}

.halloween-card__contact-note strong {
  color: #94A3B8;
}

.halloween-bottom-banner {
  margin-top: 2.25rem;
  background: rgba(21, 26, 35, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.halloween-bottom-banner__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.halloween-bottom-banner__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.halloween-bottom-banner__text h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  color: #FFFFFF;
}

.halloween-bottom-banner__text p {
  margin: 0;
  font-size: 0.88rem;
  color: #94A3B8;
}

.halloween-bottom-banner__text strong {
  color: #FDE68A;
}

.halloween-bottom-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
