/* Шрифти Inter і Oswald (кирилиця + латиниця), локально */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/oswald-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --white: #ffffff;
  --off-white: #f8f8f6;
  --light-gray: #f2f2ef;
  --mid-gray: #e4e4e0;
  --gray: #9a9a96;
  --dark-gray: #4a4a46;
  --graphite: #2a2a28;
  --black: #0d0d0c;
  --accent: #1a1a18;
  --warm: #c8b89a;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mobile-nav .mobile-link, .hero-title, .section-title,
.dir-name, .trainer-name, .cta-title, .modal-title {
  text-transform: uppercase;
  font-weight: 700;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--graphite); border-radius: 2px; }

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, box-shadow 0.4s;
}
#header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  display: flex;
  align-items: flex-start;
  height: 60px;
  text-decoration: none;
}
.logo-img {
  height: 120px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease);
}
#header.scrolled .logo-img { height: 60px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  transition: color 0.25s;
  white-space: nowrap;
}
#header.scrolled .nav-links a { color: var(--dark-gray); }
.nav-links a:hover { color: var(--white) !important; }
#header.scrolled .nav-links a:hover { color: var(--black) !important; }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--white);
  color: var(--black) !important;
  transition: background 0.25s, transform 0.2s !important;
}
#header.scrolled .nav-cta {
  background: var(--black);
  color: var(--white) !important;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.9; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
}
#header.scrolled .nav-burger span { background: var(--black); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  flex-direction: column;
  padding: calc(var(--nav-h) + 56px) 24px 32px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .mobile-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav .mobile-link:hover { color: var(--warm); }
.mobile-nav-cta {
  display: block;
  margin-top: 32px;
  padding: 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.mobile-nav-phone {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  text-decoration: none;
}

#hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 80%),
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.75) 100%),
    url('../images/home/hero.webp') center/cover no-repeat;
}
@media (max-width: 480px) {
  .hero-bg {
    background-image:
      linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 80%),
      linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.75) 100%),
      url('../images/home/hero-mobile.webp');
  }
}

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-location {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s var(--ease-out) forwards;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(56px, 8.5vw, 124px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s var(--ease-out) forwards;
}
.hero-wordmark {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.18em;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.45));
}
.hero-title em {
  font-style: normal;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.75);
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  letter-spacing: 0.3px;
  margin-bottom: 40px;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s var(--ease-out) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, opacity 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.2);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: clamp(30px, 5vw, 50px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.2s var(--ease-out) forwards;
  cursor: pointer;
}
.scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: 0.5px;
  color: var(--black);
}
.section-title-light {
  color: var(--white);
}

#about {
  padding: var(--section-pad) 0;
  background: var(--white);
}

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

.about-visual {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: var(--light-gray);
  min-height: 300px;
}
.about-accent {
  position: absolute;
  width: 45%;
  bottom: -30px;
  right: -20px;
}
.about-img-accent {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 4px solid var(--white);
  background: var(--mid-gray);
}
.about-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--black);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.4;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.about-badge span {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1;
  color: var(--warm);
}

.about-accent .about-badge {
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% - 20px);
  z-index: 1;
  text-align: center;
}

.about-text { padding: 0; }
.about-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--dark-gray);
  margin: 24px 0 40px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
}
.features-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--graphite);
  border-radius: 50%;
  flex-shrink: 0;
}

#directions {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.directions-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(40px, 5vw, 70px);
  gap: 20px;
}

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

.dir-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--black);
  cursor: pointer;
}
.dir-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.dir-card.wide { grid-column: span 2; }
@media (min-width: 1101px) {
  .directions-grid { grid-template-columns: repeat(12, 1fr); }
  .dir-card { grid-column: span 4; }
  .dir-card.featured,
  .dir-card.wide { grid-column: span 6; }
}
.dir-card-inner {
  position: relative;
  height: 100%;
  min-height: 200px;
}
.dir-card.featured .dir-card-inner { min-height: 460px; }

.dir-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%) brightness(0.75);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.dir-card:hover .dir-bg {
  filter: grayscale(10%) brightness(0.85);
  transform: scale(1.04);
}

.dir-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}

.dir-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}
.dir-card.featured .dir-content { padding: 36px; }

.dir-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.dir-name {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 36px);
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 8px;
}
.dir-card.featured .dir-name { font-size: clamp(36px, 5vw, 56px); }
.dir-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.4s;
  opacity: 0;
}
.dir-card.featured .dir-desc {
  max-height: 80px;
  opacity: 1;
}
.dir-card:hover .dir-desc { max-height: 80px; opacity: 1; }
a.dir-card { display: block; color: inherit; text-decoration: none; }
.dir-more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.7); transition: color 0.3s; }
a.dir-card:hover .dir-more, a.dir-card:focus-visible .dir-more { color: var(--yellow); }

.dir-mma    { background-image: url('../images/directions/mma.webp'); }
.dir-box    { background-image: url('../images/directions/boks.webp'); }
.dir-bjj    { background-image: url('../images/directions/dzhiu-dzhytsu.webp'); }
.dir-arm    { background-image: url('../images/directions/armwrestling.webp'); }
.dir-body   { background-image: url('../images/directions/bodybuilding.webp'); }
.dir-work   { background-image: url('../images/directions/vorkaut.webp'); }
.dir-power  { background-image: url('../images/directions/powerlifting.webp'); }

#recovery {
  padding: var(--section-pad) 0;
  background: var(--graphite);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.recovery-bg {
  position: absolute;
  inset: 0;
  background: url('../images/recovery/background.webp') center/cover no-repeat;
  filter: brightness(0.35);
}

.recovery-inner {
  position: relative;
  z-index: 2;
}

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

.recovery-text .section-label { color: rgba(255,255,255,0.4); }
.recovery-text .section-title { color: var(--white); }

.recovery-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin: 24px 0 40px;
}

.recovery-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rec-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: background 0.3s, border-color 0.3s;
}
.rec-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
.rec-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.rec-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.recovery-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 500px;
}
.rec-photo {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.rec-photo:first-child { grid-row: span 2; }
.rec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.rec-photo:hover img { transform: scale(1.03); }

#schedule {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.schedule-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--light-gray);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
}
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.schedule-table th:nth-child(1) { width: 18%; }
.schedule-table th:nth-child(2) { width: 32%; }
.schedule-table th:nth-child(3) { width: 28%; }
.schedule-table th:nth-child(4) { width: 22%; }
.schedule-table.hidden { display: none; }
.schedule-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--mid-gray);
}
.schedule-table tbody tr {
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.2s;
}
.schedule-table tbody tr:hover { background: var(--off-white); }
.schedule-table tbody td {
  padding: 16px 16px;
  font-size: 14px;
  color: var(--graphite);
}
.td-time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--black);
}
.td-sport {
  font-weight: 600;
  color: var(--black);
}
.td-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--light-gray);
  color: var(--graphite);
}
.td-badge.fight { background: var(--graphite); color: var(--white); }

.schedule-cards { display: none; }
.sched-day-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sched-card {
  padding: 18px 20px;
  border: 1px solid var(--mid-gray);
  border-radius: 12px;
  margin-bottom: 10px;
}
.sched-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 8px;
}
.sched-time { font-size: 18px; font-weight: 800; color: var(--black); white-space: nowrap; }
.sched-card-top .td-badge { white-space: nowrap; }
.sched-sport { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.sched-trainer { font-size: 13px; color: var(--gray); }

#prices {
  padding: var(--section-pad) 0;
  background: var(--black);
  color: var(--white);
}
#prices .section-label { color: rgba(255,255,255,0.35); }
.price-tabs {
  display: flex;
  gap: 4px;
  margin: 40px 0;
  padding: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.price-tabs::-webkit-scrollbar { display: none; }
.price-tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.price-tab:hover { color: var(--white); }
.price-tab.active { background: var(--white); color: var(--black); }
.price-panel { display: none; }
.price-panel.active { display: block; animation: fadeIn 0.4s var(--ease-out); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.price-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
}
.price-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 4px;
}
.price-card-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.price-list { list-style: none; margin-top: 16px; }
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.price-row:last-child { border-bottom: none; padding-bottom: 0; }
.price-name { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,0.9); }
.price-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.price-value {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.price-notes {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-notes li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.price-notes li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--warm);
}
.price-promo {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(200,184,154,0.12);
  border: 1px solid rgba(200,184,154,0.3);
  font-size: 15px;
  color: var(--white);
}
.price-promo strong { color: var(--warm); }
.price-grid-top { align-items: start; }
.price-grid-top .price-list + .price-list { margin-top: 28px; }
.price-cta { margin-top: 40px; }

#trainers {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.trainers-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trainers-header .slider-controls { margin-top: 0; }

.trainers-grid {
  --per-view: 4;
  --gap: 20px;
  display: flex;
  gap: var(--gap);
  margin-top: clamp(40px, 5vw, 64px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.trainers-grid::-webkit-scrollbar { display: none; }

.trainer-card {
  flex: 0 0 calc((100% - var(--gap) * (var(--per-view) - 1)) / var(--per-view));
  scroll-snap-align: start;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 3/4;
  cursor: pointer;
}

.trainer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.5s, transform 0.5s;
}
.trainer-card:hover .trainer-bg {
  filter: grayscale(60%) contrast(1.05);
  transform: scale(1.03);
}

.trainer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
}

.trainer-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}
.trainer-name {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 4px;
}
.trainer-spec {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.trainer-achieve {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.trainer-card:hover .trainer-achieve { max-height: 60px; }

.trainer-socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}
.trainer-card:hover .trainer-socials { opacity: 1; }
.trainer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  backdrop-filter: blur(10px);
}
.trainer-socials a:hover { background: rgba(255,255,255,0.25); }

.t-kots        { background-image: url('../images/trainers/kots.webp'); }
.t-selihov     { background-image: url('../images/trainers/seliukov.webp'); }
.t-shahnovskiy { background-image: url('../images/trainers/shakhnovskyi.webp'); }
.t-kotliar     { background-image: url('../images/trainers/kotliar.webp'); }
.t-evdokimov   { background-image: url('../images/trainers/yevdokymov.webp'); }
.t-guseinov    { background-image: url('../images/trainers/huseinov.webp'); }
.t-shmulevich  { background-image: url('../images/trainers/shmulych.webp'); }

.trainer-more {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.trainer-card:hover .trainer-more,
.trainer-card:focus-visible .trainer-more { color: var(--yellow); }

.tmodal {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 3fr;
  width: 92%;
  max-width: 920px;
  max-height: 90vh;
  background: #141413;
  color: var(--white);
  border: 1px solid rgba(255,212,0,0.3);
  border-radius: 24px;
  overflow: hidden;
}
.tmodal .modal-close { z-index: 2; background: rgba(0,0,0,0.55); color: var(--white); }
.tmodal .modal-close:hover { background: rgba(0,0,0,0.8); }
.tmodal-photo {
  background-size: cover;
  background-position: center top;
  min-height: 100%;
}
.tmodal-body {
  max-height: calc(90vh - 2px);
  padding: clamp(28px, 4vw, 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.tmodal-name {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin-bottom: 8px;
  padding-right: 40px;
}
.tmodal-spec {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.tmodal-lead { font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
.tmodal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.tmodal-stats div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}
.tmodal-stats b {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 6px;
}
.tmodal-stats span { font-size: 13px; color: rgba(255,255,255,0.6); }
.tmodal-body h4 {
  margin: 24px 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.tmodal-body p,
.tmodal-body li { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.8); }
.tmodal-body ul { list-style: none; padding: 0; margin: 0; }
.tmodal-body li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.tmodal-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 2px;
  background: var(--yellow);
}
.tmodal-body .tmodal-lead { color: var(--white); }
.tmodal-body .tmodal-quote {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--yellow);
  font-style: italic;
}

@media (max-width: 700px) {
  .tmodal { display: block; overflow-y: auto; }
  .tmodal-photo { min-height: 0; height: 320px; }
  .tmodal-body { max-height: none; overflow: visible; }
}

#gallery {
  padding: var(--section-pad) 0;
  background: var(--black);
}
#gallery .section-label { color: rgba(255,255,255,0.35); }
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery-masonry {
  columns: 4;
  column-gap: 12px;
  margin-top: clamp(40px, 5vw, 64px);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.03); }

#testimonials {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 16px);
  padding: 36px;
  background: var(--off-white);
  border-radius: 20px;
  border: 1px solid var(--mid-gray);
  transition: border-color 0.3s;
}
.testimonial-card.active { border-color: var(--graphite); }

.t-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.t-star {
  width: 14px;
  height: 14px;
  background: var(--graphite);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.t-quote {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 24px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mid-gray);
  object-fit: cover;
  filter: grayscale(100%);
}
.t-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.t-role {
  font-size: 12px;
  color: var(--gray);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--mid-gray);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  font-size: 16px;
  color: var(--graphite);
}
.slider-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--mid-gray);
  transition: width 0.3s, background 0.3s;
  cursor: pointer;
}
.slider-dot.active {
  width: 20px;
  background: var(--graphite);
}
.mobile-dots { display: none; }
#gallery .slider-dot { background: rgba(255,255,255,0.2); }
#gallery .slider-dot.active { background: var(--white); }

#cta {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--black);
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url('../images/home/cta-background.webp') center 58%/cover no-repeat;
  filter: brightness(0.3);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.5px;
  color: var(--white);
  text-wrap: balance;
  margin-bottom: 40px;
}
.cta-title em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--yellow);
  color: transparent;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255,255,255,0.2);
}

#footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  margin-bottom: 60px;
}

.footer-logo { display: block; height: 140px; width: auto; }
.footer-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.social-link:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.hour-day { color: rgba(255,255,255,0.4); }
.hour-time { color: rgba(255,255,255,0.8); font-weight: 500; font-variant-numeric: tabular-nums; }

.footer-address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-address a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-address a:hover { color: var(--white); }
.footer-address .footer-route { display: inline-block; margin-top: 6px; color: var(--yellow); font-weight: 600; }
.footer-address .footer-route:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-map {
  margin-top: 16px;
  width: 100%;
  max-width: 260px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1100px) {
  .directions-grid { grid-template-columns: repeat(3, 1fr); }
  .dir-card.featured { grid-column: span 2; }
  .dir-card.wide { grid-column: span 1; }
  .trainers-grid { --per-view: 3; }
  .gallery-masonry { columns: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-accent { right: 10px; }
  .recovery-grid { grid-template-columns: 1fr; }
  .recovery-visual { display: none; }
  .directions-grid { grid-template-columns: 1fr 1fr; }
  .dir-card.featured { grid-column: span 2; }
  .dir-card.wide { grid-column: span 2; }
  .trainers-grid { --per-view: 2; }
  .gallery-masonry { columns: 2; }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .logo { height: 50px; }
  .logo-img { height: 90px; }
  #header.scrolled .logo-img { height: 50px; }

  .hero-scroll { display: none; }
  .hero-location { font-size: clamp(8px, 2.4vw, 11px); letter-spacing: 0.3px; white-space: nowrap; }
  .hero-title { font-size: clamp(30px, 10vw, 56px); }

  .directions-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 0 20px 4px;
    scroll-padding: 0 20px;
  }
  .directions-grid::-webkit-scrollbar { display: none; }
  .dir-card,
  .dir-card.featured,
  .dir-card.wide {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .dir-card .dir-card-inner,
  .dir-card.featured .dir-card-inner { min-height: 380px; }
  .dir-card.featured .dir-content { padding: 24px; }
  .dir-card.featured .dir-name { font-size: 36px; }
  .dir-desc { max-height: 80px; opacity: 1; }
  .directions-grid .reveal { opacity: 1; transform: none; }
  .mobile-dots { display: flex; justify-content: center; margin-top: 20px; }

  .price-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 32px 0;
  }
  .price-tab { padding: 12px 8px; }

  .schedule-tabs {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    margin-bottom: 24px;
  }
  .schedule-tabs .tab-btn { padding: 10px 0; }

  .trainers-grid { --per-view: 1; --gap: 12px; }
  .trainers-header .slider-controls { width: 100%; justify-content: space-between; }
  .gallery-masonry {
    columns: auto;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
    scroll-padding: 0 20px;
  }
  .gallery-masonry::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 85%;
    margin-bottom: 0;
    scroll-snap-align: start;
  }
  .gallery-item img { height: 420px; object-fit: cover; }
  .gallery-masonry .reveal { opacity: 1; transform: none; }

  .testimonial-card { flex: 0 0 calc(100% - 0px); }

  .footer-grid { grid-template-columns: 1fr; }

  .schedule-table { display: none; }
  .schedule-cards { display: block; }

  .about-accent { width: 42%; right: 10px; bottom: -20px; }
  .about-img-accent { border-width: 3px; }
  .about-accent .about-badge { bottom: calc(100% - 6px); }

  .features-list { grid-template-columns: 1fr; }

  .directions-header { flex-direction: column; align-items: flex-start; }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  width: 90%;
  max-width: 480px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--light-gray);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--mid-gray); }
.modal-title {
  font-family: var(--font-head);
  font-size: 36px;
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
}
.contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.contact-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.contact-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}
.contact-phone {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}
.contact-phone a { color: var(--black); font-weight: 600; text-decoration: none; }

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.scroll-top.visible { opacity: 1; transform: none; }
.scroll-top:hover { background: var(--black); }

:root {
  --yellow: #ffd400;
  --yellow-dark: #e6bf00;
  --warm: var(--yellow);
}
body { background: var(--black); color: var(--white); }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow); }
::selection { background: var(--yellow); color: var(--black); }

#header.scrolled { background: rgba(13,13,12,0.92); box-shadow: 0 1px 0 rgba(255,212,0,0.25); }
#header.scrolled .nav-links a { color: rgba(255,255,255,0.75); }
.nav-links a:hover, #header.scrolled .nav-links a:hover { color: var(--yellow) !important; }
.nav-cta, #header.scrolled .nav-cta { background: var(--yellow); color: var(--black) !important; }
#header.scrolled .nav-burger span { background: var(--white); }
.mobile-nav .mobile-link:hover { color: var(--yellow); }
.mobile-nav-cta { background: var(--yellow); color: var(--black); }

.hero-location { color: var(--yellow); }
.hero-title em { -webkit-text-stroke-color: var(--yellow); }
.btn-primary, .btn-cta { background: var(--yellow); color: var(--black); }
.btn-primary:hover, .btn-cta:hover { box-shadow: 0 12px 40px rgba(255,212,0,0.35); }
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); background: rgba(255,212,0,0.08); }
.scroll-line { background: linear-gradient(to bottom, var(--yellow), transparent); }

.section-label,
.recovery-text .section-label,
#prices .section-label,
#gallery .section-label,
#gallery .section-label[style],
#cta .section-label[style] { color: var(--yellow) !important; }
.section-title { color: var(--white); }

#about { background: var(--black); }
.about-img-accent { border-color: var(--black); }
.about-badge { background: var(--yellow); color: var(--black); }
.about-badge span { color: var(--black); }
.about-desc { color: rgba(255,255,255,0.65); }
.features-list li { color: rgba(255,255,255,0.85); }
.features-list li::before { background: var(--yellow); }

#directions { background: #141413; }
#directions .btn-secondary[style] { color: var(--white) !important; border-color: rgba(255,255,255,0.35) !important; }
#directions .btn-secondary[style]:hover { color: var(--yellow) !important; border-color: var(--yellow) !important; }
.dir-tag { color: var(--yellow); }
.dir-card:hover .dir-overlay { box-shadow: inset 0 0 0 2px var(--yellow); border-radius: 16px; }

.rec-item:hover { border-color: var(--yellow); }

#schedule { background: var(--black); }
.schedule-tabs { background: rgba(255,255,255,0.06); }
.tab-btn { color: rgba(255,255,255,0.5); }
.tab-btn:hover { color: var(--white); }
.tab-btn.active { background: var(--yellow); color: var(--black); box-shadow: none; }
.schedule-table thead th { color: var(--yellow); border-bottom-color: rgba(255,255,255,0.12); }
.schedule-table tbody tr { border-bottom-color: rgba(255,255,255,0.07); }
.schedule-table tbody tr:hover { background: rgba(255,212,0,0.06); }
.schedule-table tbody td { color: rgba(255,255,255,0.7); }
.td-time, .td-sport, .sched-time, .sched-sport { color: var(--white); }
.td-time, .sched-time { color: var(--yellow); }
.td-badge { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.td-badge.fight { background: var(--yellow); color: var(--black); }
.sched-card { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); }
.sched-trainer { color: rgba(255,255,255,0.5); }

#prices { background: #141413; }
.price-tab.active { background: var(--yellow); color: var(--black); }
.price-card:hover { border-color: rgba(255,212,0,0.4); }
.price-value { color: var(--yellow); }
.price-promo { background: rgba(255,212,0,0.1); border-color: rgba(255,212,0,0.4); }

#trainers { background: var(--black); }
.trainer-spec { color: var(--yellow); }
.trainer-socials a:hover { background: var(--yellow); color: var(--black); }

.slider-btn { border-color: rgba(255,255,255,0.2); color: var(--white); }
.slider-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.slider-dot, #gallery .slider-dot { background: rgba(255,255,255,0.2); }
.slider-dot.active, #gallery .slider-dot.active { background: var(--yellow); }

#gallery { background: #141413; }

#testimonials { background: var(--black); }
.testimonial-card { background: #141413; border-color: rgba(255,255,255,0.08); }
.testimonial-card.active { border-color: var(--yellow); }
.t-star { background: var(--yellow); }
.t-quote { color: rgba(255,255,255,0.7); }
.t-name { color: var(--white); }
.t-role { color: rgba(255,255,255,0.45); }
.t-avatar { background: rgba(255,255,255,0.1); }

#footer { border-top-color: rgba(255,212,0,0.25); }
.footer-col-title { color: var(--yellow); }
.footer-links a:hover, .footer-address a:hover { color: var(--yellow); }
.social-link:hover { background: var(--yellow); color: var(--black); }

.modal { background: #141413; color: var(--white); border: 1px solid rgba(255,212,0,0.3); }
.modal-close { background: rgba(255,255,255,0.08); color: var(--white); }
.modal-close:hover { background: rgba(255,255,255,0.16); }
.modal-sub, .contact-phone { color: rgba(255,255,255,0.5); }
.contact-btn { color: var(--white); border-color: rgba(255,255,255,0.15); }
.contact-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.contact-phone a { color: var(--yellow); }

.scroll-top { background: var(--yellow); color: var(--black); }
.scroll-top:hover { background: var(--yellow-dark); }


/* ---- Сторінки напрямків ---- */
#hero.page-hero { height: auto; min-height: 0; padding-top: calc(var(--nav-h) + 120px); }
.page-hero .hero-bg { background-position: center; }
.page-hero .hero-title { font-family: var(--font-head); font-size: clamp(44px, 8vw, 104px); line-height: 0.95; color: var(--white); margin-bottom: 20px; }
.page-hero .hero-subtitle { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,0.55); }
.crumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: rgba(255,255,255,0.3); }
.page-section { padding: var(--section-pad) 0; background: var(--black); }
.page-section.alt { background: #141413; }
.page-text { max-width: 760px; margin-top: 28px; }
.page-text p { color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.page-text strong { color: var(--white); }
.page-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.page-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.info-card { border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 28px; background: rgba(255,255,255,0.03); }
.info-card b { display: block; font-family: var(--font-head); font-size: 22px; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.info-card span { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.6; }
.sched-simple { width: 100%; border-collapse: collapse; margin-top: 40px; }
.sched-simple th { text-align: left; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.sched-simple td { padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.75); }
.sched-simple td:first-child { color: var(--white); font-weight: 600; }
.sched-simple .td-time { color: var(--yellow); font-weight: 700; }
.faq { margin-top: 40px; max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 600; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 26px; color: var(--yellow); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.faq a, .page-text a { color: var(--yellow); }
.more-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trainers-static { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.trainers-static .trainer-card { flex: none; width: auto; }
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
  .page-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  #hero.page-hero { padding-top: calc(var(--nav-h) + 80px); }
  .sched-simple th, .sched-simple td { padding: 14px 8px; font-size: 14px; }
}

/* Ціни + тренер в одному блоці (MMA, бокс, воркаут) */
.price-trainer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.price-trainer .price-grid { grid-template-columns: 1fr; }
.price-trainer .trainers-static { grid-template-columns: minmax(0, 340px); }
@media (max-width: 900px) {
  .price-trainer { grid-template-columns: 1fr; gap: 56px; }
}

/* Сторінки напрямків: компактніші відступи між блоками */
.subpage { --section-pad: clamp(56px, 6vw, 88px); }
.subpage .page-text p:last-child { margin-bottom: 0; }
.subpage .page-hero .hero-content { padding-bottom: clamp(48px, 5vw, 72px); }
.subpage .info-grid { margin-top: 32px; }
.subpage .page-photos { margin-top: 32px; }
.subpage .sched-simple { margin-top: 28px; }
.subpage .faq { margin-top: 24px; }
.subpage .price-trainer .reveal[style] { margin-top: 28px !important; }
.price-stack { display: flex; flex-direction: column; gap: 20px; }
.price-stack .price-notes { margin-top: 4px; }

/* h1 головної: логотип + слоган + підзаголовок в одному заголовку */
.hero-h1 { margin: 0; font: inherit; color: inherit; text-transform: none; }
.hero-h1 > .hero-title, .hero-h1 > .hero-subtitle { display: block; }

/* ---- Слайдери на сторінках напрямків ---- */
.ug-slider { margin-top: 32px; --gap: 16px; --per: 2.35; }
.ug-slider.is-trainers { --per: 3.3; --gap: 20px; }
.ug-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.ug-track::-webkit-scrollbar { display: none; }
.ug-track > * {
  flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
  scroll-snap-align: start;
}
.ug-track > img {
  display: block;
  width: auto;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}
.ug-track > .trainer-card { width: auto; }
.ug-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.ug-controls .slider-dots { flex-wrap: wrap; }
.ug-hint {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: none;
}
.ug-hint::after { content: ' →'; display: inline-block; animation: ugNudge 1.4s ease-in-out infinite; }
@keyframes ugNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.slider-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.ug-slider.is-static .ug-controls { display: none; }
@media (max-width: 1100px) { .ug-slider.is-trainers { --per: 2.3; } }
@media (max-width: 900px) { .ug-slider { --per: 1.6; } .ug-slider.is-trainers { --per: 1.7; } }
@media (max-width: 600px) {
  .ug-slider { --per: 1.18; --gap: 12px; }
  .ug-slider.is-trainers { --per: 1.25; --gap: 12px; }
  .ug-slider .slider-btn { display: none; }
  .ug-hint { display: block; }
}
@media (hover: none) { .ug-hint { display: block; } }

/* Посилання на сторінки напрямків у блоці «Ціни» на головній */
.price-more { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; }
.price-more a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,212,0,0.35);
  padding-bottom: 3px;
  transition: border-color 0.2s;
}
.price-more a:hover { border-color: var(--yellow); }

/* Кнопка «Залишити відгук у Google» */
.review-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 28px 32px;
  border: 1px solid rgba(255,212,0,0.35);
  border-radius: 16px;
  background: rgba(255,212,0,0.06);
}
.review-cta p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.6; max-width: 620px; }
@media (max-width: 600px) {
  .review-cta { padding: 22px 20px; }
  .review-cta .review-btn { width: 100%; justify-content: center; }
}

/* Карта у футері: завантажується лише після натискання */
.map-facade {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  color: var(--yellow);
  font: 600 12px/1 var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  background:
    linear-gradient(transparent 0 46%, rgba(255,255,255,0.10) 46% 50%, transparent 50%) 0 0 / 100% 100%,
    linear-gradient(90deg, transparent 0 62%, rgba(255,255,255,0.10) 62% 65%, transparent 65%) 0 0 / 100% 100%,
    linear-gradient(28deg, transparent 0 30%, rgba(255,255,255,0.07) 30% 32%, transparent 32%) 0 0 / 100% 100%,
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 22px),
    #1a1a18;
  transition: background-color 0.2s;
}
.map-facade span { color: var(--white); }
.map-facade:hover span, .map-facade:focus-visible span { color: var(--yellow); }
.map-facade svg { filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); transition: transform 0.2s; }
.map-facade:hover svg { transform: translateY(-3px); }

/* Крапки слайдерів — кнопки */
button.slider-dot { border: 0; padding: 0; }

/* AVIF для фону першого екрана головної (старі браузери лишаються на webp) */
.hero-bg {
  background:
    linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 80%),
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.75) 100%),
    image-set(url('../images/home/hero.avif') type('image/avif'), url('../images/home/hero.webp') type('image/webp')) center/cover no-repeat;
}
@media (max-width: 480px) {
  .hero-bg {
    background-image:
      linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 80%),
      linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.75) 100%),
      image-set(url('../images/home/hero-mobile.avif') type('image/avif'), url('../images/home/hero-mobile.webp') type('image/webp'));
  }
}

/* Фонові картинки нижче першого екрана вантажимо, лише коли блок підходить до екрана */
.js .dir-bg:not(.bg-in),
.js .trainer-bg:not(.bg-in),
.js .recovery-bg:not(.bg-in),
.js .cta-bg:not(.bg-in) { background-image: none !important; }
.gallery-item picture { display: block; }

/* Контраст дрібного сірого тексту (норма WCAG AA ≥ 4.5:1) */
.price-note,
.price-card-sub,
.hour-day { color: rgba(255,255,255,0.62); }
.footer-copy,
.scroll-text { color: rgba(255,255,255,0.55); }
.rec-sub { color: rgba(255,255,255,0.68); }

/* Перший екран: текст видно одразу (краще для LCP), лише легкий рух знизу */
@keyframes heroRise { from { transform: translateY(18px); } to { transform: none; } }
.hero-location, .hero-title, .hero-subtitle, .hero-actions {
  opacity: 1;
  animation-name: heroRise;
  animation-duration: 0.7s;
  animation-fill-mode: both;
  will-change: transform;
}
.hero-location { animation-delay: 0s; }
.hero-title { animation-delay: 0.05s; }
.hero-subtitle { animation-delay: 0.1s; }
.hero-actions { animation-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  .hero-location, .hero-title, .hero-subtitle, .hero-actions { animation: none; }
}

/* Крапки слайдерів: зона натискання 24×24, сама крапка лишається маленькою */
.slider-dots { gap: 0; }
button.slider-dot,
button.slider-dot.active,
#gallery button.slider-dot,
#gallery button.slider-dot.active {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  flex: 0 0 auto;
}
button.slider-dot.active { width: 32px; }
button.slider-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.25);
  transform: translate(-50%, -50%);
  transition: width 0.3s, background 0.3s;
}
button.slider-dot.active::after { width: 20px; background: var(--yellow); }
button.slider-dot:focus-visible { outline: 2px solid var(--yellow); outline-offset: -4px; border-radius: 6px; }
@media (max-width: 600px) {
  #galleryDots { margin-left: -20px; margin-right: -20px; flex-wrap: nowrap; }
  #galleryDots button.slider-dot.active { width: 24px; }
  #galleryDots button.slider-dot.active::after { width: 14px; }
}

/* Підказка над вкладками розкладу та цін */
.tabs-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
}
.tabs-hint svg { animation: hintBob 1.6s ease-in-out infinite; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .tabs-hint svg { animation: none; } }
.tabs-hint + .price-tabs { margin-top: 0; }
.reveal > .tabs-hint:first-child { margin-top: 40px; }
