/* Fit Club Leżajsk — mobile-first */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --ink: #101820;
  --ink-soft: #3a4550;
  --muted: #6a7580;
  --line: rgba(16, 24, 32, 0.1);
  --pink: #e02868;
  --pink-deep: #c41f58;
  --blue: #0860b0;
  --blue-deep: #064e90;
  --accent: var(--pink);
  --accent-deep: var(--pink-deep);
  --accent-2: var(--blue);
  --brand-gradient: linear-gradient(120deg, var(--pink) 0%, var(--blue) 100%);
  --white: #ffffff;
  --dark: #0b1520;
  --header-h: 5rem;
  --wrap: min(1120px, calc(100% - 2rem));
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px rgba(8, 96, 176, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--brand-gradient);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-panel-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-accent {
  background: var(--pink);
  color: var(--white);
}

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

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-deep);
}

.btn-light {
  background: var(--white);
  color: var(--pink);
}

.btn-light:hover {
  background: #f3f3f3;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #262626;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost-dark:hover {
  border-color: var(--ink);
}

/* Header — floating pill + soft blur veil */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0.85rem 0;
  pointer-events: none;
}

.header-blur {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(6.75rem + 30px);
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(247, 247, 245, 0.62) 0%,
    rgba(247, 247, 245, 0.28) 42%,
    rgba(247, 247, 245, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.45) 72%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.45) 72%,
    transparent 100%
  );
}

.header-inner {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(1120px, 100%);
  margin-inline: auto;
  min-height: 3.55rem;
  padding: 0.45rem 0.55rem 0.45rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(16, 24, 32, 0.04),
    0 10px 28px rgba(16, 24, 32, 0.07);
  transition: box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled .header-inner {
  box-shadow:
    0 1px 2px rgba(16, 24, 32, 0.05),
    0 14px 36px rgba(16, 24, 32, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
  position: relative;
  z-index: 6;
}

.logo-img {
  width: auto;
  height: 2.15rem;
  flex-shrink: 0;
}

.footer-logo {
  width: auto;
  height: 2.5rem;
}

.nav-toggle {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.75rem;
  border-radius: 8px;
  background: #ececeb;
  color: var(--ink);
}

.nav-toggle-label {
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -5px;
}

.nav-toggle-lines::after {
  top: 5px;
}

.site-header.is-open .nav-toggle-lines {
  background: transparent;
}

.site-header.is-open .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 5.5rem 1.5rem 2rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.35s ease;
}

.site-header.is-open .site-nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.nav-list a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--pink);
}

/* Top stage: white grid + hero + collage peek */

.top-stage {
  --grid-line: rgba(16, 24, 32, 0.07);
  position: relative;
  background-color: #f7f7f5;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc((100% - 5px) / 6),
    var(--grid-line) calc((100% - 5px) / 6),
    var(--grid-line) calc((100% - 5px) / 6 + 1px)
  );
}

/* Hero — no photo, BYQ-like */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  padding: calc(var(--header-h) + 2.5rem) 1rem 1.75rem;
  min-height: 58svh;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(42rem, var(--wrap));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 9.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
}

.hero-title-static {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.12em;
  letter-spacing: -0.05em;
}

.hero-rotate {
  display: block;
  width: 100%;
  max-width: 100%;
}

.hero-rotate-mask {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.25em;
  width: 100%;
  margin-inline: auto;
  padding-inline: 0.15em;
  box-sizing: border-box;
  font-size: clamp(1.75rem, 7.8vw, 3.45rem);
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 100%
  );
}

.hero-rotate-reel {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.hero-rotate-word {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.25em;
  height: 1.25em;
  width: max-content;
  max-width: none;
  line-height: 1;
  white-space: nowrap;
  color: var(--muted);
  transform-origin: center center;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Collage styles live in css/collage.css */

/* Sections */

.section {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-sygnet {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* About */

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-copy [data-about-paragraphs] p:last-child {
  margin-bottom: 0;
}

.about-stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.about-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Pricing */

.pricing {
  background: var(--bg-soft);
}

.price-list {
  display: grid;
  gap: 0.75rem;
}

.price-row {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-row-featured {
  border-color: transparent;
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.price-row-featured .price-info > p:not(.price-tag) {
  color: rgba(255, 255, 255, 0.85);
}

.price-tag {
  margin: 0 0 0.45rem !important;
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-row-featured .price-tag {
  background: #fff;
  color: #e02868;
}

.price-info h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.price-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-onsite {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.price-row-featured .price-onsite {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.price-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 54ch;
}

/* Classes */

.classes-place {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}

.classes-place-note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.classes-place-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 40rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
}

.classes-place-address:hover {
  color: var(--pink);
}

.classes-pin {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--muted);
}

.classes-place-address:hover .classes-pin {
  color: var(--pink);
}

.classes-place-directions {
  margin-top: 0.15rem;
  color: var(--pink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.classes-place-directions:hover {
  text-decoration: underline;
}

.classes-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.class-row {
  margin: 0;
}

.class-tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transform-origin: center center;
}

.class-tile.is-growing {
  will-change: transform;
  transform: scale(0.9);
}

.class-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  pointer-events: none;
}

.class-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.5) 42%,
    rgba(0, 0, 0, 0.1) 72%,
    transparent 100%
  );
}

.class-tile .class-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  justify-items: start;
  padding: 1.15rem 1.2rem 1.2rem;
  padding-right: 7.5rem;
  pointer-events: none;
}

.class-name {
  margin: 0;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.class-day,
.class-time {
  display: block;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
}

.class-day {
  margin-top: 0.15rem;
}

.class-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.class-time-icon {
  width: 0.95em;
  height: 0.95em;
  flex: 0 0 auto;
  opacity: 0.9;
}

.class-book {
  pointer-events: auto;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.class-book:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
}

.class-row > .class-copy {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
  padding: 0.85rem 0;
}

.class-row > .class-copy .class-day,
.class-row > .class-copy .class-time {
  color: var(--muted);
}

.class-row > .class-copy .class-name {
  color: var(--ink);
}

.class-row > .class-copy .class-book {
  background: var(--ink);
  color: #fff;
}

.classes-cta {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.classes-note,
.classes-verify {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.classes-note {
  color: var(--ink);
  font-weight: 500;
}

@media (min-width: 720px) {
  .classes-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .class-row {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .class-tile img {
    aspect-ratio: 4 / 3;
  }

  .class-row:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .class-row:last-child:nth-child(odd) .class-tile img {
    aspect-ratio: 21 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .class-tile.is-growing {
    transform: none;
    will-change: auto;
  }
}

/* Gallery */

.gallery {
  padding-bottom: 3rem;
}

.floor-block {
  margin-top: 2.5rem;
}

.floor-intro {
  width: var(--wrap);
  margin-inline: auto;
  margin-bottom: 1rem;
}

.floor-intro h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.floor-intro p {
  margin: 0;
  color: var(--muted);
}

[data-gallery-floors] .gallery-rail-shell {
  min-width: 0;
}

[data-gallery-floors] .gallery-rail {
  --gallery-edge: 1rem;
  --gallery-card: min(78vw, 320px);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 0.35rem 0 1.1rem;
}

[data-gallery-floors] .gallery-rail::-webkit-scrollbar {
  display: none;
}

[data-gallery-floors] .gallery-rail-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: max-content;
  padding-inline: var(--gallery-edge);
}

[data-gallery-floors] .gallery-item {
  flex: 0 0 var(--gallery-card);
  width: var(--gallery-card);
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  cursor: pointer;
}

[data-gallery-floors] .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Products */

.products {
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(224, 40, 104, 0.18), transparent 55%),
    radial-gradient(700px 380px at 100% 100%, rgba(8, 96, 176, 0.22), transparent 50%),
    var(--dark);
  color: var(--white);
}

.products .eyebrow {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.products .section-lead {
  color: rgba(255, 255, 255, 0.55);
}

.product-grid {
  display: grid;
  gap: 1rem;
}

.product {
  overflow: hidden;
  border-radius: 8px;
  background: #1a1a1a;
}

.product-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-media img,
.product img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  pointer-events: none;
}

.product-copy {
  padding: 1.25rem 1.35rem 1.5rem;
}

.product-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.product-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Reviews */

.reviews-rail {
  margin: 0;
}

.reviews-carousel {
  display: grid;
  gap: 1rem;
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 0.15rem 0 0.35rem;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-sizing: border-box;
}

.review-stars {
  margin: 0 0 0.75rem;
  color: var(--pink);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  line-height: 1;
}

.review p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.review-expand {
  display: inline-block;
  margin: 0.65rem 0 1.15rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.review-expand:hover {
  color: var(--pink-deep, #c01f58);
}

.review:not(:has(.review-expand)) p {
  margin-bottom: 1.25rem;
}

.review footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.review cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.review-meta {
  text-align: right;
}

.reviews-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.reviews-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 24, 32, 0.18);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.reviews-dot.is-active {
  background: var(--pink);
  transform: scale(1.25);
}

.reviews-dot:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.review-cta {
  margin-top: 2rem;
  padding: 1.5rem 1.25rem;
  border-radius: 8px;
  background: var(--brand-gradient);
  color: var(--white);
}

.review-cta p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 28ch;
}

.review-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.review-cta .btn-accent {
  background: var(--white);
  color: var(--pink);
}

.review-cta .btn-accent:hover {
  background: #f7f7f7;
}

.review-cta .btn-dark {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.review-cta .btn-dark:hover {
  background: rgba(255, 255, 255, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    scroll-behavior: auto;
  }
}

/* Hours */

.hours {
  background: var(--bg-soft);
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

.hours-list span {
  color: var(--ink-soft);
}

.hours-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Location */

.map-frame {
  width: min(1120px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 12;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.map-actions {
  margin-top: 1.25rem;
}

/* Contact */

.contact {
  padding-bottom: 4rem;
}

.contact-list {
  display: grid;
  gap: 0.35rem;
}

.contact-line {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-line span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-line strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a.contact-line:hover strong {
  color: var(--blue);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.socials-footer {
  margin-top: 0.9rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(8, 96, 176, 0.04);
}

.social-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--white);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand p:last-child {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.footer-cta {
  font-weight: 600;
  text-decoration: none;
}

.footer-cta:hover {
  color: var(--pink);
}

.footer-legal {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
}

.footer-legal:hover {
  color: var(--pink);
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}

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

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal-dialog {
  position: relative;
  width: min(34rem, 100%);
  max-height: min(88svh, 40rem);
  overflow: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.privacy-modal.is-open .privacy-modal-dialog {
  transform: none;
}

.privacy-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal-close:hover {
  background: var(--line);
}

.privacy-modal-title {
  margin: 0.2rem 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.2;
}

.privacy-copy {
  display: grid;
  gap: 0.9rem;
}

.privacy-copy p {
  margin: 0;
  color: var(--ink-soft, var(--ink));
  line-height: 1.55;
  font-size: 0.95rem;
}

.privacy-copy a {
  color: var(--pink);
  text-decoration: none;
}

.privacy-copy a:hover {
  text-decoration: underline;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.92);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}

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

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85svh;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.94) translateY(14px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.lightbox.is-open img {
  opacity: 1;
  transform: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease;
}

.lightbox.is-open .lightbox-close {
  opacity: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Class detail modal */

.class-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}

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

.class-modal[hidden] {
  display: none;
}

.class-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92svh, 900px);
  overflow: auto;
  border-radius: 12px;
  background: #111;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.class-modal.is-open .class-modal-dialog {
  transform: none;
}

.class-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.class-modal-close:hover {
  background: rgba(0, 0, 0, 0.65);
}

.class-modal-hero {
  position: relative;
  min-height: 240px;
  background: #1a1a1a;
}

.class-modal-hero img {
  display: block;
  width: 100%;
  height: min(42svh, 360px);
  object-fit: cover;
}

.class-modal-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #111 0%,
    rgba(17, 17, 17, 0.92) 28%,
    rgba(17, 17, 17, 0.35) 58%,
    rgba(17, 17, 17, 0.05) 78%,
    transparent 100%
  );
  backdrop-filter: blur(0px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 35%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, #000 35%, transparent 85%);
}

.class-modal-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 100%);
  mask-image: linear-gradient(to top, #000 10%, transparent 100%);
}

.class-modal-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.class-modal-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.class-modal-day,
.class-modal-time {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.class-modal-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.class-modal-body {
  display: grid;
  gap: 1.15rem;
  padding: 0.25rem 1.35rem 1.45rem;
}

.class-modal-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
}

.class-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.85rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  background: var(--pink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.class-modal-cta:hover {
  transform: translateY(-1px);
  background: var(--pink-deep);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox img,
  .lightbox-close,
  .class-modal,
  .class-modal-dialog,
  .privacy-modal,
  .privacy-modal-dialog {
    transition: none;
  }

  .lightbox img {
    transform: none;
  }
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal.is-in:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal.is-in:nth-child(3) {
  transition-delay: 0.12s;
}

/* Desktop */

@media (min-width: 768px) {
  :root {
    --wrap: min(1120px, calc(100% - 3.5rem));
    --header-h: 5.25rem;
  }

  .site-header {
    padding: 1rem 1.25rem 0;
  }

  .header-blur {
    height: calc(7.5rem + 30px);
  }

  .header-inner {
    min-height: 3.75rem;
    padding: 0.5rem 0.65rem 0.5rem 1.15rem;
    border-radius: 8px;
  }

  .logo-img {
    height: 2.35rem;
  }

  .hero {
    min-height: 56svh;
    padding: calc(var(--header-h) + 3.5rem) 1rem 2rem;
  }

  .section {
    padding: 7rem 0;
  }

  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
  }

  .price-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.5rem 1.6rem;
  }

  .price-meta {
    justify-content: flex-end;
    min-width: 220px;
  }

  [data-gallery-floors] .gallery-rail {
    --gallery-edge: 1.75rem;
    --gallery-card: 360px;
  }

  [data-gallery-floors] .gallery-rail-track {
    gap: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .review {
    flex-basis: min(520px, 70%);
  }

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

  .hours-grid .section-head,
  .contact-grid .section-head {
    margin-bottom: 0;
  }

  .map-frame {
    width: var(--wrap);
    border-radius: 8px;
    aspect-ratio: 21 / 9;
  }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: end;
  }
}

/* Navbar desktop — hamburger do 968px (768 + 200px wcześniej) */
@media (min-width: 968px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    padding: 0 0.35rem 0 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
  }

  .nav-list a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
  }
}

@media (min-width: 1024px) {
  .floor-block {
    margin-top: 3rem;
  }

  .floor-row {
    display: grid;
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
    gap: 1.25rem 1.75rem;
    align-items: center;
    padding-left: max(1.75rem, calc((100vw - 1120px) / 2));
  }

  .floor-intro {
    width: auto;
    max-width: none;
    margin: 0;
  }

  .floor-intro h3 {
    font-size: clamp(1.55rem, 2vw, 1.85rem);
  }

  [data-gallery-floors] .gallery-rail-shell {
    position: relative;
    isolation: isolate;
  }

  [data-gallery-floors] .gallery-rail {
    --gallery-edge: 0.65rem;
  }

  /* Fade na wrapperze (nie scrolluje się ze zdjęciami) */
  [data-gallery-floors] .gallery-rail-shell::before,
  [data-gallery-floors] .gallery-rail-shell::after {
    content: "";
    position: absolute;
    top: 0.35rem;
    bottom: 1.1rem;
    width: min(4.5rem, 12%);
    z-index: 2;
    pointer-events: none;
  }

  [data-gallery-floors] .gallery-rail-shell::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
  }

  [data-gallery-floors] .gallery-rail-shell::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
  }

  .review-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 1.75rem;
  }

  .review-cta p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
