/* ============================================
   S.O.S Szkoła Pływania — styles
   ============================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg: #fbfaf7;
  --bg-2: #f3f1ea;
  --ink: #0c1726;
  --ink-soft: #3a4658;
  --muted: #6b7785;
  --line: #e6e2d6;
  --line-soft: #efebe0;

  --primary: #0a3d62;
  --primary-deep: #062842;
  --primary-soft: #e8eef3;

  --accent: #ff0066;
  --accent-soft: #ffe5ee;
  --accent-deep: #d20055;

  --aurora-cyan: #7fc7e0;
  --aurora-warm: #ffd6e6;

  --ok: #1f9d6e;
  --ok-bg: #e3f5ec;
  --warn: #c47a00;
  --warn-bg: #fff3dd;
  --bad: #c33d3d;
  --bad-bg: #fbe5e5;

  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  --shadow-sm: 0 2px 6px -2px rgba(10, 23, 38, .08);
  --shadow-md: 0 18px 40px -22px rgba(10, 23, 38, .25);
  --shadow-lg: 0 32px 70px -28px rgba(10, 23, 38, .28);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-display: "Bricolage Grotesque", "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --container: 1240px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
  font-family: var(--font-display);
}

::selection {
  background: var(--accent);
  color: #fff;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 500;
  font-size: 14px;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}

.section--tight {
  padding: clamp(56px, 7vw, 90px) 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.section__title--invert {
  color: #fff;
}

.section__lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6;
}

.section__lead--right {
  max-width: 32ch;
  text-align: right;
}

/* ---------- EYEBROW ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding: 8px 14px 8px 12px;
  background: rgba(10, 61, 98, .06);
  border: 1px solid rgba(10, 61, 98, .12);
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow--invert {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .85);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 0, 102, .15);
  animation: pulseDot 2.4s var(--ease) infinite;
}

@property --aurora-rotation {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes aurora-rotate {
  to { --aurora-rotation: 360deg; }
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 0, 102, .15);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(255, 0, 102, .05);
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-spring), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(.985);
}

.btn[data-magnetic] {
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
  transition: transform .35s var(--ease-spring), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.btn[data-magnetic]:active {
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0) scale(.97);
  transition-duration: .12s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 22px -10px rgba(255, 0, 102, .55);
}

.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 23, 38, .18);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

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

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

.btn--link {
  padding: 6px 0;
  border-radius: 0;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

.btn--link:hover {
  color: var(--accent);
}

/* ---------- NAVBAR ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}

.nav.is-stuck {
  background: rgba(251, 250, 247, .92);
  border-bottom-color: var(--line-soft);
}

.nav__progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--aurora-cyan));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  transition: transform .12s linear;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.nav.is-stuck .nav__progress {
  opacity: 1;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 14px -8px rgba(10, 61, 98, .5);
}

.nav__logo img {
  display: block;
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.nav__links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.nav__links a:hover {
  background: rgba(10, 23, 38, .05);
  color: var(--ink);
}

.nav__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__social {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.nav__social:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav__social:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav__cta {
  padding: 12px 20px;
  font-size: 14px;
  min-height: 44px;
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav__burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px clamp(20px, 4vw, 40px) 28px;
  gap: 4px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}

.nav__mobile a {
  padding: 14px 6px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.nav__mobile a:last-child {
  border-bottom: 0;
  margin-top: 12px;
}

@media (max-width: 920px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__social {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
  }

  .nav__mobile:not([hidden]) {
    display: flex;
  }

  .nav__mobile .btn {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 clamp(110px, 14vw, 180px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(55% 45% at 18% 28%, rgba(255, 0, 102, .14) 0%, transparent 60%),
    radial-gradient(50% 50% at 82% 22%, rgba(127, 199, 224, .32) 0%, transparent 62%),
    radial-gradient(55% 50% at 28% 78%, rgba(10, 61, 98, .14) 0%, transparent 60%),
    radial-gradient(45% 40% at 78% 76%, rgba(255, 0, 102, .10) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0% 0%;
  animation: aurora-drift 18s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes aurora-drift {
  0% {
    background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0% 0%;
  }
  100% {
    background-position: 30% 25%, 70% 35%, 25% 75%, 70% 60%, 0% 0%;
  }
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(10, 23, 38, .055) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: .7;
  mix-blend-mode: overlay;
}

.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hero__copy {
  max-width: 640px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.hero__title-accent {
  position: relative;
  white-space: nowrap;
  isolation: isolate;
  display: inline-block;
}

.hero__title-accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 6%;
  height: 28%;
  background: var(--accent);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-5deg);
}

.hero__title .hero__title-accent {
  color: #fff;
}

.hero__lead {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__metrics {
  list-style: none;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  max-width: 520px;
}

.hero__metrics li {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.hero__metrics li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__metrics span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

/* HERO MEDIA */
.hero__media {
  position: relative;
  align-self: stretch;
  min-height: 480px;
}

.hero__media-frame {
  position: relative;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform .6s var(--ease);
}

.hero__media:hover .hero__media-frame {
  transform: rotate(0deg);
}

.hero__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 540px;
}

.hero__media-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.hero__media-tag--top {
  top: 22px;
  left: -16px;
  color: var(--primary);
  transform: rotate(-3deg);
}

.hero__media-tag--bottom {
  bottom: 28px;
  right: -10px;
  transform: rotate(2.5deg);
}

.hero__media-tag svg {
  color: var(--accent);
}

.hero__media-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(31, 157, 110, .2);
  animation: pulseDot 2s var(--ease) infinite;
}

.hero__media-blob {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(50px);
  opacity: .25;
  z-index: -1;
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: clamp(60px, 8vw, 100px);
  z-index: 1;
}

/* ---------- WAVE DIVIDERS ---------- */
.wave-divider {
  display: block;
  width: 100%;
  height: clamp(50px, 6vw, 80px);
  pointer-events: none;
}

.wave-divider--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
}

.wave-divider--top {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  z-index: 3;
}

.wave-divider--invert {
  transform: scaleY(-1);
}

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 0;
  }

  .hero__media-frame {
    transform: rotate(0);
  }

  .hero__media-frame img {
    min-height: 0;
    aspect-ratio: 4/5;
  }

  .hero__metrics {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }

  .hero__metrics li {
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .hero__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }

  .hero__metrics li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- TRUST STRIP ---------- */
.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  padding: 22px 0;
  position: relative;
  z-index: 2;
}

.strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.strip__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.strip__items {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
}

.strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* ---------- PROGRAMS ---------- */
.programs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.programs::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(127, 199, 224, .35) 0%, transparent 65%);
  filter: blur(70px);
  z-index: -1;
  animation: blob-drift-a 32s ease-in-out infinite alternate;
}

.programs::after {
  content: "";
  position: absolute;
  bottom: 12%;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 0, 102, .12) 0%, transparent 65%);
  filter: blur(60px);
  z-index: -1;
  animation: blob-drift-b 38s ease-in-out infinite alternate;
}

@keyframes blob-drift-a {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.15); }
}

@keyframes blob-drift-b {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -50px) scale(1.1); }
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.level {
  --c: var(--primary);
  --c-bg: var(--primary-soft);
  position: relative;
  padding: 28px 26px 32px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}

.level:hover {
  transform: translateY(-4px);
  border-color: var(--c);
  box-shadow: var(--shadow-md);
}

.level--1 {
  --c: #1f9d6e;
  --c-bg: #e3f5ec;
}

.level--2 {
  --c: #2680a8;
  --c-bg: #def0f9;
}

.level--3 {
  --c: #0a3d62;
  --c-bg: #e8eef3;
}

.level--4 {
  --c: #ff0066;
  --c-bg: #ffe5ee;
}

.level__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.level__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  background: var(--c);
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  letter-spacing: -0.02em;
}

.level__age {
  font-size: 12.5px;
  color: var(--c);
  background: var(--c-bg);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.level__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}

.level__desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.level__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

.level__points li {
  font-size: 13.5px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 18px;
}

.level__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--c);
}

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

@media (max-width: 540px) {
  .programs__grid {
    grid-template-columns: 1fr;
  }
}

/* Programs columns (real data: 9 kids + 4 adults) */
.programs__columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.programs__column {
  position: relative;
  background:
    radial-gradient(360px circle at var(--mx, -200%) var(--my, -200%),
      rgba(255, 0, 102, .07) 0%, rgba(127, 199, 224, .05) 40%, transparent 70%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
}

.programs__col-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.programs__col-tag {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
}

.programs__col-tag--kids {
  background: var(--primary);
}

.programs__col-tag--adults {
  background: var(--accent);
}

.programs__col-head h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.programs__col-head p {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.program-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  transition: padding-left .25s var(--ease);
}

.program-list__item:last-child {
  border-bottom: 0;
}

.program-list__item:hover {
  padding-left: 6px;
}

.program-list__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  min-width: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  letter-spacing: -0.01em;
  color: #fff;
}

.program-list__badge--1 {
  background: #1f9d6e;
}

.program-list__badge--2 {
  background: #2680a8;
}

.program-list__badge--3 {
  background: #0a3d62;
}

.program-list__badge--4 {
  background: #06223a;
}

.program-list__badge--pro {
  background: var(--accent);
  box-shadow: 0 6px 18px -8px rgba(255, 0, 102, .55);
}

.program-list__badge--d1 {
  background: #ffb1cc;
  color: var(--accent-deep);
}

.program-list__badge--d2 {
  background: #ff7aa9;
  color: #fff;
}

.program-list__badge--d3 {
  background: #ff3a82;
  color: #fff;
}

.program-list__badge--d4 {
  background: var(--accent);
  color: #fff;
}

.program-list__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.35;
}

.program-list__body strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.program-list__body span {
  font-size: 13.5px;
  color: var(--muted);
}

.program-list__item--pro {
  margin-top: 6px;
  padding: 18px 16px;
  background: var(--accent-soft);
  border-radius: 14px;
  border: 1px solid rgba(255, 0, 102, .15) !important;
  border-bottom: 1px solid rgba(255, 0, 102, .15) !important;
}

.program-list__item--pro:hover {
  padding-left: 22px;
}

.program-list__item--pro .program-list__body strong {
  color: var(--accent-deep);
}

.programs__note {
  margin-top: 24px;
  padding: 22px;
  background: var(--bg);
  border-radius: 18px;
  border: 1px dashed var(--line);
}

.programs__note h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.programs__note p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.programs__note p.muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.programs__note a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}

.programs__cta {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .programs__columns {
    grid-template-columns: 1fr;
  }
}

/* ---------- LOCATIONS ---------- */
.locations {
  background: linear-gradient(180deg, transparent 0, var(--bg-2) 35%, var(--bg-2) 65%, transparent 100%);
}

.locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.location {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.location:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.location--featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-deep);
}

.location--featured:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.location__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.location__city {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.location--featured .location__city {
  color: rgba(255, 255, 255, .7);
}

.location__chip {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  letter-spacing: 0.01em;
}

.location--featured .location__chip {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .85);
  border-color: rgba(255, 255, 255, .18);
}

.location__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.1;
}

.location--featured .location__name {
  color: #fff;
}

.location__address {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.location--featured .location__address {
  color: rgba(255, 255, 255, .65);
}

.location__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  margin-bottom: 24px;
  flex: 1;
}

.location--featured .location__points {
  border-top-color: rgba(255, 255, 255, .15);
}

.location__points li {
  font-size: 13.5px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 18px;
}

.location--featured .location__points li {
  color: rgba(255, 255, 255, .85);
}

.location__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
}

.location__price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 12px 18px;
  background: var(--accent-soft);
  border-radius: 14px;
  border: 1px dashed rgba(255, 0, 102, .25);
  align-self: flex-start;
}

.location--featured .location__price {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.locations__cta {
  margin-top: clamp(36px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.locations__cta-note {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.5;
}

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

/* ---------- CAMPS GRID (2 obozy) ---------- */
.camps {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.camps::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(127, 199, 224, .22) 0%, transparent 65%);
  filter: blur(80px);
  z-index: -1;
  animation: blob-drift-b 40s ease-in-out infinite alternate;
}

.camps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.camp {
  position: relative;
  background:
    radial-gradient(320px circle at var(--mx, -200%) var(--my, -200%),
      rgba(255, 0, 102, .10) 0%, rgba(127, 199, 224, .07) 35%, transparent 70%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate;
}

.camp:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.camp::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--aurora-rotation, 0deg), var(--accent), var(--aurora-cyan), var(--primary), var(--accent));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 4;
}

.camp:hover::after,
.camp:focus-within::after {
  opacity: 1;
  animation: aurora-rotate 5s linear infinite;
}

.camp--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 6px var(--primary-soft);
}

.camp__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

.camp__date {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, .96);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.camp__flag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.camp__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.camp__head {
  margin-bottom: 14px;
}

.camp__head h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.camp__location {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.camp__desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.camp__meta {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
  margin-bottom: 22px;
}

.camp__meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
}

.camp__meta li:first-child {
  padding-left: 0;
  border-left: 0;
}

.camp__meta span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.camp__meta strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.camp__includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  flex: 1;
}

.camp__includes li {
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.camp__includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.camp__note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.camp__note.muted {
  background: var(--bg);
  color: var(--muted);
  border-left-color: var(--primary);
}

@media (max-width: 880px) {
  .camps__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PRICING DETAILS (real cennik) ---------- */
.price__city {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.pricing__details {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pricing__detail {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing__detail strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.pricing__detail span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.pricing__detail a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}

.pricing__detail a:hover {
  color: var(--accent);
}

.pricing__detail a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 920px) {
  .pricing__details {
    grid-template-columns: 1fr;
  }
}

/* signup link inline */
.signup__link {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.signup__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- SCHEDULE ---------- */
.schedule {
  background:
    linear-gradient(180deg, transparent 0, var(--bg-2) 35%, var(--bg-2) 65%, transparent 100%);
}

.schedule__layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.schedule__copy {
  padding-top: 12px;
}

.schedule__cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.schedule__table {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule__row {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.4fr 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--ink);
  transition: background-color .15s var(--ease);
}

.schedule__row:last-child {
  border-bottom: 0;
}

.schedule__row:not(.schedule__row--head):hover {
  background: var(--bg);
}

.schedule__row--head {
  background: var(--bg);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0.02em;
}

.pill {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
}

.pill--ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.pill--low {
  background: var(--warn-bg);
  color: var(--warn);
}

.pill--full {
  background: var(--bad-bg);
  color: var(--bad);
}

@media (max-width: 920px) {
  .schedule__layout {
    grid-template-columns: 1fr;
  }

  .schedule__row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    padding: 14px 18px;
  }

  .schedule__row span:nth-child(3),
  .schedule__row span:nth-child(4) {
    font-size: 13px;
  }

  .schedule__row--head {
    display: none;
  }
}

/* ---------- ABOUT ---------- */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 35%, var(--bg) 100%);
}

.about__aurora {
  position: absolute;
  inset: 5% -15% 5% -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 50% at 22% 45%, rgba(255, 0, 102, .22) 0%, transparent 60%),
    radial-gradient(45% 55% at 75% 55%, rgba(127, 199, 224, .30) 0%, transparent 60%),
    radial-gradient(40% 40% at 50% 30%, rgba(10, 61, 98, .12) 0%, transparent 60%);
  filter: blur(70px);
  opacity: .85;
  animation: aurora-band-drift 42s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aurora-band-drift {
  0% { transform: scale(1) rotate(0deg) translateX(0); }
  100% { transform: scale(1.12) rotate(18deg) translateX(-30px); }
}

.about > .container {
  position: relative;
  z-index: 1;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about__media {
  position: relative;
  aspect-ratio: 1 / 1;
}

.about__img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about__img--1 {
  top: 0;
  left: 0;
  width: 70%;
  height: 80%;
  z-index: 1;
}

.about__img--2 {
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  z-index: 2;
  border: 8px solid var(--bg);
}

.about__sticker {
  position: absolute;
  width: 130px;
  height: 130px;
  top: -10px;
  right: 8%;
  z-index: 3;
  animation: spin 22s linear infinite;
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.about__copy p {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}

.about__copy strong {
  color: var(--ink);
}

.about__more {
  margin-top: 30px;
  display: inline-block;
}

@media (max-width: 880px) {
  .about__layout {
    grid-template-columns: 1fr;
  }

  .about__media {
    aspect-ratio: 4/3;
    max-width: 560px;
  }
}

/* ---------- TRAINERS (marquee) ---------- */
.trainers {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  overflow: hidden;
  position: relative;
}

.trainers-viewport {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.trainers-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.trainers-track {
  display: flex;
  gap: 26px;
  width: max-content;
  padding: 14px clamp(20px, 4vw, 40px);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.trainer-slide {
  position: relative;
  flex: 0 0 clamp(320px, 26vw, 400px);
  background:
    radial-gradient(280px circle at var(--mx, -200%) var(--my, -200%),
      rgba(255, 0, 102, .12) 0%, rgba(127, 199, 224, .08) 35%, transparent 70%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translate3d(0, var(--lift, 0px), 0);
  transform-style: preserve-3d;
  transition:
    transform .25s ease-out,
    box-shadow .5s var(--ease),
    border-color .35s var(--ease);
}

.trainer-slide::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--aurora-rotation, 0deg), var(--accent), var(--aurora-cyan), var(--primary), var(--accent));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 4;
}

.trainer-slide:hover::after,
.trainer-slide:focus-within::after,
.trainer-slide.is-open::after {
  opacity: 1;
  animation: aurora-rotate 5s linear infinite;
}

.trainer-slide:hover,
.trainer-slide:focus-visible,
.trainer-slide.is-open {
  --lift: -4px;
  box-shadow: 0 24px 50px -28px rgba(10, 23, 38, .35);
  border-color: rgba(10, 23, 38, .14);
}

.trainer-slide:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.trainer-slide__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}

.trainer-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 1.2s var(--ease);
}

.trainer-slide:hover .trainer-slide__media img,
.trainer-slide:focus-within .trainer-slide__media img,
.trainer-slide.is-open .trainer-slide__media img {
  transform: scale(1.05);
}

.trainer-slide__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 22px 24px;
  background: linear-gradient(180deg, rgba(10, 23, 38, 0) 0%, rgba(10, 23, 38, .5) 45%, rgba(10, 23, 38, .94) 100%);
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform .55s var(--ease),
    opacity .35s var(--ease);
  pointer-events: none;
  will-change: transform, opacity;
}

.trainer-slide:hover .trainer-slide__overlay,
.trainer-slide:focus-within .trainer-slide__overlay,
.trainer-slide.is-open .trainer-slide__overlay {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.trainer-slide__role {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.trainer-slide__bio {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}

.trainer-slide__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.trainer-slide__tags li {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
}

.trainer-slide__base {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trainer-slide__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

.trainer-slide__role-base {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.trainer-slide__role-base--lead {
  color: var(--accent);
  font-weight: 600;
}

/* Arrows */
.trainers-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -14px rgba(10, 23, 38, .35);
  transition:
    transform .25s var(--ease-spring),
    background-color .2s var(--ease),
    color .2s var(--ease),
    border-color .2s var(--ease);
}

.trainers-arrow:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-50%) scale(1.06);
}

.trainers-arrow:active {
  transform: translateY(-50%) scale(.96);
}

.trainers-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.trainers-arrow--prev {
  left: clamp(8px, 2vw, 24px);
}

.trainers-arrow--next {
  right: clamp(8px, 2vw, 24px);
}

@media (max-width: 880px) {
  .trainers-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .trainers-track {
    padding: 10px 18px;
    transform: none !important;
  }

  .trainer-slide {
    flex: 0 0 min(86vw, 360px);
    scroll-snap-align: center;
  }

  .trainer-slide[aria-hidden="true"] {
    display: none;
  }

  .trainer-slide__media {
    aspect-ratio: 3 / 4;
  }

  .trainer-slide__overlay {
    justify-content: flex-start;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 23, 38, .78) 0%, rgba(10, 23, 38, .94) 100%);
  }

  .trainer-slide:hover:not(.is-open)::after,
  .trainer-slide:focus-within:not(.is-open)::after {
    opacity: 0;
    animation: none;
  }

  .trainer-slide:hover:not(.is-open) .trainer-slide__media img,
  .trainer-slide:focus-within:not(.is-open) .trainer-slide__media img {
    transform: none;
  }

  .trainer-slide:hover:not(.is-open) .trainer-slide__overlay,
  .trainer-slide:focus-within:not(.is-open) .trainer-slide__overlay {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }

  .trainer-slide__bio {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .trainer-slide__tags {
    margin-top: 12px;
  }

  .trainers-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trainer-slide,
  .trainer-slide__media img,
  .trainer-slide__overlay {
    transition: none;
  }
}

/* ---------- CAMPS ---------- */
.camps__card {
  position: relative;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(255, 0, 102, .35), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 70px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.camps__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 18px 18px;
  z-index: -1;
  opacity: .5;
}

.camps__copy p {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  max-width: 50ch;
}

.camps__points {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.camps__points li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: 14px;
}

.camps__points li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.camps__points span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, .12);
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  letter-spacing: 0.02em;
}

.camps__ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.camps__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

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

.camps__price {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--accent);
  color: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
}

.camps__price span {
  font-size: 12px;
  font-weight: 500;
  opacity: .9;
  letter-spacing: 0.04em;
}

.camps__price strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 880px) {
  .camps__card {
    grid-template-columns: 1fr;
  }

  .camps__media {
    aspect-ratio: 16/10;
    max-height: 420px;
  }
}

/* ---------- PRICING ---------- */
.pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-2);
}

.pricing::before {
  content: "";
  position: absolute;
  top: 18%;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 0, 102, .14) 0%, transparent 65%);
  filter: blur(70px);
  z-index: -1;
  animation: blob-drift-a 36s ease-in-out infinite alternate;
}

.pricing::after {
  content: "";
  position: absolute;
  bottom: 8%;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(127, 199, 224, .28) 0%, transparent 65%);
  filter: blur(70px);
  z-index: -1;
  animation: blob-drift-b 30s ease-in-out infinite alternate;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .25s var(--ease);
  isolation: isolate;
}

.price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--aurora-rotation, 0deg), var(--accent), var(--aurora-cyan), var(--primary), var(--accent));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 0;
}

.price:hover::before,
.price:focus-within::before {
  opacity: .9;
  animation: aurora-rotate 5s linear infinite;
}

.price__flag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  z-index: 2;
}

.price--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.price--featured::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    115deg,
    var(--accent) 0%,
    var(--aurora-cyan) 25%,
    #fff5e6 45%,
    var(--accent) 65%,
    var(--aurora-cyan) 85%,
    var(--accent) 100%
  );
  background-size: 250% 100%;
  background-position: 0% 0%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  animation: holo-flow 6s linear infinite;
}

@keyframes holo-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 250% 0%; }
}

.price--featured:hover::before {
  opacity: 0;
}

.price h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.price__amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price__amount em {
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.price__sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.price ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex: 1;
}

.price__tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  align-self: flex-start;
  padding: 12px 20px;
  background: var(--accent-soft);
  border: 1px dashed rgba(255, 0, 102, .3);
  border-radius: 14px;
  margin-top: auto;
}

.price__tag-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.price__tag-unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.price__tag--accent {
  background: var(--accent);
  border-color: var(--accent);
  border-style: solid;
  box-shadow: 0 8px 22px -10px rgba(255, 0, 102, .55);
}

.price__tag--accent .price__tag-amount {
  color: #fff;
}

.price__tag--accent .price__tag-unit {
  color: rgba(255, 255, 255, .85);
}

.pricing__cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing__cta-note {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.5;
}

.price ul li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.price ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing__note {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 920px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .price--featured {
    order: -1;
  }
}

/* ---------- FAQ ---------- */
.faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__list details {
  border-bottom: 1px solid var(--line);
}

.faq__list details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  padding: 24px 4px;
  border-radius: 6px;
  user-select: none;
}

.faq__list details summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

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

.faq__list details .faq__answer {
  overflow: hidden;
}

.faq__list details .faq__answer p {
  margin: 0;
  padding: 0 4px 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 60ch;
}

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  position: relative;
  transition: background-color .2s var(--ease), transform .35s var(--ease-spring);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
}

.faq__icon::before {
  top: 50%;
  left: 25%;
  right: 25%;
  height: 2px;
  transform: translateY(-1px);
}

.faq__icon::after {
  left: 50%;
  top: 25%;
  bottom: 25%;
  width: 2px;
  transform: translateX(-1px);
  transition: transform .3s var(--ease);
}

details[open]:not([data-closing]) .faq__icon {
  background: var(--accent);
}

details[open]:not([data-closing]) .faq__icon::before {
  background: #fff;
}

details[open]:not([data-closing]) .faq__icon::after {
  transform: translateX(-1px) scaleY(0);
  background: #fff;
}

details[open]:not([data-closing]) summary {
  color: var(--accent);
}

.faq__list .section__lead a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 880px) {
  .faq__layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- SIGNUP ---------- */
.signup__card {
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(255, 0, 102, .25), transparent 60%),
    linear-gradient(160deg, #0c1726 0%, #0a3d62 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.signup__card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 102, .35), transparent 70%);
  bottom: -160px;
  right: -160px;
  filter: blur(20px);
}

.signup__copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, .82);
  max-width: 40ch;
  font-size: 1.05rem;
  line-height: 1.65;
}

.signup__form {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.signup__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.signup__action {
  position: relative;
  grid-column: 1 / -1;
}

.signup__submit-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}

.signup__submit-row.is-leaving {
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
}

.signup__fields input:disabled,
.signup__fields select:disabled,
.signup__fields textarea:disabled {
  opacity: 1;
  cursor: default;
  -webkit-text-fill-color: inherit;
  color: #fff;
}

.signup__fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
}

.signup__full {
  grid-column: 1 / -1;
}

.signup__fields input {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.signup__fields input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.signup__fields input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .12);
}

.signup__fields input:user-invalid {
  border-color: #ff8aa7;
  background: rgba(255, 138, 167, .08);
}

.signup__fields button {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.signup__legal {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.signup__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transition: opacity .26s var(--ease-spring), transform .26s var(--ease-spring);
}

.signup__success[hidden] {
  display: none;
}

.signup__success.is-revealed {
  opacity: 1;
  transform: none;
}

.signup__success-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.signup__success h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.signup__success p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.4;
}

.success-check {
  flex-shrink: 0;
}

.success-check__circle,
.success-check__path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.signup__success.is-revealed .success-check__circle {
  animation: success-draw .5s .05s var(--ease) forwards;
}

.signup__success.is-revealed .success-check__path {
  animation: success-draw .35s .35s var(--ease) forwards;
}

.signup__success.is-revealed .success-check {
  animation: success-pop .5s .05s var(--ease-spring);
}

@keyframes success-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes success-pop {
  0% { transform: scale(.6); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.confetti-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
  contain: layout style;
}

@media (max-width: 880px) {
  .signup__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .signup__fields {
    grid-template-columns: 1fr;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0c1726;
  color: rgba(255, 255, 255, .8);
  padding-top: clamp(60px, 8vw, 100px);
  margin-top: clamp(40px, 6vw, 80px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 60px;
}

.footer__brand {
  max-width: 380px;
}

.footer__logo {
  display: block;
  width: 160px;
  margin-bottom: 22px;
  border-radius: 12px;
  overflow: hidden;
}

.footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__about {
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.6;
  margin-bottom: 22px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.footer__socials a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.footer__socials a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 18px;
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .8);
  padding: 6px 0;
  transition: color .2s var(--ease);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__col a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.footer__bottom-mark {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- CAMPS PAGE — HERO ---------- */
.cp-hero {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 clamp(110px, 14vw, 180px);
  overflow: hidden;
  isolation: isolate;
}

.cp-hero__bg {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(55% 45% at 18% 28%, rgba(255, 0, 102, .14) 0%, transparent 60%),
    radial-gradient(50% 50% at 82% 22%, rgba(127, 199, 224, .32) 0%, transparent 62%),
    radial-gradient(55% 50% at 28% 78%, rgba(10, 61, 98, .14) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: aurora-drift 18s ease-in-out infinite alternate;
  z-index: -1;
}

.cp-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 23, 38, .055) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: .7;
}

.cp-hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.cp-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.cp-hero__accent {
  position: relative;
  white-space: nowrap;
  isolation: isolate;
  display: inline-block;
  color: #fff;
}

.cp-hero__accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 6%;
  height: 28%;
  background: var(--accent);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-5deg);
}

.cp-hero__lead {
  margin-top: 24px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}

.cp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cp-hero__stats {
  list-style: none;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  max-width: 380px;
}

.cp-hero__stats li {
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.cp-hero__stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.cp-hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.cp-hero__stats span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.cp-hero__media {
  position: relative;
  min-height: 380px;
}

.cp-hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform .6s var(--ease);
}

.cp-hero__media:hover .cp-hero__frame {
  transform: rotate(0deg);
}

.cp-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.cp-hero__tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.cp-hero__blob {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(50px);
  opacity: .2;
  z-index: -1;
}

@media (max-width: 880px) {
  .cp-hero__grid {
    grid-template-columns: 1fr;
  }
  .cp-hero__media { min-height: 0; }
  .cp-hero__frame { transform: rotate(0); }
  .cp-hero__stats { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

/* ---------- CAMPS PAGE — DETAIL SECTIONS ---------- */
.cp-detail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cp-detail::before {
  content: "";
  position: absolute;
  top: 15%;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(127, 199, 224, .2) 0%, transparent 65%);
  filter: blur(70px);
  z-index: -1;
  animation: blob-drift-a 32s ease-in-out infinite alternate;
}

.cp-detail__layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.cp-detail--reverse {
  background: var(--bg-2);
}

.cp-detail--reverse .cp-detail__layout {
  grid-template-columns: .85fr 1.15fr;
  direction: rtl;
}

.cp-detail--reverse .cp-detail__layout > * {
  direction: ltr;
}

.cp-detail__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease);
}

.cp-detail__media:hover {
  transform: translateY(-6px);
}

.cp-detail__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.cp-detail__media .camp__date {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, .96);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.cp-detail__content {
  max-width: none;
}

.cp-detail__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-top: -4px;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.cp-detail__location svg {
  color: var(--accent);
  flex-shrink: 0;
}

.cp-detail__desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 65ch;
}

.cp-detail__desc + .cp-detail__desc {
  margin-top: -8px;
}

.cp-detail__content .camp__meta {
  margin-bottom: 20px;
}

.cp-detail__content .camp__includes {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.cp-detail__content .camp__includes li {
  font-size: 13.5px;
  padding-left: 22px;
  line-height: 1.45;
}

.cp-detail__content .camp__includes li::before {
  top: 4px;
  width: 12px;
  height: 7px;
}

.cp-detail__content .camp__note {
  margin-bottom: 22px;
}

.cp-detail__subtitle {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.cp-detail__subtitle:first-of-type {
  margin-top: 0;
}

.cp-detail__site {
  margin-bottom: 16px;
  margin-top: -4px;
}

.cp-detail__site a {
  font-size: 13px;
}

@media (max-width: 880px) {
  .cp-detail__layout,
  .cp-detail--reverse .cp-detail__layout {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .cp-detail__content { max-width: none; }
  .cp-detail__content .camp__includes {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 881px) {
  .cp-detail {
    padding-top: clamp(56px, 7vw, 90px);
    padding-bottom: clamp(56px, 7vw, 90px);
  }
}

/* ---------- CAMPS PAGE — COMPARE GRID ---------- */
.cp-compare {
  background: linear-gradient(180deg, transparent 0, var(--bg-2) 30%, var(--bg-2) 70%, transparent 100%);
}

.cp-compare__grid {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cp-compare__head {
  padding: 20px 24px;
  background: var(--bg);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}

.cp-compare__head--camp {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}

.cp-compare__label {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background: var(--bg);
  display: flex;
  align-items: center;
}

.cp-compare__cell {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  transition: background-color .15s var(--ease);
}

.cp-compare__cell:nth-child(3n) {
  border-right: 0;
}

.cp-compare__grid > :nth-last-child(-n+3) {
  border-bottom: 0;
}

.cp-compare__cell:hover {
  background: var(--bg);
}

.cp-compare__cell--price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
  .cp-compare__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cp-compare__head:first-child,
  .cp-compare__label {
    grid-column: 1 / -1;
    border-right: 0;
  }
  .cp-compare__head:first-child { display: none; }
}

/* ---------- CAMPS PAGE — FORM EXTRAS ---------- */
.cp-form__fields {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cp-form__fields select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='rgba(255,255,255,.6)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  padding: 14px 40px 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.cp-form__fields select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, .12);
}

.cp-form__fields select option {
  background: #0c1726;
  color: #fff;
}

.cp-form__fields textarea {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  resize: vertical;
  min-height: 80px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.cp-form__fields textarea::placeholder {
  color: rgba(255, 255, 255, .55);
}

.cp-form__fields textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .12);
}

.cp-form__checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px;
}

.cp-form__checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.cp-form__checkbox span {
  font-size: 12.5px !important;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7) !important;
}

.cp-form__error {
  font-size: 12px !important;
  color: #ff8aa7 !important;
  min-height: 16px;
  display: block;
}

/* nav active state */
.nav__links a.is-active {
  background: rgba(10, 23, 38, .07);
  color: var(--ink);
}

/* ---------- CAMPS PAGE — SIGNUP CARD ADJUSTMENTS ---------- */
.cp-signup .signup__card {
  grid-template-columns: .85fr 1.15fr;
}

@media (max-width: 880px) {
  .cp-signup .signup__card {
    grid-template-columns: 1fr;
  }
  .cp-form__fields {
    grid-template-columns: 1fr;
  }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

.reveal[data-delay="1"] {
  transition-delay: .1s;
}

.reveal[data-delay="2"] {
  transition-delay: .2s;
}

.reveal[data-delay="3"] {
  transition-delay: .3s;
}

.reveal[data-delay="4"] {
  transition-delay: .4s;
}

/* ---------- STAGGERED REVEAL (lists) ---------- */
.reveal-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--stagger-index, 0) * 70ms);
  will-change: opacity, transform;
}

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

/* ---------- ABOUT REVEAL OVERRIDES ---------- */
.about__img--1.reveal {
  transition-delay: .15s;
  transform: translateX(-28px) translateY(20px);
}

.about__img--2.reveal {
  transition-delay: .4s;
  transform: translateX(28px) translateY(28px);
}

.about__img.reveal.is-visible {
  transform: none;
}

/* ============================================
   ZAPISY — podstrona z widgetem ActiveNow
   ============================================ */

/* ---------- KOMPAKTOWY HERO ---------- */
.zapisy-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 7vw, 88px) 0 clamp(24px, 3vw, 36px);
  overflow: hidden;
}

.zapisy-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(255, 0, 102, .14), transparent 60%),
    radial-gradient(45% 60% at 5% 100%, rgba(127, 199, 224, .25), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.zapisy-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(10, 23, 38, .045) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mix-blend-mode: multiply;
  opacity: .6;
}

.zapisy-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px;
}

.zapisy-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}

.zapisy-hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- POZIOMY GRUP ---------- */
.section.zapisy-levels {
  padding: clamp(28px, 3.5vw, 48px) 0;
}

.zapisy-levels .section__head {
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.zapisy-levels .section__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.zapisy-levels .section__lead {
  margin-top: 10px;
  font-size: .95rem;
}

.zapisy-widget-section .section__title,
.zapisy-schedule-section .section__title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.zapisy-widget-section .section__lead,
.zapisy-schedule-section .section__lead {
  margin-top: 8px;
  font-size: .95rem;
}

.zapisy-levels__group {
  margin-top: clamp(20px, 2.5vw, 32px);
}

.zapisy-levels__group:first-of-type {
  margin-top: 0;
}

.zapisy-levels__group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.zapisy-levels__group-head .programs__col-tag {
  width: 44px;
  height: 44px;
  font-size: 19px;
  border-radius: 12px;
}

.zapisy-levels__group-head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 3px;
}

.zapisy-levels__group-head p {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.zapisy-levels__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px clamp(18px, 2.5vw, 28px);
}

.zapisy-level-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  transition: padding-left .25s var(--ease);
}

.zapisy-level-row:last-child {
  border-bottom: 0;
}

.zapisy-level-row:hover {
  padding-left: 6px;
}

.zapisy-level-row > .program-list__badge {
  margin-top: 1px;
}

.zapisy-level-row p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
}

/* ---------- WIDGET + GRAFIK SEKCJE ---------- */
.zapisy-widget-section,
.zapisy-schedule-section {
  padding: clamp(28px, 3.5vw, 56px) 0;
}

.zapisy-widget-section {
  background: var(--bg);
}

.zapisy-schedule-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
}

.zapisy-widget__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
  max-width: 720px;
}

.zapisy-widget__head .section__lead {
  margin-top: 4px;
}

.zapisy-widget,
.zapisy-schedule {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 32px);
  min-height: 280px;
  box-shadow: var(--shadow-sm);
}

.zapisy-widget__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
}

.zapisy-widget__placeholder small {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- ACTIVENOW WIDGET — CSS OVERRIDES ----------
   UWAGA: dokladne klasy ActiveNow trzeba zlapac z DevTools po podmianie
   placeholdera na wlasciwy embed. Ponizsze selektory sa hipotetyczne — do
   uscislenia. Prefix .zapisy-widget / .zapisy-schedule scope'uje overrides
   wylacznie do tej podstrony, zeby nie wyciekly globalnie. */

/* Buttony zapisu (klasy do uscislenia po inspekcji DOM-u widgetu) */
.zapisy-widget button,
.zapisy-widget [role="button"] {
  font-family: var(--font-display);
}

/* Inputy / selecty filtrow */
.zapisy-widget input,
.zapisy-widget select,
.zapisy-widget textarea {
  font-family: var(--font-body);
}

/* Linki w widgecie */
.zapisy-widget a:not(.btn),
.zapisy-schedule a:not(.btn) {
  color: var(--accent);
}

/* Placeholdery do podmiany na wlasciwe selektory ActiveNow:
   .zapisy-widget .activenow-slot { ... }
   .zapisy-widget .activenow-btn-zapisz { background: var(--accent); ... }
   .zapisy-widget .activenow-filter-row { ... }
   .zapisy-schedule .activenow-grid-cell { ... }
*/

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-stagger {
    opacity: 1;
    transform: none;
    transition-delay: 0s !important;
  }

  .about__sticker,
  .eyebrow__dot,
  .hero__media-tag-dot,
  .hero__bg,
  .about__aurora,
  .programs::before,
  .programs::after,
  .pricing::before,
  .pricing::after,
  .camps::before,
  .price--featured::after,
  .trainer-slide::after,
  .price::before,
  .camp::after {
    animation: none !important;
  }
}
