:root {
  --text: #f7f9fc;
  --muted: #b5c0d0;
  --accent: #C6D92F;
  --accent-2: #d6e840;
  --stroke: rgba(255, 255, 255, 0.1);
  --font: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(160deg, #000000 0%, #0d1f00 100%);
  min-height: 100vh;
}

/* Ambient overlay */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, rgba(198, 217, 47, 0.08), rgba(214, 232, 64, 0.04) 50%, transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 12px);
}

/* Main card */
.postcard {
  position: relative;
  z-index: 1;
  width: min(1040px, 92%);
  margin: 0 auto 40px;
  padding: 40px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 1px rgba(198, 217, 47, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 8px 32px rgba(198, 217, 47, 0.06);
  animation: fadeIn 0.7s ease both;
}

/* Top navigation bar */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
}

.topnav-inner {
  width: min(1040px, 92%);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topnav-brand img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.topnav-links a {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.topnav-links a:hover {
  color: var(--accent-2);
}

/* Burger button — hidden on desktop */
.topnav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.topnav-burger span {
  display: block;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.topnav-burger:hover span {
  background: var(--accent);
}

/* Burger → X when open */
.topnav.open .topnav-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.topnav.open .topnav-burger span:nth-child(2) {
  opacity: 0;
}
.topnav.open .topnav-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 680px) {
  .topnav-burger {
    display: flex;
  }

  .topnav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--stroke);
    padding: 8px 0;
  }

  .topnav.open .topnav-links {
    display: flex;
  }

  .topnav-links a {
    padding: 14px 24px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .topnav-links a:last-child {
    border-bottom: none;
  }

  .topnav-links a:hover {
    background: rgba(198, 217, 47, 0.06);
  }
}

/* Hero section — full-width with background image */
.hero-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url(background.png) center/cover no-repeat;
  filter: brightness(0.28);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 14px),
    linear-gradient(120deg, rgba(198, 217, 47, 0.04) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, 92%);
  margin: 0 auto;
  padding: 0 40px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
}

/* Hero */
.hero {
  animation: reveal 0.8s ease-out both;
  display: flex;
  flex-direction: column;
}

.hero-location {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-location span {
  color: var(--accent);
}

.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.hero-btn {
  display: block;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-btn-primary {
  background: var(--accent);
  color: #000;
  border: 1px solid transparent;
}

.hero-btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 28px rgba(198, 217, 47, 0.45);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.45);
}

.topnav-logo {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: min(160px, 22vw);
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(198, 217, 47, 0.2);
}

.hero-text-wrap {
  text-align: left;
}

.hero-rotating {
  position: relative;
  height: clamp(2.8rem, 7vw, 5.2rem);
  overflow: hidden;
}

.hero-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 1;
  pointer-events: none;
}

.hero-title span {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-title.active {
  pointer-events: auto;
}

.hero-title.active span {
  opacity: 1;
}

.hero-title.exit span {
  opacity: 0;
}

.services-list {
  display: flex;
  flex: 1;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.55;
  max-width: 460px;
  flex: 1;
  opacity: 0;
  animation: reveal 0.7s ease both;
  animation-delay: 0.45s;
  transition: color 0.2s ease;
  cursor: default;
}

.hero-subtitle:hover {
  color: var(--accent);
}

/* Typography */
h1, h2 {
  font-family: var(--font);
  font-weight: 900;
  margin: 0;
  line-height: 1.06;
}


/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.04);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item--photo {
  box-shadow: 0 0 0 2px var(--accent), 0 0 24px rgba(198, 217, 47, 0.18);
}

.gallery-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.gallery-badge-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.gallery-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* Tabs */
.tabs-section {
  margin-top: 48px;
}

.tabs-nav {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tab-btn {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 18px rgba(198, 217, 47, 0.4);
}

.tabs-content {
  display: grid;
}

.tab-panel {
  position: relative;
  grid-area: 1 / 1;
  padding: 28px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  visibility: hidden;
}

.tab-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

/* Info list */
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-left-color 0.2s ease;
}

.info-list li:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
  border-left-color: var(--accent);
}

.info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.info-label svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.hours-list li {
  padding: 18px 14px;
}

.hours-time {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-2) !important;
  letter-spacing: 0.03em;
}

.hours-dayoff {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted) !important;
  opacity: 0.7;
}

.info-value {
  font-weight: 800;
  color: var(--accent-2);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.info-value a {
  color: var(--accent-2);
  text-decoration: none;
  transition: opacity 0.2s;
}

.info-value a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Map */
.map-wrap {
  margin-top: 16px;
}

.map-wrap iframe {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  border: 1px solid rgba(214, 232, 64, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Social footer */
.social-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.social-link:hover {
  color: var(--accent-2);
  border-color: rgba(214, 232, 64, 0.35);
  background: rgba(198, 217, 47, 0.07);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(198, 217, 47, 0.15);
}

.map-section {
  line-height: 0;
}

/* Offset anchor scroll for fixed navbar */
.page-section,
.info-strip,
#gallery {
  scroll-margin-top: 64px;
}

#classes {
  z-index: 3;
}

/* Page sections (Classes, Gym Rules, etc.) */
.section-black {
  background: #000;
}

.page-section {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}

.page-section-inner {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.page-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 40px;
}

.schedule-note-inline {
  text-align: right;
  font-size: 0.72rem;
  font-weight: 500;
  font-style: italic;
  color: var(--muted);
  opacity: 0.7;
  margin: 12px max(4%, calc((100% - 1040px) / 2)) 0;
}

/* Gym Rules section — black with diagonal stripe */
#gym-rules {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 12px),
    #000;
}

.trust-bar {
  position: relative;
  z-index: 2;
  background: rgba(198, 217, 47, 0.06);
  border-top: 1px solid rgba(198, 217, 47, 0.15);
  border-bottom: 1px solid rgba(198, 217, 47, 0.15);
}

.trust-bar-inner {
  width: min(1040px, 92%);
  margin: 0 auto;
  padding: 12px 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-bar--highlight {
  background: rgba(198, 217, 47, 0.1);
  border-bottom: none;
}

.trust-bar--highlight .trust-bar-text {
  color: var(--accent);
  font-weight: 600;
}

.trust-bar-logo {
  width: 32px;
  flex-shrink: 0;
  border-radius: 4px;
}

.trust-bar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.trust-bar-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.trust-bar-dot {
  color: rgba(198, 217, 47, 0.4);
  font-size: 1rem;
  line-height: 1;
}

.trainers-cert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--stroke);
  border-radius: 14px;
}

.trainers-cert-logo {
  width: 56px;
  flex-shrink: 0;
  border-radius: 6px;
}

.trainers-cert-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.nutrition-cert-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.nutrition-intro {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nutrition-intro:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.nutrition-intro:hover .nutrition-intro-text {
  color: #000;
}

.nutrition-intro:hover .koa-highlight {
  color: #000;
}

.koa-logo {
  width: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  order: 2;
}

.nutrition-intro-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  order: 1;
  transition: color 0.3s ease;
}

.koa-highlight {
  color: var(--accent);
  transition: color 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .nutrition-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .koa-logo {
    order: 1;
  }

  .nutrition-intro-text {
    order: 2;
  }
}

/* Gym Rules list */
.rules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--stroke);
  transition: background 0.3s ease, border-color 0.3s ease;
}

#nutrition .rules-list li,
#gym-rules .rules-list li {
  cursor: pointer;
}

#nutrition .rules-list li .rules-label,
#nutrition .rules-list li .rules-value,
#gym-rules .rules-list li .rules-label,
#gym-rules .rules-list li .rules-value {
  transition: color 0.3s ease;
}

#nutrition .rules-list li:hover,
#gym-rules .rules-list li:hover {
  background: var(--accent);
  border-color: var(--accent);
}

#nutrition .rules-list li:hover .rules-label,
#nutrition .rules-list li:hover .rules-value,
#gym-rules .rules-list li:hover .rules-label,
#gym-rules .rules-list li:hover .rules-value {
  color: #000;
}

.rules-list li:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.rules-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.rules-value {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

/* Membership section */
.membership-group {
  margin-bottom: 40px;
}

.membership-group:last-child {
  margin-bottom: 0;
}

.membership-group-title {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.membership-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.membership-card:hover {
  background: rgba(198, 217, 47, 0.06);
  border-color: rgba(198, 217, 47, 0.25);
  transform: translateY(-2px);
}

.membership-card--offer {
  position: relative;
  cursor: pointer;
}




.membership-offer-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 300px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #0f140f;
  border: 1px solid rgba(198, 217, 47, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(6px);
  text-align: left;
}

.membership-card--offer:hover .membership-offer-tooltip,
.membership-card--offer:focus-visible .membership-offer-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.membership-offer-tooltip-desc {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.membership-offer-tooltip-title {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.membership-offer-tooltip-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.membership-offer-tooltip-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}

.membership-offer-tooltip-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.membership-offer-tooltip-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
  border-top: 1px solid var(--stroke);
  padding-top: 10px;
}

.membership-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.membership-price {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}

.membership-per-month {
  margin: 6px 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

/* Info strip — 3-column bar at the bottom of the hero */
.info-strip {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-strip-inner {
  width: min(1040px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.info-strip-col {
  padding: 36px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.info-strip-col:last-child {
  border-right: none;
}

.info-strip-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.info-strip-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}

.info-strip-accent {
  color: var(--accent-2);
  font-weight: 800;
}

.info-strip-muted {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.5;
  opacity: 0.75;
}

.info-strip-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-strip-link:hover {
  color: var(--accent-2);
}

.info-strip-link[href^="tel"] {
  margin-top: 0;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
}

.info-strip-socials {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.info-strip-socials a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.info-strip-socials a:hover {
  color: var(--accent-2);
}

/* Animations */
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Schedule */
.schedule {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  overflow: visible;
}

.schedule-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 72px;
}

.schedule-day-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(198, 217, 47, 0.2);
}

.schedule-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(198, 217, 47, 0.06);
  border: 1px solid rgba(198, 217, 47, 0.15);
  text-align: center;
  cursor: default;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.schedule-cell:hover,
.schedule-cell:focus-visible {
  background: rgba(198, 217, 47, 0.12);
  border-color: rgba(198, 217, 47, 0.35);
  outline: none;
  z-index: 1;
}

.schedule-cell:hover .schedule-tooltip,
.schedule-cell:focus-visible .schedule-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.schedule-col:first-child .schedule-cell:hover .schedule-tooltip,
.schedule-col:first-child .schedule-cell:focus-visible .schedule-tooltip {
  transform: translateY(0);
}

.schedule-col:last-child .schedule-cell:hover .schedule-tooltip,
.schedule-col:last-child .schedule-cell:focus-visible .schedule-tooltip {
  transform: translateY(0);
}

/* Tooltip */
.schedule-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 210px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0f140f;
  border: 1px solid rgba(198, 217, 47, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: left;
}

.schedule-col:first-child .schedule-tooltip {
  left: 0;
  transform: translateY(6px);
}

.schedule-col:last-child .schedule-tooltip {
  left: auto;
  right: 0;
  transform: translateY(6px);
}

.tooltip-what {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.tooltip-label {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.tooltip-list {
  margin: 0 0 10px;
  padding-left: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}

.tooltip-format {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

.tooltip-format strong {
  color: var(--text);
  font-weight: 700;
}

.schedule-class {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.schedule-time {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-2);
}

.schedule-note {
  position: absolute;
  bottom: 16px;
  right: 20px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.7;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .postcard,
  .hero,
  .hero-content,
  .hero-subtitle,
  .map-wrap.visible {
    animation: none;
  }

  .hero-title,
  .tab-panel,
  .scroll-reveal,
  .brand-logo,
  .tab-btn,
  .info-list li,
  .social-link,
  .schedule-cell,
  .schedule-tooltip,
  .hero-btn,
  .info-strip-link {
    transition: none;
  }

  .hero-title span {
    transition: none;
  }

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

/* Mobile */
@media (max-width: 480px) {
  .info-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .info-value {
    text-align: left;
  }

  #tab-prices .info-list li,
  #tab-hours .info-list li {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  .hero-content {
    padding: 0 20px 36px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .services-list {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    flex: none;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
  }

  .services-list .hero-subtitle {
    font-size: 16px;
    line-height: 1.3;
    flex: none;
    max-width: none;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  .info-strip-inner {
    grid-template-columns: 1fr;
  }

  .info-strip-col {
    padding: 24px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .info-strip-col:last-child {
    border-bottom: none;
  }

  .postcard {
    margin: 0 auto 16px;
    padding: 22px;
    border-radius: 22px;
  }

  .brand-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
  }

  .brand-logo {
    width: min(120px, 30vw);
  }

  .brand-name {
    width: min(200px, 52vw);
    height: min(60px, 14vw);
  }

  .tabs-nav {
    flex-wrap: wrap;
    border-radius: 999px;
  }

  .tab-btn {
    flex: 1 1 40%;
    text-align: center;
  }

  .tab-panel {
    padding: 20px;
  }

  .gallery-grid,
  .tabs-section {
    margin-top: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .gallery-badge {
    bottom: 10px;
    padding: 4px 10px;
  }

  .schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-x: visible;
  }

  .schedule-col {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .schedule-day-label {
    width: 36px;
    flex-shrink: 0;
    padding-bottom: 0;
    padding-right: 10px;
    border-bottom: none;
    border-right: 1px solid rgba(198, 217, 47, 0.2);
    text-align: right;
    align-self: center;
  }

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

  .schedule-cell {
    flex: 1 1 0;
    min-width: 0;
  }

  .schedule-note {
    right: 0;
    left: 0;
    text-align: center;
  }

  .schedule-tooltip {
    top: calc(100% + 8px);
    bottom: auto;
    left: 0;
    right: auto;
    transform: none;
    width: 200px;
    transition: none;
  }

  /* Сброс десктопного hover — браузер держит :hover после тача */
  .schedule-cell:hover .schedule-tooltip,
  .schedule-cell:focus-visible .schedule-tooltip {
    opacity: 0;
    transform: none;
    pointer-events: none;
  }

  /* Показ только через tap (JS-класс) — идёт после hover-сброса */
  .schedule-cell.tooltip-open {
    z-index: 1;
  }
  .schedule-cell.tooltip-open .schedule-tooltip {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .schedule-col .schedule-cell:nth-child(3) .schedule-tooltip {
    left: auto;
    right: 0;
  }

  /* Monday: Cross Training 18:15 — centered under cell */
  .schedule-col:first-child .schedule-cell:nth-child(3) .schedule-tooltip {
    left: 50%;
    right: auto;
  }
  .schedule-col:first-child .schedule-cell:nth-child(3).tooltip-open .schedule-tooltip {
    transform: translateX(-50%);
  }

  /* Monday: Hips & Abs — right-aligned like Cross Training 18:15 */
  .schedule-col:first-child .schedule-cell:nth-child(4) .schedule-tooltip {
    left: auto;
    right: 0;
  }

  /* Tuesday, Thursday: 3 classes — Monday pattern (nth-child(3) centered, nth-child(4) right) */
  .schedule-col:nth-child(2) .schedule-cell:nth-child(3) .schedule-tooltip,
  .schedule-col:nth-child(4) .schedule-cell:nth-child(3) .schedule-tooltip {
    left: 50%;
    right: auto;
  }
  .schedule-col:nth-child(2) .schedule-cell:nth-child(3).tooltip-open .schedule-tooltip,
  .schedule-col:nth-child(4) .schedule-cell:nth-child(3).tooltip-open .schedule-tooltip {
    transform: translateX(-50%);
  }
  .schedule-col:nth-child(2) .schedule-cell:nth-child(4) .schedule-tooltip,
  .schedule-col:nth-child(4) .schedule-cell:nth-child(4) .schedule-tooltip {
    left: auto;
    right: 0;
  }

  /* Friday: tooltips open upward, Monday pattern for 3 classes */
  .schedule-col:last-child .schedule-cell:nth-child(2) .schedule-tooltip {
    top: auto;
    bottom: calc(100% + 8px);
    left: 0;
    right: auto;
  }

  .schedule-col:last-child .schedule-cell:nth-child(3) .schedule-tooltip {
    top: auto;
    bottom: calc(100% + 8px);
    left: 50%;
    right: auto;
  }
  .schedule-col:last-child .schedule-cell:nth-child(3).tooltip-open .schedule-tooltip {
    transform: translateX(-50%);
  }

  .schedule-col:last-child .schedule-cell:nth-child(4) .schedule-tooltip {
    top: auto;
    bottom: calc(100% + 8px);
    left: auto;
    right: 0;
  }

  .membership-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .membership-card {
    padding: 14px 10px;
    border-radius: 10px;
  }

  .membership-label {
    margin-bottom: 6px;
    font-size: 0.6rem;
  }

  .membership-price {
    font-size: 1.25rem;
  }

  .membership-group {
    margin-bottom: 24px;
  }

  .membership-group-title {
    font-size: 0.65rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .membership-card--offer:hover .membership-offer-tooltip,
  .membership-card--offer:focus-visible .membership-offer-tooltip {
    opacity: 0;
  }

  .membership-card--offer.tooltip-open .membership-offer-tooltip {
    opacity: 1;
    transform: translateY(0);
  }
}
