/* Launch layer — Circuit Andorra
   Families: Oswald (display) + Barlow (body), already on :root.
   Colour, space and radius stay on the existing motor tokens. */

:root {
  --font-oswald: "Oswald", "Oswald Fallback", sans-serif;
  --font-barlow: "Barlow", "Barlow Fallback", sans-serif;
  --font-display: var(--font-oswald);
  --font-body: var(--font-barlow);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --radius-0: 0;
  --measure: 40rem;
  --dock-h: 4.25rem;
}

header.site-header a[href*="eventos#gseries"],
.site-mnav a[href*="eventos#gseries"],
header.site-header a[href*="contacto#grups"],
.site-mnav a[href*="contacto#grups"],
html body article:has(img[src*="eventos/gseries-g1"]),
html body article:has(img[src*="eventos/gseries-g2"]) {
  display: none !important;
}

/* Titles paint in their final place. No slide-in while the page dresses. */
html body main [style*="translateY"] {
  opacity: 1 !important;
  transform: none !important;
}

/* Activity detail: clicking the photo opens the modalities and prices. */
.act-photo {
  cursor: pointer;
}

.act-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(5, 9, 12, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.act-photo:hover::after,
.act-photo[aria-expanded="true"]::after {
  opacity: 1;
}

.act-photo__hint {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  background: rgba(5, 9, 12, 0.72);
  border: 1px solid rgba(69, 159, 220, 0.7);
  color: #fff;
  font-family: var(--font-body), Barlow, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: background 0.2s, color 0.2s;
  pointer-events: none;
}

.act-photo:hover .act-photo__hint,
.act-photo:focus-visible .act-photo__hint {
  background: var(--accent);
  color: #05090c;
}

.act-photo[aria-expanded="true"] .act-photo__hint {
  background: var(--accent);
  color: #05090c;
}

.act-photo__hint i {
  font-style: normal;
  display: inline-block;
  transition: transform 0.25s;
}

.act-photo[aria-expanded="true"] .act-photo__hint i {
  transform: rotate(180deg);
}

.act-detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}

.act-detail--open {
  opacity: 1;
}

.act-detail__body {
  margin: 0 1.5rem 1.6rem;
  padding: 1.3rem 1.3rem 1.4rem;
  background: #f4f8fb;
  border-top: 3px solid var(--accent);
}

@media (min-width: 768px) {
  .act-detail__body {
    margin: 0 2rem 2rem;
    padding: 1.6rem 1.7rem 1.7rem;
  }
}

.act-detail__lead {
  margin: 0;
  color: #1c242b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.act-detail__note {
  margin: 0.7rem 0 0;
  color: #3d4a55;
  font-size: 0.82rem;
  line-height: 1.55;
}

.act-detail__hours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.act-detail__hours li::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.45rem;
  background: var(--accent);
  transform: translateY(-1px);
}

.act-detail__label {
  margin: 1.3rem 0 0.7rem;
  color: #8a97a3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.act-mods {
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .act-mods {
    grid-template-columns: 1fr 1fr;
  }
}

.act-mod {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-left: 3px solid var(--accent);
}

.act-mod--wide {
  grid-column: 1 / -1;
}

.act-mod__name {
  color: #10161b;
  font-family: var(--font-display), Oswald, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.act-mod__req {
  color: #6b7882;
  font-size: 0.75rem;
}

.act-mod__price {
  margin-top: 0.35rem;
  color: #10161b;
  font-family: var(--font-display), Oswald, sans-serif;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1;
}

.act-mod__price span {
  white-space: nowrap;
  margin-left: 0.3rem;
  color: #6b7882;
  font-family: var(--font-body), Barlow, sans-serif;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.act-mod__packs {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
  color: #3d4a55;
  font-size: 0.8rem;
}

.act-mod__packs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.18rem 0;
  border-top: 1px solid rgba(16, 22, 27, 0.08);
}

.act-mod__packs b {
  color: #10161b;
  font-weight: 700;
}

.act-mod__includes {
  margin: 0.4rem 0 0;
  color: #3d4a55;
  font-size: 0.78rem;
  line-height: 1.45;
}

.act-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem 1.5rem;
}

@media (min-width: 640px) {
  .act-points {
    grid-template-columns: 1fr 1fr;
  }
}

.act-points li {
  position: relative;
  padding-left: 0.9rem;
  color: #1c242b;
  font-size: 0.85rem;
  line-height: 1.4;
}

.act-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

.act-free {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.act-free span {
  padding: 0.45rem 0.8rem;
  background: var(--accent);
  color: #05090c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Logo blue (#459FDC, sampled from brand/logo.png) drives every button and accent. */
html:root {
  --accent: #459fdc;
  --accent-hot: #63b2e7;
  --accent-deep: #2f80bb;
  --glow: #459fdc59;
}

html {
  scroll-padding-top: calc(var(--header-h, 4.25rem) + 0.75rem);
  scroll-behavior: auto !important;
}

/* Secondary buttons (WhatsApp, white outlines): same blue, outlined so "Reservar" stays the primary. */
a[class*="25D366"],
button[class*="25D366"],
a[class*="hover:border-accent"]:not(.social-dock__chat),
button[class*="hover:border-accent"]:not(.social-dock__chat),
.launch-dock__wa,
.gseries-wall__wa {
  background: rgba(69, 159, 220, 0.08) !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  transition: background 0.2s, color 0.2s !important;
}

a[class*="25D366"]:hover,
button[class*="25D366"]:hover,
a[class*="hover:border-accent"]:not(.social-dock__chat):hover,
button[class*="hover:border-accent"]:not(.social-dock__chat):hover,
.launch-dock__wa:hover,
.gseries-wall__wa:hover,
.gseries-wall__wa:focus-visible,
a[class*="25D366"]:focus-visible,
a[class*="hover:border-accent"]:not(.social-dock__chat):focus-visible {
  background: var(--accent) !important;
  color: #05090c !important;
}

.site-header__book:hover,
.site-header__book:focus-visible {
  background: var(--accent-hot);
}

.hero-cinema__nav-btn:hover,
.hero-cinema__nav-btn:focus-visible {
  box-shadow: 0 0 0 1px var(--glow), 0 0 28px var(--glow);
}

html,
body {
  overflow-x: clip;
}

body {
  text-rendering: optimizeLegibility;
}

p,
li {
  line-height: 1.6;
}

.video-hero__copy,
.season-hero__copy-inner {
  max-width: var(--measure);
}

:focus-visible {
  outline: 2px solid var(--accent, #5ec4f0);
  outline-offset: 3px;
}

.site-header__book,
.launch-dock__book,
.neu-acad__btn {
  border-radius: var(--radius-0);
  font-family: var(--font-display), Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  background: #050505;
}

.site-nav__panel--one {
  grid-template-columns: minmax(13rem, max-content);
  gap: 0;
  padding: 1.1rem 1.5rem 1.2rem;
}

.site-nav__group--closed .site-nav__panel {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.site-nav__panel {
  transition-duration: 0.12s !important;
}

a.site-nav__trigger {
  text-decoration: none;
}

.site-mnav a.site-mnav__label {
  display: block;
}

[data-nav-anchor] {
  scroll-margin-top: calc(var(--header-h, 4.25rem) + 3rem);
}

html body .video-hero {
  position: relative !important;
}

@media (min-width: 1024px) {
  html body .video-hero__cta {
    position: absolute !important;
    left: auto !important;
    right: max(2rem, env(safe-area-inset-right)) !important;
    bottom: calc(1.85rem + env(safe-area-inset-bottom)) !important;
    z-index: 8 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0.55rem !important;
    width: auto !important;
    max-width: min(44rem, calc(100% - 4rem)) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .video-hero__cta > :is(a, button, .ca-pay, .ca-pay-cluster) {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 1023px) {
  html body .video-hero__copy {
    position: static !important;
    transform: none !important;
  }

  html body .video-hero__cta,
  html body .video-hero__copy > .flex.flex-wrap {
    position: absolute !important;
    left: max(1rem, env(safe-area-inset-left)) !important;
    right: max(1rem, env(safe-area-inset-right)) !important;
    bottom: calc(1.2rem + env(safe-area-inset-bottom)) !important;
    z-index: 8 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 0.5rem;
    margin: 0 !important;
    padding: 0;
  }

  html body .video-hero__cta > :is(.ca-pay, .ca-pay-cluster),
  html body .video-hero__copy > .flex.flex-wrap > :is(.ca-pay, .ca-pay-cluster) {
    grid-column: auto;
  }
}

html body .video-hero__cta:has(.ca-pay) a[href*="/reservar"],
html body .video-hero__copy > .flex.flex-wrap:has(.ca-pay) a[href*="/reservar"],
html body .asf-cta:has(.ca-pay) .asf-btn--book,
html body .asf-cta:has(.ca-pay) a[href*="/reservar"],
html body .asf-ticket:has(.ca-pay) .asf-btn--book,
html body .neu-act:has(.ca-pay) a[href*="/reservar"],
html body .drift-price:has(.ca-pay) a[href*="/reservar"],
html body .gsx-test__cta:has(.ca-pay) a[href*="/reservar"],
html body .drift-events__cta:has(.ca-pay) a[href*="/reservar"] {
  display: none !important;
}

/* The header Reservar link exists on every page but was hidden under 640px. */
@media (max-width: 639px) {
  .video-hero > .justify-end {
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)) !important;
  }
  .site-header__book {
    display: inline-flex !important;
    align-items: center;
    padding: 0 0.7rem;
    font-size: 0.72rem;
  }
  .site-header__logo {
    width: auto;
    max-width: 9.2rem;
    height: auto;
  }
  .site-header__bar {
    gap: 0.4rem;
  }
}

/* Extra dock only if the header button is missing. */
.launch-dock {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: var(--space-2);
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(5, 5, 5, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 0 var(--accent, #5ec4f0);
  backdrop-filter: blur(10px);
}

.launch-dock a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.launch-dock__book {
  background: var(--accent, #5ec4f0);
  color: #05090c;
  font-size: 0.85rem;
}

.launch-dock__wa {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-body), Barlow, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

body.launch-has-dock {
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  .launch-dock {
    display: none;
  }
  body.launch-has-dock {
    padding-bottom: 0;
  }
}

.launch-cookie {
  position: fixed;
  z-index: 79;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(var(--dock-h) + 0.75rem + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  background: #0c0c0c;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 0 var(--accent, #5ec4f0);
  font-size: 0.85rem;
  line-height: 1.45;
}

.launch-cookie button {
  background: var(--accent, #5ec4f0);
  color: #05090c;
  border: 0;
  min-height: 2.5rem;
  padding: 0 1rem;
  font-family: var(--font-display), Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (min-width: 640px) {
  .launch-cookie {
    bottom: 1rem;
    left: 1rem;
    right: auto;
  }
}

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

.video-native,
.hero-cinema video,
.video-hero video {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Apartados: blanco puro / negro actual, empezando por blanco. */
.band-white {
  --bg: #fff;
  --bg-elevated: #f4f4f4;
  --bg-panel: #fff;
  --fg: #050505;
  --fg-muted: #3a3a3a;
  --fg-dim: #5c5c5c;
  --line: #0000001f;
  background: #fff !important;
  color: #050505 !important;
}

.band-black {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --bg-panel: #111;
  --fg: #fff;
  --fg-muted: #9a9a9a;
  --fg-dim: #6e6e6e;
  --line: #ffffff14;
  background: #050505 !important;
  color: #fff !important;
}

.band-white [class*="text-white"] {
  color: #3a3a3a !important;
}

.band-white [class*="text-white"]:not([class*="text-white/"]) {
  color: #050505 !important;
}

.band-white [class*="border-white"] {
  border-color: rgba(5, 5, 5, 0.12) !important;
}

.band-white [class*="from-white"],
.band-white [class*="bg-white/"] {
  background-color: #f3f3f3 !important;
  background-image: none !important;
}

.band-black[class*="bg-white"],
.band-black[class*="text-black"] {
  background-color: #050505 !important;
  color: #fff !important;
}

.band-black [class*="text-black"] {
  color: #fff !important;
}

.band-white [class*="bg-accent"]:not([class*="bg-accent/"]),
.band-white [class*="bg-accent"]:not([class*="bg-accent/"]) *,
.band-black [class*="bg-accent"]:not([class*="bg-accent/"]),
.band-black [class*="bg-accent"]:not([class*="bg-accent/"]) * {
  color: #050505 !important;
}

.band-white [class*="text-accent"],
.band-black [class*="text-accent"] {
  color: var(--accent) !important;
}

/* White content stays solid. Footage stays on screen and plays. */
.band-white > img {
  display: none !important;
}

.band-white [class*="from-black"]:not(:has(video)):not(:has(img)),
.band-white [class*="via-black"]:not(:has(video)):not(:has(img)),
.band-white [class*="to-black"]:not(:has(video)):not(:has(img)) {
  display: none !important;
}

.band-white video,
.band-white .hero-cinema__layer,
.band-white .season-hero__reel,
.band-white .drift-hero__still,
.band-white .drift-hero__reel,
.band-white.season-hero [class*="from-black"],
.band-white.season-hero [class*="via-black"],
.band-white.season-hero [class*="to-black"],
.band-white.hero-cinema [class*="from-black"],
.band-white.hero-cinema [class*="via-black"],
.band-white.hero-cinema [class*="to-black"],
.band-white.drift-hero [class*="from-black"],
.band-white.drift-hero [class*="via-black"],
.band-white.drift-hero [class*="to-black"],
.band-white.video-hero [class*="from-black"],
.band-white.video-hero [class*="via-black"],
.band-white.video-hero [class*="to-black"],
#gseries.band-white video,
#ev-cover.band-white video,
.band-white .corp-slide,
.band-white .corp-slide img,
.band-white .corp-slide video,
.band-white :is(article, div, section):has(video) [class*="from-black"],
.band-white :is(article, div, section):has(video) [class*="via-black"],
.band-white :is(article, div, section):has(video) [class*="to-black"] {
  display: block !important;
}

.band-white article:not(:has(video)) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.band-white article:not(:has(video)) .justify-end {
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
}

.band-white.hero-cinema,
.band-white.season-hero,
.band-white.drift-hero {
  height: calc(100svh - var(--header-h, 7.65rem)) !important;
  min-height: 620px !important;
  max-height: none !important;
}

.band-white .drift-hero__frame,
.band-white .drift-hero__stage,
.band-white .drift-hero__core {
  background: transparent !important;
  background-color: transparent !important;
}

.band-white .drift-hero__word,
.band-white .drift-hero__sub,
.band-white .drift-hero__vh {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

#gseries.band-white,
#ev-cover.band-white,
.band-white.corp-stage {
  height: calc(100dvh - var(--header-h, 7.65rem)) !important;
  min-height: calc(100dvh - var(--header-h, 7.65rem)) !important;
  max-height: calc(100dvh - var(--header-h, 7.65rem)) !important;
}

.band-white h1:not([class*="text-accent"]),
.band-white h2:not([class*="text-accent"]),
.band-white h3:not([class*="text-accent"]) {
  color: #050505 !important;
}

.band-white.season-hero h1.season-hero__title,
.band-white.hero-cinema h1.season-hero__title {
  color: #fff !important;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.band-white .ev-name,
.band-white .ev-date,
.band-white .ev-index {
  color: #050505 !important;
  text-shadow: none !important;
}

.band-white .ev-cat,
.band-white .season-hero__kicker {
  color: var(--accent) !important;
}

.band-white.drift-hero h1,
.band-white.drift-hero h2,
.band-white.drift-hero .drift-hero__word,
.band-white.drift-hero .drift-hero__sub,
.band-white.drift-hero .drift-hero__vh,
.band-white.video-hero h1,
.band-white.video-hero h2,
.band-white.hero-cinema h1,
.band-white.hero-cinema h2 {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.band-white :is(article, div):has(> video.absolute) [class*="text-white"]:not([class*="text-accent"]) {
  color: #fff !important;
}

.band-white :is(article, div):has(> video.absolute) [class*="text-white/"]:not([class*="text-accent"]) {
  color: rgba(255, 255, 255, 0.84) !important;
}

.asf-strip .asf-cta,
.asf-finale .asf-cta {
  width: auto;
  margin: 1.35rem 0 0;
  padding: 0;
}

.asf-ticket .asf-cta,
.asf-cta--mod,
.asf-strip .asf-cta,
.asf-finale .asf-cta {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.asf-ticket :is(.asf-btn, button.ca-pay, a.ca-pay),
.asf-cta :is(.asf-btn, button.ca-pay, a.ca-pay) {
  appearance: none;
  -webkit-appearance: none;
  clip-path: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 3rem !important;
  height: auto !important;
  margin: 0;
  padding: 0.75rem 1rem !important;
  box-sizing: border-box;
  font-family: var(--font-display), Oswald, Impact, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  box-shadow: none !important;
}

.asf-cta .asf-btn--wa,
.asf-ticket .asf-btn--wa,
.asf-cta a[href*="wa.me"],
.asf-ticket a[href*="wa.me"] {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #fff !important;
}

.asf-strip .asf-btn--wa,
.asf-strip a[href*="wa.me"] {
  border-color: rgba(5, 5, 5, 0.28) !important;
  color: #050505 !important;
}

.asf-cta .asf-btn--book,
.asf-ticket .asf-btn--book,
.asf-cta :is(button, a).ca-pay,
.asf-ticket :is(button, a).ca-pay {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: #050505 !important;
}

.asf-act--kart,
.asf-act--moto,
.asf-act--kids,
.asf-act--prova,
.asf-act--curs {
  --asf: var(--accent) !important;
  --asf-hot: var(--accent-hot) !important;
}

#karting .asf-modes, #motos .asf-modes,
#infantil .asf-modes {
  background: #fff !important;
  color: #050505 !important;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2.2rem max(1.1rem, calc((100vw - 80rem) / 2 + 1.1rem)) 1.35rem;
  box-sizing: border-box;
}

#karting .asf-modes em, #motos .asf-modes em,
#infantil .asf-modes em {
  color: var(--accent) !important;
  -webkit-text-stroke: 0 !important;
}

#karting .asf-stack, #motos .asf-stack,
#infantil .asf-stack {
  background: #fff !important;
}

#karting .asf-strip, #motos .asf-strip,
#karting .asf-strip__body, #motos .asf-strip__body,
#infantil .asf-strip,
#infantil .asf-strip__body {
  background: #fff !important;
}

#karting .asf-strip__media:after, #motos .asf-strip__media:after,
#karting .asf-strip--flip .asf-strip__media:after, #motos .asf-strip--flip .asf-strip__media:after,
#infantil .asf-strip__media:after,
#infantil .asf-strip--flip .asf-strip__media:after {
  display: none !important;
}

#karting .asf-strip__k, #motos .asf-strip__k,
#infantil .asf-strip__k {
  color: var(--accent) !important;
}

#karting .asf-strip__body h3, #motos .asf-strip__body h3,
#infantil .asf-strip__body h3 {
  color: #050505 !important;
}

#karting .asf-from i, #motos .asf-from i,
#infantil .asf-from i {
  color: #5c5c5c !important;
}

#karting .asf-from b, #motos .asf-from b,
#infantil .asf-from b {
  color: var(--accent) !important;
  text-shadow: none !important;
}

#karting .asf-price li, #motos .asf-price li,
#infantil .asf-price li {
  color: #3a3a3a !important;
  border-bottom-color: rgba(5, 5, 5, 0.12) !important;
}

#karting .asf-price b, #motos .asf-price b,
#infantil .asf-price b {
  color: #050505 !important;
}

/* Gran Premi: same readable strip as the other karting cards, no overlay text. */
#karting.asf-act , #motos.asf-act {
  overflow: visible;
  background: #fff !important;
  color: #050505 !important;
}

#karting .asf-intro {
  display: none !important;
}

#karting .asf-strip .asf-btn--book,
#karting .asf-stack .asf-btn--book {
  display: none !important;
}

#karting .asf-strip .asf-cta {
  grid-template-columns: 1fr !important;
}

#karting .asf-intro, #motos .asf-intro,
#karting .asf-note, #motos .asf-note {
  color: #3a3a3a !important;
}

#karting .asf-note, #motos .asf-note {
  background: rgba(69, 159, 220, 0.1) !important;
  border-left-color: var(--accent) !important;
}

#karting .asf-strip, #motos .asf-strip {
  grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr) !important;
  min-height: min(72vh, 38rem) !important;
}

#karting .asf-strip--flip, #motos .asf-strip--flip {
  grid-template-columns: minmax(22rem, 0.82fr) minmax(0, 1.18fr) !important;
}

#karting .asf-strip__media, #motos .asf-strip__media,
#karting .asf-finale__media, #motos .asf-finale__media {
  overflow: hidden !important;
}

#karting .asf-strip__media img, #motos .asf-strip__media img,
#karting .asf-finale__media img, #motos .asf-finale__media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 42% !important;
}

html body #karting .asf-strip__media img[src*="kart-biplaza"],
html body #karting .asf-strip__media img[src*="kids-biplaza"],
html body #infantil .asf-strip__media img[src*="biplaza"] {
  object-fit: cover !important;
  object-position: 42% 62% !important;
}

#karting .asf-finale , #motos .asf-finale {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(0, 1.18fr) !important;
  align-items: stretch;
  min-height: min(72vh, 38rem);
  margin-top: 0 !important;
  overflow: visible;
  background: #fff !important;
}

#karting .asf-finale__media , #motos .asf-finale__media {
  position: relative !important;
  inset: auto !important;
  grid-column: 2;
  grid-row: 1;
  min-height: 22rem;
  overflow: hidden;
}

#karting .asf-finale__media img , #motos .asf-finale__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
  filter: saturate(1.08) contrast(1.06);
}

#karting .asf-finale__media:after , #motos .asf-finale__media:after {
  display: none !important;
}

#karting .asf-finale__body , #motos .asf-finale__body {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(1.6rem, 4vw, 3.2rem) clamp(1.3rem, 3vw, 2.6rem) !important;
  background: #fff !important;
  box-sizing: border-box;
}

#karting .asf-finale__body h3, #motos .asf-finale__body h3,
#karting.band-black .asf-finale__body h3, #motos.band-black .asf-finale__body h3,
#karting.band-white .asf-finale__body h3 , #motos.band-white .asf-finale__body h3 {
  margin: 0.45rem 0 0;
  color: #050505 !important;
  font-size: clamp(2.4rem, 5vw, 4.3rem) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.035em !important;
  text-shadow: none !important;
}

#karting .asf-finale .asf-strip__k , #motos .asf-finale .asf-strip__k {
  color: var(--accent) !important;
}

#karting .asf-finale .asf-from i , #motos .asf-finale .asf-from i {
  color: #5c5c5c !important;
}

#karting .asf-finale .asf-from b , #motos .asf-finale .asf-from b {
  color: var(--accent) !important;
  text-shadow: none !important;
}

#karting .asf-finale ul , #motos .asf-finale ul {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 28rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

#karting .asf-finale li, #motos .asf-finale li,
#karting.band-black .asf-finale li, #motos.band-black .asf-finale li,
#karting.band-white .asf-finale li , #motos.band-white .asf-finale li {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0.7rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12) !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #3a3a3a !important;
  font-size: 0.98rem !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
}

#karting .asf-finale li:before , #motos .asf-finale li:before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.7rem;
  flex: 0 0 auto;
  background: var(--accent);
  transform: skew(-18deg);
}

#karting .asf-finale .asf-cta , #motos .asf-finale .asf-cta,
#karting .asf-strip .asf-cta , #motos .asf-strip .asf-cta {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 0.55rem;
  width: 100% !important;
  max-width: 100%;
  margin: 1.35rem 0 0;
  box-sizing: border-box;
}

#karting .asf-finale .asf-cta > * , #motos .asf-finale .asf-cta > *,
#karting .asf-strip .asf-cta > * , #motos .asf-strip .asf-cta > * {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  height: auto !important;
  box-sizing: border-box;
}

#karting .asf-finale .asf-btn, #motos .asf-finale .asf-btn,
#karting .asf-finale .asf-cta .ca-pay , #motos .asf-finale .asf-cta .ca-pay {
  padding-left: 1.05rem !important;
  padding-right: 1.15rem !important;
}

/* Trailing section CTA duplicates the last card (Gran Premi / last moto / last kids). */
#karting.asf-act > .asf-cta, #motos.asf-act > .asf-cta,
#motos.asf-act > .asf-cta,
#infantil.asf-act > .asf-cta {
  display: none !important;
}

/* Circuit does not offer kids karting. Never hide Prova/Curs if IDs shuffle. */
#infantil.asf-act--kids,
.asf-act--kids,
a[href*="#infantil"],
li:has(> a[href*="#infantil"]) {
  display: none !important;
}

@media (max-width: 980px) {
  #karting.asf-act,
  #motos.asf-act {
    overflow-x: hidden !important;
  }

  #karting .asf-strip,
  #motos .asf-strip,
  #karting .asf-strip--flip,
  #motos .asf-strip--flip,
  #karting .asf-finale,
  #motos .asf-finale {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  #karting .asf-strip__media,
  #motos .asf-strip__media,
  #karting .asf-strip--flip .asf-strip__media,
  #motos .asf-strip--flip .asf-strip__media,
  #karting .asf-finale__media,
  #motos .asf-finale__media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    max-height: 22rem !important;
  }

  #karting .asf-strip--flip .asf-strip__media,
  #motos .asf-strip--flip .asf-strip__media,
  #karting .asf-strip--flip .asf-strip__body,
  #motos .asf-strip--flip .asf-strip__body {
    order: unset !important;
  }

  #karting .asf-strip__body,
  #motos .asf-strip__body,
  #karting .asf-strip--flip .asf-strip__body,
  #motos .asf-strip--flip .asf-strip__body,
  #karting .asf-finale__body,
  #motos .asf-finale__body {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 1.15rem 1.05rem 1.4rem !important;
  }

  #karting .asf-strip__media img,
  #motos .asf-strip__media img,
  #karting .asf-finale__media img,
  #motos .asf-finale__media img {
    object-position: 50% 46% !important;
  }

  html body #karting .asf-strip__media img[src*="kart-biplaza"],
  html body #karting .asf-strip__media img[src*="kids-biplaza"],
  html body #infantil .asf-strip__media img[src*="biplaza"] {
    object-fit: cover !important;
    object-position: 42% 68% !important;
  }

  #karting .asf-strip__n,
  #motos .asf-strip__n {
    font-size: 3.2rem !important;
    left: 0.55rem !important;
    bottom: 0 !important;
  }

  #karting .asf-strip__body h3,
  #motos .asf-strip__body h3,
  #karting .asf-finale__body h3,
  #motos .asf-finale__body h3 {
    font-size: clamp(1.85rem, 8vw, 2.45rem) !important;
  }

  #karting .asf-from b,
  #motos .asf-from b,
  #karting .asf-finale .asf-from b,
  #motos .asf-finale .asf-from b {
    font-size: clamp(2.15rem, 10vw, 3.1rem) !important;
  }

  #karting .asf-price,
  #motos .asf-price,
  #karting .asf-finale ul,
  #motos .asf-finale ul {
    max-width: none !important;
  }

  #karting .asf-price li,
  #motos .asf-price li {
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem !important;
  }

  #karting .asf-strip .asf-cta,
  #motos .asf-strip .asf-cta,
  #karting .asf-finale .asf-cta,
  #motos .asf-finale .asf-cta {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: none !important;
  }

  #karting .asf-strip .asf-cta > *,
  #motos .asf-strip .asf-cta > *,
  #karting .asf-finale .asf-cta > *,
  #motos .asf-finale .asf-cta > * {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }

  #karting .asf-strip .asf-cta .ca-pay,
  #motos .asf-strip .asf-cta .ca-pay,
  #karting .asf-finale .asf-cta .ca-pay,
  #motos .asf-finale .asf-cta .ca-pay {
    grid-column: auto !important;
  }

  #karting .asf-hero,
  #motos .asf-hero {
    min-height: min(68svh, 32rem) !important;
  }

  #karting .asf-rail,
  #motos .asf-rail {
    width: calc(100% - 1.6rem) !important;
    margin-left: 0.8rem !important;
    margin-right: 0.8rem !important;
  }

  #karting .asf-modes,
  #motos .asf-modes {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: clamp(1.65rem, 8vw, 2.35rem) !important;
    padding: 1.35rem 1.05rem 0.7rem !important;
  }
}

#karting .asf-hero video, #motos .asf-hero video,
#motos .asf-hero video,
#infantil .asf-hero video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block !important;
  opacity: 1 !important;
  filter: none;
}

#karting .asf-hero video , #motos .asf-hero video {
  object-position: 50% 42%;
}

#motos .asf-hero video {
  object-position: 48% 40%;
}

#infantil .asf-hero video {
  object-position: 50% 38%;
}

#karting .asf-hero img, #motos .asf-hero img,
#motos .asf-hero img,
#infantil .asf-hero img {
  display: none !important;
}

.video-hero.neu-hero--vid video {
  display: block !important;
  opacity: 1 !important;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
  filter: none;
}

.video-hero img[src*="hero-ice.jpg"],
.video-hero img[srcset*="hero-ice.jpg"],
.video-hero.neu-hero--vid img {
  display: none !important;
  opacity: 0 !important;
  z-index: 0 !important;
}

#prova-el-teu-cotxe .asf-hero img {
  filter: none !important;
}

#prova-el-teu-cotxe .asf-hero__veil {
  display: none !important;
}

/* Infantil — gallery showcase (bento grid, motion, glow) */
#infantil .asf-gallery {
  width: 100vw !important;
  max-width: none !important;
  margin: clamp(2.2rem, 5vw, 3.6rem) calc(50% - 50vw) 0 !important;
  padding: clamp(2.8rem, 7vw, 5rem) max(1.1rem, calc((100vw - 80rem) / 2 + 1.1rem)) clamp(2.4rem, 5vw, 3.8rem) !important;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(85% 70% at 12% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 58%),
    radial-gradient(65% 55% at 100% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 52%),
    linear-gradient(175deg, #0d1118 0%, #050505 48%, #0a0c12 100%) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--accent) 35%, transparent);
}

#infantil .asf-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 18px,
    rgba(255, 255, 255, 0.012) 18px,
    rgba(255, 255, 255, 0.012) 19px
  );
  pointer-events: none;
  opacity: 0.6;
}

#infantil .asf-gallery__mast,
#infantil .asf-gallery:not(:has(.asf-gallery__mast)) {
  position: relative;
  z-index: 1;
}

#infantil .asf-gallery__mast {
  display: grid;
  gap: 1rem;
  margin: 0 0 clamp(1.6rem, 3.5vw, 2.6rem);
  padding: 0 0 1.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, 0.08));
}

#infantil .asf-gallery > h3,
#infantil .asf-gallery__mast h3 {
  margin: 0 !important;
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: clamp(2.5rem, 6.8vw, 5rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.045em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.55) !important;
  max-width: 20ch;
}

#infantil .asf-gallery > p,
#infantil .asf-gallery__mast p {
  margin: 0 !important;
  max-width: 40rem !important;
  padding-left: 1.05rem !important;
  border-left: 3px solid var(--accent) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem) !important;
  line-height: 1.6 !important;
}

#infantil .asf-gallery > h3 {
  margin-bottom: 1rem !important;
}

#infantil .asf-gallery > p {
  margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem) !important;
  padding-bottom: 1.35rem !important;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, 0.08));
}

#infantil .asf-mosaic {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-rows: clamp(6.5rem, 10.5vw, 11.5rem) !important;
  gap: clamp(0.7rem, 1.35vw, 1rem) !important;
  counter-reset: asfshot;
}

#infantil .asf-mosaic figure,
#infantil .asf-shot {
  margin: 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  min-height: 100%;
  background: #0a0c10;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 1rem 100%, 0 calc(100% - 1rem));
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s;
  animation: asf-shot-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#infantil .asf-mosaic figure:nth-child(1),
#infantil .asf-shot:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: span 3;
  animation-delay: 0.04s;
}

#infantil .asf-mosaic figure:nth-child(2),
#infantil .asf-shot:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: span 2;
  animation-delay: 0.1s;
}

#infantil .asf-mosaic figure:nth-child(3),
#infantil .asf-shot:nth-child(3) {
  grid-column: 8 / span 3;
  animation-delay: 0.16s;
}

#infantil .asf-mosaic figure:nth-child(4),
#infantil .asf-shot:nth-child(4) {
  grid-column: 11 / span 2;
  animation-delay: 0.22s;
}

#infantil .asf-mosaic figure:nth-child(5),
#infantil .asf-shot:nth-child(5) {
  grid-column: 1 / span 5;
  animation-delay: 0.28s;
}

#infantil .asf-mosaic figure:nth-child(6),
#infantil .asf-shot:nth-child(6) {
  grid-column: 6 / span 7;
  animation-delay: 0.34s;
}

#infantil .asf-mosaic figure::before,
#infantil .asf-shot::before {
  counter-increment: asfshot;
  content: counter(asfshot, decimal-leading-zero);
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 3;
  font-family: var(--font-display), Impact, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.32);
  pointer-events: none;
  transition: opacity 0.35s, -webkit-text-stroke-color 0.35s;
}

#infantil .asf-mosaic figure::after,
#infantil .asf-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 38%,
    transparent 52%,
    rgba(5, 5, 5, 0.55) 100%
  );
  opacity: 0.75;
  transition: opacity 0.45s;
  pointer-events: none;
}

#infantil .asf-mosaic img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.14) contrast(1.06) brightness(1.04);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.55s;
}

#infantil .asf-mosaic figure:hover,
#infantil .asf-shot:hover {
  z-index: 4;
  transform: translateY(-8px) scale(1.008);
  box-shadow:
    0 34px 72px rgba(0, 0, 0, 0.55),
    0 0 0 1px color-mix(in srgb, var(--accent) 55%, rgba(255, 255, 255, 0.15));
}

#infantil .asf-mosaic figure:hover::after,
#infantil .asf-shot:hover::after {
  opacity: 0.35;
}

#infantil .asf-mosaic figure:hover::before,
#infantil .asf-shot:hover::before {
  -webkit-text-stroke-color: var(--accent);
  opacity: 1;
}

#infantil .asf-mosaic figure:hover img {
  transform: scale(1.1);
  filter: saturate(1.22) contrast(1.08) brightness(1.1);
}

#infantil .asf-free,
#infantil .asf-free--hero {
  left: auto !important;
  right: 1rem !important;
  bottom: 1rem !important;
  z-index: 5;
  padding: 0.62rem 1.15rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.22em !important;
  clip-path: polygon(0.55rem 0, 100% 0, calc(100% - 0.55rem) 100%, 0 100%);
  box-shadow:
    0 12px 40px color-mix(in srgb, var(--accent) 50%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@keyframes asf-shot-in {
  from {
    opacity: 0;
    transform: translateY(1.4rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  #infantil .asf-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 10.5rem !important;
  }

  #infantil .asf-mosaic figure:nth-child(n),
  #infantil .asf-shot:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  #infantil .asf-mosaic figure:nth-child(1),
  #infantil .asf-shot:nth-child(1) {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }

  #infantil .asf-mosaic figure:hover,
  #infantil .asf-shot:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #infantil .asf-mosaic figure,
  #infantil .asf-shot {
    animation: none;
  }
}

/* Hero titles — same stack as GSeries: kicker, huge italic word, accent line */
.asf-hero {
  justify-content: space-between !important;
}

.asf-hero__copy {
  padding-top: 1.15rem !important;
  padding-bottom: 0.4rem !important;
}

.asf-hero h2 i {
  display: none !important;
}

.asf-kicker,
.cx-kicker,
.corp-kicker,
.ev-kicker,
.season-hero__kicker,
.video-hero__copy > p[class*="text-accent"],
.drift-hero__eye {
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  font-size: max(0.58rem, min(2.2vw, 0.68rem)) !important;
  font-weight: 700 !important;
}

.asf-hero h2 span,
.cx-hud h1,
.video-hero__copy h1,
.season-hero__title,
.corp-stage h2,
.ev-head h2 {
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 0.82 !important;
  letter-spacing: -0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-shadow: 0 10px 28px #000000b8, 0 18px 48px #00000080 !important;
}

.asf-hero h2 span {
  font-size: max(3.4rem, min(18vw, 8.4rem)) !important;
  display: block;
  padding-top: 0.28em;
  line-height: 0.92 !important;
}

.asf-act--prova .asf-hero h2 span,
.asf-act--curs .asf-hero h2 span,
#prova-el-teu-cotxe .asf-hero h2 span,
#curs-nivell-1 .asf-hero h2 span,
#infantil .asf-hero h2 span {
  font-size: clamp(2.6rem, 9.5vw, 6.4rem) !important;
}

.video-hero__copy h1 {
  font-size: max(3.2rem, min(14vw, 7.2rem)) !important;
  margin-top: 0.12em !important;
}

.season-hero__title {
  font-size: clamp(2.8rem, 7vw, 5.4rem) !important;
}

@media (min-width: 1024px) {
  html body .video-hero__copy {
    max-width: 28rem !important;
  }

  html body .video-hero__copy h1,
  html body .asf-hero:not(#curs-nivell-1):not(#prova-el-teu-cotxe) h2 span,
  html body .cx-hud h1,
  html body .season-hero .season-hero__title,
  html body .drift-hero:not(#campionat) .drift-hero__word,
  html body .drift-hero:not(#campionat) .drift-hero__stage h1 {
    font-size: clamp(3.3rem, 4.6vw, 5.1rem) !important;
    line-height: 0.86 !important;
    max-width: 8.4ch;
    letter-spacing: -0.08em !important;
  }

  html body .video-hero__copy > h1 + p,
  html body .asf-hero:not(#curs-nivell-1):not(#prova-el-teu-cotxe) .asf-sub,
  html body .cx-hud .cx-alt {
    font-size: clamp(0.92rem, 1.05vw, 1.12rem) !important;
    line-height: 1.28 !important;
    max-width: 26rem !important;
  }

  html body .video-hero__copy > h1 + p:before,
  html body .asf-hero:not(#curs-nivell-1):not(#prova-el-teu-cotxe) .asf-sub:before {
    width: 5.4rem;
    margin-bottom: 0.4rem;
  }

  html body .video-hero__copy > h1 + p + p {
    margin-top: 0.4rem !important;
    font-size: 0.9rem !important;
    max-width: 26rem !important;
  }
}

.season-hero__mast {
  max-width: none !important;
}

.corp-stage h2,
.corp-stage.band-white h2,
.corp-stage.band-black h2 {
  font-size: max(3.2rem, min(12vw, 7.2rem)) !important;
  max-width: 18ch !important;
}

.ev-head h2 {
  font-size: clamp(2.6rem, 8vw, 6.4rem) !important;
}

.asf-hero .asf-sub,
.cx-hud .cx-alt,
.corp-stage .corp-sub,
.video-hero__copy > h1 + p {
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: 0.045em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  text-shadow: 0 2px 14px #000000c7, 0 0 24px #5ec4f06b !important;
  font-size: clamp(1.08rem, 1.55vw, 1.62rem) !important;
  line-height: 1.15 !important;
  max-width: min(42rem, 100%) !important;
}

.asf-hero .asf-sub {
  margin-top: 0.85rem !important;
}

.asf-hero .asf-sub:before,
.cx-hud .cx-alt:before,
.video-hero__copy > h1 + p:before,
.corp-stage .corp-sub:before {
  content: "";
  display: block;
  width: min(8.4rem, 52%);
  height: 3px;
  margin: 0 0 0.55rem;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 55%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  box-shadow: 0 0 16px #5ec4f0b3;
}

.asf-hero .asf-lead,
.video-hero__copy > h1 + p + p,
.corp-stage .corp-lead {
  font-family: var(--font-body), Barlow, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  text-shadow: 0 2px 14px #000000bf !important;
  font-size: max(0.88rem, min(0.28vw + 0.78rem, 1rem)) !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  max-width: min(38rem, 100%) !important;
}

.cx-hud .cx-sub {
  margin-top: 0.4rem !important;
  color: #fff !important;
  text-shadow: 0 2px 16px #000c !important;
}

.video-hero .flex.h-full.flex-col.justify-end {
  justify-content: flex-start !important;
  padding-top: 1.15rem !important;
}

.video-hero__copy {
  border-left: 0 !important;
  max-width: min(52rem, calc(100% - 1rem)) !important;
  padding-left: 0 !important;
}

.band-white .asf-hero h2,
.band-white .asf-hero h2 span,
.band-white .cx-hud h1,
.band-white .corp-stage h2,
.band-white .ev-head h2,
.band-white .video-hero__copy h1,
.band-white .season-hero__title,
.band-white .asf-hero .asf-lead,
.band-white .cx-hud .cx-sub {
  color: #fff !important;
}

.band-white .asf-hero .asf-sub,
.band-white .cx-hud .cx-alt,
.band-white .corp-stage .corp-sub,
.band-white .video-hero__copy > h1 + p,
.band-white .asf-kicker,
.band-white .cx-kicker,
.band-white .corp-kicker,
.band-white .ev-kicker,
.band-white .season-hero__kicker {
  color: var(--accent) !important;
}

/* Warm Up extra blocks — visible in solo, same dossier language as Curs / Prova */
.wu-extra {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  counter-reset: wx;
}

.asf-acad-hide {
  display: none !important;
  visibility: hidden !important;
}

/* Academia asfalt: hide the kart page hero before JS, so the BMW paints first. */
html.asf-go-acad .video-hero,
html.asf-go-acad #asf-hub .asf-act--kart,
html.asf-go-acad #asf-hub .asf-act--moto,
html.asf-go-acad #asf-hub .asf-act--kids {
  display: none !important;
  visibility: hidden !important;
}

html.asf-go-prova #asf-hub .asf-act--curs,
html.asf-go-curs #asf-hub .asf-act--prova {
  display: none !important;
  visibility: hidden !important;
}

body.ca-solo #asf-hub .asf-act.asf-act--prova:not(.ca-solo-on),
body.ca-solo #asf-hub .asf-act.asf-act--curs:not(.ca-solo-on) {
  display: none !important;
}

html body #karting.asf-act.ca-solo-on,
html body #motos.asf-act.ca-solo-on {
  display: block !important;
  visibility: visible !important;
}

html body #karting.asf-act.ca-solo-on video,
html body #motos.asf-act.ca-solo-on video {
  opacity: 1 !important;
}

body.asf-acad #asf-hub {
  display: flex;
  flex-direction: column;
}

body.asf-acad #asf-hub .asf-act--curs {
  order: 1;
}

body.asf-acad #asf-hub .asf-act--prova {
  order: 2;
}

body.ca-solo .wu-extra,
html body .neu-act__body .wu-extra,
html body .wu-extra {
  display: none !important;
}

.wu-extra section {
  counter-increment: wx;
  min-height: 13.5rem;
  padding: 1.35rem 1.2rem 1.45rem;
  background: linear-gradient(180deg, #14181f 0%, #08090c 100%);
  box-shadow: inset 3px 0 0 var(--accent), 0 18px 40px rgba(0, 0, 0, 0.12);
}

.wu-extra h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display), Impact, sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 0.95;
  color: #fff !important;
}

.wu-extra h3:before {
  content: counter(wx, decimal-leading-zero);
  display: block;
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-family: var(--font-body), Barlow, sans-serif;
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.wu-extra ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
  border: 0;
}

.wu-extra li {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.92rem;
  line-height: 1.35;
}

.wu-extra li > span {
  display: none !important;
}

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

@media (max-width: 640px) {
  .wu-extra {
    grid-template-columns: 1fr;
  }
}

/* Curs + Prova body — dossier legible (fondo blanco; evita texto negro sobre band-black / ca-solo) */
#curs-nivell-1,
#prova-el-teu-cotxe {
  --asf-ink: #050505;
  --asf-muted: rgba(5, 5, 5, 0.68);
  --asf-line: rgba(5, 5, 5, 0.14);
}

body.ca-solo #prova-el-teu-cotxe.asf-act.ca-solo-on,
body.ca-solo #curs-nivell-1.asf-act.ca-solo-on {
  background: #fff !important;
  color: #050505 !important;
}

#curs-nivell-1 .asf-split,
#prova-el-teu-cotxe .asf-split {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 24.5rem);
  gap: 1.6rem 2.2rem;
  margin: 0;
  padding: 3.1rem max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 3.8rem;
  box-sizing: border-box;
  align-items: stretch;
  --asf-ink: #050505;
  --asf-muted: rgba(5, 5, 5, 0.68);
  --asf-line: rgba(5, 5, 5, 0.14);
  background: #fff !important;
  color: #050505 !important;
  box-shadow: inset 0 1px 0 rgba(5, 5, 5, 0.06);
}

#curs-nivell-1 .asf-copy,
#prova-el-teu-cotxe .asf-copy {
  display: contents;
}

#curs-nivell-1 .asf-strip__k,
#prova-el-teu-cotxe .asf-strip__k {
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  color: var(--accent) !important;
  font-size: 0.68rem !important;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

#curs-nivell-1 .asf-chips {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1.8rem;
  counter-reset: aim;
}

#curs-nivell-1 .asf-chips span,
.asf-act--curs .asf-chips span {
  counter-increment: aim;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 6.4rem;
  padding: 0.95rem 0.9rem 1rem;
  border: 0;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-family: var(--font-display), Impact, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(0.92rem, 1.35vw, 1.18rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

#curs-nivell-1 .asf-chips span:before,
.asf-act--curs .asf-chips span:before {
  content: counter(aim, decimal-leading-zero) !important;
  display: block;
  margin: 0 0 0.55rem;
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  font-family: var(--font-body), Barlow, sans-serif;
  font-style: normal;
  font-weight: 800;
}

#curs-nivell-1 .asf-split .asf-copy h3,
#prova-el-teu-cotxe .asf-split .asf-copy h3,
.asf-act--curs .asf-copy h3,
.asf-act--prova .asf-copy h3 {
  grid-column: 1;
  margin: 0.4rem 0 0.2rem;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.045em !important;
  text-transform: uppercase !important;
}

#curs-nivell-1 .asf-split .asf-copy p:not(.asf-strip__k),
#prova-el-teu-cotxe .asf-split .asf-copy p:not(.asf-strip__k),
.asf-act--curs .asf-copy p:not(.asf-strip__k),
.asf-act--prova .asf-copy p:not(.asf-strip__k) {
  grid-column: 1;
  max-width: 44rem;
  margin: 0.7rem 0 0;
  color: rgba(5, 5, 5, 0.72) !important;
  -webkit-text-fill-color: rgba(5, 5, 5, 0.72) !important;
  font-size: 1.05rem;
  line-height: 1.6;
}

#curs-nivell-1 .asf-rules,
#prova-el-teu-cotxe .asf-rules {
  grid-column: 1;
  counter-reset: inc;
  display: grid;
  gap: 0;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

#curs-nivell-1 .asf-split .asf-rules li,
#prova-el-teu-cotxe .asf-split .asf-rules li,
.asf-act--curs .asf-rules li,
.asf-act--prova .asf-rules li {
  counter-increment: inc;
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  padding: 0.92rem 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12);
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: 1.04rem;
  line-height: 1.35;
}

#curs-nivell-1 .asf-rules li:before,
#prova-el-teu-cotxe .asf-rules li:before,
.asf-act--curs .asf-rules li:before,
.asf-act--prova .asf-rules li:before {
  content: counter(inc, decimal-leading-zero) !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  top: auto;
  left: auto;
  background: none !important;
  transform: none;
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  font-family: var(--font-display), Impact, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

#curs-nivell-1 .asf-ticket {
  grid-column: 2;
  grid-row: 3 / span 6;
}

#prova-el-teu-cotxe .asf-ticket {
  grid-column: 2;
  grid-row: 2 / span 8;
}

#curs-nivell-1 .asf-ticket,
#prova-el-teu-cotxe .asf-ticket {
  position: relative;
  top: auto;
  align-self: start;
  min-height: 28rem;
  padding: 1.7rem 1.55rem 1.65rem;
  background:
    radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    linear-gradient(165deg, #151a22 0%, #07090c 72%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent),
    0 28px 60px rgba(0, 0, 0, 0.22);
}

#curs-nivell-1 .asf-ticket > p,
#prova-el-teu-cotxe .asf-ticket > p {
  color: var(--accent) !important;
}

#curs-nivell-1 .asf-ticket > b,
#prova-el-teu-cotxe .asf-ticket > b {
  color: #fff !important;
  font-size: clamp(4.2rem, 6vw, 6rem);
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent);
}

#curs-nivell-1 .asf-meta span,
#prova-el-teu-cotxe .asf-meta span,
#prova-el-teu-cotxe .asf-ticket > span {
  color: rgba(255, 255, 255, 0.7) !important;
}

#curs-nivell-1 .asf-panels,
#prova-el-teu-cotxe .asf-panels {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.6rem max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 4.6rem;
  box-sizing: border-box;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  counter-reset: pan;
}

#curs-nivell-1 .asf-panel,
#prova-el-teu-cotxe .asf-panel {
  counter-increment: pan;
  min-height: 16.5rem;
  padding: 1.7rem 1.55rem 1.85rem;
  background: linear-gradient(180deg, #14181f 0%, #08090c 100%);
  box-shadow: inset 3px 0 0 var(--accent), 0 18px 40px rgba(0, 0, 0, 0.12);
}

#curs-nivell-1 .asf-panel h3,
#prova-el-teu-cotxe .asf-panel h3,
#curs-nivell-1.band-white .asf-panel h3,
#prova-el-teu-cotxe.band-white .asf-panel h3 {
  color: #fff !important;
  font-size: clamp(1.45rem, 2.1vw, 1.85rem) !important;
}

#curs-nivell-1 .asf-panel h3:before,
#prova-el-teu-cotxe .asf-panel h3:before {
  content: counter(pan, decimal-leading-zero);
  display: block;
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--font-body), Barlow, sans-serif;
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

#curs-nivell-1 .asf-panel p,
#curs-nivell-1 .asf-panel li,
#prova-el-teu-cotxe .asf-panel p,
#prova-el-teu-cotxe .asf-panel li {
  color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 980px) {
  #curs-nivell-1 .asf-split,
  #prova-el-teu-cotxe .asf-split {
    grid-template-columns: 1fr;
    padding-top: 2.2rem;
  }

  #curs-nivell-1 .asf-strip__k,
  #curs-nivell-1 .asf-chips,
  #curs-nivell-1 .asf-copy h3,
  #curs-nivell-1 .asf-rules,
  #curs-nivell-1 .asf-copy p:not(.asf-strip__k),
  #prova-el-teu-cotxe .asf-strip__k,
  #prova-el-teu-cotxe .asf-copy h3,
  #prova-el-teu-cotxe .asf-rules,
  #prova-el-teu-cotxe .asf-copy p:not(.asf-strip__k),
  #curs-nivell-1 .asf-ticket,
  #prova-el-teu-cotxe .asf-ticket {
    grid-column: 1;
    grid-row: auto;
  }

  #curs-nivell-1 .asf-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #curs-nivell-1 .asf-ticket,
  #prova-el-teu-cotxe .asf-ticket {
    min-height: 0;
  }

  #curs-nivell-1 .asf-panels,
  #prova-el-teu-cotxe .asf-panels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  #curs-nivell-1 .asf-chips,
  #curs-nivell-1 .asf-panels,
  #prova-el-teu-cotxe .asf-panels {
    grid-template-columns: 1fr;
  }
}

.neu-catalog-hide {
  display: none !important;
}

#neu-hub {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.neu-act {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  border: 0 !important;
  background: #fff !important;
  overflow: hidden;
}

.neu-act__hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.neu-act__media {
  position: absolute !important;
  inset: 0;
  aspect-ratio: auto !important;
  height: 100% !important;
  min-height: 0 !important;
}

.neu-act__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 42%;
  filter: saturate(1.08) contrast(1.06);
}

#winter-training-camp-kartcross.neu-act .neu-act__media img,
article.winter-kartcross-card.neu-act .neu-act__media img {
  object-position: center 100% !important;
}

#sport-drift-bmw.neu-act .neu-act__hero {
  display: grid !important;
  grid-template-rows: auto auto;
  grid-template-areas: "photo" "rail";
  min-height: 0;
}

#sport-drift-bmw.neu-act .neu-act__media {
  grid-area: photo;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 2;
  max-height: min(78vh, 48rem);
}

#sport-drift-bmw.neu-act .neu-act__copy {
  grid-area: photo;
  align-self: start;
  z-index: 3;
}

#sport-drift-bmw.neu-act .neu-act__hero .asf-rail {
  grid-area: rail;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  margin: 0.45rem auto 0 !important;
}

#sport-drift-bmw.neu-act .neu-act__media img {
  object-fit: cover !important;
  object-position: 50% 52% !important;
}

.neu-act__media:after,
.neu-act__media .absolute.inset-0 {
  display: none !important;
}

.neu-act__copy {
  position: relative;
  z-index: 2;
  width: min(80rem, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 1.15rem 0 0.4rem;
}

.neu-act h2 {
  margin: 0.55rem 0 0;
  display: flex;
  flex-direction: column;
}

.neu-act h2 span {
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 0.82 !important;
  letter-spacing: -0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  font-size: clamp(2.8rem, 9.5vw, 6.8rem) !important;
  text-shadow: 0 10px 28px #000000b8, 0 18px 48px #00000080 !important;
}

.neu-act .asf-sub {
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: 0.045em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  text-shadow: 0 2px 14px #000000c7 !important;
  font-size: clamp(1.08rem, 1.55vw, 1.62rem) !important;
  line-height: 1.15 !important;
  max-width: min(42rem, 100%) !important;
  margin-top: 0.85rem !important;
}

.neu-act .asf-sub:before {
  content: "";
  display: block;
  width: min(8.4rem, 52%);
  height: 3px;
  margin: 0 0 0.55rem;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 55%, transparent 100%);
}

.neu-act .asf-lead {
  color: rgba(255, 255, 255, 0.78) !important;
  text-shadow: 0 2px 14px #000000bf !important;
  max-width: min(38rem, 100%) !important;
}

.neu-act__hero .asf-rail {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  counter-reset: rail;
}

.neu-act__hero .asf-rail span {
  counter-increment: rail;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 6.8rem;
  padding: 0.9rem 0.95rem 1.05rem !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 58%, transparent);
}

.neu-act__hero .asf-rail span:before {
  content: counter(rail, decimal-leading-zero);
  display: block;
  margin: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-body), Barlow, sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.neu-act__hero .asf-rail span:first-child {
  background: var(--accent) !important;
  box-shadow: none;
}

.neu-act__hero .asf-rail span:first-child:before {
  color: #050505;
}

.neu-act__hero .asf-rail b,
.neu-act.band-black .neu-act__hero .asf-rail b,
.neu-act.band-white .neu-act__hero .asf-rail b {
  color: #050505 !important;
  font-size: clamp(0.98rem, 1.35vw, 1.22rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase;
}

.neu-act__hero .asf-rail span:first-child b {
  color: #050505 !important;
}

.neu-act__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22.5rem);
  gap: 1.4rem 2.2rem;
  align-items: start;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 2.5rem max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 3.6rem;
  background: #fff !important;
  color: #050505 !important;
  box-sizing: border-box;
}

.neu-act__body > .absolute {
  display: none !important;
}

.neu-act__body > ul {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  margin: 0;
  padding: 0.15rem 0 0;
  list-style: none;
  border: 0;
  counter-reset: neu;
}

.neu-act__body > ul > li,
.neu-act.band-black .neu-act__body > ul > li,
.neu-act.band-white .neu-act__body > ul > li {
  counter-increment: neu;
  display: grid !important;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  margin: 0;
  padding: 1.05rem 0 !important;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12);
  color: #050505 !important;
  font-size: 1.06rem !important;
  line-height: 1.35;
}

.band-white .neu-act__body > ul > li[class*="text-white"],
.band-black .neu-act__body > ul > li[class*="text-white"] {
  color: #050505 !important;
}

.neu-act__body > ul > li > span {
  display: none !important;
}

.neu-act__body > ul > li:before {
  content: counter(neu, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-display), Impact, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.neu-act__body > .border-t {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  gap: 0.9rem !important;
  min-height: 24rem;
  margin: 0 !important;
  padding: 1.7rem 1.5rem 1.45rem !important;
  border: 0 !important;
  background:
    radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 62%),
    linear-gradient(165deg, #151a22 0%, #07090c 72%) !important;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent),
    0 28px 60px rgba(0, 0, 0, 0.18);
}

.neu-act__body > ul :is(p, span, small, div):not(a):not(a *),
.neu-act.band-black .neu-act__body > ul :is(p, span, small, div):not(a):not(a *),
.neu-act.band-white .neu-act__body > ul :is(p, span, small, div):not(a):not(a *) {
  color: #1a1a1a !important;
}

.neu-act__body > .border-t,
.neu-act__body > .border-t :is(p, span, small, div),
.neu-act.band-black .neu-act__body > .border-t :is(p, span, small, div),
.neu-act.band-white .neu-act__body > .border-t :is(p, span, small, div) {
  color: rgba(255, 255, 255, 0.7) !important;
}

.neu-act__body > .border-t .font-display,
.neu-act.band-black .neu-act__body > .border-t .font-display,
.neu-act.band-white .neu-act__body > .border-t .font-display {
  color: #fff !important;
  font-size: clamp(2.6rem, 4.4vw, 4.1rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.04em !important;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0 36px color-mix(in srgb, var(--accent) 38%, transparent);
}

.neu-act__body > .border-t .uppercase,
.neu-act.band-black .neu-act__body > .border-t .uppercase,
.neu-act.band-white .neu-act__body > .border-t .uppercase {
  max-width: none;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.06em !important;
  line-height: 1.55;
  text-wrap: pretty;
}

.neu-act__body > .border-t > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  width: 100%;
  margin-top: auto;
}

.neu-act__body > .border-t :is(a, button.ca-pay, .asf-btn),
.neu-act.band-black .neu-act__body > .border-t :is(a, button.ca-pay, .asf-btn),
.neu-act.band-white .neu-act__body > .border-t :is(a, button.ca-pay, .asf-btn) {
  appearance: none;
  -webkit-appearance: none;
  clip-path: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100% !important;
  max-width: 100%;
  min-height: 3rem !important;
  height: auto !important;
  margin: 0;
  padding: 0.75rem 1rem !important;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  background: transparent !important;
  color: #fff !important;
  font-family: var(--font-display), Oswald, Impact, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal !important;
  box-shadow: none !important;
}

.neu-act__body > .border-t a:not([href*="wa.me"]),
.neu-act__body > .border-t :is(button, a).ca-pay,
.neu-act__body > .border-t .asf-btn--book,
.neu-act.band-black .neu-act__body > .border-t a:not([href*="wa.me"]),
.neu-act.band-white .neu-act__body > .border-t a:not([href*="wa.me"]),
.neu-act.band-black .neu-act__body > .border-t :is(button, a).ca-pay,
.neu-act.band-white .neu-act__body > .border-t :is(button, a).ca-pay {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #050505 !important;
}

.neu-act__body > .border-t a[href*="wa.me"]:hover {
  background: #fff !important;
  color: #050505 !important;
}

.neu-act__body .wu-extra {
  grid-column: 1 / -1;
  border: 0;
}

.neu-act__body .wu-extra li,
.neu-act.band-black .neu-act__body .wu-extra li,
.neu-act.band-white .neu-act__body .wu-extra li {
  color: rgba(255, 255, 255, 0.78) !important;
  border: 0;
  padding: 0 !important;
}

@media (max-width: 980px) {
  .neu-act__hero .asf-rail,
  #sport-drift-bmw.neu-act .neu-act__hero .asf-rail {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem;
    width: calc(100% - 1.15rem) !important;
  }

  .neu-act__hero .asf-rail span {
    min-height: 5.5rem;
    padding: 0.7rem 0.7rem 0.85rem !important;
  }

  .neu-act__hero .asf-rail b,
  .neu-act.band-black .neu-act__hero .asf-rail b,
  .neu-act.band-white .neu-act__hero .asf-rail b {
    font-size: 0.9rem !important;
    line-height: 1.14 !important;
    letter-spacing: -0.02em !important;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .neu-act__body {
    grid-template-columns: 1fr;
  }

  .neu-act__body > ul,
  .neu-act__body > .border-t {
    grid-column: 1;
    grid-row: auto;
  }

  .neu-act__body > .border-t {
    min-height: 0;
  }
}

.neu-act.band-white .neu-act__hero h2 span,
.neu-act.band-white .neu-act__hero .asf-lead {
  color: #fff !important;
}

.neu-act.band-white .neu-act__hero .asf-sub,
.neu-act.band-white .neu-act__hero .asf-kicker {
  color: var(--accent) !important;
}

body.ca-solo .neu-act.ca-solo-on {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

body.ca-solo #neu-hub {
  display: block;
}

body.ca-solo #neu-hub > .neu-act:not(.ca-solo-on) {
  display: none !important;
}

body.ca-solo main > .video-hero {
  display: none !important;
}

/* Phone: keep the season switcher above the cookie bar and make the header action easy to tap. */
@media (max-width: 800px) {
  .site-header__book {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .launch-cookie {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
  }

  body:has(.launch-cookie) .season-hero__ui {
    bottom: 7.75rem;
  }

  .asf-cta,
  .gsx-test__cta {
    gap: 0.55rem;
  }
}

/* Home cinema: thin seasons just under the header, selected portals at the bottom, video stays the hero. */
.season-hero__ui {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.season-hero__strip {
  order: -1;
  position: relative !important;
  z-index: 41;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  height: 2.35rem !important;
  min-height: 2.35rem !important;
  max-height: 2.35rem !important;
  margin: 0 !important;
  padding: 0 1.1rem !important;
  background: rgba(5, 5, 5, 0.62) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.season-hero__step,
.season-hero__step--on {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  height: 2.35rem !important;
  min-height: 0 !important;
  padding: 0 0.45rem !important;
  overflow: hidden;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.62) !important;
}

.season-hero__step:before,
.season-hero__step:after,
.season-hero__step-tach,
.season-hero__step-num {
  display: none !important;
  background: none !important;
  content: none !important;
}

.season-hero__step-name {
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.7) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

.season-hero__step-period {
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.42) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.42) !important;
  white-space: nowrap;
}

.season-hero__step:hover .season-hero__step-name,
.season-hero__step:focus-visible .season-hero__step-name {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.season-hero__step--on {
  box-shadow: inset 0 -2px 0 var(--accent) !important;
}

.season-hero__step--on .season-hero__step-name {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.season-hero__step--on .season-hero__step-period {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

.season-hero__copy {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 0;
  padding: 0 3.5rem 0.9rem !important;
}

.season-hero__copy-inner {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto;
  min-height: 0;
}

.season-hero__mast {
  margin-top: auto;
  margin-bottom: 0.7rem;
}

.season-hero .absolute.right-3.top-4 {
  top: calc(2.35rem + 0.55rem) !important;
}

.season-hero__portals {
  margin-top: 0 !important;
  width: min(44rem, 100%) !important;
  padding: 0 !important;
}

.season-portal {
  height: 7.1rem !important;
  max-height: 7.1rem !important;
}

@media (max-width: 800px) {
  .season-hero__strip {
    padding: 0 0.55rem !important;
  }

  .season-hero__step-period {
    display: none !important;
  }

  .season-hero__copy {
    padding: 0 1.1rem 0.75rem !important;
  }

  .season-portal {
    height: 5.6rem !important;
    max-height: 5.6rem !important;
  }
}

/* GSeries calendar: solid type, no wash, readable on dark cards. */
#calendari.gsx-cal,
#gs-hub .gsx-cal {
  background: #050505 !important;
  color: #fff !important;
  isolation: isolate;
}

#calendari.gsx-cal .gsx-cal__bg,
#gs-hub .gsx-cal__bg {
  display: none !important;
}

#calendari.gsx-cal .gsx-kicker,
#gs-hub .gsx-cal .gsx-kicker {
  color: var(--accent) !important;
}

#calendari.gsx-cal .gsx-title,
#gs-hub .gsx-cal .gsx-title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  font-size: clamp(2.8rem, 7vw, 5.6rem) !important;
  line-height: 0.9 !important;
}

#calendari.gsx-cal .gsx-title em,
#gs-hub .gsx-cal .gsx-title em {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

#calendari.gsx-cal .gsx-lead,
#gs-hub .gsx-cal .gsx-lead {
  color: rgba(255, 255, 255, 0.8) !important;
}

#gs-hub .gsx-race {
  background: #0e1013 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

#gs-hub .gsx-race.is-next {
  background: #101318 !important;
  border-color: var(--accent) !important;
}

#gs-hub .gsx-race__day,
#gs-hub .gsx-race__name,
#gs-hub .gsx-race__time,
#gs-hub .gsx-race__round {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
}

#gs-hub .gsx-race__name {
  font-size: clamp(1.85rem, 3vw, 2.65rem) !important;
  line-height: 0.95 !important;
}

#gs-hub .gsx-race.is-next .gsx-race__name {
  font-size: clamp(2.1rem, 3.2vw, 3rem) !important;
}

#gs-hub .gsx-race__name small,
#gs-hub .gsx-race__meta,
#gs-hub .gsx-race__order-label,
#gs-hub .gsx-race__order li {
  color: rgba(255, 255, 255, 0.86) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.86) !important;
}

#gs-hub .gsx-race__order li {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #171b21 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

#gs-hub .gsx-race__order b {
  color: #fff !important;
}

#gs-hub .gsx-race__order li:first-child b {
  background: var(--accent) !important;
  color: #050505 !important;
}

#gs-hub .gsx-race__month {
  color: var(--accent) !important;
}

#gs-hub .gsx-race__flag {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

#gs-hub .gsx-race__flag--next {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #050505 !important;
}

#gs-hub .gsx-race__ics {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #050505 !important;
}

#gs-hub .gsx-race__ics:hover,
#gs-hub .gsx-race__ics:focus-visible {
  background: var(--accent-hot) !important;
  border-color: var(--accent-hot) !important;
  color: #050505 !important;
}

#test-gseries.gsx-test,
#gs-hub .gsx-test {
  background: #fff !important;
  color: #0a0a0a !important;
}

html body #test-gseries .gsx-test__media,
html body #gs-hub .gsx-test__media {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.15rem !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0.55rem 0.2rem 1.45rem !important;
  align-items: center;
}

html body #test-gseries .gsx-test__shot,
html body #gs-hub .gsx-test__shot {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip-path: none !important;
  background: #fff !important;
  padding: 0.42rem 0.42rem 0.78rem !important;
  border: 0 !important;
  box-shadow: 0 1.35rem 2.6rem rgba(10, 10, 10, 0.22) !important;
}

html body #test-gseries .gsx-test__shot img,
html body #gs-hub .gsx-test__shot img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 3 / 2 !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
  background: #101418;
}

html body #test-gseries .gsx-test__shot--b img,
html body #gs-hub .gsx-test__shot--b img {
  aspect-ratio: 3 / 2 !important;
  object-fit: cover !important;
  object-position: 46% 58% !important;
}

html body #test-gseries .gsx-test__media:hover img,
html body #gs-hub .gsx-test__media:hover img {
  transform: none !important;
}

html body #test-gseries .gsx-test__shot--a,
html body #gs-hub .gsx-test__shot--a {
  transform: rotate(-1.5deg) !important;
  z-index: 1;
}

html body #test-gseries .gsx-test__shot--b,
html body #gs-hub .gsx-test__shot--b {
  width: 92% !important;
  justify-self: end;
  transform: rotate(1.7deg) !important;
  z-index: 2;
  box-shadow: 0 1.6rem 2.8rem rgba(10, 10, 10, 0.26) !important;
}

@media (min-width: 900px) {
  html body #test-gseries .gsx-test__grid,
  html body #gs-hub .gsx-test__grid {
    align-items: start !important;
  }

  html body #test-gseries .gsx-test__media,
  html body #gs-hub .gsx-test__media {
    padding: 0.75rem 0.55rem 1.8rem 0 !important;
    gap: 1.35rem !important;
  }

  html body #test-gseries .gsx-test__shot--a,
  html body #gs-hub .gsx-test__shot--a {
    transform: rotate(-1.8deg) !important;
  }

  html body #test-gseries .gsx-test__shot--b,
  html body #gs-hub .gsx-test__shot--b {
    width: 88% !important;
    transform: rotate(2.1deg) !important;
  }
}

#gs-hub .gsx-test__stat {
  display: none !important;
}

#gs-hub .gsx-tiles {
  gap: 1rem !important;
  background: transparent !important;
  border: 0 !important;
}

#gs-hub .gsx-tile {
  background: #0e1013 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  min-height: 22rem;
}

#gs-hub .gsx-tile--cta {
  background: linear-gradient(165deg, #12202c 0%, #0e1013 58%) !important;
  border-color: rgba(69, 159, 220, 0.38) !important;
}

#gs-hub .gsx-tile h3 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

#gs-hub .gsx-tile p,
#gs-hub .gsx-tile li {
  color: rgba(255, 255, 255, 0.78) !important;
}

#gs-hub .gsx-tile__link {
  color: var(--accent) !important;
}

#gs-hub .gsx-tile__n {
  color: rgba(255, 255, 255, 0.06) !important;
}

#gs-hub .gsx-tile__ico {
  background: var(--accent) !important;
  color: #050505 !important;
}

#inscripcio.gsx-form,
#gs-hub .gsx-form {
  background: #050505 !important;
  color: #fff !important;
}

#gs-hub .gsx-form .gsx-kicker {
  color: var(--accent) !important;
}

#gs-hub .gsx-form .gsx-title,
#gs-hub .gsx-panel__h,
#gs-hub .gsx-cat__txt b,
#gs-hub .gsx-chip b,
#gs-hub .gsx-opt b,
#gs-hub .gsx-full b,
#gs-hub .gsx-sum__cat,
#gs-hub .gsx-pilot legend,
#gs-hub .gsx-done h3 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

#gs-hub .gsx-form .gsx-title em {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  -webkit-text-stroke: 0 !important;
}

#gs-hub .gsx-form .gsx-lead,
#gs-hub .gsx-cat__txt small,
#gs-hub .gsx-full small,
#gs-hub .gsx-hint,
#gs-hub .gsx-chip small,
#gs-hub .gsx-opt small,
#gs-hub .gsx-sum__lines li,
#gs-hub .gsx-sum__note {
  color: rgba(255, 255, 255, 0.8) !important;
}

#gs-hub .gsx-sum {
  background: #0e1013 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html body .gsx-sum__help,
html body #gs-hub .gsx-sum__help {
  display: none !important;
}

#gs-hub .gsx-card {
  background-color: #050505 !important;
  background-image: url("/videos/activities/gseries-end.jpg?v=6") !important;
  background-position: center 42% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html body #gs-hub .gsx-card__reel {
  filter: none !important;
  opacity: 1 !important;
  -webkit-filter: none !important;
}

html body #gs-hub .gsx-card__stage:after,
html body #gs-hub .gsx-card.is-done .gsx-card__stage:after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

html body #gs-hub .gsx-card .gsx-panel__h,
html body #gs-hub .gsx-card .gsx-step,
html body #gs-hub .gsx-card .gsx-step__t,
html body #gs-hub .gsx-card .gsx-progress__label,
html body #gs-hub .gsx-card .gsx-field__label,
html body #gs-hub .gsx-card .gsx-block__h {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 4px 18px rgba(0, 0, 0, 0.7) !important;
}

#gs-hub .gsx-cat__card {
  background: #0e1013 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

#gs-hub .gsx-cat input:checked + .gsx-cat__card {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px var(--accent), 0 0 1.8rem var(--glow) !important;
}

#gs-hub .gsx-cat__txt b {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7) !important;
}

#gs-hub .gsx-step.is-current {
  color: #fff !important;
}

#gs-hub .gsx-step.is-current .gsx-step__n {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #050505 !important;
}

#gs-hub .gsx-sum__k,
#gs-hub .gsx-sum__total b,
#gs-hub .gsx-opt strong {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

#gs-hub .gsx-sum__lines li b {
  color: #fff !important;
}

#gs-hub .gsx-full {
  border-color: rgba(69, 159, 220, 0.42) !important;
  background: linear-gradient(135deg, rgba(69, 159, 220, 0.12), transparent 70%) !important;
}

#gs-hub .gsx-chip input:checked + span,
#gs-hub .gsx-opt input:checked + span {
  border-color: var(--accent) !important;
}

#gs-hub .gsx-done h3 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: 0 !important;
}

#gs-hub .gsx-done p {
  color: rgba(255, 255, 255, 0.82) !important;
}

#gs-hub .gsx-done--warn .gsx-btn--accent {
  background: var(--accent) !important;
  color: #050505 !important;
}

/* GSeries — Reglament: banda blanca legible (hub + vista sola #reglament). */
#reglament.gsx-regl,
#gs-hub .gsx-regl {
  position: relative;
  background: #fff !important;
  color: #050505 !important;
  border-top: 1px solid rgba(5, 5, 5, 0.07);
}

#reglament.gsx-regl::before,
#gs-hub .gsx-regl::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  pointer-events: none;
}

body.gs-solo #gs-hub,
body.gs-solo #gs-hub .gsx {
  background: #fff !important;
  color: #050505 !important;
}

body.gs-solo #reglament.ca-solo-on {
  min-height: calc(100svh - var(--header-h, 4.25rem));
  padding-top: clamp(2.4rem, 5vw, 3.8rem) !important;
  padding-bottom: clamp(3rem, 7vw, 5rem) !important;
}

#reglament .gsx-head--light .gsx-kicker,
#gs-hub .gsx-regl .gsx-head--light .gsx-kicker {
  color: var(--accent) !important;
}

#reglament .gsx-title,
#gs-hub .gsx-regl .gsx-title {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

#reglament .gsx-head--light .gsx-title em,
#gs-hub .gsx-regl .gsx-head--light .gsx-title em {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 1.5px var(--accent) !important;
}

#reglament .gsx-lead,
#gs-hub .gsx-regl .gsx-lead {
  color: rgba(5, 5, 5, 0.66) !important;
  -webkit-text-fill-color: rgba(5, 5, 5, 0.66) !important;
}

#reglament .gsx-docs__group h3,
#gs-hub .gsx-regl .gsx-docs__group h3 {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
}

#reglament .gsx-regl__top .gsx-btn--dark,
#gs-hub .gsx-regl .gsx-regl__top .gsx-btn--dark {
  background: var(--accent) !important;
  color: #050505 !important;
  clip-path: polygon(0.7rem 0, 100% 0, calc(100% - 0.7rem) 100%, 0 100%);
}

#reglament .gsx-regl__top .gsx-btn--dark:hover,
#gs-hub .gsx-regl .gsx-regl__top .gsx-btn--dark:hover {
  background: var(--accent-hot, var(--accent)) !important;
  filter: brightness(1.05);
}

#reglament .gsx-filters,
#gs-hub .gsx-regl .gsx-filters {
  margin-top: 2.4rem;
}

#reglament .gsx-filter,
#gs-hub .gsx-regl .gsx-filter {
  background: #fff !important;
  border: 1px solid rgba(5, 5, 5, 0.16) !important;
  color: #050505 !important;
}

#reglament .gsx-filter:hover,
#gs-hub .gsx-regl .gsx-filter:hover {
  border-color: #050505 !important;
}

#reglament .gsx-filter.is-on,
#gs-hub .gsx-regl .gsx-filter.is-on {
  background: #050505 !important;
  border-color: #050505 !important;
  color: #fff !important;
}

#reglament .gsx-doc a,
#gs-hub .gsx-regl .gsx-doc a {
  background: #f4f7fa !important;
  border: 1px solid rgba(5, 5, 5, 0.1) !important;
  box-shadow: none !important;
  transform: none !important;
}

#reglament .gsx-doc a:hover,
#gs-hub .gsx-regl .gsx-doc a:hover {
  background: #fff !important;
  border-color: color-mix(in srgb, var(--accent) 55%, #050505) !important;
  box-shadow: 0 10px 24px rgba(5, 5, 5, 0.08) !important;
  transform: translateY(-2px) !important;
}

#reglament .gsx-doc__txt b,
#gs-hub .gsx-regl .gsx-doc__txt b {
  color: #050505 !important;
}

#reglament .gsx-doc__txt small,
#gs-hub .gsx-regl .gsx-doc__txt small {
  color: rgba(5, 5, 5, 0.52) !important;
}

#reglament .gsx-doc__lang,
#gs-hub .gsx-regl .gsx-doc__lang {
  background: #050505 !important;
  color: var(--accent) !important;
}

#reglament .gsx-doc--main .gsx-doc__lang,
#gs-hub .gsx-regl .gsx-doc--main .gsx-doc__lang {
  background: var(--accent) !important;
  color: #050505 !important;
}

#reglament .gsx-doc__dl,
#gs-hub .gsx-regl .gsx-doc__dl {
  border-color: rgba(5, 5, 5, 0.14) !important;
  color: #050505 !important;
}

#reglament .gsx-doc a:hover .gsx-doc__dl,
#gs-hub .gsx-regl .gsx-doc a:hover .gsx-doc__dl {
  background: #050505 !important;
  border-color: #050505 !important;
  color: var(--accent) !important;
}

/* Tardor uses corporate.jpg in season portals; do not hide the hero. */
html body section.season-hero,
html body section.hero-cinema {
  visibility: visible !important;
}

/* Original video brightness: no black veil, wash or CSS dimming. */
html body .season-hero__reel--hivern {
  object-fit: cover !important;
  object-position: 42% 48% !important;
}

/* Primavera is a 1080p hero. The extra 1.36 zoom magnified a 720p source and looked soft. */
html body .season-hero__reel--primavera {
  transform: none !important;
  object-fit: cover !important;
}

html body video,
html body .video-native,
html body .video-hero video,
html body .hero-cinema video,
html body .season-hero video,
html body .season-hero__reel,
html body .drift-hero video,
html body .asf-hero video,
html body .neu-hero--vid video,
html body .neu-act__media video,
html body .cx-panel video,
html body .ev-card video,
html body #gseries video,
html body.cx-on .video-hero video {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

html body .season-hero__veil,
html body .season-hero__wash,
html body .drift-hero__veil,
html body .drift-hero--bright .drift-hero__veil,
html body .asf-hero__veil,
html body #prova-el-teu-cotxe .asf-hero__veil,
html body .hx-shade,
html body .hx-grain,
html body .corp-shade,
html body .corp-grain,
html body .ev-cover__grain,
html body .band-white .season-hero__veil,
html body .band-white .season-hero__wash,
html body .band-white .drift-hero__veil,
html body .neu-act__media:after,
html body .cx-panel:after {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
}

/* Historic event cards: white band was painting black text on the dark board. */
html body .hx-stage.band-white article,
html body .hx-stage.band-white article * {
  color: #fff;
}

html body .hx-stage.band-white article [class*="text-white"],
html body .hx-stage.band-white article h3,
html body .hx-stage.band-white article h3[class*="text-white"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html body .hx-stage.band-white article p[class*="text-white/"],
html body .hx-stage.band-white article [class*="text-white/60"],
html body .hx-stage.band-white article [class*="text-white/70"] {
  color: rgba(255, 255, 255, 0.9) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
}

html body .hx-stage.band-white article [class*="text-accent"] {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

html body .hx-stage.band-white article a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: transparent !important;
  font-family: var(--font-body), Barlow, sans-serif !important;
  font-size: 0.6875rem !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  line-height: 1 !important;
}

html body .hx-stage.band-white article a[href*="wa.me"] {
  color: #25d366 !important;
  -webkit-text-fill-color: #25d366 !important;
  border-color: rgba(37, 211, 102, 0.45) !important;
  background: rgba(37, 211, 102, 0.12) !important;
}

html body .hx-stage.band-white article a[href*="/reservar"] {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
}

/* Contacto: white band + light form — high contrast, no muddy gray */
html body section.contact-pro,
html body section.contact-pro.band-white {
  position: relative;
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 3.4rem max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 4.4rem !important;
  background: #fff !important;
  color: #050505 !important;
  overflow: hidden;
  isolation: auto !important;
}

html body section.contact-pro::before,
html body section.contact-pro::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

html body section.contact-pro > div {
  position: relative;
  max-width: 80rem;
  margin-inline: auto;
}

html body section.contact-pro .grid {
  gap: 2.4rem 3.2rem !important;
  align-items: stretch;
}

html body section.contact-pro [style*="opacity"] {
  opacity: 1 !important;
  transform: none !important;
}

html body section.contact-pro .grid > div:first-child {
  position: relative;
}

html body section.contact-pro .grid > div:first-child::after {
  content: "" !important;
  display: block !important;
  margin-top: 1.85rem;
  height: 16.5rem;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, 0.12);
  background:
    linear-gradient(180deg, transparent 48%, rgba(5, 5, 5, 0.28)),
    url("/images/eventos/corporate.jpg") center / cover no-repeat;
}

html body section.contact-pro .text-accent {
  text-shadow: none !important;
  color: #3aa4d6 !important;
  letter-spacing: 0.28em !important;
}

html body section.contact-pro .grid > div:first-child h2,
html body section.contact-pro .grid > div:first-child h2[class*="text-white"] {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  font-size: clamp(2.7rem, 5.4vw, 4.4rem) !important;
  line-height: 0.88 !important;
}

html body section.contact-pro .grid > div:first-child p,
html body section.contact-pro .grid > div:first-child p[class*="text-fg"] {
  color: #2a2a2a !important;
  -webkit-text-fill-color: #2a2a2a !important;
  max-width: 36rem;
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
}

html body section.contact-pro .grid > div:first-child li,
html body section.contact-pro .grid > div:first-child li[class*="text-white"],
html body section.contact-pro .grid > div:first-child li[class*="text-fg"] {
  position: relative;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12);
  font-size: 0.98rem;
}

html body section.contact-pro .grid > div:first-child li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 2px;
  background: var(--accent);
}

html body section.contact-pro .grid > div:first-child a {
  color: #1277a8 !important;
  -webkit-text-fill-color: #1277a8 !important;
  text-decoration: none;
}

html body section.contact-pro .bg-bg-panel {
  background: #f6f7f8 !important;
  border: 1px solid #d9dce0 !important;
  border-radius: 0 !important;
  padding: 1.7rem 1.55rem 1.45rem !important;
  box-shadow: 0 18px 44px rgba(10, 14, 20, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body section.contact-pro .bg-bg-panel h2,
html body section.contact-pro .bg-bg-panel h2[class*="text-white"] {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: clamp(1.85rem, 3vw, 2.45rem) !important;
  line-height: 0.9 !important;
}

html body section.contact-pro .bg-bg-panel p,
html body section.contact-pro .bg-bg-panel .text-fg-muted,
html body section.contact-pro .bg-bg-panel p[class*="text-fg"] {
  color: #3a3a3a !important;
  -webkit-text-fill-color: #3a3a3a !important;
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
}

html body section.contact-pro input,
html body section.contact-pro textarea {
  background: #fff !important;
  border: 1px solid #c8ccd2 !important;
  border-radius: 0 !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  caret-color: var(--accent);
  font-size: 1rem !important;
  min-height: 3rem;
}

html body section.contact-pro textarea {
  min-height: 7.2rem;
}

html body section.contact-pro input::placeholder,
html body section.contact-pro textarea::placeholder {
  color: #5c5c5c !important;
  -webkit-text-fill-color: #5c5c5c !important;
  opacity: 1 !important;
}

html body section.contact-pro input:focus,
html body section.contact-pro textarea:focus {
  border-color: var(--accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
  outline: none;
}

html body section.contact-pro input:-webkit-autofill,
html body section.contact-pro textarea:-webkit-autofill {
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
}

html body section.contact-pro button[type="submit"] {
  background: var(--accent) !important;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 3.15rem;
  letter-spacing: 0.16em !important;
  font-family: var(--font-display), Oswald, Impact, sans-serif !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transform: none !important;
}

html body section.contact-pro button[type="submit"]:hover {
  filter: brightness(1.06);
  transform: none !important;
}

html body .gsx-tabs,
body.gs-solo .gsx-tabs {
  display: none !important;
}

/* Home: one film, no 4-season split — hide the old chrome even before JS. */
.season-hero .season-hero__arrow,
.season-hero .season-hero__rail,
.season-hero .season-hero__strip,
.season-hero .season-hero__step {
  display: none !important;
}

.season-hero .hero-cinema__layer video,
.season-hero video.season-hero__reel {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.season-hero.hero-cinema,
.season-hero {
  background-color: #050505 !important;
  background-image: url("/videos/seasons/home-circuit.jpg?v=2") !important;
  background-size: cover !important;
  background-position: 50% 48% !important;
}

.season-film {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  background: #050505 url("/videos/seasons/home-circuit.jpg?v=2") center 48% / cover no-repeat;
  pointer-events: none;
}

.season-film__reel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  display: block;
}

.season-film__grain {
  display: none !important;
}

.season-hero.season-one .season-hero__copy {
  padding-bottom: 2.8rem !important;
}

/* Home: drop the three entry tiles. Keep kicker + title on the film. */
html body .season-hero .season-hero__portals,
html body .season-hero .season-portal,
html body .season-hero .season-hero__cta {
  display: none !important;
}

html body .season-hero .season-hero__mast {
  margin-bottom: 0 !important;
}

html body .season-hero .season-hero__title {
  font-size: clamp(3.1rem, 7.4vw, 6.1rem) !important;
  line-height: 0.82 !important;
}

@media (max-width: 800px) {
  html body .season-hero .season-hero__ui {
    justify-content: flex-end !important;
  }

  html body .season-hero .season-hero__copy,
  html body .season-hero.season-one .season-hero__copy {
    flex: 0 0 auto !important;
    padding: 0 1rem calc(1.15rem + env(safe-area-inset-bottom)) !important;
  }

  html body .season-hero .season-hero__copy-inner {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
  }

  html body .season-hero .season-hero__mast {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  html body .season-hero .season-hero__title {
    font-size: clamp(2.45rem, 11vw, 3.35rem) !important;
    line-height: 0.84 !important;
  }

  html body .season-hero .season-hero__kicker {
    font-size: 0.68rem !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 0.35rem !important;
  }

  body:has(.launch-cookie) .season-hero__ui {
    bottom: 4.1rem !important;
  }
}

html body .season-hero.season-film-on .season-film__reel {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Campionat Andbank GSeries lives on /gseries, not Esdeveniments. */
body section#gseries {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* GSeries campionat: official lockup, white SERIES on video. */
#campionat.drift-hero .drift-hero__frame {
  position: relative;
  background: #050505 url("/videos/activities/gseries-hero-start.jpg?v=4") center 42%/cover no-repeat !important;
}

#campionat.drift-hero.gs-reel-ready .drift-hero__frame,
#campionat.drift-hero.gs-reel-on .drift-hero__frame {
  background: #050505 !important;
}

#campionat .drift-hero__still {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#campionat .drift-hero__reel {
  animation: none !important;
  transform: none !important;
  object-position: center 42% !important;
  visibility: visible !important;
  z-index: 2 !important;
  opacity: 0 !important;
}

#campionat.gs-reel-ready .drift-hero__reel,
#campionat.gs-reel-on .drift-hero__reel {
  opacity: 1 !important;
}

#campionat .drift-hero__eye,
#campionat .drift-hero__sub,
#campionat .drift-hero__lede,
#campionat .gs-ident,
#campionat .gs-ident img {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

#campionat h1.drift-hero__word,
#campionat .drift-hero__stage h1,
#campionat .drift-hero__letters {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

#campionat .drift-hero__core::before {
  content: "";
  display: block;
  width: min(92%, 34.5rem);
  height: 5.7rem;
  margin: 0.15rem 0 0.45rem;
  background: url("/images/gseries/gs-ident.png?v=3") left center / contain no-repeat;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

#campionat .drift-hero__core:has(.gs-ident)::before {
  display: none;
}

#campionat .gs-ident {
  position: relative;
  z-index: 6;
  width: min(92%, 34.5rem);
  max-width: 100%;
  margin: 0.15rem 0 0.45rem;
  pointer-events: none;
  background: none;
}

#campionat .gs-ident img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  background: none;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.72));
}

#campionat .drift-hero__stage,
#campionat .drift-hero__audio {
  position: relative;
  z-index: 6;
}

#campionat .drift-hero__stage p,
#campionat .drift-hero__stage .drift-hero__lede,
#campionat .drift-hero__kicker,
#campionat .drift-hero__word,
#campionat .drift-hero__vh,
#campionat .drift-hero__letters {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78), 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}

@media (max-width: 720px) {
  #campionat .gs-ident {
    width: min(96%, 22.5rem);
  }
}

/* Home: never start the old 4-season reels; the current film is .season-film. */
.season-hero .hero-cinema__layer video,
.season-hero video.season-hero__reel:not(.season-film__reel) {
  display: none !important;
}

/* Skip the boot splash and the black lock screen. */
html.boot-lock,
html.boot-lock body {
  height: auto !important;
  overflow: auto !important;
}
html.boot-lock body > :not(.site-boot) {
  visibility: visible !important;
  pointer-events: auto !important;
}
.site-boot {
  display: none !important;
}
html:not(.ca-ready) main {
  visibility: visible !important;
}

/* GSeries story: race-control HUD over the ice reel, not a flat black box. */
html body section.gs-story {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  background: #050505 !important;
  color: #fff !important;
}

html body section.gs-story::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 18%, transparent 42%, var(--accent) 100%);
  pointer-events: none;
}

html body section.gs-story::after {
  display: none !important;
  content: none !important;
}

html body section.gs-story .gs-story__media {
  background: #000;
}

html body section.gs-story .gs-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.18), transparent 24%, rgba(5, 5, 5, 0.28) 100%);
}

html body section.gs-story .gs-story__copy {
  z-index: 2;
  gap: 0.85rem !important;
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 58%),
    repeating-linear-gradient(-18deg, transparent, transparent 17px, rgba(255, 255, 255, 0.016) 17px, rgba(255, 255, 255, 0.016) 18px),
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.94) 62%, rgba(5, 5, 5, 0.55) 88%, transparent 100%) !important;
  box-shadow:
    inset 4px 0 0 var(--accent),
    inset 0 1px 0 color-mix(in srgb, var(--accent) 38%, transparent);
}

html body section.gs-story .gs-story__copy::before {
  display: none !important;
  content: none !important;
}

html body section.gs-story .gs-story__kicker,
html body section.gs-story .gs-story__title,
html body section.gs-story .gs-story__body {
  position: relative;
  z-index: 1;
}

html body section.gs-story .gs-story__kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  margin: 0 !important;
  color: var(--accent) !important;
  font-family: var(--font-body), Barlow, sans-serif;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
}

html body section.gs-story .gs-story__kicker::before {
  content: "";
  width: 1.15rem;
  height: 0.72rem;
  flex: none;
  background: repeating-conic-gradient(#fff 0 25%, #050505 0 50%) 0 0 / 0.36rem 0.36rem;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 70%, #fff);
}

html body section.gs-story .gs-story__kicker::after {
  content: "";
  width: 2.8rem;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

html body section.gs-story .gs-story__title {
  max-width: 11ch !important;
  margin: 0.1rem 0 0.1rem !important;
  color: #fff !important;
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: clamp(2.15rem, 6.2vw, 4.35rem) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.05em !important;
  text-transform: uppercase !important;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.72), 0 2px 0 rgba(5, 5, 5, 0.45) !important;
}

html body section.gs-story .gs-story__title::after {
  content: "";
  display: block;
  width: min(11.5rem, 46%);
  height: 4px;
  margin-top: 0.7rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

html body section.gs-story .gs-story__body {
  gap: 0 !important;
  max-width: 36rem !important;
  counter-reset: gsbeat;
}

html body section.gs-story .gs-story__body p {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: start;
  margin: 0 !important;
  padding: 0.72rem 0 0.78rem;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem) !important;
  line-height: 1.5 !important;
  border-top: 1px solid color-mix(in srgb, var(--accent) 24%, rgba(255, 255, 255, 0.08));
  counter-increment: gsbeat;
}

html body section.gs-story .gs-story__body p::before {
  content: counter(gsbeat, decimal-leading-zero);
  font-family: var(--font-display), Impact, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.35px var(--accent);
  padding-top: 0.18rem;
}

@media (min-width: 1024px) {
  html body section.gs-story {
    min-height: calc(100svh - var(--header-h, 4.25rem));
  }

  html body section.gs-story .gs-story__copy {
    width: min(40rem, 44%) !important;
    min-height: calc(100svh - var(--header-h, 4.25rem));
    justify-content: center !important;
    padding: 2.6rem 1.6rem 3rem 3.1rem !important;
    background:
      radial-gradient(90% 70% at 0% 12%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%),
      repeating-linear-gradient(-18deg, transparent, transparent 17px, rgba(255, 255, 255, 0.014) 17px, rgba(255, 255, 255, 0.014) 18px),
      linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.92) 58%, rgba(5, 5, 5, 0.42) 86%, transparent 100%) !important;
  }

  html body section.gs-story .gs-story__title {
    font-size: clamp(2.9rem, 4.2vw, 4.5rem) !important;
  }

  html body section.gs-story .gs-story__copy::after {
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.2) 48%, transparent 100%) !important;
    width: 9rem !important;
  }
}

@media (max-width: 1023px) {
  html body section.gs-story .gs-story__copy {
    padding: 1.7rem 1.2rem 4.8rem !important;
  }

  html body section.gs-story .gs-story__media::after {
    background: linear-gradient(180deg, transparent 42%, rgba(5, 5, 5, 0.55) 100%);
  }
}

@media (max-width: 980px) {
  html body section.contact-pro,
  html body section.contact-pro.band-white {
    padding: 2.4rem 1.1rem 3rem !important;
  }

  html body section.contact-pro .grid > div:first-child::after {
    height: 12rem;
  }
}

/* Reservar: video hero must keep the veil + white type (band-white was
   hiding the gradient and painting the title black on the footage). */
html body:has(.grid-cols-4) section.band-white:has(> video) {
  background: #050505 !important;
  color: #fff !important;
}

html body:has(.grid-cols-4) section.band-white:has(> video) h1,
html body:has(.grid-cols-4) section.band-white:has(> video) h1[class*="text-white"],
html body:has(.grid-cols-4) section.band-white:has(> video) [class*="text-white"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

html body:has(.grid-cols-4) section.band-white:has(> video) [class*="text-white/"] {
  color: rgba(255, 255, 255, 0.86) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.86) !important;
}

html body:has(.grid-cols-4) section.band-white:has(> video) > [class*="from-black"],
html body:has(.grid-cols-4) section.band-white:has(> video) > [class*="via-black"],
html body:has(.grid-cols-4) section.band-white:has(> video) > [class*="to-black"] {
  display: block !important;
  background-color: transparent !important;
  background-image: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.72) 46%, rgba(5, 5, 5, 0.28) 100%) !important;
}

/* Booking wizard: black panel stays light-on-dark on every step. */
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) {
  --bg: #050505;
  --bg-elevated: #121212;
  --bg-panel: #111;
  --fg: #fff;
  --fg-muted: #d0d0d0;
  --fg-dim: #a3a3a3;
  color: #fff !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-white"],
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-white/"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-white/35"] {
  color: rgba(255, 255, 255, 0.62) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.62) !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-white/60"],
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-white/65"],
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-white/70"],
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-white/80"] {
  color: rgba(255, 255, 255, 0.82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-fg-muted"] {
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="text-accent"] {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="bg-accent/15"],
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="bg-accent/15"] * {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="bg-accent"]:not([class*="bg-accent/"]),
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="bg-accent"]:not([class*="bg-accent/"]) * {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) [class*="border-white"] {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) input,
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) textarea {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #121212 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  caret-color: var(--accent);
}

html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) input::placeholder,
html body [class*="overflow-hidden"][class*="bg-black"]:has(.grid-cols-4) textarea::placeholder {
  color: rgba(255, 255, 255, 0.48) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.48) !important;
  opacity: 1 !important;
}

/* Header items = literal Reservar button: solid accent, dark type, same geometry. */
html body .site-header {
  box-shadow: none;
}

@media (min-width: 1280px) {
  html body .site-nav {
    gap: 0.32rem !important;
    justify-content: center !important;
    height: 100% !important;
  }

  html body .site-nav__group {
    height: 100% !important;
    align-items: center !important;
  }

  html body .site-nav__link,
  html body .site-nav__link.site-nav__trigger,
  html body .site-header__book {
    height: 2.35rem !important;
    padding: 0 0.62rem !important;
    border: 0 !important;
    border-radius: 0.28rem !important;
    background: var(--accent) !important;
    color: #05090c !important;
    font-family: var(--font-display), Impact, sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background 0.18s ease, transform 0.18s ease, filter 0.18s ease !important;
  }

  html body .site-header__book {
    padding: 0 1.05rem !important;
    font-size: 0.78rem !important;
  }

  html body .site-nav__link:after {
    content: none !important;
    display: none !important;
  }

  html body .site-nav__link:hover,
  html body .site-nav__link:focus-visible,
  html body .site-nav__group:hover > .site-nav__link,
  html body .site-nav__group:focus-within > .site-nav__link,
  html body .site-header__book:hover,
  html body .site-header__book:focus-visible {
    background: #fff !important;
    color: #05090c !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none;
    transform: none;
  }

  html body .site-nav__link--on,
  html body .site-nav__link.is-on,
  html body .site-nav__link--on:hover,
  html body .site-nav__link.is-on:hover,
  html body .site-nav__link--on:focus-visible,
  html body .site-nav__link.is-on:focus-visible {
    background: var(--accent) !important;
    color: #05090c !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none;
    transform: none;
  }
}

@media (min-width: 1480px) {
  html body .site-nav {
    gap: 0.4rem !important;
  }

  html body .site-nav__link,
  html body .site-nav__link.site-nav__trigger {
    padding: 0 0.78rem !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 1279px) {
  html body .site-mnav {
    gap: 0.4rem;
    padding: 0.7rem 0.75rem 1rem !important;
  }

  html body .site-mnav .site-mnav__label,
  html body header.site-header .site-mnav__label,
  html body header.site-header > div.bg-black .flex-col.gap-1 > a[class*="tracking-[0.08em]"] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 1.05rem !important;
    border: 0 !important;
    border-radius: 0.28rem !important;
    background: var(--accent) !important;
    color: #05090c !important;
    font-family: var(--font-display), Impact, sans-serif !important;
    font-size: 0.82rem !important;
    font-style: normal !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
  }

  html body .site-mnav .site-mnav__label:hover,
  html body .site-mnav .site-mnav__label:focus-visible,
  html body .site-mnav .site-mnav__label:active,
  html body header.site-header .site-mnav__label:hover,
  html body header.site-header .site-mnav__label:focus-visible,
  html body header.site-header > div.bg-black .flex-col.gap-1 > a[class*="tracking-[0.08em]"]:hover,
  html body header.site-header > div.bg-black .flex-col.gap-1 > a[class*="tracking-[0.08em]"]:focus-visible {
    background: #fff !important;
    color: #05090c !important;
    box-shadow: none !important;
  }

  html body .site-mnav__col {
    margin: 0.05rem 0 0.45rem;
    padding: 0.25rem 0.7rem 0.4rem 0.95rem !important;
    border-left: 2px solid var(--accent);
  }
}

/* GSeries category wall: no WhatsApp Consulta on SBS / GIAND / Kartcross / Xtreme. */
html body .gseries-wall__wa,
html body .gseries-wall__actions {
  display: none !important;
}

/* GSeries sticky subheader (Calendari / Test / Inscripció / Reglament / Live timing). */
html body .gsx-tabs,
html body .gs-show__head {
  display: none !important;
}

/* Neu after-hero: photo then dark type on white. Snow copy never sits on snow. */
html body.neu-stack main section.bg-bg-elevated.neu-catalog-hide,
html body.neu-stack main section.bg-bg-elevated:not(:has(article.neu-act)) {
  display: none !important;
}

html body #neu-hub {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  background: #fff;
}

html body .neu-act,
html body .neu-act.band-white,
html body .neu-act.band-black {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: #050505 !important;
  overflow: hidden;
  box-shadow: none !important;
}

html body .neu-act + .neu-act {
  border-top: 1px solid rgba(5, 5, 5, 0.08) !important;
}

html body .neu-act__hero,
html body #sport-drift-bmw.neu-act .neu-act__hero {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
  height: auto !important;
  grid-template-rows: none !important;
  grid-template-areas: none !important;
}

html body .neu-act__media,
html body #sport-drift-bmw.neu-act .neu-act__media,
html body #sport-polaris.neu-act .neu-act__media,
html body #winter-training-camp-kartcross.neu-act .neu-act__media,
html body article.winter-kartcross-card.neu-act .neu-act__media {
  position: relative !important;
  inset: auto !important;
  grid-area: auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  background: #fff !important;
}

html body .neu-act__media img,
html body #sport-drift-bmw.neu-act .neu-act__media img,
html body #sport-polaris.neu-act .neu-act__media img,
html body #winter-training-camp-kartcross.neu-act .neu-act__media img,
html body article.winter-kartcross-card.neu-act .neu-act__media img {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 12 / 5;
  object-fit: cover !important;
  object-position: center 62% !important;
  filter: saturate(1.04) contrast(1.03);
}

html body #winter-training-camp.neu-act .neu-act__media img {
  aspect-ratio: 12 / 5;
  object-fit: cover !important;
  object-position: center 52% !important;
}

html body #warm-up.neu-act.neu-tu .neu-act__media img {
  aspect-ratio: 12 / 5;
  object-fit: cover !important;
  object-position: 48% 62% !important;
}

html body #winter-training-camp-kartcross.neu-act .neu-act__media img,
html body article.winter-kartcross-card.neu-act .neu-act__media img {
  aspect-ratio: 12 / 5;
  object-fit: cover !important;
  object-position: center 100% !important;
}

html body .neu-act__media:after {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--accent);
  z-index: 2;
}

html body .neu-act__media .absolute.inset-0 {
  display: none !important;
}

html body .neu-act__copy,
html body #sport-drift-bmw.neu-act .neu-act__copy {
  position: relative !important;
  grid-area: auto !important;
  align-self: stretch !important;
  z-index: 2;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  margin: 0 auto !important;
  padding: 2.15rem 0 0.35rem !important;
}

html body .neu-act .asf-kicker,
html body .neu-act.band-white .neu-act__hero .asf-kicker,
html body .neu-act.band-black .neu-act__hero .asf-kicker {
  margin: 0 !important;
  color: var(--accent) !important;
  font-family: var(--font-body), Barlow, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

html body .neu-act h2 {
  margin: 0.55rem 0 0 !important;
  display: flex;
  flex-direction: column;
}

html body .neu-act h2 span,
html body .neu-act.band-white .neu-act__hero h2 span,
html body .neu-act.band-black .neu-act__hero h2 span,
html body .neu-act h2[class*="text-white"],
html body .neu-act__copy [class*="text-white"]:not(.asf-kicker):not(.asf-sub),
html body .neu-act__body > ul [class*="text-white"] {
  color: #050505 !important;
  text-shadow: none !important;
}

html body .neu-act h2 span {
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 0.86 !important;
  letter-spacing: -0.05em !important;
  text-transform: uppercase !important;
  font-size: clamp(2.35rem, 6.4vw, 4.8rem) !important;
}

html body .neu-act .asf-sub,
html body .neu-act.band-white .neu-act__hero .asf-sub,
html body .neu-act.band-black .neu-act__hero .asf-sub {
  max-width: min(46rem, 100%) !important;
  margin-top: 0.9rem !important;
  color: var(--accent) !important;
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-shadow: none !important;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem) !important;
  line-height: 1.25 !important;
}

html body .neu-act .asf-sub:before {
  content: "";
  display: block;
  width: min(7.2rem, 46%);
  height: 3px;
  margin: 0 0 0.62rem;
  background: var(--accent);
}

html body .neu-act .asf-lead,
html body .neu-act.band-white .neu-act__hero .asf-lead,
html body .neu-act.band-black .neu-act__hero .asf-lead,
html body .neu-act .asf-lead[class*="text-white"] {
  max-width: min(46rem, 100%) !important;
  margin-top: 0.7rem !important;
  color: #1a1a1a !important;
  font-size: 1.05rem !important;
  line-height: 1.58 !important;
  text-shadow: none !important;
}

html body .neu-act__hero .asf-rail,
html body #sport-drift-bmw.neu-act .neu-act__hero .asf-rail {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  margin: 1.35rem auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body .neu-act__hero .asf-rail span {
  min-height: 6.2rem;
  padding: 0.95rem 1rem 1.05rem !important;
  border: 0 !important;
  background: #f4f6f8 !important;
  box-shadow: inset 0 0 0 1px rgba(69, 159, 220, 0.38);
}

html body .neu-act__hero .asf-rail span:first-child {
  background: var(--accent) !important;
  box-shadow: none;
}

html body .neu-act__hero .asf-rail b,
html body .neu-act.band-black .neu-act__hero .asf-rail b,
html body .neu-act.band-white .neu-act__hero .asf-rail b {
  color: #050505 !important;
  font-size: clamp(0.92rem, 1.2vw, 1.12rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase;
}

html body .neu-act__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22.5rem);
  grid-template-rows: auto auto;
  gap: 1.5rem 2.4rem;
  width: 100% !important;
  margin: 0 !important;
  padding: 2.1rem max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 3.4rem;
  background: #fff !important;
  color: #050505 !important;
}

html body .neu-act__body > ul {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0.1rem 0 0;
  list-style: none;
}

html body .neu-act__body > ul > li,
html body .neu-act.band-black .neu-act__body > ul > li,
html body .neu-act.band-white .neu-act__body > ul > li,
html body .neu-act__body > ul > li[class*="text-white"] {
  color: #050505 !important;
  font-size: 1.05rem !important;
  line-height: 1.4;
}

html body .neu-act__body > ul :is(p, span, small, div):not(a):not(a *),
html body .neu-act.band-black .neu-act__body > ul :is(p, span, small, div):not(a):not(a *),
html body .neu-act.band-white .neu-act__body > ul :is(p, span, small, div):not(a):not(a *) {
  color: #1a1a1a !important;
}

html body .neu-act__body > .border-t {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 0;
}

html body .neu-act__body > .border-t .font-display,
html body .neu-act.band-black .neu-act__body > .border-t .font-display,
html body .neu-act.band-white .neu-act__body > .border-t .font-display {
  color: #fff !important;
}

html body .neu-act__body > .border-t a[href*="wa.me"],
html body .neu-act.band-black .neu-act__body > .border-t a[href*="wa.me"],
html body .neu-act.band-white .neu-act__body > .border-t a[href*="wa.me"] {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
}

html body .neu-act__body .wu-extra {
  display: none !important;
}

html body .neu-act__body .wu-extra section {
  margin: 0;
  min-height: 0;
  padding: 1.15rem 1.05rem 1.2rem;
  background: #f4f6f8 !important;
  box-shadow: inset 3px 0 0 var(--accent);
}

html body .neu-act__body .wu-extra h3,
html body .neu-act .wu-extra h3 {
  margin: 0 0 0.45rem;
  color: #050505 !important;
  font-family: var(--font-display), Impact, sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

html body .neu-act__body .wu-extra ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .neu-act__body .wu-extra li,
html body .neu-act.band-black .neu-act__body .wu-extra li,
html body .neu-act.band-white .neu-act__body .wu-extra li,
html body .neu-act__body .wu-extra li[class*="text-white"] {
  display: grid !important;
  grid-template-columns: 0.7rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  margin: 0;
  padding: 0.28rem 0 !important;
  border: 0 !important;
  color: #1a1a1a !important;
  font-size: 0.95rem !important;
  line-height: 1.4;
}

html body .neu-act__body .wu-extra li > span {
  display: block !important;
  width: 0.38rem;
  height: 0.38rem;
  margin-top: 0.45rem;
  background: var(--accent);
}

@media (max-width: 980px) {
  html body .neu-act__media,
  html body #sport-drift-bmw.neu-act .neu-act__media,
  html body #sport-polaris.neu-act .neu-act__media,
  html body #winter-training-camp-kartcross.neu-act .neu-act__media,
  html body article.winter-kartcross-card.neu-act .neu-act__media {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  html body .neu-act__media img,
  html body #sport-drift-bmw.neu-act .neu-act__media img,
  html body #sport-polaris.neu-act .neu-act__media img,
  html body #winter-training-camp-kartcross.neu-act .neu-act__media img,
  html body article.winter-kartcross-card.neu-act .neu-act__media img {
    height: auto !important;
    aspect-ratio: 12 / 5;
    object-fit: cover !important;
    object-position: center 62% !important;
  }

  html body #winter-training-camp.neu-act .neu-act__media img {
    aspect-ratio: 12 / 5;
    object-fit: cover !important;
    object-position: center 52% !important;
  }

  html body #winter-training-camp-kartcross.neu-act .neu-act__media img,
  html body article.winter-kartcross-card.neu-act .neu-act__media img {
    aspect-ratio: 12 / 5;
    object-fit: cover !important;
    object-position: center 100% !important;
  }

  html body .neu-act__copy,
  html body #sport-drift-bmw.neu-act .neu-act__copy,
  html body .neu-act__hero .asf-rail,
  html body #sport-drift-bmw.neu-act .neu-act__hero .asf-rail {
    width: calc(100% - 1.4rem) !important;
  }

  html body .neu-act h2 span {
    font-size: clamp(2.05rem, 11vw, 3.2rem) !important;
  }

  html body .neu-act__hero .asf-rail {
    grid-template-columns: 1fr 1fr;
    margin-top: 1.05rem !important;
  }

  html body .neu-act__hero .asf-rail span {
    min-height: 5.2rem;
  }

  html body .neu-act__body {
    grid-template-columns: 1fr;
    padding: 1.4rem 0.9rem 2.4rem;
  }

  html body .neu-act__body > ul,
  html body .neu-act__body > .border-t,
  html body .neu-act__body .wu-extra {
    grid-column: 1;
    grid-row: auto;
  }

  html body .neu-act__body .wu-extra {
    grid-template-columns: 1fr;
  }
}

/* Academia: Curs Nivell 1 + Prova el teu cotxe — white dossier, photo then copy. */
html body.asf-acad #asf-hub,
html body #curs-nivell-1,
html body #prova-el-teu-cotxe,
html body #curs-nivell-1.band-white,
html body #curs-nivell-1.band-black,
html body #prova-el-teu-cotxe.band-white,
html body #prova-el-teu-cotxe.band-black,
html body.ca-solo #curs-nivell-1.asf-act.ca-solo-on,
html body.ca-solo #prova-el-teu-cotxe.asf-act.ca-solo-on {
  background: #fff !important;
  color: #050505 !important;
}

html body #curs-nivell-1 .asf-hero,
html body #prova-el-teu-cotxe .asf-hero {
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: hidden;
}

html body #curs-nivell-1 .asf-hero img,
html body #prova-el-teu-cotxe .asf-hero img {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 12 / 5;
  transform: none !important;
  object-fit: cover !important;
  object-position: center 62% !important;
  background: none !important;
  image-rendering: auto;
  filter: saturate(1.04) contrast(1.03) !important;
  border-bottom: 4px solid var(--accent);
}

html body #curs-nivell-1 .asf-hero__copy,
html body #prova-el-teu-cotxe .asf-hero__copy {
  position: relative !important;
  z-index: 2;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  margin: 0 auto !important;
  padding: 2.15rem 0 0.35rem !important;
}

html body #curs-nivell-1 .asf-hero h2 span,
html body #prova-el-teu-cotxe .asf-hero h2 span,
html body #curs-nivell-1.band-white .asf-hero h2 span,
html body #prova-el-teu-cotxe.band-black .asf-hero h2 span,
html body #prova-el-teu-cotxe.band-white .asf-hero h2 span {
  color: #050505 !important;
  text-shadow: none !important;
  font-size: clamp(2.35rem, 6.4vw, 4.8rem) !important;
  letter-spacing: -0.05em !important;
  line-height: 0.86 !important;
}

html body #curs-nivell-1 .asf-hero .asf-sub,
html body #prova-el-teu-cotxe .asf-hero .asf-sub,
html body #curs-nivell-1.band-white .asf-hero .asf-sub,
html body #prova-el-teu-cotxe.band-black .asf-hero .asf-sub {
  color: var(--accent) !important;
  text-shadow: none !important;
  max-width: min(46rem, 100%) !important;
  font-family: var(--font-display), Impact, sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem) !important;
  line-height: 1.25 !important;
}

html body #curs-nivell-1 .asf-hero .asf-lead,
html body #prova-el-teu-cotxe .asf-hero .asf-lead,
html body #curs-nivell-1.band-white .asf-hero .asf-lead,
html body #prova-el-teu-cotxe.band-black .asf-hero .asf-lead {
  color: #1a1a1a !important;
  text-shadow: none !important;
  max-width: min(46rem, 100%) !important;
  font-size: 1.05rem !important;
  line-height: 1.58 !important;
}

html body #curs-nivell-1 .asf-rail,
html body #prova-el-teu-cotxe .asf-rail {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(80rem, calc(100% - 2.4rem)) !important;
  margin: 1.35rem auto 0 !important;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  counter-reset: acadrail;
}

html body #curs-nivell-1 .asf-rail span,
html body #prova-el-teu-cotxe .asf-rail span {
  counter-increment: acadrail;
  min-height: 6.2rem;
  padding: 0.95rem 1rem 1.05rem !important;
  border: 0 !important;
  background: #f4f6f8 !important;
  box-shadow: inset 0 0 0 1px rgba(69, 159, 220, 0.38);
}

html body #curs-nivell-1 .asf-rail span:before,
html body #prova-el-teu-cotxe .asf-rail span:before {
  content: counter(acadrail, decimal-leading-zero);
  display: block;
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-family: var(--font-body), Barlow, sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

html body #curs-nivell-1 .asf-rail span:first-child,
html body #prova-el-teu-cotxe .asf-rail span:first-child {
  background: var(--accent) !important;
  box-shadow: none;
}

html body #curs-nivell-1 .asf-rail span:first-child:before,
html body #prova-el-teu-cotxe .asf-rail span:first-child:before {
  color: #050505;
}

html body #curs-nivell-1 .asf-rail b,
html body #prova-el-teu-cotxe .asf-rail b,
html body #curs-nivell-1.band-black .asf-rail b,
html body #prova-el-teu-cotxe.band-black .asf-rail b {
  color: #050505 !important;
  font-size: clamp(0.92rem, 1.2vw, 1.12rem) !important;
  line-height: 1.12 !important;
}

html body #curs-nivell-1 .asf-rail span:last-child b {
  white-space: normal !important;
  font-size: clamp(0.78rem, 1.05vw, 0.98rem) !important;
  line-height: 1.2 !important;
}

html body #curs-nivell-1 .asf-split,
html body #prova-el-teu-cotxe .asf-split {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22.5rem);
  gap: 1.5rem 2.4rem;
  margin: 0 !important;
  padding: 2.1rem max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 2.4rem !important;
  background: #fff !important;
  color: #050505 !important;
  box-shadow: none !important;
}

html body #curs-nivell-1 .asf-copy,
html body #prova-el-teu-cotxe .asf-copy {
  display: flex !important;
  flex-direction: column !important;
  grid-column: 1;
  grid-row: 1;
}

html body #curs-nivell-1 .asf-strip__k,
html body #prova-el-teu-cotxe .asf-strip__k {
  grid-column: auto !important;
  margin: 0 0 0.85rem !important;
  color: var(--accent) !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

html body #curs-nivell-1 .asf-chips,
html body .asf-act--curs .asf-chips {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.7rem !important;
  margin: 0 0 1.5rem !important;
  width: 100%;
}

html body #curs-nivell-1 .asf-chips span,
html body .asf-act--curs .asf-chips span {
  min-height: 5.8rem;
  padding: 0.95rem 0.95rem 1rem;
  background: #f4f6f8 !important;
  box-shadow: inset 0 0 0 1px rgba(69, 159, 220, 0.38);
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: clamp(0.92rem, 1.2vw, 1.12rem);
}

html body #curs-nivell-1 .asf-chips span:first-child {
  background: var(--accent) !important;
  box-shadow: none;
}

html body #curs-nivell-1 .asf-copy h3,
html body #prova-el-teu-cotxe .asf-copy h3,
html body #curs-nivell-1.band-black .asf-copy h3,
html body #prova-el-teu-cotxe.band-black .asf-copy h3 {
  grid-column: auto !important;
  margin: 0.2rem 0 0.35rem !important;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important;
}

html body #curs-nivell-1 .asf-copy p:not(.asf-strip__k),
html body #prova-el-teu-cotxe .asf-copy p:not(.asf-strip__k),
html body #curs-nivell-1.band-black .asf-copy p:not(.asf-strip__k),
html body #prova-el-teu-cotxe.band-black .asf-copy p:not(.asf-strip__k) {
  grid-column: auto !important;
  max-width: 46rem;
  margin: 0.55rem 0 0 !important;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-size: 1.05rem !important;
  line-height: 1.58 !important;
}

html body #curs-nivell-1 .asf-rules,
html body #prova-el-teu-cotxe .asf-rules {
  grid-column: auto !important;
  margin: 0.55rem 0 0 !important;
}

html body #curs-nivell-1 .asf-rules li,
html body #prova-el-teu-cotxe .asf-rules li,
html body #curs-nivell-1.band-black .asf-rules li,
html body #prova-el-teu-cotxe.band-black .asf-rules li,
html body .asf-act--curs .asf-rules li,
html body .asf-act--prova .asf-rules li {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: 1.05rem !important;
  line-height: 1.4;
}

html body #curs-nivell-1 .asf-ticket,
html body #prova-el-teu-cotxe .asf-ticket {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative !important;
  top: auto !important;
  align-self: start;
  min-height: 0;
  width: 100%;
}

html body #curs-nivell-1 .asf-ticket .asf-btn,
html body #prova-el-teu-cotxe .asf-ticket .asf-btn {
  clip-path: none !important;
  border-radius: 0.28rem;
  width: 100%;
}

html body #prova-el-teu-cotxe .asf-panels {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.85rem !important;
  margin: 0 !important;
  padding: 0 max(1.2rem, calc((100vw - 80rem) / 2 + 1.2rem)) 3.4rem !important;
  background: #fff !important;
}

html body #curs-nivell-1 .asf-panels {
  display: none !important;
}

html body #curs-nivell-1 .asf-panel,
html body #prova-el-teu-cotxe .asf-panel {
  min-height: 0;
  padding: 1.25rem 1.15rem 1.3rem;
  background: #f4f6f8 !important;
  box-shadow: inset 3px 0 0 var(--accent);
}

html body #curs-nivell-1 .asf-panel h3,
html body #prova-el-teu-cotxe .asf-panel h3,
html body #curs-nivell-1.band-white .asf-panel h3,
html body #prova-el-teu-cotxe.band-white .asf-panel h3,
html body #curs-nivell-1.band-black .asf-panel h3,
html body #prova-el-teu-cotxe.band-black .asf-panel h3 {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
}

html body #curs-nivell-1 .asf-panel p,
html body #curs-nivell-1 .asf-panel li,
html body #prova-el-teu-cotxe .asf-panel p,
html body #prova-el-teu-cotxe .asf-panel li,
html body #curs-nivell-1.band-black .asf-panel p,
html body #curs-nivell-1.band-black .asf-panel li {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
}

@media (max-width: 980px) {
  html body #curs-nivell-1 .asf-hero img,
  html body #prova-el-teu-cotxe .asf-hero img {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body #curs-nivell-1 .asf-hero__copy,
  html body #prova-el-teu-cotxe .asf-hero__copy,
  html body #curs-nivell-1 .asf-rail,
  html body #prova-el-teu-cotxe .asf-rail {
    width: calc(100% - 1.4rem) !important;
  }

  html body #curs-nivell-1 .asf-hero h2 span,
  html body #prova-el-teu-cotxe .asf-hero h2 span {
    font-size: clamp(2.05rem, 11vw, 3.2rem) !important;
  }

  html body #curs-nivell-1 .asf-rail,
  html body #prova-el-teu-cotxe .asf-rail {
    grid-template-columns: 1fr 1fr;
  }

  html body #curs-nivell-1 .asf-split,
  html body #prova-el-teu-cotxe .asf-split {
    grid-template-columns: 1fr;
    padding: 1.4rem 0.9rem 1.6rem !important;
  }

  html body #curs-nivell-1 .asf-copy,
  html body #prova-el-teu-cotxe .asf-copy,
  html body #curs-nivell-1 .asf-ticket,
  html body #prova-el-teu-cotxe .asf-ticket {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  html body #curs-nivell-1 .asf-chips,
  html body .asf-act--curs .asf-chips {
    grid-template-columns: 1fr 1fr !important;
  }

  html body #curs-nivell-1 .asf-panels,
  html body #prova-el-teu-cotxe .asf-panels {
    grid-template-columns: 1fr !important;
    padding: 0 0.9rem 2.4rem !important;
  }
}

/* Drift: barra «Més informació / Pagar ara / WhatsApp» sota esdeveniments. */
#esdeveniments > .drift-events__cta {
  display: none !important;
}

html body .pm-mark,
html body .neu-mark {
  display: none !important;
}

/* Acadèmia → Cursos Neu: logo sencer, lletres blanques sobre la zona fosca. */
html body .video-hero.neu-hero--vid img.neu-brand {
  display: block !important;
  opacity: 1 !important;
  position: absolute !important;
  z-index: 6 !important;
  left: max(1.5rem, env(safe-area-inset-left)) !important;
  right: auto !important;
  top: auto !important;
  bottom: calc(1.45rem + env(safe-area-inset-bottom)) !important;
  width: min(15.25rem, 42vw) !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: left bottom !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55)) !important;
}

@media (min-width: 1024px) {
  html body .video-hero.neu-hero--vid:has(.neu-brand) > .flex.h-full.flex-col {
    justify-content: flex-start !important;
    padding-top: 1.7rem !important;
    padding-bottom: 7.2rem !important;
  }

  html body .video-hero.neu-hero--vid img.neu-brand {
    left: max(1.5rem, calc((100% - 80rem) / 2 + 1.5rem)) !important;
    bottom: calc(1.85rem + env(safe-area-inset-bottom)) !important;
    width: 11.25rem !important;
  }
}

@media (max-width: 1023px) {
  html body .video-hero.neu-hero--vid img.neu-brand {
    left: max(1rem, env(safe-area-inset-left)) !important;
    bottom: calc(4.8rem + env(safe-area-inset-bottom)) !important;
    width: min(12.5rem, 62vw) !important;
  }
}
