/* ==========================================================================
   Global Boxing — Premium Event Brand
   Colors: black · red · white
   ========================================================================== */

:root {
  --gb-black: #050505;
  --gb-black-soft: #0d0d0d;
  --gb-black-card: #141414;
  --gb-red: #e10600;
  --gb-red-dark: #b00500;
  --gb-red-glow: rgba(225, 6, 0, 0.45);
  --gb-white: #ffffff;
  --gb-gray: #a3a3a3;
  --gb-gray-dark: #6b6b6b;
  --gb-border: rgba(255, 255, 255, 0.08);
  --gb-glass: rgba(12, 12, 12, 0.55);
  --gb-glass-border: rgba(255, 255, 255, 0.12);
  --font-main: "Google Sans", "Product Sans", "Roboto", system-ui, sans-serif;
  --nav-height: 72px;
  --island-radius: 999px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1200px;
  --container-gutter: 2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gb-white);
  background: var(--gb-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

/* ── Page loader ── */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gb-black);
  transition:
    opacity 0.55s var(--ease-out),
    visibility 0.55s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.page-loader-logo {
  width: clamp(88px, 22vw, 120px);
  height: auto;
  animation: loader-logo-pulse 1.8s ease-in-out infinite;
}

.page-loader-progress {
  width: min(200px, 50vw);
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-loader-progress-bar {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gb-red-dark), var(--gb-red));
  animation: loader-progress 1.2s ease-in-out infinite;
}

@keyframes loader-logo-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes loader-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

::selection {
  background: var(--gb-red);
  color: var(--gb-white);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover {
  color: var(--gb-red);
}

.container-gb {
  width: min(var(--container-max), 100% - var(--container-gutter));
  margin-inline: auto;
}

/* ── Typography ── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gb-red);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gb-red);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.section-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gb-gray);
  max-width: 62ch;
  margin: 0;
}

/* ── Buttons ── */

.btn-gb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-gb:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn-gb-primary {
  background: var(--gb-red);
  color: var(--gb-white);
  border-color: var(--gb-red);
  box-shadow: 0 8px 32px var(--gb-red-glow);
}

.btn-gb-primary:hover {
  background: var(--gb-red-dark);
  border-color: var(--gb-red-dark);
  color: var(--gb-white);
  box-shadow: 0 12px 40px var(--gb-red-glow);
}

.btn-gb-outline {
  background: transparent;
  color: var(--gb-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-gb-outline:hover {
  border-color: var(--gb-white);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gb-white);
}

.btn-gb-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gb-white);
  border-color: var(--gb-glass-border);
  backdrop-filter: blur(12px);
}

.btn-gb-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gb-white);
}

/* ── Header / Island Nav ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 calc(var(--container-gutter) / 2);
  pointer-events: none;
  background: transparent;
}

.nav-island {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--container-max), 100%);
  max-width: var(--container-max);
  margin: max(0.75rem, env(safe-area-inset-top)) auto 0;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  border-radius: var(--island-radius);
  background: var(--gb-glass);
  border: 1px solid var(--gb-glass-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    background 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.nav-island.is-scrolled {
  background: rgba(8, 8, 8, 0.82);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-mega-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-main);
  transition:
    background 0.25s,
    color 0.25s;
}

.nav-links > li > a:hover,
.nav-mega-trigger:hover,
.has-mega.is-open .nav-mega-trigger {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gb-white);
}

.nav-links > li > a.is-active {
  background: rgba(225, 6, 0, 0.15);
  color: var(--gb-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switcher--nav {
  gap: 0.35rem;
}

.lang-switcher--nav .lang-switch {
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  gap: 0.35rem;
}

.lang-switcher--nav .lang-flag svg {
  width: 18px;
  height: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--gb-white);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mega Menu ── */

.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease-out),
    visibility 0.4s;
}

.mega-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(14, 14, 14, 0.95);
  border: 1px solid var(--gb-glass-border);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    visibility 0.35s;
}

/* Niewidoczny mostek — kursor nie traci hovera między navbarem a panelem */
.mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.85rem;
  height: 0.85rem;
  background: transparent;
}

.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 220px);
  gap: 1.5rem;
  align-items: start;
}

.mega-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.mega-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mega-col h4 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-red);
  margin: 0 0 0.75rem;
}

.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-col ul li + li {
  margin-top: 0.35rem;
}

.mega-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.mega-col a:hover {
  color: var(--gb-white);
}

.mega-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.15), rgba(225, 6, 0, 0.03));
  border: 1px solid rgba(225, 6, 0, 0.25);
}

.mega-highlight strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.mega-highlight span {
  font-size: 0.8rem;
  color: var(--gb-gray);
}

.mega-col-video {
  margin: 0;
}

.mega-video-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--gb-border);
  background: var(--gb-black-card);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.mega-video-link:hover {
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.mega-video-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
}

.mega-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-video-label {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gb-gray);
  transition: color 0.25s;
}

.mega-video-link:hover .mega-video-label {
  color: var(--gb-white);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gb-border);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}

.lang-switch:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--gb-white);
}

.lang-switch[hidden] {
  display: none !important;
}

.lang-switcher--nav .lang-switch:not([hidden]):hover,
.lang-switcher--mobile .lang-switch:not([hidden]):hover {
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.12);
}

.lang-flag {
  display: flex;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.lang-flag svg {
  display: block;
}

.mobile-lang {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gb-border);
}

.mobile-lang-label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-red);
}

.lang-switcher--mobile {
  width: 100%;
}

.lang-switcher--mobile .lang-switch:not([hidden]) {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
}

/* ── Mobile menu ── */

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gb-border);
}

.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.mobile-drawer-cta .btn-gb {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 1.5rem) 0 4rem;
  margin-top: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.92) 75%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.65) 0%, transparent 55%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-accent {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gb-red-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: rgba(225, 6, 0, 0.12);
  color: var(--gb-white);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gb-red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.hero-title .accent {
  color: var(--gb-red);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.35rem;
}

.hero-meta {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--gb-gray);
  margin: 0 0 1.25rem;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-pillars span:not(:last-child)::after {
  content: "·";
  margin-left: 1.25rem;
  color: var(--gb-red);
}

/* ── Countdown band ── */

.countdown-band {
  position: relative;
  padding: 2rem 0;
  background:
    linear-gradient(90deg, rgba(225, 6, 0, 0.12) 0%, rgba(225, 6, 0, 0.02) 50%, rgba(225, 6, 0, 0.12) 100%),
    var(--gb-black-soft);
  border-block: 1px solid var(--gb-border);
}

.countdown-band-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.countdown-band-eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gb-red);
  margin-bottom: 0.35rem;
}

.countdown-band-label {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--gb-white);
}

.countdown-band-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-band-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4rem;
}

.countdown-band-value {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--gb-white);
  transition:
    color 0.2s,
    transform 0.2s;
}

.countdown-band-value.is-tick {
  color: var(--gb-red);
  transform: scale(1.05);
}

.countdown-band-unit {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-gray);
}

.countdown-band-sep {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--gb-red);
  line-height: 1;
  padding-bottom: 1.1rem;
  opacity: 0.9;
}

.countdown-band-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  text-align: right;
}

.countdown-band-date {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gb-gray);
}

.btn-gb-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
}

.countdown-band.is-live .countdown-band-label {
  color: var(--gb-red);
}

.countdown-band.is-live .countdown-band-value {
  color: var(--gb-red);
}

.countdown-band.is-live .countdown-band-timer {
  display: none;
}

@media (max-width: 991px) {
  .countdown-band-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .countdown-band-info {
    order: 1;
  }

  .countdown-band-timer {
    order: 2;
  }

  .countdown-band-action {
    order: 3;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .countdown-band-item {
    min-width: 3rem;
  }

  .countdown-band-sep {
    font-size: 1.25rem;
    padding-bottom: 0.9rem;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gb-border);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gb-red);
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--gb-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-gray);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gb-red), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%,
  100% {
    transform: scaleY(0.3);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ── Mobile: hero & ogólna czytelność ── */

@media (max-width: 767px) {
  :root {
    --container-gutter: 1.5rem;
  }

  .nav-island {
    margin-top: max(0.5rem, env(safe-area-inset-top));
    padding: 0.5rem 0.5rem 0.5rem 1rem;
  }

  .nav-logo img {
    height: 30px;
  }

  .hero {
    align-items: flex-end;
    padding: calc(var(--nav-height) + 0.25rem) 0 5.5rem;
    min-height: 100svh;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.5) 0%, rgba(5, 5, 5, 0.88) 55%, rgba(5, 5, 5, 0.97) 100%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, transparent 40%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.7rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    max-width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
    margin-bottom: 0.65rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  .hero-meta {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 22rem;
  }

  .hero-pillars {
    justify-content: center;
    gap: 0.4rem 0.65rem;
    margin-bottom: 1.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    line-height: 1.5;
    max-width: 20rem;
  }

  .hero-pillars span:not(:last-child)::after {
    margin-left: 0.65rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.65rem;
    margin-bottom: 2rem;
  }

  .hero-cta .btn-gb {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    padding: 0.9rem 1.25rem;
  }

  .hero-cta .btn-gb-outline {
    font-size: 0.82rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 0.5rem;
    width: 100%;
    padding-top: 1.5rem;
    text-align: center;
  }

  .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .hero-stat strong {
    font-size: 1.25rem;
  }

  .hero-stat span {
    font-size: 0.6rem;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }

  .hero-scroll {
    bottom: 1rem;
  }

  .countdown-band {
    padding: 1.5rem 0;
  }

  .countdown-band-value {
    font-size: 1.75rem;
  }

  .countdown-band-item {
    min-width: 3.25rem;
  }

  .countdown-band-action .btn-gb {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
  }

  section {
    padding: clamp(3rem, 10vw, 4.5rem) 0;
  }

  .section-title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .section-lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .trainer-modal-tagline,
  .trainer-modal-body p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .text-center .eyebrow {
    justify-content: center;
  }

  .summit-grid {
    gap: 2rem;
  }
}

@media (max-width: 400px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero-stat:last-child {
    grid-column: 1 / -1;
  }

  .hero-pillars {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .hero-pillars span::after {
    display: none;
  }
}

/* ── Sections common ── */

section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-dark {
  background: var(--gb-black-soft);
}

.section-red-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 80px;
  background: var(--gb-red);
}

/* ── Summit About ── */

.summit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 992px) {
  .summit-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.summit-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 12;
  height: auto;
  border-radius: 1rem;
  overflow: hidden;
}

.summit-slider {
  position: absolute;
  inset: 0;
}

.summit-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: 0;
}

.summit-slide.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .summit-slide {
    transition: none;
  }
}

.summit-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summit-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gb-border);
  border-radius: 1rem;
  pointer-events: none;
}

.summit-flag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.flag-chip {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.summit-text .accent {
  color: var(--gb-red);
}

.summit-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.summit-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.summit-copy-accent {
  color: var(--gb-red);
  font-weight: 500;
}

.summit-history {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gb-border);
}

.summit-history-title {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 1.15rem;
  color: var(--gb-white);
}

.summit-history .summit-copy-accent {
  margin-bottom: 1.5rem;
}

.summit-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.summit-timeline li {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: var(--gb-red);
  font-weight: 500;
}

.summit-timeline strong {
  font-weight: 700;
}

/* ── Dla kogo ── */

.section-audience {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(225, 6, 0, 0.06), transparent 60%), var(--gb-black);
}

.section-audience--light {
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(225, 6, 0, 0.05), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
  color: var(--gb-black);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section-audience--light .section-title {
  color: var(--gb-black);
}

.section-audience--light .section-lead {
  color: #4a4a4a;
}

.section-audience--light .audience-card {
  background: var(--gb-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.section-audience--light .audience-card::after {
  color: rgba(0, 0, 0, 0.07);
}

.section-audience--light .audience-card:hover {
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(225, 6, 0, 0.06);
}

.section-audience--light .audience-card:hover::after {
  color: rgba(225, 6, 0, 0.45);
}

.section-audience--light .audience-card h3 {
  color: var(--gb-black);
}

.section-audience--light .audience-card p {
  color: #5a5a5a;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .audience-card {
    min-height: 0;
    padding: 1.1rem 1rem 1rem;
    border-radius: 1rem;
  }

  .audience-card::after {
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.6rem;
  }

  .audience-card h3 {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
    margin-bottom: 0.5rem;
    padding-right: 1.35rem;
    line-height: 1.25;
  }

  .section-audience--light .audience-card h3 {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .audience-card p {
    font-size: 0.72rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .audience-card:hover {
    transform: translateY(-3px);
  }
}

.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 180px;
  padding: 1.75rem 1.75rem 1.65rem;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(22, 22, 22, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid var(--gb-border);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s,
    box-shadow 0.4s;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gb-red), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.audience-card::after {
  content: attr(data-num);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.12);
  transition: color 0.4s var(--ease-out);
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.4);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(225, 6, 0, 0.08);
}

.audience-card:hover::before {
  opacity: 1;
}

.audience-card:hover::after {
  color: rgba(225, 6, 0, 0.45);
}

.audience-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-right: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-audience--light .audience-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.audience-card p {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gb-gray);
  margin: 0;
}

.audience-card--why::after {
  content: none;
}

.audience-card--why h3 {
  padding-right: 0;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.section-audience--light .audience-card--why h3 {
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
}

@media (max-width: 575px) {
  .audience-card--why h3,
  .section-audience--light .audience-card--why h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  }
}

/* ── Reels (Swiper + lightbox) ── */

.reels-section {
  background: var(--gb-black);
  overflow: hidden;
  padding-bottom: 3.5rem;
}

.reels-header {
  margin-bottom: 2rem;
}

.reels-bleed {
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.reels-swiper-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.25rem);
  padding-bottom: 1.5rem;
}

.reels-swiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.reels-swiper .swiper-slide {
  height: auto;
}

.reels-item {
  margin: 0;
}

.reels-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  aspect-ratio: 9 / 16;
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--gb-black-card);
  border: 1px solid var(--gb-border);
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
}

.reels-card:hover,
.reels-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.reels-card:focus-visible {
  outline: 2px solid var(--gb-red);
  outline-offset: 3px;
}

.reels-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--gb-black-card);
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease-out),
    visibility 0.4s;
}

.reels-loader-logo {
  width: clamp(64px, 18vw, 88px);
  height: auto;
  opacity: 0.95;
  animation: reelsLoaderPulse 1.8s ease-in-out infinite;
}

.reels-loader-bar {
  display: block;
  width: min(120px, 40%);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.reels-loader-bar-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--gb-red);
  animation: reelsLoaderBar 1.2s ease-in-out infinite;
}

@keyframes reelsLoaderPulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reelsLoaderBar {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

.reels-card.is-ready .reels-loader {
  opacity: 0;
  visibility: hidden;
}

.reels-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.reels-card.is-ready video {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reels-loader-logo,
  .reels-loader-bar-fill {
    animation: none;
  }

  .reels-card video,
  .reels-card.is-ready video {
    opacity: 1;
    transition: none;
  }
}

.reels-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  color: var(--gb-white);
  pointer-events: none;
  transition: opacity 0.3s;
}

.reels-play svg {
  width: 52px;
  height: 52px;
  padding: 0.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.reels-expand {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gb-white);
  pointer-events: none;
}

.reels-card.is-playing .reels-play {
  opacity: 0;
}

.reels-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 2.5rem 0.85rem 0.85rem;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.9) 0%, transparent 100%);
  pointer-events: none;
  text-align: left;
}

.reels-handle {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gb-white);
}

.reels-title {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: var(--gb-gray);
}

.reels-swiper-wrap .reels-swiper-prev,
.reels-swiper-wrap .reels-swiper-next {
  --swiper-navigation-size: 18px;
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  transform: none !important;
  border-radius: 50%;
  border: 1px solid var(--gb-border);
  background: rgba(0, 0, 0, 0.55);
  color: var(--gb-white);
  z-index: 2;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    opacity 0.25s;
}

.reels-swiper-wrap .reels-swiper-prev::after,
.reels-swiper-wrap .reels-swiper-next::after {
  font-size: 1rem;
  font-weight: 700;
}

.reels-swiper-wrap .reels-swiper-prev:hover,
.reels-swiper-wrap .reels-swiper-next:hover {
  background: var(--gb-red);
  border-color: var(--gb-red);
}

.reels-swiper-wrap .swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Lightbox wideo */
.reels-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-out),
    visibility 0.35s;
}

.reels-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reels-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
}

.reels-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reels-lightbox-player {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(82vh, 740px);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gb-border);
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.reels-lightbox-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.reels-lightbox-caption {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--gb-gray);
  text-align: center;
}

.reels-lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gb-border);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--gb-white);
  cursor: pointer;
  transition: background 0.25s;
}

.reels-lightbox-close:hover {
  background: var(--gb-red);
}

.reels-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: var(--gb-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.reels-lightbox-nav:hover {
  background: var(--gb-red);
  border-color: var(--gb-red);
}

.reels-lightbox-prev {
  left: -3.25rem;
}

.reels-lightbox-next {
  right: -3.25rem;
}

@media (max-width: 767px) {
  .reels-swiper-wrap {
    gap: 0.4rem;
    padding-bottom: 1.25rem;
  }

  .reels-swiper-prev,
  .reels-swiper-next {
    width: 38px;
    height: 38px;
  }

  .reels-lightbox-dialog {
    width: min(340px, 100%);
  }

  .reels-lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .reels-lightbox-prev {
    left: 0.25rem;
  }

  .reels-lightbox-next {
    right: 0.25rem;
  }
}

/* ── Project Idea ── */

.idea-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.idea-block .section-lead {
  margin-inline: auto;
}

.idea-cta {
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.idea-marquee-bleed {
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 2.5rem;
  padding-block: 0.5rem;
}

.idea-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.idea-marquee-track {
  display: flex;
  width: max-content;
  animation: ideaMarquee 38s linear infinite;
  will-change: transform;
}

.idea-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

@keyframes ideaMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.idea-pillar {
  flex-shrink: 0;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--gb-glass-border);
  background: rgba(255, 255, 255, 0.04);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--gb-white);
  transition:
    border-color 0.3s,
    background 0.3s;
}

.idea-marquee:hover .idea-marquee-track {
  animation-play-state: paused;
}

@media (min-width: 992px) {
  .idea-pillar {
    padding: 1.15rem 2.75rem;
    font-size: 1.25rem;
  }

  .idea-marquee-group {
    gap: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idea-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-gutter);
    gap: 1rem;
  }

  .idea-marquee-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  .idea-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .idea-marquee {
    mask-image: none;
  }
}

/* ── Partners ── */

.partners-tier {
  margin-bottom: 3rem;
}

.partners-tier h3 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-gray);
  margin: 0 0 1.25rem;
  text-align: center;
}

.partner-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0 2rem;
  background: none;
  border: none;
}

.partners-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.partners-row::-webkit-scrollbar {
  display: none;
}

.partner-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
}

.partner-logo-img {
  display: block;
  width: auto;
  max-width: clamp(72px, 12vw, 120px);
  height: auto;
  max-height: clamp(40px, 6vw, 56px);
  object-fit: contain;
  opacity: 0.88;
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease-out);
}

.partner-logo:hover .partner-logo-img {
  opacity: 1;
  transform: scale(1.03);
}

.partner-logo-img--main {
  max-width: min(320px, 72vw);
  max-height: clamp(120px, 20vw, 180px);
  opacity: 1;
}

@media (max-width: 767.98px) {
  #partnerzy .container-gb {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  #partnerzy .text-center,
  #partnerzy .container-gb > .text-center.mt-4 {
    padding-inline: 1.25rem;
  }

  .partners-tier {
    margin-bottom: 2.75rem;
  }

  .partners-tier h3 {
    padding-inline: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .partner-main {
    padding: 0.25rem 0 2.25rem;
  }

  .partners-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 12vw, 3.5rem);
    row-gap: 2.5rem;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
    justify-items: center;
    align-items: center;
    box-sizing: border-box;
  }

  .partner-logo {
    flex: none;
    width: 100%;
    max-width: none;
    padding: 0.35rem 0;
  }

  .partner-logo-img {
    width: auto;
    max-width: min(100%, 140px);
    max-height: 52px;
    margin-inline: auto;
  }

  .partner-logo-img--main {
    max-width: min(260px, 78vw);
    max-height: 110px;
  }
}

@media (min-width: 992px) {
  .partners-row {
    overflow: visible;
    justify-content: space-between;
    max-width: 960px;
    margin-inline: auto;
  }

  .partner-logo {
    flex: 1 1 0;
    min-width: 0;
  }

  .partner-logo-img {
    max-width: 110px;
    max-height: 52px;
    margin-inline: auto;
  }
}

/* ── Agenda ── */

.section-agenda {
  position: relative;
  padding: var(--section-pad) 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(225, 6, 0, 0.1), transparent 55%), var(--gb-black);
  border-block: 1px solid var(--gb-border);
}

.agenda-header {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.agenda-dates {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-red);
  line-height: 1.35;
}

.agenda-shell {
  border-radius: 1.25rem;
  border: 1px solid var(--gb-glass-border);
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(8, 8, 8, 0.98));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.agenda-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--gb-border);
  background: rgba(0, 0, 0, 0.35);
}

.agenda-tab {
  flex: 1 1 0;
  min-width: 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--gb-gray);
  cursor: pointer;
  text-align: left;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}

.agenda-tab:hover {
  color: var(--gb-white);
  background: rgba(255, 255, 255, 0.04);
}

.agenda-tab.is-active {
  color: var(--gb-white);
  background: rgba(225, 6, 0, 0.12);
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: 0 8px 24px rgba(225, 6, 0, 0.15);
}

.agenda-tab-day {
  font-size: 0.95rem;
  font-weight: 600;
}

.agenda-tab-date {
  font-size: 0.75rem;
  color: var(--gb-gray-dark);
}

.agenda-tab.is-active .agenda-tab-date {
  color: rgba(255, 255, 255, 0.65);
}

.agenda-panels {
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem;
}

.agenda-panel {
  display: none;
  animation: agendaPanelIn 0.4s var(--ease-out) both;
}

.agenda-panel.is-active {
  display: block;
}

@keyframes agendaPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.agenda-panel-theme {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gb-red);
}

.agenda-timeline {
  --agenda-rail: 1.25rem;
  --agenda-dot: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.agenda-timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--agenda-rail) / 2 - 1px);
  top: calc(var(--agenda-dot) / 2 + 0.4rem);
  bottom: calc(var(--agenda-dot) / 2 + 0.4rem);
  width: 2px;
  background: linear-gradient(to bottom, rgba(225, 6, 0, 0.55), rgba(225, 6, 0, 0.25) 40%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 0;
}

.agenda-item {
  display: grid;
  grid-template-columns: var(--agenda-rail) minmax(5.75rem, 6.5rem) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  padding: 1.1rem 0;
  position: relative;
  z-index: 1;
}

.agenda-item::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  width: var(--agenda-dot);
  height: var(--agenda-dot);
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--gb-red);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.2);
}

.agenda-item time {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  color: var(--gb-white);
  padding-top: 0.35rem;
}

.agenda-item-body {
  grid-column: 3;
  grid-row: 1;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: var(--gb-black-card);
  border: 1px solid var(--gb-border);
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease-out);
}

.agenda-item:hover .agenda-item-body {
  border-color: rgba(225, 6, 0, 0.35);
  transform: translateX(4px);
}

.agenda-item-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.agenda-item-trainers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.agenda-trainer-sep {
  color: var(--gb-gray);
  font-weight: 400;
}

.agenda-trainer-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 0.15em;
  transition:
    color 0.25s,
    text-decoration-color 0.25s;
}

.agenda-trainer-link:hover {
  color: var(--gb-red);
  text-decoration-color: var(--gb-red);
}

.agenda-trainer-link:focus-visible {
  outline: 2px solid var(--gb-red);
  outline-offset: 3px;
}

.agenda-item-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gb-gray);
  line-height: 1.55;
}

.agenda-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--gb-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gb-gray);
}

.agenda-tag--info {
  color: #7eb8ff;
  border-color: rgba(126, 184, 255, 0.35);
  background: rgba(126, 184, 255, 0.08);
}

.agenda-tag--ceremony {
  color: #f0c674;
  border-color: rgba(240, 198, 116, 0.35);
  background: rgba(240, 198, 116, 0.08);
}

.agenda-tag--network {
  color: #8fd9a8;
  border-color: rgba(143, 217, 168, 0.35);
  background: rgba(143, 217, 168, 0.08);
}

.agenda-tag--panel {
  color: #c9a0ff;
  border-color: rgba(201, 160, 255, 0.35);
  background: rgba(201, 160, 255, 0.08);
}

.agenda-tag--workshop,
.agenda-tag--master {
  color: #ff9a8b;
  border-color: rgba(255, 154, 139, 0.35);
  background: rgba(255, 154, 139, 0.08);
}

.agenda-tag--training,
.agenda-tag--sparring {
  color: var(--gb-red);
  border-color: rgba(225, 6, 0, 0.45);
  background: rgba(225, 6, 0, 0.1);
}

.agenda-tag--fitness {
  color: #6ee7d8;
  border-color: rgba(110, 231, 216, 0.35);
  background: rgba(110, 231, 216, 0.08);
}

.agenda-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gb-gray-dark);
}

.agenda-cta {
  margin-top: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .agenda-item {
    grid-template-columns: var(--agenda-rail) 7.25rem minmax(0, 1fr);
    gap: 1rem 2rem;
    padding: 1.35rem 0;
  }

  .agenda-item time {
    font-size: 0.95rem;
  }
}

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

  .agenda-item:hover .agenda-item-body {
    transform: none;
  }
}

/* ── Trainers ── */

.trainers-section {
  padding-bottom: 0;
  overflow: hidden;
}

.trainers-section-head {
  width: min(var(--container-max), 100% - var(--container-gutter));
  margin-inline: auto;
  padding-inline: calc(var(--container-gutter) / 2);
  margin-bottom: 2.5rem;
}

.trainers-grid-bleed {
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 5vw, var(--section-pad));
}

.trainers-grid {
  margin: 0;
  --trainer-photo-ratio: 3 / 4;
  --bs-gutter-x: clamp(1rem, 2vw, 1.5rem);
  --bs-gutter-y: clamp(1rem, 2vw, 1.5rem);
}

.trainers-grid > [class*="col-"] {
  display: flex;
}

.trainer-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--gb-black-card);
  border: 1px solid var(--gb-border);
  opacity: 1;
  transform: none;
}

.trainer-photo {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: var(--trainer-photo-ratio);
  height: auto;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 60% at 50% 100%, rgba(225, 6, 0, 0.14), transparent 55%), #0d0d0d;
}

.trainer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.trainer-info {
  flex: 1;
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.trainer-info h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.trainer-role {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: var(--gb-red);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.trainer-excerpt {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: var(--gb-gray);
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trainer-more {
  margin-top: auto;
}

/* Modal trenera */

.gb-modal--trainer .gb-modal-dialog--trainer {
  width: min(56rem, 100%);
  max-width: min(56rem, 100%);
  max-height: min(90vh, 880px);
}

.gb-modal--trainer .trainer-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.trainer-modal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex: 1;
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  padding-top: 3.25rem;
  overflow: hidden;
}

.trainer-modal-main {
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.trainer-modal-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gb-white);
  padding-right: 2.5rem;
}

.trainer-modal-photo-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 17.5rem;
  aspect-ratio: var(--trainer-photo-ratio, 3 / 4);
  height: auto;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--gb-border);
  background: radial-gradient(ellipse 90% 60% at 50% 100%, rgba(225, 6, 0, 0.12), transparent 55%), #0d0d0d;
}

.trainer-modal-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.trainer-modal-tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: var(--gb-red);
  font-weight: 500;
}

.trainer-modal-body p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: var(--gb-gray);
  margin: 0 0 0.85rem;
}

.trainer-modal-body p:last-child {
  margin-bottom: 0;
}

.gb-modal--trainer .trainer-modal-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--gb-border);
}

/* Trenerzy — tablet i mobile (1 kafel w rzędzie, zdjęcie po lewej) */
@media (max-width: 991.98px) {
  .trainers-grid-bleed {
    padding-inline: clamp(0.75rem, 2.5vw, 1.25rem);
  }

  .trainers-grid {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.85rem;
    --trainer-photo-width-mobile: clamp(7.5rem, 32vw, 10.5rem);
  }

  .trainer-card {
    flex-direction: row;
    align-items: stretch;
  }

  .trainer-photo {
    flex: 0 0 var(--trainer-photo-width-mobile);
    width: var(--trainer-photo-width-mobile);
    max-width: var(--trainer-photo-width-mobile);
    margin-inline: 0;
    aspect-ratio: var(--trainer-photo-ratio);
    height: auto;
  }

  .trainer-info {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1rem 0.9rem 0.85rem;
    justify-content: flex-start;
  }

  .trainer-info h3 {
    font-size: clamp(1.25rem, 4.8vw, 1.55rem);
    line-height: 1.15;
    text-align: left;
  }

  .trainer-role {
    font-size: clamp(0.95rem, 3.2vw, 1.05rem);
    line-height: 1.45;
    margin-bottom: 0.45rem;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trainer-excerpt {
    font-size: clamp(0.92rem, 3vw, 1rem);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    -webkit-line-clamp: 3;
    text-align: left;
  }

  .trainer-more {
    margin-top: auto;
    align-self: flex-start;
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
}

/* Modal trenera — mobile */
@media (max-width: 767.98px) {
  .gb-modal--trainer {
    padding: 0.65rem;
  }

  .gb-modal--trainer .gb-modal-dialog--trainer {
    width: 100%;
    max-height: min(92vh, 100%);
  }

  .trainer-modal-layout {
    grid-template-columns: minmax(6.75rem, 34%) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0.85rem 1rem;
    padding: 1rem 1rem 0.25rem;
    padding-top: 3rem;
    align-items: start;
  }

  .trainer-modal-photo-wrap {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 9.5rem;
    margin-inline: 0;
    aspect-ratio: var(--trainer-photo-ratio, 3 / 4);
  }

  .trainer-modal-main {
    max-height: min(58vh, 420px);
  }

  .trainer-modal-title {
    font-size: clamp(1.4rem, 5.5vw, 1.75rem);
    line-height: 1.12;
    margin-bottom: 0.55rem;
    padding-right: 1.75rem;
    text-align: left;
  }

  .trainer-modal-tagline {
    font-size: clamp(0.95rem, 3.2vw, 1.05rem);
    line-height: 1.45;
    margin-bottom: 0.85rem;
    text-align: left;
  }

  .trainer-modal-body p {
    font-size: clamp(0.92rem, 3vw, 1rem);
    line-height: 1.5;
    margin-bottom: 0.7rem;
  }

  .gb-modal--trainer .trainer-modal-footer {
    padding: 0.85rem 1rem 1rem;
  }
}

/* ── CTA Band ── */

.cta-band {
  position: relative;
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.18) 0%, transparent 50%), var(--gb-black-soft);
  border-block: 1px solid var(--gb-border);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.cta-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cta-contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(225, 6, 0, 0.12);
  border: 1px solid rgba(225, 6, 0, 0.25);
  color: var(--gb-red);
}

.cta-contact-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gb-white);
  margin-bottom: 0.2rem;
}

.cta-contact-item span,
.cta-contact-item a {
  font-size: 0.9rem;
  color: var(--gb-gray);
  line-height: 1.5;
}

.cta-contact-item a {
  text-decoration: none;
  transition: color 0.25s;
}

.cta-contact-item a:hover {
  color: var(--gb-red);
}

.cta-social {
  padding-top: 0.5rem;
}

.cta-social-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gb-gray-dark);
  margin-bottom: 0.75rem;
}

.cta-social-links {
  display: flex;
  gap: 0.65rem;
}

.cta-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gb-border);
  color: var(--gb-white);
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}

.cta-social-links a:hover {
  background: var(--gb-red);
  border-color: var(--gb-red);
  color: var(--gb-white);
  transform: translateY(-2px);
}

.cta-social-links .contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.cta-social-links .contact-social-icon .gb-icon {
  width: 20px !important;
  height: 20px !important;
}

/* ── Form ── */

.form-gb {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-gb label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gb-gray);
}

.form-gb input:not([type="checkbox"]):not([type="radio"]),
.form-gb select,
.form-gb textarea {
  padding: 0.85rem 1rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--gb-white);
  background: var(--gb-black-card);
  border: 1px solid var(--gb-border);
  border-radius: 0.5rem;
  transition: border-color 0.25s;
}

.form-gb input:not([type="checkbox"]):not([type="radio"]):focus,
.form-gb select:focus,
.form-gb textarea:focus {
  outline: none;
  border-color: var(--gb-red);
}

.form-gb textarea {
  min-height: 100px;
  resize: vertical;
}

.form-gb label.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 400;
}

.form-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--gb-gray);
}

.form-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--gb-red);
  cursor: pointer;
}

.form-check span {
  flex: 1;
  line-height: 1.55;
}

.form-consents {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.25rem 0 0.5rem;
}

.form-consents .form-check abbr {
  color: var(--gb-red);
  text-decoration: none;
  margin-left: 0.15rem;
}

.form-check[hidden] {
  display: none !important;
}

.form-consents-divider {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gb-gray-dark);
}

.form-consents-note {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--gb-gray-dark);
}

.form-check--optional span {
  font-size: 0.78rem;
}

.form-legal-link,
.footer-legal-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--gb-white);
  text-decoration: underline;
  text-decoration-color: rgba(225, 6, 0, 0.55);
  text-underline-offset: 3px;
  cursor: pointer;
  transition:
    color 0.25s,
    text-decoration-color 0.25s;
}

.form-legal-link:hover,
.footer-legal-link:hover {
  color: var(--gb-red);
  text-decoration-color: var(--gb-red);
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gb-gray-dark);
  line-height: 1.5;
}

.form-gb button[type="submit"] {
  width: 100%;
  margin-top: 15px;
}

/* ── Legal modal ── */

.gb-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-out),
    visibility 0.35s;
}

.gb-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gb-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(640px, 100%);
  max-height: min(88vh, 820px);
  border-radius: 1.25rem;
  background: linear-gradient(165deg, #161616 0%, #0a0a0a 100%);
  border: 1px solid var(--gb-glass-border);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(225, 6, 0, 0.08);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}

.gb-modal.is-open .gb-modal-dialog {
  transform: translateY(0) scale(1);
}

.gb-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--gb-border);
  padding-bottom: 1.25rem;
  margin-bottom: 0;
}

.gb-modal-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 0.5rem;
}

.gb-modal-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--gb-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gb-white);
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

.gb-modal-close:hover {
  background: var(--gb-red);
  border-color: var(--gb-red);
}

.gb-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gb-gray);
  scrollbar-width: thin;
  scrollbar-color: var(--gb-red) transparent;
}

.gb-modal-body h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gb-white);
}

.gb-modal-body h3:first-child {
  margin-top: 0;
}

.gb-modal-body h4 {
  margin: 1rem 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.gb-modal-body ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.gb-modal-body ol li + li {
  margin-top: 0.4rem;
}

.gb-modal-body em {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.gb-modal-body .legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.gb-modal-body table.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.gb-modal-body table.legal-table th,
.gb-modal-body table.legal-table td {
  border: 1px solid var(--gb-border);
  padding: 0.55rem 0.65rem;
  vertical-align: top;
  text-align: left;
}

.gb-modal-body table.legal-table th {
  color: var(--gb-white);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}

.gb-modal-body .legal-note {
  padding: 0.65rem 0.85rem;
  margin: 0 0 1rem;
  border-left: 3px solid var(--gb-red);
  background: rgba(225, 6, 0, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.gb-modal-body p {
  margin: 0 0 0.85rem;
}

.gb-modal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.gb-modal-body li + li {
  margin-top: 0.35rem;
}

.gb-modal-body a {
  color: var(--gb-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gb-modal-body a:hover {
  color: var(--gb-white);
}

.gb-modal-lead {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem !important;
}

.gb-modal-meta {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--gb-border);
  font-size: 0.8rem !important;
}

.gb-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gb-border);
}

.gb-modal-footer .btn-gb {
  flex: 1 1 auto;
}

@media (max-width: 480px) {
  .gb-modal {
    padding: 0;
    align-items: flex-end;
  }

  .gb-modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .gb-modal-footer {
    flex-direction: column;
  }

  .gb-modal-footer .btn-gb {
    width: 100%;
    justify-content: center;
  }
}

/* ── Footer ── */

.site-footer {
  background: #030303;
  border-top: 1px solid var(--gb-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 2rem 0 1.15rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 1.1rem;
    row-gap: 1.25rem;
    margin-bottom: 1.35rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid var(--gb-border);
  }

  .footer-brand img {
    height: 36px;
    margin-bottom: 0.65rem;
  }

  .footer-brand p {
    font-size: 0.75rem;
    line-height: 1.45;
    margin: 0 0 0.75rem;
    max-width: 36ch;
  }

  .footer-social {
    gap: 0.45rem;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-col h4 {
    margin-bottom: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.11em;
  }

  .footer-col li + li {
    margin-top: 0.32rem;
  }

  .footer-col a,
  .footer-col span {
    font-size: 0.77rem;
    line-height: 1.38;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
    padding-top: 0.2rem;
    border-top: 1px solid var(--gb-border);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.1rem;
    row-gap: 0.6rem;
  }

  .footer-col--contact > h4 {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }

  .footer-contact-item {
    margin: 0;
    font-size: 0.77rem;
    line-height: 1.38;
  }

  .footer-contact-item strong {
    font-size: 0.8rem;
    margin-bottom: 0.12rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 0.9rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .footer-col--contact {
    min-width: 0;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }

  .footer-col--contact > h4 {
    grid-column: 1 / -1;
  }
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gb-gray);
  max-width: 32ch;
  margin: 0 0 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gb-border);
  color: var(--gb-white);
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}

.footer-social a svg {
  display: block;
  flex-shrink: 0;
}

.footer-social a:hover {
  background: var(--gb-red);
  border-color: var(--gb-red);
  color: var(--gb-white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gb-red);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.5rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.9rem;
  color: var(--gb-gray);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--gb-gray);
}

.footer-contact-item strong {
  color: var(--gb-white);
  display: block;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gb-border);
  font-size: 0.8rem;
  color: var(--gb-gray-dark);
}

.footer-bottom a,
.footer-bottom .footer-legal-link {
  color: var(--gb-gray);
}

.footer-bottom .footer-legal-link:hover {
  color: var(--gb-red);
}

/* ── Reveal animations (GSAP will enhance) ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Utilities ── */

.text-red {
  color: var(--gb-red);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
