@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap");

html[data-theme="bolue-getxo"] {
  --site-bg: #ffffff;
  --site-surface: #ffffff;
  --site-surface-2: #f7f7f7;
  --site-ink: #252840;
  --site-muted: #868d98;
  --site-faint: #a5abb4;
  --site-line: #e8e8e8;
  --site-line-strong: #d8d8d8;
  --site-accent: #631e2c;
  --site-accent-strong: #4b1621;
  --site-accent-ink: #ffffff;
  --site-accent-soft: #f3e9eb;
  --site-radius: 6px;
  --site-radius-lg: 12px;
  --site-display: "Rubik", "Inter", ui-sans-serif, sans-serif;
  --site-body: "Rubik", "Inter", ui-sans-serif, sans-serif;
  --bge-burgundy: #631e2c;
  --bge-burgundy-dark: #4b1621;
  --bge-dark: #252840;
  --bge-muted: #868d98;
  --bge-soft: #f7f7f7;
  --bge-line: #e8e8e8;
  --bge-max: 1240px;
}

html[data-theme="bolue-getxo"],
html[data-theme="bolue-getxo"] body {
  background: #fff;
  color: var(--bge-dark);
}

.bge-site,
.bge-site * {
  box-sizing: border-box;
}

.bge-site {
  min-height: 100vh;
  background: #fff;
  color: var(--bge-dark);
  font-family: var(--site-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bge-site a {
  color: inherit;
  text-decoration: none;
}

.bge-site :where(p, h1, h2, h3, ul, ol, figure) {
  margin: 0;
}

.bge-site ul,
.bge-site ol {
  padding: 0;
}

.bge-site img {
  display: block;
  max-width: 100%;
}

.bge-site :focus-visible {
  outline: 2px solid var(--bge-burgundy);
  outline-offset: 3px;
  border-radius: 3px;
}

.bge-site [id] {
  scroll-margin-top: 96px;
}

.bge-container {
  width: min(var(--bge-max), calc(100% - 56px));
  margin-inline: auto;
}

.bge-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--bge-burgundy);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}

.bge-skip:focus {
  top: 12px;
}

/* Header */
.bge-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--bge-line);
  backdrop-filter: blur(12px);
}

.bge-header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 92px;
}

.bge-logo {
  display: block;
  width: 218px;
  aspect-ratio: 335 / 58;
  flex-shrink: 0;
  background: url("assets/logo-bolue.png") left center / contain no-repeat;
}

.bge-logo--white {
  width: 230px;
  background-image: url("assets/logo-bolue-white.png");
}

.bge-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  font-size: 0.94rem;
  font-weight: 400;
  color: var(--bge-dark);
}

.bge-nav a {
  white-space: nowrap;
  transition: color 0.2s ease;
}

.bge-nav a:hover {
  color: var(--bge-burgundy);
}

.bge-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bge-langs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bge-lang {
  color: var(--bge-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bge-lang.is-current {
  color: var(--bge-burgundy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Buttons */
.bge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 14px 22px;
  font-family: var(--site-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.bge-site .bge-btn--primary {
  background: var(--bge-burgundy);
  color: #fff;
}

.bge-site .bge-btn--primary:hover {
  background: var(--bge-burgundy-dark);
}

.bge-site .bge-btn--outline {
  border-color: var(--bge-dark);
  color: var(--bge-dark);
}

.bge-site .bge-btn--outline:hover {
  background: var(--bge-dark);
  color: #fff;
}

.bge-site .bge-btn--ghost {
  border-color: rgb(255 255 255 / 0.6);
  color: #fff;
}

.bge-site .bge-btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
}

.bge-site .bge-btn--white {
  background: #fff;
  color: var(--bge-burgundy);
}

.bge-site .bge-btn--white:hover {
  background: #f7f0f2;
}

.bge-btn--sm {
  padding: 11px 17px;
  font-size: 0.82rem;
}

/* Mobile menu */
.bge-mobile {
  display: none;
  position: relative;
}

.bge-mobile summary {
  display: grid;
  gap: 6px;
  place-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--bge-line);
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}

.bge-mobile summary::-webkit-details-marker {
  display: none;
}

.bge-mobile summary span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--bge-dark);
}

.bge-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(310px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--bge-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgb(37 40 64 / 0.3);
}

.bge-mobile-panel nav {
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
}

/* Hero */
.bge-hero {
  position: relative;
  min-height: 690px;
  height: 86vh;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

.bge-hero-slides,
.bge-slide,
.bge-hero-shade {
  position: absolute;
  inset: 0;
}

.bge-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 7s linear;
}

.bge-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.bge-slide--1 {
  background-image: url("assets/hero-1.webp");
}

.bge-slide--2 {
  background-image: url("assets/hero-2.webp");
}

.bge-slide--3 {
  background-image: url("assets/hero-3.webp");
}

.bge-hero-shade {
  background:
    linear-gradient(180deg, rgb(20 22 38 / 0.18), rgb(20 22 38 / 0.54)),
    radial-gradient(70% 70% at 50% 50%, transparent 30%, rgb(20 22 38 / 0.25));
}

.bge-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding-block: 80px;
}

.bge-eyebrow {
  display: inline-block;
  color: var(--bge-burgundy);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bge-eyebrow--light {
  color: rgb(255 255 255 / 0.8);
}

.bge-hero h1 {
  max-width: 900px;
  margin: 18px auto 0;
  font-family: var(--site-display);
  font-size: clamp(2.8rem, 4.2vw, 3.9rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.bge-hero-lead {
  max-width: 610px;
  margin: 20px auto 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

.bge-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.bge-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.bge-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.bge-dots button.is-active {
  background: #fff;
}

/* Stats */
.bge-stats {
  border-bottom: 1px solid var(--bge-line);
  background: #fff;
}

.bge-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bge-stat {
  display: grid;
  gap: 5px;
  padding: 46px 30px;
  border-left: 1px solid var(--bge-line);
  text-align: center;
}

.bge-stat:first-child {
  border-left: 0;
}

.bge-stat b {
  font-family: var(--site-display);
  font-size: clamp(2.3rem, 3.4vw, 3.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bge-dark);
}

.bge-stat span {
  color: var(--bge-muted);
  font-size: 0.82rem;
}

/* Sections */
.bge-section {
  padding: 108px 0;
  background: #fff;
}

.bge-section--soft {
  background: var(--bge-soft);
}

.bge-section-head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.bge-section-head .bge-lead {
  margin-inline: auto;
}

.bge-section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.bge-section h2,
.bge-contact-band h2,
.bge-page-hero h1 {
  margin-top: 12px;
  font-family: var(--site-display);
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--bge-dark);
  text-wrap: balance;
}

.bge-lead {
  max-width: 700px;
  margin-top: 16px;
  color: var(--bge-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Intro */
.bge-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.bge-intro-grid h2 {
  max-width: 620px;
  margin-top: 14px;
}

.bge-intro-grid .bge-btn {
  margin-top: 28px;
}

.bge-intro-photo {
  aspect-ratio: 4 / 5;
  background: url("assets/section-team.webp") center / cover no-repeat, #eee;
  border-radius: 8px;
}

/* Clubs */
.bge-clubs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bge-club {
  overflow: hidden;
  border: 1px solid var(--bge-line);
  border-radius: 8px;
  background: #fff;
}

.bge-club-photo {
  aspect-ratio: 1 / 1;
  background-position: center;
  background-size: cover;
}

.bge-club-photo--club-getxo {
  background-image: url("assets/club-getxo.webp");
}

.bge-club-photo--club-galea {
  background-image: url("assets/club-galea.webp");
}

.bge-club-photo--club-portuzarra {
  background-image: url("assets/club-portuzarra.webp");
}

.bge-club-body {
  padding: 26px;
}

.bge-club-body h3 {
  font-family: var(--site-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.bge-club-body p {
  margin-top: 10px;
  color: var(--bge-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.bge-club-body a {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--bge-burgundy);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Axes */
.bge-axes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.bge-axes-photo {
  aspect-ratio: 4 / 5;
  background: url("assets/section-team.webp") center / cover no-repeat, #eee;
  border-radius: 8px;
}

.bge-axes-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  list-style: none;
}

.bge-axes-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--bge-line);
}

.bge-axes-list li > span {
  color: var(--bge-burgundy);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.bge-axes-list h3 {
  font-family: var(--site-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.bge-axes-list p {
  grid-column: 2;
  margin-top: 6px;
  color: var(--bge-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Sponsors */
.bge-sponsors {
  padding: 86px 0;
  background: var(--bge-soft);
  border-block: 1px solid var(--bge-line);
}

.bge-sponsors-head {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.bge-sponsor-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
}

.bge-sponsor {
  display: block;
  height: 90px;
  border: 1px solid var(--bge-line);
  border-radius: 6px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.9;
}

.bge-sponsor--1 {
  background-image: url("assets/sponsor-1.webp");
  background-size: 82% auto;
}

.bge-sponsor--2 {
  background-image: url("assets/sponsor-2.webp");
  background-size: 88% auto;
}

/* News */
.bge-link {
  color: var(--bge-burgundy);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bge-news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bge-news-card {
  border-bottom: 1px solid var(--bge-line);
  padding-bottom: 22px;
}

.bge-news-media {
  display: block;
  aspect-ratio: 16 / 10;
  background-position: center;
  background-size: cover;
  border-radius: 6px;
}

.bge-news-media--1 {
  background-image: url("assets/news-1.webp");
}

.bge-news-media--2 {
  background-image: url("assets/news-2.webp");
}

.bge-news-media--3 {
  background-image: url("assets/hero-2.webp");
}

.bge-news-body {
  padding-top: 18px;
}

.bge-news-body time {
  color: var(--bge-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bge-news-body h3 {
  margin-top: 9px;
  font-family: var(--site-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.bge-news-body p {
  margin-top: 9px;
  color: var(--bge-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Contact band */
.bge-contact-band {
  padding: 74px 0;
  background: var(--bge-burgundy);
  color: #fff;
}

.bge-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.bge-contact-band h2 {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

/* Page layout */
.bge-page-hero {
  padding: 90px 0 76px;
  background: var(--bge-burgundy);
  color: #fff;
}

.bge-page-hero h1 {
  color: #fff;
  margin-top: 10px;
}

.bge-page-body {
  padding: 72px 0 110px;
}

.bge-prose {
  max-width: 820px;
  color: var(--bge-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.bge-prose h2,
.bge-prose h3 {
  margin-top: 30px;
  color: var(--bge-dark);
  font-family: var(--site-display);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.bge-prose h2 {
  font-size: 1.7rem;
}

.bge-prose h3 {
  font-size: 1.28rem;
}

.bge-prose p,
.bge-prose ul,
.bge-prose ol {
  margin-top: 14px;
}

.bge-prose ul,
.bge-prose ol {
  padding-left: 22px;
}

.bge-prose a {
  color: var(--bge-burgundy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Core contact form */
.bge-site .site-container:last-of-type {
  margin-bottom: 5rem;
}

/* Footer */
.bge-footer {
  padding: 64px 0 26px;
  background: var(--bge-burgundy);
  color: #fff;
}

.bge-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.8fr 1.15fr;
  gap: 42px;
}

.bge-footer-brand p {
  max-width: 24rem;
  margin-top: 22px;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.88rem;
  line-height: 1.65;
}

.bge-footer-partner {
  display: block;
  width: 150px;
  height: 44px;
  margin-top: 24px;
  background: url("assets/logo-getxo-kirolak.png") left center / contain no-repeat;
  opacity: 0.9;
}

.bge-footer-title {
  margin-bottom: 15px !important;
  color: rgb(255 255 255 / 0.55);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bge-footer-grid > div:not(.bge-footer-brand) {
  display: grid;
  align-content: start;
  gap: 9px;
}

.bge-footer-grid a {
  color: rgb(255 255 255 / 0.82);
  font-size: 0.86rem;
  transition: color 0.2s ease;
}

.bge-footer-grid a:hover {
  color: #fff;
}

.bge-footer-meta {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.8rem;
  line-height: 1.6;
}

.bge-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  color: rgb(255 255 255 / 0.55);
  font-size: 0.72rem;
}

/* Responsive */
@media (max-width: 1180px) {
  .bge-nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .bge-header-inner {
    gap: 22px;
  }

  .bge-logo {
    width: 190px;
  }
}

@media (max-width: 1020px) {
  .bge-nav,
  .bge-header-actions > .bge-langs,
  .bge-header-actions > .bge-btn {
    display: none;
  }

  .bge-mobile {
    display: block;
  }

  .bge-header-actions {
    margin-left: auto;
  }

  .bge-intro-grid,
  .bge-axes-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .bge-intro-photo,
  .bge-axes-photo {
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .bge-clubs,
  .bge-news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bge-sponsor-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .bge-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .bge-container {
    width: min(var(--bge-max), calc(100% - 32px));
  }

  .bge-header-inner {
    min-height: 72px;
  }

  .bge-logo {
    width: 160px;
  }

  .bge-hero {
    min-height: 590px;
    height: 78vh;
  }

  .bge-hero-content {
    padding-block: 56px;
  }

  .bge-hero h1 {
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .bge-actions {
    display: grid;
  }

  .bge-actions .bge-btn {
    width: 100%;
  }

  .bge-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bge-stat {
    padding: 28px 16px;
  }

  .bge-stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--bge-line);
  }

  .bge-stat:nth-child(4) {
    border-top: 1px solid var(--bge-line);
  }

  .bge-section,
  .bge-sponsors {
    padding: 68px 0;
  }

  .bge-section-head {
    margin-bottom: 36px;
  }

  .bge-section-head--row {
    display: grid;
    gap: 16px;
  }

  .bge-clubs,
  .bge-news,
  .bge-sponsor-row {
    grid-template-columns: 1fr;
  }

  .bge-axes-list li {
    grid-template-columns: 38px 1fr;
  }

  .bge-contact-inner {
    display: grid;
    gap: 22px;
  }

  .bge-page-hero {
    padding: 66px 0 54px;
  }

  .bge-page-body {
    padding: 52px 0 78px;
  }

  .bge-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bge-footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bge-site *,
  .bge-site *::before,
  .bge-site *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .bge-slide {
    transition: none;
  }
}
