/* =============================== */
/*  DESIGN SYSTEM (4px grid)       */
/* =============================== */
:root {
  /* ── Base palette ── */
  --bg: #f5f5f2;
  --surface: #ffffff;
  --text: #111111;
  --text-muted: #7a7a76;
  --accent: #16a34a;
  --accent-light: #4ade80;
  --dark: #0e0e0e;
  --border: #e4e4e0;

  /* ── Status ── */
  --open: #2d8a3e;
  --open-light: #6fcf7c;
  --open-bg: rgba(45, 138, 62, 0.2);
  --open-border: rgba(45, 138, 62, 0.3);

  /* ── White-on-dark hierarchy ── */
  --white: #ffffff;
  --white-text: rgba(255, 255, 255, 0.7);
  --white-soft: rgba(255, 255, 255, 0.6);
  --white-half: rgba(255, 255, 255, 0.5);
  --white-muted: rgba(255, 255, 255, 0.4);
  --white-faint: rgba(255, 255, 255, 0.25);
  --white-dim: rgba(255, 255, 255, 0.2);
  --white-ghost: rgba(255, 255, 255, 0.08);

  /* ── Glass / overlays ── */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.15);
  --overlay: rgba(10, 10, 8, 0.7);
  --hero-overlay: rgba(0, 0, 0, 0.82);
  --caption-gradient: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  --shadow-soft: rgba(0, 0, 0, 0.2);
  --shadow-med: rgba(0, 0, 0, 0.3);

  /* ── Dark-section borders ── */
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-border-subtle: rgba(255, 255, 255, 0.05);

  /* ── Misc ── */
  --icon-muted: #999999;
  --google-blue: #4285F4;
  --google-blue-hover: #3367D6;

  /* ── Accent glow (for shadows) ── */
  --accent-glow: rgba(22, 163, 74, 0.12);
  --accent-glow-md: rgba(22, 163, 74, 0.25);
  --accent-glow-lg: rgba(22, 163, 74, 0.35);

  /* ── Spacing scale (4px grid) ── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 28px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* ── Layout ── */
  --radius: 24px;
  --radius-pill: 24px;
  --max-w: 960px;
  --content-w: 624px;
  --font: "Bricolage Grotesque", sans-serif;
}

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

html {
  font-size: 125%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* =============================== */
/*  ENTRY ANIMATIONS               */
/* =============================== */
.hero-bg {
  filter: blur(6px) brightness(1.15);
  transform: scale(1.04);
  animation: heroUnblur 1.2s ease-out 0.1s forwards;
}

@keyframes heroUnblur {
  to {
    filter: blur(3px) brightness(1.15);

    transform: scale(1.01);
  }
}

.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease-out 0.4s forwards;
}

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

.reveal {
  opacity: 0;
  transform: translateY(var(--sp-6));
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

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

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(var(--sp-4));
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) {
  transition-delay: 0s;
}
.reveal-stagger.visible > *:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-stagger.visible > *:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-stagger.visible > *:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-stagger.visible > *:nth-child(5) {
  transition-delay: 0.32s;
}
.reveal-stagger.visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

/* =============================== */
/*  HERO                           */
/* =============================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Hero split layout ── */
.hero-split {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--max-w) + var(--sp-12) * 2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-12);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

/* ── Hero slider ── */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  margin-left: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/background_panorama.webp") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-8);
}

.hero-badge.is-open {
  background: var(--open-bg);
  color: var(--open-light);
  border: 1px solid var(--open-border);
}
.hero-badge.is-closed {
  background: var(--white-ghost);
  color: var(--white-half);
  border: 1px solid var(--glass-border);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--open-light);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-half);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.hero-phones {
  display: flex;
  gap: var(--sp-5);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

.hero-phones a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color 0.15s;
}

.hero-phones a:hover {
  color: var(--accent);
}
.hero-phones a i {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.hero-address {
  font-size: 0.78rem;
  color: var(--white-muted);
  font-weight: 300;
  margin-bottom: var(--sp-8);
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================== */
/*  BUTTONS                        */
/* =============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition:
    transform 0.12s,
    opacity 0.12s;
}

.btn:hover {
  transform: translateY(-1px);
}
.btn i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-glass {
  background: var(--glass-bg);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
}
.btn-glass:hover {
  background: var(--glass-border);
}
.btn-ghost-link {
  background: transparent;
  color: var(--white-soft);
  border: none;
  padding: var(--sp-3) var(--sp-2);
}
.btn-ghost-link:hover {
  color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =============================== */
/*  STATS BAR                      */
/* =============================== */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  padding: var(--sp-7) var(--sp-4);
}
.stat:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: var(--sp-1);
}

/* =============================== */
/*  SECTION UTILITIES              */
/* =============================== */
.section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: var(--sp-2);
  line-height: 1.2;
}

.section-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* =============================== */
/*  MAP                            */
/* =============================== */
.map-section {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#map {
  width: 100%;
  height: 640px;
}

.map-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.map-bar i {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.map-bar strong {
  color: var(--text);
  font-weight: 500;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--sp-3);
  padding: 6px var(--sp-4);
  border-radius: var(--radius-pill);
  background: var(--google-blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
}

.btn-maps:hover {
  background: var(--google-blue-hover);
  transform: translateY(-1px);
}

.btn-maps i {
  width: 14px;
  height: 14px;
}

/* =============================== */
/*  HOURS FLOAT (on map)           */
/* =============================== */
.map-floats {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  z-index: 600;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  pointer-events: none;
}

.map-float-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-7);
  box-shadow: 0 4px 12px var(--shadow-soft);
  min-width: 280px;
  pointer-events: auto;
}

.map-float-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--sp-5);
}

.price-group-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-1);
}

.price-group-label:first-of-type {
  margin-top: 0;
}

.price-list {
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  border-bottom: 1px solid var(--border);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-val {
  color: var(--text);
  font-weight: 600;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  border-bottom: 1px solid var(--border);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li.is-today {
  color: var(--text);
  font-weight: 500;
}
.hours-list li.is-today .hours-time-val {
  color: var(--accent);
  font-weight: 600;
}

/* =============================== */
/*  PROMO SECTION                  */
/* =============================== */
.promo {
  background: var(--dark);
  color: var(--white);
  padding: var(--sp-20) var(--sp-6);
  position: relative;
  overflow: hidden;
}

.promo::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.promo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.promo-header {
  margin-bottom: var(--sp-8);
}

.promo-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.promo h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: var(--sp-3);
}

.promo-desc {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--white-half);
  line-height: 1.7;
}

.promo-prizes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  width: 100%;
  max-width: 600px;
  margin-bottom: var(--sp-8);
}

.promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-4);
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: border-color 0.2s, background 0.2s;
}

.promo-card i {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.promo-card span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white-soft);
  line-height: 1.3;
}

.fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.btn-draw {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: var(--sp-4) 44px;
  font-size: 0.92rem;
  border-radius: var(--radius);
}

.btn-draw:hover {
  transform: translateY(-2px);
}
.btn-draw i {
  color: var(--white);
  width: 18px;
  height: 18px;
}

/* =============================== */
/*  AEROBIC SECTION                */
/* =============================== */
.aerobic {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.aerobic-img {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

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

.aerobic-text {
  padding: var(--sp-14) var(--sp-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}

.aerobic-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: var(--sp-3);
}

.aerobic-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.aerobic-features {
  list-style: none;
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aerobic-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 400;
}

.aerobic-features li i {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* =============================== */
/*  GYM GALLERY                    */
/* =============================== */
.gym-gallery {
  padding: var(--sp-16) var(--sp-6);
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.gym-gallery-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.gym-gallery-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gym-gallery-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.gym-gallery-header .section-title {
  color: var(--white);
}
.gym-gallery-header .section-desc {
  color: var(--white-muted);
}

.gym-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-1);
  border-radius: var(--radius);
  overflow: hidden;
}

.gym-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gym-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gym-gallery-item:hover img {
  transform: scale(1.05);
}

/* =============================== */
/*  JACKIE CHAN SECTION             */
/* =============================== */
.jackie {
  padding: var(--sp-16) var(--sp-6);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.jackie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.jackie-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.jackie-flag {
  width: 64px;
  height: auto;
  margin: 0 auto var(--sp-4);
  opacity: 0.7;
}

.jackie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-4);
}

.jackie-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--dark);
}

.jackie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jackie-card:hover img {
  transform: scale(1.05);
}

.jackie-card:first-child::after,
.jackie-card:last-child::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: background 0.4s ease;
}

.jackie-card:first-child:hover::after,
.jackie-card:last-child:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

.jackie-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-4);
  background: var(--caption-gradient);
  font-size: 0.72rem;
  color: var(--white-text);
  font-weight: 300;
}

/* Draw inline */
.draw-inline {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.draw-inline.active {
  display: flex;
}

.draw-spinner {
  width: 100%;
  height: 64px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.draw-spinner.spinning {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-light),
    var(--accent),
    var(--accent-light)
  );
  background-size: 300% 100%;
  animation: drawGradient 0.6s linear infinite;
  border-color: var(--accent);
}

.draw-spinner.done {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-light),
    var(--accent)
  );
  background-size: 200% 100%;
  animation: drawGradientSlow 3s ease infinite;
  border-color: var(--accent);
  margin-bottom: var(--sp-4);
}

@keyframes drawGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes drawGradientSlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.draw-slot {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  white-space: nowrap;
}

.draw-slot .draw-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.draw-spinner.spinning .draw-slot,
.draw-spinner.done .draw-slot {
  color: var(--white);
  text-shadow: 0 1px 4px var(--shadow-soft);
}

.draw-result {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-light);
  text-align: center;
  margin-bottom: var(--sp-2);
}

.draw-info {
  font-size: 0.72rem;
  color: var(--white-muted);
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

/* =============================== */
/*  ADVANTAGES GRID                */
/* =============================== */
.advantages {
  padding: var(--sp-16) var(--sp-6);
}

.adv-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.adv-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.vibe-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: var(--sp-4);
  line-height: 1.1;
}

.vibe-title span {
  color: var(--accent);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.adv-card {
  background: var(--surface);
  padding: var(--sp-8) var(--sp-7);
}

.adv-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--icon-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.adv-card-icon i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.adv-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.adv-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* =============================== */
/*  COMPARISON                     */
/* =============================== */
.comparison {
  background: var(--dark);
  color: var(--white);
  padding: var(--sp-16) var(--sp-6);
}

.comparison-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.comparison-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.comparison-header .section-title {
  color: var(--white);
}
.comparison-header .section-desc {
  color: var(--white-muted);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table thead th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  padding: 0 0 var(--sp-4);
  border-bottom: 1px solid var(--dark-border);
}

.comp-table thead th:first-child {
  text-align: left;
  color: var(--white-faint);
}
.comp-table thead th:nth-child(2) {
  text-align: center;
  color: var(--accent);
}
.comp-table thead th:nth-child(3) {
  text-align: center;
  color: var(--white-dim);
}

.comp-table tbody td {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--dark-border-subtle);
  font-size: 0.8rem;
}

.comp-table tbody td:first-child {
  font-weight: 400;
  color: var(--white-text);
}
.comp-table tbody td:nth-child(2) {
  text-align: center;
  color: var(--white);
  font-weight: 500;
}
.comp-table tbody td:nth-child(3) {
  text-align: center;
  color: var(--white-faint);
  font-weight: 300;
}

.comp-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
}

.comp-check i {
  width: 12px;
  height: 12px;
  color: var(--white);
}
.comp-x i {
  width: 12px;
  height: 12px;
  color: var(--glass-border);
}

/* =============================== */
/*  TECHNOGYM SPLIT                */
/* =============================== */
.technogym {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}

.technogym-text {
  padding: var(--sp-14) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.technogym-text .section-label {
  margin-bottom: var(--sp-3);
}

.technogym-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: var(--sp-4);
}

.technogym-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.technogym-img {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

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

.technogym-flag {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--bg);
  padding: var(--sp-10);
}

.technogym-flag img {
  width: 60%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
}

.technogym-img figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--caption-gradient);
  font-size: 0.72rem;
  color: var(--white-soft);
  font-style: italic;
  font-weight: 300;
}

/* =============================== */
/*  REVIEWS                        */
/* =============================== */
.reviews {
  padding: var(--sp-16) var(--sp-6);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reviews-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.reviews-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.reviews-rating {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.reviews-rating span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
}

.reviews-stars {
  display: flex;
  justify-content: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-2);
}

.reviews-stars i {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: var(--accent);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.review-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--sp-7) var(--sp-6);
  position: relative;
}

.review-card::before {
  content: "\201C";
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-5);
  font-family: Georgia, serif;
}

.review-text {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  margin-top: var(--sp-5);
  position: relative;
}

.review-author {
  margin-top: var(--sp-4);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================== */
/*  FAQ                            */
/* =============================== */
.faq {
  padding: var(--sp-16) var(--sp-6);
}

.faq-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.faq-header {
  margin-bottom: var(--sp-8);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: var(--sp-4) 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item[open] summary {
  color: var(--accent);
}

.faq-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 0 var(--sp-4);
  font-weight: 300;
}

/* =============================== */
/*  CTA                            */
/* =============================== */
.cta {
  background: var(--dark);
  color: var(--white);
  padding: var(--sp-14) var(--sp-6);
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.cta-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

.cta-text p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--white-muted);
}

.cta-actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-accent-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent-glow-lg);
}
.btn-accent-ghost:hover {
  background: var(--accent);
  color: var(--white);
}

/* =============================== */
/*  CAT (split)                    */
/* =============================== */
.cat {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.cat-img {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.cat-text {
  padding: var(--sp-14) var(--sp-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cat-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: var(--sp-3);
}

.cat-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* =============================== */
/*  FOOTER                         */
/* =============================== */
footer {
  background: var(--dark);
  color: var(--white-muted);
  padding: var(--sp-8) var(--sp-6);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.75rem;
  font-weight: 300;
}

.footer-left strong {
  color: var(--white-text);
  font-weight: 600;
  display: block;
  margin-bottom: var(--sp-1);
}

.footer-links {
  display: flex;
  gap: var(--sp-4);
}

.footer-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent);
}
.footer-links a i {
  width: 12px;
  height: 12px;
}

/* =============================== */
/*  LEAFLET OVERRIDES              */
/* =============================== */
.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px var(--shadow-med);
}

.custom-marker i {
  transform: rotate(45deg);
  color: var(--white);
  width: 20px;
  height: 20px;
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  font-family: var(--font) !important;
}
.leaflet-popup-content {
  margin: var(--sp-3) var(--sp-4) !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  color: var(--text) !important;
}
.leaflet-popup-content strong {
  font-weight: 600;
  display: block;
  margin-bottom: var(--sp-1);
}

/* =============================== */
/*  RESPONSIVE                     */
/* =============================== */
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: var(--sp-3);
  }
  .adv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .technogym {
    grid-template-columns: 1fr;
  }
  .technogym-img {
    min-height: 300px;
  }
  .cat {
    grid-template-columns: 1fr;
  }
  .cat-img {
    min-height: 280px;
  }
  .aerobic {
    grid-template-columns: 1fr;
  }
  .aerobic-img {
    min-height: 280px;
  }
  .jackie-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 460px;
  }
  .hero-split {
    grid-template-columns: 1fr;
    padding: var(--sp-14) var(--sp-5);
    text-align: center;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-slider {
    max-width: 400px;
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-sub {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }

  .map-floats {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    flex-direction: column;
  }
  .map-float-card {
    min-width: auto;
    border-radius: 0;
    box-shadow: none;
  }
  #map {
    height: 480px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }
  .advantages {
    padding: var(--sp-12) var(--sp-5);
  }

  .comparison {
    padding: var(--sp-12) var(--sp-5);
  }
  .comp-table tbody td {
    font-size: 0.76rem;
    padding: var(--sp-3) 0;
  }

  .technogym-section {
    padding-top: var(--sp-12);
  }
  .technogym-text {
    padding: var(--sp-10) var(--sp-6);
    text-align: center;
  }
  .technogym-text h2 {
    font-size: 1.3rem;
  }
  .technogym-img {
    min-height: 260px;
  }
  .technogym-flag {
    justify-content: center;
  }

  .vibe {
    padding: var(--sp-14) var(--sp-5);
  }
  .vibe-title {
    font-size: 2.2rem;
  }

  .reviews {
    padding: var(--sp-12) var(--sp-5);
  }
  .faq {
    padding: var(--sp-12) var(--sp-5);
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 260px;
  }
  .cta-actions .btn {
    justify-content: center;
  }

  .cat-img {
    min-height: 240px;
  }
  .cat-text {
    padding: var(--sp-10) var(--sp-6);
    text-align: center;
  }

  .aerobic-img {
    min-height: 240px;
  }
  .aerobic-text {
    padding: var(--sp-10) var(--sp-6);
  }

  .gym-gallery {
    padding: var(--sp-12) var(--sp-5);
  }
  .gym-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .jackie {
    padding: var(--sp-12) var(--sp-5);
  }
  .jackie-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }

  #map {
    height: 480px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    max-width: 240px;
    margin: 0 auto;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .promo {
    padding: 60px var(--sp-5);
  }
  .promo h2 {
    font-size: 1.5rem;
  }
  .promo-prizes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn-draw {
    padding: var(--sp-4) 44px;
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-phones {
    flex-direction: column;
    gap: var(--sp-2);
  }
  .stat-num {
    font-size: 1.3rem;
  }
}
