/* ===================================
   RANGE Gyms - Vertical Scroll Layout
   =================================== */

@import url("./fonts.css?v=20260624-onest-body01");

/* CSS Variables */
:root {
  --color-bg: #000000;
  --color-primary: #1E60FE;
  --color-primary-dark: #0a2b6d;
  --color-text: #ffffff;
  --color-text-muted: #aaaaaa;
  --color-accent: #1E60FE;

  /* Typography Scale */
  --text-display: clamp(2.5rem, 6vw, 4rem);
  --text-h1: clamp(1.75rem, 4vw, 2.5rem);
  --text-h2: 1.5rem;      /* 24px */
  --text-h3: 1.125rem;    /* 18px */
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-caption: 0.75rem;

  /* Fonts */
  --font-body:
    "Onest",
    "Golos Text",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  --font-main:
    "OrganettoRegular", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent:
    "OrganettoRegular", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-light:
    "OrganettoLight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-bold: "OrganettoBold", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: "Conquera", -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 70px;
  --section-padding: 80px;
  --container-width: 1200px;

  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-small: 12px;
  --radius-input: 12px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
  overflow-x: clip;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: clip;
}

/* Headings use Organetto */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  line-height: 1.2;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

/* Section headers - uppercase */
.section-header {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 50px;
}

/* Navigation uses Organetto */
.header-nav,
.header-nav a,
.nav-dropdown-trigger,
.btn-primary,
.nav-cta {
  font-family: var(--font-main);
  text-transform: uppercase;
}

/* Fullscreen dot grid background */
.stars-container {
  position: absolute;
  top: calc(-1 * (var(--section-padding) + var(--header-height)));
  right: 0;
  left: 0;
  height: 100vh;
  --dot-grid-x: 50vw;
  --dot-grid-y: 45vh;
  --dot-grid-glow: 0.42;
  --dot-grid-radius: clamp(84px, 10.5vw, 174px);
  display: block;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.stars-container::before,
.stars-container::after {
  content: "";
  position: absolute;
  inset: -1px;
  background-image: radial-gradient(circle, currentColor 0.68px, transparent 1px);
  background-position: 50% 50%;
  background-size: 22px 22px;
}

.stars-container::before {
  z-index: 1;
  color: rgba(255, 255, 255, 0.14);
  opacity: 0.9;
}

.stars-container::after {
  color: rgba(30, 96, 254, 0.88);
  opacity: var(--dot-grid-glow);
  filter: drop-shadow(0 0 4px rgba(30, 96, 254, 0.52));
  -webkit-mask-image: radial-gradient(
    circle var(--dot-grid-radius) at var(--dot-grid-x) var(--dot-grid-y),
    #000 0%,
    rgba(0, 0, 0, 0.86) 26%,
    transparent 72%
  );
  mask-image: radial-gradient(
    circle var(--dot-grid-radius) at var(--dot-grid-x) var(--dot-grid-y),
    #000 0%,
    rgba(0, 0, 0, 0.86) 26%,
    transparent 72%
  );
  animation: dotGridGlow 3.6s ease-in-out infinite;
}

.stars-container::after {
  z-index: 4;
}

.stars,
.stars-2,
.stars-3,
.dot-grid-trail-segment {
  position: absolute;
  inset: -1px;
  display: block;
  z-index: 3;
  background-image: radial-gradient(circle, currentColor 0.76px, transparent 1.08px);
  background-position: 50% 50%;
  background-size: 22px 22px;
  color: rgba(35, 116, 255, 0.98);
  filter: drop-shadow(0 0 var(--trail-shadow, 5px) rgba(30, 96, 254, 0.64));
  mix-blend-mode: screen;
  opacity: var(--trail-glow, 0);
  -webkit-mask-image: radial-gradient(
    circle var(--trail-radius, 92px) at var(--trail-x, var(--dot-grid-x)) var(--trail-y, var(--dot-grid-y)),
    #000 0%,
    rgba(0, 0, 0, 0.9) 18%,
    rgba(0, 0, 0, 0.48) 48%,
    transparent 82%
  );
  mask-image: radial-gradient(
    circle var(--trail-radius, 92px) at var(--trail-x, var(--dot-grid-x)) var(--trail-y, var(--dot-grid-y)),
    #000 0%,
    rgba(0, 0, 0, 0.9) 18%,
    rgba(0, 0, 0, 0.48) 48%,
    transparent 82%
  );
}

@keyframes dotGridGlow {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(30, 96, 254, 0.42));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(30, 96, 254, 0.62));
  }
}

@media screen and (max-width: 768px) {
  .stars-container {
    --dot-grid-radius: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stars-container::after {
    animation: none;
  }

  .stars,
  .stars-2,
  .stars-3,
  .dot-grid-trail-segment {
    display: none;
  }
}

/* Animated Liquid Gradient Blobs */
.gradient-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  filter: blur(80px);
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 96, 254, 0.4) 0%, transparent 70%);
  top: 20%;
  left: 10%;
  animation: floatBlob1 25s ease-in-out infinite;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 96, 254, 0.35) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  animation: floatBlob2 30s ease-in-out infinite;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100, 150, 255, 0.25) 0%, transparent 70%);
  bottom: 30%;
  left: 30%;
  animation: floatBlob3 20s ease-in-out infinite;
}

.blob-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 220, 255, 0.2) 0%, transparent 70%);
  top: 10%;
  right: 30%;
  animation: floatBlob4 22s ease-in-out infinite;
}

@keyframes floatBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, 50px) scale(1.1); }
  50% { transform: translate(50px, 100px) scale(0.95); }
  75% { transform: translate(-50px, 50px) scale(1.05); }
}

@keyframes floatBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-80px, -60px) scale(1.05); }
  50% { transform: translate(-120px, 40px) scale(1.1); }
  75% { transform: translate(-40px, -80px) scale(0.95); }
}

@keyframes floatBlob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.1); }
  50% { transform: translate(120px, 60px) scale(1); }
  75% { transform: translate(40px, 100px) scale(1.05); }
}

@keyframes floatBlob4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-40px, 60px) scale(1.08); }
  50% { transform: translate(60px, 80px) scale(0.95); }
  75% { transform: translate(80px, -40px) scale(1.02); }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.8;
}

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

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   STICKY HEADER
   =================================== */
.sticky-header {
  position: fixed;
  top: clamp(18px, 2.4vw, 32px);
  left: clamp(22px, 6vw, 116px);
  right: clamp(22px, 6vw, 116px);
  width: auto;
  height: 54px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.sticky-header.is-scrolled {
  background: transparent;
}

.header-logo {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: background var(--transition-fast), opacity var(--transition-fast);
  position: relative;
  z-index: 2;
}

.header-logo:hover {
  opacity: 0.72;
  background: transparent;
}

.logo-brand {
  font-family: var(--font-logo);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
}

.logo-spheres {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-sphere {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
}

.logo-sphere-gyms {
  margin-left: -7px;
  width: 22px;
  height: 22px;
}

.logo-combined {
  height: 40px;
  width: auto;
}

/* Metallic shimmer animation for GYMS text */
.logo-text {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    #888888 0%,
    #cccccc 25%,
    #ffffff 50%,
    #cccccc 75%,
    #888888 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: metallic-shimmer 3s linear infinite;
}

@keyframes metallic-shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.header-nav {
  grid-column: 1 / -1;
  position: absolute;
  inset: 0;
  display: flex;
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.header-nav,
.header-nav a,
.nav-dropdown-trigger,
.header-nav .nav-cta {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

.header-nav a {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    opacity var(--transition-fast);
  pointer-events: auto;
}

.header-nav a:hover {
  opacity: 1;
  color: #fff;
  background: transparent;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  pointer-events: auto;
}

.nav-dropdown-trigger {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 196px;
  background: #171717;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast);
  z-index: 1001;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu > a {
  display: flex;
  height: auto;
  justify-content: flex-start;
  padding: 12px 20px;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 0;
  transition: all var(--transition-fast);
}

.nav-dropdown-menu > a:hover {
  background: transparent;
  color: #fff;
  opacity: 1;
  box-shadow: none;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 20px;
}

.dropdown-highlight {
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 500;
}

.dropdown-highlight:hover {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
}

.header-nav .nav-cta {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 40px;
  min-width: 126px;
  margin-left: 0;
  margin-right: 0;
  background: #fff;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
  border: 0;
  box-shadow: none;
}

.header-nav .nav-cta span {
  display: block;
  transform: none;
}

.header-nav .nav-cta::before {
  display: none;
}

.header-nav .nav-cta::after {
  display: none;
}

@keyframes navBtnOutside {
  0% { opacity: 1; transform: scale(1, 1); }
  50% { opacity: 0; transform: scale(0.5, 0.5); }
  100% { opacity: 1; transform: scale(1, 1); }
}

@keyframes navBtnInside {
  0% { opacity: 0; transform: scale(1.2, 1.2); }
  50% { opacity: 1; transform: scale(1, 1); }
  100% { opacity: 0; transform: scale(1.2, 1.2); }
}

.header-nav .nav-cta:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.86);
  color: #050505;
}

.header-nav .nav-cta:hover::before,
.header-nav .nav-cta:hover::after {
  animation: none;
  opacity: 0;
}

.mobile-menu-btn {
  grid-column: 2;
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn .menu-icon {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.5rem;
  line-height: 1;
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.mobile-menu-btn .menu-icon-close {
  display: none;
}

.mobile-menu-btn.active .menu-icon-open {
  display: none;
}

.mobile-menu-btn.active .menu-icon-close {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-menu-btn:hover .menu-icon {
    color: #fff;
  }
}


/* ===================================
   SECTIONS - Base
   =================================== */
.section {
  padding: var(--section-padding) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section:first-of-type {
  padding-top: calc(var(--header-height) + var(--section-padding));
}

.section-header {
  font-family: var(--font-main);
  font-size: 2rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
}

.section-label {
  font-family: var(--font-main);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===================================
   HERO SECTION
   =================================== */
.section-hero {
  position: relative;
  isolation: isolate;
  z-index: 2;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  text-align: center;
  padding-top: var(--header-height);
  overflow: visible;
  background: #000;
}

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  pointer-events: none;
}

.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.24) 1px, transparent 1.25px);
  background-size: 22px 22px;
  background-position: 0 0;
  opacity: 0.26;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

/* Circle wrapper - no glow */
.hero-circle-wrapper {
  display: none;
}

/* Remove pseudo-elements - no glow */
.hero-circle-wrapper::before,
.hero-circle-wrapper::after {
  display: none;
}

.hero-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../img/range-circle-new.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: calc(100vh - var(--header-height));
  padding: 20px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(92vw, 620px);
  transform: translateY(clamp(-96px, -9vh, -40px));
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1.25px);
  background-size: 28px 28px;
  background-position: 0 0;
  opacity: 0.3;
  pointer-events: none;
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.34) 100%),
    radial-gradient(circle at 50% 48%, transparent 0%, rgba(0, 0, 0, 0.3) 72%);
}

.hero-title {
  font-family: var(--font-logo);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.15em;
}

.hero-subtitle {
  font-family: var(--font-main);
  font-size: clamp(1rem, 3vw, 1.6rem);
  opacity: 0.95;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: clamp(1.08rem, 1.32vw, 1.42rem);
  color: rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.34;
  font-weight: normal;
  text-align: center;
}

.hero-tagline-line {
  display: block;
  white-space: nowrap;
}

.hero-tagline-line--flow {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.44em;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 0.92vw, 0.96rem);
  color: rgba(255, 255, 255, 0.66);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
  opacity: 1;
}

.hero-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 0.86vw, 0.92rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  width: min(420px, 82vw);
  margin: 2px auto 0;
  line-height: 1.16;
  letter-spacing: 0.018em;
}

.hero-services-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: auto;
}

.hero-services-line span,
.hero-services-line a {
  display: block;
  white-space: nowrap;
}

.hero-services-line a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hero-services-line a:hover {
  color: #fff;
}

.hero-services-line--formats {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.9em;
}

.hero-typing-group {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  width: calc(var(--hero-typing-width, 16ch) + 0.4em);
  margin: 0;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 1em;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(30, 96, 254, 0.56);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: baseline;
  will-change: width;
}

.hero-typing {
  display: inline-block;
  width: var(--hero-typing-width, 16ch);
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: inherit;
  text-align: left;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  will-change: width;
}

.hero-typing-period {
  display: inline-block;
  width: 0.4em;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: inherit;
  text-align: left;
}

.hero-typing::after {
  content: "";
  display: none;
  width: 1px;
  height: 1.1em;
  margin-left: 3px;
  background: rgba(30, 96, 254, 0.95);
  box-shadow: 0 0 12px rgba(30, 96, 254, 0.85);
  transform: translateY(0.18em);
  animation: heroCaretBlink 0.78s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-typing-group,
  .hero-typing {
    transition: none;
  }
}

@keyframes heroCaretBlink {
  50% {
    opacity: 0;
  }
}

.hero-image {
  max-width: 650px;
  width: 85vw;
  max-height: 55vh;
  margin: 30px 0;
  filter: drop-shadow(0 20px 60px rgba(30, 96, 254, 0.4));
  object-fit: contain;
}

.hero-video {
  position: absolute;
  left: 50%;
  bottom: -21vh;
  z-index: 1;
  width: min(76vw, 1040px);
  height: min(64vh, 650px);
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.92;
  transform: translateX(-50%);
  filter: none;
  pointer-events: none;
}

.hero-brand-word {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2vh, 28px);
  z-index: 3;
  transform: translateX(-50%);
  color: rgb(93, 138, 235);
  font-family: var(--font-logo);
  font-size: clamp(7.8rem, 15.2vw, 18.5rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 1;
  text-shadow: 0 0 20px rgba(30, 96, 254, 0.14);
  pointer-events: none;
}

.hero-brand-short {
  display: none;
}

.hero-tagline,
.section-hero .btn-primary {
  position: relative;
  z-index: 4;
}

.section-hero .hero-content > .btn-primary {
  z-index: 4;
  margin-top: min(36vh, 340px);
  padding: 9px 26px;
  font-size: 0.62rem;
}

.hero-copy .btn-primary {
  margin-top: 2px;
  min-height: 33px;
  padding: 0 25px;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(30, 96, 254, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(30, 96, 254, 0.08);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.hero-copy .btn-primary::before,
.hero-copy .btn-primary::after {
  display: none;
  animation: none;
}

.hero-copy .btn-primary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.075)),
    rgba(30, 96, 254, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 36px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(30, 96, 254, 0.14);
}

.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: white;
  border: none;
  padding: 14px 36px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-top: 10px;
  border-radius: var(--radius-pill);
}

.btn-primary span {
  display: block;
  transform: translateY(0.15em);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  animation: btnOutside 2s ease-in-out infinite;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  animation: btnInside 2s ease-in-out infinite;
}

@keyframes btnOutside {
  0% {
    opacity: 1;
    transform: scale(1, 1);
  }
  50% {
    opacity: 0;
    transform: scale(0.5, 0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}

@keyframes btnInside {
  0% {
    opacity: 0;
    transform: scale(1.2, 1.2);
  }
  50% {
    opacity: 1;
    transform: scale(1, 1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2, 1.2);
  }
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.btn-primary:hover::before,
.btn-primary:hover::after {
  animation: none;
  opacity: 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.section-about {
  background: transparent;
  min-height: auto;
}

/* Heading must clear the hero video's downward bleed (.hero-video bottom: -21vh).
   #about beats the .section:not(.section-hero) padding (id > class). vh-based so it
   scales with the bleed at any zoom — no clipping (about stays transparent), no overlap. */
#about {
  padding-top: 24vh;
}

.about-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.about-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.about-text {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.26);
  text-underline-offset: 3px;
  transition:
    color var(--transition-fast),
    text-decoration-color var(--transition-fast);
}

.about-text a:hover {
  color: #fff;
  text-decoration-color: var(--color-primary);
}

/* Brand names use Organetto */
.brand-name {
  font-family: var(--font-main);
}

/* ===================================
   DIRECTIONS SECTION
   =================================== */
.section-directions {
  background: transparent;
  min-height: auto;
  padding: 100px 0;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.direction-card {
  text-align: center;
}

.direction-title {
  font-family: var(--font-main);
  font-size: var(--text-h3);
  margin: 20px 0 12px;
}

.direction-desc {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.6;
}

/* ===================================
   VIDEO WRAPPER (Shared)
   =================================== */
.video-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
  transform: translate3d(0, 0, 0);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  transition: background var(--transition-fast);
}

.play-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.play-btn span {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.section-features {
  background: transparent;
  min-height: auto;
  padding: 100px 0;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 71, 255, 0.3);
  transform: translateY(-4px);
}

.feature-card .video-wrapper {
  aspect-ratio: 4/3;
  margin-bottom: 16px;
}

.feature-card-image .feature-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.feature-number {
  font-family: var(--font-main);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-title {
  font-family: var(--font-main);
  font-size: var(--text-h3);
  margin-bottom: 10px;
  line-height: 1.2;
}

.feature-desc {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.6;
}

/* ===================================
   PRICING SECTION
   =================================== */
.section-pricing {
  background: transparent;
  min-height: auto;
  padding: 100px 0;
}

/* Price Type Tabs */
.price-type-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.price-type-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.price-type-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.price-type-tab.active {
  background: rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.4);
}

.price-type-tab .tab-label {
  font-family: var(--font-main);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fff;
}

.price-type-tab .tab-clubs {
  font-family: var(--font-main);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.price-type-tab.active .tab-clubs {
  color: rgba(100, 180, 255, 0.8);
}

/* Price content animation */
.price-content {
  animation: fadeIn 0.3s ease;
}

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

/* Discount badges in price list */
.price-list small {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  background: rgba(0, 200, 100, 0.15);
  border-radius: 4px;
  font-size: 0.65rem;
  color: rgba(100, 255, 150, 0.8);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.price-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 30px;
}

.price-card-title {
  font-family: var(--font-main);
  font-size: var(--text-h3);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* New Price Table Layout */
.price-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 0 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.price-table-header:has(.price-col-header.single) {
  grid-template-columns: 1fr 1fr;
}

.price-col-header {
  font-family: var(--font-main);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
}

.price-col-header:first-child {
  text-align: left;
}

.price-col-header i {
  font-size: 1rem;
  margin-right: 4px;
  color: white;
}

.price-col-header small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.6;
}

.price-table-body {
  display: flex;
  flex-direction: column;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: start;
}

.price-row.two-cols {
  grid-template-columns: 1fr 1fr;
}

.price-sessions {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 300;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-discount {
  font-family: var(--font-main);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #4ade80;
  font-weight: 400;
}

.price-cell {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-value {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 300;
  color: white;
}

.price-per {
  font-family: var(--font-main);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* Keep old styles for backwards compatibility */
.price-columns {
  display: flex;
  gap: 30px;
}

.price-column {
  flex: 1;
  text-align: center;
}

.price-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

.price-list {
  list-style: none;
  margin-bottom: 16px;
}

.price-list li {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.price-note {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  opacity: 0.7;
}

.discount-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(0, 71, 255, 0.1);
  border: 1px solid rgba(0, 71, 255, 0.2);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.discount-content {
  flex: 1;
  text-align: left;
  min-width: 200px;
}

.discount-title {
  font-family: var(--font-main);
  font-size: 1.8rem;
  text-transform: lowercase;
  margin-bottom: 16px;
}

.discount-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Premium Animated Atom Icon */
.atom-icon {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  perspective: 800px;
}

.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 30% 30%, #60a5fa, #1E60FE 50%, #0a3a9e);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(30, 96, 254, 0.9),
    0 0 40px rgba(30, 96, 254, 0.5),
    0 0 60px rgba(30, 96, 254, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.3);
  animation: nucleus-pulse 2s ease-in-out infinite;
}

@keyframes nucleus-pulse {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(30, 96, 254, 0.9),
      0 0 40px rgba(30, 96, 254, 0.5),
      0 0 60px rgba(30, 96, 254, 0.3);
  }
  50% {
    box-shadow:
      0 0 30px rgba(30, 96, 254, 1),
      0 0 60px rgba(30, 96, 254, 0.7),
      0 0 90px rgba(30, 96, 254, 0.4);
  }
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: linear-gradient(90deg,
    rgba(30, 96, 254, 0) 0%,
    rgba(30, 96, 254, 0.6) 50%,
    rgba(30, 96, 254, 0) 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 1.5px;
}

.orbit-1 {
  transform: translate(-50%, -50%) rotateX(70deg) rotateY(0deg);
  animation: orbit-rotate-1 4s linear infinite;
}

.orbit-2 {
  transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg);
  animation: orbit-rotate-2 5s linear infinite;
}

.orbit-3 {
  transform: translate(-50%, -50%) rotateX(70deg) rotateY(120deg);
  animation: orbit-rotate-3 6s linear infinite;
}

@keyframes orbit-rotate-1 {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateY(0deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateY(0deg) rotateZ(360deg); }
}

@keyframes orbit-rotate-2 {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg) rotateZ(360deg); }
}

@keyframes orbit-rotate-3 {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateY(120deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateY(120deg) rotateZ(360deg); }
}

.electron {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #93c5fd 50%, #1E60FE 100%);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(30, 96, 254, 1);
  /* Keep electron spherical - counter the orbit's 3D rotation */
  animation: electron-counter-rotate 4s linear infinite;
}

.orbit-2 .electron {
  animation-duration: 5s;
}

.orbit-3 .electron {
  animation-duration: 6s;
}

@keyframes electron-counter-rotate {
  from { transform: translateX(-50%) rotateZ(0deg) rotateX(-70deg); }
  to { transform: translateX(-50%) rotateZ(-360deg) rotateX(-70deg); }
}

/* ===================================
   GALLERY SECTION
   =================================== */
.section-gallery {
  background: transparent;
  min-height: auto;
  padding: 80px 0;
}

/* Club Tabs */
.club-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.club-tab {
  font-family: var(--font-main);
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.club-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.club-tab.active {
  background: rgba(0, 102, 255, 0.2);
  border-color: rgba(0, 102, 255, 0.4);
  color: #fff;
}

/* Club Gallery Grid (Variant B: Floorplan left + Photos right) */
.club-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* 3D Floorplan */
.club-floorplan {
  position: sticky;
  top: 100px;
}

.club-floorplan img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-card);
  transition: opacity 0.3s ease;
}

/* Photo Grid (Right side) */
.club-photos {
  display: flex;
  flex-direction: column;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.photo-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.2);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .club-gallery-grid {
    grid-template-columns: 1fr;
  }

  .club-floorplan {
    position: static;
  }

  .club-floorplan img {
    max-width: 100%;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .club-tabs {
    gap: 6px;
  }

  .club-tab {
    padding: 10px 14px;
    font-size: 0.75rem;
  }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.section-testimonials {
  background: transparent;
  min-height: auto;
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  text-align: center;
}

.testimonial-name {
  font-family: var(--font-main);
  font-size: 1.4rem;
  text-transform: lowercase;
  margin: 20px 0 8px;
}

.testimonial-role {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===================================
   CONTACTS SECTION
   =================================== */
.section-contacts {
  background: transparent;
  min-height: auto;
  padding: 100px 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-name {
  font-family: var(--font-main);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-address {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.contact-address:hover {
  color: var(--color-accent);
}

.contact-address i {
  font-size: 1rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

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

.contact-links i {
  font-size: 1rem;
}

.contact-links img {
  width: 14px;
  height: 14px;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark theme for Google Maps iframe */
.map-container iframe {
  filter: invert(90%) hue-rotate(180deg) saturate(0.3) brightness(0.9);
}

#yandex-map {
  width: 100%;
  height: 100%;
}

/* Custom marker style */
.range-marker {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Dark theme for Yandex Maps balloons - make outer container transparent */
.ymaps-2-1-79-balloon {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ==== YANDEX MAPS BALLOON - MAKE ALL CONTAINERS TRANSPARENT ==== */
/* Only .range-balloon should have visible styling */

.ymaps-2-1-79-balloon,
.ymaps-2-1-79-balloon__layout,
.ymaps-2-1-79-balloon_layout_panel,
.ymaps-2-1-79-balloon__content,
.ymaps-2-1-79-balloon__content > ymaps,
.ymaps-2-1-79-balloon__content ymaps {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* Hide the default Yandex close button - we use our custom one */
.ymaps-2-1-79-balloon__close-button,
.ymaps-2-1-79-balloon__close-button::before,
.ymaps-2-1-79-balloon__close-button::after,
.ymaps-2-1-79-balloon__close + .ymaps-2-1-79-balloon__close-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide balloon tail for cleaner look */
.ymaps-2-1-79-balloon__tail {
  display: none !important;
}

/* Make sure all balloon backgrounds are dark */
.ymaps-2-1-79-b-cluster-content {
  background: #1a1a2e !important;
  color: #fff !important;
}

/* ===================================
   CUSTOM RANGE BALLOON STYLES
   =================================== */
.range-balloon {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  padding-right: 40px;
  background: #1a1a2e;
  border-radius: 16px;
  min-width: 260px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.range-balloon-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}

.range-balloon-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.range-balloon-photo {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.range-balloon-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.range-balloon-info {
  flex: 1;
  min-width: 0;
}

.range-balloon-title {
  margin: 0 0 4px 0;
  color: #1E60FE;
  font-size: 15px;
  font-weight: 600;
}

.range-balloon-address {
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.4;
}

.range-balloon-link {
  display: inline-block;
  color: #1E60FE;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.2s;
}

.range-balloon-link:hover {
  opacity: 0.8;
}

.contact-email {
  display: block;
  text-align: center;
  margin-top: 40px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===================================
   FORM SECTION
   =================================== */
.section-form {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Form Circle wrapper - no glow */
.form-circle-wrapper {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* Remove pseudo-elements - no glow */
.form-circle-wrapper::before,
.form-circle-wrapper::after {
  display: none;
}

.form-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../img/range-circle-new.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.form-wrapper {
  position: relative;
  z-index: 1;
}

.booking-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-title {
  font-family: var(--font-main);
  font-size: 2.2rem;
  text-transform: lowercase;
  margin-bottom: 16px;
}

.form-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.booking-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  color: white;
  font-family: var(--font-main);
  font-size: 0.95rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.booking-form input:focus {
  border-color: var(--color-primary);
}

.booking-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.booking-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  color: white;
  font-family: var(--font-main);
  font-size: 0.95rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--transition-fast);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

.booking-form select:focus {
  border-color: var(--color-primary);
}

.booking-form select option {
  background: #1a1a2e;
  color: white;
  padding: 12px;
}

.booking-form .btn-primary {
  width: 100%;
  margin-top: 10px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  margin: 4px 0 14px;
  text-align: left;
  padding: 0 4px;
}

.form-consent--optional {
  color: rgba(255, 255, 255, 0.42);
  margin-top: -6px;
}

.form-consent input[type="checkbox"] {
  width: 16px !important;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.form-consent input[type="checkbox"]:focus {
  border-color: var(--color-primary);
}

.form-consent a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: #fff;
}

#success-message {
  font-size: 1.2rem;
  color: var(--color-primary);
  line-height: 1.6;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: #000;
  padding: clamp(48px, 6vw, 80px) 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.footer-orb {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-logo span {
  font-family: var(--font-logo);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.55;
  margin: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-family: var(--font-main);
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 4px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.6rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: #fff;
}

/* Registered-trademark mark + notice */
.site-footer .footer-tm {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.52em;
  position: relative;
  top: -0.92em;
  left: 0.1em;
  line-height: 0;
  letter-spacing: 0;
  opacity: 0.6;
}

.footer-legalinfo {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-trademark {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.62rem;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: rgba(255, 255, 255, 1);
}

.social-icons i {
  font-size: 28px;
}

.social-icons svg {
  width: 24px;
  height: 24px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.social-icons img:hover {
  opacity: 1;
}

/* ===================================
   VIDEO OVERLAY
   =================================== */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#overlay video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

#overlay .close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

#overlay .close span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: white;
  top: 50%;
  left: 0;
}

#overlay .close span:first-child {
  transform: rotate(45deg);
}

#overlay .close::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: white;
  top: 50%;
  left: 0;
  transform: rotate(-45deg);
}

#overlay .loader {
  display: flex;
  gap: 8px;
}

#overlay .loader span {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: loaderPulse 1s ease-in-out infinite;
}

#overlay .loader span:nth-child(2) {
  animation-delay: 0.2s;
}
#overlay .loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.5);
    opacity: 0.5;
  }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media screen and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .contacts-layout {
    grid-template-columns: 1fr;
  }

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

  .map-container {
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --header-height: 0px;
    --mobile-dock-offset: max(16px, env(safe-area-inset-bottom));
    --mobile-dock-gap: 14px;
  }

  html {
    font-size: 14px;
  }

  .sticky-header {
    top: auto;
    bottom: var(--mobile-dock-offset);
    left: 0;
    right: 0;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin-inline: auto;
    height: 42px;
    grid-template-columns: auto auto auto;
    column-gap: 9px;
    justify-content: start;
    padding: 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .sticky-header::-webkit-scrollbar {
    display: none;
  }

  .sticky-header.is-scrolled {
    background: transparent;
  }

  .sticky-header::before,
  .header-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
      rgba(10, 11, 14, 0.38);
    backdrop-filter: blur(32px) saturate(145%) brightness(0.9);
    -webkit-backdrop-filter: blur(32px) saturate(145%) brightness(0.9);
    pointer-events: none;
  }

  .sticky-header > *,
  .header-nav > * {
    position: relative;
    z-index: 1;
  }

  .header-nav {
    display: none;
    position: fixed;
    inset: auto;
    top: auto;
    bottom: calc(var(--mobile-dock-offset) + 42px + var(--mobile-dock-gap));
    left: 16px;
    right: 16px;
    width: auto;
    height: auto;
    max-height: calc(100svh - var(--mobile-dock-offset) - 90px);
    padding: 20px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 26px;
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 11px;
    z-index: 999;
    overflow: hidden auto;
    pointer-events: auto;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav a {
    width: 100%;
    height: 42px;
    font-size: 0.95rem;
  }

  .header-nav .nav-cta {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    height: 42px;
    margin-left: 0;
    margin-right: 0;
  }

  .mobile-menu-btn {
    grid-column: 3;
    justify-self: end;
    display: flex;
    width: 33px;
    height: 33px;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
  }

  .mobile-menu-btn .menu-icon {
    font-size: 1.25rem;
  }

  /* Mobile dropdown - inline instead of overlay */
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown-trigger {
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.035) !important;
    backdrop-filter: blur(12px) saturate(125%);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
    border: none !important;
    box-shadow: none !important;
    padding: 9px;
    margin-top: 8px;
    min-width: auto;
    display: none;
    left: 0;
    border-radius: 20px !important;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu > a,
  .nav-dropdown-menu > a:hover,
  .nav-dropdown-menu > a:focus,
  .nav-dropdown-menu > a:active,
  .nav-dropdown-menu > a.dropdown-highlight,
  .nav-dropdown-menu > a.dropdown-highlight:hover {
    font-size: 0.95rem;
    padding: 8px 15px;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    transform: none !important;
    text-align: center;
  }

  .nav-dropdown-menu > a {
    color: rgba(255, 255, 255, 0.6);
  }

  .nav-dropdown-menu > a:hover {
    color: var(--color-primary);
  }

  .nav-dropdown-menu > a.dropdown-highlight {
    color: rgba(255, 255, 255, 0.6);
  }

  .nav-dropdown-menu > a.dropdown-highlight:hover {
    color: var(--color-primary);
  }

  .dropdown-divider {
    display: none;
  }

  .directions-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .price-columns {
    flex-direction: column;
    gap: 30px;
  }

  .gallery-scroll img {
    width: 250px;
    height: 170px;
  }

  .hero-circle,
  .form-circle {
    width: 550px;
    height: 550px;
  }

  /* Mobile typography improvements */
  .section-header {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .direction-title {
    font-size: 1.3rem;
  }

  .direction-desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-image {
    max-width: 400px;
    width: 85vw;
    max-height: 50vh;
  }

  .hero-video {
    width: min(128vw, 580px);
    height: 45vh;
    bottom: -6.5vh;
    opacity: 0.84;
  }

  .hero-brand-word {
    bottom: clamp(86px, 12.5vh, 122px);
    font-size: clamp(5.2rem, 23vw, 8.6rem);
    opacity: 1;
    text-shadow: 0 0 16px rgba(30, 96, 254, 0.14);
  }

  .hero-brand-full {
    display: none;
  }

  .hero-brand-short {
    display: inline-block;
  }

  .section-hero .hero-content > .btn-primary {
    margin-top: min(14vh, 132px);
    padding: 8px 22px;
    font-size: 0.58rem;
  }

  .hero-copy {
    gap: 10px;
    width: min(90vw, 430px);
    transform: translateY(clamp(-82px, -8vh, -46px));
  }

  .hero-tagline {
    font-size: 0.86rem;
    max-width: 372px;
    padding: 0 8px;
    line-height: 1.34;
  }

  .hero-tagline-line {
    white-space: nowrap;
  }

  .hero-tagline-line--flow {
    gap: 0.4em;
  }

  .hero-lead {
    font-size: 0.68rem;
    line-height: 1.45;
    max-width: 350px;
  }

  .hero-services {
    width: min(84vw, 338px);
    font-size: 0.7rem;
    gap: 5px;
    line-height: 1.14;
  }

  .hero-services-line {
    gap: 11px;
  }

  .hero-copy .btn-primary {
    margin-top: 2px;
    padding: 8px 22px;
    font-size: 0.58rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-circle,
  .form-circle {
    width: 450px;
    height: 450px;
  }

  .gallery-scroll img {
    width: 200px;
    height: 140px;
  }

  .hero-image {
    max-width: 320px;
    width: 90vw;
  }

  .hero-video {
    width: 134vw;
    height: 45vh;
    bottom: -6.5vh;
  }

  .hero-brand-word {
    bottom: 106px;
    font-size: 24vw;
  }

  .section-hero .hero-content > .btn-primary {
    margin-top: min(13vh, 116px);
  }

  .hero-copy {
    width: min(91vw, 360px);
    transform: translateY(clamp(-76px, -7vh, -40px));
  }

  .hero-lead {
    font-size: 0.74rem;
  }

  /* Price cards mobile - reduce horizontal space */
  .price-card {
    padding: 20px 10px;
  }

  .price-table-header,
  .price-row {
    gap: 6px;
  }

  .price-per {
    word-break: break-word;
  }

  /* Price type tabs - allow wrapping */
  .price-type-tabs {
    gap: 12px;
  }

  .price-type-tab {
    padding: 16px 12px;
    min-width: 0;
  }

  .price-type-tab h3 {
    font-size: 1.1rem;
  }

  .price-type-tab p {
    font-size: 0.7rem;
  }
}

@media screen and (orientation: landscape) and (max-width: 768px) {
  .hero-brand-full {
    display: inline;
  }

  .hero-brand-short {
    display: none;
  }
}

/* ============================================
   GALLERY LIGHTBOX - Fullscreen Photo Viewer
   ============================================ */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-container {
  width: 100%;
  height: 80vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  align-items: center;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lightbox-container::-webkit-scrollbar {
  display: none;
}

.lightbox-track {
  display: flex;
  gap: 40px;
  padding-left: calc(50vw - 200px);
  padding-right: 50vw;
  min-width: fit-content;
}

.lightbox-track img {
  height: 75vh;
  max-height: 85vh;
  width: auto;
  object-fit: contain;
  border-radius: 16px;
  scroll-snap-align: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-track img:active {
  cursor: grabbing;
}

.lightbox-track img.active {
  transform: scale(1.02);
}

/* Club separator between galleries */
.lightbox-separator {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 70vh;
  scroll-snap-align: center;
}

.lightbox-separator span {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.lightbox-counter {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-main);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 20px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
}

/* Photo grid click hint */
.photo-grid img {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 100, 255, 0.3);
}

/* Floorplan click hint */
.club-floorplan img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.club-floorplan img:hover {
  transform: scale(1.02);
}

/* ============================================
   LIGHTBOX - Mobile Responsive
   ============================================ */
@media screen and (max-width: 768px) {
  .lightbox-track {
    gap: 16px;
    padding-left: 10vw;
    padding-right: 10vw;
  }

  .lightbox-track img {
    height: auto;
    max-height: 65vh;
    width: 80vw;
    max-width: 80vw;
    border-radius: 12px;
  }

  .lightbox-counter {
    bottom: 24px;
    font-size: 0.9rem;
    padding: 6px 16px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .lightbox-track {
    gap: 12px;
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .lightbox-track img {
    max-height: 55vh;
    width: 85vw;
    max-width: 85vw;
    border-radius: 10px;
  }

  .lightbox-counter {
    bottom: 16px;
    font-size: 0.85rem;
  }
}

/* ============================================
   BLOG SECTION STYLES
   ============================================ */

/* Blog Header */
.section-blog-header {
  min-height: auto;
  padding: 150px 0 60px;
  text-align: center;
}

.blog-main-title {
  font-family: var(--font-main);
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.blog-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Articles Section */
.section-articles {
  min-height: auto;
  padding: 40px 0 80px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Article Card */
.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30, 96, 254, 0.15);
  border-color: rgba(30, 96, 254, 0.3);
}

.article-image {
  height: 200px;
  overflow: hidden;
  background: rgba(30, 96, 254, 0.1);
}

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

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

.article-content {
  padding: 24px;
}

.article-category {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

/* Article page header meta - row layout for back button and category */
.article-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.article-header-meta .article-back {
  margin-bottom: 0;
}

.article-header-meta .article-page-category {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.article-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
  text-transform: none;
  color: var(--color-text);
}

.article-excerpt {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* CTA Section */
.section-cta {
  min-height: auto;
  padding: 40px 0 60px;
}

.cta-box {
  text-align: center;
  padding: 24px;
  background: rgba(30, 96, 254, 0.08);
  border: 1px solid rgba(30, 96, 254, 0.2);
  border-radius: var(--radius-card);
}

/* Two-column CTA layout */
.cta-box.cta-box-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 24px 32px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.cta-box-split .cta-title {
  text-align: left;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cta-box-split .cta-text {
  margin-bottom: 16px;
}

.cta-feature {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-small);
  padding: 12px;
  width: 180px;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
}

.cta-feature:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 71, 255, 0.3);
  transform: translateY(-2px);
}

.cta-feature .video-wrapper {
  aspect-ratio: 4/3;
  margin-bottom: 8px;
  border-radius: 6px;
  overflow: hidden;
}

.cta-feature .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-feature-number {
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.cta-feature-title {
  font-family: var(--font-main);
  font-size: 0.875rem;
  margin-bottom: 4px;
  line-height: 1.2;
}

.cta-feature-desc {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  .cta-box.cta-box-split {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .cta-content {
    align-items: center;
  }

  .cta-box-split .cta-title {
    text-align: center;
  }

  .cta-feature {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

.cta-title {
  font-family: var(--font-main);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-text {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

/* Active nav link for blog */
.header-nav a.active {
  color: var(--color-primary);
}

/* Blog responsive */
@media screen and (max-width: 768px) {
  .blog-main-title {
    font-size: 2rem;
  }

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

  .article-image {
    height: 180px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-title {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .section-blog-header {
    padding: 120px 0 40px;
  }

  .blog-main-title {
    font-size: 1.8rem;
  }

  .article-content {
    padding: 20px;
  }

  .article-title {
    font-size: 1.1rem;
  }
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.section-article {
  min-height: auto;
  padding: 150px 0 60px;
}

.article-header {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.article-back {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.85rem;
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(30, 96, 254, 0.4);
  border-radius: 50px;
  background: rgba(30, 96, 254, 0.08);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.article-back:hover {
  background: rgba(30, 96, 254, 0.15);
  border-color: rgba(30, 96, 254, 0.6);
  transform: translateX(-3px);
}

.article-page-title {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: none;
}

.article-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.article-author {
  display: inline-flex;
  max-width: min(100%, 360px);
  min-width: 0;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin: 18px auto 0;
  padding: 0;
  text-align: left;
}

.article-author-photo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  object-position: center 34%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.article-author-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.article-author-name {
  margin: 0;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.15;
}

.article-author-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
  line-height: 1.2;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.article-body h2 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 40px 0 16px;
  text-transform: none;
}

.article-body p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  color: var(--color-text-muted);
  margin: 20px 0;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.article-body strong {
  color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 768px) {
  .article-page-title {
    font-size: 1.8rem;
  }

  .article-author {
    max-width: 100%;
    gap: 10px;
  }

  .article-author-photo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .article-author-name {
    font-size: 0.88rem;
  }

  .article-body h2 {
    font-size: 1.3rem;
  }
}

/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

.section-service-header {
  min-height: auto;
  padding: 150px 0 60px;
  text-align: center;
}

.service-back {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.85rem;
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(30, 96, 254, 0.4);
  border-radius: 50px;
  background: rgba(30, 96, 254, 0.08);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.service-back:hover {
  background: rgba(30, 96, 254, 0.15);
  border-color: rgba(30, 96, 254, 0.6);
  transform: translateX(-3px);
}

.service-title {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: none;
}

.service-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

.section-service-content {
  min-height: auto;
  padding: 40px 0 60px;
}

.service-body {
  max-width: 700px;
  margin: 0 auto;
}

.service-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.service-body h2 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 40px 0 16px;
  text-transform: none;
}

.service-body p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-body ul {
  color: var(--color-text-muted);
  margin: 20px 0;
  padding-left: 24px;
}

.service-body li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.service-body strong {
  color: rgba(255, 255, 255, 0.9);
}

/* Other Directions Links */
.section-other-directions {
  min-height: auto;
  padding: 40px 0 80px;
  text-align: center;
}

.directions-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.directions-links a {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.directions-links a:hover {
  background: rgba(30, 96, 254, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .service-title {
    font-size: 1.8rem;
  }

  .service-body h2 {
    font-size: 1.3rem;
  }

  .directions-links {
    gap: 10px;
  }

  .directions-links a {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

/* ===================================
   FLOATING MOBILE CTA
   =================================== */
.floating-cta {
  display: none;
}

@media screen and (max-width: 768px) {
  .floating-cta {
    grid-column: 2;
    justify-self: end;
    display: inline-flex;
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 0;
    height: 30px;
    min-width: 0;
    margin-right: 0;
    transform: translateX(9px) scale(0.96);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background:
      linear-gradient(180deg, rgba(30, 96, 254, 0.34), rgba(30, 96, 254, 0.2)),
      rgba(255, 255, 255, 0.035);
    color: white;
    padding: 0;
    font-family: var(--font-main);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    text-decoration: none;
    border: 1px solid rgba(30, 96, 254, 0.5);
    border-radius: var(--radius-pill);
    opacity: 0;
    pointer-events: none;
    transition:
      max-width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      padding 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      margin-right 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.22s ease,
      background var(--transition-fast),
      border-color var(--transition-fast);
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 0 18px rgba(30, 96, 254, 0.18);
  }

  .floating-cta span {
    display: block;
    opacity: 0;
    transform: translateY(0.1em);
    transition: opacity 0.18s ease 0.12s;
  }

  .floating-cta.visible {
    max-width: 116px;
    margin-right: 4px;
    padding: 0 13px;
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .floating-cta.visible span {
    opacity: 1;
  }

  .floating-cta.visible:hover {
    background:
      linear-gradient(180deg, rgba(30, 96, 254, 0.42), rgba(30, 96, 254, 0.25)),
      rgba(255, 255, 255, 0.045);
    border-color: rgba(30, 96, 254, 0.68);
  }

  .floating-cta.visible:active {
    transform: translateX(0) scale(0.97);
  }
}

/* Final plain dark background override */
html,
body {
  background: #000;
}

/* x.ai-inspired header override */
@media screen and (max-width: 1120px) and (min-width: 769px) {
  .sticky-header {
    left: 32px;
    right: 32px;
  }

  .header-nav {
    gap: 22px;
  }

  .header-nav a,
  .nav-dropdown-trigger,
  .header-nav .nav-cta {
    font-size: 0.86rem;
  }

  .header-nav .nav-cta {
    min-width: 112px;
    padding: 0 18px;
  }
}

@media screen and (max-width: 768px) {
  .sticky-header {
    top: 14px;
    bottom: auto;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    height: 46px;
    margin-inline: 0;
    grid-template-columns: auto 1fr auto auto;
    column-gap: 12px;
    justify-content: stretch;
    padding: 0;
    overflow: visible;
    overscroll-behavior-x: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
  }

  .sticky-header::before,
  .header-nav::before {
    content: none;
    display: none;
  }

  .sticky-header.is-scrolled {
    background: transparent;
  }

  .header-logo {
    grid-column: 1;
    gap: 8px;
    height: 40px;
    padding: 0;
  }

  .logo-sphere {
    width: 32px;
    height: 32px;
  }

  .logo-brand {
    font-size: 0.82rem;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 68px;
    bottom: auto;
    left: 16px;
    right: 16px;
    width: auto;
    height: auto;
    max-height: calc(100svh - 92px);
    padding: 12px 0;
    background: #171717;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    z-index: 1001;
    overflow: hidden auto;
    pointer-events: auto;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav a,
  .nav-dropdown-trigger {
    width: auto;
    min-height: 44px;
    height: auto;
    justify-content: flex-start;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 500;
    background: transparent;
    border-radius: 0;
  }

  .header-nav a:hover,
  .nav-dropdown-trigger:hover {
    color: #fff;
    background: transparent;
  }

  .header-nav .nav-cta {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: calc(100% - 32px);
    min-width: 0;
    height: 42px;
    margin: 10px 16px 2px;
    justify-content: center;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    background: #fff;
    color: #050505;
  }

  .mobile-menu-btn {
    grid-column: 4;
    justify-self: end;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
  }

  .mobile-menu-btn:hover {
    background: transparent;
  }

  .mobile-menu-btn .menu-icon {
    font-size: 1.42rem;
    color: rgba(255, 255, 255, 0.86);
  }

  .nav-dropdown {
    width: 100%;
    text-align: left;
  }

  .nav-dropdown-trigger {
    justify-content: flex-start;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    min-width: 0;
    padding: 0 0 8px;
    margin: 0;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu > a,
  .nav-dropdown-menu > a:hover,
  .nav-dropdown-menu > a:focus,
  .nav-dropdown-menu > a:active,
  .nav-dropdown-menu > a.dropdown-highlight,
  .nav-dropdown-menu > a.dropdown-highlight:hover {
    min-height: 36px;
    padding: 0 32px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.9rem;
    text-align: left;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  .nav-dropdown-menu > a:hover,
  .nav-dropdown-menu > a.dropdown-highlight:hover {
    color: #fff;
  }

  .dropdown-divider {
    display: block;
    margin: 8px 32px;
    background: rgba(255, 255, 255, 0.08);
  }

  .floating-cta {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 0;
    height: 38px;
    min-width: 0;
    margin-right: 0;
    transform: translateX(8px) scale(0.98);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #050505;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    border: 0;
    border-radius: var(--radius-pill);
    opacity: 0;
    pointer-events: none;
    transition:
      max-width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      padding 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.22s ease,
      background var(--transition-fast);
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
  }

  .floating-cta.visible {
    max-width: 118px;
    padding: 0 16px;
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .floating-cta.visible:hover {
    background: rgba(255, 255, 255, 0.86);
  }

  .floating-cta.visible:active {
    transform: translateX(0) scale(0.97);
  }
}

.mobile-menu-footer {
  display: none;
}

@media screen and (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .sticky-header {
    top: 24px;
    left: clamp(24px, 7vw, 36px);
    right: clamp(24px, 7vw, 36px);
    height: 58px;
    grid-template-columns: auto 1fr auto auto;
    column-gap: 12px;
  }

  .header-logo,
  .mobile-menu-btn {
    position: relative;
    z-index: 1003;
  }

  .header-logo {
    height: 58px;
  }

  .logo-brand {
    display: none;
  }

  .logo-sphere {
    width: 42px;
    height: 42px;
  }

  .floating-cta {
    grid-column: 3;
    height: 46px;
    max-width: 144px;
    min-width: 0;
    padding: 0 22px;
    margin-right: 2px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    font-size: 0.96rem;
    color: #060606;
    background: #fff;
  }

  .floating-cta span {
    opacity: 1;
    transform: none;
  }

  .floating-cta.visible {
    max-width: 144px;
    padding: 0 22px;
    transform: none;
    opacity: 1;
  }

  .sticky-header.menu-open .floating-cta {
    max-width: 0;
    padding: 0;
    margin-right: 0;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu-btn {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.08);
  }

  .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .mobile-menu-btn .menu-icon {
    font-size: 1.78rem;
    color: #fff;
  }

  .mobile-menu-btn .menu-icon-close {
    font-size: 1.58rem;
  }

  .header-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
    max-height: none;
    padding: 150px clamp(28px, 8vw, 48px) 34px;
    background: #050505;
    border: none;
    border-radius: 0;
    box-shadow: none;
    align-items: stretch;
    overflow: hidden auto;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav > a:not(.nav-cta),
  .nav-dropdown-trigger {
    min-height: 76px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    color: #f7f7f7;
    font-size: clamp(1.72rem, 7.4vw, 2.2rem);
    font-weight: 400;
    line-height: 1;
  }

  .header-nav > a:not(.nav-cta):hover,
  .nav-dropdown-trigger:hover {
    color: #fff;
  }

  .nav-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .nav-dropdown-trigger {
    border-bottom: none;
  }

  .dropdown-arrow {
    margin-left: auto;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.36);
  }

  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    padding: 0 0 18px;
  }

  .nav-dropdown-menu > a,
  .nav-dropdown-menu > a:hover,
  .nav-dropdown-menu > a:focus,
  .nav-dropdown-menu > a:active,
  .nav-dropdown-menu > a.dropdown-highlight,
  .nav-dropdown-menu > a.dropdown-highlight:hover {
    min-height: 40px;
    padding: 0 0 0 18px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 1.05rem;
  }

  .dropdown-divider {
    margin: 10px 0 10px 18px;
  }

  .header-nav .nav-cta {
    width: 100%;
    height: 58px;
    margin: auto 0 0;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    font-size: 1.05rem;
    font-weight: 500;
    background: #fff;
    color: #050505;
  }

  .mobile-menu-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1;
  }

  .header-nav .mobile-menu-footer a {
    width: auto;
    min-height: 0;
    height: auto;
    padding: 0;
    color: rgba(255, 255, 255, 0.32);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    border-bottom: 0;
  }

  .header-nav .mobile-menu-footer a:hover {
    color: rgba(255, 255, 255, 0.68);
  }
}

main,
.section,
.section-hero {
  background: transparent;
}

.gradient-blobs,
.section-hero::before,
.section-hero::after,
.hero-content::before,
.hero-content::after {
  display: none !important;
}

/* ===================================
   COMPACT SITE SCALE PASS
   Keep the post-hero experience in the same compact visual rhythm as the hero.
   =================================== */
.container {
  max-width: 1060px;
}

.section:not(.section-hero) {
  min-height: auto;
  padding: clamp(54px, 5.8vw, 76px) 0;
}

.section-form {
  min-height: 82vh;
}

.section-header {
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  margin-bottom: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.035em;
}

.section-label {
  font-size: clamp(0.82rem, 1.05vw, 0.98rem);
}

.about-content {
  max-width: 520px;
}

.about-subtitle {
  font-size: 0.78rem;
  margin-bottom: 20px;
}

.about-text {
  font-size: 0.84rem;
  line-height: 1.58;
  margin-bottom: 14px;
}

.directions-grid {
  max-width: 760px;
  gap: 24px;
}

.direction-title {
  font-size: 0.95rem;
  margin: 14px 0 8px;
}

.direction-desc {
  font-size: 0.82rem;
  line-height: 1.52;
}

.video-wrapper,
.club-floorplan img,
.photo-grid img,
.map-container,
.feature-image {
  border-radius: 14px;
}

.features-grid {
  gap: 18px;
}

.feature-card {
  padding: 14px;
  border-radius: 18px;
}

.feature-card .video-wrapper,
.feature-card-image .feature-image {
  margin-bottom: 10px;
}

.feature-number {
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.feature-title {
  font-size: 0.88rem;
  margin-bottom: 7px;
}

.feature-desc {
  font-size: 0.76rem;
  line-height: 1.48;
}

.price-type-tabs {
  gap: 10px;
  margin-bottom: 28px;
}

.price-type-tab {
  min-width: 156px;
  padding: 11px 22px;
  border-radius: 10px;
}

.price-type-tab .tab-label {
  font-size: 0.82rem;
}

.price-type-tab .tab-clubs {
  font-size: 0.58rem;
}

.pricing-grid {
  gap: 18px;
  margin-bottom: 36px;
}

.price-card {
  padding: 20px;
  border-radius: 18px;
}

.price-card-title {
  font-size: 0.9rem;
  margin-bottom: 16px;
  padding-bottom: 11px;
}

.price-table-header {
  gap: 7px;
  padding-bottom: 11px;
}

.price-col-header {
  font-size: 0.6rem;
}

.price-col-header i {
  font-size: 0.78rem;
}

.price-col-header small,
.price-discount,
.price-per {
  font-size: 0.54rem;
}

.price-row {
  gap: 7px;
  padding: 8px 0;
}

.price-sessions,
.price-value {
  font-size: 0.82rem;
}

.price-list li {
  font-size: 0.78rem;
  padding: 4px 0;
}

.price-note {
  font-size: 0.66rem;
}

.discount-box {
  max-width: 560px;
  padding: 24px;
  gap: 18px;
  border-radius: 14px;
}

.atom-icon {
  width: 72px;
  height: 72px;
}

.orbit {
  width: 58px;
  height: 58px;
}

.nucleus {
  width: 12px;
  height: 12px;
}

.discount-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.discount-text {
  font-size: 0.8rem;
}

.section-gallery {
  padding: clamp(50px, 5vw, 66px) 0;
}

.club-tabs {
  gap: 6px;
  margin-bottom: 26px;
}

.club-tab {
  padding: 8px 14px;
  font-size: 0.68rem;
}

.club-gallery-grid {
  gap: 22px;
}

.club-floorplan {
  top: 78px;
}

.club-floorplan img {
  max-width: 410px;
}

.photo-grid {
  gap: 9px;
}

.photo-grid img {
  height: 118px;
}

.testimonials-grid {
  max-width: 720px;
  gap: 30px;
}

.testimonial-name {
  font-size: 1rem;
  margin: 14px 0 5px;
}

.testimonial-role {
  font-size: 0.76rem;
}

.contacts-layout {
  gap: 34px;
}

.contacts-list {
  gap: 18px;
}

.contact-item {
  padding: 15px;
  border-radius: 18px;
}

.contact-name {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.contact-address,
.contact-links a,
.contact-email {
  font-size: 0.76rem;
}

.map-container {
  height: 310px;
}

.contact-email {
  margin-top: 26px;
}

.form-circle-wrapper,
.form-circle {
  width: 360px;
  height: 360px;
}

.booking-form {
  max-width: 340px;
}

.form-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 0.8rem;
  margin-bottom: 22px;
}

.booking-form input,
.booking-form select {
  padding: 12px 18px;
  font-size: 0.78rem;
  margin-bottom: 11px;
}

.section:not(.section-hero) .btn-primary {
  padding: 11px 24px;
  font-size: 0.68rem;
}

#success-message {
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 0;
}

.footer-links a {
  font-size: 0.72rem;
}

.social-icons {
  gap: 12px;
}

.social-icons i,
.social-icons img {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

@media screen and (max-width: 1024px) {
  .container {
    max-width: 900px;
  }

  .features-grid,
  .pricing-grid {
    gap: 14px;
  }

  .price-card {
    padding: 16px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .section:not(.section-hero) {
    padding: 44px 0;
  }

  .section-header {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .directions-grid,
  .testimonials-grid,
  .features-grid,
  .pricing-grid,
  .contacts-list {
    gap: 18px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .direction-title,
  .feature-title,
  .price-card-title,
  .contact-name {
    font-size: 0.84rem;
  }

  .direction-desc,
  .feature-desc,
  .about-text,
  .discount-text {
    font-size: 0.74rem;
  }

  .feature-card,
  .price-card,
  .contact-item {
    padding: 14px;
    border-radius: 16px;
  }

  .feature-card {
    min-width: 0;
    padding: 10px;
    border-radius: 14px;
  }

  .feature-card .video-wrapper,
  .feature-card-image .feature-image {
    aspect-ratio: 4 / 3;
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .feature-card .play-btn span {
    border-width: 10px 0 10px 17px;
  }

  .feature-number {
    font-size: 0.72rem;
    margin-bottom: 4px;
  }

  .feature-title {
    font-size: 0.78rem;
    line-height: 1.2;
    margin-bottom: 5px;
    overflow-wrap: anywhere;
  }

  .feature-desc {
    font-size: 0.66rem;
    line-height: 1.38;
  }

  .price-type-tabs {
    gap: 8px;
    margin-bottom: 22px;
  }

  .price-type-tab {
    min-width: 0;
    padding: 10px 14px;
  }

  .discount-box {
    padding: 18px;
    gap: 14px;
  }

  .club-tabs {
    margin-bottom: 22px;
  }

  .club-tab {
    padding: 8px 12px;
    font-size: 0.62rem;
  }

  .club-gallery-grid {
    gap: 18px;
  }

  .club-floorplan img {
    max-width: min(82vw, 340px);
  }

  .photo-grid {
    gap: 8px;
  }

  .photo-grid img {
    height: 116px;
  }

  .map-container {
    height: 250px;
  }

  .form-circle-wrapper,
  .form-circle {
    width: 300px;
    height: 300px;
  }

  .booking-form {
    max-width: min(86vw, 320px);
  }

  .form-title {
    font-size: 1.12rem;
  }

  .footer-content {
    gap: 16px;
  }
}

@media screen and (max-width: 480px) {
  .section:not(.section-hero) {
    padding: 38px 0;
  }

  .section-header {
    font-size: 0.78rem;
    margin-bottom: 20px;
  }

  .features-grid {
    gap: 8px;
  }

  .feature-card {
    padding: 9px;
  }

  .feature-title {
    font-size: 0.74rem;
  }

  .feature-desc {
    font-size: 0.62rem;
  }

  .price-type-tab .tab-label {
    font-size: 0.7rem;
  }

  .photo-grid img {
    height: 104px;
  }

  .booking-form input,
  .booking-form select {
    padding: 11px 16px;
  }
}

/* Final x.ai mobile menu lock */
@media screen and (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .sticky-header {
    top: 18px;
    left: 22px;
    right: 22px;
    height: 36px;
    grid-template-columns: auto 1fr auto auto;
    column-gap: 8px;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .header-logo,
  .mobile-menu-btn {
    position: relative;
    z-index: 1003;
  }

  .header-logo {
    gap: 7px;
    height: 36px;
    padding: 0;
  }

  .logo-brand {
    display: block;
    font-size: 0.68rem;
  }

  .logo-sphere {
    width: 26px;
    height: 26px;
  }

  .floating-cta,
  .floating-cta.visible {
    grid-column: 3;
    height: 30px;
    max-width: 98px;
    padding: 0 12px;
    margin-right: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: #fff;
    color: #060606;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border: 0;
    box-shadow: none;
  }

  .floating-cta span {
    opacity: 1;
    transform: none;
  }

  .sticky-header.menu-open .floating-cta,
  .sticky-header.menu-open .floating-cta.visible {
    max-width: 0;
    padding: 0;
    margin-right: 0;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu-btn {
    grid-column: 4;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    padding: 0;
  }

  .mobile-menu-btn .menu-icon {
    color: #fff;
    font-size: 1.12rem;
  }

  .mobile-menu-btn .menu-icon-close {
    font-size: 1rem;
  }

  .header-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
    max-height: none;
    padding: 102px 32px 32px;
    background: #050505;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    align-items: stretch;
    overflow: hidden auto;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav > a:not(.nav-cta),
  .header-nav .nav-dropdown-trigger {
    width: auto;
    min-height: 56px;
    height: auto;
    justify-content: flex-start;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    color: #f7f7f7;
    font-family: var(--font-main);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1;
    background: transparent;
    border-radius: 0;
  }

  .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .header-nav .nav-dropdown-trigger {
    width: 100%;
    border-bottom: 0;
  }

  .dropdown-arrow {
    margin-left: auto;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.36);
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu > a,
  .nav-dropdown-menu > a:hover,
  .nav-dropdown-menu > a:focus,
  .nav-dropdown-menu > a:active,
  .nav-dropdown-menu > a.dropdown-highlight,
  .nav-dropdown-menu > a.dropdown-highlight:hover {
    min-height: 30px;
    height: auto;
    padding: 0 0 0 18px;
    color: rgba(255, 255, 255, 0.54);
    font-family: var(--font-main);
    font-size: 0.66rem;
    text-align: left;
    border: 0 !important;
    background: transparent !important;
  }

  .dropdown-divider {
    display: block;
    margin: 8px 0 8px 18px;
    background: rgba(255, 255, 255, 0.08);
  }

  .header-nav .nav-cta {
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: auto 0 0;
    padding: 0 24px;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: #fff;
    color: #050505;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
  }

  .mobile-menu-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1;
  }

  .header-nav .mobile-menu-footer a {
    width: auto;
    min-height: 0;
    height: auto;
    padding: 0;
    color: rgba(255, 255, 255, 0.32);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    border: 0;
  }
}

/* Final glass header pass */
.sticky-header {
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  padding: 0 clamp(22px, 6vw, 116px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(7, 8, 10, 0.42);
  backdrop-filter: blur(22px) saturate(140%) brightness(0.86);
  -webkit-backdrop-filter: blur(22px) saturate(140%) brightness(0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: none;
}

.sticky-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 8, 10, 0.5);
}

.header-nav {
  inset: 0 clamp(22px, 6vw, 116px);
}

@media screen and (max-width: 768px) {
  .sticky-header {
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    padding: 0 16px;
    grid-template-columns: auto 1fr auto auto;
    column-gap: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
      rgba(7, 8, 10, 0.44);
    backdrop-filter: blur(20px) saturate(140%) brightness(0.86);
    -webkit-backdrop-filter: blur(20px) saturate(140%) brightness(0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .header-logo {
    height: 48px;
    gap: 7px;
  }

  .logo-brand {
    display: block;
    font-size: 0.66rem;
  }

  .logo-sphere {
    width: 25px;
    height: 25px;
  }

  .floating-cta,
  .floating-cta.visible {
    height: 28px;
    max-width: 92px;
    padding: 0 11px;
    font-size: 0.56rem;
  }

  .mobile-menu-btn {
    width: 31px;
    height: 31px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.08);
  }

  .mobile-menu-btn .menu-icon {
    font-size: 1.08rem;
  }

  .mobile-menu-btn .menu-icon-close {
    font-size: 0.96rem;
  }

  .header-nav {
    inset: 0;
    top: 0;
    right: auto;
    bottom: 0;
    left: -16px;
    width: 100vw;
    height: 100svh;
    padding: 84px 30px 30px;
    background:
      linear-gradient(180deg, rgba(5, 5, 6, 0.68), rgba(0, 0, 0, 0.84)),
      rgba(6, 7, 9, 0.62);
    backdrop-filter: blur(18px) saturate(130%) brightness(0.75);
    -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(0.75);
    border: 0;
    border-radius: 0;
  }

  .header-nav > a:not(.nav-cta),
  .header-nav .nav-dropdown-trigger {
    min-height: 48px;
    font-size: 0.78rem;
  }

  .nav-dropdown-menu > a,
  .nav-dropdown-menu > a:hover,
  .nav-dropdown-menu > a:focus,
  .nav-dropdown-menu > a:active,
  .nav-dropdown-menu > a.dropdown-highlight,
  .nav-dropdown-menu > a.dropdown-highlight:hover {
    min-height: 28px;
    font-size: 0.62rem;
  }

  .header-nav .nav-cta {
    height: 42px;
    min-height: 42px;
    font-size: 0.78rem;
  }
}

/* Final header typography and compact CTA pass */
.hero-tagline,
.hero-tagline-line,
.hero-typing-group,
.hero-typing,
.hero-typing-period {
  font-family: var(--font-main);
  font-weight: 400;
}

.sticky-header {
  height: 48px;
  border: 0;
  border-bottom: 0;
  outline: 0;
}

.header-logo {
  height: 48px;
  gap: 9px;
}

.logo-sphere {
  width: 32px;
  height: 32px;
}

.logo-brand {
  font-size: 0.84rem;
}

@media screen and (min-width: 769px) {
  .header-nav {
    inset: 0;
  }
}

.header-nav,
.header-nav a,
.nav-dropdown-trigger,
.header-nav .nav-cta {
  font-family: var(--font-main);
  text-transform: none;
  letter-spacing: 0;
}

.header-nav a,
.nav-dropdown-trigger {
  height: 34px;
  font-size: 0.66rem;
  font-weight: 400;
}

.header-nav .nav-cta,
.floating-cta {
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: none;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  box-shadow: none;
}

.header-nav .nav-cta {
  height: 40px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  font-size: 0.66rem;
  font-weight: 400;
}

.header-nav .nav-cta:hover,
.floating-cta.visible:hover {
  background: none;
  color: #fff;
  box-shadow: none;
}

/* Animated glowing glint (свечение) on the "Записаться" CTA.
   A periodic blue ember pulse: layered blue text-shadow + a small brightness lift
   swell over ~0.5s, then fade, with a long calm rest. No fill/clip change — text can
   never disappear and the halo blooms past the small button (shadows ignore overflow). */
.header-nav .nav-cta span,
.floating-cta span {
  text-shadow:
    0 0 0 rgba(140, 185, 255, 0),
    0 0 0 rgba(30, 96, 254, 0);
  animation: cta-glow 4.6s cubic-bezier(0.4, 0, 0.2, 1) 1s infinite;
  will-change: filter, text-shadow;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Stagger the dock so the two CTAs never glint in unison on small screens */
.floating-cta.visible span {
  animation-delay: 2.6s;
}

@keyframes cta-glow {
  0%,
  58% {
    filter: brightness(1);
    text-shadow:
      0 0 0 rgba(140, 185, 255, 0),
      0 0 0 rgba(30, 96, 254, 0);
  }
  74% {
    filter: brightness(1.2);
    text-shadow:
      0 0 4px rgba(140, 185, 255, 0.9),
      0 0 10px rgba(30, 96, 254, 0.55),
      0 0 20px rgba(30, 96, 254, 0.28);
  }
  88% {
    filter: brightness(1.06);
    text-shadow:
      0 0 3px rgba(140, 185, 255, 0.34),
      0 0 9px rgba(30, 96, 254, 0.16),
      0 0 0 rgba(30, 96, 254, 0);
  }
  100% {
    filter: brightness(1);
    text-shadow:
      0 0 0 rgba(140, 185, 255, 0),
      0 0 0 rgba(30, 96, 254, 0);
  }
}

/* Hover: stop the pulse, settle to a stable bright read with a steady soft halo */
.header-nav .nav-cta:hover span,
.floating-cta.visible:hover span {
  animation: none;
  filter: brightness(1);
  color: #fff;
  text-shadow:
    0 0 6px rgba(140, 185, 255, 0.45),
    0 0 14px rgba(30, 96, 254, 0.3);
}

/* Reduced motion: no pulse, clean static legible state, zero glow residue */
@media (prefers-reduced-motion: reduce) {
  .header-nav .nav-cta span,
  .floating-cta span,
  .floating-cta.visible span {
    animation: none;
    will-change: auto;
    filter: none;
    text-shadow: none;
  }
}

@media screen and (max-width: 768px) {
  .sticky-header {
    height: 42px;
  }

  .header-logo {
    height: 42px;
    gap: 8px;
  }

  .logo-sphere {
    width: 28px;
    height: 28px;
  }

  .logo-brand {
    display: block;
    font-size: 0.7rem;
  }

  .floating-cta,
  .floating-cta.visible {
    height: 26px;
    max-width: 90px;
    padding: 0 10px;
    font-family: var(--font-main);
    font-size: 0.49rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(93, 138, 235, 0.34);
  }

  .mobile-menu-btn {
    width: 28px;
    height: 28px;
  }

  .mobile-menu-btn .menu-icon {
    font-size: 1rem;
  }

  .mobile-menu-btn .menu-icon-close {
    font-size: 0.92rem;
  }

  .header-nav {
    padding-top: 76px;
  }

  .header-nav > a:not(.nav-cta),
  .header-nav .nav-dropdown-trigger {
    min-height: 46px;
    font-family: var(--font-main);
    font-size: 0.76rem;
    font-weight: 400;
  }

  .nav-dropdown-menu > a,
  .nav-dropdown-menu > a:hover,
  .nav-dropdown-menu > a:focus,
  .nav-dropdown-menu > a:active,
  .nav-dropdown-menu > a.dropdown-highlight,
  .nav-dropdown-menu > a.dropdown-highlight:hover {
    font-family: var(--font-main);
  }

  .header-nav .nav-cta {
    height: 34px;
    min-height: 34px;
    font-family: var(--font-main);
    font-size: 0.56rem;
    font-weight: 400;
  }
}

/* Final mobile bottom dock pass */
@media screen and (max-width: 768px) {
  .sticky-header {
    --mobile-dock-height: 48px;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom));
    padding: 0 16px env(safe-area-inset-bottom);
    align-items: center;
    overflow: visible;
    z-index: 1003;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.078)),
      rgba(7, 8, 10, 0.5);
    backdrop-filter: blur(22px) saturate(140%) brightness(0.86);
    -webkit-backdrop-filter: blur(22px) saturate(140%) brightness(0.86);
    border: 0;
    outline: 0;
  }

  .header-logo {
    height: 48px;
  }

  .mobile-menu-btn,
  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus,
  .mobile-menu-btn.active {
    width: 32px;
    height: 32px;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
  }

  .mobile-menu-btn .menu-icon {
    font-size: 1.12rem;
  }

  .mobile-menu-btn .menu-icon-close {
    font-size: 1rem;
  }

  .floating-cta,
  .floating-cta.visible {
    height: 32px;
    max-width: 160px;
    padding: 0 4px;
    font-family: var(--font-main);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .floating-cta.visible:hover,
  .floating-cta.visible:active {
    color: #ffffff;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .sticky-header.menu-open .floating-cta,
  .sticky-header.menu-open .floating-cta.visible {
    max-width: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }

  .header-nav {
    position: absolute;
    top: calc(-100svh + var(--mobile-dock-height) + env(safe-area-inset-bottom));
    right: auto;
    bottom: auto;
    left: -16px;
    display: none;
    width: 100vw;
    height: 100svh;
    padding: clamp(46px, 8svh, 72px) 30px calc(92px + env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(5, 5, 6, 0.72), rgba(0, 0, 0, 0.9)),
      rgba(6, 7, 9, 0.66);
    backdrop-filter: blur(18px) saturate(130%) brightness(0.76);
    -webkit-backdrop-filter: blur(18px) saturate(130%) brightness(0.76);
    border: 0;
    border-radius: 0;
    z-index: 1001;
    overflow: hidden auto;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav > a:not(.nav-cta),
  .header-nav .nav-dropdown-trigger {
    min-height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.74rem;
  }

  .nav-dropdown {
    border-bottom-color: rgba(255, 255, 255, 0.09);
  }

  .header-nav .nav-cta {
    height: 34px;
    min-height: 34px;
    margin-top: auto;
  }

  .mobile-menu-footer {
    margin-top: 18px;
    padding-bottom: 0;
  }
}

/* ===== Unified clubs block: media (video/photos) + contacts + booking ===== */
.section-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Clubs section — ambient background: dot grid + impulse pulses + blended RANGE */
.section-clubs {
  position: relative;
  overflow: hidden;
  background: #000;
}

/* taller than the default sections — gives the lowered RANGE + video room (id beats .section:not()) */
#form.section-clubs {
  min-height: 118vh;
}

.clubs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.clubs-bg-media {
  position: absolute;
  left: 50%;
  top: 78%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: min(56vw, 560px);
  max-height: 52%;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  /* soft round-off of the edges only — content is NOT cropped (object-fit: contain) */
  -webkit-mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, #000 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, #000 64%, transparent 100%);
}

.clubs-bg-media[hidden] {
  display: none;
}

.clubs-grid {
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  --dot-grid-x: 50%;
  --dot-grid-y: 50%;
  --dot-grid-glow: 0.4;
  --dot-grid-radius: clamp(90px, 13vw, 190px);
}

/* base dots — faded only near the very edges */
.clubs-grid::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0.8px, transparent 1.1px);
  background-position: 50% 50%;
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 0%, #000 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 0%, #000 64%, transparent 100%);
}

/* blue glow that brightens dots around the pointer (mirrors the hero grid) */
.clubs-grid::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  background-image: radial-gradient(circle, rgba(30, 96, 254, 0.88) 0.8px, transparent 1.1px);
  background-position: 50% 50%;
  background-size: 22px 22px;
  opacity: var(--dot-grid-glow);
  filter: drop-shadow(0 0 4px rgba(30, 96, 254, 0.52));
  -webkit-mask-image: radial-gradient(
    circle var(--dot-grid-radius) at var(--dot-grid-x) var(--dot-grid-y),
    #000 0%,
    rgba(0, 0, 0, 0.86) 26%,
    transparent 72%
  );
  mask-image: radial-gradient(
    circle var(--dot-grid-radius) at var(--dot-grid-x) var(--dot-grid-y),
    #000 0%,
    rgba(0, 0, 0, 0.86) 26%,
    transparent 72%
  );
  animation: dotGridGlow 3.6s ease-in-out infinite;
}

.clubs-brand {
  position: absolute;
  left: 50%;
  top: 78%;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-family: var(--font-logo);
  font-size: clamp(6rem, 15vw, 18rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  white-space: nowrap;
  color: rgba(93, 138, 235, 0.42);
  text-shadow: 0 0 40px rgba(30, 96, 254, 0.18);
  user-select: none;
}

.clubs-brand-short {
  display: none;
}

.section-clubs > .container {
  position: relative;
  z-index: 2;
}

.club-block {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  width: 100%;
  max-width: 1100px;
  margin: 28px auto 0;
}

.club-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.club-media .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.club-media .photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity var(--transition-fast);
}

.club-media .photo-grid img:hover {
  opacity: 0.82;
}

.club-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(20px, 2vw, 28px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(10, 11, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-card);
}

.club-name {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  font-weight: 400;
  color: #fff;
  margin: 0;
}

.club-address {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.club-address:hover {
  color: #fff;
}

.club-address i,
.club-link i {
  color: var(--color-primary);
}

.club-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 2px 0 6px;
}

.club-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.club-link:hover {
  color: #fff;
}

.club-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 6px 0 0;
}

.club-form-title {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2px;
}

.club-form .btn-primary {
  width: 100%;
  justify-content: center;
}

.club-email {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.club-email:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 768px) {
  .club-block {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }

  .club-media .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* mobile: short "RNG" brand + video lowered BELOW the form */
  .clubs-brand-full {
    display: none;
  }

  .clubs-brand-short {
    display: inline-block;
  }

  #form.section-clubs {
    padding-bottom: 38vh;
  }

  .clubs-brand {
    top: auto;
    bottom: 3.5vh;
    transform: translateX(-50%);
    font-size: clamp(3.4rem, 22vw, 7rem);
  }

  .clubs-bg-media {
    top: auto;
    bottom: 12vh;
    transform: translateX(-50%);
    max-height: 28vh;
    width: min(82vw, 360px);
  }
}

/* ===================================
   MOBILE: solid black header + menu
   (no translucency, no blur) — per request
   =================================== */
@media screen and (max-width: 768px) {
  .sticky-header,
  .sticky-header.is-scrolled,
  .sticky-header.menu-open {
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .sticky-header::before,
  .sticky-header.is-scrolled::before,
  .sticky-header.menu-open::before {
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-nav,
  .sticky-header.menu-open .header-nav {
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-nav::before {
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ===================================
   DIRECTIONS / TESTIMONIALS: vertical video card (left) + left-aligned text (right)
   =================================== */
.directions-grid,
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
  margin: 0 auto;
}

.direction-card,
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 4vw, 28px);
  text-align: left;
}

.direction-card .video-wrapper,
.testimonial-card .video-wrapper {
  flex: 0 0 auto;
  width: clamp(116px, 33vw, 156px);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

.direction-text,
.testimonial-text {
  flex: 1 1 auto;
  min-width: 0;
}

.direction-card .direction-title,
.testimonial-card .testimonial-name {
  margin: 0 0 10px;
  text-align: left;
}

.direction-card .direction-desc,
.testimonial-card .testimonial-role {
  margin: 0;
  text-align: left;
}

.direction-card .play-btn span,
.testimonial-card .play-btn span {
  border-width: 11px 0 11px 18px;
}

/* Brand wordmark size — header + footer kept in sync */
.logo-brand {
  font-size: 0.92rem;
}

/* "Войти" — quiet secondary login link, distinct from the Записаться CTA */
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-login i {
  font-size: 1.05em;
}
