/* BBCC splash & academy landing pages */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital@0;1&family=Lato:wght@400;700;900&family=Martel:wght@400;600;700&display=swap');

:root {
  --bbcc-green: #3e7e5c;
  --bbcc-green-dark: #055229;
  --bbcc-text: #282828;
  --bbcc-muted: #5a5a62;
  --bbcc-bg: #f7f6f2;
  --bbcc-white: #ffffff;
  --bbcc-border: #e2e0d8;
  --bbcc-radius: 12px;
  --bbcc-shadow: 0 18px 48px rgba(40, 40, 40, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.splash-page {
  margin: 0;
  min-height: 100vh;
  font-family: 'Martel', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--bbcc-text);
  background: var(--bbcc-bg);
  -webkit-font-smoothing: antialiased;
}

.not-live-banner {
  background: #b11212;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 0.8rem;
}

/* ── Club splash ── */

.splash-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.splash-main--club {
  background:
    linear-gradient(180deg, rgba(247, 246, 242, 0.92) 0%, rgba(247, 246, 242, 0.98) 55%, var(--bbcc-bg) 100%),
    url('../images/slider-1.jpg') center center / cover no-repeat;
}

.splash-logo {
  width: min(200px, 48vw);
  height: auto;
  margin-bottom: 2rem;
  image-rendering: -webkit-optimize-contrast;
}

.splash-club-name {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--bbcc-text);
}

.splash-tagline {
  font-family: 'Crimson Text', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 400;
  color: var(--bbcc-muted);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.splash-contact {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  line-height: 1.8;
}

.splash-contact a {
  color: var(--bbcc-green);
  text-decoration: none;
}

.splash-contact a:hover {
  color: var(--bbcc-green-dark);
  text-decoration: underline;
}

.splash-footer {
  margin-top: auto;
  padding-top: 3rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--bbcc-muted);
}

.splash-link {
  color: var(--bbcc-green);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.splash-link:hover {
  color: var(--bbcc-green-dark);
  text-decoration: underline;
}

/* ── Academy layout ── */

.academy-page {
  min-height: 100vh;
}

.academy-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.academy-header__brand {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bbcc-muted);
  text-decoration: none;
}

.academy-header__brand:hover {
  color: var(--bbcc-green);
}

.academy-hero {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 82, 41, 0.72) 0%, rgba(62, 126, 92, 0.85) 100%),
    url('../images/slider-1.jpg') center center / cover no-repeat;
  color: var(--bbcc-white);
}

.academy-hero__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 1rem;
}

.academy-hero__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 0.5rem;
}

.academy-hero__tagline {
  font-family: 'Crimson Text', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.academy-hero__lead {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 36rem;
  margin: 0 auto 1rem;
  line-height: 1.7;
  opacity: 0.92;
}

.academy-hero__price {
  font-family: 'Lato', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 auto 1.75rem;
  opacity: 0.95;
}

.academy-btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.academy-btn--primary {
  background: var(--bbcc-white);
  color: var(--bbcc-green-dark);
}

.academy-btn--primary:hover {
  background: var(--bbcc-bg);
}

.academy-btn--outline {
  background: transparent;
  color: var(--bbcc-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.academy-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--bbcc-white);
}

.academy-btn--green {
  background: var(--bbcc-green);
  color: var(--bbcc-white);
  border-color: var(--bbcc-green);
}

.academy-btn--green:hover {
  background: var(--bbcc-green-dark);
  border-color: var(--bbcc-green-dark);
}

.academy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.academy-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.academy-section__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.5rem;
}

.academy-section__subtitle {
  font-family: 'Crimson Text', Georgia, serif;
  font-style: italic;
  text-align: center;
  color: var(--bbcc-muted);
  font-size: 1.15rem;
  margin: 0 0 2.5rem;
}

.academy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.academy-card {
  background: var(--bbcc-white);
  border: 1px solid var(--bbcc-border);
  border-radius: var(--bbcc-radius);
  padding: 1.75rem;
  box-shadow: var(--bbcc-shadow);
}

.academy-card__title {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0 0 0.65rem;
  color: var(--bbcc-green);
}

.academy-card__text {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  margin: 0;
  line-height: 1.65;
}

.academy-instructors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.academy-instructor {
  background: var(--bbcc-white);
  border: 1px solid var(--bbcc-border);
  border-radius: var(--bbcc-radius);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--bbcc-shadow);
  text-align: center;
}

.academy-instructor__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.academy-instructor__photo--profile {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: var(--bbcc-radius);
  object-fit: contain;
  background: var(--bbcc-bg);
}

.academy-instructor__photo--headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.academy-instructor__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bbcc-green);
  color: var(--bbcc-white);
  font-family: 'Lato', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.academy-instructor__name {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 0.25rem;
  color: var(--bbcc-text);
}

.academy-instructor__title {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbcc-green);
  margin: 0 0 0.65rem;
}

.academy-instructor__bio {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  margin: 0;
  line-height: 1.6;
}

.academy-details {
  gap: 1.25rem;
  margin-top: 1rem;
}

.academy-details--weeks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.academy-details--stack {
  display: flex;
  flex-direction: column;
  margin-top: 1.25rem;
}

.academy-detail--full {
  width: 100%;
  text-align: center;
}

.academy-section[id="details"] {
  scroll-margin-top: 1.5rem;
}

.academy-agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bbcc-white);
  border: 1px solid var(--bbcc-border);
  border-radius: var(--bbcc-radius);
  box-shadow: var(--bbcc-shadow);
  overflow: hidden;
}

.academy-agenda__item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--bbcc-border);
}

.academy-agenda__item:last-child {
  border-bottom: none;
}

.academy-agenda__time {
  flex: 0 0 5.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bbcc-green);
}

.academy-agenda__activity {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--bbcc-text);
}

.academy-agenda--lunch .academy-agenda__time {
  flex: 0 0 6.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.register-form__hint {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.allergy-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.allergy-toggle__option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bbcc-border);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--bbcc-text);
  transition: border-color 0.15s, background 0.15s;
}

.allergy-toggle__option:hover {
  border-color: var(--bbcc-green);
}

.allergy-toggle__option:has(input:checked) {
  border-color: var(--bbcc-green);
  background: rgba(62, 126, 92, 0.06);
}

.allergy-toggle__option input {
  margin-top: 0.2rem;
  accent-color: var(--bbcc-green);
}

.allergy-details[hidden] {
  display: none;
}

.academy-detail {
  background: var(--bbcc-white);
  border: 1px solid var(--bbcc-border);
  border-radius: var(--bbcc-radius);
  padding: 1.5rem;
  text-align: center;
}

.academy-detail__label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bbcc-green);
  margin: 0 0 0.35rem;
}

.academy-detail__value {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.academy-detail__meta {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  margin: 0.35rem 0 0;
}

.academy-cta-band {
  background: var(--bbcc-green);
  color: var(--bbcc-white);
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.academy-cta-band__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 900;
  margin: 0 0 0.75rem;
}

.academy-cta-band__text {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  opacity: 0.92;
  line-height: 1.65;
}

.academy-footer {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--bbcc-muted);
}

.academy-footer a {
  color: var(--bbcc-green);
  text-decoration: none;
}

.academy-footer a:hover {
  text-decoration: underline;
}

/* ── Registration / payment form ── */

.register-page {
  min-height: 100vh;
  padding: 2rem 1.5rem 3rem;
}

.register-header {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

.register-header__back {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bbcc-green);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.register-header__back:hover {
  text-decoration: underline;
}

.register-header__title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 0.5rem;
}

.register-header__lead {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  margin: 0;
  line-height: 1.65;
}

.register-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bbcc-white);
  border: 1px solid var(--bbcc-border);
  border-radius: var(--bbcc-radius);
  box-shadow: var(--bbcc-shadow);
  padding: 2rem;
}

.register-form fieldset {
  border: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.register-form legend {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bbcc-green);
  margin-bottom: 1rem;
  padding: 0;
}

.register-form label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--bbcc-text);
}

.register-form label .required::after {
  content: ' *';
  color: #b11212;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="tel"],
.register-form select,
.register-form textarea {
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--bbcc-border);
  border-radius: 6px;
  background: var(--bbcc-bg);
  color: var(--bbcc-text);
  margin-bottom: 1rem;
  transition: border-color 0.15s;
}

.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
  outline: none;
  border-color: var(--bbcc-green);
  background: var(--bbcc-white);
}

.register-form textarea {
  min-height: 100px;
  resize: vertical;
}

.register-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.register-form .week-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.register-form .week-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--bbcc-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.register-form .week-option:hover {
  border-color: var(--bbcc-green);
}

.register-form .week-option:has(input:checked) {
  border-color: var(--bbcc-green);
  background: rgba(62, 126, 92, 0.06);
}

.register-form .week-option input {
  margin-top: 0.2rem;
  accent-color: var(--bbcc-green);
}

.register-form .week-option__label {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.register-form .week-option__meta {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  margin: 0.15rem 0 0;
}

.register-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.register-form__note {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  text-align: center;
  margin: 1rem 0 0;
  line-height: 1.55;
}

.register-form__error {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #b11212;
  margin: 0 0 1rem;
  display: none;
}

.register-form__error.is-visible {
  display: block;
}

.register-form__status {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
}

.register-form__status.is-visible {
  display: block;
}

.register-form__status--pending {
  background: rgba(62, 126, 92, 0.1);
  color: var(--bbcc-green-dark);
  border: 1px solid rgba(62, 126, 92, 0.25);
}

@media (max-width: 560px) {
  .register-form .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .register-form-wrap {
    padding: 1.5rem 1.15rem;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Checkout ── */

.checkout-page {
  min-height: 100vh;
  padding: 2rem 1.5rem 3rem;
}

.checkout-layout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.checkout-summary-wrap,
.checkout-payment-wrap {
  background: var(--bbcc-white);
  border: 1px solid var(--bbcc-border);
  border-radius: var(--bbcc-radius);
  box-shadow: var(--bbcc-shadow);
  padding: 1.75rem;
}

.checkout-summary__heading,
.checkout-payment__heading {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbcc-green);
  margin: 0 0 1.25rem;
}

.checkout-summary {
  margin: 0;
}

.checkout-summary__row {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--bbcc-border);
}

.checkout-summary__row:last-child {
  border-bottom: none;
}

.checkout-summary dt {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bbcc-muted);
  margin: 0;
}

.checkout-summary dd {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--bbcc-text);
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

.checkout-summary__loading {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  color: var(--bbcc-muted);
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--bbcc-green);
  font-family: 'Lato', sans-serif;
}

.checkout-summary__total span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bbcc-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.checkout-summary__total strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--bbcc-text);
}

.checkout-payment__lead {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--bbcc-muted);
  margin: -0.5rem 0 1.25rem;
  line-height: 1.55;
}

.checkout-payment-element {
  margin-bottom: 1.25rem;
  min-height: 120px;
}

.checkout-pay-btn {
  width: 100%;
}

.checkout-pay-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-confirmation-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bbcc-white);
  border: 1px solid var(--bbcc-border);
  border-radius: var(--bbcc-radius);
  box-shadow: var(--bbcc-shadow);
  padding: 2rem;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--bbcc-muted);
  line-height: 1.65;
}

.checkout-confirmation-card p {
  margin: 0 0 1rem;
}

.checkout-confirmation-card a.academy-btn {
  margin-top: 0.5rem;
}

.checkout-page--confirmation .register-header {
  margin-bottom: 1.5rem;
}

@media (max-width: 560px) {
  .checkout-summary__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
