/* IMPULSO Basketball — landing /basketball
   Misma familia visual que el centro (Manrope + Beautifully Delicious, verde #40927b)
   con la base negra y el ritmo deportivo del proyecto de baloncesto. */

.bb-page {
  background: #0b0b0b;
  color: #f4f4f2;
}

.bb-page section[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bb-page .nav__links {
  gap: 22px;
}

.bb-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8ee0cb;
}

.bb-display {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.bb-section {
  position: relative;
}

.bb-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  font-weight: 400;
  max-width: 40rem;
}

.bb-muted {
  color: rgba(244, 244, 242, 0.72);
}

.bb-page a:focus-visible,
.bb-page button:focus-visible,
.bb-page input:focus-visible,
.bb-page select:focus-visible,
.bb-page textarea:focus-visible {
  outline: 2px solid #8ee0cb;
  outline-offset: 3px;
}

/* ── HERO ──────────────────────────────────────────────── */
.bb-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(120px, 20vw) minmax(0, 1fr) minmax(120px, 20vw);
  align-items: stretch;
  padding: 0;
  background: #070707;
}

.bb-hero__video {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: #111;
}

.bb-hero__video video,
.bb-hero__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08);
}

.bb-hero__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.bb-hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  padding: calc(var(--nav-height) + 36px) 28px 48px;
}

.bb-logo {
  width: min(420px, 78%);
  height: auto;
  margin-bottom: 8px;
}

.bb-hero h1 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: #fff;
}

.bb-hero h1 span {
  display: block;
  white-space: nowrap;
}

.bb-neon {
  color: #9af6d8;
  text-shadow: 0 0 18px rgba(64, 146, 123, 0.95), 0 0 42px rgba(64, 146, 123, 0.45);
}

.bb-hero__copy {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.65;
}

.bb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.bb-btn--solid {
  background: var(--blue);
  color: #fff;
}

.bb-btn--solid:hover {
  background: #2f7462;
  color: #fff;
}

.bb-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.bb-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.bb-btn--dark {
  background: #111;
  color: #fff;
}

.bb-btn--dark:hover {
  background: var(--blue);
  color: #fff;
}

.bb-btn--light {
  background: #fff;
  color: #111;
}

.bb-btn--light:hover {
  background: #111;
  color: #fff;
}

/* ── TICKER ────────────────────────────────────────────── */
.bb-ticker {
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 0;
  border-top: 0;
}

.bb-ticker__track {
  display: flex;
  width: max-content;
  animation: bb-marquee 32s linear infinite;
}

.bb-ticker__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 14px;
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  white-space: nowrap;
}

.bb-ticker__group span[aria-hidden="true"] {
  opacity: 0.55;
}

@keyframes bb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── LIGHT / DARK SECTIONS ─────────────────────────────── */
.bb-light {
  background: #f6f6f4;
  color: #141414;
}

.bb-light .bb-kicker {
  color: var(--blue);
}

.bb-ink {
  background: #101010;
  color: #f4f4f2;
}

.bb-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.bb-section h2 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 10px 0 18px;
}

.bb-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 400;
}

.bb-light .bb-prose {
  color: #3a3a38;
}

.bb-logo--green {
  width: min(280px, 70%);
  margin-bottom: 8px;
}

/* ── PILLARS ───────────────────────────────────────────── */
.bb-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.bb-pillar {
  background: #fff;
  border: 1px solid #e6e6e3;
  border-radius: 8px;
  padding: 28px 24px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bb-pillar h3 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bb-pillar p {
  color: #5e5e5b;
  font-size: 0.98rem;
  line-height: 1.6;
}

.bb-pillar small {
  margin-top: auto;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.bb-start {
  margin-top: 36px;
}

/* ── STAGE CARDS ───────────────────────────────────────── */
.bb-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.bb-stage {
  position: relative;
  min-height: 320px;
  padding: 28px 24px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1a1a1a center/cover no-repeat;
  isolation: isolate;
}

.bb-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.78) 100%);
  z-index: -1;
}

.bb-stage:hover {
  color: #fff;
}

.bb-stage__index {
  position: absolute;
  top: 22px;
  left: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #9af6d8;
}

.bb-stage h3 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.bb-stage p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.bb-stage strong {
  display: block;
  margin-top: 14px;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #9af6d8;
}

/* ── PROGRAM BLOCKS ────────────────────────────────────── */
.bb-program {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  padding: 0;
}

.bb-program__media {
  min-height: 420px;
  background: #111 center/cover no-repeat;
}

.bb-program__body {
  padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.bb-program h2 {
  margin: 0;
}

.bb-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.bb-checks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.45;
}

.bb-checks li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  background: var(--blue);
}

.bb-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bb-formats span {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.bb-format-grid {
  display: grid;
  gap: 14px;
}

.bb-format-grid article h3 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bb-format-grid p,
.bb-program__body p {
  line-height: 1.65;
}

.bb-note {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Pro is lighter and quieter */
.bb-pro {
  background: #f3f3f1;
  color: #141414;
}

.bb-pro .bb-kicker {
  color: #2f7462;
}

.bb-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.bb-step {
  background: #fff;
  border-top: 2px solid #141414;
  padding: 18px 14px 16px;
  min-height: 180px;
}

.bb-step span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #8a8a87;
  margin-bottom: 10px;
}

.bb-step h3 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.bb-step p {
  color: #5e5e5b;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ── EXPERIENCES ───────────────────────────────────────── */
.bb-exp-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 28px;
}

.bb-card {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 28px 24px;
}

.bb-card--alert {
  background: #13241f;
  border-color: rgba(154, 246, 216, 0.35);
  box-shadow: inset 0 0 0 1px rgba(154, 246, 216, 0.08);
}

.bb-card h3 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.bb-card p + p {
  margin-top: 12px;
}

.bb-list {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bb-list li {
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.bb-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9af6d8;
  position: absolute;
  left: 0;
  top: 0.55em;
}

.bb-turns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.bb-turn {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 14px;
}

.bb-turn strong {
  display: block;
  margin-bottom: 6px;
}

.bb-mini-form,
.bb-orient {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.bb-mini-form input,
.bb-orient input,
.bb-orient select,
.bb-orient textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  font-size: 1rem;
}

.bb-light-form input,
.bb-light-form select,
.bb-light-form textarea {
  background: #fff;
  color: #141414;
  border-color: #ddd;
}

.bb-orient textarea {
  min-height: 110px;
  resize: vertical;
}

.bb-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.bb-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.bb-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bb-status {
  min-height: 1.3em;
  font-size: 0.92rem;
}

.bb-status.is-error {
  color: #ffb4b4;
}

.bb-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.bb-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.bb-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.bb-gallery img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

/* ── CONTACT ───────────────────────────────────────────── */
.bb-contact {
  position: relative;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #111 center/cover no-repeat;
}

.bb-contact__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.62) 42%, rgba(8, 8, 8, 0.38) 100%);
}

.bb-contact .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
  padding-top: 88px;
  padding-bottom: 72px;
}

.bb-contact h2 {
  color: #fff;
}

.bb-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.bb-facts a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-facts span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9af6d8;
  margin-bottom: 4px;
}

.bb-form-card {
  background: rgba(12, 12, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 36px);
  backdrop-filter: blur(8px);
}

.bb-form-card h3 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.bb-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.bb-fields label {
  display: block;
  margin-bottom: 6px;
}

.bb-fields .is-wide {
  grid-column: 1 / -1;
}

.bb-result {
  border: 1px solid rgba(154, 246, 216, 0.4);
  background: rgba(64, 146, 123, 0.16);
  border-radius: 8px;
  padding: 16px;
  display: none;
}

.bb-result a {
  display: inline-block;
  margin-top: 10px;
  color: #9af6d8;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.bb-result strong {
  display: block;
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.bb-band {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 20px;
}

.bb-band h2 {
  font-family: 'BDSans', 'Manrope', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 12px;
  color: #fff;
}

.bb-band p {
  max-width: 36rem;
  margin: 0 auto 22px;
  font-size: 1.05rem;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
.bb-page .nav__mobile.open {
  min-height: calc(100dvh - var(--nav-height));
  overflow-y: auto;
}

@media (max-width: 1280px) {
  .bb-page .nav__links { gap: 14px; }
  .bb-page .nav__link { font-size: 0.72rem; letter-spacing: 0.05em; }
}

@media (max-width: 1100px) {
  .bb-steps {
    grid-template-columns: 1fr 1fr;
  }

  .bb-steps .bb-step:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .bb-hero {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy copy"
      "left right";
    min-height: auto;
  }

  .bb-hero__center {
    grid-area: copy;
    padding: calc(var(--nav-height) + 28px) 20px 28px;
  }

  .bb-hero__video--left { grid-area: left; }
  .bb-hero__video--right { grid-area: right; }

  .bb-hero__video {
    height: 46vh;
    min-height: 240px;
  }

  .bb-split,
  .bb-program,
  .bb-exp-grid,
  .bb-contact .container,
  .bb-pillars,
  .bb-stages,
  .bb-turns,
  .bb-fields {
    grid-template-columns: 1fr;
  }

  .bb-program__media {
    min-height: 280px;
    order: -1;
  }

  .bb-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .bb-gallery img:first-child {
    grid-column: 1 / -1;
  }

  .bb-stage {
    min-height: 240px;
  }

  .bb-contact__scrim {
    background: rgba(8, 8, 8, 0.72);
  }
}

@media (max-width: 640px) {
  .bb-hero h1 {
    font-size: clamp(1.7rem, 8.6vw, 2.6rem);
  }

  .bb-hero__video {
    height: 34vh;
    min-height: 180px;
  }

  .bb-steps,
  .bb-gallery {
    grid-template-columns: 1fr;
  }

  .bb-steps .bb-step:last-child,
  .bb-gallery img:first-child {
    grid-column: auto;
  }

  .bb-card,
  .bb-form-card,
  .bb-program__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .bb-btn {
    width: 100%;
  }

  .bb-actions .bb-btn,
  .bb-start .bb-btn,
  .bb-band .bb-btn {
    width: auto;
  }

  .bb-band .bb-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-ticker__track {
    animation: none;
  }

  .bb-hero__video video {
    display: none;
  }
}
