:root {
  --navy: #0b1b34;
  --navy-soft: #102744;
  --blue: #245c9f;
  --yellow: #f4b516;
  --ink: #101828;
  --muted: #667085;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --line: #e5eaf1;
  --line-dark: rgba(255, 255, 255, .14);
  --shadow: 0 16px 36px rgba(16, 24, 40, .10);
  --container: 1120px;
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #06101f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  max-width: 100%;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
main { background: var(--paper); }
img { display: block; max-width: 100%; }
/* La <picture> non deve diventare flex/grid item: il layout resta sulla <img>.
   Con display:contents anche i <source> diventerebbero item veri e propri
   (blockified da flex/grid) occupando una cella vuota: vanno tolti dal flusso. */
picture { display: contents; }
picture > source { display: none; }
svg,
video,
canvas,
iframe { max-width: 100%; }
.image-focus--top { object-position: center 24%; }
.image-focus--poster { object-position: center 42%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon--xs {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  stroke-width: 2.1;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 14px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { top: 14px; }

.topbar {
  position: relative;
  z-index: 90;
  background: var(--yellow);
  color: var(--navy);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(11, 27, 52, .35);
  white-space: nowrap;
}
.topbar a.topbar__notice {
  border-bottom: 0;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 0 0 0 rgba(11, 27, 52, .28);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(11, 27, 52, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 27, 52, 0); }
}

.site-header {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 80;
  color: #fff;
  transition: background .2s ease, box-shadow .2s ease, top .2s ease;
}
.site-header.is-scrolled {
  position: fixed;
  top: 0;
  background: rgba(11, 27, 52, .96);
  box-shadow: 0 12px 28px rgba(11, 27, 52, .18);
  backdrop-filter: blur(12px);
}
.site-header.has-open-menu {
  z-index: 300;
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .18));
}
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-size: 1.08rem; font-weight: 900; letter-spacing: .03em; }
.brand__text small {
  margin-top: 5px;
  color: var(--yellow);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 26px);
  color: rgba(255, 255, 255, .92);
  font-size: .86rem;
  font-weight: 700;
}
.nav__menu > a:not(.button) { padding: 10px 0; }
.nav__menu > a:not(.button):hover { color: #fff; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--small { min-height: 40px; padding: 0 15px; font-size: .82rem; }
.button--yellow { background: var(--yellow); color: var(--navy); }
.button--yellow:hover { background: #ffca3a; }
.button--ghost { border-color: rgba(255, 255, 255, .34); color: #fff; background: rgba(255, 255, 255, .07); }
.button--ghost:hover { background: rgba(255, 255, 255, .13); }

.hero {
  position: relative;
  min-height: 640px;
  height: calc(100svh - 34px);
  max-height: 760px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 40, .88), rgba(8, 20, 40, .58) 46%, rgba(8, 20, 40, .18)),
    linear-gradient(0deg, rgba(8, 20, 40, .28), rgba(8, 20, 40, .04) 48%),
    url("assets/hero-marlu-basket-bari.jpg") center center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(8, 20, 40, .88), rgba(8, 20, 40, .58) 46%, rgba(8, 20, 40, .18)),
    linear-gradient(0deg, rgba(8, 20, 40, .28), rgba(8, 20, 40, .04) 48%),
    image-set(
      url("assets/hero-marlu-basket-bari.webp") type("image/webp"),
      url("assets/hero-marlu-basket-bari.jpg") type("image/jpeg")
    ) center center / cover no-repeat;
}
.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-top: 74px;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--yellow); }
.hero h1,
.section h2,
.gallery-section h2 {
  margin: 14px 0 16px;
  font-size: clamp(2.7rem, 5.9vw, 5.7rem);
  line-height: 1;
  letter-spacing: 0;
}
.hero h1 { max-width: 760px; }
.hero__lead {
  max-width: 610px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-strip {
  padding: clamp(30px, 4vw, 46px) 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.quick-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quick-strip__grid > div {
  position: relative;
  min-height: 148px;
  padding: 24px 24px 24px 92px;
  border: 1px solid rgba(229, 234, 241, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(16, 24, 40, .08);
  overflow: hidden;
}
.quick-strip__grid > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--yellow);
}
.icon-stat {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(11, 27, 52, .10);
  border-radius: 8px;
  color: var(--yellow);
  background: var(--navy);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.quick-strip strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
  line-height: 1.05;
}
.quick-strip span {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.quick-strip p {
  max-width: 310px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.map-link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.map-link:hover,
.map-link:focus-visible {
  color: var(--blue);
}

.section { padding: clamp(58px, 7vh, 84px) 0; }
.section--white { background: #fff; }
.section--soft { background: var(--soft); }
.section--contact { background: var(--navy); color: #fff; }
.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-heading h2,
.method-copy h2,
.training-copy h2,
.contact-copy h2 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.section-heading p:last-child,
.method-copy p:not(.section-kicker),
.training-copy p:not(.section-kicker),
.contact-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.section--contact .section-kicker { color: var(--yellow); }
.section--contact h2 { color: #fff; }
.section--contact .contact-copy p:not(.section-kicker) { color: rgba(255, 255, 255, .82); }

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.path-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.path-card img {
  width: 100%;
  height: 190px;
  flex: 0 0 auto;
  object-fit: cover;
}
.path-card img.path-card__poster {
  object-position: center 50%;
}
.path-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.path-card .card-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.path-card h3 { margin: 8px 0 8px; color: var(--navy); font-size: 1.35rem; line-height: 1.1; }
.path-card p { margin: 0 0 16px; color: var(--muted); font-size: .94rem; }
.path-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 850;
}

.events-section {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vh, 64px) 0;
  background:
    linear-gradient(120deg, rgba(11, 27, 52, .97), rgba(16, 39, 68, .94)),
    var(--navy);
  color: #fff;
}
.events-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--yellow);
}
.events-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(600px, 1fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}
.events-copy {
  max-width: 470px;
}
.events-copy .section-kicker {
  color: var(--yellow);
}
.events-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 3.35vw, 3.08rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.events-copy p:not(.section-kicker) {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .84);
}
.events-copy .button {
  line-height: 1;
}
.events-copy .button .icon {
  transform: translateY(1px);
}
.events-showcase {
  display: grid;
  gap: 10px;
}
.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}
.event-card img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  object-position: center 34%;
  background: var(--navy);
  filter: saturate(1.08) contrast(1.06);
  image-rendering: auto;
}
.event-card:nth-child(1) img {
  object-position: center 32%;
}
.event-card:nth-child(2) img,
.event-card:nth-child(3) img {
  object-position: center 38%;
}
.event-card__body {
  display: grid;
  align-content: center;
  padding: 22px 142px 22px 24px;
}
.event-card time {
  position: absolute;
  top: 18px;
  right: 20px;
  width: max-content;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
.event-card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: clamp(1rem, 1.24vw, 1.16rem);
  line-height: 1.12;
}
.event-card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.42;
}
.event-card--featured {
  border-color: rgba(244, 181, 22, .72);
}
.event-card--featured .event-card__body {
  background: linear-gradient(90deg, rgba(244, 181, 22, .08), #fff 42%);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(430px, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}
.method-copy { position: sticky; top: 104px; }
.method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.method-list article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.method-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--blue);
  background: var(--soft);
}
.method-list h3 { margin: 12px 0 6px; color: var(--navy); font-size: 1.05rem; }
.method-list p { margin: 0; color: var(--muted); font-size: .9rem; }

.training-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(430px, 1fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: center;
}
.location-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.location-card:hover,
.location-card:focus-visible {
  border-color: rgba(36, 92, 159, .28);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07);
  transform: translateY(-1px);
}
.location-card > span {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
}
.location-card strong { display: block; color: var(--navy); }
.location-card small { display: block; color: var(--muted); }
.schedule-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07);
}
.schedule-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--navy);
  color: #fff;
}
.schedule-card__head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.schedule-card__head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.schedule-list > div {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.schedule-list > div:last-child { border-bottom: 0; }
.schedule-list strong { color: var(--blue); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.schedule-list span { color: var(--navy); font-weight: 800; }
.schedule-list em { color: var(--muted); font-size: .78rem; font-style: normal; text-align: right; }
.schedule-list__game { background: #fff7df; }
.schedule-list__game strong,
.schedule-list__game span,
.schedule-list__game em { color: var(--navy); }

@media (min-width: 1091px) {
  .training-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .schedule-card { margin-top: 22px; }
  .schedule-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .schedule-list > div {
    min-height: 86px;
    border-right: 1px solid var(--line);
  }
  .schedule-list > div:nth-child(3n),
  .schedule-list > div:last-child {
    border-right: 0;
  }
  .schedule-list > div:nth-last-child(-n + 3) {
    border-bottom: 0;
  }
}

.gallery-section {
  padding: clamp(58px, 7vh, 84px) 0;
  background: var(--soft);
}
.gallery-head {
  max-width: 760px;
  margin-bottom: 32px;
}
.gallery-section h2 { color: var(--navy); font-size: clamp(2rem, 3.6vw, 3.35rem); }
.gallery-head p:last-child { margin: 0; color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 16px;
}
.gallery-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: var(--navy);
  color: #fff;
}
.gallery-item--large { min-height: 340px; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94);
  transition: transform .3s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 20, 40, .84), rgba(8, 20, 40, .10) 64%);
}
.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-item:hover img { transform: scale(1.03); }
.lightbox {
  width: min(92vw, 1080px);
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}
.lightbox::backdrop { background: rgba(3, 9, 18, .88); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: 10px; }
.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font-size: 1.45rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: center;
}
.contact-links { margin-top: 26px; border-top: 1px solid var(--line-dark); }
.contact-links > * {
  display: grid;
  grid-template-columns: 24px 124px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact-links > * > .icon { color: var(--yellow); }
.contact-links span {
  color: rgba(255, 255, 255, .68);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-links strong {
  min-width: 0;
  font-size: .92rem;
  overflow-wrap: anywhere;
}
.contact-links i { color: var(--yellow); font-style: normal; }
.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 446px;
  border-radius: 8px;
  background: var(--navy);
}
.map-panel iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
  border-radius: 8px;
  filter: saturate(.92) contrast(1.02);
}
.map-panel__info {
  position: absolute;
  top: 18px;
  left: 18px;
  width: min(72%, 340px);
  padding: 16px 18px;
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(16, 24, 40, .16);
}
.map-panel__info strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.map-panel__info span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .88rem;
}
.map-panel__bar {
  min-height: 70px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 18px 0 0;
  background: var(--navy);
}
.map-panel__bar .button {
  min-width: 276px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-bottom: -1px;
  background:
    linear-gradient(90deg, rgba(6, 16, 31, .50), rgba(6, 16, 31, .64)),
    linear-gradient(180deg, rgba(6, 16, 31, .18), rgba(6, 16, 31, .66)),
    url("assets/footer-marlu-basket-bari.jpg") center center / cover no-repeat,
    #06101f;
  background:
    linear-gradient(90deg, rgba(6, 16, 31, .50), rgba(6, 16, 31, .64)),
    linear-gradient(180deg, rgba(6, 16, 31, .18), rgba(6, 16, 31, .66)),
    image-set(
      url("assets/footer-marlu-basket-bari.webp") type("image/webp"),
      url("assets/footer-marlu-basket-bari.jpg") type("image/jpeg")
    ) center center / cover no-repeat,
    #06101f;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 31, .18), rgba(6, 16, 31, .42));
  pointer-events: none;
}
.footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(280px, .95fr) minmax(220px, .75fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
  padding: 54px 0 42px;
}
.footer__brand {
  display: grid;
  gap: 18px;
  max-width: 430px;
}
.brand--footer .brand__text strong { font-size: 1.08rem; }
.footer__brand-socials {
  margin-top: -2px;
}
.footer__brand p,
.footer__contact p {
  margin: 0;
  color: rgba(255, 255, 255, .80);
  font-size: .92rem;
}
.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.footer__nav div,
.footer__contact {
  display: grid;
  gap: 11px;
}
.footer__nav span,
.footer__contact > span {
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__nav a {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .84);
  font-size: .88rem;
  font-weight: 650;
  transition: color .18s ease, transform .18s ease;
}
.footer__nav a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer__details {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__details a,
.footer__details p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.45;
}
.footer__details a {
  align-items: center;
  max-width: 100%;
  transition: color .18s ease, transform .18s ease;
}
.footer__details a .icon {
  align-self: center;
  flex: 0 0 14px;
}
.footer__details a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer__details strong {
  color: #fff;
  font-weight: 850;
}
.footer__details a,
.footer__details p { overflow-wrap: anywhere; }
.footer__socials,
.footer__brand-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 181, 22, .62);
  background: rgba(244, 181, 22, .14);
}
.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social-icon[aria-label="Facebook"] svg {
  transform: translateX(1px);
}
.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .70);
  font-size: .7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal--delay { transition-delay: .07s; }
.reveal--delay-2 { transition-delay: .14s; }
.reveal.is-visible { opacity: 1; transform: none; }

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 2.2vw, 30px);
  bottom: clamp(18px, 2.2vw, 30px);
  z-index: 120;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 34px rgba(18, 140, 126, .34), 0 0 0 8px rgba(37, 211, 102, .14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  background: #20bf5a;
  box-shadow: 0 22px 42px rgba(18, 140, 126, .42), 0 0 0 10px rgba(37, 211, 102, .16);
}
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(244, 181, 22, .95);
  outline-offset: 4px;
}
.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
  transform: translate(.5px, .5px);
}

@media (max-width: 1080px) {
  .hero { height: auto; min-height: 620px; }
  .hero__inner { grid-template-columns: 1fr; padding: 126px 0 54px; }
  .quick-strip__grid,
  .path-grid,
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .quick-strip__grid > div:nth-child(3),
  .gallery-item--large { grid-column: 1 / -1; }
  .events-layout { grid-template-columns: 1fr; }
  .events-copy { max-width: 760px; }
  .method-layout,
  .training-layout,
  .contact-grid { grid-template-columns: 1fr; }
  .method-copy { position: static; }
  .footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar p { font-size: .66rem; }
  .nav { min-height: 70px; }
  .brand img { width: 48px; height: 48px; }
  .site-header.has-open-menu.is-scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .nav__menu {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: calc(92px + env(safe-area-inset-top)) 28px calc(34px + env(safe-area-inset-bottom));
    background: rgba(7, 18, 36, .985);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translate3d(100%, 0, 0);
    transition: transform .28s ease;
  }
  .nav__menu.is-open { transform: translate3d(0, 0, 0); }
  .nav__menu > a:not(.button) {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    font-size: 1.06rem;
  }
  .nav__menu .button { margin-top: 18px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.8rem); }
  .section { padding: 54px 0; }
  .events-section { padding: 54px 0; }
  .events-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .event-card {
    grid-template-columns: 1fr;
  }
  .event-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .event-card__body {
    align-content: start;
    padding: 18px;
  }
  .event-card time {
    top: 12px;
    right: 12px;
  }
  .method-list,
  .quick-strip__grid,
  .path-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .quick-strip__grid > div,
  .quick-strip__grid > div:first-child {
    grid-column: auto;
    min-height: 132px;
    padding: 20px 18px 20px 78px;
  }
  .icon-stat {
    top: 20px;
    left: 18px;
    width: 42px;
    height: 42px;
  }
  .gallery-item--large { grid-column: auto; }
}

@media (max-width: 620px) {
  html,
  body,
  .page,
  main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .container {
    width: min(calc(100% - 28px), 390px);
  }
  .footer {
    background:
      linear-gradient(180deg, rgba(6, 16, 31, .34), rgba(6, 16, 31, .72)),
      url("assets/footer-marlu-basket-bari-mobile.jpg") center center / cover no-repeat,
      #06101f;
    background:
      linear-gradient(180deg, rgba(6, 16, 31, .34), rgba(6, 16, 31, .72)),
      image-set(
        url("assets/footer-marlu-basket-bari-mobile.webp") type("image/webp"),
        url("assets/footer-marlu-basket-bari-mobile.jpg") type("image/jpeg")
      ) center center / cover no-repeat,
      #06101f;
  }
  .footer::before {
    background: linear-gradient(180deg, rgba(6, 16, 31, .18), rgba(6, 16, 31, .42));
  }
  .topbar__inner {
    justify-content: center;
    text-align: center;
  }
  .nav {
    gap: 12px;
    max-width: 100%;
  }
  .nav__menu {
    left: auto;
    right: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .brand {
    min-width: 0;
    gap: 8px;
  }
  .brand__text strong { font-size: .96rem; }
  .brand__text small { font-size: .56rem; }
  .hero {
    min-height: calc(100svh - 34px);
    min-height: calc(100dvh - 34px);
    height: auto;
    max-height: none;
  }
  .hero__bg {
    background:
      linear-gradient(90deg, rgba(8, 20, 40, .88), rgba(8, 20, 40, .56)),
      linear-gradient(0deg, rgba(8, 20, 40, .36), rgba(8, 20, 40, .10) 54%),
      url("assets/hero-marlu-basket-bari.jpg") 58% center / cover no-repeat;
    background:
      linear-gradient(90deg, rgba(8, 20, 40, .88), rgba(8, 20, 40, .56)),
      linear-gradient(0deg, rgba(8, 20, 40, .36), rgba(8, 20, 40, .10) 54%),
      image-set(
        url("assets/hero-marlu-basket-bari.webp") type("image/webp"),
        url("assets/hero-marlu-basket-bari.jpg") type("image/jpeg")
      ) 58% center / cover no-repeat;
  }
  .hero__inner {
    padding: 104px 0 42px;
  }
  .hero__copy,
  .section-heading,
  .events-copy,
  .method-copy,
  .training-copy,
  .contact-copy,
  .gallery-head {
    max-width: 100%;
    text-align: center;
  }
  .hero__copy {
    display: grid;
    justify-items: center;
  }
  .eyebrow,
  .section-kicker {
    justify-content: center;
  }
  .hero h1,
  .section h2,
  .gallery-section h2 {
    max-width: 11ch;
    margin-inline: auto;
  }
  .hero__lead {
    max-width: 32ch;
    margin-inline: auto;
  }
  .hero__actions {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  .hero__actions .button {
    width: min(100%, 340px);
    line-height: 1;
  }
  .hero__actions .button .icon {
    transform: translateY(.5px);
  }
  .events-layout {
    gap: 24px;
  }
  .events-copy {
    display: grid;
    justify-items: center;
    max-width: 100%;
  }
  .events-copy h2 {
    max-width: 12ch;
    margin-inline: auto;
  }
  .events-copy p:not(.section-kicker) {
    max-width: 32ch;
    margin-inline: auto;
  }
  .events-copy .button {
    width: min(100%, 340px);
    line-height: 1;
  }
  .events-showcase {
    display: flex;
    max-width: 390px;
    gap: 14px;
    margin-inline: auto;
    padding: 0 8px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  }
  .events-showcase::-webkit-scrollbar {
    display: none;
  }
  .events-showcase::after {
    content: "";
    display: block;
    flex: 0 0 1px;
  }
  .event-card {
    grid-template-columns: 1fr;
    flex: 0 0 min(82vw, 326px);
    max-width: 326px;
    min-height: 0;
    border-radius: 8px;
    scroll-snap-align: start;
  }
  .event-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-position: center 32%;
  }
  .event-card:nth-child(2) img,
  .event-card:nth-child(3) img {
    object-position: center 36%;
  }
  .event-card__body {
    padding: 16px 16px 18px;
    text-align: left;
  }
  .event-card time {
    top: 10px;
    right: 10px;
    min-height: 32px;
    padding: 0 11px;
    box-shadow: 0 8px 18px rgba(11, 27, 52, .20);
    font-size: .6rem;
  }
  .event-card h3 {
    margin-bottom: 6px;
    font-size: 1.04rem;
  }
  .event-card p {
    font-size: .88rem;
    line-height: 1.45;
  }
  .button,
  input,
  select,
  textarea {
    max-width: 100%;
  }
  section,
  footer,
  header { max-width: 100%; }
  .quick-strip__grid > div,
  .quick-strip__grid > div:first-child {
    min-height: auto;
    padding: 20px 18px 20px 76px;
    text-align: left;
  }
  .path-card,
  .method-list article,
  .schedule-card,
  .map-panel {
    border-radius: 8px;
  }
  .path-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .path-card img.path-card__poster {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center 44%;
  }
  .method-list article {
    min-height: auto;
    text-align: left;
  }
  .location-card {
    max-width: 390px;
    margin-inline: auto;
    text-align: left;
  }
  .training-layout,
  .contact-grid {
    gap: 28px;
    justify-items: center;
  }
  .schedule-card {
    width: 100%;
    max-width: 390px;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .08);
  }
  .schedule-card__head {
    gap: 12px;
    padding: 16px 18px;
  }
  .schedule-card__head span,
  .schedule-card__head strong {
    min-width: 0;
    font-size: .68rem;
    white-space: nowrap;
  }
  .schedule-list {
    display: grid;
    gap: 7px;
    padding: 8px;
    background: #f7f9fc;
  }
  .schedule-list > div {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 2px;
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid rgba(229, 234, 241, .95);
    border-radius: 8px;
    background: #fff;
    text-align: left;
  }
  .schedule-list > div:last-child {
    border-bottom: 1px solid rgba(229, 234, 241, .95);
  }
  .schedule-list strong {
    grid-row: 1 / 3;
    align-self: center;
    width: 78px;
    min-height: 40px;
    padding-inline: 8px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(36, 92, 159, .09);
    color: var(--blue);
    font-size: .58rem;
    letter-spacing: .05em;
    text-align: center;
  }
  .schedule-list span {
    align-self: end;
    min-width: 0;
    color: var(--navy);
    font-size: .9rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }
  .schedule-list em {
    grid-column: 2;
    align-self: start;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.25;
    text-align: left;
  }
  .schedule-list > .schedule-list__game {
    border-color: rgba(244, 181, 22, .34);
    background: #fff8e4;
  }
  .schedule-list__game strong {
    background: var(--yellow);
    color: var(--navy);
    font-size: .6rem;
  }
  .gallery-grid {
    gap: 12px;
  }
  .gallery-item,
  .gallery-item--large {
    min-height: 220px;
  }
  .contact-links span,
  .contact-links strong,
  .contact-links i {
    grid-column: auto;
  }
  .quick-strip__grid,
  .path-grid,
  .method-list,
  .gallery-grid,
  .contact-links {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
    padding: 0 8px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }
  .quick-strip__grid::-webkit-scrollbar,
  .path-grid::-webkit-scrollbar,
  .method-list::-webkit-scrollbar,
  .gallery-grid::-webkit-scrollbar,
  .contact-links::-webkit-scrollbar { display: none; }
  .quick-strip__grid::after,
  .path-grid::after,
  .method-list::after,
  .gallery-grid::after,
  .contact-links::after {
    content: "";
    display: block;
    flex: 0 0 1px;
  }
  .quick-strip__grid > div,
  .quick-strip__grid > div:first-child,
  .path-card,
  .method-list article,
  .gallery-item,
  .gallery-item--large,
  .contact-links > * {
    width: auto;
    flex: 0 0 min(78vw, 318px);
    max-width: 318px;
    scroll-snap-align: start;
    margin-inline: 0;
  }
  .path-card,
  .method-list article,
  .gallery-item,
  .gallery-item--large {
    min-width: 0;
  }
  .contact-links {
    border-top: 0;
  }
  .contact-links > * {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 8px;
    min-height: 132px;
    padding: 16px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    text-align: center;
  }
  .contact-links > * > .icon {
    justify-self: center;
  }
  .section .container,
  .quick-strip .container,
  .gallery-section .container {
    position: relative;
  }
  .quick-strip__grid,
  .path-grid,
  .method-list,
  .gallery-grid,
  .contact-links {
    mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  }
  .map-panel {
    width: 100%;
    max-width: 640px;
  }
  .map-panel__bar {
    justify-content: center;
  }
  .contact-copy,
  .map-panel,
  .footer__brand,
  .footer__contact,
  .footer__nav,
  .schedule-card,
  .location-card {
    min-width: 0;
  }
  .footer__nav a,
  .footer__details a {
    width: auto;
    max-width: 100%;
  }
  .brand--footer,
  .footer__brand-socials {
    justify-content: center;
  }
  .footer__main,
  .footer__brand,
  .footer__contact,
  .footer__nav {
    justify-items: center;
    text-align: center;
  }
  .footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 0 34px;
  }
  .footer__brand {
    max-width: 300px;
  }
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
  }
  .footer__nav div,
  .footer__contact,
  .footer__details {
    width: 100%;
    justify-items: center;
  }
  .footer__nav a {
    width: auto;
    justify-content: center;
    text-align: center;
  }
  .footer__details a,
  .footer__details p {
    justify-content: center;
    text-align: center;
  }
  .footer__details p {
    display: grid;
    gap: 3px;
  }
  .footer__bottom {
    display: grid;
    gap: 8px;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  .footer__bottom span {
    width: 100%;
    text-align: center;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 18px;
    bottom: 18px;
  }
  .whatsapp-float svg {
    width: 33px;
    height: 33px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
